I tried to add a ppa to control the heat issues of Ubuntu 20.04 but it threw an error. So I then tried to remove it, which again throws the same error. $ sudo ppa-purge ppa:webupd8team/unstable Updating packages lists E: The repository 'http://ppa.launchpad.net/webupd8team/unstable/ubuntu focal Release' does not have a Release file. Warning:  apt-get update failed for some reason  How do I get rid of it?

When updating, I get the following error message:   W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.   Here, I find another statement on this error:   This recommends removing certain PPAs; and, I'm not sure if I should do that since it might mean not getting the updates that I need.    Is this what I should do?


Now I am using Ubuntu 20.04, but now I want to install Windows 10 alongside my 20.04 LTS. I am trying to make a partition but I can't make it.  Can you tell me the solution? When I try to install Windows, it shows the disk is a NTFS file, Windows can not install on this drive. What is the solution?

I have Ubuntu on my laptop. Now I want install Windows 7 in a dual-boot. How can I do this? I can't lose my Ubuntu files, and I'm afraid that I might break . Go  for UEFI only!


double foo = 3; double bar = 2.1;  System.out.println(foo - bar + "");   Output:  0.8999999999999999   Why? Is this some Java joke, which is not understandable for mere mortals?

double r = 11.631; double theta = 21.4;   In the debugger, these are shown as 11.631000000000000 and 21.399999618530273.  How can I avoid this?


I get this error message upon installing .  Missing gir1.2-vte-2.90.  Any help appreciated.

I can't install Ubuntu tweak on 16.04.  I've had it on 4 previous versions of Ubuntu, so I know exactly what to do in order to install it, it just doesn't work on 16.04.  Is anyone having the same problem?  Can anyone help?


Ok there are a ton of questions on getting a transparent background and NOT having background be checkerboard in final render, but what if you WANT this checkerboard pattern as your final background?    Ive tried unchecking my Transparent box - I'm in cycles.

I am making a cube whose material is reflective plastic [With Principled Shader], And now I want the background to be checker Texture,So that the cube reflect the texture giving a cool sense, My problem is when I choose the checker texture As a background I didn't know the scale of it to be small ... I tried a very big value and i tried a very small value but the two didn't work,what is the value could i choose to make the background checker texture ? I am using cycles render,blender v2.79  I want this to be my background ...    This is my settings [What is missing ?]...


Let $\mathbf {A}$ be a $2 \times 2$ matrix. For every two-dimensional vector $\mathbf {v}$, there exists a two-dimensional vector $\mathbf{w}$ such that $$\mathbf {A} \mathbf {w} = \mathbf {v}$$ Show that $\mathbf {A}$ is invertible.

Let ${A}$ be a $2 \times 2$ matrix. For every two-dimensional vector ${v}$, there exists a two-dimensional vector ${w}$ such that ${A} {w} = {v}.$ Show that ${A}$ is invertible.  I have no idea on how to start this, but I have a hint:  Which two vectors ${v}$ are we most interested in if we are trying to find the matrix ${B}$ such that ${A}{B}= {I}$?  Any help is appreciated!


Each time I filter block visibility (that is: When the block will appear in it's region), I can do so only via Node ID or Content-Type...  You might have a ready-2-go way to do so with a vocabulary term ? Here is a pseudocode of my meaning:  if (isset >=1 vocabulary->term) {isset block}   Sorry if it's a bit wired, I am just starting to learn PHP and my meaning is "if at least one term of a given vocabulary is in the node, show the block in whatever region".

My problem is that depending on a running mode my Drupal website might have either regular permalinks, or pretty, aliased ones. And "Page specific visibility settings" for blocks on specific pages (Show on only the listed pages) do not work across the modes.  It would be logical if let's say: node/23 syntax could work in any case, but it seems that it doesn't.  Do I have to change every setting for every block every time I switch permalink structure? Or there is more flexible solution to this?


Yesterday I noticed that the xterm title I use changed suddenly to something strange. So I suspect that someone hacked my Linux laptop (I'm using Arch). I changed the WiFi parameters (pass, essid) and changed my password on the computer. I also reinstalled all packages to overwrite files that may have been changed. I tried to take a look at the changed files, logs and so on, but I don't have experience in security, so it was like walking in the dark ;) and of course I didn't found any signs of intrusion. Do you think I should wipe the system and install from scratch?

I accidentally left an open port on my router, leaving access to one of my computers via SSH, using a rather insecure password. I noticed because I checked /var/log/auth.log and there is just one entry from the outside. There's no bash history nor anything easily noticeable. What should I check to know my computer is not compromised?


I am fairly new to blender and I cannot seem to solve this issue;  Whenever I add a new object. I used to get this sort of menu. in the tools section on the right.    However, after working on my file for about an hour. I cannot access this menu upon adding a new object.

When you add a new object into the blender scene, normally on the tool shelf a window will become available where you can put in the objects size or number of vertices etc.  These options:   For what-ever reason, when I now add an object I am no longer seeing that area where I can alter the measurements. Currently I want to use the Spin function but I need to alter it but I have no way of effecting how the spin operates. Does anyone know what I have done or how to fix it?


I would like to purchase a camera that takes great pictures of people. We are having a family reunion and I would like to take clear pictures of everything going on: from people eating, to dancing, to the inevitable family portrait. Important:   Image sharpness Clear color Fast response when shot is taken Good Low lighting pictures   What should I look for in a non-professional portable camera in order to get the family shots that I want that I will be proud to show my grand kids some day? Minimum specs  P.S.- if you would like to recommend a model that you are happy with I would love some suggestions, even more so If you can link me to examples that have been taken with that camera.

My friend is buying a digital point-and-shoot camera, which he wants to use to click family pictures including a lot of pictures of their newborn son.  What camera qualities should he be looking for while buying?


Actually i need to know if i'm using 14.04 or 15.04 then do i'll need to a fresh installation of os after several time 5 yrs or 9 months?

What are the differences between an Ubuntu Long Term Support release (LTS) and a normal release?


I would like to know if my laptop can handle kubuntu. If not, what are my options ?  The informations about my laptop:   Windows XP,  Version 2002  Intel(R) Core(TM)2 Duo CPU or Mobile Intel(R) 965 Express Chipset Family T5670 @ 1.80GHz 789 MHx, 0.99Gb of RAM Physical Address Extension   Thank you in advance,  Adam

I'm thinking about installing Ubuntu Desktop, but I don't know what flavor is the best for my system. What are the minimum and recommended hardware requirements? What kind of CPU? How much memory? Should I have Hardware Acceleration? What flavor should I use?  This is an attempt of a canonical answer. My answers have the "official  requirements", the recommended are a mix of official sources and opinion based (along with the answer it's told the source). You can comment or edit if you feel that the information is obsolete or incomplete. It is a good rule of thumb that any system capable of running Windows Vista, 7, 8, x86 (Intel) OS X will almost always be a lot faster with any Ubuntu flavor even if they are lower-spec than described below.


My client is registering customer data and wants to make sure that they register their customers e-mail addresses when ever a customer has one. So the input textbox should be required to have valid data. If the customer does not have an e-mail address the user should be able to indicate that the e-mail textbox has not been forgotten but there simply isn't any data to enter in it.  A checkbox beneath the input could be added and when checked the user is indicating to the system that the field has been considered and it is just not relevant a the time.  I'm interested in hearing if you have any alternative solutions to this.  UPDATE: The clients employees fills in this data. The customers are not identified by e-mail, it's just a convenience data, which they would like whenever available. I've come to at conclusion that a required field that really isn't required doesn't exist. Either it is or it is not. The real problem is a too long form, stopping the users scan of the form before reaching the e-mail field.  Thank you for your replies, they made me rethink the problem and see the root of it.

...the email field in my clients data entry system is required but users of the system are allowed to enter na@na.com if the customer refuses or doesn't have an email address. Is this best practice? Have any suggestions or workarounds for their solution?


I'm a native English speaker, but I'm trying to expand my vocabulary slightly. I looked this up online, and the definition for it baffled me. How exactly would I go about using this particular word?

I play Scrabble. I'm learning words with the letter 'q'. What is the usage of the word 'qua'?


How do i delete windows partition from Ubuntu? I have the FBI virus on my windows partition and need to delete it from Ubuntu OS.

Possible Duplicate:          OK, I am kind of illiterate when it comes to computers.  I have a Gateway 6018GZ laptop which I loaded Ubuntu 11.10 on....It has 2 partitions; one has windows xp and the other ubuntu-how can I delete windows xp from it completely?


Let $V$ be a normed vector space and I need to prove the follwing inequality $\mid \parallel x \parallel - \parallel y \parallel \mid$ $\leqq$ $\parallel x-y \parallel$ containing the norm and the absolute value of the real numbers. However things just get twisted and I cannot see how to prove it.... Could anyone please tell me how to prove it?

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


There are times when I "zap" through posts on PPCG: I come back after a few hours absence, see a couple of votes and notifications. So I pick one, after reviewing it, I have to scroll all the way to the top of the page to get to the next one, and so on.  Ok, it´s "only" a click followed by Strg+PgUp or a drag on the scroll bar; but it´s getting on my nerves when I have to do that a dozen times in a row.  Can I have a sticky topbar please!

Recently I noticed the changes to the top bar. They are good but I had a suggestion, what about fixing the topbar at the top of the viewport for the user to simply access it regardless of on what position they are on the site ? I mean they don't need to scroll up every time to access the topbar.     I know this topic has been discussed earlier and the obvious answer was that use a grease-monkey script or something similar to it to make it fixed on your browser, this can be a good addition in order to make user interface better.   Thanks and hope to get some positive response :)  UPDATE: I respect your opinions and thus closing this topic.


Question: If n is an integer greater than 1, show that $\left \langle n \right \rangle=n\mathbb{Z}$ is a prime ideal of $\mathbb{Z}$ IFF n is a prime.  I have a bit of problem proving the only if condition is true.  Attempt:  Suppose $\left \langle n \right \rangle$ is a prime ideal of R. Then $a.b \in \left \langle n \right \rangle$. It is thus true that $a \in \left \langle n \right \rangle \text{or} b \in \left \langle n \right \rangle$ Any hints is appreciated. Thanks in advance.

prove $(n)$  prime ideal of $\mathbb{Z}$ iff $n$ is prime or zero    Defintions  Def of prime Ideal (n) $$ ab\in (n) \implies a\in(n) \vee b\in(n) $$ Def 1]  integer n is prime if $n \neq 0,\pm 1 $ and only divisors are $\pm n,\pm 1$   Def 2 of n is prime] If $n\neq0,\pm1$  only divisors of n are $\pm1,\pm n$ $$ n|ab \implies n|a \vee n|b $$    $\Rightarrow $] (Prime Ideal $(n)$ of $\mathbb{Z} $$\Rightarrow$ $n$ prime or zero)  Now consider the case where $(n)\neq (0)$. that is $n\neq 0$   Using the def of prime Ideals $$\begin{aligned} ab \in (n) \implies a \in(n) \vee b \in (n) \end{aligned}  $$  Well, If an element $x\in(n) \iff x=q*n \iff n|x$   $$n|ab \implies n|a \vee n|b$$  So, $n$ is prime ,nonzero.   In the case that $(n)=(0)$ clearly $n=0$ since there are no zero divisors in $\mathbb{Z}$  $\Leftarrow$] (n is prime or zero  $\Rightarrow $ $(n)$ is a prime ideal of $\mathbb{Z}$)  Consider the case where $p is prime$ so $n\neq 0, \pm1$  $$ \begin{aligned}  n|ab &\implies n|a \vee n|b \\ ab \in (n) &\implies a \in (n) \vee b\in(n) \end{aligned}$$  in the case $n=0$, since $\mathbb{Z}$ has no zero divisors  $$ab=0 \implies a=0 \vee b=0 $$ So (0) is a prime ideal.     Concern if this prove holds, also would be surprised if this question is not out there in this site. Did a search and clicked on similar questions and could not find it.And of course any other ways to prove it.


I got a hp/compaq presario c751nr, this laptop is a older computer with 2gb of ram i think it has a 64 bit processor but i believe it came with 32 bit vista,correct me if im wrong. im a tech savy linux newbie (coming from windows). what is a good distro for me, should i get the 32 or 64 bit version.

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 submitted a paper for a conference. While the paper got submitted for publication in the proceedings, the feedback seemed quite negative. The main criticism was that the model I have designed uses too many simplifications.  I am giving a presentation at the conference in about a week and a half. Since I submitted the original paper I have achieved a significant amount, and have been able to improve my model and deal with a number of the simplifications.  My question is: for the presentation content, do I have to stick with the work that is going to be published, or can I also present some of the more interesting, newer work?  For reference, my field is engineering (renewable energy)

I am presenting a paper at a computer science conference.  The paper I submitted to the conference mentioned future work that would significantly enhance the utility of the method.  This work was work that was always planned to be part of the same "project" as the work in the paper, indeed the conference paper is presented as a part way step towards doing X, and the future work is what takes it all the way.  The extension was quite involved (and not quite complete when I submitted the paper for review). They day before I left for the conference that work was "completed", in that a journal article about it was submitted for review.  Now when I present at the conference, in the conclusion I want to mention the future work – at least to the extent that it was described in the conference paper. Should I go into more detail? Should I even mention that "This work is now complete, and is under review for publication"?


Getting straight to the point, I am trying to install Ubuntu 14.04 LTS alongside a pre-installed Windows 8 (now updated to 8.1). I am a newbie (even though I used Linux and Ubuntu for some time now, I still see myself as a newbie), so I would appreciate as much help and clarity as I can get.   I am using a Toshiba Satellite L850-1L1 Laptop with the following specs  · Processor Intel(R) Core(TM) i7-3630QM CPU @ 2.40 GHz  · 8 GB RAM  · 64 bit Operating System, x64-based processor  · 1 TB HDD (No SSD), GPT Partitioning scheme (GUID Partition Table)  · System BIOS Version 6.7 / EC Version 6.00 (no idea if this bit of info will help or not)  I removed about 60 GB of the C partition that has windows. I left it as a new unallocated volume (I left it as free unpartitioned and unformatted space). As for the Secure Boot and UEFI settings in the BIOS, I left them enabled (since I read in ask Ubuntu that it is always better to try installing with both options enabled) and shut down the laptop. Something worth mentioning, I read an article that said I should switch to CSM Mode before shutting down and then install Ubuntu; I did not do that. When I change the boot manager from UEFI to CSM Boot, it does not boot anything coz of copyright issues. Plus, Ubuntu boots in legacy mode and not UEFI Mode.  With try Ubuntu I was able to boot the live version without problems, then started installing Ubuntu and when I got to the system installation window there was no option that said “install alongside windows 8”. So I picked “something else”, made a 5.77 GB partition (read somewhere that it is supposed to be 10% the size of the main system partition) for swap area and 51.22 GB for booting the main system ( / ). After Installation GRUB menu opened and I could open Ubuntu without problems but with windows, it gave me an error and did not want to boot it. I ran boot repair and it closed with an error and gave me a pop out message saying I should turn off secure boot. After that, there was no GRUB and it boots straight to windows.  Here is the first boot repair link: paste.ubuntu.com/7517709  I then formatted the partitions again and did the whole thing again with secure boot disabled this time. Again no GRUB menu and boots straight to windows 8 (yes windows 8 on my laptop works with secure boot disabled), so I entered the live version and ran boot repair again. This time it did not tell me that I should disable secure boot, but it did not solve the problem either. Same problem, no GRUB and boots straight to windows.  Here is the first boot repair link: paste.ubuntu.com/7536732  A couple of more points:  · I cannot change the OS boot manager in BIOS, i.e. I cannot choose boot priority between windows 8 & ubuntu. Simply because that option does not exist  · Boot Manager in BIOS allows me to choose between CSM and UEFI only  Appreciate any help to make the dual boot work. Thanks

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


I only have "search in windows" option and I don't see any configuration to activate cortana:    I've seen that a lot of people have problems with their region, but that doesn't seem to be my problem, I don't even get that message. How can I activate cortana? I used to have it. I don't know if it dissapeared with some kind of update or maybe I stopped some kind of service... How can I activate it?  Edit: I know it's only available in some regions and countries, but I also know it is available in Spain. The only part important there is that on the left pic it says "Search in Windows" instead of something related with cortana and on the right pic I have no options to modify anything cortana's related.^  I'm using Windows 10 Education 1607

The Windows 10 Anniversary Update appears to have killed Cortana. How do I bring her back?  The search screen is the old, standard one, and the search icon is a magnifying glass instead of the Cortana circle.    Cortana settings let me choose language but reports a region mismatch even though both are the same. There are no other Cortana-specific options there.


What is the role of the outer metal connector? (the one with two square holes) Does it have a potential? Is it insulated from the 4 pins? Are the 4 pins insulated from each other?

I was tearing apart a mouse for repairs and noticed that the small plug for the USB connection had a fifth connection. This connection had a much thicker wire than the other four.  I assume it is connected to the metal sheath on the male end of the connector, but what does it actually do?


I'm working with MavensMate v0.0.11-beta7 and using Salesforce API v.38 in configuration. I would like to get Debug Logs from Salesforce with MavensMate in order to open the files with Sublime Text.   I have Started Logging with MavensMate as it can be observed in the image:   After that new trace flag is created in Salesforce.  Now my problem is how can be the Debug Logs downloaded. I have created the folder [my_project_folder]/debug/logs and I have follow this previous post in StackExchange () but with my version of MAvensMate I don't have the options of "Fetch Logs".  This question is not the same like the question linked in the previous paragraph because "Fetch Logs" option is not present in my Mavensmate version and debug logs aren't downloaded in a automatic way. So, how can I pull to get the logs via Mavensmate?

Following a lot of people's advice, I am trying to use Mavensmate. Coming from developer console, there are still things I am not used to. One thing is I can't find where the debug log is. I tried everything I can think of under Mavensmate > debugging, but it seems to just processing for a while and then tell me it is a pass - but where is the log?   I assume that the debug log is not auto-generated like in developer console - so need to generate either a quick or debug log before opening it. Is that correct?


I did not have the option to take calculus during high school. I would like to pick up this subject during my free time.   I am a software engineer. I would like to improve my understanding of maths.   What textbook should I buy to understand Calculus.  I found "Calculus made easy" been quoted many times as a simple and effective textbook.   I am not sure if it covers similar topics in high school calculus.   I seek your advice.

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


This is the error I'm getting in logcat:  01-12 09:41:43.885: W/dalvikvm(1474): Exception Ljava/lang/NullPointerException; thrown while initializing Lcom/app/Items;   This is my Home.java class which is the main activity:  protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.home);         homeTextViews = new TextView[Items.HomeItem.length]; }   And here is the Item.java class:  public class Items {     public static final String[] HomeItem = new String[] { "string1", "string2", "string3" };   }   Upon starting the app I get the error said above as soon as it starts, the homeTextViews = new TextView[Items.HomeItem.length]; is the cause but I have no clue why. Anyone have any ideas?  I've also tried this but it still fails:      Items items = new Items();     homeTextViews = new TextView[items.HomeItem.length];   Items.HomeItem clearly isn't null, it's a static final so it shouldn't be null.

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


I was asked an $R^2$ question during an interview, and I felt like I was right then, and still feel like I'm right now. Essentially the interviewer asked me if it is possible for $R^2$ to be negative for linear regression. I said that if you're using OLS, then it is not possible because the formal definition of $R^2$ is $$ R^2 = 1 - \frac{SS_{res}}{SS_{tot}} $$ where $SS_{tot} = \sum_i^n (y_i - \bar{y})^2$ and  $SS_{res} = \sum_i^n (y_i - \hat{y_i})^2$. In order for $R^2$ to be negative, the second term must be greater than 1. This would imply that $SS_{res} > SS_{tot}$, which would imply that the predictive model fits worse than if you fit a straight line through the mean of the observed $y$. I told the interviewer that it is not possible for $R^2$ to be 1 because if the horizontal line is indeed the line of best fit, then OLS fill produce that line unless we're dealing with an ill-conditioned or singular system. He claimed that this isn't correct and that $R^2$ can still be negative, and that I could "see it easily in the case where there is no intercept." (note that all of the discussion so far was about the case WITH an intercept, which I confirmed at the beginning by asking if there are any constraints about the best line passing through the origin, which he stated "no") I can't see this at all. I stood by my answer, and then mentioned that maybe if you used some other linear regression method, perhaps you can get a negative $R^2$. Is there any way for $R^2$ to be negative using OLS with or without intercept? Edit: I do understand that you can get a negative $R^2$ in the case without an intercept.

I saw an example on a blog where a k nearest neighbors algorithm was run to predict responses on a test data set.The MSE(mean squared error) of the predictions was larger than the variance of the response variable in the test set. Shouldn't the MSE always be less than the variance of the response variable as SSTO(total sum of squares) = RSS(model sum of squares) + SSE(error sum of squares).


I seem to remember being able to rename, favorite, evolve, transfer, etc. my pokemon in Pokemon Go without the app making me go back to the top of the list but for some reason, the latest update makes me go back to the top of the list when I do any of the above actions to my pokemon.  How do I make it not do that and make the behavior like before?  The reason this is a big deal to me is before when I used my Lucky Egg, I could alphabetize my pokemons and evolve all my Rattatas quickly.  Now, I have to scroll back down my list to Rattata after each evolution.  I used to be able to evolve 65 or so pokemons for each egg.  Now, I'll bet I can't evolve more than 50 because of the delay.  Thanks in advance for your advice and help.

Before, when I transferred a Pokemon to the professor, I returned to the same Pokemon in the A-Z function; now I am returned to the beginning.  This means scrolling down after each transfer, which is a time consuming matter.  What happened? I tried resetting the game and the phone but that did not change it. Any ideas?


If the unit sphere of a normed space $X$ contains a line segment $[x, y]$, where $x, y ∈ X$ and $x ≠ y$ , then $x$ and $y$ are linearly dependent and $||x + y|| = ||x|| + ||y||$.  My attempt : If suppose they are linearly independent then there exists c $\in$ s.t. $x = cy$, which gives us that $$1 = ||tx + (1-t)y|| = ||tx + (1-t)cx|| = ||x|||t+c-ct | = |t+c-ct |$$  so for t=0, $$|c|=1 $$ that is about it. Can anyone give me further hints, thanks,

I want to prove the following statement:   If the unit sphere in a normed space contains a segment, then there exists two vectors $x,y$ such that $\Vert x + y \Vert = \Vert x \Vert + \Vert y \Vert$ with $x$ and $y$ linearly independent.   This is what I have done: Let $x$ and $y$ be the end point of the segment contained in the unit sphere. Then $\forall \lambda \in (0,1)$ I can write:   $$ \Vert \lambda x + (1-\lambda)y \Vert \leq 1 $$  From here I am struggling on getting the relationship on $x+y$. Any pointers?


Simply a player has to move through pipes falling down, once the player moves through the gap it should add a score and increase the scoring after each pipe the player goes through, pretty basic.   I have made a prefab object and it is a block with a collider on it and another collider that acts as a trigger behind it stretched out so it can be accessed on both sides. I then added to the main scene canvas >> textmeshpro>>> added a script with the following code however, when the player hits the collider the score does not increase in the scene. But if I remove the GetComponent then it increases by increments of 4 in the inspector.   using System.Collections.Generic; using UnityEngine;  public class Game : MonoBehaviour {     public int Score = 0;      void Start()     {     }      // Update is called once per frame     void Update()     {         GetComponent<UnityEngine.UI.Text>().text = Score.ToString();     }      private void OnTriggerEnter2D(Collider2D other)     {         AddScore();     }      void AddScore()     {         Score++;     } }

Since many users are facing the NullReferenceException: Object reference not set to an instance of an object error in Unity, I thought that it would be a good idea to gather from multiple source some explanation and ways to fix this error.  Symptoms I am getting the error below appearing in my console, what does it mean and how do I fix it?  NullReferenceException: Object reference not set to an instance of an object


People are still sending me texts even though I can't read them. I've gotta get a replacement quick, but I also need to get the important texts I missed. Is there any way I can get them through my pc?  To be clear, the screen is completely blank but I can still unlock it via touch pattern.  It takes a few tries but Android File Transfer on the mac will tell me if it can or can't connect.  If it can't, I just try again and I can get it.  So the touch part still works, it just doesn't show any information.  The phone is a Galaxy Nexus.  When I connect it to my Mac, I can see the files in it via the Android File Transfer window. However, I can't find the texts here.  I have the Android SDK installed and I was told I can do this:  adb pull /data/data/com.android.providers.telephony/databases/mmssms.db   However the device shows up as offline when I do adb devices.  I can't figure out a way get it showing up as online without being able to use the screen.

I just broke the screen of my (unrooted) Galaxy S.  How do I get back my SMS and contacts?   PS: I tried Kies but it won't detect my phone for some reason. (Kies works fine with another Galaxy I possess but not this one)


Can you store more than one of the same key in the same capsule?  Providing of course you have enough room etc.  I noticed that you can only hold one of the keys, as the portal doesn't give you one if it picks up you already have one. I have a key in my inventory as well as in a capsule. I am not sure if I should try adding it to the capsule without losing it. Can anyone clarify that you can store multiple keys in the same capsule?

If I put a portal key inside a capsule, can I keyfarm without dropping it, or does having it in there still count as inventory and prevent me from getting more?


When i run my console application on my local system i didn't faced any error. But when i deployed my application to my windows server 2008 r2 it throws an error as below,  Problem Event Name: CLR20r3   Problem Signature 01: testexcel.exe   Problem Signature 02: 1.0.0.0   Problem Signature 03: 54294236   Problem Signature 04: mscorlib   Problem Signature 05: 4.0.30319.18444   Problem Signature 06: 52717edc   Problem Signature 07: 10eb   Problem Signature 08: 6f   Problem Signature 09: PSZQOADHX1U5ZAHBHOHGHLDGIY4QIXHX   OS Version:   6.1.7601.2.1.0.272.7   Locale ID:    1033   Additional Information 1: 0a9e   Additional Information 2: 0a9e372d3b4ad19135b953a78882e789   Additional Information 3: 0a9e   Additional Information 4: 0a9e372d3b4ad19135b953a78882e789   In my code i'm using Microsoft.Office.Interop.Excel dll to generate the excel(.xls or .xlsx) and my servers doesn't have MS office. Is it possible to run my console application to generate the excel without installing MS office?  Can any one please help on this?  Thanks in Advance!

We want to use Microsoft.Office.Interop.Excel in our web application. Everything works fine on our local machines, but on our test machine we're running into problems. It has neither Visual Studio nor Office installed on it. We're using .NET framework 2.0 and the server is running on Windows Server 2003 with IIS6.    Is there a dll that needs to be installed on the machine or added to the bin of the web application?


I have fitted two models.  Model 1 has 264.514 less AIC than model 2, a drop from circa 7800 to circa 7500.  However, model 2 has adjusted R^2 equal to 40 percent, while model 1 has it at 36.8 percent.   What gives? I thought such a significant $\Delta AIC$ would most likely also increase the adjusted R squared?   If it helps: model 2 and model 1 are identical, except model 1 has an exponential correlation structure with a nugget.

I hope it's okay to ask theoretically driven R questions here.  R has given me the following results from my 'tournament of models'.  All models are entirely distinct except from 3 basic control variables. It's clear to me that Model 3 (third column) is the best performing. My concern is that Model 4 has such as low $R^2$, despite having a low AIC. How would you theoretically explain why a model has low and AIC but also a low $R^2$?  Secondly, imagine I went to add the variables from Model 4 into each of the other models and note the reduction of AIC scores. If the reductions in AIC is different across each model, what does this suggest?  Should it be the case that the inserted variables do better when inserted into a very different thereotical model?    [For info I consulted this other thread but decided to create my own since I was still unclear of the distinction between goodness of fit and explanatory power.]


I want to write a theorem with letter G, which has over ^ it. I tried $G^{\^}$, but that doesn't work.

I need to display the symbol '^'  d <- dist(fascores, method = "euclidean")^2   How do I do that?


I have a domain and DNS server set up using Windows Server 2012 R2. The local domain is a subdomain of my public one, and I have a forward lookup zone configured for it in my DNS server.  i.e.   local: lan.publicdomainname.com public: publicdomainname.com   The DNS records for publicdomainname.com are stored with the public DNS on the registrar. (godaddy in this case). lan.publicdomainname.com is not stored with that DNS server.  I have several local servers that are listed on the public DNS as subdomains.   for eample:   server1.publicdomainname.com server2.publicdomainname.com   These can be accessed using those URLs from outside the local network just fine, but don't work while connected to the LAN.   Should I be adding a new Forward Lookup Zone to my internal DNS server named publicdomainename.com?  edit:  Seems like I should either be using hairpin NAT or split DNS. From what I understand a hairpin NAT causes extra processing to be done on the router for local traffic, and a split DNS requires an extra set of records to manage. for just 3 or 4 servers, which methods is better? Are there canonical guides to set each of these up? (on Windows 2012 and tomato/linux router respectively)

I have a problem in which I cannot access a server using its public name from the same network as the server. Access to the server works fine from the internet.  Reading up on this problem, I've ran across such things as hairpin NAT, loopback NAT, split DNS, editing hosts files, etc.  My network has a SMC 8013WG-CCR (Comcast) cable modem connected to a Linksys WRT54G2. As I understand, the router is supposed to handle this sort of loopback (by leaving the security option "Filter Internet NAT Redirection" disabled), but the connection between these two devices is a secondary LAN, so I don't think the router "knows" what the proper public IP address is.  The easiest solution would be to edit the hosts files of all the computers in the network, but many are notebook computers which will need to access the server both on the LAN and externally.  The server is Windows Server 2012, so I could set it up as the internal DNS server but I don't have enough experience with this to really understand how it would interact with the router, DHCP, etc.  I am prepared to purchase a new router if I need something with greater capability. It appears from my research that most IT admins prefer to solve this problem with split DNS rather than hairpin NAT. I understand the concept of hairpin NAT more clearly than split DNS. It seems to me that the router just needs to provide LAN clients with the local IP of the server when clients use the public name (sub.domain.com). Isn't that just an entry in a local DNS cache? Is that what split DNS does?  What would be a good solution to implement this fix for a small business?


Sometime within last 6 months my iPhone started showing a prompt on the bottom for apps that I don't have running in the background. I use the task switcher to close apps after I am done with, say, ordering food or what-now. And for most apps, like Audible mentioned in the prompt in below image, the "background app refresh" is turned off. It looks as shown below.  Some additional details: My iPhone 7 is running iOS v14.6. I may have had my iPhone connected to an Apple Watch at the time this message popped up. My internet search so far had found  (to disable it in Settings -> iTunes & App Store -> turn off suggested apps for installed apps) but the instructions do not seem to be valid for v14.6. So with this background, would anyone know if there is a way to disable this "Often used with Bluetooth device connected" prompt?

As far as I can tell, suggested apps show themselves based on location.  There are two places where these suggested apps show themselves to me:   At the bottom left of the multitask screen when I double press the home button At the bottom left of the lock screen    article describes how to get rid of the small app icon appearing in the bottom left. However, this method is for iOS 8, and I am now on iOS 10, where I am unable to find iTunes and App Store > Suggested Apps.   How can I get rid of these (in my opinion) annoying little things?


I use the same OpenID to log onto SO sites. When I log in to , and then navigate to other site such as , it recognizes the same OpenID.  But when I open , it shows login link on the top bar, I'm required to enter the same login credentials aagain. Why is this behavior with ?

I logged in with the same Gmail account that I use to log into all my other Stack Overflow accounts and it didn't auto-populate the name. Nor is it showing up here:    Seems like it ought to?


The PC's USB port design to suppply 5V to connected device but what if device already has 5V supply? Considered voltage stabillity/accuracy and data-tranfer abiility, what is the best way to do?  Don't use USB 5V, just use common ground to transfer data. Use USB 5V to power device and disconnect internal 5V supply.

I'm designing a USB device which can either be powered by USB or an external 5V power supply.  When an external 5V power supply is present, the device should be powered solely by this external supply. Otherwise, the device should be powered by the USB bus. In other words, the external supply should always be prioritized, regardless of voltage level compared to Vbus. This rules out solutions based on diode-ORing.  Furthermore, the device will potentially consume quite a bit of power (several amps), so a solution based on MOSFETs would be preferred. When drawing a lot of power, the external supply is required.  So far I've found only one IC which seems to do what I want, the . However it's rather expensive and supports up to three supplies, which is more than I need. Does anyone know of other simpler (cheaper?) ICs?  I've come up with  which appears to work in simulation, but I'm not sure it will work in practice. For instance, is it possible to get an inrush current from Vbus to Vext during the transition period? Does anyone know of a simpler circuit to safely switch between the two power supplies?


I am working with a recyclerview and am implementing swipe to delete. the code works pretty well but when I try getting my list from the adapter so that I implement swipe to delete, I get a null object reference.  My adapter class is below  public class TlAdapter extends RecyclerView.Adapter<TimelineVholder> { private List<FetchModel> models; private Context context;   public TlAdapter(List<FetchModel> models,Context context) {     this.models = models;     this.context= context; }  @NonNull @Override public TimelineVholder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {      View view= LayoutInflater.from(context).inflate(R.layout.timeline,parent,false);     return new TimelineVholder(view,viewType); }  @Override public void onBindViewHolder(@NonNull TimelineVholder holder, final int position) {     SharedPreferences preferences= PreferenceManager.getDefaultSharedPreferences(context);     final SharedPreferences.Editor editor=preferences.edit();          FetchModel list= models.get(position);          String activity= list.getJournalEntry();         String time= list.getTime();          holder.activity.setText(activity);         holder.time.setText(time);  }  @Override public int getItemViewType(int position) {     return TimelineView.getTimeLineViewType(position,getItemCount()); } @Override public int getItemCount() {      int arr=0;     try {         if (models.size()==0){             arr=0;         }         else {             arr=models.size();         }     }     catch (Exception e){}     return arr; }  public List<FetchModel> getkey(){     return models; }   }  and my recyclerview gesture class is as below  public class RecyclerViewBasic  { private Context context; private List<FetchModel> modelList; public RecyclerViewBasic(Context context) {     this.context = context; } public void recyclerGesture(){     new ItemTouchHelper(new ItemTouchHelper.SimpleCallback(0,             ItemTouchHelper.RIGHT|ItemTouchHelper.LEFT) {         @Override         public boolean onMove(RecyclerView recyclerView,  RecyclerView.ViewHolder                 viewHolder, RecyclerView.ViewHolder target) {             return false;         }          @Override         public void onSwiped(RecyclerView.ViewHolder viewHolder, int  direction) {             int position= viewHolder.getAdapterPosition();              TlAdapter adapter= new TlAdapter(modelList,context);              modelList= adapter.getkey();             modelList.remove(position);             adapter.notifyDataSetChanged();          }     }).attachToRecyclerView(recyclerView);  }   and the error in my logcat is as below also  06-29 13:19:41.691 4282-4282/com.revosleap.journal E/AndroidRuntime: FATAL EXCEPTION: main Process: com.revosleap.journal, PID: 4282 java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.List.remove(int)' on a null object reference     at com.revosleap.journal.RecyclerUtils.RecyclerView.RecyclerViewBasic$2.onSwiped(RecyclerViewBasic.java:89)     at android.support.v7.widget.helper.ItemTouchHelper$4.run(ItemTouchHelper.java:692)     at android.os.Handler.handleCallback(Handler.java:739)     at android.os.Handler.dispatchMessage(Handler.java:95)     at android.os.Looper.loop(Looper.java:145)     at android.app.ActivityThread.main(ActivityThread.java:5942)     at java.lang.reflect.Method.invoke(Native Method)     at java.lang.reflect.Method.invoke(Method.java:372)     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)   I have gone through a number of similar questions here and tried the methods suggested but I cannot get the one that helps me out. I even tried to populate the list anew but it even got me another error. I'd really appreciate any possible help. Thanks.

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 need to understand how Javascript handles the new string object just like in the C# code below  var UpperBound = 14; for (int i = 0; i < UpperBound; i++) {     Console.WriteLine(new string('*', i));   } Console.ReadLine();   This was how i did it in Javascript:    var upperBound = 14; for(var i=0;i<upperBound;i++){   console.log(new string("*", i)); }     Am a newbie in programming and i started off with javascript so if i appear dumb by asking this question pls pardon and assist me by explaining.. thanks

What is the best or most concise method for returning a string repeated an arbitrary amount of times?  The following is my best shot so far:  function repeat(s, n){     var a = [];     while(a.length < n){         a.push(s);     }     return a.join(''); }


Maybe it's very simple but I'm wondering which one is correct. Google search has showed me both forms are used.    "He said the earth was round."  "He said the earth is round."

I know the past tense carries the past tense in every dependent clause, but referring specifically to places or to things that are eternal, like the Earth, seems a bit weird and therefore we sometimes (I believe incorrectly) say     He didn't know that New Jersey was actually on the East Coast.   Because it still is. Or     He thought the Earth was round.   So is it square now?  Logically speaking, would you consider the use of past tense here a bit confusing in a day-to-day speech in these examples? Would you instinctively opt for using the present tense?


Just recently, the Imperial Mission spot just says: You've done all of the quests!. Is there really nothing I can do, or is there something I must do, like wait a certain amount of time or build more Imperial levels?

I have 9 Imperial levels, tons of inventory as I kept them producing,  and always sent anyone who wanted to go to a residential level down to speed up production. Finished the last quest, and now it says that there are no more quests. That is ridiculous, I should not run out of quests before I have constructed all the Imperial levels. I was enjoying the cash bonus for each complete quest (last one netted me 209k in coin). Without these imperial quests,  half of the gameplay is gone, and I have no reason to build more imperial levels.   Please tell me this is a bug


'Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)' in the drive    '/media/cdrom/' and press [Enter]    When I press Enter, nothing happens. I tried updating and upgrading my packages so that’s not the issue.  I’m new at Ubuntu so I don’t know what else to do.

I can't update 12.04 LTS. The Update Manager shows this:  CD/DVD 'Ubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)' is required Please insert the above CD/DVD into the drive '/media/cdrom/' to install software packages from it.   The image I downloaded and burned to CD is from  the PC (Intel x86) desktop CD version. I burned many CDs but the result is the same.


Is the Force just a natural thing in that galaxy that is passed down genetically, or do the 'ones' choose who has the Force? Luke inherits his Force ability from Anakin, but what is the case when a Force sensitive child is born into a non-Force sensitive family? Also, how does that Jedi holocron in The Clone Wars tell the Jedi where the Force sensitive children are?  Canon answers are what I'm looking for, but I am open to any Legends explanations.

This has been discussed in at least one  before, but not directly addressed, at least not on this site.  Is there any actual connection between blood lines and Force sensitivity? We certainly see hints of that with both of Anakin's children showing Force sensitivity.  Do patterns like that show in other families?  Is there any indiction that Force sensitivity can be hereditary in some species or in some families?  (I'm not asking if it is always hereditary or always following blood lines, but is there enough to show this can be a notable factor in whether someone is sensitive or not.)


I have searched religiously through the web to find an answer to this quest.  I don't know thing about .htaccess or web.config.  I'm currently hosting my website through GoDaddy.com. From what ive been able to uncover is that GoDaddy uses a windows based server so the .htaccess wont work, hince why i tried using web.config.  I have tried creating a .htaccess and a web.config file and uploading them in the same place as my index.html.   Could someone please help me.

This question is here so we can offer users who are looking for information on how to make one or more common or basic redirects in Apache using the htaccess file. All future questions pertaining to finding information that is that is covered by the question should be closed as a duplication of this question. .  Whats the point in this question? The idea while not perfect is catch the most commonly asked questions regarding redirects using the  htaccess on the Apache platform either on  some type of lamp or a live server. The type of answers should be generally those that you could imagine are used by 100,000’s of sites world-wide and are constantly asked here at Pro Webmasters repeatedly over and over in various forms.  A few examples of the type of answers we are looking for:   How can I redirect non-www to www? How can I redirect a sub domain to the main domain? How can I redirect a sub folder from domain to a root or a subdomain?  How can I redirect an old URL to a new URL?   A few examples of the types of answers that we are not looking for:   Answers that do not involve a redirect. Any answers relating to NGinx, IIS or any other non-Apache platform. Answers that involve custom and complex string or query removals.   Resources for Advanced to Complex Mod_Rewrite Rules:      Please note: that this question is still in construction and may need some refining either by myself or a real moderator of Pro Webmasters, if you have any concerns or questions .


I'm confused about two particular examples where "who" is used as a relative pronoun:  Example-1: ...people who I have no idea who are. ...people who I have no idea who they are.  Example-2: ...people who we have no idea what their intentions are.   What is the correct phrasing for these two examples? Also, is it okay to drop "who"? I've seen instances of example-1 on various webpages; in fact, a quick google search for "who I have no idea who they are" gave 97,200 hits. So, is it acceptable in colloquial usage regardless of whether it is grammatically correct or not?   Thanks.

"Give him a box that everyone knows what it contains."  Is this correct English? It sounds wrong to me.


I'm having trouble understanding why exactly $GF(p^n)$ is unique up to isomorphism.  I know that the proof begins by claiming that $GF(p^n)$ is the splitting field of the polynomial $x^{p^n}-x\in \mathbb{Z}_p[x]$.  I don't understand why the splitting field of a polynomial is unique though.  Could someone help explain this to me?

This is from A Course in Arithmetic by JP Serre          Theorem 1           ii) Let $p$ be a prime number and let $q = p^f(f \geq 1)$ be a power of $p$. Let      be an algebraically closed field $\Omega$ of characteristic $p$. There exists a  unique subfield $F_q$ of $\Omega$ which has $q$ elements. It is the set of roots of the polynomial$X^q-X$.           iii) All finite fields with $p^f$ elements are isomorphic to $F_q$.      The proof of the last part says          Assertion iii) follows from ii) and from the fact that all fields with $p^f$     elements can be embedded in $\Omega$, since $\Omega$ is algebraically closed.      Can someone explain me how iii) follows fom ii)?


The server where iptables rules are enabled is RHEL 6.4.   From this server, I tried to allow icmp echo request from only one specific IP address (host with RHEL7.5 OS).  I used the following rules:  iptables -A INPUT -s <ip_specific_node_rhel7.5> -p icmp --icmp-type echo-request -j ACCEPT iptables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT   Default policy is ACCEPT. So, at the last line, along with other ssh rules allowed, I added the line to block other servers and ports:  iptables -A INPUT -j DROP   It's not working.   Firewalls are not running on the host with RHEL7.5.  But, from other hosts, rules are working.  Are there any configurations required?

Currently, I have something like:  iptables -A INPUT -p ICMP --icmp-type 8 -j DROP iptables -A INPUT -s x.x.x.x -p ICMP --icmp-type 8 -j ACCEPT   However, when I run the second command, it looks as if iptables just stops.  I have to break out of it to get back to terminal.  Perhaps I am doing it all wrong, but some insight would be helpful.


When I am designing a mockup in Photoshop CC (a website for example), I typically have each element of the website on an individual layer. This is both for production of creating the assets for development and ease of use within photoshop (editing the actual mockup).   When it comes time to create the assets for production, I would copy them, create a new file, paste and save them as needed. However, is this actually efficient and it begs the question of what are other ways of accomplishing this task.  What are efficient workflows for exporting assets from a design mockup in Photoshop CC that are different from previous versions of photoshop. Are there plugins that can assist and are there downsides? Sometimes plugins are not as controllable as manually control for example.   Here are some I can think of with consideration of transparencies etc:   As mentioned above, Copy the layer, open a new file, paste and save Ctrl Click the layer tile, crop, save, Undo the crop (not generally "safe") Convert the layer into a smart object, open it, save   Others?

I am a web dev and competent in Fireworks, but not so much in Photoshop.  I have just received a layered PSD file to turn into a web page.  Can anyone tell me the easiest way to export all layers to individual png files?  There are lots of layers and doing this manually seems wrong.  I have seen  but it does seem there should be native functionality for this in PS.  I have access to Photoshop CS4. Any pointers appreciated.


I’m an international college student in Hamburg, Germany. I have applied for Visitor Visa in 2017 and this is the refuse letter from my last application. There are a few changes in my application that I want to ask for advice.    In the last application I have stated that I have no friend in the UK. But this time my boyfriend will write me an invitation letter and I will be staying at his place during the trip. Do I have to clarify why did I say that i have no friend in the UK in the last application? I’m a non-working fulltime student and receive regular allowance only from my family. What documents do I have to provide beside my bank statement? Plus I have a cash deposit of 6000 Euro in my bank sent from my family 3 months ago. Do I have to prove its origin, if yes what documents do I need? The reason for the large amount of money is because my family only send me twice a year. First thing is that, I have a penalty fare ticket last year in Germany for the amount of 60Euro for not having the right ticket for the different zone in Berlin and I have transfered the fee right after. Second is when I flew back to Germany from Vietnam, I have a fine for bringing meat to Germany for 46 Euro and also have to pay tax not fine for bringing cigarettes. I have paid everything right after. So my question is do have to disclose them in the section: “Warning, caution, reprimand, or other penalty” in my application form?   Thank you for your help!

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


I recently update from Ubuntu 12.04 to 14.04.  As part of this upgrade process, my version of Apache was also update from 2.2 to 2.4, which I understand is a significant change for some reason.  Somewhere along the way Apache got messed up so I had to remove it and then reinstall.  Now that Apache has been reinstalled the problem I am having is that I cannot access http://localhost.  With a fresh install of Apache 2.4, I cannot get it to work.  When I do sudo /etc/init.d/apache2 restart and sudo service apache2 restart these do not throw any errors, so I don't know what the problem could be.  How can I troubleshoot my new Apache installation?  Thanks.

[aman@aman-Inspiron-1440:~$ apache2 [Mon Apr 21 17:36:38.019213 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_LOCK_DIR} is not defined [Mon Apr 21 17:36:38.019345 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_PID_FILE} is not defined [Mon Apr 21 17:36:38.019370 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_RUN_USER} is not defined [Mon Apr 21 17:36:38.019385 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_RUN_GROUP} is not defined [Mon Apr 21 17:36:38.019414 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Mon Apr 21 17:36:38.028756 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Mon Apr 21 17:36:38.029032 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_LOG_DIR} is not defined [Mon Apr 21 17:36:38.029056 2014] [core:warn] [pid 4134] AH00111: Config variable ${APACHE_LOG_DIR} is not defined AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf: Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}    is the content of /etc/apache2/apache2.conf file.


My understanding is that for any general formula to be accepted, there has to be a proof for all 'n', by construction or by negation.   Even if the formula can be tested for high values of 'n', we merely say it works up to the tested limit but not beyond.  Do we have some non trivial examples where a formula works till a certain high 'n', say n = 100 or 1000, but not beyond that?  I'm curious because we often have unproven formulae that work correctly for an arbitrary 'n', which one may test for; and neither counter examples are found, nor a proof. But I don't see famous cases where a counter example could disprove a 'promising' formula.

I just came back from my Number Theory course, and during the lecture there was mention of the Collatz Conjecture.  I'm sure that everyone here is familiar with it; it describes an operation on a natural number – $n/2$ if it is even, $3n+1$ if it is odd.  The conjecture states that if this operation is repeated, all numbers will eventually wind up at $1$ (or rather, in an infinite loop of $1-4-2-1-4-2-1$).  I fired up Python and ran a quick test on this for all numbers up to $5.76 \times 10^{18}$ (using the powers of cloud computing and dynamic programming magic).  Which is millions of millions of millions. And all of them eventually ended up at $1$.  Surely I am close to testing every natural number? How many natural numbers could there be?  Surely not much more than millions of millions of millions. (I kid.)  I explained this to my friend, who told me, "Why would numbers suddenly get different at a certain point?  Wouldn't they all be expected to behave the same?"  To which I said, "No, you are wrong!  In fact, I am sure there are many conjectures which have been disproved by counterexamples that are extremely large!"  And he said, "It is my conjecture that there are none! (and if any, they are rare)".  Please help me, smart math people.  Can you provide a counterexample to his conjecture?  Perhaps, more convincingly, several?  I've only managed to find one! (Polya's conjecture). One, out of the many thousands (I presume) of conjectures. It's also one that is hard to explain the finer points to the layman. Are there any more famous or accessible examples?


When you want to tell someone that you understand something, you might say, "I get/got/'ve got it." But Q) Do we say "I've gotten it" or "I have it" in place of the above? I ask this because, in "I get it", clearly, the main verb is "to get", and here, it means "to understand" (), definition #7, but what about the rest? I mean, what is the main verb in "I've got it" or simply "I got it"? Is it "to get", as above, or is it "to have", as in "I have/'ve got/got a car?" (I know that "I got a car" is informal English, and mainly used in the US)

I see these two expressions are used almost identically in different contexts. Is there a difference between I have got and I have gotten?


It always defaults to 32bit. I'm totally new to ubuntu, but willing to learn this OS. Should have used it many years ago.....

What is the difference between standard i386 download and the amd64 download of Ubuntu 11.04? I am currently running the i386 on an amd machine, would my system work better with the amd64 download instead? (my machine was running Windows 7 64bit, but I neglected to look at that prior to installing Ubuntu).


When I bake my object using a blank image texture, dark patches appear in the middle of the torso and legs region after baking with bake type: ambient occlusion. This question is similar to this one :  but I followed the accepted answer i.e. flipped all the normals but still the Baking is not correct. screenshots below:   I'm using Blender version: 2.92.0  CPU device capabilities: SSE2 SSE3 SSE41 AVX AVX2 OpenCL device capabilities: No OpenCL platforms found CUDA device capabilities: No CUDA device found  I think the issue is that my UV wrapping is too crowded? I'm new to Blender and am following this . In the video they are using an old version of Blender.

Have Blender on about 4 machines rendering animations. Just spotted on one of the machines its rendering something different from the actual scene that I have setup.    Top window shows a different set of layers objects to whats actually being rendered in the rendering window below.  In my scene contents, layers objects 1-5 are not visible, but these are the ones that look like they are being rendered.  The only thing I can assume is that perhaps it might be because I did not save the document before clicking render, but I would not have expected that behaviour (you dont need to save your word document before printing it).  Can anyone confirm why this is happening?


How could a  with 980 reputation points review a task from the Suggested Edits review queue, which requires at least 2k reputation?    Please understand that I have nothing personal against him; I'm just asking to understand how it's possible.

When clicking "edit" I see:  Your edit will be placed in a queue until it is peer reviewed. We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.  Like:     Likewise, when I am not logged in, clicking "improve this question" or "improve this answer" shows:  You are not . Your edit will be placed in a queue until it is .  And when I click 'Save', I get:  Thanks for submitting an edit. It is only visible to you until it's been approved by trusted community members  Like:     Who can suggest an edit? Where do suggested edits go? Who can vote on a suggested edit? How do suggested edits get reviewed? Can I earn reputation? What about abuse or bad edits? Sometimes the Community user approves or rejects my edit. Why is that? When can I not suggest an edit? Is there a minimum change requirement for a suggested edit? How do I check my suggested edit history? I disagree with the reasons why my suggested edit was rejected. What can I do? How do I know whether there are edits waiting for review? Someone suggested an edit to my own post, and the reviewers took the wrong action. What can I do? Are tag wikis included in this scheme? What do the "Improve Edit" and "Reject and Edit" buttons do? Why are apparently valid links to rejected edits resulting in 404 errors?   For more information about editing, see "" in the .


I have a Yongnuo YN-568EX flash and I use it with a Nikon D7100.   If I buy another two more Yongnuo flashes of any model other than a YN-568EX, in principle will they all work together using at least one of the many types of setup?  If the answer is yes, does the same apply to different models from another brand? e.g. Could you use a Nikon SB-900 and SB-700 together off of the same camera?

I'm trying to get an idea of which Yongnuo flash will fit my requirements. I'd like to have a flash to pair with my SB-900 with TTL support for use both on and off camera (Nikon CLS-compatible). My camera is the Nikon D7000.  Power and flash zooming are not really important to me.  I'd be much happier with answers that let me understand Yongnuo's flash lineup. Thank you in advance!


How to reduce matrix $A$ to $B$ such that it has all eigenvalues and eigenvectors of $A$ but the dominant eigenvalue (eigenvalue with largest magnitude) is replace by $0$ ?  I am using Power method to find the eigenvalues and eigenvectors. The article says that by using above method, one can find not only the dominant eigenvalue but also the other eigenvalues.

Given a real-valued matrix $A$, one can obtain its largest eigenvalue $\lambda_1$ plus the corresponding eigenvector $v_1$ by choosing a random vector $r$ and repeatedly multiplying it by $A$ (and rescaling) until convergence.   Once we have the first eigenpair, is there a similar way to estimate the second eigenpair?


Are we aware of any theoretically sound approach that would potentially allow us to extract energy out of the Quantum Vacuum Fluctuations indefinitely.  The magnitude of the energy extracted doesn't matter, just the soundness of the approach (not just speculation) based on our current knowledge.  For example (Specifically): Why can't we use Static Casimir Effect to do it?

There have been recent questions about the vacuum. In my simplified knowledge the vacuum is like a ground state energy level, and also that there might even exist other lower energy levels than the vacuum we find ourselves in. The sea is a soup of created and annihilated pairs of virtual particles with virtual energies and momenta. In a normal sea on earth, which also represents a ground state of water, energy can be taken out of random waves by the clever construction of valves that allow only one way motion of water. Is it conceivable that a  gadget of similar function could be found for the vacuum sea, or is it forbidden by conservation laws? My intuition tells me that it might be possible if GR is taken into account, but my physics knowledge does not stretch to support this. Edit : An explanation of why I am asking this question: Let me expand on the example of the sea. The energy from the waves comes from either tides, i.e. gravitational forces, or wind (temperature differentials). If these were missing the oceans would be like glass representing a unique ground state of the gravitational well of the earth. In an analogy, a gravitational wave going through the vacuum  would be supplying energy to the vacuum sea. I have been thinking of this analogy ever since cold fusion surfaced and refuses to die out, the most  too. Approached from nuclear physics orders of magnitude the claims seem preposterous. There are people though who believe they have  results of extra energy over input energy, much more than chemical reactions could supply. This set me thinking on vacuum energy and the analogy with getting energy from the sea. A crystal is a prime candidate for any exploration of such concepts and in all cold fusion "successful" results crystals have been used. Now if the effect depended on the vacuum and how much distorted it was by a passage of a gravitational wave at the time of the experiment, or the exact orientation of the crystal, or the type of impurities in the crystal ( F centers etc) one would expect to get haphazard results, and non repeatable by other experimenters. Of course this would be the first experimental evidence of gravitational waves :). Edit 20/7/12 Maybe I should clarify that an acceptable answer in the negative would be one based on conservation laws. I believe that data trumps theory, and next in line are conservation laws,because they are the distillation of an enormous amount of data. Some people seem to think that theoretical definitions can substitute for proof in physics, but physical theories change, solid data do not, and this is physics, not axiomatic mathematics.


I create and keep the following automated backup files e.g.:   fruits_29-12-2013.gz fruits_30-12-2013.gz fruits_31-12-2013.gz sweets_01-12-2013.gz sweets_02-12-2013.gz sweets_03-12-2013.gz   .. actually many of them in the same folder.  (But then it's a problem to house keeping them manually but I still have to. Because after a month, all are taken up the disk space. So I need to clean up the latest files, accordingly.)  How to automatically DELETE the OLDEST file with name starts with fruits?  (Then I'll put that script/command in the daily crons.)

Is there a command to delete all the files in a directory that haven't been modified in N days?  I need to clean up some old logs.


The Monk's  feature states:     Starting at 13th level, you learn to touch the ki of other minds so that you understand all spoken languages. Moreover, any creature that can understand a language can understand what you say.   "Touching the ki" clearly does not require the Monk to physically touch a target. Is "touching the ki of other minds" something the monk does or is it more of a state of being and they are constantly touching all minds? Is "touching the ki" an active, conscious action, or a passive effect that happens all the time?

The description of the monk's  feature states:     Starting at 13th level, you learn to touch the ki of other minds so   that you understand all spoken languages. Moreover, any creature that   can understand a language can understand what you say.   While the ability is useful in social situations, it can occasionally be detrimental. For example, communicating tactics in Common while fighting Duergar (who only speak Dwarvish and Undercommon) is a situation where the Monk would prefer not to be understood.  Is a Monk capable of "turning off" the Tongue of the Sun and Moon class feature?


I find myself quite often in a situation where I edit a question or an answer and I would like to also leave a comment explaining reasons behind my edit so that a user can also understand and maybe don't do the same mistake again. Also 9 of 10 situations are similar, if not the same, like those I already went through in the past.   removing a tag from a title removing an IDE tag from tags where it's not relevant to the question formatting code posted as a plain text ...   I would like to have there a picker with standard and custom comments so that I edit a post, select a comment if needed and it would post the comment below the post on save.  I know that many people do these tasks every day and do not leave an explaining comment, I don't do it myself when accessing SO via phone, for example. I believe that this feature would help to spread some basic rules among new users as they tend to not read them directly.

I realized that, 90% of the time, whenever I edit another person's post, my editing summary looks like this:  Improved formatting, spelling mistakes, grammar mistakes, indentation, removed the bloody xcode tag.  I'm pretty sure that I've written the same thing a million times, I was thinking that maybe we could introduce a check-boxed editing questionnaire at the end, instead of the editing summary. Mockup  (Link to the ) The mockup swaps the Summary text input with a series of checkboxes, each checkbox representing a category of change, and having their own custom tooltip detailing what/which changes fall under the category. The "Save Edits" box would need at least one check box to be marked. The "Other" text box auto-marks the checkbox to its left, so the older editing flow is supported. Advantages  Convenience Being able to track individual changes easier, for instance, a user could be black-listed for spelling, but at least he gets the format right. Easier for new users to get accustomed to how the editing works, and what they are expected to do, like "Can I change the grammar? Oh, there's a box about it, then I can". And users are genuinely asked if they have changed all that they can change with this system. You get accounted for what you've changed.  Suggested Categories  Grammar: The text has been moved around, punctuation was changed, or other changes that don't modify words but the way they are delivered. Spelling: Individual words were modified. Text format: Stylistic changes were made to improve readability. Things like bold, italics, links or code blocks were added or removed. Or removed a link and pasted the contents it held. Code format: Indentation, spacing or comments were modified to ensure that the code is readable. Tags: Gets automatically marked if there are differences between the tags, the user cannot manually check or uncheck this box, this is as a feedback that the tags were changed, in case he forgot. Other: None of the above cut it? Have a text box that can be clicked (checkbox gets marked when doing so) and write away.  Possible Side-Features  Auto-check boxes depending of the nature of the change, if it's mostly whitespace, then add the code format tag, if there's minor changes in a lot of words, then might be spelling. New users could be asked to fill two or more checkboxes of changes, as part of their learning. "Translation". Mark a checkbox with a drop-down, and marking that the text has been translated from another language, so that users proficient in that language can verify the correctness of the translation in the review queue (or even a custom queue, like "translators queue"). This would be a big feature for SO. Badges for each category, .


While traveling on business to Australia from India, I carried my personal HP laptop (4 years old). Unfortunately, my laptop overheated and I had to buy a new Macbook Pro from Australia. I have the receipt indicating the same.   Later, I traveled to China from Australia; carrying 2 laptops in hand luggage. I got my old laptop repaired and it works like a charm. Now, I want to buy another laptop as a gift for my friend. Can I carry 3 laptops in hand luggage to India?  I've not declared anything on the customs declaration form as the items were not new when I was leaving the country and they are all personal items.   My flight details are - Qingdao -> Beijing -> Mumbai.

I am planning to travel to India (COK airport, Kerala) from United States. I want to take my laptop as well as my tablet (iPad). Am I allowed to take both in my backpack with my documents related my work. I think I am allowed to take only one computer as per the rule. Will the customs consider my iPad as a computer?  What all I can take?   One of my friends took 2 laptops (1 work and 1 personal) and had trouble at the airport.  Also I am planning to take some wristwatches (7 of them, each avg price is 45 $). I read in a website that I can take stuff up to max 35000 INR. Is that true? In that case, how will I manage my stuff?


How many ways are there for 8 people to sit around a circular table if none of Alice, Bob, and Eve (three of the 8 people) want to sit next to each other? Two seatings are considered the same if one is a rotation of the other. I am terrible at these kinds of "sit-uating" problems (haha). My idea is that the three people can be situated in $(3-1)!$ ways and that the rest can be situated in $(5-1)!$ ways. Then, the ordering of the five people depends on the partitions of 5 into 3 groups:  (1,1,3)/(1,3,1)/(3,1,1) (1,2,2)/(2,1,2)/(2,2,1)  So is the answer $2!*4!*6=288$? I am not sure if this is right or now, so any help or solutions would be greatly appreciated.

Find the number of ways to arrange $n$ people in a circle so  that $3$ people are separated. My approach: The number of ways to arrange $n$ people in a circle is $(n - 1)!$. If the $3$ people are together, the number of arrangement is $(n - 3)!$. The $3$ people can rearrange themselves in $3!$ ways, the number of ways for the $3$ people together is $3!(n - 3)!$. Therefore, the number of ways so that none of the $3$ people is seated together is $(n - 1)! - [3!(n - 3)!]$. Is that correct? If not, where did I go wrong? For instance, 4 girls and 3 boys to be arranged in a circle so that none of the boys is together. In this case, we have $(7 - 1)! - [3!(7 - 3)!] = 576$. Any help is appreciated.


I'm a python programer. And I added these two line in my vimrc:  highlight ExtraWhitespace ctermbg=grey guibg=grey match ExtraWhitespace /\s\+$/   which will highlight the redundant spaces at the end of line with grey.  But recently I'm starting to write md docs. It's soft break requires two spaces at the end of line.  Thus my vimrc config makes these md docs less readable in editing stage.  Is there a way that some vimrc config can working selectively only for some kind of file, or be forbiddened when editing a particular kind of file?

Could someone explain to me in simple terms the easiest way to change the indentation behavior of Vim based on the file type? For instance, if I open a Python file it should indent with 2 spaces, but if I open a Powershell script it should use 4 spaces.


I am trying to display all options in my select tag when the user focus on the field or when my page is loaded:  here's my code  <select id='idSelect' autofocus>      <option value='val1'>1</option>      <option value='val2'>2</option>      <option value='val1'>3</option> </select>   I used the "autofocus" attribute but it does not work and then i tried to do in my javascript code like this    document.getElementById('idSelect').autofocus = true;   any help would be appreciated.

Is it possible to use JavaScript to open an HTML select to show its option list?


Idiotic question of the day  On Ubuntu 12.04 server console, I've run an apt-get update followed by an apt-get upgrade  Everything was going swimmingly; when it got to MySQL, it warned me it was about to overwrite the my.conf file which I had changed.  One of the options offered was to show the differences between the two files. All well and good and now I remember why I changed it and will do the same again to the new one.  But I can't figure out how to exit the display of the differences and carry on. I believe I've tried every possible key combination, and only succeeded in suspending the apt-get job. When I fg, it comes back and pressing return redisplays the annoing end tag of the difference display:  (END)   Please help while I still have some hair left

I use autocomplete a lot in the terminal, like for example for cp command. But sometimes, when I am putting in the directory for the cp command and I press Tab, the list of files is so long that Ubuntu spits out part of the list and then waits for key input before sequentially listing the rest of the files, one by one. This feature is near useless because you never know how many files are left, and almost always end up with an error.   Is there some way to leave this list and go back to my cp command, or do I have to press Ctrl+C and start typing in my cp command again?


In typesetting the following in a,  \sqrt[n]{a \cdot b} = \sqrt[n]{a} \cdot \sqrt[n]{b}   … the second radical is being typeset higher than the first:    Why? And how can I fix it?     MWE:  \documentclass[12pt]{article}  \begin{document}  \begin{displaymath} \sqrt[n]{a \cdot b} = \sqrt[n]{a} \cdot \sqrt[n]{b} \end{displaymath}  \end{document}

This part C\frac{1}{\sqrt{G}}\sqrt{\rho} doesn't seem to be on the same height as this part \sqrt{b}\sqrt{l} when compiled. What am I doing wrong?  \begin{flalign*} T=C\frac{1}{\sqrt{G}}\sqrt{\rho}\sqrt{b}\sqrt{l} && \end{flalign*}


I need a list with all models (class_names) which have the pattern "Cube" at the end.  example:   all my models: ModelFoo, ModelBar, ModelBarCube, Mode2BarCube  what I need:  ['ModelBarCube', 'Mode2BarCube']

Is there a way that you can get a collection of all of the Models in your Rails app?  Basically, can I do the likes of: -  Models.each do |model|   puts model.class.name end


I am studying the command  in the post about How to compile and install Qt, qwt and overclock the RPI  sudo mount -o loop,offset=62914560 <date>-wheezy-raspbian.img /mnt/rasp-pi-rootfs   I do fdisk 2016-02-26-raspbian-jessie.img and I get  Disk: 2016-02-26-raspbian-jessie.img    geometry: 976/128/63 [7870464 sectors]   Signature: 0xAA55        Starting       Ending    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]   ------------------------------------------------------------------------    1: 0C    0 130   3 -    8  40  32 [      8192 -     122880] Win95 FAT32L    2: 83    8  40  33 -  489 232  63 [    131072 -    7739392] Linux files*    3: 00    0   0   0 -    0   0   0 [         0 -          0] unused          4: 00    0   0   0 -    0   0   0 [         0 -          0] unused            Why is offset specific in mount?

While Trying to mount a disk image in Raw(dd) format using the following command  mount  nps-2010-emails.dd /media/manu/   I get the following error message   mount: you must specify the filesystem type   I know that using -t we can specify the file system but what is the terminology for  a RAW (dd) file, which can pe passed as an argument to the mount command. If my method to mount this file system is wrong please help me out in doing the same.  On typing the command file -s nps-2010-emails.dd  The output is as follows:  nps-2010-emails.dd: x86 boot sector; partition 1: ID=0xb, starthead 254, startsector 1, 20479 sectors, extended partition table (last)\011, code offset 0x0


Sample table:    Hi, can someone pl. help how do I get the least date and corresponding name from the table above? I should get only 3 rows, with first one as Ram and second one as def and third one as def.    Thanks

Table:   UserId, Value, Date.   I want to get the UserId, Value for the max(Date) for each UserId. That is, the Value for each UserId that has the latest date. Is there a way to do this simply in SQL? (Preferably Oracle)  Update: Apologies for any ambiguity: I need to get ALL the UserIds. But for each UserId, only that row where that user has the latest date.


$7^{-1} \bmod   120 = 103$  I would like to know how $7^{-1}  \bmod  120$ results in $103$.

I need to find out the modular inverse of 5(mod 11), I know the answer is 9 and got the following so far and don't understand how to than get the answer. I know how to get the answer for a larger one such as 27(mod 392) but am stuck because they are both low numbers.  11=5 (2)+1  5=1 (5)


I have  setup on my page, this works fine if the head + content + foot fits the screen height. But when the content grows, it will grow under the foot, instead of pushing the foot to the bottom of the page.   How can I fix this?
     Head

     Content

     Foot

I have a simple 2-column layout with a footer that clears both the right and left div in my markup.  My problem is that I can't get the footer to stay at the bottom of the page in all browsers.  It works if the content pushes the footer down, but that's not always the case.


I come from a UNIX background so I'm used to being able to do things like this in GNU/Make: SRC=$(wildcard src/*.c) OBJ=$(SRC:.c=.o)  all: $(OBJ)     ...  I'm wondering if something roughly equivalent to be accomplished in Microsoft NMAKE. I've got the following simple NMAKE Makefile: all: obj\a.obj obj\b.obj obj\c.obj   {src\}.c{obj\}.obj:     cl /c $** /Fo$@  This works fine. It takes all the source files from src/, and compiles them to their equivalents in obj/. However, I'd like to condense the default target down to a wildcard like obj/*.obj so that I don't have to write out all the object files manually. Is this possible in NMAKE? I've checked through the NMAKE documentation pretty thoroughly and it doesn't seem to describe anything like what I want to do. UPDATE: I managed to get the effect I wanted using the accepted solution to  as reference, and using the following Makefile: .SUFFIXES: .c .obj  obj_files=$(**:.c=.obj) all: src\*.c     @$(MAKE) $(obj_files:src=obj)  {src\}.c{obj\}.obj:     cl /c $< /Fo$@  This works using the obj\ subfolder as the output directory. The $** macro is expended within the all target.

I am attempting to set up an nmake makefile to export our balsamiq mockup files to png files automatically, but I'm afraid I can't make heads nor tails of how to make a generic rule for doing so, without explicitly listing all the files I want exported.  details the command line syntax for exporting the files, and  contains an example which looks like it contains a generic rule for .obj files to .exe files. The makefile I have tried so far looks like this: .bmml.png:     "C:\Program Files\Balsamiq Mockups\Balsamiq Mockups.exe" export $< $@  But this doesn't work. If I simply run nmake (with some outdated png files), nmake just does this: [C:\Temp] :nmake  Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation.  All rights reserved.   [C:\Temp] :  If I ask it to build one specific file, it does this: [C:\Temp] :nmake "TestFile.png"  Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation.  All rights reserved.  NMAKE : fatal error U1073: don't know how to make '"TestFile.png"' Stop.  [C:\Temp] :  Any nmake gurus out there that can set me straight? An example makefile which simply makes .dat files from .txt files by copying them, to experiment with, looks like this: .txt.dat:     copy $< $@  this does nothing as well, so clearly I'm not understanding how such generic rules work. Do I need to specify a goal above that somehow lists the files I want?


Here is a quote: "x Consulting Group provides senior consultants to evaluate, architect and design stable and effective solutions and networks".  What more is it that the consultants are doing that is not already captured by evaluating and designing?

I hear the word architect used as a verb in the technical field and now more often in other industries and groups, for example:     We need to architect a better solution to the problem.   I am interested if this is considered acceptable usage, as I see this word being used more in published technical documents (not necessarily books, but corporate publications).  I can see how a conductor can conduct, a typist can type, but can a scientist "science"?  A scientist might research, analyze, and so forth, as an architect might design, create, build, etc.  Merriam-Webster , however, I have been told that other dictionaries exist that define architect as both a noun and a verb — is there a credible reference or source that authoritatively answers this question?


Question : Prove on the circle $z=Re^{i\theta},|e^{iz}|=e^{-R\,\sin{\theta}}$  My work :  $\begin{aligned} |e^{iz}|,\quad R=1,\quad \theta=z\\ |e^{iz}|=\sqrt{\cos^2{z} +\sin^2{z}}=1 \end{aligned} $  What now? Please give me a help...

Problem :   If $z =re^{i\theta}$, then prove that $|e^{iz} | =e^{-r\sin\theta}$   My working :   $z = re^{i\theta} = r(\cos\theta + i\sin\theta)$   $\Rightarrow iz = ir(\cos\theta +\sin\theta) $ = $-r\sin\theta +ir\cos\theta $  $\Rightarrow e^{iz} =e^{(-r\sin\theta +ir\cos\theta)} = e^{-\sin\theta} e^{ir\cos\theta} $   $\Rightarrow |e^{iz}| = |e^{-r\sin\theta}||e^{ri\cos\theta}|$   Now please guide how to proceed further to get the result... thanks.


How do I change the RDP port number of Windows 2012 R2 server running in Amazon AWS? I could change the port number by going here:  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber   but then could not RDP into server even after changing the inbound rules of security group.

I have one Linksys WRT54GL router running Tomato firmware. Connected to it via ethernet are two computers with Static IP addresses.  The first computer is using the default RDP port 3389. I set up port-forwarding on TCP to that computer's static IP.   On the second computer I changed the RDP port to 3398 at:  HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp   Then I set up port-forwarding on TCP once again to that computer's static IP.  Both computers have Remote Connections enabled from Any version of Remote Desktop Client.  From both the same network and an external network I tested remote connections to both computers: Only the first computer connects, the second won't.   I had previously got this working with the same router, and for awhile I had switched to a new N router (Dlink DIR-655) before recently switching back to the Linksys. Since switching back (with no configuration changes) something is going wrong and I can't quite figure out what it is.  Additional things tried:     Running ipconfig /release /renew on both computers after switching back to the original router (WRT54GL) to obtain the proper local IP. Clearing arp tables of old N router's IP addresses on both computers, which were set statically to 192.168.0., whereas the WRT54GL is 192.168.1..    Update: I'm also connecting using ip+port (192.168.1.145:3398)


I have two identical Dell E5580 laptops running Xenial.    I'm trying to pass data from one to another in an efficient way.    Both are on the same wireless subnet, but I figure a cross-over cable would be faster.    However, I've not been able to establish any communication using either the wifi network or the cross-over cable.   I've tried pinging one computer from another, ssh'ing and scp'ing but cannot make any kind of contact by any of these means between the two computers.    It makes no difference whether they are connected by cross-over cable or not.      Could somebody please suggest what I might try?   Thanks  As per @Buck_Crockett's request I'm reporting what happens when I ping one machine from another.    The first machine's IP is 192.168.1.210, the second's is 192.168.1.211.  When I ping the second from the first, I see:  PING 192.168.1.210 (192.168.1.210) 56(84) bytes of data   but nothing more.     When I ping the first from the second I see   PING 192.168.1.211 (192.168.1.211) 56(84) bytes of data   but nothing more.

I have an ethernet cable (not a crossover cable) to connect my laptop and my desktop ubuntu machines. I want to transfer large amounts of data. Is it possible with such a cable? I believe that between two Windows machines such a connection is possible (though I'm not totally sure).


When I run sudo apt-get install update && sudo apt-get install upgrade, I am getting these errors:  E: Unable to locate package update E: Unable to locate package upgrade  When I try to run sudo apt-get update && sudo apt-get upgrade, it looks it works but it still giving that kinda error :   Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://downloads.mariadb.com/MariaDB/mariadb-10.4/repo/ubuntu bionic InRelease' doesn't support architecture 'i386' E: The repository 'http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://downloads.mariadb.com/Tools/ubuntu bionic InRelease' doesn't support architecture 'i386'

Getting below error message while issuing :  sudo apt-get update  Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB] Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease                                                                                Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease                                                                                Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release                                                                             Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease                                                   Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease                                                      Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                    Ign:9 http://linux.dropbox.com/ubuntu wily InRelease                                            Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease                               Get:12 http://dl.google.com/linux/chrome/deb stable Release [782 B]       Hit:13 http://dl.google.com/linux/talkplugin/deb stable Release                   Ign:14 https://apt.dockerproject.org/repo ubuntu-wily InRelease           Hit:15 https://apt.dockerproject.org/repo ubuntu-wily Release             Get:16 http://dl.google.com/linux/chrome/deb stable Release.gpg [181 B]   Hit:17 http://linux.dropbox.com/ubuntu wily Release                                   Get:20 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,191 B] Fetched 98.0 kB in 0s (118 kB/s)                                  Reading package lists... Done N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'   This cuts across various releases of ubuntu


Academic question:  If I run out of turn attempting to achieve an infinity focus (close, but no cigar) would I:   Move the lens away from the sensor? OR Move the lens closer to the sensor?

I recently bought VIVITAR 100-300mm F5.6-6.7 macro zoom. I use it with Nikon D70S. Here is my problem. When distance between my D70S with VIVITAR and object of photography is 15meters and more, I can not focus on this object of photography. I am in manual mode and in manual focus. Focus is set on infinity - everything less than infinity is more, out of focus. I attach photo of roof, 31meters away from D70S (1/40s, f14, 300mm).  Do you know, what it is going on?  Thank you for answer.


I am using Kubuntu's final beta for 14.04 and was wondering if I will have to install 14.04 stable (when released) or will there be a simple upgrade, or maybe just a dist-upgrade?

I installed an Ubuntu alpha or beta and have been keeping it up to date.   So, Should I presume that my system has automatically updated to the next alpha or beta, and will be running the official release when it's finished?


As a fairly new DBA, I have a question for the experts out there.  We have a database transaction log file that grew to a whopping 425 GB because no transaction log backups were taking place (the db backup plan is set to full recovery mode.)  I have since remedied the problem, and the t-logs are being backed up regularly now.  The backups are all coming in at around 6.5 GB, but the original log file is still 425 GB.  Obviously, we need to shrink the size of the original file.  I have read a lot of comments about how shrinking the file could cause performance problems, so before I shrink it, I wanted to ask if there are any hidden repercussions I need to be aware of.  Any advice would be greatly appreciated.

I'm not a SQL expert, and I'm reminded of the fact every time I need to do something beyond the basics. I have a test database that is not large in size, but the transaction log definitely is. How do I clear out the transaction log?