Dimension analysis is a nice tool to create functions using physics dimensions that are desirable for our lives. I know, as an axiom, of sorts to me, that addition and subtraction must conserve units, and thus are actually relatively uncommon in physics equations.   Now, for why that is, I would tell someone it's the same reason why you only can add terms with the same qualities as that term in math as well (such as $x^2$ only being able to be added with scalar multiples of $x^2$, the same applying to $y^5$ or $ e^{-2x}\cosh(3x)$, for example). Except in the case of inputs, we have... (and here is where my explanation gets shady), vector units or magnitudes with magnitude 1 of things such as $\text{meters/second}$, $\text{Newtons}$, $\text{Tesla}$, $\text{Joules/Coulomb}$ etc.   However, I can't seem to necessarily explain why I couldn't say, add $x^2$ to $x$ or a velocity to a force other than my body simply not letting me out of habit, and my only explanation is: "You just can't", or "It'd look bizarre."  I need a better explanation for this. Could someone enlighten me? My two questions:   Why does adding and subtraction break down at things with different dimensions? Why does multiplication/division allow for it?

Dimensional analysis, and the notion that quantities with different units cannot be equal, is often used to justify very specific arguments, for example, you might use it to argue that a particular formula cannot possibly be the correct expression for a particular quantity. The usual approach to teaching this is to go "well kids, you can't add apples and oranges!" and then assume that the student will just find it obvious that you can't add meters and seconds.  I'm sorry, but... I don't. I'm not convinced. $5$ meters plus $10$ seconds is $15$! Screw your rules! What are the units? I don't know, I actually don't understand what that question means.  I'm specifically not convinced when this sort of thing is used to prove that certain formulae can't possibly be right. Maybe the speed of a comet is given by its period multiplied by its mass. Why not? It's a perfectly meaningful operation - just measure the quantities, multiply them, and I claim that the number you get will always equal the current speed of the comet. I don't see how "but it doesn't make sense to say mass times time is equal to distance divided by time" can be a valid counterargument, particularly because I don't really know what "mass times time" is, but that's a different issue.  If it's relevant, I'm a math student and know extremely little about physics.


I am trying to insert a figure in a one-page document in LaTeX, I am not sure about how to do it, though. All my attempts have created a new page, and what I am pursuing is to place the figure at the bottom of the page.  Here is my code:  \documentclass[10pt, conference, compsocconf]{IEEEtran} \title{new document} \begin{document} \maketitle \begin{figure*} \centering     \includegraphics[width=16cm]{scheme.jpg} \end{figure*} \end{document}   What I am generating here is a two-page document, with the title in the first page and the figure in the middle of the second page.  Notice that the image does not belong to the title, it is a one-page report with a figure at the bottom with its caption and label, as usual.

How to influence the position of float environments like figure and table in LaTeX?   This is a general question and should collect useful answers for all users. I hope we can use this as a reference


For any point outside of a circle, is there ever only one tangent to the circle that passes through the point? Are there ever more than two such tangents? (I cannot find the exact answer i need. My question does not involve any actual numbers and equations. I just need a direct answer if there is only one tangent to the circle that passes through the point and why/how...) Thank you!

For any point outside of a circle, is there ever only one tangent to the circle that passes through the point?  Are there ever more than two such tangents? (I cannot find the exact answer i need through the other question answered. My question does not involve any actual numbers and equations. It's hard for me to find the answer within that question. ) Thank you!


I am building a simple e commerce shop and I wonder Should I build custom url for every product. I mean like this   Instead of just using an id:   Will it be better for seo/

Stack Exchange posts have URLs like this:  http://webmasters.stackexchange.com/questions/9848/squeezing-all-the-seo-out-of-a-url-as-possible   Which is the format: /questions/{id}/{slugified-post-title}  The 9848 is obviously the unique identifier of the post, which is all that is necessary to look up the question in a data source. What is the title there for then? Is it strictly for SEO reasons and maybe to make the URL more readable? Or are there other reasons as well?


Without making changes to my system, this morning it started booting very slowly. The laptop is a Toshiba Portege Z835 (intel graphics card + SSD):  systemd-analyze blame:  5min 42.155s plymouth-quit-wait.service 5min 29.705s docker.service  4min 7.502s snapd.seeded.service  1min 6.244s snapd.service       7.706s NetworkManager-wait-online.service       4.965s dev-sda1.device       4.093s dev-loop0.device       4.086s dev-loop2.device       4.071s dev-loop1.device       4.055s dev-loop3.device       4.025s dev-loop4.device       4.004s dev-loop7.device       3.972s dev-loop5.device       3.951s dev-loop8.device       3.941s dev-loop6.device       3.938s dev-loop9.device       3.911s postgresql@10-main.service       3.034s plymouth-start.service       2.989s postgresql@9.6-main.service       2.160s systemd-journal-flush.service       1.677s networkd-dispatcher.service       1.474s ModemManager.service       1.175s systemd-udevd.service   systemd-analyze critical-chain  graphical.target @5min 49.849s └─multi-user.target @5min 49.849s   └─docker.service @15.389s +5min 29.705s     └─network-online.target @15.374s       └─NetworkManager-wait-online.service @7.666s +7.706s         └─NetworkManager.service @6.861s +787ms           └─dbus.service @6.485s             └─basic.target @6.386s               └─sockets.target @6.385s                 └─snapd.socket @6.376s +8ms                   └─sysinit.target @6.369s                     └─apparmor.service @5.714s +654ms                       └─local-fs.target @5.712s                         └─run-snapd-ns-canonical\x2dlivepatch.mnt.mount @16.031s                           └─run-snapd-ns.mount @15.564s                             └─swap.target @5.397s                               └─dev-disk-by\x2duuid-4aa4cb84\x2d97ff\x2d4a32\x2d                                 └─dev-disk-by\x2duuid-4aa4cb84\x2d97ff\x2d4a32\x   I tried removing docker-ce with apt-get purge but then snapd takes 5-6 minutes when booting.  I searched for possible explanations and solutions and checked the following:   I checked the swap partition UUID and it seems fine Tried uncommenting #WaylandEnable=false in /etc/gdm3/custom.conf, but no change in boot time Tried removing Snap and Docker from Startup Applications (so they won't autostart on boot) but no change either   Not sure what else to try. A reboot takes between 2 and 8 minutes now. It used to be around 10-15 seconds.  Update: as suggested , a temporary workaround is to move the mouse or touchpad while loading. I believe a bug report was also created:

I'be been running 18.04 since a clean SSD install on the day of it's official release, without issues. Power on to login was seconds (max 10)  Then, I did a regular upgrade this morning:  $ sudo apt update && sudo apt dist-upgrade   The packages installed/upgraded were:  Install: linux-headers-4.15.0-24:amd64 (4.15.0-24.26, automatic), linux-headers-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-modules-extra-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-modules-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic), linux-image-4.15.0-24-generic:amd64 (4.15.0-24.26, automatic) Upgrade: gnome-control-center-data:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-headers-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), gnome-control-center:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-image-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), linux-signed-generic:amd64 (4.15.0.23.25, 4.15.0.24.26), gnome-control-center-faces:amd64 (1:3.28.1-0ubuntu1.18.04.1, 1:3.28.1-0ubuntu1.18.04.2), linux-generic:amd64 (4.15.0.23.25, 4.15.0.24.26)   I rebooted once the upgrade had completed, and noted a 2-3 minute delay on the Ubuntu loading/splash screen (prior to login) (without any progress/activity indicated on the dots).  I powered off and tried to boot again, but am getting this delay consistently now. Also close down is much slower too.  Update #1 (2018-07-03): Analysis on systemd:  $ sudo systemd-analyze blame 3min 53.073s plymouth-quit-wait.service     2min 20.699s snapd.seeded.service          49.949s snapd.service           6.186s NetworkManager-wait-online.service           1.148s dev-sda2.device           1.098s plymouth-start.service   Showing that plymouth-quit-wait.service (which I now believe is related to the Ubuntu loading/splash screen) and snapd.seeded.service were by far the longest running services to initiate. So I compared the times before the dist-upgrade and after:  $ journalctl -u plymouth-quit-wait.service --since today -- Logs begin at Fri 2018-04-27 13:01:30 BST, end at Tue 2018-07-03 12:38:05 BST. -- Jul 03 04:15:43 user-laptop systemd[1]: Starting Hold until boot process finishes up... Jul 03 04:15:46 user-laptop systemd[1]: Started Hold until boot process finishes up. -- Reboot -- Jul 03 04:21:17 user-laptop systemd[1]: Starting Hold until boot process finishes up... Jul 03 04:24:52 user-laptop systemd[1]: Started Hold until boot process finishes up.   Before the upgrade plymouth-quit-wait.service took 3 seconds. After the upgrade it took 3 minutes 35 seconds  $ journalctl -u snapd.seeded.service --since today -- Logs begin at Fri 2018-04-27 13:01:30 BST, end at Tue 2018-07-03 12:42:14 BST. -- Jul 03 04:15:43 user-laptop systemd[1]: Starting Wait until snapd is fully seeded... Jul 03 04:15:43 user-laptop systemd[1]: Started Wait until snapd is fully seeded. -- Reboot -- Jul 03 04:22:47 user-laptop systemd[1]: Starting Wait until snapd is fully seeded... Jul 03 04:24:49 user-laptop systemd[1]: Started Wait until snapd is fully seeded.   Before the upgrade snapd.seeded.service took 0 seconds. After the upgrade it took 2 minutes 2 seconds.  Update #2 (2018-07-06): This morning's boot saw the return of the delay. So I guess we're still waiting for the kernel/plymouth/snapd update.  Update #3 (2018-07-12): The problem seems to be resolved, but I didn't see any update to snap or plymouth, and I'm still running 4.15.0-24 kernel. So I'm not sure which package update fixed the problem, or if it just resolved itself somehow. Reading the bug updates on launchpad it's unclear to me what was done (or is being done) to what package/s. If anyone can clarify that would be very useful.


For the vector space of continuous functions on $[0,1]$ Define the inner product as  $$\langle f,g\rangle = \int_0^1f(x)g(x)\mathrm{d}x$$ Please help me to prove the Cauchy Schwarz inequality for this given inner product.  Cauchy Schwarz Inequality: $|\langle v,u\rangle|\leq \lVert v\rVert\lVert u\rVert$ for the elements $v,u$ in the inner product space.

Before you downvote/vote-to-close, I am not asking for a proof of: $$\sum^n_{i=1}a_ib_i\le\sqrt{\sum_{i=1}^na_i^2}\sqrt{\sum^n_{i=1}b_i^2 } $$ Which is what EVERY link I've found assumes is the inequality (for a proof of that see:  )    I am reading a book that claims the Cauchy-Schwarz inequality is actually: $$\vert\langle x,y\rangle\vert\le\Vert x\Vert\Vert y\Vert$$ where $\Vert x\Vert :=\sqrt{\langle x,x\rangle}$  with the additional claim: equality holds $\iff\ x,y$ are linearly dependent  I cannot find a proof of this claim (only proofs for the dot product inner product). My question is: what is the simplest way to prove this (I define simplest to mean "using as few definitions outside of the inner product itself as possible" - so that's not including Gramm-Schmitt orthonormalisation, for example.)  I've just found some possible answers in the links on the right (annoyingly) but fortunately I have a second, albeit softer, question:  What inequalities that are common for say $\mathbb{R}^n$ are actually based on the inner product?   (In future I will check this site first, I was targeting lecture notes and such in my search)  Addendum: I want to use this on not-finite dimensional vector spaces. I've found one proof that relies on finite-ness.


To deduce the momentum representation of $[x,p]$, we can see one paradom  $$<p|[x,p]|p>=iℏ$$  $$<p|[x,p]|p>=<p|xp|p>−<p|px|p>=p<p|x|p>−p<p|x|p>=0$$  Why? If we deduce the momentum representation of $x$, we obtain $<p|x|p>=i\hbar \frac{\partial \delta (p'-p)}{\partial p'}|_{p'=p}$. This value is not definite. So, why two uncertain values can obtained a certain value $i\hbar$? In addition, the $x$ should be replace by $i\hbar \frac{\partial }{\partial p}$. Then the eigenvalue p can't extract. However, if we consider $i\hbar \frac{\partial }{\partial p}$ to act on the bra, not the ket, then the eigenvalue p can be extracted. Is anything wrong here?

Let $\hat{x} = x$ and $\hat{p} = -i \hbar \frac {\partial} {\partial x}$ be the position and momentum operators, respectively, and $|\psi_p\rangle$ be the eigenfunction of $\hat{p}$ and therefore $$\hat{p} |\psi_p\rangle = p |\psi_p\rangle,$$ where $p$ is the eigenvalue of $\hat{p}$. Then, we have $$ [\hat{x},\hat{p}] = \hat{x} \hat{p} - \hat{p} \hat{x} = i \hbar.$$ From the above equation, denoting by $\langle\cdot\rangle$ an expectation value, we get, on the one hand $$\langle i\hbar\rangle = \langle\psi_p| i \hbar  | \psi_p\rangle = i \hbar \langle \psi_p | \psi_p \rangle  = i \hbar$$ and, on the other $$\langle [\hat{x},\hat{p}] \rangle = \langle\psi_p| (\hat{x}\hat{p} - \hat{p}\hat{x}) |\psi_p\rangle =  \langle\psi_p|\hat{x} |\psi_p\rangle p - p\langle\psi_p|\hat{x} |\psi_p\rangle = 0$$ This suggests that $i \hbar = 0$. What went wrong?


Dragons are the most powerful creatures made by Morgoth. I'm just curious about whether or not dragons have gender.   Even Ainurs have gender and their own pair of another gender, right? But how about dragons? Do they have gender? I know Glaurung is referred to as 'he,' and 'the father of dragons', but is it a real male?

In the Lord of the Rings trilogy, there are many different types of creatures. Hobbits, elves, dwarves, ents, humans, and giant spiders all have female members mentioned somewhere in the story.  But, as far as I can remember, wizards, orcs (or goblins), trolls, balrogs, dragons and wargs have no females mentioned in the trilogy. I would imagine that these would all (except wizards, since there are only five of them) need some sort of female to reproduce. Are female orcs mentioned anywhere in the canonical Tolkien literature? What about trolls, balrogs dragons, wargs, or others that I might be forgetting?


I would like to know if I need a transit visa if I transfer from Heathrow terminal 5 to three. I will only be staying there two hours as I will be flying to Geneva. I am a Philippine passport holder.

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


My goal is to build all possible combinations between the keys in a dictionary (plus a few other rules that don't really matter), so I wrote the recursive function bellow.  dict = {3: 54, 37: 100, 56: 33}  def dosomething(dict, indent, stop, position):     if dict == {} or stop <0:         return      keys = dict.keys()     for k in keys:         if k > position:             print indent, k             dosomething(dict, indent + "    ", stop -1, k)  indent = " " dosomething(dict, indent, 4, 0)   Printing the result show the values I want:   56  3      56      37          56  37      56   but now I'd like to have them in a list of lists where the elements would be:  [56] [3,56] [3,37,56] [37,56]   Would anyone be able to help me with that?

I have a list with 15 numbers in, and I need to write some code that produces all 32,768 combinations of those numbers.   I've found  (by Googling) that apparently does what I'm looking for, but I found the code fairly opaque and am wary of using it. Plus I have a feeling there must be a more elegant solution.  The only thing that occurs to me would be to just loop through the decimal integers 1–32768 and convert those to binary, and use the binary representation as a filter to pick out the appropriate numbers.   Does anyone know of a better way? Using map(), maybe?


Short version: How do I prevent biblatex from capitalizing the first word of every bibliography entry?  Long version: I have an author called (nearly) "Paolo di Italia" and biblatex (called with useprefix option) renders the name prefix very well, but in my bibliography of authoryear style, the prefix happens to stand at the beginning of the entry and therefore is capitalized. How do I prevent this, but of course still capitalize normal last names?  In other words: In my understanding, a bibliography entry is not a sentence. Biblatex evaluates this differently, forcing capitalization and a closing dot. The dot can easily removed with \renewcommand*{\finentrypunct}{}, but what about the capitalization of the first word?  MWE  \documentclass{scrartcl} \usepackage[utf8]{inputenc} \usepackage{filecontents} \usepackage[backend=biber,style=authoryear,useprefix]{biblatex}  \begin{filecontents}{lit.bib} @book{regular,author = {Paolo di Italia},date = {2005}} @book{other,author = {Some Otherguy},date = {2005}} \end{filecontents} \addbibresource{lit.bib}  \begin{document} \cite{regular}\\\cite{other}\\\printbibliography \end{document}   Output    I want the references entry to be "di Italia, …", but still "Otherguy, …" - just exactly like in the citation output above.  "{di Italia}" isn't an option: I can not just mark it with brackets like "Paolo {di} Italia" or "Paolo {di Italia}". The first would make the citation be just "Italia" , the second can't be used because the author's name is repeated later in the bibliography entry with the last name abbreviated – which then would be rendered as "Paolo d." instead of "Paolo di I.".

This question has been posed in many different variants, but not exactly as I ask here, so please do not consider this as a duplicate.  I use biblatex with the option useprefix. I would like to have the following automatic behavior:   Name prefixes are rendered before the last name in the bibliography, but always in lower case. The name prefixes are ignored for the sake of sorting of the bibliography. In running text, the name prefix is rendered with a capital letter at the beginning of a sentence, and lower case elsewhere (possible using \Textcite vs. \textcite).   To achieve this, I can have three author fields for each concerned entry, with the following scheme:  author = { {v}an Dijk, A.} shortauthor = { van Dijk, A.} sortname = {Dijk, A. van}   Is there a simple way to automate this? Ideally, such a way could also allow for easy changing of the system.


I'm struggling with the differential equation $yln(x)dx/dy = ((y+1)/x)^2$  Can anyone help me out?

How do I separate the variables (as I assume will work for this equation) in the following equation:     $yln(x) \frac {dx}{dy} = (\frac {y+1}{x})^{2}$   I am struggling with getting $x$ out of the term $ (\frac {y+1}{x})^{2}$.


Processor   Model: Intel(R) Core(TM) i3-2350M Speed: 2300 MHz Architecture in use: 64-bit Architecture(s) supported: 32-bit, 64-bit   Components   RAM: 4.0 GB (3.7 GiB) Graphics: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller   I am totally new to Linux OS. Please recommend me the most stable and easy to use flavor of Ubuntu. And also should I use an LTS release or STS release version and 32bit or 64bit ? Thanks in advance = )

For a given hardware configuration, how do I find out if Ubuntu will run on it? What considerations should I take into account when choosing an Ubuntu version and  such as:    with a lighter desktop than the usual Gnome and Unity  with the even lighter LXDE desktop   Obviously Ubuntu does not run on some processor architectures. So how do I go about choosing the right version and derivate. How can I find out the minmal system requirements?


I've got a map in NJ State Plane (Feet) projection and want to add a grid to it with lat and long intervals of 1 minute, and 0.1 minute tick marks. I'm trying to do this in the grid tab in the print composer but getting wonky results (probably some user error here!

I need to print a map with coordinates in the format of Degree, Minute and second. CRS is set to WGS 84 (EPSG 3857) for both layers and on the project properties it is set to enable transformation on the fly. But then, when in map composer I get the following coordinates, which make no sense to me.


I have lots of 'rubbish' from enemy drops, as my current equipment is better than anything I've found so far (only a few hours in).  Is there any reason to keep hold of these items, from Dark Souls I you couldn't sell items, can you now?

I just started playing Dark Souls 2 without playing the first one.  Since I don't see any sell option in any merchant: Can I sell my old-unused-equipment for souls? If I cannot sell it, does it have any value to be keep until later?


have often seen in texts on Lie groups a capital A but without the middle bar but how to make such in Latex ?

I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?


What is the reason for the /private directory structure located at the root of an OSX system volume?  Why are /etc, /tmp, and /var symlinks to subdirectories of /private?  NOTE While writing my question, I discovered  which seems to address this issue.  I'm going to post my question anyway because it contains the terms that I searched for.  The other question/answer doesn't, prompting me to start writing this question in the first place.

Why is /tmp a symlink to /private/tmp on Mac OS X? In other words, why isn't /tmp just a regular directory, like on Linux or BSD? I understand how it works and I don't mind it, I'm just interested in the (historical?) reasoning behind it.


Vertical position of the help block while  (or for ) is on the top by default:        But if you slightly scroll page down this block jumps to the (approx) middle of the screen:        Is it possible to prevent such jumping and hold block on the top while scrolling?  Moreover it could reduce a size of ugly overlapped area with footer when scrolling to the bottom occurs:

When post a question ("Ask Question") the side bar's position is not fixed while scrolling the page. There are some extra spaces are displaying in the top.  GIF for the same:    Update: This issue occurs in the  page too when scrolling the page.


I am getting a java.lang.NullPointerException for objUserName.sendKeys(uname);  @FindBy(how=How.XPATH,using="//input[@placeholder='Username']") static WebElement objUserName;  public LoginFeature(){     PageFactory.initElements(config.driver, this); }  public static String Enterusername(String uname){     objUserName.sendKeys(uname);     return uname; } public static void main(String[] args ) throws Exception {     // TODO Auto-generated method stub      LogF.EnterURL("http://localhost:90/greffa");     LoginFeature.Enterusername("dummycfo");     LoginFeature.EnterPwd("passw0rd"); } }

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


I have a website which has a search box. Some jerk is trying to run sql injection through the search box. I'm escaping it using mysqli_real_escape_string... but I want to know is there anything else i can do to make sure it is safe. and what can i do with that jerk. I only have his ip. I tried to find his location through whatismyipaddress.com and there's already a report pointing that he/she is known for attacking website via sql injection.  He tried the following codes:  '\' and \'x\'=\'x' i  AND 1=1  2121121121212.1  and 1=1  and 1>1

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


$$f \in C[0,1], f > 0$$ $$\lim_{p\to\infty}(\int_0^1f ^p(x)dx)^\frac{1}{p}$$ It is easy to see that the sequence is bounded above by the $\sup f$, but how can I bound it from below to prove that the limit is equal to $sup f$?

Could someone help me prove that given a finite measure space $(X, \mathcal{M}, \sigma)$ and a measurable function $f:X\to\mathbb{R}$ in $L^\infty$ and some $L^q$, $\displaystyle\lim_{p\to\infty}\|f\|_p=\|f\|_\infty$?    I don't know where to start.


Can anyoe teach me how to convert this into light activated switch  ()

Can anyone teach me how to convert a light activated switch into  dark activated switch vice versa.


What are the properties of the function $f(x, y)$ that make it possible to be separated into a product of two one-variable functions, $g(x)$ and $h(y)$?

If not, why? Here $h$ and $g$ are two general function.


I am trying to count all cells that contain this exact string somewhere in the cell   "(w)" The formula below shows 1 when there are none found How can I make it show 0 if none are found?      COUNTA(FILTER(D2:D55, REGEXMATCH(D2:D55, "(w)")))

I am tired of always trying to guess, if I should escape special characters like '()[]{}|' etc. when using many implementations of regexps.  It is different with, for example, Python, sed, grep, awk, Perl, rename, Apache, find and so on. Is there any rule set which tells when I should, and when I should not, escape special characters? Does it depend on the regexp type, like PCRE, POSIX or extended regexps?


I like The Alien trilogy, but the fourth film is total crap (IMO), and I guess the primary reason for this is that I do not see the logic in the cloning process.  So at the end of Alien3 we discover that Ellen Ripley has an alien queen inside of her. Cool. But she then kills her self so...  In Alien 4 Ellen is cloned, but why would that result in a cloned Alien embryo? If you clone a pregnant mother you don't clone the baby, just the mother. Right?

Okay, so this is how I understood it: They found some drops of blood that Ripley lost during the third film (Alien3). So, they clone her. Easy peasy, far future, get it.  Now, that newly cloned human winds up with a clone of the parasite that infested the original human. From a drop of blood.  In addition: The parasite would age at the same speed as the host. They didn't wait a lifetime for Ripley to mature. I would guess it took only a couple years, given that the scientists didn't appear to have aged noticeably. Anyway, Aliens hatch rather quickly. It doesn't take them decades, it doesn't take them years, it doesn't take them days.  How does this make any sense?


Generally I prefer to use Notepad++ to edit xml files, but when right-clicking on one in Windows and just selecting Edit, I still prefer for it go to Notepad anyway, which is the usual on Windows machines.  But recently my Windows 7 machine has started trying to edit it with Word instead, and there doesn't seem to be an option to really make it go back to Notepad.  This is not the same as choosing the default program.  When you double-click on it in Windows, on most machines, it will open up in IE or Edge.  If you right-click and select Edit, it'll go to Notepad.  These are two different settings.  On my machine the default program is showing as Microsoft Application Virtualization Virtual Process Launcher, which makes sense, and it is still opening it in IE upon doube-clicking.  However switching it to Notepad causes it to open in Notepad when double-clicking as well as when selecting Edit.  When going to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\SystemFileAssociations\xml in regedit, the two values are as follows:  (Default)         (value not set) PerceivedType     document   So how do you change just the Edit option to point to Notepad, without changing the double-click option?    EDIT - Consolidating information about the duplicated question, Notepad vs. Notepad++, and a few different file formats:  This was somewhat of a duplicate of , as mentioned in the comments.  That being said, to go from Notepad to Notepad++ for batch files, the answer there suggests making the following change in the registry HKEY_CLASSES_ROOT\batfile\shell\edit\command:  old value: %SystemRoot%\System32\NOTEPAD.EXE %1 new value: "C:\Program Files (x86)\Notepad++\notepad++.exe" %1   To use Notepad with xml files, this value worked on my machine in the registry HKEY_CLASSES_ROOT\xmlfile\shell\edit\command:  C:\Windows\System32\notepad.exe %1   (Using either %SystemRoot% or %windir% seemed to have a little trouble working on my machine.)  For text files, there did not appear to be anything called edit under HKEY_CLASSES_ROOT\textfile\shell.

In Windows, if you right-click a .bat file, there's an "Edit" option, which opens the .bat file with notepad. How do I make Windows use Notepad++ instead?  Note that this is different from the question . In that question, user asks for a way to make Notepad++ the default opener for specific file types. This is not what I want here, since I expect that double-clicking on .bat files executes them.


I was making a ludo game and there's a rule that your pieces will only open when the 6 will shows up on a dice.   How can I make my dice generate the number 6 more often, without using arrays or vectors? I'm using c++.

I am currently contributing to a particle system for our game and developing some emitter shapes.  My uniform random distribution along a line or along a rectangular area works fine - no problem.  But now I would like to have something like a 1 dimensional gradient in this distribution. This would mean for example lower values are more common than higher values.  I don't know what would be appropriate mathematical terms for this problem, so my search skills are rather useless with this one. I need something that is computationally simple, as the particle system needs to be efficient.


I'm trying to be able to read the first line of my files which contains an int and then use that size for my array. After that I need to be able to fill and print my array with what is contained in the files. After running it, I get a out of bounds error.   import java.io.*; import java.util.Scanner; import java.util.Random; public class LabAssignment4 {   public static void main(String[] args) throws IOException {     File animalsFile = new File("animals.txt");     Scanner animalsScan = new Scanner(animalsFile);     File soundsFile = new File("sounds.txt");     Scanner soundsScan = new Scanner(soundsFile);       int animalsSize  = animalSize (animalsScan);     String [] animalsArray = new String [animalsSize];      int soundsSize = soundSize (soundsScan);     String[] soundsArray = new String [soundsSize];     fillAnimalsAndSoundsArray(soundsScan,animalsScan,animalsArray,soundsArray);    printAnimalsAndSoundsArray(animalsArray,soundsArray);   } // end main  public static int animalSize(Scanner animalsScan){     int animals = animalsScan.nextInt();  return animals; }  public static int soundSize(Scanner soundsScan){     int sounds = soundsScan.nextInt();     return sounds; }  public static void fillAnimalsAndSoundsArray(Scanner soundsScan, Scanner animalsScan, String [] animalsArray, String [] soundsArray){     int animalsIndex=0;     int soundsIndex=0;      while(animalsScan.hasNext()){         animalsArray[animalsIndex]=animalsScan.nextLine();         animalsIndex++;     }       while(soundsScan.hasNext()){         soundsArray[soundsIndex]=soundsScan.nextLine();         soundsIndex++;      } }  public static void printAnimalsAndSoundsArray(String[] animalsArray, String[] soundsArray){      for(int i =0;i<animalsArray.length;i++){         System.out.println(animalsArray[i]);     }     for(int i = 0;i<soundsArray.length;i++){         System.out.println(soundsArray[i]);     } } } // end class

I always thought Java uses pass-by-reference. However, I've seen a couple of blog posts (for example, ) that claim that it isn't (the blog post says that Java uses pass-by-value). I don't think I understand the distinction they're making. What is the explanation?


I have an Invents A3 plus Chinese  phone which is softbricked when you press the power button it only shows blank screen some times it shows a logo with scratches l did try to find the stock ROM  if any one knows how to fix my invens let me know. It use SPD3 android version ,8.1

I own a MicroMax A100. I want to install the latest version of a different ROM (Samsung or Nexus).  Is it possible? If so, can you tell me how?  If not, can I install a ROM made for a different device, but from the same manufacturer? For example, could I install a ROM for the MicroMax A110, which is the successor of A100?


I get the following error message when I try to go to   Not sure if its down for maintenance or something. Just a heads up.  Firefox:        Chrome:        IE10

, which is linked from site-specific blogs, says  Error establishing a database connection  I believe this is an error.


Using grassGIS I am attempting to produce a DTM (remove buildings and vegetation) from the las point cloud. Unfortunately the point cloud exported from  does not distinguish first and last pulses so the method based on  does not work.    I need an alternative method/tool particularly for removing buildings?  Any recommendations to transform the z-values relative to the drone take-off location to absolute ones (e.g.: sea-level,..)?

I have data in LAS format with RGB values created from aerial photogrammetry using a UAV. I am  trying to find a solution to extract the bare earth DEM from the point cloud.   I have tried SAGA, Fusion, MCC-LIDAR, but it is seems they need the LAS file to be already classified (which it naturally isn't). Can anyone point me in the right direction with a brief explanation of the process?   Generally, I would need to process about 100 mill points at a time (can tile them if needed).


I am trying to install Ubuntu into my laptop. Will the option 'Erase and use the entire disk' delete all my data in my hard disk? I don’t want to loss my data in the D drive.

I am a newbie in linux. I wanted to install ubuntu to my desktop. I currently have two partitions, Windows 8 in installed on one, and i have some important files in another partition. While installing ubuntu, if I chose "Replace Windows 8 with Ubuntu", do I lose the other partition too?   And are there other ways to leave the other partition as it is, and install ubuntu in the partition  where windows was installed.


I've been solving problems from my Complex Analysis course, and I am having trouble solving this one. It says:  Prove that if $f$ is continuous in a neighbourhood of point $a$, then $$\lim_{r\to0}\int_{|z-a|=r}\frac{f(z)}{z-a}dz=2\pi if(a)$$  I know this should be trivial knowing the Cauchy's Formula (because $\text{Ind}_{|z-a|=r}(a)=1$). The problem is that this exercise in my course notes is located before the Cauchy's Formula is introduced, so there must be a way to solve it without using it. The only two things I see in my course notes that may be useful are the definition of winding number: $$\text{Ind}_\gamma(a)=\frac{1}{2\pi i}\int_\gamma\frac{dz}{z-a},$$ and the fact that, given a path $\gamma$ and a function $f:\text{supp}(\gamma)\to\mathbb C$ that is continuous, then te function $F:\mathbb C\setminus\text{supp}(\gamma)\to\mathbb C$ defined as $$F(a)=\int_\gamma\frac{f(z)}{z-a}dz,\quad a\notin\text{supp}(\gamma)$$ is analytical. However I don't see how can it be useful. Also, the statement  says that $f$ is continuous in a neighbourhood of point $a$, and I guess that may be needed to apply whatever it's used to solve it. I feel like this problem should be so trivial but pretending I don't know Cauchy's Formula makes it seem impossible to me. How can I solve this not using Cauchy's Formula? Are those two things that I wrote useful in this problem? Any help will be appreciated, thanks in advance.

If $f(z)$ is continuous in the neighborhood of the point $z=a$, then $$\lim_{r\to 0^+} \int_{\vert z-a\vert =r} \frac{f(z) dz}{z-a}=2\pi i\,f(a)\tag{1}$$  In my desperate intents of proving the above exercise, I tried to prove a 'particular' case of it, which is when $z=0$.   So if $z=0$ and as $f$ is continuous on a neighborhood of zero, given $\epsilon>0$, there exists $\delta>0$ such that $|f(re^{i \theta})-f(0)|\le \epsilon$ for $r\in[0,\delta)$ and $\theta\in\mathbb R$. Hence,  $\left\lvert\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta\right| <2\pi\epsilon \Rightarrow \limsup_{r\to0}\left\lvert\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta\right| \le2\pi\epsilon.$  If $\epsilon\to0$, then $\limsup_{r\to0}\left\lvert\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta\right|=0 \Rightarrow \lim_{r\to0}\int_{0}^{2 \pi}(f(re^{i \theta})-f(0))d\theta=0.$  Is this proof correct?  How can I make the proof for $(1)$ following the 'particular proof'? Can someone help me?


I usually do apt-get update then apt-get upgrade and in some cases apt-get dist-upgrade.   What's the difference?

I usually use apt-get update && apt-get upgrade to run my updates and upgrades instead of the GUI because it seems to run more quickly.   However, I've noticed lately that I often get a message that one of my upgrades was held back. I then usually run dist-upgrade to run it through and it works fine. As far as I can tell after reading  and its answers, dist-upgrade does all the same things and then some.   So, my question is: Why use apt-get upgrade at all? Why not use apt-get dist-upgrade all the time? Why does apt-get upgrade even exist?


I realized after the first heist that I could have made a better choice of crew in order to maximize my returns (since certain people end up costing more due to scripted events). Regardless of difficulty, what crew members should I choose in the heist missions in order to make the most money?  I know that the answer isn't always "pick the cheapest". E.g., on the jewel heist, the gunman with the least experience doesn't steal as much as the experienced one, and his casualty costs (in the scripted event) further cut into the take-home.

Recently I've completed my first heist. I used the better hacker, the worse driver and the worse gunner(or whatever he's called). As a result I got:      1) we had enough time to steal all the items(thanks to a good hacker)   .      2) one guy fell of the bike when we were running away. Result: lost around 1.4 mil(down to 2.8 from 4.2)   .      3) the driver wasn't sure where to go, so he chose random direction, which appeared to be the right one.   .      And 2 of the crew got +25% skill I think after the completion of the mission. Looks like the one who fell down with a bike got nothing.   So the question is: should I take the better ones from the beginning or is it better to take the worse ones and let them become better?


I am a beginner in English and I am quite confused about the name of this challenge. How is it correct, "10 year challenge" or "10 years challenge"

I am a little bit confused about using units in English, sometimes I hear that people use singular units for plural things, sometimes they use plural ones. Which one is correct?   3 meter(s) long? during a 2 week(s) period? 0.5 dollar(s)


Definition. Let $f:(I,\mathring I)\to(S^1,1)$ be a continuous function, the degree of the function $f$ is defined by $$\deg(f)=\widetilde{f}(1)$$ where $\widetilde f$ is the unique lifting of $f$ with $\widetilde f(0)=0.$  $\widetilde f$ is such that $\exp\circ\widetilde f=f.$ Could someone please explain  what this definition means intuitively? I have a lot of exercises that involve this definition and I do not see any idea on how to solve them, perhaps with the intuition of this definition would help me. Thank you. I did read the answer of the question  in which the definition is different and got the idea.

I'm trying to understand what the degree of a loop in $S^1$ means intuitively from the definition and how it relates to the winding number of a loop in $\mathbb{R^2}$.  My lecture notes define degree to be     Let $p$ be a loop in $S^1$, and let $\tilde p$ be a lift of $p$.   Define the degree of $p$ to be $\tilde p(1) - \tilde p(0)$.   What does this definition actually mean intuitevly, and how does it relate to 'the number of times it winds round itself'?  Also, either I've missed something or my lecture notes seem to assume that the degree in in $\mathbb{Z}$, is this an obvious fact that I'm just not seeing?   Thank!


I need to search in a long text, the lines containing text like "candidate no:23."  the line must have a dot in the end. I have tried  $pat = 'candidate no:??'  if ($line =~ /$pat/) { print "match found \n"; }   This works fine, but not when I try include dot in my pattern  $pat = 'candidate no:??.'   or  $pat = 'candidate no:??\.'   Also tried  if ($line =~ /${pat}\.$/)    None of the above work, can anyone suggest a way out. The pattern must match string "candidate no:(some number)." with a dot and then end of line.  Many thanks.

I don't really understand regular expressions.  Can you explain them to me in an easy-to-follow manner?  If there are any online tools or books, could you also link to them?


So I have this weird problem - guards in my settlement don't equip the items I give them. I've given my guards some armor and laser rifles but whenever I go back to the settlement they still walk around in t-shirts, wielding a pistol. I've read that you can equip your guards but it doesn't seem to be working. Do I need to do something more than just give them the items or am I encountering a weird bug? Companions do equip everything I give them that's better than what they have, but settlement guards don't.

I have plenty of spare armour etc - can I trade it to my survivors and have them actually use it?  Same for Weapons too, also do certain people have better skills with certain weapons?


Mouse hover works at first, but when I click remove button and attach it is not working with mouse hover handler?? why?  thanks.   HTML:
 <button id="a">remove</button><button id="b">attach</button>

   JS:      var k = 10;          myfunction(k);               $('#a').click(function(){                    $('ul li').remove();                 });                      $('#b').click(function(){                                k = 20;                 myfunction(k);                       });                  $('ul li').on('mouseenter',function () {                 var num = $(this).index();                 $('#lit' + num).addClass('currentpage');                 $('#lit' + num).siblings().removeClass('currentpage');                 });  function myfunction(p){     for(var i=0;i<p;i++){         $('#container ul').append('
Hello'+i+'
');     } }   Demo:

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


I took ${-x^2-x{\tau}} = k $ on differentiating it $dk=(-2x-\tau)dx$ but this substitution doesn't work how can i proceed further .

I'm trying to solve this integral: $$\int_{-\infty}^\infty e^{-x^2-x}dx$$ WolframAlpha shows this to be approximately $2.27588$. I tried to solve this by integration by parts, but I just couldn't get there. I'd be glad if someone could show me how to do it.   I've included my attempt at the problem below:  Note $\int_{-\infty}^\infty e^{-x^2-x} = \int_{-\infty}^\infty e^{-x^2}e^{-x}dx$. Then we can integrate by parts. Let $u(x) = e^{-x^2}$. Then $u'(x) = -2xe^{-x}$. Let $v'(x) = e^{-x}$. Then $v(x) = -e^{-x}$.  Then $u(x)v'(x) = u(x)v(x) - \int v(x)u'(x)dx$, i.e. $$\int_{-\infty}^\infty e^{-x^2}e^{-x}dx = -e^{-x^2}e^{-x} - \int e^{-x}2xe^{-x}dx = -e^{-x^2-x} - 2\int e^{-2x}xdx$$  Then we integrate $\int e^{-2x}xdx$ by parts. We pick $u(x) = x$, $u'(x) = dx$, $v'(x) = e^{-2x}$, and $v(x) = \int e^{-2x} dx = \frac {-1}{2} e^{-2x}$ by u-substitution. Skipping some steps, it follows that  $$\int e^{-2x}xdx = -\frac{1}{4}(e^{-2x})(2x+1)$$ Then  $$ -e^{-x^2-x} - 2\int e^{-2x}xdx = -e^{-x^2-x} + \frac{1}{2}(e^{-2x})(2x+1)$$ Which, when evaluated numerically, doesn't yield the desired result. So there's a problem here. Maybe someone else knows how to do this.


I am running Kubuntu on an old Acer Aspire ONE and any time i try to use the Update manager (Apper) it errors out. I have been using   sudo apt-get update   but i am not sure if it is updating everything, as the system notification message always seems to have 70+ apps that need updating.

I am wondering what sudo apt-get update does?  What does it update?


I have added an image and text. Text has 1
 and 2
 tags. I tried using float:left but it does not get displayed side by side.  content.js:

New Launch

JAVA

Foundations

Enroll Now

Neural Newtwork

Foundations

   css:  .cardcontent{     float: left; }  .card1 {     width: 100%; }  .card1 > h6 {     margin: 0px; }   I want to display New Launch JAVA Foundations on right of image similarly for card2 but current css does not work I tried few css styling but does not work.  Screenshot:

Why won't vertical-align: middle work?  And yet, vertical-align: top does work.   span{   vertical-align: middle; }
      Doesn't work.


as we all know that we will get some information like how many updates are available , login time etc while we login in CLI session of Ubuntu.   is there any way I can get them in the Gnome-terminal or any GUI based terminal. I want that information.   I want exactly as this in the GUI based teminals.   From answer provided by question at closed vote .  frank@FRANK-NATHE:~$ cat /etc/motd Welcome to Ubuntu 12.10 (GNU/Linux 3.5.0-28-generic i686)   * Documentation:  https://help.ubuntu.com/  New release '13.04' available. Run 'do-release-upgrade' to upgrade to it.  frank@FRANK-NATHE:~$    The command cat /etc/motd just giving the release information but the above image showing huge information about the system. I want all of that information over my terminal.   Thank you

When I login to my ubuntu system, it show me this this message, How can I see it any time? I tried to run . .bashrc but it didn't worked.   Welcome to Ubuntu 12.10 LTS (GNU/Linux 3.2.0-24-virtual x86_64)   * Documentation:  https://help.ubuntu.com/    System information as of Sat Jul 13 06:16:35 UTC 2013    System load:  0.55              Processes:           96   Usage of /:   8.1% of 68.74GB   Users logged in:     0   Memory usage: 55%               IP address for eth0: 198.xx.xxx.xxx   Swap usage:   0%                IP address for eth1: xxx.1x0.xx.xxx    => There is 1 zombie process.    Graph this data and manage this system at https://landscape.canonical.com/  223 packages can be updated. 134 updates are security updates.  Last login: Mon Jul  8 17:47:05 2013


The formulation of String theory is fairly straight forward in that the action is just the world-sheet area of a string. Then you can add supersymmetry in various ways. Finally you add some ghosts to get rid of over counting of states. You find the whole thing only works in a certain number of dimensions preserving both world-sheet and space-time symmetries.   So why is M(embrane) theory so difficult to formulate? If one replaces closed strings with closed membranes, should it not be straight forward (in theory) to go through the same process?   Which part of the theory is making it difficult? Is it the supersymmetry? The over counting of states? Non-linearlity? The difficulty of counting membrane topologies?   Is it absolutely certain that M-Theory is based on the world-sheet volume of membrane histories in the same way that string theory is based on world-sheet areas of string histories? Or is it based on something that resembles membranes but not quite (such as fuzzy membranes or something).   And do we know for certain that a Membrane theory must also contain 5-branes for it to be consistent?  Basically, what is the stumbling block?

One way that I've seen to sort-of motivate string theory is to 'generalize' the relativistic point particle action, resulting in the .  However, once you see how to make this 'generalization', it becomes obvious how to write down the action, not just for a string, but for manifolds of higher dimension as well.  In fact, Becker-Becker-Schwarz (the main source I happen to be learning from) actually do this.  But (as far as I have read), they merely write down the action and do nothing further with it.  My question is:  what happens when we proceed along the same lines as string theory, but when replacing a string with a 2-manifold, the simplest example of which would be the 2-sphere, a "shell/membrane"?  Assuming 3 spatial dimensions, this is the highest dimensional manifold we can consider (because we don't allow for non-compact manifolds).  Furthermore, there is only one compact manifold of dimension 1; however, there are infinitely many compact manifolds of dimension 2, which could potentially make the theory much richer (and probably much more difficult).  For example, in string theory, we are stuck with $S^1$ (if you insist upon having no boundaries), but if you allow for 2 dimensions, we could consider the sphere, the torus, etc.  Because it seems that this path is not ever presented (in fact, I've never even heard of it), I would presume that something goes wrong.  So then, what exactly does go wrong?


If I run this unix command directly in shell:  $ sleep 100 &   sleep runs in the background as expected, and I can continue working in the command line.  but trying the same thing with shell_exec() and php I get different results.  <?php    $sleep = $argv[1];   $shell="sleep " . $sleep . " &";   shell_exec($shell);  ?>   when executing php sleep.php 100 the command line hangs and wont accept any more commands until sleep finishes. I am not sure whether this is a nuance I am missing with shell_exec() / $argv of php or with the unix shell.  Thanks.

I need to execute a directory copy upon a user action, but the directories are quite large, so I would like to be able to perform such an action without the user being aware of the time it takes for the copy to complete.  Any suggestions would be much appreciated.


I need an answer to the exercise 18.8 of Matsumura's book:" Commutative Ring Theory", and generate an algorithm if possible.   Let $k$ be a field and $t$ an indeterminate. Consider the subring $A = k[[t^3, t^5,t^7]]$ of $k[[t]]$ and show that $A$ is a one-dimensional Cohen-Macaulay ring which is not Gorenstein. How about $k[[t^3,t^4,t^5]]$ and $k[[t^4,t^5,t^6]]$?    ADDED: Is there an algorithm for the general case: $A=k[[t^a,t^b,t^c]]$, where $a,b,c$ are natural numbers?  My attempt: $A$ is Cohen-Macaulay, because it's a domain of $\dim\, 1$.

Here is question 18.8 of Matsumura's Commutative Ring Theory. It asks whether the rings   $k[[t^3,t^4,t^5]]$, $k[[t^4,t^5,t^6]]$   are Gorenstein. I got that 1) is not Gorenstein, but 2) is Gorenstein (by computing the socle). Just wanted to check if I am correct. I don't need the answer necessarily, a yes or a no will suffice. Thanks.


I am trying to make some code to count all text files in a directory and its sub directories. I have tried below code:  private void button1_Click_1(object sender, EventArgs e) {     FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();     DialogResult result = folderBrowserDialog1.ShowDialog();     if (result == DialogResult.OK)     {         string[] files = Directory.GetFiles(folderBrowserDialog1.SelectedPath);         MessageBox.Show("Files found: " + files.Length.ToString(), "Message");     } }

Is there a way to find the number of files of a specific type without having to loop through all results inn a Directory.GetFiles() or similar method? I am looking for something like this:  int ComponentCount = MagicFindFileCount(@"c:\windows\system32", "*.dll");   I know that I can make a recursive function to call Directory.GetFiles , but it would be much cleaner if I could do this without all the iterating.  EDIT: If it is not possible to do this without recursing and iterating yourself, what would be the best way to do it?


Bootstrapping is such a great technique for ensuring that noise is correctly accounted for.  Why don't we always use bootstrapping for all statistical and machine learning techniques? It seems to apply to any use case.

Suppose I have a statistics (say a price index) and I want to obtain standard errors for it.  I have heard that blind application of bootstrap may not be a good practice. If true  1- What could go wrong if I just apply nonparametric bootstrap and obtain standard errors for my index?   2- If it is OK, are the rsulting standard errors robust to heteroskedasticity, serial correlation etc.?  Thank you


This might not be a bug but I see the same question list twice in my reputation display, I know it is grouping things by a six hour difference, but is this really expected?    The first list says 2 events but shows all 5, similarly the second list says 3 events and shows all five.

I have six upvotes for the one question with no intervening history. They have been summarised into two groups - one with 4 events and one with 2 events. However, when you expand either, both show all 6 events. Minor I know, just letting you know.


In  from Koblitz and Menezes, they state that HMAC came along because doing h(secret || message) was vulnerable to length extension attacks. But as far as I know, these kind of attacks only exist because of the Merkle-Damgard construction.  Now that we have SHA-3, that does not use such a construction, and that is not vulnerable to length extension attacks. Do we need to use the complicated HMAC-SHA3 or can we just use SHA3 as a MAC?

If I understand correctly SHA-3 (Keccak) is resistant against more attacks than SHA-2. This would make it possible - again if I understand correctly - to use SHA-3 with a simpler scheme than HMAC.  Would there still be a reason to use the HMAC construction with SHA-3? Would it be a better idea to simply use $H(C(k, M))$ where $H$ is simply SHA-3 and $C$ is a function to create a canonical representation (encoding) of the key $k$ and the message $M$ to set them apart?  Of course I imagine that HMAC-SHA3 will be used in the majority of protocols anyway as SHA-3 was created as a drop in replacement of SHA-2. But is there any security related reason to use HMAC-SHA3 over an (even) simpler scheme?


I am trying to implement a visual representation of linked list using tikz library.  The code written so far:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows}  \begin{document} \tikzstyle{box}=[draw, fill=pink!10, text centered] \begin{figure}   \centering   \begin{tikzpicture}[node distance=0cm,outer sep = 0pt]     \node (A) [box,minimum height=7mm, minimum width=7mm] {\textbf{12}};     \node (B) [box,anchor=west,minimum height=7mm, minimum width=7mm] at (A.east) {\textbf{\textbullet}};      \node (C) [box, anchor=west, minimum height=7mm, minimum width=7mm] at ([xshift=10mm]B.east) {\textbf{98}};     \node (D) [box,anchor=west,minimum height=7mm, minimum width=7mm] at (C.east) {\textbf{\textbullet}};      \draw[thick,->] (B.center) edge [bend left=0]  node {} (C);   \end{tikzpicture} \end{figure} \end{document}   Things are looking good except the arrow getting out from node B (first bullet) has also a tip. How can I get rid of this?

When I draw an edge between two nodes with anchors and globally set option [->], I get an additional arrow tip symbol at the beginning of the last edge in the path. For example in  \documentclass{article} \usepackage{tikz}  \begin{document} \begin{tikzpicture}     \node (A) at (0,0) {$A$};     \node (B) at (1,0) {$B$};      \draw[->] (A.north east) edge (B.north west);      \draw (A.south east) edge[->] (B.south west); \end{tikzpicture} \end{document}   the first \draw command produces incorrect output, while the second produces correct output:    Am I doing something wrong, or is this a bug in TikZ?


Let A and B be two n x n matrices such that their product is invertible. (1) Prove that both A and B  are invertible,and (2) give their respective inverses.   Please do this without assuming what I am proving and without using determinants. Thanks

I'm really struggling with "simple" proofs, and I could only come up with this. I googled for the solution and know how to do it now, but I first want to know if there's anything wrong with my solution? $$ (AB)^{-1}=B^{-1}*A^{-1}. $$ For this equation to hold, $B$ must be invertible and so must $A$. //


I would like to create a LaTeX file from several different other LaTeX files that might use different definitions of the same macros or might use incompatible packages. Is it possible to have within a same LaTeX file different “preambles” corresponding to different parts? If not, do you suggest any idea? edit Here is what I want to achieve. It is for a webapp: several users type their LaTeX file with their own preamble. They only type the body of the document and maintain two other files: a file of macros and a file of “\usepackages{...}”. Then I want to use their files and put them in a “global” .tex file, with additional content (header, etc.) I want to make this process automatic.

When I tried to use the breqn package suggested by an answer to the question      It managed to break a whole bunch of unrelated equations (equations that did not use its functionality), including a definition for the control sequence \mf which I had previously defined myself.  Is there a way to limit the scope of a \usepackage declaration so that its (positive and negative) effects are limited to a particular segment of a document?  I have tried putting it inside an environment, but get the following error:  ! LaTeX Error: Can be used only in preamble.


If the Stack Exchange app is already running and displaying a question in the background, tapping the hot network question widget does not switch to the tapped question.  Instead, the SE app will display whatever question was being displayed previously.

I have found myself in an uncomfortable situation after clicking the Hot Network Question widget.   I click the widget, it opens Stack Exchange app and doesn't refresh. That causes me seeing the question I haven been reading a while ago. Fact is that I haven't killed the app since using it last time.   Is there any known workaround to prevent this bug occurring every time I want to read a question opened from a widget? Killing the app/deleting data every time is not a convenient option.   It happens on all Android devices, so device specs aren't relevant, I guess.   Edit: it isn't reproducible 100% of the time. Sometimes it works.


Why is $\operatorname{spec}(K[x,y])-\{(x,y)\}$ not isomorphic to $\operatorname{spec}K[x,y]$? I cannot see why they can't be an isomorphism between? If both of these are infinite sets there can be a bijection between them. I might be missing some trivial argument, any help is appreciated. I was trying to prove $\{A_k\}^{2}-\{(x,y)\}$ is not affine and I complete the argument if I am able to show the above claim.

Why is the affine space $\mathbb{A}^{2}$ not isomorphic to $\mathbb{A}^{2}$ minus the origin?


I'm working on a game through unity that draws one of is essential elements from traditional tool forging techniques for building tools and such. I want the feel of the game to be able to create a tool that is truly yours and slowly make it better in both design and functionality over time. One major thing I cant't seem to figure out is to be able to take a mesh (in this case a hot piece of meta) and deform it in such a way that you aren't loosing any of the mesh, its just being shifted slightly with each hit of a hammer (or in my testing case click of a mouse). I have looked all over youtube and various forums and I can't seem to find an efficient way of going about it. Any thoughts?

I'm having difficulties trying to create a procedural mesh that deforms on impact. The deformation is meant to look and feel like metal when it is being forged. Since this is less of an aesthetic feature and more of something that would affect gameplay directly, it needs to be somewhat accurate. This means that volume of the mesh should be preserved (at least visually) such that the mesh does not gradually get too much smaller.  What I have tried:  1) Applying force on every vertex, based on the force and distance from impact point  foreach (Vector3 vertexPos in vertexList) {     vertexPos += (force / distanceToImpactPoint.sqrMagnitude) * impactDir; }   This led to the entire mesh gradually becoming smaller (as mentioned earlier)  2) Take into account the dot product between the impact direction and vertex normal for each vertex, as well as lerp between impact direction and normal (to simulate sides of objects bulging out when compressed  foreach (Vector3 vertexPos in vertexList) {     float attenuatedForce = (force / distanceToImpactPoint.sqrMagnitude);     float nDotD = Vector3.Dot(impactDir, currVertexNormal);     vertexPos = attenuatedForce * nDotD * Vector3.Lerp(impactDir, currVertexNormal, nDotD); }   This led to mesh completely splitting apart for anything that has hard shading (as there  are duplicate vertices where the edges are, and also artifacts on smooth shaded objects.  Hard Shading:    Soft Shading (sort of works, but lots of artefacts and not volume preserving)   Also, both methods break completely if force is applied to an edge.  Does anyone know of a more elegant solution to do this?


guys! I am having a problem with for cycle.So i have a for() that goes through every value of third column from database(which is supposed to be in date format).I want to change the background color of an item from listview if the month of the added date is the same as the current month.The problem is there - if i use the code like this:  public void setItemRed(View view){      for(int i = 0 ; i <= myDB.getLastID() ; i++){         String date = myDB.getcol3(i);         String day = date.substring(0 , 2);         String month = date.substring(3 , 5);         String currentDate = currentDate();         String currentMonth = currentDate.substring(3 , 5);          listView.getChildAt(i).setBackgroundColor(Color.RED);     }  }    Everything works and every item gets red background.But when i add if :  public void setItemRed(View view){      for(int i = 0 ; i <= myDB.getLastID() ; i++){         String date = myDB.getcol3(i);         String day = date.substring(0 , 2);         String month = date.substring(3 , 5);         String currentDate = currentDate();         String currentMonth = currentDate.substring(3 , 5);        if(date.length() == 10){            if(month == currentMonth) {                listView.getChildAt(i).setBackgroundColor(Color.RED);            }        }     }  }   It does not work.Thank you in advance!

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


In the Swarmkeeper section for Rangers in  Tasha's Cauldron of Everything there is an ability called Writing Tide (TCoE, p.60), which allows the Ranger to fly.  Writhing Tide 7th-level Swarmkeeper feature You can condense part of your swarm into a focused mass that lifts you up. As a bonus action, you gain a flying speed of 10 feet and can hover. The effect lasts for 1 minute. You can use this feature a number of times equal to your proficiency bonus, and you regainall expended uses when you finish a long rest.  In the Player's Handbook the feat Mobile (PHB, p.168).  You are exceptionally speedy and agile. You gain the following benefits: • Your speed increases by 10 feet. • When you use the Dash action, difficult terrain doesn’t cost you extra movement on that turn. • When you make a melee attack against a creature, you don’t provoke opportunity attacks from that creature for the rest o f the turn, whether you hit or not.  Does this mean that if you take Mobile as a feat, the benefit would apply to this particular feature too - effectively having a fly movement of 20 feet instead?

A monk's Unarmored Movement class feature increases the monks speed by 10 feet at level 2, and further at higher levels. According to , this stacks with an Aarakocra monk's fly speed, because that fly speed is innate to the race. However, how does this interact with fly speeds gained from other sources, such as the Fly spell? That spell specifically states that "the target gains a flying speed of 60 feet for the duration." Can this gained flying speed then be improved by a monk's Unarmored Movement, giving a level 2 monk a flying speed of 70 feet while the Fly spell is active on them?


Note: My question assumes a conceptual distinction between minds and the external world, regardless of whether they're actually two different kinds of substances.  There seems to be widespread agreement that the universe we currently inhabit is considered physical, but what about hypothetical worlds that behave completely differently? To illustrate my point, imagine that there are several other inhabited worlds, each in their own isolated space:   World A is completely different from ours, but it still follows the same set of laws that we call physics. By sheer coincidence, there's an Earth-like planet in which a tomato-like species has evolved. World B follows a completely different set of laws. For some reason, it still has something that resembles tomatoes. World C is collectively formed and manipulated by the minds of its inhabitants, and it follows no other laws. Tomatoes can be found here too, because people like tomatoes.   All three worlds are conceptually distinct from minds (and mental properties) in exactly the same way, so they deserve a common adjective. Obviously, World A is physical, but I'm not sure whether the other two qualify. Does the adjective physical apply only to worlds that obey the laws of physics?   If the answer is yes, then what would be the proper adjective to describe all three worlds? Terms like objective or non-mental seem too broad, because they could also encompass certain abstract concepts (e.g. numbers). If the answer is no, then what would be the proper adjective to describe only World A, or at least only World A and World B?

A childish question (literally) -    My 8 year old asked me this morning: "Dad, what does 'physical' mean?" - and I found myself at loss for an ordinary language answer.   Every answer I could come up with ended up sounding like a definition of empiricism: "physical things are those things that can be observed", "physical means something that can be measured", "whatever can be verified and tested", etc....   Claiming that things that are physical are those things which are material or things that are described by physics seems circular.   Google:     phys·i·cal   ˈfizik(ə)l/   adjective   1.   relating to the body as opposed to the mind.   "a whole range of physical and mental challenges"   synonyms:   bodily, corporeal, corporal, somatic; More   2.   relating to things perceived through the senses as opposed to the mind; tangible or concrete.   "pleasant physical environments"   synonyms:   material, concrete, tangible, palpable, solid, substantial, real, actual, visible   "the physical universe"   And various dictionaries (here Merriam-Webster):      Definition of physical   1   a :  of or relating to natural science   b (1) :  of or relating to physics (2) :  characterized or produced by the forces and operations of physics   2   a :  having material existence :  perceptible especially through the senses and subject to the laws of nature   everything physical is measurable by weight, motion, and resistance — Thomas De Quincey   b :  of or relating to material things     lead to similar definitions.   How can one define "physical" in ordinary language terms? Is there a way of defining "physical" that doesn't presuppose empiricism? What is the rationalist definition of 'physical'?   Is there a definition that doesn't commit to either dualism or empiricism or to any epistemology?


In my graph theory book exercise,I found a problem that:  Prove that,World is not flat using Mathematics    This picture is used in the exercise,but no idea of applying it.

In my graph theory book exercise, I found a problem that:     Prove that the World is not flat using Mathematics     This picture is used in the exercise, but no idea of applying it.  I would have used the angles don't add to $180^\circ$, but the author is using a fourth city.


I'm looking for a movie that I saw some 20 or so years ago.  There's a boy who wanders about the countryside and falls into a hole to find himself in a corridor. He looks around, explores things...not sure if anything special happens in the mean time. The boy was youngish...around 10, maybe younger. From what I remember, it was generally very dark, the corridor might have been covered with dry bush branches. There might have been old screens / machines / computers overgrown with vegetation, but I remember things to be dark, brown, black, ...rather than green.  The corridor is actually a part of a spaceship that's burried there and seems to be dead. Anyway towards the end the boy triggers something that makes the spaceship come alive and start to take off. Not sure if the boy gets out or stays.  I'm not sure, but the ship may have started to talk to the boy...by voice or text on a screen...but I feel like I might be making that up :-)  Now that I think of it that's how it might have been. The boy visiting regularly, somehow communicating with the thing. In the end the ship then decided to take off. Until that moment I think it wasn't really obvious that it was a ship at all. Just an old dusty underground "house".   That's as much as I remember.

I‘m looking for a movie I watched at some point during (probably) the mid-1990s on German television (I don't know if it was dubbed or originally German). This is what I remember:  the protagonist is a white boy around the age of maybe 10 who finds a (half-)buried spaceship around the beginning of the second half of the film (or maybe even later) in some kind of cool desert (or sea shore dunes), talks to it, and flies away in it the film starts in a town, and in my memory everything is desolate, not very populated the boy built model rockets, and they were put up on a table in the center of a desolate circular industrial building; I remember he had a NASA space shuttle with external tank and boosters, and maybe half a dozen others the boy was bullied by a group of others of around the same(?) age at some point they followed him into the building where his model rockets were, maybe laughing at him from a gallery on the first floor (?); I seem to remember the protagonist launches his rockets into the ceiling to drive them off, or maybe they just burn his models down... or a combination of both the protagonist visits an old man on some kind of deserted fairground in the dunes, and they talk; he might have taken seat on a broken carousel the boy wanders off into the dunes, and at some point finds the ship – it is at least partially buried, but parts of it can be seen; it is made of dark grey metal, if I remember correctly he climbs on top of it and falls into a hatch the interior of the ship was dark, and probably cramped; computers and monitors were on the walls – maybe I only remember the cockpit somehow the ship starts to talk to the boy the ship tells him it had been used by the humans for a long time, but that it was out of service now I remember the ship explaining how it provided food for its passengers; it had a machine that could fulfil every food order - more or less... which led the protagonist to order (amongst other things) square eggs or something like that (it was "eckige Eier" in the German version I watched); this was a big laugh for me as a child, with the food jumping out of the machine and making a small mess at the end of the movie, the ship powers up, and flies into space - with the protagonist on board; I don't remember what lead to this I‘m rather sure the launch wasn‘t shown from the outside – the scene just continued inside the cockpit the ship named its destination (I think it was some widely known star name) and calculated the travel time for the boy (could have been 80 years or something in that area) when the ship reaches orbit, I seem to remember there is some low-orbit view of earth - might be on a screen, or the protagonist looks through a window; anyway, I think that view is the background for the beginning end credits for all I know, it could even have been a short film, maybe less than 40 minutes long (but it could also be twice the length); the part in the end with the spaceship could have been around 20 minutes long there were not many characters, or complete parts of the film and characters might have completely vanished from my memory the film seemed rather slow-paced, and conveyed (at least to me) a feeling of desolateness


I have hundreds of folders full of PDFs. I would like to create a PDF out of each folder called the name of that folder.   For example, "folder_name_1" has 10 PDFs. I want to convert it to a PDF called "folder_name_1.pdf".   I know ways to do it manually, but I'm looking for a way where I can process batch folders at a time.  Possible options I've looked at:   Automator - lack expertise here Adobe Acrobat - this is fine for one off, but I don't think I can batch it Terminal - is there a terminal command that will do the trick?   I have reviewed  question, and although similar it does not answer how to name the created PDF after the name of the folder.  Update: Through Automator, I have it setup so all I need to do is drop a folder of PDFs onto it and it will combine, only problem is the renaming. I need it to rename the PDF as the folder name.  See Automator setup below:

I have 3 folders:  Folder 1  Folder 2 Folder 3   In each folder I have 5 pdf files:      Folder 1         file1.pdf        file2.pdf     Folder 2        file1.pdf        file2.pdf     Folder 3        file1.pdf        file2.pdf   I want that in each folder to have a combined file of those two files:      Folder 1         binder.pdf     Folder 2        binder.pdf     Folder 3        binder.pdf   Any idea? Don't tell to do it manually. This case is just to explain you my problem. Think that I have hundreds of folders. :) Maybe I can use another tool instead of Adobe Acrobat?!


Prove that If  $dim_F$ $(V ) > 1$ be finite, prove that $L(V )$ has two sided ideals other than $(0)$ and $L(V )$.  Further  Prove that the conclusion above is false if $V$ is not finite dimensional over $F$.  If  $dim_F$ $(V ) > 1$.Then let $v_1,v_2$ be two basis elements of $V$.The I tried making an ideal of $L(V )$ using these two basis elements but I was unsucessful.  Please help me with the problem.I tried the last part too but wasn't sucessful    Note that the above is false as written. See the dupliacte for the correct assertion.

Prove that If $\text{dim}\ F (V)>1$ be finite, prove that $L(V)$ has no two sided ideals other than $(0)$ and $L(V)$.  Further  Prove that the conclusion above is false if $V$ is not finite dimensional over $F$.  I assumed that $I$ is an ideal properly contained in $L(V)$ and I attempted that any element in $I$ is $0$. Please help me with the problem.I tried too but wasn't sucessful.  I am unable to understand the approach they did using simple groups etc..We hadnt been taught simple groups in our course..I will be thankful if someone can give an elemetary proof of this result..  Morever that question was different(shown as possible duplicate).Because that was wrong


My variables:  var strArgsString = "?Category=Customer&Year=2014"; var intModuleNo = "2"; var strOrigDashName = "Invoices"   My AJAX Post:      var jqxhr = $.post("includes/saveParameters.asp?dname="+strOrigDashName+"&mod="+intModuleNo+"&args='"+strArgsString+"'", function() {     alert("success"); }) .fail(function() {     alert("error"); });   It returns a fail because the "args" value is treated as a continuation of the full query string.  Im sure there will be many ways to do this but how can i get "?Category=Customer&Year=2014" treated as a string on my .asp file?  At the moment I have these  strDashboardName = Request.QueryString("dname") intModuleNumber = Request.QueryString("mod") strParamsArgString = Request.QueryString("args")   Any solution appreciated, but preferance given to the most efficient, thanks.

How do you safely encode a URL using JavaScript such that it can be put into a GET string?  var myUrl = "http://example.com/index.html?param=1&anotherParam=2"; var myOtherUrl = "http://example.com/index.html?url=" + myUrl;   I assume that you need to encode the myUrl variable on that second line?


Why I need to use anti virus like clam-av clam-tk or commodo anti virus or any free anti virus in Ubuntu ?  Note: if I've root login enabled.and  I am running few windows programs inwine1.6. will these  anti virus is of any use? when my windows program has virus infected executables...  Can those virus  written for windows affect Ubuntu OS files?    Why it is said that Linux platform is virus free ? Companies like symantec are making application like Norton anti virus for android   which is again also Linux based platform.

I thought that there was no need to scan for viruses either in Ubuntu or any Linux distros until I found virus scanner packages clamtk and klamav in Ubuntu software center yesterday.  This leads to the following questions:   How do viruses differ between Linux and Windows? How do the strategies for protection differ between Linux and Windows? Should a virus scanner package be installed on my system? If so, which would be a better option?


I want to understand the formula for using a slope and distance from a point either a positive or negative direction: to: determine the X coordinate of a point on that line which is "D" distance away from your original point in the direction which you specified.  I found this link: "  " which has an equation which supposedly does what I want; but could someone please explain the formula I need, to me in plain enlgish, and also in the standard formula form (like the kind most people use), and also in psuedo-code?  So that I may tripple-check my comprehension?  I can get anxiety and then second-guess myself on these matters; so I get next-to-nothing done sometimes...  bonus point if you can explain to me a procedure for writing the program in N-dimensional coordinate space; but if you would rather not: I only desperately need 2-dimensional (x,y) coordinate space right now...

I have $(x_1, y_1), (x_2, y_2)$.  How do I find the point that's $d$ distance away from $(x_1, y_1)$ on a straight line to $(x_2, y_2)$?  I know I can get the length of the line with Pythagoras. I know if I drew a circle I could use the radius as distance and the point would be where the line and the circle intersect.  Could someone briefly explain each step to me please?  I don't understand


I've just started learning C#. A common issue I have is when I am working with an object instance and want to access/assign multiple fields then I have to call the object name each time. I come from a background in Delphi and I was wondering if C# has something similar to with..do block.   For example. Let's say I had School Class with fields Name and Address  In Delphi, I could do the following  mySchool = School.new(); with mySchool do begin  Name := 'School Name';  Address := 'School Address'; end   The compiler would understand that Name and Address are being called on the mySchool object.  Whereas in C# I have to do the following  mySchool = new School(); mySchool.Name = "School Name"; mySchool.Address = "School Address";   I was just wondering if there is a language construct similar to the Delphi one above that would eliminate the need for me to type out the object name repeatedly.   I know in this example is rather trivial and I should rather use a parameterized constructor but my question is for times when I am doing a multitude of things with the same object and having such a language construct would save me quite a bit of typing.   Also, I'm vaguely aware of namespacing although, my understanding is that you can't use an object/variable as a namespace. Please correct me if I'm wrong.

I know VB.Net and am trying to brush up on my C#.  Is there a With block equivalent in C#?  Thanks


I have recently won a few bounties on stackoverflow. (I knew I would get them because the awarders told me in the comment they would give them to me or had flagged the answer as right) I eventually was awarded the bounty but I actually could not see it until after the grace period was over.   this lead me to thinking, at first, that the awarders had forgotten to click the +50 button bellow my answer. still I ended up getting the bounties despite caducation afterwards !?!?  so my question is: what is going on? Is it that I was awarded the bounties on time but I will always see them only after the grace period has passed? did my awarders just forget? or did they award the bounty close to the deadline but stackoverflow uses some distributed DB system that only syncs every so many hours?  I am usually pretty eager to anwser questions with bounties and I put quite a bit of effort into them (cause Im a victim of gamification and incentives XD, long live capitalism) but I wouldn't want to be unnecessarily pushy on awarders if its not on them.

At  I was able to award the bounty 25 minutes after it expired. Unfortunately I forgot to screenshot this, there was a message like "This question had a bounty ... that has expired 25 min ago", but the award bounty icon was clickable and so I did successfully. Is this a bug or the answer to the "I missed awarding my bounty in time" problem? The question did not show up under featured questions, so being able to award the bounty within some grace period actually seems sensible.  edit since bounties are now :


I've managed to download Minecraft onto my SandDisk USB thumbdrive. But how do I copy all my worlds to it?

I have a general problem with my Windows 8 PC that requires I wipe and reinstall Windows. What is the correct procedure for backing up my minecraft saves and mods and then restoring them on a clean Windows 8 again?


I am looking for some good software which can highlight and annotate PDF and DjVu files in Ubuntu.

Currently I need to highlight certain sections in PDFs, or add annotations (comments/notes). These modifications would need to be saved.   What tools are out there to do this on Ubuntu?


list1 = ['physics', 'chemistry', "dog", "cat","dog"];   I want it to say if I typed in an input dog it will tell me dog is the forth one and sixth one.

Given a list ["foo", "bar", "baz"] and an item in the list "bar", how do I get its index (1) in Python?


Isn't it possible if we just set it high enough so that it's angular speed matches with the earth's?  I think that the city must be on the equator to make this happen. Am I correct? Please can anyone show me mathematically?

Is it possible to put an artificial satellite into an orbit in such a way that it will always remain direct over a city (I mean at any specific place)?


I'm trying to install a Windows 7 on a VM in Ubuntu, but the "Install VMware Tools" button is faded.

"Install VMware Tools" greyed out after installing Ubuntu 15.04 on VMware Player 7.1. I tried checking "No proxy" instead of default "Windows proxy settings" at "File->Preferences->Software updates-> Connection Settings". This did not work either. Is there a way to install VMware Tools?


In the 2014 movie "Interstellar" a part of the crew decides to land on "Miller's planet" (a planet orbiting the black hole at very high speeds) with a shuttle. Another crew member, Romilly, stays back on the ship.  The movie explains the big ship never actually orbits Miller's planet, but orbits the black hole on a very similar path as the planet, just keeping outside it's sphere of influence.  The crew stays on the planet for 3.4 hours, but due to time dilation effects Romilly experienced 23 years without them. And so do the people back on earth. I.e. the time dilation between Earth and the Endurance is negligible.  Why is the effect of time dilation so extreme (or rather: Why is there no time dilation between Earth and the Endurance) if the distance between the crew on the planet and the Endurance is so small?  Numbers and names taken from

In the movie Interstellar, is the time dilation the team suffers on the water planet Miller caused by the proximity of the planet to Gargantua or by the planet's gravitational pull?  In the beginning I thought it was caused by the black hole, but later I was reading  and the guys said it was caused by the planet. Do we have some information about this?


Is it possible to buy games, on the PlayStation Store, without a credit card?   Something similar to Google play credits. You could use it to pay for something without charging your credit card.   I've read about PlayStation Plus, but it only appears to offer some free games, and greater discounts on games from the PlayStation Store.

In light of the recent security problems at Sony, I'm very hesitant of giving PSN my credit card info.  Is it possible to buy games, DLC, etc. without giving my credit card to PSN?


I find time dilation confusing so I'm not sure if it is a relevant factor.  Lets say you have a spaceship. There's no such thing as faster than light travel, but you do have inertial dampener technology that allows you to accelerate at very high G's without obliterating yourself.  You want to get to a nearby star system as soon as possible. When I say "soon" I mean early on the time-line of the destination star system, not necessarily as quick as possible according to your own perspective of the voyage duration. In other words, you want to intervene in the events of the destination before they progress to far into the future.  Is there a maximum rate of acceleration or top speed you could reach before time dilation causes you to actually arrive later than you would have at a lower speed?  What about if you want to go there and then get back before your friends at home get any older?

Suppose I wanted to travel to one of the recently discovered potentially Earth-like planets such as Kepler 186f that is 490 light years away. Assuming I had a powerful rocket and enough fuel, how long would it take me?


Does it make any difference whether a file system hierarchy sorts files by types and put them all under one directory (like all the binaries are under bin) or, on the other hand sorts them by package name (such as all Firefox files are under the firefox folder)?  I know there's this thread:   but it is far from being exhaustive, and if you read the comments - it seems that there is a justified disagreement there.  I don't know. Although I love Linux, it seems to me more reasonable to put all files under one folder. What do you think?

If I install an application in Linux for example Debian/Gnu Linux, the files of the applications are copied to many different directories in the file system.  Some scripts goes into /usr/share .. /usr/local some other files into /var .. /log .. etc/ and so on.  For me this is o.k because I learned something about the file system and most of the directories are there to hold files for a specific purpose. This fits very nice in the Unix philosophy "do one thing and do it well"  But my question is what are the advantages of such a directory structure? Or is it simply the heritage of the old unix days. (e.g in comparison with the one windows use, where all files for an application are in one specific "folder")


Trying to get some human opinion on this problem.  Very simple equation, but it is eliciting quite the controversy.  I have executed it in Ruby, Java, C#, Javascript, Python, Perl and Excel with the same result, however this is being refuted as to the change of the divisor sign.  Keep in mind, these are not tech-saavy folk.  The equation: $$6^2 \div 2(3) + 4 = x $$  Two answers so far are "58" and "10"  Please help :)

There is a huge debate on the internet on the value of $48\div2(9+3)$. I believe the answer $2$ as I believe it is part of the bracket operation in BEDMAS.  yields the same answer. I also believe that if $48\div2\times(9+3)$ was asked it would be $288$ which Mathway agrees with as well. However,  says it is $288$ either way. A friend of mine (who is better at math) told me that there is no such thing as 'implicit multiplication', only shorthand so that is in fact done after the division (going left to right, not necessarily because division occurs before multiplication. But he didn't explicitly give a reason) What is the answer and why?


I know that $\ell_\infty$ is not separable, therefore has no Schauder basis.  However I cannot understand why the set $\{e_1, e_2, e_3, \dotsc \}$ where $e_1=(1,0,0,\dotsc), e_2=(0,1,0,0,\dotsc), \dotsc$ can not work as a Schauder basis.  Every sequence $x=(x_1,x_2,x_3,\dotsc)$ that belongs to $\ell_\infty$ can be written in one and only one way as $\sum_{i=1}^\infty x_i e_i$.   Could you explain why this is wrong? Thank you!

Let $(e_n)$ (where $ e_n $ has a 1 in the $n$-th place and zeros otherwise) be unit  standard vectors of $\ell_\infty$.   Why is $(e_n)$ not a basis for $\ell_\infty$?  Thanks.


I am the owner of A media streaming website and I am facing an issue with other domains getting my website's content as it is and adding some links to it. I tried blocking it via htaccess through this line   RewriteCond %{HTTP_HOST} !^mysite.com$ RewriteRule ^/?(.*) http://my site.com/$1 [QSA,R=301,L]   but it doesn't work. I also tried a verification of server HTTP Host via PHP but it made no change.

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


I have installed Ubuntu 14.04 and cannot get my wireless adapter to work, also it does not show or appear in the All Settings-> Software & Updates -> Additional Drivers.  I have also tried using the CD to install the drivers but it does not work.

I just installed Ubuntu 14.04 and have tried to configure the adapter which is a Linksys WUSB6300, but seem to have no response. I have tried using the startup CD to activate the adapter but seem to get only errors.


I installed Mac OSX theme for Ubuntu 13.10 (I am a new Ubuntu user), and I am wondering how I can remove (not hide) the left menu bar, and move all programs to the bottom menu bar (Max OSX theme).

I can’t get used to the new Unity system. I’d like to move the left Unity panel to the bottom of screen (like Windows 7 – more similar is better).  But I can't find a way. Is it possible?


I have very slow render times in cycles. I have done the BMW27 speed test and got this ( 8x8 = 19 min 3 sec, 16x16 = 19 min 3 sec, 32x32 = 19 min 43 sec, 64x64 = 19 min 34 sec, 128x128 = 20 min 4 sec, 256x256 = 24 min 3 sec, ) whit standard settings my pc specs are intel i7 870(2.8ghz, overclocked to 3.2ghz), 12gb ram, AMD radeon r9 270.(GPU does not work) how can I fix it?  Duarte Farrajota Ramos, my question is different because i am using the BMW file without setting changes to see how fast my render times are.

I am currently using Sheep It! to render my blend (built on v2.68c) on multiple computers, and I noticed something rather strange. According to the log on-site, the frames rendered from other people's blends were completing in 3 to 4 minutes. This was on an 4 core i5. My main rig (with an 8 core i7) was completing frames in no less than half an hour. How is this possible?  To clarify, these people's frames are very complex, often with very detailed textures. I have 2 objects in my blend. Below are the options I changed for my blend:   Aspect Ratio: 1000px x 1000px Output: PNG Clamp Indirect: 0.98 Render Sampling: 128 Min Light Bounces: 0 Max Light Bounces: 4 Cycles Render   Is there something in there that I should change to make it go faster? I can't really comprehend how it's going to quickly.  EDIT: To answer what @Duarte asked...   System Specs: i7-920, 3GB DDR3, GT 630, Windows 10 I have two circles, extended to form a sort of coin with a star on it. It is not complex at all. I have Firefox and Steam running in the background, but not actively. I've been away from the computer for 8 hours and noticed this behavior. (I am running Blender from Steam.) I made sure when I began rendering that the blend was set for CPU rendering.          And to answer what @pycoder asked, yes, I am using Cycles Render.


I am using ubuntu 14.04 and I have a program that depends on python 2.7 and does not support any of python 3.x. Ubuntu 14.04 comes with python3.4 by default. I would like to know if there is a possibility to make my program uses python2.7 instead of the default version. I thought about uninstalling python3.4, but I think it is not a good idea as some other programs may depends on it.   Thanks

I have python 2.7 and 3.4 versions installed. But when I say say "python -V", it shows version as 2.7 not 3.4  How to tell ubuntu to use newest python? where is this setting configured ?


Is there a way to get the MAC address of the Bluetooth device in my Mac? I am using a MacBook Pro running macOS High Sierra. I am looking mainly for macOS but the command could also be for another UNIX or Linux machine.  It should be the same as the one shown when Option clicking the Bluetooth icon in the status menus in the Menu Bar.

I need to remotely grab the Bluetooth ID from multiple machines throughout my network. What are the best ways to remotely obtain the Bluetooth ID in OS X?


I'm using Apache2 to perform Reverse Proxy for my tomcat.  my domain name is  to be redirected to   proxy is ok but tomcat is having an asset folder located in the root folder ()  while loading my dev.domain.com page I have a 404 Error for every assets elements to be displayed. Here is my VirtualHost configuration:  <VirtualHost *:443>      ServerAdmin webmaster@localhost      proxyRequests Off     SSLProxyEngine on      ErrorLog ${APACHE_LOG_DIR}/error.log     CustomLog ${APACHE_LOG_DIR}/access.log combined      ServerName dev.domain.com      ProxyPass / http://127.0.0.1:8080/MyApp/     ProxyPassReverse / http://127.0.0.1:8080/MyApp/      SSLCertificateFile ....  </VirtualHost>   it seems that everything which is not in the MyApp folder is not correctly redirected, do you know I can do that ?


I need explanation for the below questions:   What is reflection in java? In which situation i need to use reflection? Real time scenarios and examples for the need of using reflection?   I am very confused in reflection. I had read a lot of documents but I am still confused. Please give me a explanation where I can understand it completely.

What is reflection, and why is it useful?  I'm particularly interested in Java, but I assume the principles are the same in any language.


I'm trying to prove the statement above.   Any hints?

Does anyone know how to show this preferable without using modular  For any prime $p>3$ show that 3 divides $2p^2+1$


Is this sentence right?     Everybody is wasting his time.   Is  his or its the possessive of everybody?  Most people use his but in my opinion it should be its:      Everybody is wasting its time.   I want to know what experts say about this.

I am new here and I don't really know how to post, so please forgive my mistakes. My question is this: Is a sentence like "everybody has to obey their own parents" nowadays completely acceptable under a grammatical point of view or it is still preferable, in written form, to use "everybody has to obey his/her own parents"? Thank you very much and sorry if this has been asked before.