I have a company that needs a basic website for the lifetime of the company being about 50 years.  Is there a service that does this because I have had domain names lapse for services like this before for non tech savvy companies.

I have heard that Google trust that website which has long expiry date. that want to know how can I register my domain for a long period.


PROBLEM: Find the number of functions $F: \{1,2,3,4,5\} \to \{1,2,3,4,5\}$ such that $F(F(x))=F(x)$. My approach: I tried to approach in a logical manner But for small cases $F: \{1,2\} \to \{1,2\} = 4$ (no of such functions) $F: \{1,2,3\} \to \{1,2,3\} = 13$ ( no of such functions) I think via combinatorics we might get the answer I wasn't able to do it Can you please help me. Answer is $196$

If $A=\left\{1,2,3,4,5\right\}$ Then     Find Number of functions $f : A \to A$ such that $f(f(x))=f(x)$   Case $1.$ if $f$ is injective then $f(f(x))=f(x)$ $\implies$ $f(x)=x$, hence there is only one injective function which is an identity function.  Case $2.$ When $f$ is many to one function  Let us assume that $f(1)=f(2)=f(3)=f(4)=f(5)=k$ Then clearly for any $k$ from the set $A$, $f(f(x))=f(x)$  hence there are five such functions.  Are there any other possibilities?


I'm trying to launch an applet(called Tennis) from a different class(called NewClass) where the user enter a number and based on that number which applet should be ran.. I can create an object of the applet but when I call the init function I get a nullpointer exception. but when I run the applet from itself without the newclass it runs fine.  public class NewClass {      public static void main (String [] args) {          Tennis t = new Tennis();         t.init();       }  }    public class Tennis extends Applet implements Runnable, KeyListener {      final int WIDTH = 700, HEIGHT = 500;     int pts = 0;     Thread thread;     HumanPaddle p1;     AIPaddle p2;     Ball b1;     boolean gameStarted;     boolean lost;     Graphics gfx;     Image img;     String points;     int level = 0;     String user;     public Tennis(String user){         this.user = user;     }     public Tennis(){     }       public void init(){          this.resize(WIDTH,HEIGHT);          this.addKeyListener(this);         p1 = new HumanPaddle(1);         b1 = new Ball();         p2 = new AIPaddle(2, b1);         img = createImage(WIDTH,HEIGHT);          gameStarted = false;         lost = false;         thread = new Thread(this);         thread.start();         gfx = img.getGraphics();      }     public void reset() {         b1.x=350;         b1.y=250;          b1.xVel = b1.getRandomSpeed() * b1.getRandomDirection();         b1.yVel = b1.getRandomSpeed() * b1.getRandomDirection();         gameStarted = false;         p1.y=210;         p2.y=210;         lost = true;      }      public void paint (Graphics g){         gfx.setColor(Color.black);         gfx.fillRect(0, 0, WIDTH, HEIGHT);         points = ""+b1.pts;         if(b1.getX() < -10 || b1.getX() > 710){             reset();         } else {         p1.draw(gfx);         p2.draw(gfx);         b1.draw(gfx);         gfx.drawString("Score: " +points , 10 , 30);           }          if(!gameStarted && !lost){             gfx.setColor(Color.white);             gfx.drawString("Press Enter to Begin", 290,160);             gfx.drawString("CS Project",310,130);          } else if (!gameStarted && lost) {             gfx.setColor(Color.red);             gfx.drawString("Game Over" , 320 , 120);             gfx.drawString("Score: " + points , 330 , 140);             gfx.drawString("Press Enter to Begin", 300,160);          }          g.drawImage(img, 0, 0, this);     }      public void update (Graphics g){         paint(g);       }      public void run(){         for(;;){             if (gameStarted) {                  b1.move();                 p1.move();                 p2.move();                  b1.checkPaddleCollision(p1,p2);                 //gfx.setColor(Color.red);                //gfx.drawString("Score: " + pts, 300,150);             }             repaint();             try {                 Thread.sleep(10);             } catch (InterruptedException e){                 e.printStackTrace();             }         }      }      @Override     public void keyTyped(KeyEvent e) {      }      @Override     public void keyPressed(KeyEvent e) {         if (e.getKeyCode() == KeyEvent.VK_UP){             p1.setUpAccel(true);         } else if (e.getKeyCode() == KeyEvent.VK_DOWN) {             p1.setDownAccel(true);         } else if(e.getKeyCode() == KeyEvent.VK_ENTER && lost){             gameStarted = true;             points = "";             b1.pts = 0;         } else if(e.getKeyCode() == KeyEvent.VK_ENTER && !lost){             gameStarted = true;             level++;         }     }      @Override     public void keyReleased(KeyEvent e) {         if (e.getKeyCode() == KeyEvent.VK_UP){             p1.setUpAccel(false);         } else if (e.getKeyCode() == KeyEvent.VK_DOWN) {             p1.setDownAccel(false);         }     }  }   Exception in thread "main" java.lang.NullPointerException     at infMode.Tennis.init(Tennis.java:56)     at infMode.NewClass.main(NewClass.java:25)   (Tennis.java:56)  gfx = img.getGraphics();   (NewClass.java:25)  t.init();

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


I am working on a game in unity3d in which I want to display the details about the players when a button is being pressed. Suppose there are 12 players so for that I will have to make 12 UI buttons as well and I have done that too but the problem is that how to display image after clicking the buttons? If anyone knows please sort out my problem, any help would be more appreciated. Thanks in advance

I am working on a racing game in Unity3d and I have to show the rank as the winners touch the winning point.  As the winners reach at the winning point the image of the winner number should pop up for 1-2 seconds that is it.  How do I do it? Can anyone sort out this problem? Any help would be appreciated.  Thanks in advance :)


I'm user1 and I created the user.file file, so I'm the owner of this file. I would like to change the owner of this file with the chown command as follows:  $ chown user2 test.file chown: changing ownership of 'test.file': Operation not permitted   If I'm logged in as root the command work perfectly. Why can't I change the ownership when logged in as the file owner?

Why is the chown command root-only? Why can't non-root users use chown to give away files they own?


I was studying calculus and I got stuck in proving that     $$\lim_{x \to 0} \frac{\sin(x) - x}{x^2} = 0.$$   Using L'Hospital is easy. However, I want a proof where I don't use L'Hospital.  Help?

It is easy to see that $$\lim_{x\to 0} \frac{\sin x - x}{x^2} =0, $$but I can't figure out for the life of me how to argue without using L'Hospital or Taylor. Any ideas?


Hi I have a 'camera' symbol on my passport on the front page. My passport was issued to be in September 2006 and is Valid until May 2017 - does that mean my passport is fine to travel to the USA and meets the e passport/biometric requirements to enter the USA. I have an approved ESTA also. I fly to the USA next week so am rally worried.

I am going to Florida in a few days. I have a British passport that I acquired in September 2006. It has a "camera" symbol on front and is biometric. Just seen news items that only passports from October 2006 or later will be accepted by the USA. Is my passport valid for travel to the USA? I do have a valid ESTA.


In my document, I use this script:  %the template \documentclass{llncs} \usepackage{blindtext} \usepackage{xpatch}  %for foot page numdering \usepackage{fancyhdr}  \renewcommand{\headrulewidth}{0pt} \fancyhf{} \cfoot{\number\value{page} of \pageref{LastPage}} \pagestyle{fancy}   \xpatchcmd{\maketitle}{\thispagestyle{empty}}{}{}{}              %end page numbering  \begin{document}  %\includepdf[pages={17-23}]{master_paper.pdf} \title{Document Title} \author{Name Here} %\\Supervised by: Prof. Cas Cremers \institute{Institution)\\ \email{zz@yy.com}}  \maketitle   \begin{abstract} Abstract goes here.. \end{abstract}   \section Section Here  \end{document}   The problem is that, when I view the document in PDF format, at the buttom of the page, the page numdering does not appear properly. It appears as: 1 of ?? i.e. it does not show the total number of pages as supposed.

I receive the a Reference "LastPage" undefined error when trying to compile a document with this syntax:  \fancyfoot[R]{\thepage/\pageref{LastPage}}   What is necesarry to prevent this error? I'm using TeXworks Version 0.4.3 (MiKTeX 2.9) and pdfLaTeX.


My iPhone 6 is broken and the screen won't work it just comes up with green and red and pink lines down and I can't see. I want to be able to back up all my photos. But i have a password so when i plug it onto my laptop is says I can't because my iPhone is locked.

I dropped my iPhone 6 today; even though there is no noticeable harm on the outside, my phone screen is completely broken. Actually, the phone does not even vibrate when I turn it on. The only reason why I know that it turns on (I think), is that my iTunes say "iTunes could not connect to the iPhone 'my iPhone' ... because the passcode is not entered." I have tried holding home + power button for zillion seconds, and it does not do anything for me. I think the display is really gone.  Although it stinks to have my phone broken, I am more concerned about the data I have inside. I have many text messages with my girl-friend and voice memos that I do not want to lose. I have a program that can obtain these data, but because I cannot unlock the phone with my screen completely gone (I think touch is not working either), I do not know what to do.  Could you please help me?


I have seen many DC motors with a piece of sheet metal that is bent and snaps onto the motor casing.  What is its purpose? Is it an additional cooling body? Or maybe to concentrate the magnetic field better? It covers the whole area where the permanent magnets are on the inside.

I have recently taken apart a few cassette players to get motors, and I have noticed there is always a metal sleeve around the main drive motor.  Here is an Ebay product photo showing this on a Mabuchi EG-530AD-2B motor:   The sleeve is not attached to the motor and can be easily removed by sliding it off. I have not seen them on DC motors anywhere else. What is it there for?  The reason I chose an EG-530AD-2B motor is because one of the cassette players I took apart had a 'Mebochi' (not Mabuchi) brand EG-530AD-2B motor with a very similar label to the one shown below, except that the text was blue. I cannot seem to find any information about this online. Does anyone have any idea what it is?


When compiling  \documentclass{article} % For Cyrillic: \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \begin{document}   This text is fuzzy (размытые очертания). \end{document}   I get this:    And when I remove Cyrillic  \documentclass{article} \begin{document}   All letters have crisp edges.  \end{document}   I get   Is there an easy modification of the first document that would make the edges crisp?  I usually need just a few words in Cyrillic, and making the whole document fuzzy is too high a price to pay for me.  Added on 23 December 2018: Thank you to all who answered my question.  Unfortunately, installing CM-Super did not work for me.  Normally MiKTeX installs packages on the fly, but for CM-Super I was getting error messages.  Since I need just a few words in Cyrillic (in the bibliography) and often share my files with colleagues and publishers, installing CM-Super would be an overkill.  My solution in the end was:  \documentclass{article} \input{T2Aenc.def} \usepackage[utf8]{inputenc} \newenvironment{cyr}   {\begingroup\fontencoding{T2A}\selectfont}   {\endgroup} \begin{document}   The English fonts are vector and Cyrillic bitmap   (\begin{cyr}последнее мне не важно\end{cyr}). \end{document}   The Russian font is still bitmap, but I can live with it.

I use some russian text in my file and when I compile it to pdf text becomes diffuse and transparent. How can I fix it? (To compile source file I use latex + dvipdfm, MikTex version 2.9)  This is my code:  \documentclass[12pt]{article}  \usepackage[russian,english]{babel}  \usepackage[landscape, left=0.7cm, right=0cm, top=1.5cm, bottom=0.4cm]{geometry}  \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhead[L]{Left} \fancyhead[R]{Right} \fancyheadoffset{-0.5cm}  \begin{document} \selectlanguage{russian}  Hello world!  Привет мир!  \end{document}


I'm trying to create a coffee logo, saying "COFFEE HOUSE", but I can't seem to figure out how to change the type direction into somewhat of a "U" shape. Here's a picture for reference:   I want to add the word "HOUSE" right under coffee, so it satisfies the circle shape. Like this:    Can someone help me? I know it's a simple task but I'm a complete newbie when it comes to Illustrator. Please and thank you :)

I'm putting some type on a path, a circle; but when I do it, the type is upside down. How can I flip it so it reads the right way up? See image below:


It's my first time posting so if I omit anything that I shouldn't have please let me know.  I'm using TeXnicCenter, when I view my output after building my first page is blank apart from: "ï»¿".    A little research () showed this has something to do with BOM? I don't really understand, I only started using Latex a few hours ago and I just can't get rid of this.  (I've omitted the code I'm using as I had the same error when trying to view a template.)

Unicode applies the convention of using a  as signature at the beginning of a text stream, identifying the encoding used within it. The following three bytes at the beginning of a file: EF BB BF, identifies this file as a UTF8 file. Vi and most text editors gracefully ignore this signature. Open office does that as well, but it adds this signature at the beginning.  Now, if I open a TeX file with OpenOffic.org, and I do that quite a lot (for mixed directionality editing), the signature is added, and baffles LaTeX, which produces an error message such as:   ! LaTeX Error: Missing \begin{document}.   See the LaTeX manual or LaTeX Companion for explanation.  Type  H <return>  for immediate help.  ...                                                l.1   ��\documentclass{article}   whereas a simple dump of the file does not show the problem. Is there a way to eliminate this problem, while staying in the realm of latex?


I have just written a paper in LaTeX, for the bibliography I used natbib. But there is the following mistake: In file.bib I input as @book{driscoll2002schwarz,   title={Schwarz-Christoffel mapping},   author={T. A. Driscoll and L. N. Trefethen},   volume={8},   year={2002},   language={English},   publisher={Cambridge University Press} }  After Typeset, the result----->  [12] T. A. Driscoll and L. N. Trefethen, Schwarz-christoffel mapping,...  The mistake in "Schwarz-christoffel", I want to be "Schwarz-Christoffel"

Titles of articles I'm about to cite contain upper case letters and when using BibTeX it converts them to lower case ones. This happens only in the title and only the first letter conserves its case. For example, when I cite an article about HF, the reader won't know if it is about Hafnium (Hf) or fluorine acid (HF).  I know that I can fix it manually in the .bbl file but I would like to avoid it, or fix it automatically.


I used book class to write my thesis as follows  \documentclass [12pt,oneside,final]{book}   The title of some chapters are long so it reaches the page number as shown in picture.  how I can breaks Long titles of the chapter in the headers into 2 lines so it will look better  any idea

I am having troubles with wrapped text in the header.  At the moment it looks like this:   And this is how I would like it to look like:   This is my code:  \documentclass[12pt,a4paper]{article}  \usepackage{titling}   \usepackage{geometry}  \usepackage{fancyhdr}  \geometry{a4paper, left=30mm,right=20mm, top=25mm, bottom=20mm}  \setlength{\headheight}{12.7mm} \pagestyle{fancy} \fancyhf{} \lhead{\textbf{\thetitle}} \rhead{\textit{\thepage}}  \title{This is a really long title which takes lot of space in header, so it is wrapped over to the next line.}  \begin{document} \end{document}   Basically I need some spacing between lhead and rhead content, no matter if lhead content will be wrapped into multiline.


Thank you for taking the time to look at my question.  I have a robot figure that is split up into a collection of various objects.  Some of these objects will make up separate vertex groups that will be paired with a bone, such as the head (consisting of the helmet, eyes, nose, mouth, etc.), but the author of the file split the objects up by color.  So, some head parts will be silver, as will some chest parts, while other parts of the head, arms, torso, and legs will be blue.  I'd like to group these for ease of use, but I'm not sure what the best way would be to go about doing it. Put another way, I'd like objects A, B, C, D, and E to be colored blue, but A and D are part of the head, and should be in the vertex group "head", while objects B, C, F, H, and K are part of the legs, so they should be in the vertex group "leg".  How do I do this?

How do you add more than one material to a mesh?   I have tried adding two materials to the object, and then assigning one of the materials to a vertex-group, but I could not find a place to assign it.  I am making a striped bouncy ball that I want to deform, so adding a different material by separating the mesh into different objects would not be ideal.


I am on a quota-based internet where I am. I have a USB 3G modem that plugs into my TP-Link MR3420. My quota is being drained quickly, but only my wife and I connects to this router and during the day I am out at work. Wife is not a power user either she only uses Instagram, Facebook, Whatsapp, BBM, and some email and general browsing. Yesterday suddenly more than 1GB was drained when I wasnt home. I installed Data Usage app on our iPhones and none used that much. So either someone is stealing my internet or the ISP is cheating me. I looked through the Wifi connection list and didnt see anything suspicious.   What can I do to know exactly what goes between our devices, router, internet? I am hoping to find something that can tell me exactly which device connected to what server, up/download how many KB, and at what time.   Appreciate your help

I need to know which computer is consuming my bandwidth. Is there a tool to do this?


For a school assignment, we have to make a Shopping cart class, along with an Item class and a runner. I figured out how to print out a receipt for items the user enters, but one thing I can't figure out is how to write a sort method using insertion Sorting, which orders each item in the cart by its total cost (price * quantity)  Here is my error:  java.lang.NullPointerException     at ShoppingCart.sort(ShoppingCart.java:54)     at Shopping.main(Shopping.java:32)   I went back to the lines stated  ShoppingCart: (line 54)  public void sort() {     double temp;     int pos = 0;     for (int i = 1;i< cart.length;i++){       temp = cart[i].itemPrice(); //line 54       pos = i;       while (pos>0 && temp < cart[pos-1].itemPrice()) {         cart[pos] = cart[pos-1];         pos--;       }       cart[pos] = cart[i];     }   }   Shopping: (line 32)   cart.sort();   And here is my method to get the price in the Item Class  public double itemPrice(){      return total; }   I'm not sure how to fix the Null Pointer Exception error.

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


I have a folder of audio files. Most are single sounds -- or soundSprites -- while some are several soundSprites concatenated into spriteLists. These spriteLists use a naming convention with a _SL added to the end of the file name. How can I create two arrays of soundSprites and spriteLists? I've tried using find to exclude the spriteLists like so:  soundSprites+=($(find . -maxdepth 1 ! -name "*_SL*"))   But this adds a ./ before every file name which I want to avoid. Instead of figuring out how to then iterate through the array and remove every ./ I can only assume there's an elegant solution to this that I'm simply unaware of.  Any help is greatly appreciated.

Say I want to copy the contents of a directory excluding files and folders whose names contain the word 'Music'.  cp [exclude-matches] *Music* /target_directory   What should go in place of [exclude-matches] to accomplish this?


i am looking for a way to start my GUI manually when ubuntu loads something like back-track which you login in first using command-line then type startx then GUI starts to running

Hi I have ubuntu server 10.04 installed and I also installed the following:  su aptitude install xorg xfce4 aptitude install <name of GUI browser, I use firefox> aptitude install gedit aptitude install gnome-terminal   Now when I restart the system it goes to the GUI login, what I am really after is a system that loads the CLI by default and then I can use startx to load the GUI when really necessary. I am trying to learn CLI but I would like to retain access to the GUI for now. And, how can I switch between CLI and GUI anytime?


What is the code to know on which system app is running with JavaFX?  No need to read further it is just to go over the quality standards check.

I would like to determine the operating system of the host that my Java program is running programmatically (for example: I would like to be able to load different properties based on whether I am on a Windows or Unix platform). What is the safest way to do this with 100% reliability?


I installed fingerprint GUI in my laptop having Ubuntu 18.04.   But I am not able to login using fingerprint while in terminal using sudo commands it is working fine but for login it is not working.

I have a Dell laptop with fingerprint reader inbuilt. I just ran lsusb on terminal and got the following result:   Bus 002 Device 003: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 002: ID 046d:c077 Logitech, Inc. M105 Optical Mouse Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 05ca:1820 Ricoh Co., Ltd Integrated Webcam Bus 001 Device 003: ID 0a5c:21bc Broadcom Corp. BCM2070 Bluetooth 2.1 + EDR Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   Is it possible to use fingerprint scanning instead of traditional login with 16.04 and Unity ? Thanks.


I need to update a checkbox field on the oppty called IsTrue when there is an opportunity team member added (so, when an opportunity team member is not blank). Is this possible via workflow or process builder? if so how would it be done?

Is there ever a reason (aside from Outbound Messages) to use Workflow instead of Process Builder? Specifically a side-by-side comparison of how well each performs for single-condition field updates, for email alerts or for task creation.  This is not a question about differences (that's well documented) but whether there is any advantage to using Workflow at all.  Are there known obstacles that only exist in one but not the other that would help people decide when to use one or the other? Could be aspects like:   Resource Consumption  Time-based Behavior  Edge case options (e.g.selection of recipients for email) Deployment considerations


I have successfully set up an ODBC link from a FileMaker DB to QGIS, and using Layer/Add Vector Layer I can get a layer with a fully populated attribute table listed in the Layers Panel.  I now want to plot datapoints from the new layer but cannot work out how to tell QGIS that the new layer has georeferenced information and which fields contain the LAT/LONG data.  I guess that I am expecting to find a window similar to that which appears when you create a layer from a Tab Delimited file, where you define which fields contain the LAT/LONG data.  Can anyone help me out?  Thanks

I have a co-worker who manages a large MS Access database that contains X & Y fields for various locations he tracks.  We have previously exported the data to CSV and used the QGIS Delimited Text Plugin to plot the locations.  We would now like to be plot this data directly in QGIS by connecting to the MS Access db via an ODBC connection (as opposed to export to CSV).   Can QGIS consume the data from the ODBC connection to plot the X-Y locations? Can it be "live linked" to the ODBC connection so that when a project is re-opened, the layer "replots" all old and newly added locations dynamically (as opposed to exporting to shapefile, which would create a snapshot in time)? Can you create tabular ODBC connections that can be joined to spatial tables within QGIS?   You can do all of this in ArcGIS ("Add XY Data" tool), so it would be great if this capability existed in QGIS. I just cannot find anywhere that mentions its existence.  I am not planning to move to a spatial database.  As a GIS person myself, yes I know that it makes sense to move to a spatial database, and yes I have used PostGIS to manage this kind of data.  But these are not options right now.  The user is not a GIS person nor wants to be, and he manages his own database in MS Access and that will not change.  I am and am pulling him kicking and screaming into the GIS world and want to make it easy as possible.  He can live with exporting to CSV, I was just hoping there is a better solution USING ODBC FOR MS ACCESS and displaying the XY data in QGIS.


In the questions "Can you imagine Dad and I putting up with this?" is the subject pronoun 'I' correct, or should it be 'me?'

From some comments in the answers for  (now deleted, 10k only), there's confusion around the usage of I vs. me:  While the sentence, "the other attendees are myself and Steve," is agreed to be incorrect, there's confusion about whether the correct form is "the other attendees are me and Steve" or "the other attendees are Steve and I."  (I've always used the heuristic of removing the other people from the sentence, so I always thought "the other attendee is me" would be correct, instead of "the other attendee is I." Is this true, or am I using a flawed heuristic?)


I am interested in generating two ARMA(1,1) time series with a pre-defined cross-correlation p between x(t) and y(t).  If you could please provide the mathematical framework and the code in R for generating it would be perfect!  I have looked at the question  which is not a duplicate, since that question (despite the title) looks for a given correlation between the errors, while I am looking for a given correlation between the series themselves.

How can I generate two correlated ARMA(1,1) data series where  $d_{1,t}=\mu+\phi_{1}d_{1,(t-1)}-\theta_1(e_1(t-1)+e_1(t))$  $d_{2,t}=\mu+\phi_{2}d_{2,(t-1)}-\theta_2(e_2(t-1)+e_2(t))$  and $\rho_{12}$ is desired correlation between $e_1$ and $e_2$?


We can enter to to alternate world from altar of moone/sunne using ultra wormhole with Lunala's/Solgaleo's power.  In this alternate world, it seems that the in-game time is changed.  When I'm enter ultra wormhole at the day, the alternate world is set time to night. Is it only change the time or also change the probability to get exclusive pokemon from pokemon sun?  For Example, I'm playing pokemon moon, we can catch Oranguru in Lush Jungle but not Passimian because Passimian is exclusive pokemon for pokemon sun. If we travel to alternate world, would the change of ecounter also swapped so we can catch Passimian in pokemon moon, or is it only change the in-game time?

In Pokémon Sun and Moon, when you've finished the game you can switch day and night by going though the wormhole at the altar where you've caught the box legendary. Are there any more differences when going through the wormhole, excluding the day or night difference? For example, the altar of the sunne and altar of the moone switch when going through the portal.


Is it possible to find the width of the T panel when this one is displayed ? For an addon, i display some text whith blf module on the bottom left side of the 3d view.  If i activate the overlap of the T panel, the text go behind the panel, so i have to know the panel width to put the text correctly. Does anyone have a solution please ?

I want to display a custom menu when it will be in the left top corner of the 3D View, over the view name ("User Persp" etc).  I guess this is the long way, but if I'll also know the window location and area (already answered here ), and mouse position, then I'll be able to calculate if the mouse is in the right spot or not.


Context: MS SQL Server 2012  In using Kendra Little's awesome tool, sp_BlitzIndex, a number of tables were diagnosed as "Index Hoarder: Addicted to nulls".  I'm not looking for a debate over NULLs and their place. I know that there are cases where NULLs are perfectly appropriate, and even necessary. The issue here is the feedback provided by sp_BlitzIndex, and the value of enforcing the not NULL constraint.  In most of the tables sp_BlitzIndex "diagnosed" as having numerous columns that allow NULLs, there are not any actual NULL values. We programmatically don't allow them. I just never unchecked the box that says "Allow nulls" to enforce that constraint on the database level.  What benefits does enforcing this constraint provide, and why it is one of the problems that her script identifies?  Thanks!

I remember reading this one article about database design and I also remember it said you should have field properties of NOT NULL.  I don't remember why this was the case though.  All I can seem to think of is that, as an application developer, you wouldn't have to test for NULL and a possible nonexistent data value (for instance, an empty string for strings).  But what do you do in the case of dates, datetime, and time (SQL Server 2008)?  You'd have to use some historic or bottomed-out date.  Any ideas on this?


I read some posts and parts of FHS to understand which directory I should install packages in. As far as I could understand /opt is for independent packages and /usr/local is for packages that are not maintained by distro repo's.   I want to install a network emulator called "mininet" on my Debian wheezy, so that all users can use it. It has an install.sh script which installs both types of packages: maintained by repo & not maintained by repo. As the first step of the installation I can indicate where I want my base directory to be. Now my question is which directory I should indicate as the base directory? should it be: "/usr/local", "/usr/local/mininet", "/usr/local/bin", "/usr/local/bin/mininet", "/opt" or some other directory?  I would appreciate if you could explain your answer too  Thank you.  EDIT: Should I specify the name of the package in the path like we do when installing in /opt (e.g. /usr/local/mininet/) or I shouldn't?

I have an executable for the perforce version control client (p4). I can't place it in /opt/local because I don't have root privileges. Is there a standard location where it needs to be placed under $HOME?  Does the File System Hierarchy have a convention that says that local executables/binaries need to be placed in $HOME/bin?  I couldn't find such a convention mentioned on the .  Also, if there indeed is a convention, would I have to explicitly include the path to the $HOME/bin directory or whatever the location of the bin directory is?


I am using sharelatex with a separate bibliography file. Some of the authors cited use a lowercase Polish l in there name. The LaTeX code for this symbol is \l{}. Here is a typical entry:   @article{123, AUTHOR = {Karo\'{n}ski, Micha\l{} and \L{}uczak, Tomasz and Thomason, Andrew},...}   However, sharelatex keeps interpreting the \l{} as an incomplete math symbol (according to the compiler error) and is not producing proper output in my bibliography. Here is the compiler error:  <inserted text>                  $ l.99 Alan Frieze and Micha\l                             {} Karo\'nski. I've inserted a begin-math/end-math symbol since I think you left one out. Proceed, with fingers crossed.    BTW, \L{} and \'{n} both work just fine, along with all other foreign accents in names and titles in my bibliography, but the \l{} looks like \ell and everything after \l{} is in math mode.  Any ideas on work arounds out there?

How to write in bibliography (package natbib) letter "a" with two dots above? Specially, I mean the word Birkhäuser.  Is there a general rule or way how to write such umlauts or other accented letters in bibliographies?


I have the following structure/code:     .navbar__brand, .navcontainer {  float:left; }  .navbar__brand img { vertical-align:middle;}            .navbar__menu {  display:inline-block; }  .navbar__menu li { display:inline-block; list-style: none;  }

Item 1

Item 2

     I want the image in navbar__brand to be vertical align in the middle; At this moment is align at the top of the div.  I need to support old IE browser so please no flex.

I have a div with two images and an h1. All of them need to be vertically aligned within the div, next to each other. One of the images needs to be absolute positioned within the div. What is the CSS needed for this to work on all common browsers?

testing...


i want to know the difference between list variable itself and listvariable followed by [:]  for example,   # When nums are List[int] and res are List, # what is the difference between res.append(nums[:]) # and  res.append(nums)   my question came up while i'm implementing recursive permutation function  class Solution:     def permute(self, nums: List[int]) -> List[List[int]]:         res = []         self.helper(nums, 0, len(nums) - 1, res)         return res      def helper(self, nums, l, r, res):         if l == r:             res.append(nums[:]) # this will append unique combination             res.append(nums) # this will result in a list full of same combinations         else:             for i in range(l, r + 1):                 nums[l], nums[i] = nums[i], nums[l]                 self.helper(nums, l + 1, r, res)                 nums[l], nums[i] = nums[i], nums[l]   Thanks for your help in advance!

I need a good explanation (references are a plus) on Python's slice notation.   To me, this notation needs a bit of picking up.   It looks extremely powerful, but I haven't quite got my head around it.


I upgraded from Ubuntu 14.04 to 16.04 (which appears to be the latest). There have been a number of changes that are annoying but the current worst is my inability to "make link". I have Files 3.18.5 and there no longer is a "make link" when I right click on a Folder or a File. Help...

I have upgraded from Ubuntu 16.04 LTS to Ubuntu 18.04 LTS. I was surprised to see that the context menu entry "Make Link" (keyboard shortcut Ctrl+M) in Nautilus doesn't seem to exist anymore. It used to appear upon right mouse click on a file or folder and allowed the user to create a symbolic link.


For example there is a Warcraft III map with Tom & Jerry in it. The author clearly doesn't have the rights for it.  How can I avoid getting into trouble for user-submitted content like this being hosted on my servers?  Is a statement regarding this in the EULA enough or what?

I recently made a simulation game like Gamedev Tycoon where you are in charge of a game company and planning to release it on app stores soon.   I have few questions about trademark and copyright laws, as in game there are different companies (competitor) who release games, make sequels to previous games, release consoles etc. I know that under parody law I can change a company name from MICROSOFT to MICROCRAFT or MINORCRAFT etc. But what if I provide users an editor where they can change company names (if they want to) from MICROCRAFT to MICROSOFT?  Do changes made by players with my editor violate any copyright or trademark law? How can I handle that?


I host about 60 client sites on this server: AMD EPYC 7401P 24 Cores "Naples" (Zen) 128GB DDR4 ECC RAM NVMe storage. Centos7  All sites are PrestaShop 1.7 sites with each their own PHP 7.1 PHP-FPM pool as well as one MySQL (MariaDB) database for each site.  The speed is good, but I am considering to migrate to one separate MySQL server and one web-server.  I have NO IDEA how much resources MySQL uses vs Apache and PHP-FPM.   Let's say I keep Apache and PHP-FPM on my current server and buy a new server for MySQL. What server should I get? Half the RAM and CPU compared to the webserver? Double, same?   My guess is that the answer is: it's hard to say without real data, so a followup would then be: how can I get this data, preferably resource usage over time? Is this data hidden in the system allready or do I need to install some statistics tool?

For a more comprehensive list of monitoring tools and their features, check out .   As the question states, what are the most commonly used tools used for this task and what are their strengths and weaknesses?


The problem:     Prove that the only integer solutions of the equation $x^3=y^2+2 $ are $x=3$ and $y=\pm 5 $.   I found these related posts:       I have tried techinques similar to the ones used in those posts, however I have not been able to solve it yet.    Edit: The first comment gave me the hint of working in $\mathbb{Z}[\sqrt{-2}]$.  $$x^3=y^2-(-2)=(y+\sqrt{-2})(y-\sqrt{-2}) $$ And we define $a:=y+\sqrt{-2}$ and $b:=y-\sqrt{-2} $. Now I need to prove that $a$ is a cube in $\mathbb{Z}[\sqrt{-2}]$. As a side note, that would imply that $b$ is also a cube in $\mathbb{Z}[\sqrt{-2}]$. Once I prove that, I can use the answers in the post titled "", and solve the problem.  How can I prove that $a$ is a cube in $\mathbb{Z}[\sqrt{-2}]$ ?

Let $A =  \mathbb{Z}[\sqrt{-2}]= \{a+b\sqrt{-2} \ : a, b \in \mathbb{Z}\}$. Show that the only natural number $x$ for which $x+\sqrt{-2}$ is a cube in $A$ is $x=5$.   So I have to show that there exists $c,d \in \mathbb{Z}$ such that $(x+\sqrt{-2})^3= c + d \sqrt{-2}$. From the last equation, I obtain $x(x^2-6) = c \in \mathbb{Z}$ and $3x^2-2= b \in \mathbb{Z}$, and here I blocked. Could I conclude from both equations? If not, is there exists another way to proceed (hint)?  Thanks!


I know the answer is probably simple but i have tried many methods nothing worked. I am trying to turn a java code into mac and windows native runnables(exe/dmg) Now my netbeans ide generates a jar file and another lib folder containing another jar file. What is the exact procedure to turn these files to exe or dmg?  I tried many tools such as app bundler and launch4j but none worked. I suppose it is because it is NOT a single jar file? Anyone know efficient tool or simple tutorial for this please? Thanks

If I have a Java source file (*.java) or a class file (*.class), how can I convert it to a .exe file?  I also need an installer for my program.


Right now, my summation looks like this since I have a long bottom argument:  $\sum\limits_{x \in A[1...i-1]} x$     How can I make it so that the x is not so offset by the bottom argument text?

Is  there a way to show \sum limits partially in inline mode and partially in display mode? I want to write:  \begin{equation} \sum_{n=-\infty}^{+\infty} [...] \end{equation}   but this way the lower limit is too wide, and I don't like it. So I was hoping to write something like this:  \begin{equation} \sum_{-\infty}^{+\infty}\nolimits_{n} [...] \end{equation}   to write the index n on the right side of the sum symbol, while the limits of the summation remain above and below.  Of course it doesn't work, LaTeX is pissed because there is a double subscript. Anyone knows if it's possible to do what I want to?


I am travelling by emirates from India to Dubai (DXB) and after 8 hour layover  I will be boarding an emirates flight to the USA from DXB airport.  Do I need a transit visa for the layover period in Dubai?

Do I need a transit visa for a layover via airports in the UAE, such as Dubai International Airport or Abu Dhabi International Airport? If so, what are the requirements for such a visa? Can I get the transit visa on arrival?


I have learnt that heavier the object is (the more gravitational mass it has), the more resistance to the change of motion it is (the more inertial mass it has).  I can accept this fact but I can't find out the reason behind it. What dynamic, what phenomena could cause this? Does it have something to do with the atomic structure of the object?

The principle of equivalence - that, locally, you can't distinguish between a uniform gravitational field and a non-inertial frame accelerating in the sense opposite to the gravitational field - is dependent on the equality of gravitational and inertial mass. Is there any deeper reason for why this equality of "charge corresponding to gravitation" (that is, the gravitational mass) and the inertial mass (that, in Newtonian mechanics, enters the equation $F=ma$) should hold? While it has been observed to be true to a very high precision, is there any theoretical backing or justification for this? You could, for example (I wonder what physics would look like then, though), have the "charge corresponding to electromagnetic theory" equal to the the inertial mass, but that isn't seen to be the case.


I have a Dell Inspiron 15R with Intel® Ivybridge Mobile Graphics. I upgraded to Ubuntu vanilla and the latest version (16.04) few days back. Each time I close the laptop lid with the power source plugged in, and reopen it, a blank screen appears. A forced restart using the hardware button is necessary at this point.  If the lock screen is activated, after a time it goes black.  Even when on plugged on or on battery, if unused or locked, the same happens and a manual reboot is required for it to start. The CPU is running but I cant get to the login screen

I have a Dell 7737 laptop, and with Ubuntu 16.04 it no longer suspends when the laptop lid is closed. With 14.04 closing the lid put the laptop to suspend as expected. However, I reloaded the system with Ubuntu 16.04 and now closing the laptop does nothing. The laptop continues to run as if nothing happened.  When I manually select "Suspend" from the menu it works as expected. (Though it does prompt me to double login on resume. No, not encryption login followed by OS login. This is a double OS login.)  NOTE: Altering the System Settings|Power doesn't seem to affect anything.  Any ideas on what changed from 14.04 to 16.04 in this area?


Prove  $f_{1} + f_{3} + f_{5} +...+f_{2n-1} = f_{2n}$ when $f_{n}$ is the $n$-th Fibonacci number.   Before I try to prove this, I am trying to understand this in English. What is happening in this equation? How can $2n-1 = 2n$? What is the English interpretation of this?

Trying to prove that the sum of odd-index consecutive Fibonacci numbers is the next even-index Fibonacci number. I have a gap in my proof that I cannot figure out. I know that induction would be easier and I have already done it that way, I am looking to use alpha and beta. $$\sum_{i=1}^n F_{2i-1} = F_{2n}$$  $$\begin{align*} \sum_{i=1}^n F_{2i-1}&=\sum_{i=1}^1  \frac{1}{\sqrt{5}}(\alpha^{2i-1}-\beta^{2i-1})\\ &=\frac{1}{\sqrt{5}}\left(\sum_{i=1}^1\alpha^{2i-1}-\sum_{i=1}^1\beta^{2i-1}\right)\\ &\;\;\vdots\\ &=\frac{1}{\sqrt{5}}[(\alpha^n-\beta^n)(\alpha^n+\beta^n)]\\ &=\frac{1}{\sqrt{5}}(\alpha^{2n}-\beta^{2n})\\ &=F_{2n} \end{align*}$$


I'm trying to connect my 360 controller to my laptop but it won't connect. I have it plugged into the USB slot using the cable that came with a charge kit, and I have the "Xbox 360 controller for Windows" software installed already. So far all that's happened is the controller turns on then proceeds to turn on/connect to my Xbox which is in the basement, two floors below me...  Does this charger cable only charge the controller (it does turn on, so that parts working) or also create a wired connection from the controller to the laptop?

I have a wireless Xbox 360 controller with its USB charger. Can I use it as a wired controller to play on my PC without buying the ?  And if so, where can I find the drivers for Windows 7 64-bit (if available)?


I need to access Mapping Node via python to edit Location\Rotation\Scale    mat = bpy.data.materials['MaterialName'] mat_nodes = mat.node_tree.nodes map = mat_nodes['Mapping']  map.inputs[0] print(map.inputs[0]) **<bpy_struct, NodeSocketVector("Vector")>**   But there are no other inputs, and I have noidea what [0] input does  PS I know that my node named Cracks_Mapping  Found an answer here :

Have problem similar to this but that workaround does not work for me.   I need to access mapping node with Python so I can change values. This code worked for several times I used script but suddenly it does not work anymore.  bpy.data.node_groups["NodeGroup"].nodes["Mapping"].rotation[2] = math.radians(180)   Also looking at python output when changing values manually and looking at tooltip path output I should use something like this.   bpy.data.node_groups["Shader NodeTree"].nodes["Mapping"].rotation[2] = math.radians(180)   But I get error that Shader Nodetree does not exist.  Can anyone explain what is going on here, am I missing something here?


I have 2011 13 inch MBP running OSX Mavericks (10.9.4). 2.3 GHz i5 processor, 8GB DDR3 Memory and Intel HD Graphics 3000 512 MB (VRAM) Graphics.  I want to know if I can run 2 external monitors alongside my MBP display. That would make a total of 3 Monitors - 2 external and the MBP monitor.   I have read about solutions like Matrox DualHead2Go but I would like to know if there is anyway I can use one display on the Mini DVI port and the other on the Thunderbolt port?   I would prefer a solution which didn't require me to combine 2 monitors into 1 screen like the Matrox does. The reason for this is: I would like to use fullscreen apps on all 3 monitories.

I'd like to use two external monitors for some excels, coding, email, not games or video content.   Can someone please explain how I can go about using two external monitors with my MacBook Pro, and realistically, how good will the performance be of the 2nd external monitor?


My OS is Ubuntu 16.04. I downloaded Eclipse Version: Mars.2 Release (4.5.2) and I had a problem with the main menu not showing. I solved it by running Eclipse with UBUNTU_MENUPROXY=0 and the menu is visible but now I have another problem. Some of the options in the menu don't work. For example the Window->Preferences only shows the General page and I can't select any other option.     Is there a solution for this problem?

Eclipse was working as good as anything on 14.04. I did a clean install of 16.04 and installed Eclipse. But it runs a Java program only once after which it just hangs during subsequent attempts before I remove and reinstall it. I have tried many things, since in the beginning I needed CDT as well. Right now, I just want to remove everything related to eclipse and do a fresh install (remove all the configs and dependencies). Please note that I used Eclipse installer to install Eclipse and the eclipse icon image is also not appearing (the default ubuntu ? is appearing).


I created a ListView with three options in it and I want to draw a triangle with a certain color depending on what option in the ListView that is selected.         String vald = categoryList.getSelectionModel().getSelectedItem();              Triangle triangle = new Triangle(x,y);             if(vald.equals("Bus")) {                 triangle.setFill(Color.BLACK);             }             else {                 triangle.setFill(Color.YELLOW);             }             center.getChildren().add(triangle);   It works when I select any of the three options. Problem is when I start up the program and dont select anything in the List, it gives me a nullpointer exception and points to the vald.equals("Bus") and the package declaration. When I remove the code for the listview check it works tho. So I'm wondering if I'm missing something when checking for items in a ListView. (I checked if it worked with radiobuttons instead and it did so I'm at a dead end)

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


Newbie here. I have a lot of different functions in a Python program that downloads a bunch of data from the internet, manipulates it, and displays it to the public. I have bunch of links to different tables of data, and I figure it would be very inconvenient for people to have to wait for the data to download when they clicked the link on my website. How can I configure Django to run the scripts that download the data at say, like 6am? And save some type of cached template of the data so people could quickly view that data for the entire day, and then refresh and update the data for the next day. Your insight and guidance would be very appreciated! Thank you! and Happy holidays!

I've been working on a web app using Django, and I'm curious if there is a way to schedule a job to run periodically.   Basically I just want to run through the database and make some calculations/updates on an automatic, regular basis, but I can't seem to find any documentation on doing this.  Does anyone know how to set this up?  To clarify:  I know I can set up a cron job to do this, but I'm curious if there is some feature in Django that provides this functionality.   I'd like people to be able to deploy this app themselves without having to do much config (preferably zero).  I've considered triggering these actions "retroactively" by simply checking if a job should have been run since the last time a request was sent to the site, but I'm hoping for something a bit cleaner.


To be broad here: Can Players use Ability Score Modifiers to add to their checks?  For example: can someone make a "Strength" check. (Not an Athletics Check) to, perhaps, break open a chest with force.

It might be to force the lock off or smash the chest entirely. I wasn't sure if you can use a Saving throw to open it (In this case a Strength check) or if you have to use skill modifiers in checks (Athletics).   I'm confused because if you a Proficient in strength, the modifier is added to the "Saving Throw". I don't think Athletics is appropriate for this check.


What is the easiest way to determine that, given 3 coords, they DON'T form a right angled triangle?  EG, (0, 0, 0), (0, 1, 0), (1, 0, 0) - forms a right angled triangle  (0, 0, 0), (0, 1, 0), (1, 0.5, 0) - does not form a right angled triangle


I'm trying to prove that     Theorem. Consider a linear transformation $T : \mathbb R^n \to \mathbb R^n$.   The transformation $T$ can be represented as a matrix product $\mathbf x \mapsto A \mathbf x$, for some matrix $A \in \mathbb R^{n \times n}$.   Here's my attempt at a constructive proof.      Proof. Consider a matrix $\mathbf x \in \mathbb R^n$ given by   \begin{align*}   \mathbf x &=   \begin{bmatrix}     x_1 \\     x_2 \\     \vdots \\     x_n   \end{bmatrix}. \end{align*}   We will construct a matrix $A \in \mathbb R^{n \times n}$ such that $T(\mathbf x) = A \mathbf x$.      The vector $\mathbf x$ can also be written as   \begin{align*}   \mathbf x &=   x_1   \begin{bmatrix}     1 \\     0 \\     \vdots \\     0   \end{bmatrix}   +   x_2   \begin{bmatrix}     0 \\     1 \\     \vdots \\     0   \end{bmatrix}   + \dotsb +   x_n   \begin{bmatrix}     0 \\     0 \\     \vdots \\     1   \end{bmatrix} \\   &= x_1 \mathbf{e}_{1} + x_2 \mathbf{e}_{2} + \dotsb + x_n \mathbf{e}_{n} \\   &= \sum_{i=1}^{n} x_i \mathbf{e}_{i}, \end{align*}   where $\mathbf{e}_{i}$ are the standard basis vectors in $\mathbb R^n$.      Consider the transformation $T(\mathbf x)$.   Rewriting $\mathbf x$ as above, we have   \begin{align}   T(\mathbf x) &= T \left( \sum_{i=1}^{n} x_i \mathbf{e}_{i} \right) \\   &= \sum_{i=1}^{n} T(x_i \mathbf{e}_{i}) \\   T(\mathbf x) &= \sum_{i=1}^{n} x_i T(\mathbf{e}_{i}). \tag{1} \end{align}      Let the matrix $A \in \mathbb R^{n \times n}$ be defined by   \begin{align*}   A &=   \begin{bmatrix}     T(\mathbf{e}_{1}) &     T(\mathbf{e}_{2}) &     \cdots &     T(\mathbf{e}_{n}) &   \end{bmatrix} \\   &=   \begin{bmatrix}     a_{11} & \cdots & a_{1n} \\     \vdots & \ddots & \vdots \\     a_{n1} & \cdots & a_{nn}   \end{bmatrix}, \end{align*}   where each $T(\mathbf{e}_{i})$ is a column of $A$, and each $a_{ij} = T(\mathbf{e}_{i}) \cdot \mathbf{e}_{j}$ is the $j$th component of $T(\mathbf{e}_{i})$.   Then, by the definition of matrix-vector multiplication, we have   \begin{align*}   A \mathbf x &=   \begin{bmatrix}     a_{11} & \cdots & a_{1n} \\     \vdots & \ddots & \vdots \\     a_{n1} & \cdots & a_{nn}   \end{bmatrix}   \begin{bmatrix}     x_1 \\     \vdots \\     x_n   \end{bmatrix} \\   &=   \begin{bmatrix}     x_1 a_{11} + \dotsb + x_n a_{1n} \\     \vdots \\     x_1 a_{n1} + \dotsb + x_n a_{nn} \\   \end{bmatrix} \\   &=   x_1   \begin{bmatrix}     a_{11} \\     \vdots \\     a_{n1}   \end{bmatrix}   + \dotsb +   x_n   \begin{bmatrix}     a_{n1} \\     \vdots \\     a_{nn}   \end{bmatrix} \\   &= x_1 T(\mathbf{e}_{1}) + \dotsb + x_n T(\mathbf{e}_{n}) \\   A \mathbf x &= \sum_{i=1}^{n} x_i T(\mathbf{e}_{i}). \tag{2} \end{align*}      Therefore, by eqs. (1) and (2), we have that   \begin{align*}   T(\mathbf x) &= \sum_{i=1}^{n} x_i T(\mathbf{e}_{i}) &   A \mathbf x &= \sum_{i=1}^{n} x_i T(\mathbf{e}_{i}), \end{align*}   and we reach $T(\mathbf x) = A \mathbf x$, as was to be shown.   Any thoughts or suggestions would be appreciated.

Use $\cal L$ to denote a linear transformation on some vector space. We know any matrix $\bf{A}$ can be viewed as a linear transformation by defining $\cal L:= \cal L(\bf{v})= Av$ where $\bf{v}$ is a vector. I am curious is any linear transformation can be represented by a matrix? If so, why? If not, can anyone help provide a counterexample?  In particular, projection of vectors onto a vector $\bf{b}$ is a linear transformation defined by ${\cal L(\bf{v})}=({\mathbf{v}} \cdot \frac{{\mathbf{b}}}{{|{\mathbf{b}}|}})\frac{{\mathbf{b}}}{{|{\mathbf{b}}|}}$. Can this linear transformation be represented by a matrix?  Thank you!


I have Debian. I want to run Windows on the same hard drive, but in separate partitions. I don't want to start my computer "DualBoot" (DualBoot is causing problems for the computer). what should I do? Can I press a button (choose Windows partition) at boot and enter Windows?


I know that the splitting field of $x^6-3$ is $\mathbb{Q}(\sqrt[6]{3},i)$, $\mathbb{Q}(\sqrt[6]{3},i)/\mathbb{Q}$ is Galois, and $[\mathbb{Q}(\sqrt[6]{3},i):\mathbb{Q}]=12$. However I couldn't find which automorphisms generate the Galois group. $\sqrt[6]{3}$ can be mapped only to $\pm\sqrt[6]{3}$, and $i$ con be mapped only to $\pm i$, but this gives only 4 possible cases of automorphisms. To summarize, I want to know the generator automorphisms of $\text{Gal}(\mathbb{Q}(\sqrt[6]{3},i)/\mathbb{Q}))$.

I have some problems with this exercise. I don't know if it can be done. Consider the polynomial $ x^n - a \in \mathbb{Q} $ Can I compute the Galois group of this over $\mathbb{Q}$? Maybe having a nice "basis.  The splitting field is given by $\mathbb{Q}(\zeta_n,\alpha)$ , where $\zeta_n$ is a primitive root of unity , and $\alpha$ is some number such that $\alpha^n = a $. Well first of all, I want a $\underline{"good basis"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different (in this case the computation of the galois group is very simple).  For example one easy case, it's when $a>0$, then $(a)^{\frac{1}{n}} \in \mathbb{R}$ , so clearly the minimal polynomial of $(a)^{\frac{1}{n}} , \zeta_n$ are distincs, and I'm done. If $n$ is odd then , it's also easy, since one root it's also real, for example $x^3-3 $, the real root is $ \root 3 \of { - 3}  =  - \root 3 \of 3  $ , so I can consider the splitting field as $\mathbb{Q}(-\root 3 \of 3 , \zeta_3 )=\mathbb{Q}(\root 3 \of 3 , \zeta_3 )$. The difficult case is when $n$ is even and $a<0$ , for example  $x^8+20$ or $x^4+20$ in some cases as in the second, there are particular cases since there exist algorithms for the Galois group of quartics, but in general. It can be done?  $\underline{Remark}$ I'm searching a $\underline{"good basis"}$ for the splitting field. In the sense that the minimal polynomials, of the adjoined elements, are different since in this case the computation of the galois group is very simple.


I'm looking for a book series about a group of teens who developed increased senses after adopting a baby wolf that was experimented on. The main character is a girl that becomes friends with a group of boys, one of their names was Ben, I think. Each of them had developed one sense that was greater than the others, they each had either an increased sense of smell, sight, hearing , or general physical ability.

It’s  about a dog or some kind of dog-like creature that was getting tested on in a science lab and looked like he was about to die and then a girl (maybe with friends) saves it. They learn it had some kind of disease and the kids get weird symptoms and they get red eyes sometimes. The go to school or something and they go to a party (I'm not sure, but I feel like they meet a guy named Chance or with last name Chancellor). In like the 1st or 2nd book or something, he gets the disease too on purpose with like blue eyes or something like that. Anyone know the name?


I'm running Ubuntu 15.04 on a laptop with an Intel HD Graphics 5000 and a nVidia GeForce 520M, joined by an Optimus.  I'm trying to upgrade my graphics drivers to the latest provided by the vendor so I can use .  However, when I try switch to any driver besides the default open source one, glxinfo gives me this error:  X Error of failed request:  BadValue (integer parameter out of range for operation) Major opcode of failed request:  154 (GLX) Minor opcode of failed request:  24 (X_GLXCreateNewContext) Value in failed request:  0x0 Serial number of failed request:  33 Current serial number in output stream:  34   ...and then when I reboot, my graphics don't work, so I have to revert to the old drivers via the command line.  The thing is, I've been able to use Optimus on this laptop before (via optirun).  Any thoughts?

I have two two graphic card on board, one is the integrating in Intel cpu, one is the nvidia card.  I want use the integrating one to render desktop, the NV card to calculate with cuda. I switch to use the integrating one in "NVIDIA X Server settings", after I installed the "nvidia-modprobe" it's worked as i want.  but where is a issue with glx, when i run glxinfo.  name of display: :0 X Error of failed request:  BadValue (integer parameter out of range for operation) Major opcode of failed request:  154 (GLX) Minor opcode of failed request:  24 (X_GLXCreateNewContext) Value in failed request:  0x0 Serial number of failed request:  37 Current serial number in output stream:  38   In the xorg log it libglx.so in   [     3.597] (II) "glx" will be loaded by default. [     3.597] (II) LoadModule: "glx" [     3.599] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [     3.612] (II) Module glx: vendor="X.Org Foundation"   Is there a way i can get the glx runing correctly?


Let $(u_n)_{n \in \mathbb{N}}$ be an unbounded above sequence. Prove that it has a subsequence which diverges to $+\infty$   We have : $\forall k \in \mathbb{R},\exists n \in \mathbb{N};u_n>k$  So let $\phi$ such that $\phi(0)=n_0$ (for $k=0$) and $\phi(n+1)=\inf(p \in \mathbb{N};u_p>\max(u_{\phi(n)},n+1))$  then $u_{\phi(n)}>n$ and $\phi(n+1) \neq \phi(n).$  How can we prove that $\phi(n+1)>\phi(n)?$

I think I have the basic framework for this proof, but I am having trouble putting everything together in a convincing way.    I plan on showing that by the definition, an unbounded sequence $(a_n)$ has infinitely many $n$ such that $a_n>M$ where $M>0$, for some natural number $n$. I'm not sure how it is implied that there exists some $a_{n_k}$ such that $a_{n_k}>M$ for some natural number $k$.  Let me know if I'm on the right track, and please help me string these ideas together!


We are using a custom preference center and an automation that extracts contacts from our Master Permission DE, who have Opt-in set as 'false'. This DE that contains opt-outs is evaluated and later imported into All Subscribers list to unsubscribe them from further send-outs. Now, aside from using Automation Studio's SQL --> Data Extract >  File Transfer --> Import Activity (into All Subscribers) flow, which has been buggy at best, is there a way to achieve this via Server-Side JavaScript? So, we would use SSJS in Automation Studio Script Activity on the DE where the opt-outs reside and have them unsubscribed from All Subscribers.  Thanks

I noticed that you can unsubscribe a user , is it possible to use SSJS to change the unsubscribe reason?  I notice that doing it through ? why is that?  Thanks


I know there are many different causes for NPE but mine is slightly weird (At least to me).  So I have converted my Activities to Fragments successfully, but my problem appears to be coming from the function that displays the date. When the application is running, everything works just fine. But as soon as you press the back button. The app force closes, then in the log it says I'm getting NullPointerException at line 102. So looking at the code, I did research on this but unfortunately got nothing.   This is the line where the error is coming from when you press the back button.  getActivity().runOnUiThread(new Runnable(){   Also I have tried disabling the back button (As I'm building a launcher and it's not needed). But it doesn't seem to be working.  Here is the code for the whole date displaying method/function.  // (Calendar) Date function - Displays dateview on Card final boolean keepRunning1 = true; Thread thread_two = new Thread(){     @Override     public void run(){          while(keepRunning1){              // Make the thread wait half a second. If you want...             try {                 Thread.sleep(500);             } catch (InterruptedException e) {                 Toast.makeText(getActivity().getApplicationContext(), "Default Signature Fail", Toast.LENGTH_LONG).show();                 e.printStackTrace();             }                  getActivity().runOnUiThread(new Runnable(){                 @Override                 public void run(){                     TextView date = (TextView) getView().findViewById(R.id.date);                     date.setText(DateUtils.formatDateTime(getActivity().getBaseContext(), System.currentTimeMillis(),DateUtils.FORMAT_SHOW_WEEKDAY | DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR));                 }             });         }     } };  thread_two.start();   Thanks for your time, hopefully you can shed some light on what I'm doing wrong.  Logcat -  05-23 21:17:33.216: E/AndroidRuntime(6906): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v4.app.FragmentActivity.runOnUiThread(java.lang.Runnable)' on a null object reference 05-23 21:17:33.216: E/AndroidRuntime(6906):     at com.activelauncher.fragments.UtilsFragment$2.run(UtilsFragment.java:102)

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


I'm trying to fix a 2010 MacBook Pro. It had Yosemite 10.10. It was running slow, so I performed a factory reset. Unfortunately, when I tried to re-install Yosemite 10.10, it prompted me with an Apple sign in. I used my mum's Apple ID (it's her MacBook), and that didn't work. So I'm trying to find a way to install an earlier version of mac os, but I have to try and do it in a way where I don't have to use an email address (We don't know the original Apple ID used with this laptop).

Last night i factory reset my mums mums MacBook pro.  I had got to the point where I had to re install mac os x. I selected the hard drive I wanted it on and it prompted me with a apple id sign in. I knew from then that my or my mothers apple Id wasn't going to work because my mum told me she had got it off trade me ( like ebay but in NZ )  I've tried making a bootable usb drive to re install lion os x but it didn't work, or I just didn't do it right. Its a MacBook Pro 2010 mid I think and I am stumped on what to do, now that it has no operating system on it or anything on it now, only thing that works is the utilities mode.  All help is very appreciated.   Thanks


I have no knowledge of Ubuntu at all. I don't know how to preform a system wipe nor preform a BIOS boot; all my knowledge on these are in windows OS's. I literally just built my first PC and just wanted a free OS, that is why I downloaded it in the first place. I just want to switch back for compatibility reasons. Also i don't particularly know much about computers either, for instance I was looking around and i found out about partition drives and gParting, I didn't know about these prior to looking.

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.


We want to combine the field values with the result values to produce the result as a map. One problem arises when the result contains null. I want to change null to "". I'm not sure if it's wrong. I want to know what to do. please. I want to thank the people who gave me their answers first.  Set<Object> fields = new HashSet<>(); fields.add("id"); fields.add("name"); // this is null value Mono<List<Object>> result = redisRT.opsForHash().multiGet("key:abc", fields); Mono<Map<Object, Object>> mapMono = result.flatMapMany(Flux::fromIterable)         .zipWith(Flux.fromIterable(fields))         .collectMap(Tuple2::getT2, Tuple2::getT1, TreeMap::new); mapMono.subscribe(System.out::println);   reactor.core.Exceptions$ErrorCallbackNotImplemented: java.lang.NullPointerException: The iterator returned a null value Caused by: java.lang.NullPointerException: The iterator returned a null value     at java.util.Objects.requireNonNull(Objects.java:228)     at reactor.core.publisher.FluxIterable$IterableSubscription.slowPath(FluxIterable.java:230)     at reactor.core.publisher.FluxIterable$IterableSubscription.request(FluxIterable.java:201)     at reactor.core.publisher.MonoFlatMapMany$FlatMapManyMain.onSubscribeInner(MonoFlatMapMany.java:143)     at reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onSubscribe(MonoFlatMapMany.java:237)     at reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:139)     at reactor.core.publisher.FluxIterable.subscribe(FluxIterable.java:63) ....


Here is the screen shot    I've checked the battery usage apps so that to save my battery level , I've seen a strange process 10263. I want to know what's is use

Phone : nexus 5 version 2013 Android version : 6.0 Kernel version : 3.4.0-g2aa165e Build number : MRA58N   For the last few days, 10118 has been draining my phone's battery. It drains battery by using GPS. I typed 'ps' in a terminal emulator, and there was no application with PID 10118. I don't know what exactly 10118 is. My guess is that it's one of recently installed weather apps.  How can I fix this?    Screenshots (click images for larger variants)


Let's say I light a wall with two spotlights: One red and one green one. Where they overlap, I'll see a yellow area at the wall.  My question is, whether this is caused by an modification of the frequency/wavelength or simply by my eye combining the two incoming lights.  Light is "added", wavelength is modified:   The eye combines two separate lights:

In computer science, we reference colours using the RGB system and TVs have pixels which consist of groups of red, green and blue lines which turn on and off to create colours.  But how does this work? Why would certain amounts of red, blue and green light make something seem yellow? Is this a biological thing, where our brain performs some kind of averaging operation, or are the waves actually interacting to make light of a new wavelength?  It seems RGB is a "universal triplet", as every colour within the visible spectrum can be created by combining the three in different intensities. Is RGB the only such triplet? If so, why? If not, what features must a triplet of colours have to be universal?


Would be awesome if we could get Android home screen widgets for the app. My preference would be something smallish like a User card (Flair™:  ) which shows one chosen profile or an accumulation of all your profiles. To make it useful, it would be cool to expand it with a notification counter or a 'reputation delta' like the stock exchange (see what I did there?).  Others might also like bigger widgets which show previews of Q&A, but as I don't see myself using that, it's best to let them elaborate on that. Thanks for consideration! :)

I'd love a scrollable widget that displayed the feed, possibly customising what was shown (i.e. hot questions, unanswered, rep changes, badge notifications etc.) globally or per-site.  Ideally each entry would be clickable in the widget, opening up the SE app to the relevant screen.


I was looking at how the weibull distribution is parameterised in survreg() in R and found a similar query posed in a thread at stack overflow:   The OPs query yielded 2 opinions:  1) scale=exp(intercept) 2) scale=exp(Intercept+beta*x)  If you go through ??survreg, you get this:  a) survreg's intercept = log(rweibull scale)  I also went through ??survreg.distributions and found this:  b) survreg scale parameter maps to 1/shape, linear predictor to log(scale)  b) obviously makes better sense - am I reading this right  To be more specific, I want to know how is the scale parameter from dweibull linked to the linear predictor from survreg(). I also consequently want to know how to compute the hazard function from the survreg() output.

I have some difficulties understanding the use of the formula in survival::survreg. I am trying to estimate weibull parameters for different groups of data. For convenience I want to use the formula to group the data. Please consider the following code:  library(survival)  a <- rweibull(500, scale = 4, shape = 2) a.ind <- rep('a', length(a)) b <- rweibull(700, scale = 6, shape = 3) b.ind <- rep('b', length(b))  A <- data.frame(ttf = c(a,b), group = c(a.ind, b.ind))  fit <- survreg(Surv(ttf)~group, data = A, dist = "weibull")  fit.a <- survreg(Surv(a)~1, dist = "weibull") fit.b <- survreg(Surv(b)~1, dist = "weibull")   My question is, why are the estimated parameters from fit different to the parameters estimated in fit.a and fit.b (e.g. coef(fit)[1] != coef(fit.a))?


I know how to use \multirow for two columns table but I can't figure out how to use it for three columns table in below picture.

In a table, how can I draw a horizontal line that goes only through some of the cells? I mean a line like the one in the Foo and in the Bar area of this table:  +----+-----+ |Foo |1 |2 | |    |1 |2 | |    +--+--+ |    |1 |2 | |    |1 |2 | +----+-----+ |Bar |1 |2 | |    |1 |2 | |    +--+--+ |    |1 |2 | |    |1 |2 | +----+--+--+


Let $(X,d)$ be a connected metric space and $f:X \rightarrow \mathbb{R}$ be a continuous function. Suppose that for every $x \in X$ there exists an open set $U \subseteq X$ so that $x \in U$ and ${f|}_n:U \rightarrow \mathbb{R}$  is constant. Prove that $f:X \rightarrow \mathbb{R}$ is constant.  I don't know where to start with this problem

I am trying to show that a function that is locally constant on a connected space is, in fact, constant. I have looked at this  but my approach is a little different than the suggested approach and I'm unsure about the final step and would appreciate a tip. Here is what I have so far:  Let $f$ be a locally constant function on the connected space $U$. Assume that $f$ is not constant. Then, there are distinct points $x$ and $y$ such that $f(x) \neq f(y)$. Now, since $f$ is locally constant there are neighborhoods $V_x$ of $x$ and $V_y$ of $y$ such that  $$ f(V_x) = k_x, \;\; f(V_y) = k_y $$ for some constants $k_x \neq k_y$ .It follows that $V_x \cap V_y =\emptyset$  Now, let $A = U-V_x \cup V_y$ and $B = V_x \cup V_y$ so that $U = A \cup B$. With this, we have expressed $U$ as a union of disjoint sets. Since $V_x$ and $V_y$ are open $B$ is open. Note that if $A$ is empty we are done because $V_x$ and $V_y$ would comprise a separation of $U$ wich would imply that the assumption about f being not constant was faulty. So, assume $A$ is nonempty.  At this point, I want to show that $A$ itself is open. If I can do this, I believe the proof will be complete. One way I've thought about doing this is to choose a neigborhood of some point $a \in A$ and if it is not already disjoint from $B$, shrink it until it is. This would then demonstrate that $A$ is open.   Am I on the right track here?


For exemple,in Ubuntu 14:04 you can add a link from the launcher to the desktop and then right-click and open properties an add "google-chrome --password-store=basic" in  Command: But this is not possibly in Ubuntu 20:04. I have tried to go to Settings --> Application --> Chromium, but there are no way to add something in Command: as above. /Cheers

I installed Ubuntu 19.10 and have issues trying to create a desktop icon with gnome-desktop-item-edit.  $ sudo gnome-desktop-item-edit ~/Desktop/ --create-new    sudo: gnome-desktop-item-edit: command not found  $ which gnome-panel    /usr/bin/gnome-panel  $ gnome-panel --version    gnome-panel 3.34.0   Is this an issue with Ubuntu 19.10 or a problem with the gnome-panel package?


Is there any way to scale an individual face evenly shifting its edges in respective directions? Similar to Outline command in 3ds max? UPD: I know that inset will work to make the face smaller, but what about the enlargement?

Is there an operation similar to inset that creates faces in the opposite direction? That is, instead of creating faces inwards, they create faces outwards? A normal inset operation:  What I would like:


I would like to know is there any way to log the mysql query error which prints on screen.  Example:  mysql -u$UserName -p$Password -D $DBName -e "ALTER TABLE  collect ADD  path VARCHAR( 250 ) NOT NULL AFTER  my_path "   This will return duplicate column if it exists... I would like to log this error on a text file, which will help in my automation.

I have this simple script which redirects the output and append it to a file.  filename="/home/ronnie/tmp/hello"  date=$(date) echo "$date" >> $filename   Now, lets suppose I change date=$(date) to date= $(date) which will generate an error.   My modified script:  filename="/home/ronnie/tmp/hello"  date= $(date) echo "$date" >> $filename 2>> $filename  #Also tried echo "$date" >> $filename 2>&1   I was thinking that above script will redirect the error test.sh: line 5: Fri: command not found to the file hello but it just enters a new line into the file and the error gets printed on my stdout.  My bash version:  ronnier@ronnie:~/tmp$ bash --version GNU bash, version 4.2.24(1)-release (i686-pc-linux-gnu)   So, where am I going wrong.


It seems to me that Dark Matter is just an indication that our models of gravity do not scale to the level of galaxies, and thus like Newtonian physics, it is a powerful but incomplete model of the universe. Why do most physicists believe that it is more likely that there is some mysterious previously undetected substance constituting most of the mass in our universe as opposed to limitations in our current models as we scale them up? I am far from an expert in this stuff (more an enthusiastic amateur), so please educate me.

Why is dark matter the best theory to explain the missing mass problem?    Why is dark matter mathematically necessary to explain the missing mass problem?    On a side not I believe dark matter is definately intuitive the next logical step in physics is to accept the fact the direct observations can not always be the determining factor in the acceptance of a theory.  Positivism is not going to be the only driving force in physics forevermore.    One theory that seems almost as good is the supersymmetric particle. What determination which are actually detectible and how would we distinguish the differences between the two?    References:   .


I am trying to make a regex search in JavaScript, but it doesn't work with special characters such as $ and +.  var string = "Keto After 50 $20 CPA+FS"; string.search(/Keto After 50 $20 CPA F+S/g);   I expect a match and a result of 0 instead of -1.

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


I asked this question because I want a 'physics' answer. Now let me clarify the question. Assume that we let a drop of water fall on a flat surface. It should theoretically stay still. Now let the surface be inclined at an angle. The water droplet now goes on a path. Now repeat the steps and the same path will be observed. Why?

Allow me to explain what I mean... ((I am asking this question in the physics section in hopes of finding a "physics" argument))  I shall make it clear what I mean by demonstrating an experiment...  Hold your hand upright with your index finger pointing up towards the sky. Now drop about 2-3 drops of water right on top of your finger. Water drop should (theoretically) stay there. Now tilt your hand ever so slightly towards one side. The water drop rolls down your finger down your wrist leaving a trail towards the tilted side right?  Now's here comes my question. Now if you bring your finger and the hand to the initial upright state and place another water drop on the same finger. Now we see that the water drop takes the same trail! Why does it happen?  My argument: The water trail which was previously left off reduced the friction in that path by filling the gaps between the molecules. Hence the new drop tends to slide more on that path and hence ends up travelling in it.  ((This "effect" is also observed when tear drops keep rolling down in the same path. But that could just be because that path is the steepest.))


I'm using bmatrix environment from the amsmath package, and I'm trying to do something like this:  \documentclass{article} \usepackage{amsmath}   \begin{document}      \begin{equation}          \begin{bmatrix}              1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11\\          \end{bmatrix}     \end{equation}  \end{document}   However, pdfLaTeX returns an error: "Extra alignment tab has been changed to \cr", and in the output the extra element is moved to the next row. (If I remove one element, then it works perfectly fine). I guess this means that I've hit some hard limit on the number of tab stops in a matrix. Is there a way to change this?  The elements in the matrix are short and could fit perfectly on a single row.


Not a husband - as he does not have a wife before the concubine.  Is there a single word for this or is there a lexical gap in the English language?  Sample sentence:      The concubines fell at the feet of [their men]   "Their men" obviously referring to the specific word I'm looking for, but may not exist in the English language.

As concubines are rare these days (and bastardry ignored), I a wondering if there is symmetry in names of male roles in relationships involving concubines or mistresses as there is with wives, or if it is like the classic Miss/Mrs. vs. Mr.


I have a silverlight video playing in the second monitor attached to my laptop. I want to work on my laptop screen and want silverlight video to remain in full screen mode.  Is there some configuration change i need to do on my laptop to make this work?

I watch instructional videos that play in Silverlight such as the ones at .  I watch them in full screen on my left monitor.  While the video is playing, I want to be able to type notes in a text editor on my right monitor.  However, as soon as I press a key, the video exits full screen mode.  How can I force the Silverlight player to stay in full screen mode even as I type in another application?


Is there a word to describe "a curve and inaccurate road"?

I’m looking for a word or a phrase for describing this kind of  which usually is constructed in the mountain areas, but not only:   image a representative sample from Google images, query = transfagarasan  In my language we call this serpentine a word used as a noun (not adjective) to describe its shape.  If I wanted to write an article about this road, a road constructed in the mountains provided with many turns and angles like in the above link, which word would be more appropriate to use?


According to Zaitcev, V.; Janishewsky, A.; Berdnikov, A. (1999), Russian Typographical Traditions in Mathematical Literature. EuroTeX'99 Proceedings the dots between integrals should be \ldots:    This publication is available .  I want to use the semantically oriented \dots* commands from amsmath and adjust them to the requested conventions.  My naive attempt was to copy the line from amsmath.sty  \newcommand{\dotsi}{\!\@cdots}   and change the definition of \dotsi with renewcommand:  \documentclass{article} \usepackage{amsmath} \renewcommand{\dotsi}{\!\@ldots}  \begin{document} \begin{equation}  \int \dotsi \int dx_1 \dotsm dx_N  \end{equation} \end{document}   However, this returns following error:  You can't use `\spacefactor' in display math mode \@->\spacefactor  \@m {} \int \dotsi   What would be the correct way to do this for \dotsi and also for the other \dots* commands?

Many LaTeX “hacks” begin with \makeatletter and end with \makeatother. What do these commands do?


Why is a assigned the value 3? Does the compiler simply take the last value from the list?   int a; a=(1,2,3); printf("%d",a);   How does compiler parse this statement or how it works internally?

How does the comma operator work in C++?  For instance, if I do:  a = b, c;     Does a end up equaling b or c?   (Yes, I know this is easy to test - just documenting on here for someone to find the answer quickly.)  Update:  This question has exposed a nuance when using the comma operator.  Just to document this:  a = b, c;    // a is set to the value of b!  a = (b, c);  // a is set to the value of c!   This question was actually inspired by a typo in code.  What was intended to be  a = b; c = d;   Turned into  a = b,    //  <-  Note comma typo! c = d;


I am getting the following error when I run setup for Flarum  Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytes) in **[redacted]/flarum/vendor/oyejorge/less.php/lib/Less/Tree/Ruleset.php** on line 497   This is not making any sense to me... its been a long time sense I used php but this makes no sense doesn't that mean that php has 33554432 bytes available and it tried to use 64 bytes and couldn't...

This error message is being presented, any suggestions?     Allowed memory size of 33554432 bytes exhausted (tried to allocate   43148176 bytes) in php


I am fairly new to Meta.     I don't know why i am not able to make a comment even though my comment length is more than 15 character.

I tried to post the following comment and it claims it was less than 15 when it was more.  Based on Tim's comment and testing I believe it would not let me post because with @Shadow removed it is less than 15. However, the characters left message indicates I have passed the 15 character minimum thus it is wrong.  This is the bug I'm reporting:  The characters remaining message and the characters left message do not take into account striping out @name prefixes.


$H^1_0(\mathbb{R}^n)$ is defined as the space of all functions in the first Sobolev space $H^1(\mathbb{R}^n)$ that are compactly supported. My question is: is $H^1_0(\mathbb{R}^n)$ dense in $H^1(\mathbb{R}^n)$? Thanks!

As the title say, I want to prove that  $C_c^{\infty}(\mathbb R^n)$ is dense in $W^{k,p}(\mathbb R^n)$  i.e.  $\displaystyle{ W^{k,p} (\mathbb R^n) = W_0^{k,p}(\mathbb R^n)  \quad (\star)}$. In a book I found that in order to prove it, we need the following claim:  Claim: Let $\displaystyle{\zeta \in C^{\infty} ([0, \infty)) }$ such that $\zeta (t)  =1 $ for $ t \leq 1 $ and $\displaystyle{ \zeta (t) =0 }$ for $ t \geq 2$. For $R>0$ and  $x \in \mathbb R^n$ define $\displaystyle{ \eta_R (x) = \zeta \left( \frac{|x|}{R} \right)}$. If $ \displaystyle{ u \in W^{k,p} ( \mathbb R^n) }$ with $1 \leq p < \infty $ then, $\displaystyle{ \eta_R u \to u }$ in $W^{k,p}(\mathbb R^n) $ as $ R \to \infty$.  If I prove the claim then the $(\star)$ follows using mollifiers. But unfortuently I have stuck, with the proof of the claim.  Any ideas?


So, listening to this , I've already completed a basic Tetris game. Moving on, I started a small breakout. But suddenly : a nightmare came. Collisions.  Since I've been struggling with this a lot, I read a bunch of article of the web. Being a beginner, I thought that, in the first approach, I would only use Rectangle to detect collisions.  Right.  Now I still have some problems.  First of all, all the articles I stumbled upon on the Internet told me how to detect collisions, e.g. checking if objects A and B collided with each other. But it is not what I really need. In order to respond properly, I need to tell my objects if the collision happened on the X or Y axis and then setting the new velocity according to . The problem is that there are so many possibilities when making the distinction between types of collisions that I don't think I've taken the right path.  The second point (which, I believe, is really tied with the first) is the pattern in which the detection and the resolution of a collision happen. Right now, I have a CollidableObject classes and a CollisionDetector classes which knows about these objects. Each frame, the detector is looking for collision (or at least for me, is trying) and when he finds one, it alerts each collided object, saying "Hey you ! You've have collided with Z on the X axis, change that velocity now." and the object abides.  The main issue right now is that I can detect the collision axis and therefore, when saying "Hey you ! You collided !", I cannot respond properly. In which direction should my velocity change ?  I've been thinking a lot about this lately, trying to figure it out on my own, but I haven't find something that I liked so I am asking here now.  Thank you for your answers !  (Note : I don't know if this is relevant, but I'm coding in C++ using SDL)

After , I need some more help.  How can I find out which side of a rectangle a collision came from and react accordingly?      The blue arrows are the paths that some circular objects would follow if before and after colliding with the box.  How can I calculate this?


How can I see that the maximum likelihood approach finds the parameter values of the probability distribution that maximize the probability of the observed sample? Maximum likelihood is not the maximum of probability in general because for, say, two continuous random variables $X_1, X_2$ we have $P(X_1=x_1,X_2=x_2)=0$.


System log files are serialized and I use ls -lrt to show me the most recent file. I then cat that file. This requires typing a long serial number each time.   How can I cat the last file appearing in my ls -lrt output in one command?  I'm using cygwin and the the output from ls -lrt foobar_job* look like this:  -  -rw-r--r-- 1 zundarz Domain Users   1133 Jul 31 16:54 foobar_job4855125.log -rw-r--r-- 1 zundarz Domain Users   1256 Jul 31 17:10 foobar_job4855127.log -rw-r--r-- 1 zundarz Domain Users   1389 Aug 11 10:20 foobar_job4887829.log -rw-r--r-- 1 zundarz Domain Users   1228 Aug 11 10:39 foobar_job4887834.log

I frequently download PDF files with heinous numeric file names from my browser.  These automatically go into ~/Downloads.  Ideally I would like to just be able to open these files with:  evince "the most recently modified file"   without having to open ~/Downloads to find the file name.  Is there a simple way to specify "the most recently modified file" in bash?  NOTE: I know that it is possible to do this, but ideally I am looking for a solution that would be simpler than ls -t'ing ~/Downloads to check the name.


The HP Spectre x360 is a "convertible" laptop, meaning it is able to bend all the way backwards to become a tablet. Whenever I do this, Ubuntu automatically disables the keyboard, which is nice. However, it fails to disable the trackpad. This can be very annoying. Is there any way I could fix this error?

I have the HP Spectre x360 and when I bend the laptop back into tablet mode (360 hinges), usually the keyboard and mouse disables in Windows.   In Ubuntu 15.04 the keyboard successfully disables, but not the trackpad.   What wizardry can I perform to rectify this issue?   Hopefully I could create an actively running script where it listens for particular events (activation of tablet mode) and then disable the track pad once boolean value equals True or something. I could probably get the ball rolling if there was a command out there that would display what component is being used / activated, so I could capture the event ID or something (not sure if this is even possible, just speculating...)


I am currently writing a project report, and have come across a strange thing.   While making the title page, when I insert the title, if I wrote \textbf{\LARGE{Multi-Server Authentication Scheme Using Biometrics}} the output came as this:    But if I change the code to \LARGE{\textbf{Multi-Server Authentication Scheme Using Biometrics}}, the output looks like this:    Although the above solved my problem, I am curious to know why this happens. The rest of the code needed to fully reproduce this is:  \documentclass[12pt,a4paper]{report} \begin{document} \begin{center} {here goes the above codes for the title} \end{center} \end{document}

How do I temporarily increase line spacing? I have some text on my title page:  \begin{center} { \Large \textbf{The Great Thesis About Some Very Great Things Indeed With a Pretty Long Title That Will Probably Be Split Between at Least Two Lines Or So} } \end{center}   I'm finding that the line spacing here is too small, but it's fine elsewhere in the document. How can I make the spacing bigger for just this piece of text?


I am planning to travel from Tbilisi to Baku via the Red Bridge border crossing.  Could you advise me what time buses and marshrutkas leave from Tbilisi's railway station bound for the Red Bridge border crossing?

WikiTravel and other easily Google-able sources tell me there are buses that run between the Georgian and Azeri capital cities, but no details. I'd like to know the follow for a Chinese guest who just arrived at my hostel in Tbilisi:   From which bus station in Tbilisi do buses to Baku depart? Ortachala? Didube? Is there just one bus company or several? How many buses per day? What time do the buses leave? What is the fare to Baku?


How do I convert a string var a = "123456"; in to an array z = [1,2,3,4,5,6];? I tried everything and nothing seems to work. Thanks!

How do I split a string with multiple separators in JavaScript? I'm trying to split on both commas and spaces, but AFAIK JavaScript's split() function only supports one separator.


Today someone told me : "You're not a girl, so you can't understand girls problems".  What kind of fallacy/sophism is this ?

I see this a lot, someone in a category of people attempts to shut down anyone with an opinion that is not from the same category. For example, people without children weighing in on parenting; the parent may say something like "well, since you don't have kids and I do, my position is of more validity than yours."  Another example: a drug user (of some kind) telling someone who has never done drugs and does not care to, "until you tried it, you have no right to judge me."  People frequently try to limit the consideration on opinions to those in their same group, while it is perfectly reasonable that the non-drug user, especially if they are a chemist or well read on the subject, may have an equally valid opinion, or even more valid. In fact some might even say that someone NOT in the category has a better chance of being objective and seeing the forest for the trees.  So what is the fallacy of trying to shut down opinions when the source of the opinion is not someone who has personally had the experience under discussion?


How can I do this? I have migrated from one Gmail account to another and now have two accounts. It would be nice to sum ratings from both and migrate to one of accounts that is newer.

I accidentally posted a question without being logged in. Is there a way to associate that question with my account?   For more information, visit "" in the .   a.k.a. How can you link a registered account to a cookie-based account? a.k.a. How do I merge an unregistered account with a registered account a.k.a. Merging users a.k.a. How do I associate anonymous questions I’ve asked with my registered account? a.k.a. Is there a way to claim an unregistered user? (in case anyone searches with those terms)


Is there a situation in which the mean of a Y variable is not 0 (e.g. not standardized), but we would still fit a regression model without intercept?  It would yield a worse fitting model, so is there a scenario in which you would omit adding an intercept with a good reason?

I am running linear regression models and wondering what the conditions are for removing the intercept term.   In comparing results from two different regressions where one has the intercept and the other does not, I notice that the $R^2$ of the function without the intercept is much higher. Are there certain conditions or assumptions I should be following to make sure the removal of the intercept term is valid?


I am reading a proof of Chow's theorem from Mumford's complex projective varieties. The theorem establishes that every analytic subvariety of $\mathbb{P}^N$ is in fact, algebraic.  I have seen people cite this as proof that every compact Riemann surface $X$ is an algebraic curve. The way I understand it is that by Riemann existence, one constructs many meromorphic functions on $X$. So we pick a very ample divisor and embed $X$ into $\mathbb{P}^{g-1}$ by picking a basis for $L(D)$ and sending $x$ to $[f_1(x): \dots :f_g(x)]$.   I am not too sure why this embedding gives us an analytic subvariety though. Could someone elaborate this, or let me know if I'm understanding it incorrectly?

Via a very ample divisor one can embed a Riemann surface holomorphically into some $\mathbb{P}^n$. Now, we can then project the Riemann surface to $\mathbb{P}^3$, and we can even go until $\mathbb{P}^2$ if we allow nodes.   If we have a Riemann surface $X$ and an embedding $f:X\to \mathbb{P}^2$ (where the image is smooth), then we can find the equation for $f(X)$ (you pull back the meromorphic functions $x_0/x_1$ and $x_1/x_2$ via $f$, where $x_0,x_1,x_2$ are the homogeneous coordinates of $\mathbb{P}^2$; these are algebraically dependent over $\mathbb{C}$, and thus they must satisfy some polynomial. The projective closure of the zeroes of this polynomial is exactly $f(X)$).  I've been reading Shafarevich's book Algebraic Geometry I, and on page 86 he describes how to find the equations for a mapping to $\mathbb{P}^n$. He simply states that if you have a map from $X$ to $\mathbb{P}^n$, then since we can project, we can reduce to the case that the map goes to $\mathbb{P}^2$, and we're basically done.  If the Riemann surface is in $\mathbb{P}^3$, for example, I don't see why the above method guarantees that it be defined by equations... It's image in $\mathbb{P}^2$ would possibly have nodes... Any ideas?  I'm looking to show that a compact Riemann surface in $\mathbb{P}^3$ is algebraic, that is, can be defined by polynomial equations.


I am a new user to Latex. How do you draw geometry with Latex? Do you have to enter code? Or there is a convenient tool that you can just drag lines and it will give you the code with your drawing? I appreciate any help. I just have no idea on this.

What packages do you use and recommend for creating graphics in your LaTeX documents?     As this is a community wiki post, please add your package to the accepted answer (or add a comment, and someone with >100 rep will add it to the CW answer), and include a brief description of what differentiates it from others and how it can be used (GUI drawing tool which generates code, type in raw text, or generates image for inclusion in document).   We'll eventually sort these answers under headings.


Some years ago I watched a movie I can't remember the title of. The action is kind of blurry as well, but I seem to remember some kind of 'game show' where the contestant got a 'new life'. The main character escapes through some service tunnels, I think, and eventually ends up in a city nearby... or something..? Does it ring any bells, anyone?

I'm trying to find a movie with an underground facility with people wearing white suits. The people have been affected such that they show no curiosity. There is one person that does and asks one of his co-workers where a tube leads to.      At the end there is an uprising where everyone gets to see the surface and sunlight.   What is the name of this movie?