How to use custom background picture in Ubuntu 13.10?

Since I upgraded to Ubuntu 13.10 I can't find a way to chose a custom picture as desktop background. I tried System settings -> Background, but this menu does not provide any file picker to choose a picture but shows only the preinstalled pictures:    Or an empty window:    I can't find the options to set how the picture ought to be displayed either (like stretch or scale)  Do I have to install Cinnamon desktop just to be able to change my background picture? How can I do it with Ubuntu?


How do I stop my first person character going through walls?

As per my code:  using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UIElements; using Cursor = UnityEngine.Cursor;  public class FirstPersonController : MonoBehaviour {     public float speed = 5;     public float jumpPower = 4;      Rigidbody rb;     CapsuleCollider col;       private GameObject player;     private float minClamp = -45;     private float maxClamp = 45;     [HideInInspector]     public Vector2 rotation;     private Vector2 currentLookRot;     private Vector2 rotationV = new Vector2(0,0);     public float lookSensitivity = 2;     public float lookSmoothDamp = 0.1f;     public Camera cam;     public GameObject crossHair;     bool isActive;      // Start is called before the first frame update     void Start()     {         Cursor.visible = false;         Cursor.lockState = CursorLockMode.Locked;          rb = GetComponent<Rigidbody>();         col = GetComponent<CapsuleCollider>();         player = transform.gameObject;         crossHair = GameObject.FindWithTag("CrossHair");       }         // Update is called once per frame         void Update()     {         float Horizontal = Input.GetAxis("Horizontal") * speed;         float Vertical = Input.GetAxis("Vertical") * speed;         Horizontal *= Time.fixedDeltaTime;         Vertical *= Time.fixedDeltaTime;         transform.Translate(Horizontal, 0, Vertical);             if (isGrounded() && Input.GetButtonDown("Jump"))          {             rb.AddForce(Vector3.up * jumpPower, ForceMode.Impulse);         }          if (Input.GetKeyDown("escape"))         {             Cursor.lockState = CursorLockMode.None;         }          if (Input.GetButtonDown("Sprint"))         {             speed = 15;             //Debug.Log("Sprint Button Held Down");         }          if (Input.GetButtonUp("Sprint"))         {             speed = 5;             //Debug.Log("Sprint Button Let Go");         }          if (Input.GetKeyDown(KeyCode.H))         {             isActive = !isActive;         }          if (isActive)         {             crossHair.SetActive(true);         }         else         {             crossHair.SetActive(false);         }            rotation.y += Input.GetAxis("Mouse Y") * lookSensitivity;         rotation.y = Mathf.Clamp(rotation.y, minClamp, maxClamp);         player.transform.RotateAround(transform.position, Vector3.up, Input.GetAxis("Mouse X") * lookSensitivity);         currentLookRot.y = Mathf.SmoothDamp(currentLookRot.y, rotation.y, ref rotationV.y, lookSmoothDamp);         cam.transform.localEulerAngles = new Vector3(-currentLookRot.y, 0, 0);     }      private bool isGrounded()     {         return Physics.Raycast(transform.position, Vector3.down, col.bounds.extents.y + 0.1f);     }    }   I can't figure out what I am doing wrong in my code, I tried to write a first person controller from scratch.  The full project can be downloaded from:   My player goes through any wall or object easily despite it having colliders on the objects and a rigidbody and collider on the player.  I have gone through my code line by line and I cannot work out what is wrong? If someone could please advise me what to change or add to my code to fix this, or / and explain the concept, presumably physics related, as to why this is going wrong please?


I was using setInterval() and I came across some strange behavior. To illustrate this better, I made a function that simply outputs a value passed to it and increases it by one. function increase(i){     console.log(i++); }  However, when I try to use this function inside of setInterval(), it fails to update the variable i. let i = 0; setInterval(increase, 1000, i);  When I run that, I simply get 0 printed out every second. However, if I modify the increase function to not take in any arguments, I get the correct output function increase(){     console.log(i++); }  Using this version of the function, I get an output of 0, 1, 2, 3... Does anyone have any idea of why that is? I imagine it has to do with the scope of the function, but I'm really not sure what's going on. Is there a way that I can have a function inside of setInterval that takes in an argument and changes it? Or do I simply have to change my function to not receive any arguments and set it to change a variable in the global scope?


Probability of 4 consecutive heads in 10 coin tosses

I am trying to compute the probability of having 4 (or more) consecutive heads in 10 coin tosses.   I tried using recursion but it led to a complicated expression so i think i did not quite manage.   I saw similar questions asked here that were solved with difficult approaches, but this problem looks like it could be solved in a couple of lines so I must be doing something wrong.  If anyone could help me understand it or propose a different approach for solving the problem i would be very grateful.  Have a nice day!


Is it possible for a planet to be made entirely of water (even it's core)?

I was thinking about this today...  Is it possible for a planet to be made almost entirely of water (H20)?  I'm sure that other elements would be in the mix, but I mean almost entirely made of water.  Even the core.  No rocky interior covered by water.  If so, what would the core be like?  I imagine the pressure would create something different than liquid water.


How to tell search engines to not index entire image domain without making them waste server bandwidth or making google complain

From what I learned, there's one way I could cause all URLs on a domain strictly serving images not to be indexed and that is with the x-robots-tag HTTP header. Now I check my logs and find out that google and even baidu are downloading the entire contents of the image URLs. I was hoping they'd stop downloading when they came across this line:  X-Robots-Tag: noindex, noimageindex   Either I formatted that line wrong (used wrong casing or wrong order of values or something), or search engines are just plain dumb and they just decide to download everything just to waste customer's money.  I looked into robots.txt and thought of using the noindex line but when I did, google complained about having no access to what they call an "important url" when it isn't important.  I don't want to block their IP's because I have text-based content on another domain running on the same server that I want them to index.  I'm tempted to offer search engines the equivalent of what users get if they requested the URL via the HEAD method (full headers but no actual content), but I might get penalized for content cloaking.   Is there something I can do to rectify this?


Can we insert or update FieldSets using apex code?

Although we can create or update fieldsets using salesforce UI but Is there any way to insert or update FieldSets using apex code (using metadata or API calls) ?


How do I shut down Ubuntu after it blanks the screen?

My Ubuntu 16.04 installation always becomes unresponsive after it blanks the screen (Standby is turned off.) I tried the power button and Enter; no luck. How can I shut it down without risk of damage to the system? Thanks.


I'm trying to display just the top two rows in Oracle, however I've not been able to come across anything that works.  I currently have   SELECT BRANCH.BRANCHID, BRANCHNAME, AVG(SESSIONPRICE) FROM BRANCH, SESSIONS WHERE SESSIONS.BRANCHID = BRANCH.BRANCHID GROUP BY BRANCHNAME, BRANCH.BRANCHID ORDER BY AVG(SESSIONPRICE) DESC   Which returns this  B2      A     18.67 B4      B     17.57 B3      C     15.44 B1      D     13.99   However, I only want the top two rows of this table.  How on earth do I do this?


I'm trying to do some filtering for some posts in WP_Query, but I can't seem to get the right condition. Basically what I wanna do, is get posts that have the custom field event_data (sorted by this field) and among those posts to select only those who have one of these other fields filled in event_doc1, event_doc2, event_doc3, main_doc.    The code is below.  $metaCondition = array(             'relation' => 'OR',             array(                 'key' => 'main_doc',                 'value' => 0,                 'compare' => '!=',                 'type' => 'NUMBER'             ),             array(                 'key' => 'event_doc1',                 'value' => 0,                 'compare' => '!=',                 'type' => 'NUMBER'             ),             array(                 'key' => 'event_doc2',                 'value' => 0,                 'compare' => '!=',                 'type' => 'NUMBER'             ),             array(                 'key' => 'event_doc3',                 'value' => 0,                 'compare' => '!=',                 'type' => 'NUMBER'             )         );          $query = array(             'numberposts' => 4,              'orderby' => 'meta_value',             'meta_key' => 'event_data',              'order' => 'ASC',              'meta_query' => $metaCondition         );   Thanks in advance to everone!


How can I reference the current directory of a script when sourcing it?

I have a script that I call via . ./env/setenv.sh. In this script, I'm calling a python script that's also located in ./env/.   My current directory is along the lines of ~/dev/project/ and I'm calling into ~/dev/project/env via . ./env/setenv.sh  My attempts (${dirname $0}) to reference the location of setenv.sh from within itself hasn't been successful, because my current working directory is considered /bin rather than ~/dev/project/env/ (I assume due to me sourcing it with .)  What other options do I have for referencing the current working directory of the setenv.sh script, so that it can call my .py script from within the same directory?  e.g.,  WORKING_DIR=$(dirname "$0") echo $WORKING_DIR export VAR=$(python $WORKING_DIR/script.py)"   When called via . ./env/setenv.sh prints: /bin, and can't locate script.py


I have a Building class with a rooms property of type List:  private List<Room> rooms;   I wrote the following method to add an room to the list:  public void addRoom(Room room) {         this.rooms.add(room);     }   This code is not raising an exception immediately, but the room is not added to list. Also, the method is called in an iteration, after returning from addRoom method to this iteration, the next iterations are skipped and then an NullPointerException is raised.  I'm creating Room objects from a file. Here's how I call the method:  Room newRoom = new Room(); newRoom.setName(meetingRoom[0]); newRoom.setCode(meetingRoom[1]); few more setters ... home.addRoom(newRoom);   home is an instance of Building found by another method earlier, its value is ok according to the debugger.


Can someone tell me what font they used to typeset the following equations? (Math font)  Thanks!


Is equation of continuity valid, while dealing with vertical pipes?

Let try an experiment. If water enter through an end $A$ with some velocity say $v_1$,and leaving end $B$ with speed $v_2$ in a UNIFORM cylindrical tube $AB$ (which is completely filled with water). If we consider 3 cases.  tube is horizontal tube is vertical with $A$ upward tube is vertical with $B$ upward  And we go through the experiment and we got our results, which is $v_1~=~v_2$ So for which case this is valid to? Edit Due to lack of logical answers If we consider Bernoulli's equation $$P+\rho gh+\frac{1}{2}\rho v^2= \text{Constant}$$ So in the case of vertical pipe, we consider two points $A$ and $B$ and now applying Bernoulli's equation here as follows. Let's assume $A$ to be upward, and take $B$ as reference level and applying Bernoulli's equation. $$P_a+\rho gh+\frac{1}{2}\rho v_1^2 = P_b+\frac{1}{2}\rho v_2^2$$ If both are exposed to the atmosphere, then $P_a = P_b = $P_{\text{atm}}$ Then we get $$\rho gh = \frac{1}{2}\rho(v_2^2 - v_1^2)$$  which implies that $2gh +v_1^2 = v_2^2$ So, finally this will prove that $v_1$ never equal to $v_2$ in vertical pipe, but if we consider equation of continuity then mass going in is same as mass coming out so according to equation of continuity $$\Delta m = \rho A_1 v_1\Delta t = \rho A_2 v_2 \Delta t$$ which implies $A_1 v_1 = A_2 v_2$, and in our case $A_1 = A_2$ then according to equation of continuity $v_1 = v_2$. Thus, according to continuity $v_1 = v_2$ in vertical pipe case and according to Bernoulli's equation $v_1$ never equal to $v_2$. How can this be possible? Please guys help me out. Please go through the question and then answer it?


How to use eval() safely in JavaScript for education app?

I'm aware similar questions have been asked before, but my use-case is a little different.  I'd like to create an educational app similar to LeetCode, CodeWars, etc. where users can type in their own functions to solve algorithms.  Right now, I'm focusing on JavaScript, so the code could be evaluated on client-side.  I want to know, what considerations should I take into account to use eval() and new Function() safely?   Or is there a better alternative?


Meaning of syntax $N(\mathbf{y} \mid \mathbf{0}, \mathbf{K})$ (multivariate normal distribution)

So I'm reading notes on Gaussian Processses, and came across  syntax $p(\mathbf{y} \mid \text{stuff}) = N(\mathbf{y} \mid \mathbf{0}, \mathbf{K})$ for multivariate normal distribution, and I'm not exactly sure how to decipher it the $\mathbf{y} | $ bit. I suppose it doesn't mean "mean $\mathbf{y}$ is conditional on zero vector", because I don't think that makes sense. Assuming this is standard notation for something and I'm just unfamiliar with it, what it means? E.g. how it differs from $N(\mathbf{0}, \mathbf{K})$?


Can't connect Canon 6D to my computer via USB cable

I can't download photos from my new Canon 6D via the USB cable. Cable is connected, but no new drive is detected in the system. Looks like Windows doesn't see a new device at all. How do I troubleshoot this problem?


Why is Gaussian distribution used for Maximum Likelihood estimation with Linear Regression and not some other distribution? I know that using Gaussian distribution for the target y yields Maximum Likelihood giving Mean Square Error as the loss function to be minimized. But, why use Gaussian distribution and not other distribution and try to maximize its likelihood?


USB Ports not recognized on Windows 10 (code 10)

since a week, i have a problem on my pc, the usb ports are not being recognized.  I've tried a lot of things (update drivers, uninstall the peripheral in the peripherals manager...) but none of them worked.  When looking in the peripherals manager, the "Controleur d'hôte compatible xHCI" (USB xHCI Compliant Host Controller) displays a , and when clicking on it, it shows this:    Translated :     This peripheral can't start   {Operation failed}   The requested operation could not be completed   Also, the peripheral name has changed. The first time i tried to update the driver, it was "Intel® USB 3.0 eXtensible Host Controller" and now it is "Contrôleur d'hôte compatible xHCI USB" (USB xHCI Compliant Host Controller).  You can check my pc specs  and .


opengl offscreen rendering in linux is slow

My opengl application runs at about 110 fps. The moment I add off-screen rendering, it slows down to 15 fps. I am using frame buffer objects and glReadPixels to render off-screen. I have searched on net and found that GPU memory to CPU memory data transfer is slow and vice versa is fast. I have ATI Mobility Radeon™ X2300 with 128MB video memory. So my questions are 1) Is there is way to increase VRAM to CPU ram data transfer speed? 2) Are there any GPUs in market optimized for better read speed?


'global name @wraps is not defined' error in flask

I have a flask app, where i have implemented a snippet, to check if a user is logged in, in order to acces certain webpages on my application.  My method looks like this:  #check if session is avaliable to access hidden pages for non users def is_logged_in(f):     @wraps(f)     def wrap(*args, **kwargs):         if 'logged_in' in session:             return f(*args, **kwargs)         else:             flash('Please Login ', 'danger')             return redirect(url_for('login'))     return wrap   Here I check if the session has a logged_in attribute attached the the session.  However, I get an error saying global name @wraps is not defined, but I have no idea as to why?


Optimizing $x^2+y^2$ from two given equations?

What is the maximum value of $x^2+y^2$, where $(x,y)$ are solutions to:  $$2x^2+5xy+3y^2=2$$ and   $$6x^2+8xy+4y^2=3$$  Note: Calculus is not allowed. I tried everything I could but whenever I got for example or $x^2+y^2=f(y)$ or $f(x)$ the function $f$ would always be a concave up parabola, so I could not find a maximum for either variable. And by the way I know that you can solve for $x$ and $y$ using the quadratic formula and get $4$ different solutions but I am looking for less messy way. I've asked this question , but I didn't get the nice answer I wanted. Thanks.  This question came from a math competition from the Math Honor Society, Mu Alpha Theta.


Multiple integral $\idotsint_V dx_1 \, dx_2 \cdots dx_k$ where $\sum x_i \leq 1$

How to calculate the following integral: $$I = \idotsint_V dx_1 \, dx_2 \cdots dx_k$$ where $$V = \big\langle 0\leq x_1 \leq 1, \space 0\leq x_2 \leq 1-x_1, \space \ldots, \space 0\leq x_k \leq 1-x_1-x_2-\cdots-x_{k-1} \big\rangle$$ I'm pretty sure that this is a well-known integral, and it is equal to $\dfrac{1}{k!}$, but can't prove it.


How can I prevent my Wi-Fi connection from glitching?

Occassionally my Wi-Fi goes into this weird state where the phone "thinks" I'm connected, but the connection simply doesn't work.  Apps still seem to think I have connectivity, though they can't actually connect to anything, and the status bar still shows that I'm connected to Wi-Fi.  Turning Wi-Fi off and back on resolves the issue, and this occurs on multiple networks.  It seems sort of like whatever service manages the Wi-Fi connection gets killed occasionally.  It usually happens when I've been playing a game (that doesn't access the Internet) for a while or if my phone's been sitting for a while; it never happens while I'm actively using the connection.  I have my Wi-Fi timeout set to "Never" and the normal timeout isn't the issue since my phone regularly lasts several hours without the Wi-Fi dying.  Sometimes it dies a couple times in a day, and recently I went a week or so without it happening.  How can I fix this or prevent the service from being killed (if that's indeed what's happening)?  Shouldn't that be a system process that never gets killed?  (Does Android ever kill system processes other than when they crash?)  Could it be related to TouchWiz?  I have an SGS Vibrant running 2.2 (Bionix NextGen v1, but this has occurred on multiple ROMs).


How to find out all time best ranking in SO

Not sure if this is a duplicate question, How do I find out my all time best ranking? Since ranking move up and down, Is there a way to find out my all time best rank? In case we do not have it, I suggest we take this as a request proposal and provide this feature for the users.


Simplest way to integrate this expression : $\int_{-\infty}^{+\infty} e^{-x^2/2} dx$

I'm toying around with statistics and calculus for a project of mine and I'm trying to find the simplest/fastest way to integrate this formula :   $$\int_{-\infty}^{+\infty} e^{-x^2/2} dx$$   I do not want to use a table. I'm taking this opportunity to get more practice with my new calculus skills It seems that a Taylor series approx is the only way to go   Best Regards


I'm kind of wondering… why can't there be cached tag scores updated live (e.g. when one of my answers is upvoted), like there are for reputation? I'm not saying that there shouldn't be the script running nightly, but it would be nice to see my scores go up immediately when my posts are upvoted, as opposed to the excruciating wait for 4AM UTC.


How to remove recommended data from Input box in html

I created a chat system using php. For the chat box I used Input text box. wheneve I try to send a message, previous msg that I sent start to show on top of the box. as you can see that previous 2  messages are showing on top of the input box. I don't want this. I have used thia code for input     <input style="padding:4px;" id="msgCont" type="text" placeholder="Message..." class="inputText w95" />  please help me to remove this recommend data.


Can dual booting be done with the minimal CD?

I'm wanting to keep Ubuntu alongside Windows, can you do that is you use the minimal install CD?


I have a word in a text layer in photoshop. I want each character to be on a separate layer, how can I do that?


Which Luke Skywalker lightsaber is in TFA?

Luke lost his first lightsaber, which was also his dad's lightsaber, and then he constructed a new lightsaber. Then in "The Force Awakens" Maz tells Rey that that lightsaber belonged to Luke's father, and then Luke, and now calls to her?   Is it the lost lightsaber from "The Empire Strikes Back",  the new one that Luke made himself, or was it Darth Vader's lightsaber?


How to interpret caret's variable importance and feature selection plots?

I am having some problems understanding the variable importance and feature selection graphs from caret. Here some data:  require(mlbench) require(caret) require(pglm) require(e1071) require(pROC) require(randomForest)  data(Unions) # from the pglm package Unions <- Unions[c("id", "year", "union", "age", "exper", "married", "ethn",                    "disability", "rural", "region", "wage", "sector", "occ")]  Unions$union <- as.factor(Unions$union) # for classification as factor trainIndex   <- createDataPartition(Unions$union, p=.4, list=FALSE, times=1)  UnionsTrain <- Unions[ trainIndex,] UnionsTest  <- Unions[-trainIndex,]  #### Plotting  Variable Importance ###### control  <- trainControl(method="repeatedcv", number=10, repeats=3) LVQmodel <- train(union~., data=UnionsTrain, method="lvq", preProcess="scale",                    trControl=control) LVQimportance <- varImp(LVQmodel, scale=FALSE) plot(LVQimportance)     How can I interpret the following graph? Using that set up, may I say, that feature Wage was in ca. 6 out of 10 cases important to classify a union member?  Perhaps one could provide a more substantial interpretation.  Additionally I have used the graphical feature selection:  #### Plotting  Feature Selection ###### rfecontrol <- rfeControl(functions=rfFuncs, method="cv", repeats=5, verbose=FALSE,                           number=5) results <- rfe(UnionsTrain[,4:13], as.factor(UnionsTrain[,3]), sizes=c(4:13),                 rfeControl=rfecontrol, metric="Accuracy")  ggplot(results, type=c("g","o"), metric="Accuracy") +    scale_x_continuous(breaks=4:13, labels=names(UnionsTrain)[4:13])     Do I have to interpret this graph in subsets? Why does the graph depend on the order of my variables rather on the accuracy of the model?


In a faithfully flat ring extension, is $\operatorname{ht}I=\operatorname{ht}IS$ right?

For Noetherian rings $R$ and $S$, let $R\rightarrow S$ be a faithfully flat ring extension and $I$ an ideal of $R$. Does $\operatorname{ht}I=\operatorname{ht}IS$ hold?    Is it a conclusion in some books on commutative algebra?


How to hide the original confirm in JavaScript onbeforeunload?

I'm creating a game in a web page and I think it will be better, if when the user accidentally click back (in tablet or phone) then will appear a confirm box to stay.  I would like to use an own style confirm box (with more options) instead of the original. Well, now I use onbeforeunload JavaScript Event. Although I can't change the style, I can add more things to do when it happens. So I think if it can be hidden, then it's enough for me :D


Let $S_n=\{(1+\frac{1}{n})^n\}$ and $T_n=\{1+\frac{1}{1!}+\frac{1}{2!}+\cdots+\frac{1}{n!}\}$  I am trying to prove that $\lim_{n\rightarrow \infty} S_n > \lim_{n\rightarrow \infty} T_n$  Now I know that I should use the binomial theorem expansion to compare each term from both sequences.  I know I will get $\sum_{k=0}^n \frac{n!}{(n-k)!k!}\times (\frac{1}{n})^k  $ and the first few terms of the series will be $1+1+\frac{1}{2!}+\frac{1}{3!}+\cdots$  so in my mind this looks identical to $T_n$ but I am assuming there is something that occurs later in the series that will allow me to conclude that the limit of $S_n > $ limit of $T_n$  So If you could in detail show me what that 'something' is and how you conclude that I would greatly appreciate it.


Lost access to my windows 10 partition after Ubuntu update

I have a new laptop where Windows 10 was initially installed on the first of two partitions. Then, the second partition was deleted and reinstalled with Ubuntu 14.04.  When starting the PC, GNU GRUB version 2.02~beta2-9ubuntu.5 offers a couple of options:  Ubuntu Advanced options for Ubuntu Memory test (memtest86+) Memory test (memtest86+, serial console 115200) Windows Recovery Environment (loader) (on /dev/sda1)   Everything was working fine today, until I had Ubuntu install updates. When I tried to reboot later and select the Windows options, it would boot to Ubuntu. I can't access Windows 10 anymore.   How can I recover access to it? I know I have not deleted my windows partition.


Is it possible to prove that $\lim_{x\to 0} {ln(x)x} = 0$ without L'Hospital's rule?

Could somebody give me the answer: Is it possible to prove that $\lim_{x\to 0} {\ln(x)x} = 0$ without L'Hospital's rule?


SF short story ID, written 40s—60s, primitive aliens who are much smarter than us

I'm looking for a story that was probably written somewhere from the 1940s to the 1960s. I think I read it in an anthology, possibly in the 1970s.  A group of human explorers landed on a planet with primitive aliens, living in hunter-gatherer villages. They hoped to make a profit from trading our goods for—well, I'm not clear on what they wanted from the aliens.  The native people learned the human language before the explorers could learn theirs. Then the natives suddenly started producing technological innovations far beyond what they originally used. I remember that wooden sailing ships suddenly replaced their canoes. All the natives had to do was hear a story once from the explorers before copying the technology in the story.  Finally, the explorers realized that the natives were much, much smarter than us and that Earth faced a serious problem.  I'm fairly certain that it wasn't a Heinlein story, but I remember that it had some qualities similar to his work.


trying to find a woodland mansion in creative, but I need help with the Y. When I run /locate, it says at block -9368 (y)? -28920 How do I know where to go if it won't tell me the Y value? Could someone please help with these coordinates -9368 (y?) -28920


How do I install Ubuntu on a separate SSD?

Premiss I have just built my first desktop PC and it has been a lot of fun, but the instant I tried to use Windows for coding I noticed I needed a *nix system. I was on a Macbook before and it worked well for what I needed, now it's time to switch to Linux for the main coding system, I'll not abandon macOS entirely of course, but the aim is to limit its use as much as I can. So keep this in mind, I'm a noob and I'm starting now with Linux :D Where I would like to install Ubuntu on the 3rd SSD, my sistem is  and I have Windows on the NVMe and a 2TB SATA for everything else. I found a 128GB SATA SSD laying around and so decided to use it for Linux and start this adventure! Anyway, I'm making this question to be sure I do everything right since I did not had a great experience while installing Windows, is basically spreaded boot files around in the 2 SSDs randomly even tho I specifically selected the NVMe, fortunately I did notice it fast enough and didn't do much work, I proceeded to disconnect the SATA and install Windows on the NVMe (only one connected). I think Linux is a bit cleaner but I wan to be sure. What I know I downlaoded the ISO for the LTS version on the official website, if it works like Windows I would be able to burn it with Rufus on a 4GB usb stick and just reboot my system to get the prompt to install Ubuntu where I like. I can use the SSD MBR or GPT, since I never really got advantage on one or the other. What did I get wrong and what should I do? Watching video and reading guides, there seems to be a lot of options to do this, and for a noob like me it started to be confusing. Should I just disconnect the other SSDs to be sure and boot the PC only with the USB and the 128GB SSD connected? The SATA is pretty easy to disconnect, a bit more work will be needed for me to disconnect the NVMe tho... Main questions  GPT or MBR? Does it depend on my other SSDs? If so why? Will I have to pollute other SSDs in the process? (2.1) Can I make a clean install on just ONE single SSD? I am confused about the partitioning, how much and why, location, ... I am confused about the boot, why people select Windows Boot if I'm installing Linux on a separate SSD?  What is your advice and which method should I use? Any tip is appreciated! :D Thanks!


Prevent search engines from indexing specific images on a page

A website I'm working on has a team section. Every team member has a dedicated site. On the site's bottom of each team member three other team members are displayed randomly.  What happens here is that search engines index all four images. When I enter the name a specific team member into a search engine I get all four images as results. I want to show only the main image on top. So, how can I prevent search engines from indexing the three images at the bottom?


I'm in a introduction course for ArcGIS and I'm just starting to work on my project. I'm trying to create a map showing the relationship between poverty and education. I also want to try and present other correlations like race, healthcare, access to services, environment.  My question is regarding the  for the Census Bureau. How do I get data for household income for each state? Should I use the FactFinder page? Are there other ways of obtaining this data?


Ordinary kriging with three dimensions in R

I want to interpolate temperature for a surface defined by three coordinates: longitude, latitude and altitude. I know one option is to use universal kriging on two dimensions and use altitude as a regressor. ¿is there a way to perform ordinary kriging on three dimensions with the gstat package in R? ¿what option (3d ordinary kriging or 2d universal kriging) is likely to produce more accurate interpolation results?


I want to share my home folder with my Windows machine, but I have no idea how to share the folder.  I can't find any up-to-date guides on Google, so how can I share my home directory?


Access from included files to environments in AUCtex

When I am writing slides, I usually use one master file and several dependent files; as a macro package I use beamer. I would like to access the environments defined by the beamer package also in the dependent files (which I include through \input) through C-c C-e. I can access them in the master file. By the same token, I would like to access the macros in my macro packages, which I also include through \input. My .emacs file contains the lines  (setq-default TeX-master nil) (setq TeX-parse-self t) (setq TeX-auto-save t)   Any suggestions?


Changing selecting options based on multiple other select options

This is the code I have so far  , it does not work as I cant get the printed html(from javascript) to react to other javascript. What I would like is option 2 to affect which options show up in options 3 and only to show when option 1 is selected.   $(document).ready(function () {     $("#options").change(function () {         var val = $(this).val();         if (val == "1") {             $("#options2").html("Options2:<select id='options2' name='options2' required><option value=''></option><option value='4'>Option 1</option><option value='5'>Option 2</option><option value='6'>Option 3</option></select>
Options3:<select id='options3' name='options3' required></select>");         } else if (val == "2") {             $("#options2").html("Options2:<select id='options2' name='options2' required><option value=''></option><option value='7'>Option 1</option><option value='8'>Option 2</option><option value='9'>Option 3</option></select>
Options3:<select id='options3' name='options3' required></select>");         } else if (val == "3") {             $("#options2").html("Options2:<select id='options2' name='options2' required><option value=''></option><option value='10'>Option 1</option><option value='11'>Option 2</option><option value='12'>Option 3</option></select>
Options3:<select id='options3' name='options3' required></select>");         }     }); }); $(document).ready(function () {     $("#options2").change(function () {         var val = $(this).val();         if (val == "4") {             $("#option3").html("<option value=''></option><option value='13'>Option 1</option><option value='14'>Option 2</option><option value='15'>Option 3</option>");         } else if (val == "5") {             $("#option3").html("<option value=''></option><option value='16'>Option 1</option><option value='17'>Option 2</option><option value='18'>Option 3</option>");         } else if (val == "6") {             $("#option3").html("<option value=''></option><option value='19'>Option 1</option><option value='20'>Option 2</option><option value='21'>Option 3</option>");         }      }); });  Options: <select id="options" name="options" required> <option value=""></option> <option value="1">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3</option> </select>


Beginner Question: How to close/split panels?

I can't figure out how to close or split windows or panels in 2.8. In videos, to remove a panel it seems you somehow click in the upper right corner-doesn't work for me. To split a panel you somehow drag from the border and a new window appears. Can anyone help?  Thanks, Rusty


For logistical reasons, my current sound configuration is the following.           USB-C            3.5mm Macbook ————————➜ Monitor ———————➜ Speaker  While this configuration works well, there's no way to change the volume of the computer without changing the physical dials of the speaker.  Is there any way to set the volume by "software" instead of using the outputs controls?


Getting CSV file of Wikipedia geolocations?

Where do I get a CSV file containing (a reference to) all Wikipedia articles with lon/lat coordinates?  I am aware of  which refers to this page:   At one time that page offered a CSV download but it is no longer present, only the option to download a PostGIS data dump.  I prefer to get the dewiki geolocations


I've just installed the Ubuntu Raring (with Sandisk Extreme) and I know there're multiple articles over the internet (and here) about TRIM, but I suspect it's a native resource on Ubuntu Raring.  PS: Tried to find something in the Ubuntu's documentation, but did not.  Then I've read lots (and lots) of articles and all of them providing different ways to enable TRIM (fstab, cron job, init scripts, etc ..).  IE:   And I got something interesting -> I've performed those tests (creating testfile / removing / running hdparm) WITHOUT "discard" in the /etc/fstab and I got that same results, I got those expected "zeros" output.  That suggested TRIM test I've uploaded (just in case),   That's why I'm wondering -> Is the TRIM active by default on Ubuntu Raring?  If not .. any recommended way to active it, among so much options? Thx.  PS: This is not the same question as the duplicated one. Here I'm trying to understand the NATIVE trim support (as it looks like)


In the Battle of the Seven Potters, why didn't Harry take the Polyjuice Potion?

In the Battle of the Seven Potters (Chapter 'Seven Potters' in "Harry Potter and the Deathly Hallows"), 6 people (Ron/Fred/George/Hermione/Fleur/Mundungus) take the Polyjuice Potion to act as decoys for Harry.   Wouldn't it have made more sense for Harry to have taken the Polyjuice Potion to turn to some low-profile character instead, to escape the Dursleys' residence?


Putty Taskbar Jump List Broken on Windows 10

I have Windows 8 on my laptop and the jumplist for putty has always worked just fine. After installing Putty on my desktop (Win 10) the jumplists do not show up when I right-click the taskbar icon, Putty v0.65.   After scouring the internet, apparently a fix was provided in version 0.66. So I uninstalled 0.65 and installed 0.66... no help, same issue. some comments on a similar question to this actually said they had better luck with the development version, so I uninstalled 0.66 and installed the 11/30/2015 version of Putty. I have unpinned and re-pinned as well as deleted my saved sessions and recreated them. I even tried to clean registry entrys with ccleaner after uninstalling and before installing. I currently have 2 saved sessions and this is what my right-click taskbar context menu looks like (start menu jump list is exactly the same):    P.S. I have visited  and tried it's solutions. However, I was not able to comment due to my limited reputation, so I had to create my own question.


Axiom of choice and Euclid's first proposition

constructs an equilateral triangle given a segment $AB$ via two circles using the segment as radiuses, using $C$ as one of the intersection points of the circles. I understand that there assumptions made which are not part of the original set of axioms. E.g. that the circles intersect (i.e. such a $C$ exists). Additional axioms would be required e.g. involving some continuity axiom for intersection issue. But when it turn out that the circles intersect twice, by what criteria is one of the two points chosen? Does this require something similar/equivalent to the axiom of choice or not?


PSQL: How to return each record in one line

Hello I have table like  scheme.table ( a int, b string, c, date )   I want to select all b, values in one line like  b1, b2, b3, b4.  How can I do it avoiding making procedure?


How much current can a 0.1" pitch pin header pass?

I'm curious how much current it is safe to pass through a 0.1" pitch pin header. I'm sure it will depend on the gauge and stranding of the wire attached to it as well, but assuming that is not the limiting factor how much could be safely passed?


Let $R$ be a commutative ring with unit, I'm trying to prove why in this ring  $$(x_1,\ldots x_n)=(1)\implies (x_1^{k_1},\ldots, x^{k_n})=(1)$$  It seems an easy question, but I couldn't prove it, I need a hint or something.  Thanks


I am fairly new to Linux and all I know for sure about the command echo is that when you type a word after it, such as echo Linux!, it prints out Linux!. Is there anything else echo does?  I don't think it is a duplicate.


Equation to predict the shape of a planet

I need help calculating gravity and shape of a planet based on a few factors.  If a mass rotates quickly enough, the inertia (or "imaginary centrifugal force") will pull the mass outward "perpendicular" to the rotational axis. This is shown in both Earth (very slightly) and Haumea (a dwarf planet with a greater rotational speed), as well as other examples.  The mass (and therefore gravity) will affect how quickly the object must rotate to begin becoming more and more oblong. The tangential velocity at the equator (where the planet will be most oblong, if rotating quickly enough) will work against the gravity to make it seem "lighter", while gravity would be heavier at the poles. How oblong the planet is (how far the surface of the equator is from the center) will affect the tangential velocity, and in turn the resultant gravity.  I am trying to create a large rocky planet (that will be habitable) with a relatively quick rotational speed. The speed is debatable, and doesn't need to be definite as of now (i am hoping it can be a variable, but am looking at a period of one hour or less, until unrealistically fast). My problem is that I don't know how to calculate how oblong the planet will be with a given mass or rotational speed. I am hoping to be able to set a rotational speed and mass (or gravitational force), and determine and equation that either is a graph to show the shape, or can be used to then make a graph to show the shape.  My desire is to determine the shape and appearance of the planet, as well as the gravitational force at each latitude. Using the equation, I hope to be able to change the rotational speed and mass (or gravity based on mass) to find different results.


finding estimate of a polynomial outside the unit disk if it is bounded in the unit disk

Question : Let $p(z)$ be a polynomial of degree n satisfying $|p(z)|\leq 1$ for all $z, |z| \leq 1$. Show that then $|p(z)| \leq |z|^n$ for all $z, |z| >1$.  This is what I could get done :- Let $p(z) = \sum_{k=0}^{n-1} c_k z^k + z^n $. Given $|p(z)| \leq 1$ when $|z|=1$. Then by Cauchy's estimates , $|c_k| = \frac{|p^{(k)}(0)|}{k!} \leq 1$ for all $k$. Therefore, $|p(z)| \leq \sum_{k=0}^{n-1} |c_k| |z|^k + |z|^n  \leq \sum_{k=0}^{n-1} |z|^k + |z|^n \leq \dfrac{|z|^{n+1}-1}{|z|-1}$.  From this we can say that when $|z| >> 1$, then $|p(z)| \leq |z|^n$. But how do I complete the argument for all $z \in \{|z|>1 \} $?


I have index.html where there is nav menu, header, footer and div.content where jQuery parses html of page1.html.   page1.html loads fine, but when I add function to .nextPage2 to load page2.html, it wont work.  page1.html does not have head, body and  script.     $( document ).ready(()=> { //Ajax $.ajax({   url: 'page1.html',   dataType: "html",   success: function(result){   $('.content').html(result); }});  $(".nextPage2").click(()=>{   $(".content").html("");   $.ajax({     url: 'page2.html',     dataType: "html",     success: function(result){     $('.content').html(result);   }}); })  //Ajax <!DOCTYPE html>     <meta charset="utf-8">

page

page

page


query on maximum minimum of multi-variable function

Q.How do we find out the sum of absolute maximum and absolute minimum values of $f(x,y)=(x+y)^2-(x+y)+1$ on a unit square $\{(x,y):0<x<1,0<y<1\}$?  Using the method of $rt-s^2$ its value is zero. So now how do I search for the Max and main value?


Why is one migration showing up as to a blank site?

I was just looking at the statistics for migrated questions in the  mod tools, and noticed this oddity:    The actual statistics, as visible to any 10k+ SFF user , are: 6 migrated to Worldbuilding, 2 to Literature, 2 to SFF meta, 1 to Movies & TV, 1 to Writers, and 1 to Aviation.  Why is one of the meta migrations showing up with a blank icon rather than with the other?  Both migrated questions were closed as duplicates on meta. Both were migrated by 5 community members without mod involvement. One of the stubs on main has since been deleted, but so have the stubs for some of the other migrated questions. I can't think of anything to explain this discrepancy.


Is flying 60 short flights per year harmful to health due to additional radiation?

For the fifth year in a row I flew approximately 60 times. Most of my flights are within Europe, so an average flight is quite short (~1000 km, ~2 hours). I am concerned about negative health effects caused by cosmic ray radiation.  The  suggests that I receive ~7-9 µSv per 2 hour flight. This means adding additional ~0.5 mSv to my annual radiation dose. Background radiation in my area of 1 mSv/year and a few medical x-rays can easily add up to 3-4 mSv annual dose.  According to BSS/EU, the safe yearly radiation exposure for the general public is 1 mSv.   An example of one of my flights:     Do my calculations make sense? Should I be concerned about increased cancer risk? Are there any possible negative health effects not related to radiation?  What are some articles/papers on the topic that you'd recommend?


Goodness of fit and which model to choose linear regression or Poisson

I need some advice regarding two main dilemmas in my research, which is a case study of 3 big pharmaceuticals and innovation. Number of patents per year is the dependent variable.  My questions are    What are the most important criteria for a good model? What is more/less important? Is it that most or all of the variables will be significant? Is it the prob of "F STATISTIC"? Is it the value of "Adjusted R squared"? Second, how can I decide the most appropriate model for the research? Besides patents which are a count variable (so maybe a Poisson count) I have explanatory variables such as return on assets, research and development budget, repeated partner (% not a binary variable), company size (employees) and a couple more. Should I do a linear regression or Poisson?


How are bayesian probabilities represented in a probability space?

Given that bayesian probabilites are updated over time, how is this represented in a probability space? More specifically, how do we interpret the probability measure of such a space? That is, presumably such a probability measure is not preserved over time, whereas in frequentist statistics this is assumed to be invariant, so is a bayesian probability measure 'time-varying'?


How to set resolution to native screen resolution? (over 1920x1080)

I have a 17" laptop with Intel 6700HQ and Nvidia 950M inside (ASUS N752VX).  When I boot Windows, it starts with native resolution of the display which is 2560x1440. On Ubuntu, I can't go over 1920x1080.  My nvidia settings are like this     I can't change the Virtual Size from here and I don't see any line to change on xorg.conf.  These are my display settings     The resolution drop down menu doesn't go above 1080p.


Emulating Polygon Neighbors tool in ArcGIS Desktop 10.0?

I'm using ArcGIS 10.0 SP5.    Have a set of 4000 polygons (featureclass A) and I'd like to summarise the values of the polygons (featureclass B) which touch the boundaries of these polygons (ie. those which neighbour A). The Summary statistics should include values in A (the field that I'd like to summarise is common to both featureclasses).   There is a tool in 10.1 and above called 'Polygon Neighbors' which would do exactly what I need, but that's not available in 10.0:   Is there a way to do this in 10.0?  Dissolving B polygons and using summarising statistics within this tool  will not work because some of the B polygons share a boundary with more than one A polygon. I need a separate summary for each A polygon.   This is not a duplicate question. The question which was marked as 'the same' as this asks where the 'Polygon Neighbors' tool is in 10.0. I realise that this tool isn't available in 10.0, I am asking how to produce the same output as this tool.


I've got this C# program that never closes the Excel process. Basically it finds the number of instances a string appears in a range in Excel. I've tried all kinds of things, but it's not working. There is a Form that is calling this method, but that shouldn't change why the process isn't closing. I've looks at suggestions by Hans Passant, but none are working.  EDIT: I tried the things mentioned and it still won't close. Here's my updated code. EDIT: Tried the whole Process.Kill() and it works, but it seems like a bit of a hack for something that should just work.  public class CompareHelper {     // Define Variables     Excel.Application excelApp = null;     Excel.Workbooks wkbks = null;     Excel.Workbook wkbk = null;     Excel.Worksheet wksht = null;     Dictionary<String, int> map = new Dictionary<String, int>();      // Compare columns     public void GetCounts(string startrow, string endrow, string columnsin, System.Windows.Forms.TextBox results, string excelFile)     {         results.Text = "";          try         {             // Create an instance of Microsoft Excel and make it invisible             excelApp = new Excel.Application();             excelApp.Visible = false;              // open a Workbook and get the active Worksheet             wkbks = excelApp.Workbooks;             wkbk = wkbks.Open(excelFile, Type.Missing, true);             wksht = wkbk.ActiveSheet;             ...          }         catch         {             throw;         }         finally         {             GC.Collect();             GC.WaitForPendingFinalizers();              if (wksht != null)             {                 //wksht.Delete();                 Marshal.FinalReleaseComObject(wksht);                 wksht = null;             }              if (wkbks != null)             {                 //wkbks.Close();                 Marshal.FinalReleaseComObject(wkbks);                 wkbks = null;             }              if (wkbk != null)             {                 excelApp.DisplayAlerts = false;                 wkbk.Close(false, Type.Missing, Type.Missing);                 Marshal.FinalReleaseComObject(wkbk);                 wkbk = null;             }              if (excelApp != null)             {                 excelApp.Quit();                 Marshal.FinalReleaseComObject(excelApp);                 excelApp = null;             }              GC.Collect();             GC.WaitForPendingFinalizers();             GC.Collect();             GC.WaitForPendingFinalizers();              /*             Process[] processes = Process.GetProcessesByName("EXCEL");             foreach (Process p in processes)             {                 p.Kill();             }             */         }     } }


Using sleep() to create a function that consistently loops every second

I have a program that needs to execute every second. However I am concerned that the code would add a slight delay in turn causing it delay slightly longer then intended. Sample code:  while True:     print(time)     sleep(1)   In my case I will be adding more complicated function calls in this loop and am concerned that they will mess with my timer. Should I even be worried, and or is there another way for me to ensure this function loops every second?


Problem :   How to find the sum of the sequence $\frac{1}{1+1^2+1^4} +\frac{2}{1+2^2+2^4} +\frac{3}{1+3^2+3^4}+.....$  I am unable to find out how to proceed in this problem.. this is a problem of arithmetic progression... Please suggest how to proceed...Thanks..


I wanted to multiply a float number by 100 and then convert the resulting number to an integer number. My code is as follows and there is nothing complicated in it: <?php  $num = 2.3;   echo (int)($num * 100);   But the result is very strange. This code displays the number 229 while the number 230 is expected. And this is while there is no such problem for other numbers and the result is what is expected and this strange output is created only for the number 2.3 !!!


Can a question be put on hold by a single person?

I am referring to this  As far as I know a question will be put on hold if the same gets 5 votes to close and after the question is put on hold user names are displayed like put on hold as unclear what you're asking byxx,uy,oo,pp,jj♦ 8 mins ago But in this question only one name is displayed.So is it possible to keep a question on hold by a single user.If yes then please tell me what should be the minimum reputation required to do so?


We know that magnetic does not do any physical work . Now consider; we attached a magnet in a wall with help of a tape. Now we bring a magnet near to other magnet and released we see that magnet will displace towards other magnet. How was the work done on the second magnet to traverse the distance ?


How to install additional LaTeX packages in Debian/Ubuntu

I just installed texlive-latex-base package from official Ubuntu repo, now I have to add some modules (ucs and utf8x) for compiling .pdf files with Cyrillic encoding, so, how to install it? I found tlmgr - the TeX Live manager, but I have no such command, it seems that I could install tlmgr using : "You may end up in a situation where tlmgr itself does not run due to Perl errors, failed updates, or some other reason. If this happens, the simplest way forward is to download and run " Am I right?  Update:  argon@vprime:~/Documents/diplom$ sudo bash update-tlmgr-latest.sh  [sudo] password for argon:  Verifying archive integrity... All good. Uncompressing TeX Live Manager Updater.......................................................................................................................................................................... ./runme.sh: Cannot find TeX Live root using kpsewhich --var-value=SELFAUTOPARENT. ./runme.sh: Please call update-tlmgr-latest.sh --noexec --keep ./runme.sh: and then call the runme.sh script in the unpacked directory ./runme.sh: with the directory root as the first argument, something like: ./runme.sh: sh runme.sh /path/to/your/texlive/installation/2010 argon@vprime:~/Documents/diplom$ dpkg -L tex tex-common          texlive-binaries    texlive-doc-base texlive-base        texlive-common      texlive-latex-base   So, path to which package should i use?


What does it mean when a distribution is "INDEXED" by something?

I am doing some reading and am seeing phrases such as the following.  For context, I am learning about Bayes Inference and prior/posterior distributions so theta is the parameter:     In such problems, we shall refer to the distribution indexed by θ for   the other random variables of interest as the conditional distribution   for those random variables given θ.   ...     In many problems, such as Example 7.2.1, the observable data X1, X2, .   . . are modeled as a random sample from a univariate distribution   indexed by θ.   ...     In these cases, let f (x|θ) denote the p.f. or p.d.f. of a single   random variable under the distribution indexed by θ.   What does "indexed" mean and how do I conceptualize it?


ps command with u option only shows user processes

As a non-root user, when I run top or ps aux, I only see processes with my user name.   $ ps aux USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND mahmood 31398  0.1  0.0 117152  3948 pts/10   Ss   19:27   0:00 -bash mahmood 32468  0.0  0.0 148964  1872 pts/10   R+   19:31   0:00 ps aux $   How can I fix that in a way to show all processes?


Intuitive understanding of the difference between consistent and asymptotically unbiased

I am trying to to get an intuitive understanding and feel for the difference and practical difference between the term consistent and asymptotically unbiased.  I know their mathematical/statistical definitions, but I'm looking for something intuitive.  To me, looking at their individual definitions, they almost seem to be the same thing.  I realize the difference must be subtle but I just don't see it. I'm try to visualize the differences, but just can't.  Can anyone help?


What's the point of hamiltonian mathematical formalism of classical mechanics?

Just what the title asks. What are the applications of it?


windows folders unavailable after reboot

I mounted my windows partition folders such as Documents, Downloads, Music and etc. to Ubuntu 15.10. It works ok but after I reboot my computer they are not available until I click at windows partition volume in Files. It is kinda annoying. How to make them available right after system is restarted?


Is there any way to add watermark to certain PDF files stored in document folder? We would like to do a dynamic watermarking capability to the documents with confidential information of user who download the document. Is there a way to accomplish this or do we need to use a third party tool to make it happen? In our case we have a VF page that displays the document assigned to them and they document the files from there.


I have an old computer which currently runs Windows XP. I want to give Ubuntu (v12.10) a try since I heard that it requires less RAM than XP to operate. Here are its specs:  OS: Windows XP RAM: 1GB HDD: 40GB GRAPHICS: ATI Radeon 7000 64MB PROCESSOR: Intel Pentium IV 2.0 Ghz   Can someone give me advice on how to install Ubuntu? I wish to install it on the entire disk with no partitions whatsoever and to permanently delete Windows XP.  Are the specs of my PC enough to smoothly run Ubuntu and at the same time do some basic tasks (document editing, internet browsing, music, videos and some old games)?  Will Ubuntu have the drivers for my hardware?  Thank you very much!


I just earned my first 1000 rep on SO. The FAQ says that with 1000 rep you can     Show total up and down vote counts   But I can't figure out how/where I can do that. I don't see any total up/down vote count on questions, nor on answers, nor on users...


holomorphic function $f$ in $\overline{B(0,1)}$ has nonzero derivative at the maximal value point.

Let $f:\overline{B(0,1)}\subset \mathbb{C}\rightarrow \mathbb{C}$ be holomorphic in the closed unit disc $\overline{B(0,1)}$, i.e. there exists holomorphic function $g$ such that $g|_{\overline{B(0,1)}}=f$, if $f$ is not constant, and  there exists $z_0$ such that $$|f(z_0)|=\max_{z\in \overline{B(0,1)}} |f(z)| $$ then by maximal modulus principle $|z_0|=1$, my problem is if we can prove $f'(z_0)\neq 0$. Any help will be appreciated:)


Getting Id instead of name in Lightning Datatable columns

I am getting owner id in the data table for lightning component, when using {label: 'Account Name', fieldName: 'linkName', type: 'url',              typeAttributes: {label: { fieldName: 'Account_Name__c' }, target: '_blank'}},              {label: 'Created By', fieldName: 'Owner__c'},  and no value when I try to use : {label: 'Account Name', fieldName: 'linkName', type: 'url',              typeAttributes: {label: { fieldName: 'Account_Name__c' }, target: '_blank'}},              {label: 'Created By', fieldName: 'Owner__r.Name'},  on lightning component screen. Also , the records that get created on save are displayed in tabular form, but gets saved randomly in table ordrer, i want the last created record ( on click of lightning button) to be on top of table


I have 3 lbs of butter that has been left at room temperature since, about, December 22nd. Is it still safe to eat?


proofs on trigonometric identities involving complex numbers

Provide a reason for each step of the proof. Prove the identity $$\arctan(1)+\arctan(2)+\arctan(3)=180^{\circ}$$Proof:\begin{align*}\arctan(1)+\arctan(2)+\arctan(3)&=\text{arg}(1+i)+\text{arg}(1+2i)+\text{arg}(1+3i)\\&=\text{arg}\left[(1+i)(1+2i)(1+3i)\right]\\&=\text{arg}(-10)=180^{\circ} \hspace{4cm}\blacksquare\end{align*}


I have looked up the difference but I cannot decide which word to use.   I am talking about my high school experience.  "There was always something to be done, from [this] to [that]. Nonetheless/nevertheless, I learned a lot."  Basically like through the intensity, through the chaos, through doing all the aforementioend things, I learned a lot.   Please tell me which would be correct in the sentence and why. Thanks!


So I was wondering if I could show Non-Steam games as Steam games, such as if I buy GTA V on a DVD, install it, and add it to Steam. I would like it to show GTA V as a Steam game for screenshots and all that, but how? I know Steam has the games I want to do this with but I don't know how to get them to show up as Steam games.


Windows-Ubuntu environment messing with python's print() end="" functionality

I'm trying to write a program which can run on my windows laptop to track its connectivity but one of the python packages I want to use needs to be run in a linux environment. That, itself, is not an issue though since windows now has official support for CLIs for OSe like Ubuntu; the issue lies in the fact that whenever I try to use this line of code  print(ThisIsAVariableToHoldMyString, end=" ") it just doesn't print. I know the line is being called through repeated tests of my method (I deleted some commented out others but needless to say I have done a lot of tests)  def AddToReturn(self, toadd, end = False):   #print(toadd)   #print(end)   if end:    print("last hash : "+toadd)    self.returnstring += self.returnstring + "last hash : "+toadd    return self.returnstring   else:    print(toadd, end="")    self.returnstring += toadd  and they always printed whatever I asked them to. Even the first non-commented print statement    print("last hash : "+toadd) works fine and I can see its output, the only one that isn't working is the one with end="" in it. Is this just me being an idiot or is it an actual issue with the windows ubuntu environment? I already tried flush=True.


Nondimensionalizing a differential equation

I am trying to non-dimensionalize the following differential equation. I am a bit stuck and unsure about how to proceed. The model is the logistic model where:  $$\frac{dP}{dT} = rP(K - P) $$  I am told that $K$ is a function of time where $K(t) = K_0 + Af(T)$ and that $A$ is a parameter where $ |A| << K_0 $, and that $f(T)$ is a dimensionless function of time. Also, we assumed that $P(T=0) = K_0$  I am told to derive the model to the form:  $$\frac{dp}{dt} = p(1+\epsilon(g(t)) - p)$$   with $p(0) = 1$. I think it is pretty obvious that I am supposed to divide by $K_0$ but I am not sure how the new parameter $p$ is defined. Would I also have to divide by some parameter for time as well? I tried dividing by $r$ as well but then I couldn't come up with a definition that matches for the change of parameter in $p$ which I assume that it is also redefined.   So far, I have thought the following where $\epsilon = \frac{A}{K_0}$ and am unsure about this variable where: $t = \frac{T}{r}$. This is the only way I can some how reconcile a way for $P$ to become $p$ and $f(T)$ to become $g(t)$.   Some help would be greatly appreciated.   Thanks


I'm trying to write a "ClickerGame" that the user need to click on a button as much as he can in 1 min.  Can you help me to improve the functionality of this program? it's not really working.  import javax.swing.*;  import java.awt.FlowLayout; import java.awt.event.*; import java.awt.*; import java.lang.*; import java.util.Date;  public class ClickerGame extends javax.swing.JFrame {     int i,j;     JPanel panel;     JFrame frame;     JButton start;     JButton stop;     JButton click;     JTextArea text;     JLabel label;     public static void main(String[] args){         ClickerGame a = new ClickerGame();         a.go();     }      public void go(){          frame = new JFrame();          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);           JPanel panel = new JPanel();           click = new JButton("Click");          click.addActionListener(new ClickListener());           start=new JButton("Start");          start.addActionListener(new StartListener());           stop=new JButton("Stop");          stop.addActionListener(new StopListener());          panel.add(start);          panel.add(click);          panel.add(label);          frame.getContentPane().add(BorderLayout.CENTER,panel);           frame.setSize(500,500);          frame.setVisible(true);     }     class ClickListener implements ActionListener{         public void actionPerformed(ActionEvent event){              click.setText("Number of clicks: "+i);             i++;         }          }      Timer timer = new Timer(1000,new ActionListener(){         public void actionPerformed(ActionEvent e){             Date currentTime = new Date();             label= new JLabel(currentTime.toString());           }     });      class StartListener implements ActionListener{         public void actionPerformed(ActionEvent event){             timer.start();         }     }     class StopListener implements ActionListener{         public void actionPerformed(ActionEvent event){             timer.stop();         }     }  }


In T-SQL, you can do this:  SELECT ProductId, COALESCE(Price, 0) FROM Products   How do you do the same thing in Access SQL?  I see examples for doing it with Nz in VBA, but I'm looking for the SQL equivalent.  Thanks.


How do I keep Juju in sync across multiple computers?

Juju is great when it's being used on a single workstation. However I have two laptops, and a Desktop that I use fairly often.  If I bootstrap an environment on my desktop, I'd like to interact with the Juju environment on my laptop(s). How do I do this?


If I define $\gcd(a_1,...,a_n)$ be the greatest positive common divisor or $a_1,...,a_n$. How can I show $\gcd(a_1,...,a_n)=\gcd(\gcd(a_1,...,a_{n-1}),a_n)$? The equality is trivial if we have $\forall $ common divisor $c$ of $a_1,...,a_n$, $c\mid \gcd(a_1,...,a_n)$. But I think this is a consequence of the above proposition by extending the result from the case $n=2$. It is easy to show $\gcd(\gcd(a_1,...,a_{n-1}),a_n)\le \gcd(a_1,...,a_n),$ but I got stuck showing the another side. Any suggestion will be appreciated.


Is there a word for a person that is tender, as well as strict?

Is there a word for a person that is tender as well as strict at times or as per situation?  A word that could be used for a teacher or maybe a mother.     Although she was (like)  ________, she was the best.   I usually compare them to being like a coconut (hard from the outside but soft in the inside) since I don't have a better alternative.  Please add suitable idioms if available, I'd be extremely grateful.


Unable to mount NTFS hard drive partition "The disk contains an unclean file system"

I have dual booted ubuntu 13.10 and windows 8.1 in my laptop. Earlier my window partition(C drive)  and other NTFS partition was accessible from ubuntu.  Now its giving me this error and not mounting:  Error mounting /dev/sda3 at /media/waqar/120ABDC90ABDAA5D: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda3" "/media/waqar/120ABDC90ABDAA5D"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda3': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   C drive(window partition) is giving this error:  Error mounting /dev/sda2 at /media/waqar/BAD4D962D4D92185: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/waqar/BAD4D962D4D92185"' exited with non-zero exit status 14: Windows is hibernated, refused to mount. Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   I have restarted my system, booted in windows and then again shut down the system properly but its continuously giving me the same error.   Any help?


Server 2012 Core (no GUI): Remote Server manager not working

I am trying cmd --> MMC --> Server Manager and then connecting to my Server 2012 no GUI  but i keep getting the following error The WinRM client cannot process the request  I am unable to upload images right now  This is not related to other post "How to Remote Manage Windows Server 2012 in Server Manager?" because title and description of that post is quite different from what i am asking


Proving binomial coefficients identity: $\binom{r}{r} + \binom{r+1}{r} + \cdots + \binom{n}{r} = \binom{n+1}{r+1}$

Let $n$ and $r$ be positive integers with $n \ge r$. Prove that: $$\binom{r}{r} + \binom{r+1}{r} + \cdots + \binom{n}{r} = \binom{n+1}{r+1}.$$  Tried proving it by induction but got stuck. Any help with proving it by induction or any other proof technique is appreciated.


Viewing computer screen through 3D glasses, why the asymmetry?

I have 3D glasses made up of plastic.  First case: When I hold front side of the 3D glasses (by this I mean that side on which light falls) in front of a computer screen, light coming from screen is not blocked, at any angle of rotation. But I see somewhat (slightly) bluish screen when 3D glasses are held horizontally; and yellowish (slightly) screen when glasses are held vertically.  Second case: Now I flip the side of the glasses i.e. "back" side of glasses is in front of screen and "front" side is closer to eyes. In this second case, when glasses are held horizontally, the light is blocked. When glasses are held vertically, light is not blocked; I can see the screen. For intermediate angle, intensity of light varies from minimum to maximum.  Questions:   Why I get slightly colored screens in the first case and why light is not blocked ? Why light is blocked in the second case ?   I know (after reading somewhere) that glasses consists of a pair of circular polarizer and linear polarizer. Circular polarizer in my first case will be near to computer screen and linear polarizer will be near to eyes; and in second case vice versa.


How to know what Windows 7 is doing before shutdown/reboot?

I have a core i3 notebook running Windows 7 32-bit, and sometimes it takes a long time to shutdown or reboot.  I have disabled Windows Update, and have not installed any new software or drivers.  So, there is no reason to take about 5 minutes to shutdown or reboot.  How can I determine what it is doing? BTW, I see the blinking light for hard disk activity during these time.


I tried installing  both by using install from file and the zip, and by adding it to the addons folder. It still does not appear in the list of addons. Does that addon not work with the current version of blender? Is there something else?  Is there any simple blender addon I could try to see if I have problems installing addons in general?


Maximum area of isosceles triangle with perimeter 6 cm

Problem. What is the side lengths of an isosceles triangle with $6cm$ perimeter which has the largest area? I solved this problem as below and I would like to learn  that if there is anything wrong: Let us say that the side lengths are $a$ and the bottom length is $6-2a$. By using pythagorean theorem we can conclude that the height $h$ is equal to $\sqrt{6a-9}$. Then, the area of the triangle can be given as $f(a)=(3-a)(\sqrt{6a-9})$. So $f'(a)=-\sqrt{6a-9}+\cfrac{3}{\sqrt{6a-9}}$. Finally, $f'(a)=\cfrac{12-6a}{\sqrt{6a-9}}$ and $f'(a)=0 \iff a =2$.


Can you turn a realm into a single player world?


This is really bugging me. When you look up some educational text about stars life, this is what you find out:   Gravity creates the temperature and pressure to start fusion reactions. The fusion proceeds to heavier and heavier cores ending with iron, which remains in the centre of the star. One moment, all light cores are depleted and the gravity wins over the power of the fusion reactions, now absent. The core of the star collapses into high density object, which may vary depending on the star mass. And the top layers of the star explode.   And I just cannot find clear explanation why. According to what I imagine, the top layers of the star should just fall into the collapsing core.  Is that because of the 3rd Newtons rule?  Or do the stars have some need to end with a cool boom?


Is there a way to run MS-DOS alongside/within Ubuntu?

Is there a version of MS-DOS that I can add to Ubuntu? I have old MS-DOS games.


How do I select the subclasses of X and Y safety capacitors?

While designing a switch-mode power supply, I've been reading a lot about X and Y rated safety capacitor. Although I fully understand their use and limitations, how do I determine if I need a X1 or X2 capacitor across the line and a Y1 or Y2 between line and ground?  I understand that slapping a X1/Y1 everywhere would be easy, but I can't seem to find the standard associated with the appropriate sub-class selection. For cost sensitive products, a X2/Y2 could make a difference. How do I determine if the intended application is within the sub-class' limits?  So far, the only specification I found is the IEC 60384, which specify how these capacitors should be tested, but nothing regarding the appropriate safety rating for a known application.


I am currently doing a classification problem for classifying the functional class and non-functional class of peptidase cleavage site. The data on non-functional class (negative class) is highly imbalanced and it has majority samples compared to functional class(positive class). I have done the classification using three different classifier. I calculated the AUC and plot the ROC curve as shown in the image below.   However, I don't really understand how to interpret the ROC curve since I am new to this field of study. I have seen many of the ROC curve in research paper, I feel weird why my ROC curve does not look like most of the research.   Can anyone help me to interpret the ROC curve below.


How do I change my Minecraft username during the 30-day restriction?

How do I change my name in minecraft name earlier than the 30 days please, I need help. My name is really dumb and I would like to change it early.   I do not hack and I would like to change it early with NO hacks. I already looked up this question but I got no help . I tried looking up and I am quite impatient.  is the link I used


Why is my site not showing up on Google?

My site has been live since July this year but is still not showing up on Google.  Any ideas why this would be the case?  Many thanks


Improve alignment of "Learn more" button in "Next privilege" popup

The alignment of the "Learn more" button in the "Next privilege" popup is not really well aligned with the edge of the black square:  It is also too close to the text showing how near you are to your next privilege.  Compared to the next badge popup:  The former's alignment is suboptimal.  I think it would look better 5, maybe 6px away from the edge, and the same horizontally.  Or can we just make it a bit more like the "Next badge" menu?


Why do differentiating and integrating 'work'?

Why do you get a function's (changing) slope when you take its derivative and why do you get the area under the function when you take its integral? What is the easiest reasoning behind this?


how can I add (subtract, etc.) two numbers with bash?

I can read the numbers and operation in with:  echo "First number please" read num1 echo "Second number please" read num2 echo "Operation?" read op   but then all my attempts to add the numbers fail:  case "$op" in   "+")     echo num1+num2;;   "-")     echo `num1-num2`;; esac   Run:  First number please 1 Second mumber please 2 Operation? +   Output:  num1+num2   ...or...  echo $num1+$num2;;  # results in: 1+2       ...or...  echo `$num1`+`$num2`;;  # results in: ...line 9: 1: command not found   Seems like I'm getting strings still perhaps when I try add add ("2+2" instead of "4").


Let $f(z)$ be an entire function such that $|f(z)|\le C|z|$ where $C$ is a positive constant. Show there exists a $D$ which is a complex constant such that $f(z)=Dz$. I am trying to use a cauchy's estimate to show that $f''(z)=0$ but not sure how to go about this.


What exactly are the elements of a local homology group?

A local homology group of some space $X$ at $x \in X$ is defined by the relative homology group $H_n(X, X - x)$. So by definition, it contains only cycles that are not entirely contained in $X - x$. So if we consider $X$ as some $2$-dimensional surface, would the local homology group at $x$ contain homology classes of loops which pass through $x$? Is this the right way to think about local homology groups?


Can I charge my HP Probook 430 G5 from 2018 with my Galaxy S10+ USB-C Adapter

I need to charge my Laptop but I don't have my normal charger here, so I've done some research about charging possibilities and found out that my Laptop has a USB-C Port which is also a second possibility to charge (found that Information on the HP Website). But this so called usb-c port on my laptop looks a little bit edgier than my Samsung usb-c charging cable. It fits into the port without any problems and I can also see that my laptop works with the received signal from my cable (everytime just for a short moment / 3 seconds), but it doesn't seem to charge and the battery goes also down. Maybe I need a better usb-c cable? I want to buy the , but before I buy anything I need to know if its even possible. Thank you in advance.


Sum of reciprocals of integers with one digit missing

I'm reading Hardy's wonderful book on theory of numbers. At some point he is proving that "almost all" integer numbers contain digit 9 (or any other sequence of digits, like "9345"). It's fairly obvious: number of integers up to $n$ digits is $a_n=10^n-1$. Number of integers up to $n$ digits with digit 9 missing is $b_n=9^n-1$. And because $\lim_{n\to\infty}{b_n}/{a_n}=0$ it means that $b_n \ll a_n$ for big enough $n$. In other words, the number of integers without digit 9 is "neglectable" (comparatively small).   So far so good, but in the footnote Hardy mentiones an interesting consequence without proof. Let $n$ be any number that is missing decimal digit 9. The following "quasiharmonic" sum is convergent:   $$\sum_{n=1}^{\infty}\frac 1n=\frac11+\frac12+\dots+\frac17+\frac18+\frac1{10}+\frac1{11}+\dots\frac1{18}+\frac1{20}+\frac1{21}+\dots$$  It also means that the sum of reciprocals of all numbers containing digit 9 must be divergent:  $$\frac19+\frac1{19}+\frac1{29}\dots+\frac1{89}+\frac1{90}+\frac1{91}+\frac1{92}+\dots$$  Is there a simple proof for this?


How to evenly space edges to make a car rooftop?

I model a car and I want to make a rooftop first of all. I would like to make it like this:    How to evenly space the edges to make what I want?


I would like to "save" a program into my spartan 3AN, I explain :   Currently, I can program my FPGA and use it but when I shut down the board and power it, the program isn't there yet and I've to program my chip again...  Can someone tell me the solution to save my program somewhere in the FPGA?  Thank you !


Definition of an "Observer" in regards to quantum physics and consciousness involvement

Each time I look video in regards to quantum physics there is almost always one point where they claim small matter can be represented by a wave function (can be everywhere but the item in question has an higher % of being at a specific location than far away) until it is observed (now seen as a particle).  In practice, what is considered as an "Observer"?  Is consciousness essential to the observer role?  Example1: Let's say X is not observed (so in the wave function state), then a device is placed to determine the location of X but the result is never looked at by a conscious being (assuming a human) .  Is X considered observed so now represented by a particle?  Example2: Same example as 1 but now a conscious being looks at the result of the device.  I assume X is now being considered observed therefore it is now represented as a particle.


Planet Surface Rendering: Precision issues

I have been experimenting with C++ and OpenGL, and I am currently writing a program that renders the surface of a planet; specifically, our moon. It's a modified version of the  which is normalized to the unit sphere and then offset by a heightmap in the terrain's vertex shader. On small scale scale this works rather well:      However, I want to scale this up to the size of the actual moon. Unfortunately, when I do so, stepping artifacts appear:    Now I am (almost) certain that this is simply an issue with floating point precision; 32-bit floats just simply don't have enough precision for planets of this size. However, I am in an interesting situation where I cannot simply change one of my numbers to a double to gain more precision. My vertex shader code is this:  layout (location = 0) in vec3 VertexPosition;  uniform mat4 MVP; //projection and camera rotation matrix uniform mat4 PLM; //scale and translation matrix uniform dmat4 SurfaceRotationMatrix; //transforms vertices to be the correct position on surface  uniform samplerCube bump_map; //heightmap cubemap  uniform dvec3 PlayerLocation;  uniform double PlanetRadius; uniform double TerrainHeightScalar;  void main(){      //find the world space position of the flat grid (high precision)     dvec4 worldSpacePosition = PLM * vec4(VertexPosition, 1.0);      ...      //offset the y position by the planets radius     worldSpacePosition.y += PlanetRadius;      //vertex position in relation to camera (located at origin)     dvec4 OriginNormal = normalize(worldSpacePosition);      //vertex position in relation to planets surface     dvec4 surfaceHighP = SurfaceRotationMatrix * OriginNormal;       //also calculate surface normals at this point     dvec4 tangentHighP = SurfaceRotationMatrix * vec4(1.0, 0.0, 0.0, 1.0);     dvec4 bitangentHighP = dvec4(cross(surfaceHighP.xyz, surfaceHighP.xyz), 1.0);      // vvv I think this is the problem vvv     // dvec4 surfaceHighP has to be cast to a vec3 (float) in order for the      // shader to compile     double height = texture(bump_map, vec3(surfaceHighP.xyz)).x;       //set position by multiplying the normal by the distance the point should be from the surface     worldSpacePosition.xyz = (PlanetRadius + height * TerrainHeightScalar) * OriginNormal.xyz;       //move the position back to the origin     worldSpacePosition.y -= PlanetRadius;      //offset y position by the player's height (both statements are split for best precision)     worldSpacePosition.y -= PlayerLocation.y;      //final position: multiply by projection matrix     gl_Position = MVP * vec4(worldSpacePosition); }   OpenGL's  only seems to take float parameters as an input. This makes me believe that this stepping is a result of the cast down to a lower-precision vector, where the program cannot distinguish the tiny change in angle between each grid position. At first I thought it might have been a texture precision error, so I tried switching the heightmap texture to an 8-bit copy but I didn't see any difference in step size or quantity. The texture filtering is linear, so the heights should be smoothly blended between one another, and at large scales big landforms like mountains and hills seem to have no associated problems.  Can anyone confirm that this cast in the texture() call is the reason for the stepping? If so, is there a way to pass high-precision numbers into a GLSL texture call, or, failing that, a solution to this problem that doesn't involve a complete redesign? I was thinking about maybe getting a weighted average of each neighboring "step", and then linearly interpolating between them, averaging between the areas where the float breaks down. Would something like that be possible, or is there a better alternative?


The current behavior when using \underbrace is the following (Tex inserts whitespace to avoid streching the text underneath the underbrace beneith the neighboring symbols):   The behavior I want instead is the following:   How can this be achieved?  EDIT: The code I used for this image is  as follows  Y_{2,2}(\theta,\varphi) - Y_{2,-2}(\theta,\varphi) = \dfrac{2i}{\sqrt{4\pi}}\sqrt{\dfrac{15}{8}} \underbrace{\sin^2\theta\sin(2\varphi)}_{=\frac{1}{2}\sin^2\theta\sin\varphi\cos\varphi={\frac{1}{2}d_{xy}/C_{xy}}}


Travelling 3.6 LY at $(3/4) c$, how much time passes for the traveler and how much time passes for the people in Alpha Centauri?

This specific thought experiment is for a story I'm writing. Assume a spacecraft can travel at 3/4 the speed of light. It leaves Alpha Centauri A and travels 3.6 LY. Being a non-physicist layperson I used the basic Time=Distance/Velocity. This made for an approximation of 4.7 years to travel 3.6 LY at $(3/4) c$ (please correct me if I'm wrong). However, that is not accounting for the time dilation that occurs when an object travels at near the speed of light. I know that for objects traveling at such high speeds, time will pass much slower than normal whilst the point of origin time will pass much faster. This results, I believe, in the traveling object seeming to move slowly e.g. more time passes, while the traveler will experience time more slowly e.g. less time passes. My question(s) are: for the $(3/4) c$ traveler, how long would it appear to take to reach 3.6 LY from their point of origin? For the observer (Alpha Centauri), how much time would pass for them before the traveler reached their destination?


What if my visa is refused after I already bought an air ticket?

I am applying for a complicated visa right now and I was told the chance of refusing visa application is high.   What happens if my visa is refused and I already have my airplane ticket? My flight is in one month, with British Airways. Is there a chance of getting my money back? Will the embassy give some affirmation for the flying company to cancel the ticket?


Can You Create Free Rent Agreements in Monopoly

Is it legal to allow free rent agreements as part of a real estate transaction in Monopoly?  Specifically I'd like to purchase a property and sell two additional properties but only if both parties in the transaction receive 'free rent' as long as we own the properties.


How to calculate how many polygons I can put inside a polygon?

I usually use qgis. I explain my problem with an example: there is a forest (irregular geometry1 ) and one tree (geomery2). I want to know the maximum number of trees that the forest can contain. Furthermore i want a shapefile output of the best disposition of these trees inside the forest.


How to search entire hard drive for a file?

Trying to locate a file, how can I search the entire hard drive for a file?


1h40 to transfer in Sydney, one booking but can't check baggage through

We booked a flight from Manila to Christchurch with 1hr 40mins layover at Sydney. Upon booking, the details indicated at Sydney-Christchurch flight, its still Qantas Airways but already operated by Emirates and, the “baggage is not checked in through” I asked the the customer service to clarify what does that mean. She said that upon arrival at sydney, we still need to pick up our baggages & check in again going to Christchurch.  My questions are:  1) I’d like to ask (for those who have already experienced this) if 1hr 40mins is enough from picking up the baggages and checking in again?  2) Are we going to line up now at Emirates & not in Qantas?  3) Do they have different line for checking in, baggage drop & just for transfers?  Please enlighten me. I am bothered by this because we might miss our flight going to Christchurch given the 1hr 40mins layover & checking in the baggages again. Thank you!


When I create an InputLayer, a None dimension gets added. I don't know why this is.     image_shape = ds_info.features['image'].shape     input_shape = (ds_info.features['label'].num_classes, image_shape[0], image_shape[1], image_shape[2])      print('input_shape: ', input_shape)          ## Create the CNN     # Create the input layer     input_layer = Input(shape=input_shape)          print('input_layer: ', input_layer.shape)  Results input_shape:  (1623, 105, 105, 3) input_layer:  (None, 1623, 105, 105, 3)


Where can I find an in-depth tutorial on DSLR photography?

Now I am a proud owner of Nikon D5300 DSLR equipped with an 18-55 kit lens. This is the first time I am dealing with DSLR. I don't want to use as a mere point-n-shoot camera, but want to use it to its fullest extent. I feel the need of taking a full-length, in-depth online free photography course which will take me to the DSLR world. Can anyone please suggest me any such course which explores the key areas in DSLR photography?


How long can I reuse this delicious bacon grease for cooking?

I cooked some bacon about a week ago and left the grease in the pan.  I've used it the last two nights with great success for cooking other meals.  How long is it safe to reuse?  I figure since I'm heating it up to a million degrees each time I use it it's probably pretty safe, but.... I'd rather not get food poisoning.


Blender resizes and moves my objects when I close the file, and I open it again. Also when I try it to render it, it gives a different picture than in the object mode. Why and how could I solve this problem?  For example  In Object mode:   Rendering:   It is doing it all the time.


I have 2 sql server statements .  Delete from hello where id=1  Insert into hello name,age  select name ,age from welcome   If either of one fails.No Deletion or Insertion should be done.  I tried with transaction    Begin Tran      Delete from hello where id=1      Insert into hello (name,age)      select name ,age from welcome   Commit Tran   But if either one is gone wrong .Other one is committed.Am i missing something.   2 delete statements  BEGIN TRY     BEGIN TRAN;     delete from hello where id=1    delete from hello where id=19  // here id=19 doesn't exist      COMMIT TRAN; END TRY BEGIN CATCH     IF @@TRANCOUNT > 0 ROLLBACK;     THROW; END CATCH;   Here id=19 doesn't exists so it should rollback but it is deleting id=1. It is committed instead of rollback.What should i do in this Scenerio..


how to install linux-headers-3.5.0-32-generic

When i try to install some apps i get a message:  linux-headers-generic-lts-quantal : Depend: linux-headers-3.5.0-32-generic but it is not installable   uname -a  Linux ubuntus 3.5.0-27-generic #46~precise1-Ubuntu SMP Tue Mar 26 19:33:56 UTC 2013 i686 i686 i386 GNU/Linux   dpkg -l | grep linux-image  ii  linux-image-3.5.0-23-generic      3.5.0-23.35~precise1         Linux kernel image for version 3.5.0 on 32 bit x86 SMP ii  linux-image-3.5.0-27-generic      3.5.0-27.46~precise1         Linux kernel image for version 3.5.0 on 32 bit x86 SMP ii  linux-image-3.5.0-28-generic      3.5.0-28.48~precise1         Linux kernel image for version 3.5.0 on 32 bit x86 SMP ii  linux-image-3.5.0-30-generic      3.5.0-30.51~precise1         Linux kernel image for version 3.5.0 on 32 bit x86 SMP ii  linux-image-3.5.0-31-generic      3.5.0-31.52~precise1         Linux kernel image for version 3.5.0 on 32 bit x86 SMP iU  linux-image-3.5.0-32-generic      3.5.0-32.53~precise1         Linux kernel image for version 3.5.0 on 32 bit x86 SMP iU  linux-image-generic-lts-quantal   3.5.0.32.39                  Generic Linux kernel image


I am trying to make, with tikz package, curved arrows like this:   Can somebody help me? Thank you in advance


Can't login to or su to root on the console after upgrading to 18.04

I just upgraded from 16.04 to 18.04 and can no longer login as - or su to - root at the console. There used to be a specific configuration for this console restriction in System V Unix's IIRC. Logging in as a regular user works fine at the console and I can still su to root in SSH logins, although cannot login directly as root (I don't recall whether this worked in 16.04 - I just never did that, always logged in as a regular user first). Any ideas? TIA. To clarify: 'su' works fine in a remote shell, but not at the console. I'm getting: su: Authentication failure


"The reason being" — Why is this grammatically correct?

Observe the following three sentences.   I have a dog. The reason being dogs are fun.  I have a dog. The reason being is dogs are fun.  I have a dog. The reason is dogs are fun.    Even though I regularly hear sentences like 1 and 2, I do not understand why they are grammatically correct.


Submitting ACM Conference papers to ArXiv

I'm a little confused. The  states:     ACM authors hold the right to post copies of their own peer-reviewed accepted ACM works on any non-commercial repository or aggregation that does not duplicate ACM tables of contents, i.e., whose patterns of links do not substantially duplicate an ACM-copyrighted volume or issue. Non-commercial repositories are here understood as repositories owned by non-profit organizations that do not charge a fee for accessing deposited articles and that do not sell advertising or otherwise profit from serving articles.   However, the  site states:     Can I publish the published version of my publication on arXiv?       No. An ACM author cannot grant arXiv.org or any other publisher rights to distribute their works that have been published by ACM.   SHERPA/Romeo shows ACM as being a "Green Publisher", which would support the case that I can upload to ArXiv.   states that I can upload pre- or postprints under certain circumstances, but does not explicitly mention Arxiv, positively or negatively.  So, what is it? Can I submit a paper I published with an ACM Conference (ACM WiSec, if that makes a difference) to ArXiv or not? As I understand it, ArXiv is a non-profit, so it would fit the terms of the publishing policy. Or is this related to the rights you have to grant ArXiv upon submission?  If I can only publish a specific version of the paper, which one?


Why don't we consider both time dilations in Special Relativity Questions?

If we have a periodic motion happening in frame A and if a moving frame B was to observe the event, B would see the time period reduced to $\frac{T_A}{1+v/c}$. This happens because of the finite amount of time light takes to deliver the message to B that change occurred in A Apart from this, there is time dilation from SR that affects the mechanism of periodic motion itself. That is if the period of motion is $T_A$, (time between ticks of any clock), the period as observed by B would be $T_B = T_A\sqrt{1-\frac{v^2}{c^2}}$ So if two frames are in relative motion, shouldn't we consider both effects? I mean in common physics questions like : If I were to look at the clock in a moving spacecraft, And if my clock ticks once every second, then at what rate would his clock tick? I believe it should be : $\frac{1}{1+v/c} \times\text{dilated time between ticks} $ $=\frac{1}{1+v/c} \times \ \sqrt{1-v^2/c^2}={\sqrt{\frac{1-v/c}{1+v/c}}}$ but textbooks just mention the dilation factor only.


Randomizing output of HKDF for the same input key material

Given  and a master input material key $k$, I would like to derive ephemeral keys that cannot be linked together. If I understand correctly, the specification of $HKDF$ adding a unique random $salt$ while generating each new ephemeral key should randomize the output. Is it the case? An example: I have a master input key k (unknown to the adversary). I generate 10 ephemeral keys as $x_0 = HKDF(k, salt_0), x_1 = HKDF(k, salt_1), \ldots , x_9 = HKDF(k, salt_9)$. And $x_0 \neq x_1 \neq \ldots x_9$.


How can shrinkage methods help you improve model fit?


I have several huge .txt files and I need to remove a line if it is exactly 9 characters long. No more no less.  Is there a way to do this using awk / sed?


We all know how an electric current causes magnetic fields. But when a single electron is flowing through the wire, how is this electron creating the magnetic field or how are electrons responsible for magnetic field around a wire?


Hochschild (co)-homology of a formal quantization of an associative algebra

Let $A$ be a commutative associative $k$-algebra and let $A[[\hbar]]$ be the formal deformation of $A$.  I would like to know if there is a relation between the Hochschild co-homologies $HH^{\bullet}(A,A)$ and $HH^{\bullet}(A[[\hbar]],A[[\hbar]])$, respectively. In particular, is it true that $HH^{\bullet}(A[[\hbar]],A[[\hbar]])=HH^{\bullet}(A,A)[[\hbar]]$?


Find out how much memory is being used by an object in Python

How would you go about finding out how much memory is being used by an object? I know it is possible to find out how much is used by a block of code, but not by an instantiated object (anytime during its life), which is what I want.


Best alternative of Itunes for the use of iPods

I have a large music collection on an external drive, and until I installed ubuntu, my preferred music player was Itunes. I am currently using Rythymbox. Is there a program that is better for listening, loading onto Ipods, and general organization?


Is warp factor recalibration also an in universe event?

I’ve always assumed the warp factor recalibration was a result of someone not liking the warp numbers going bigger and bigger and thus limiting the max to 10, therefore the recalibration being an out of universe event. I have never stopped to think whether this was ALSO an in universe event in which the way the Federation itself measures warp changes and therefore this is something more akin to the US moving to SI units for example.  Is the warp factor recalibration in Star Trek an in universe event or is it an entirely out of universe event?


What makes electrons behave like particles or waves at different times?

I am quite puzzled about the theory that electrons or light often behave as particles and sometimes as waves. So, I wanted to know more about this phenomena and what happens when and why.


How to justify footnotes, with each row right of the number

LaTeX newcomer here. Working on a paper, and I'm trying to make my footnotes look more or less like this:    I got rid of the divider and increased the space between main text and footnote, but I have not been able to format the indentation and alignment properly. Does anyone have any ideas?   Thanks!


What is the easiest way to parse an INI file in Java?

I am writing a drop-in replacement for a legacy application in Java.  One of the requirements is that the ini files that the older application used have to be read as-is into the new Java Application.  The format of this ini files is the common windows style, with header sections and key=value pairs, using # as the character for commenting.  I tried using the Properties class from Java, but of course that won't work if there is name clashes between different headers.  So the question is, what would be the easiest way to read in this INI file and access the keys?


can any body please tell me how to integrate the following expression:  $$\int\frac{x}{1+x^4}\,\mathrm {d}x$$   please help...


How to join first letter of a list with all the letters of another and print it

I have two python lists, namely, num = ['0', '1'] and salpha = ['a', 'b', 'c', 'd', 'e'] and\ I want the result to be,\  0a 0b 0c 0d 0e 0@ 0# 1a 1b 1c 1d 1e 1@ 1#\ How can I do that..??


What is the Gundam anime and movies and OVA order?

There are a lot of Gundam anime series, movies and OVAs, so I don't know where to start.  Can anyone tell me its order to watch it?


I'm trying to install Ubuntu 13.10 on the virtual box on my HP laptop it has following configurations:   6Gb RAM i3-3110M CPU @ 2.40GHz 64-bit Operating System  But while it installs the OS it shows me error, which states that:      This kernel requires an x86-64 CPU, but only detected an i686 CPU.   Unable to boot - please use a kernel appropriate for your CPU.


How to find ma and nb that multiply to c?

I'm trying to figure out the solution to the following problem: $4585a+6734b=7$, where $a$ and $b$ are integers. I am familiar with how to calculate the $\gcd$, but how can $a$ and $b$ be directly calculated?