How to create a bootable DVD to install Ubuntu 18.04 in Windows 10 Yesterday I downloaded Ubuntu ISO file from . Then I used Windows file explorer to burn the ISO to my DVD-R. Then I went to boot manager and selected the DVD drive. It showed "Please select a proper boot device".  I guess I have to install grub bootloader in order to install Linux but I don’t have any idea how to install it on my DVD.
What is the proper way of creating installation media from Ubuntu iso? This is the third time I've tried to install Ubuntu Server 14.04.03 64-bit on the same laptop, and each time it caused different problems.  Each time I wrote the same iso image to a USB flash drive by using a different application and OS.   Universal USB Installer (pendrivelinux.com) from Windows WinImage writer from Windows built-in image writer from Linux Mint 17.2    The iso image is the same in all three cases, the USB flash drive is the same, and the laptop is the same. However each time the installation of Ubuntu gave me different installation options. For example, the last time I installed Ubuntu, it didn't show all the packages to choose while installing (Basic Ubuntu server, etc.).
Theory behind partial least squares regression Can anyone recommend a good exposition of the theory behind partial least squares regression (available online) for someone who understands SVD and PCA?  I have looked at many sources online and have not found anything that had the right combination of rigor and accessibility.    I have looked into The Elements of Statistical Learning, which was suggested in a comment on a question asked on Cross Validated, , but I don't think that this reference does the topic justice (it's too brief to do so, and doesn't provide much theory on the subject).  From what I've read, PLS exploits linear combinations of the predictor variables, $z_i=X \varphi_i$ that maximize the covariance $ y^Tz_i $ subject to the constraints $\|\varphi_i\|=1$ and $z_i^Tz_j=0$ if $i \neq j$, where the $\varphi_i$ are chosen iteratively, in the order in which they maximize the covariance.  But even after all I've read, I'm still uncertain whether that is true, and if so, how the method is executed. K-Means clustering for mixed numeric and categorical data My data set contains a number of numeric attributes and one categorical. Say, NumericAttr1, NumericAttr2, ..., NumericAttrN, CategoricalAttr, where CategoricalAttr takes one of three possible values: CategoricalAttrValue1, CategoricalAttrValue2 or CategoricalAttrValue3. I'm using default . It works with numeric data only. So my question: is it correct to split the categorical attribute CategoricalAttr into three numeric (binary) variables, like IsCategoricalAttrValue1, IsCategoricalAttrValue2, IsCategoricalAttrValue3 ? Is there a way to substring a string in Python, to get a new string from the third character to the end of the string?  Maybe like myString[2:end]?  If leaving the second part means 'till the end', and if you leave the first part, does it start from the start? Ampscript date range lookup I want to use LookupOrderedRows and return rows between a start and end date (last month range). What is the best way to handle using Ampscript?   I can add one date to the where using   "DateField", @varStartDate,   But if I add the below to add additional where filters  "DateField", @varStartDate,"DateField", @varEndDate,   I get this error:     "Duplicate Key Field Name: DateField"   EDIT: Also I tried the range as the var for the LookupOrderedRows using   set @strRange = StringToDate(Format(DateDiff(@strStartDate, @strEndDate, "M"),"MM/dd/yyyy"))  and then in the LookupOrderedRows just using  "DateField", @strRange  But that got an error as well. Validate date format in php Proving that $d(f,g)=\|f-g\| = \sup \limits_{0\leq x \leq 1} |f(x)-g(x)|$ is a metric on $X=C[0,1]$ No module named numpy I am trying to run Jupyter notebook from my Ubuntu subsystem in Windows 10. I've installed numpy, scipy, and pandas using the following commands:  pip install scipy numpy pip install pandas   When I load python in Ubuntu, there is no issue importing numpy in Ubuntu cmd.   But, when I run my Jupyter Notebook from Ubuntu terminal, and try to import numpy as np, or import pandas as pd, they report  ModuleNotFoundError                       Traceback (most recent call last) &lt;ipython-input-1-a9340201ed9f&gt; in &lt;module&gt;       5 import dash_html_components as html       6 import plotly.graph_objs as go ----&gt; 7 import numpy as np       8 from dash.dependencies import Input, Output       9   ModuleNotFoundError: No module named 'numpy'   Is there anyway to solve this issue? Thanks a lot. SQL Servers has Traces and XEvents. These are used to capture and analyze what is going on with our SQL Server Instances. Events are stored in the stack for later analysis. For example,  If I decide to monitor any dead lock in the database, I just query the trace file to see the history of deadlock for a period of time. Here is my question:  While events occur, in our example deadlock event, is there a way to get an email notification using msdb.dbo.xp_send_dbmail? Bezout's identity in $F[x]$ Let $F$ be a field and $F[x]$ a polynomial ring. Let $p(x)$ be an irreducible polynomial.  Show that $\gcd(p(x),q(x)) = 1\Longrightarrow \exists r(x),s(x)$ such that $r(x)p(x)+s(x)q(x) = 1$.  I know the proof for Bezout's identity for , but this proof uses the notion of absolute value, which cannot be applied to a polynomial ring.   I am thinking about a way to prove the statement: Use the Euclidean algorithm to compute $\gcd(p(x),q(x))$ and show that the result is $1$, and somehow go backwards to obtain $r(x)p(x)+s(x)q(x) = 1$, but it is a bit messy, and I'm not yet able to see it completely.  Please offer some help. If you have some other methods, that would be great, too. How to do volumetric lighting for a forest scene? Re-number a list when a new entry is inserted I have Raster data for a country which has Evaporation Data in its pixels. I also have Vector layer which has the 30 cities of the country.   What I need is the average Evaporation value of each city from the raster data using ArcGIS?  I have access to the spatial analyst extension. What is moiré? How can we avoid it? What is the image defect called "moiré"? What causes it, and how can we avoid or reduce it? Is it related to "false color"? Story about building up speed leading to increased quality of life It's a story I read in 2 or 3 parts in a Greek sci-fi magazine called 9 around 2004 (give or take a few years), but it may be a bit older than that. This is what I remember (and I hope it's all accurate):   The protagonist used to travel a lot, mainly using high speed media like aircraft. It was established in the story that as he traveled more frequently and with more speed, he would gradually cross over towards (sort of) higher planes of existence (and that everyone in the setting could do the same, although most people simply didn't bother). These higher planes of existence were apparently still Earth, but the environments and the inhabitants were increasingly more alien and life in them was increasingly luxurious. As far as I recall, the protagonist's goal was to reach those higher levels (either for the luxury or for some other reason I can't recall). If he failed to maintain his "speed" for too long, he would fall back to lower planes of existence, with more familiar characteristics and significantly lower quality of life. His wife had died some time ago and her grave was apparently in the lower planes. He did visit her once near the end of the story, before starting to build up "speed" again.   I don't happen to know the original language of the story because what I read was a version translated into Greek. @track vs @api (Lightning Web Components) Let's say we have this code for a LWC:  &lt;!-- helloExpressions.html --&gt; &lt;template&gt;     &lt;div class="slds-m-around_medium"&gt;         &lt;lightning-input name='firstName' label="First Name" onchange={handleChange}&gt;&lt;/lightning-input&gt;         &lt;lightning-input name='lastName' label="Last Name" onchange={handleChange}&gt;&lt;/lightning-input&gt;         &lt;p class="slds-m-top_medium"&gt;Uppercased Full Name: {uppercasedFullName}&lt;/p&gt;     &lt;/div&gt; &lt;/template&gt;   and this is the JS file:  // helloExpressions.js import { LightningElement, track } from 'lwc';  export default class HelloExpressions extends LightningElement {     @track firstName = '';     @track lastName = '';      handleChange(event) {         const field = event.target.name;         if (field === 'firstName') {             this.firstName = event.target.value;         } else if (field === 'lastName') {             this.lastName = event.target.value;         }     }      get uppercasedFullName() {         return `${this.firstName} ${this.lastName}`.toUpperCase();     } }   firstName and lastName have been decorated with @track. Now as per the documentation, decorating a property with @track makes it private and reactive, while to mark a property public and reactive, use @api.  So if I just change the decorator to @api for both these variables, it should work. I am referring these from the same component only. But it's not working.  UPDATE: 27th Feb -------------------- Somehow it's working today. I just changed the decorator of the variables to api.  import { LightningElement, api } from 'lwc';  export default class HelloExpressions extends LightningElement {     @api firstName = '';     @api lastName = '';      handleChange(event) {         const field = event.target.name;         if (field === 'firstName') {             this.firstName = event.target.value;         } else if (field === 'lastName') {             this.lastName = event.target.value;         }     }      get uppercasedFullName() {         return `${this.firstName} ${this.lastName}`.toUpperCase();     } }   So it's working. I need to sync the Downloads folder to iCloud and then all the downloads should automatically sync with iCloud.   I tried to:   Create a new Downloads folder in the terminal of MacBook in the Documents directory. Tried to move the default Download folder to the newly created folder.   When I tried to use the mv command to move the default Downloads folder to the newly created Downloads folder in Documents in the terminal, it gives permission denied error.  I am trying to achieve what was suggested by user PhillipHolmes in the below thread, please. Thank you:    Thank you I've been using Texmaker for ~5 years now and prefer it over other editors because of its flexibility.   Is there a way to auto-indent LaTeX code in TeXmaker so that the code becomes more manageable ? OpenLayers and OSGB 1936 (CRS 27700) I've been working with loads of shapefiles projected according to OSGB 1936 (CRS 27700). The project CRS is set to EPSG:27700 and "On the fly reprojection" to EPSG:27700 is set (I keep this as a default as I work with OSGB 1936 95% of my time).  I decided to download OSM layers from the OpenLayers plugin. When I load this, the EPSG in the bottom right of the screen goes from EPSG:27700 to EPSG:3857   Question 1: should this be happening anyway as it would suggest that the whole project has been re-projected to EPSG:3857?   As soon as the OSM layer is loaded it's way out of alignment but a quick pan seems to bring it altogether quiet nicely.   What I have noted is that (Question 2), if I try to re-specify the CRS to 27700, then the shapefiles "move" by a few tens of meters with respect to the OSM. Does this suggest that QGIS is doing a second re-projection (from what to what?)?   Also (Question 3), does it mean that if I import another shapefile that would be originally a dataset digitised with EPSG:27700 it would be re-projected to EPSG:3857 because the CRS in the bottom right of the screen was set to EPSG:3857 after the OSM import. This is all a bit confusing and logic would suggest that the import of a non-ESPG:27700 (project default CRS) should not go and change the EPSG setting in the bottom right of the screen. Anita Graser's book says on page 34 "Your project CRS will automatically be changed to Pseudo Mercator when you load a background map using the OpenLayers plugin option".   Does that mean there is no way of keeping ESPG:27700 active in the project when importing basemaps from OpenLayers? If so, what alternatives are there?  What I am trying to bottom out is to understand the correct way of importing basemaps (usually Google, Bing or OSM through the OpenLayers plugin) into my projects (always EPSG:27700) without losing alignment and getting layers to correctly re-project. I'm trying to support greater use of QGIS in my company but don't want to lose credibility by promoting the use of a tool that is misaligning datasets. Don't get me wrong. QGIS is a great tool and I am very fond of it but importing layers with different CRS's is quite common these days and getting this right from the start is half the job done.  I did quite an extensive Google search before posting and didn't come up with a recent, clear cut answer to my questions above. There is a bit of content out there on problems with older versions of QGIS, PROJ4, etc. but nothing recent for QGIS 2.0 so worth an update. If you willingly fall on your turn does it cost movement?  As a DM I'm thinking about how to handle things such as creatures who are immune to being prone, diving into the water from a height, or a flying creature diving off a cliff and taking a fall before taking flight. There are many circumstances where you can fall without taking damage or being knocked prone afterward, and I'm not sure how to determine movement following the dive.  For example, my character walks up to a ledge above a 10 foot drop to the ground below. After taking 5 feet of movement to step off the ledge, I allow myself to fall. When I hit the ground have I used 15 feet of movement or just 5? How to delete a keyboard layout in Windows 10 I installed Windows 10 on a physically German keyboard, then installed a Window English software keyboard and bought some little stickers to make my keyboard look OK.  However, Windows shows 2 keyboards installed &amp; occasionally toggles back to German.  Note that I am not talking about removing a language (which is all that I can find when I Google).  How do I remove the German keyboard layout?