Is it a scam if the person only wants to deposit into my account, not make a withdrawal?

A man in  west  coast  Austria wants to deposit money  into  my account.  I'm in Alabama.  I had to get an online  account.  I did that, but he says his bank manager  needs all this information:   DOB SSN    online access username  online access  password   security  question and answer   bank name   bank address   bank number  person who is on the account     their name their address    account no   routing no     OK. Is it safe  to do this or am I being scammed?  I don't want him  to be able to end up withdrawing all my money instead of depositing money.


So when i launch steam i keep getting the following error message:  "OpenGL GLX context is not using direct rendering, which may cause performance problems.  For more information visit "  I visit that article and it is a dead link does anyone know how i can fix this issue please tell me in steps as i am fairly new to Linux.  Also when i launch a game called "no more room in hell" i get the following error:  "could not find required OpenGl entry point "glGetError" Either your video card is unsupported or your open gl driver needs updating"  System Specs  15.6 GB of ram  Processor intel core i7-4770 CPU @ 3.40 ghz x8  Graphics Geforce GTX 760 (192 bit) PCie/SSE2  OS type 64-bit  Disk 2.0 TB


Same field names as given in text file (in a script)

I have a raster (ras) and a text file (T, DA, etc). When I join both then field names are like following:  ras.vat:T ras.vat:DA   I have to access these fields using SearchCursor for further processing.  Is there a way to avoid these long combined names and simply obtain "T" and "DA" after joining?


Is it really impossible to have gradient without banding?

I am struggling to create a gradient without banding. I have watched all the videos on YT and tried: Bluring all kinds, Noise, Dither,bit depth, Brush and doing the gradient in Illustrator.  Everything fails and I can always see the banding.  The background color I use behind the image: 050b3c


I'm trying to create an OpenFilePikcker control in WPF and I use the DirectoryInfo.GetDirectories() to get all sub directories in a certain directory however in the case of Drive C:/ I do not want that method return the system directories like Windows and Program Files. How is that possible to do? Any help is appreciated.


In Hilbert space: $x_n → x$ if and only if $x_n \to x$ weakly and $\Vert x_n \Vert → \Vert x \Vert$.

Assume that $H$ is a $\mathbb K$-Hilbert space, $(x_n)_{n \ge 1}$ a sequence in $H$ and $x ∈ H$.   Show that $x_n → x$ if and only if $x_n \to x$ weakly and $\Vert x_n \Vert → \Vert x \Vert$.   I'm trying to prove this statement.  The $\Rightarrow$ is basically clear, since a  strongly convergent sequence is also weakly convergent. But how can I show the other direction $\Leftarrow$ ?


How do I track apps downloaded with "sudo apt-get"?

Since using Linux mainly for developer purposes, I often encounter running various sudo apt-get commands downloading different tools.  These also install many dependency libraries.    Now is there a solution, through command-line or GUI, whereby it shows all apt-get commands executed for downloaded apps listing its required dependency tree?  That way it would be lovely to simply track what all stuff you did with your system.


Looking for story - post human galactic civilization

A story from my [edit - son's] youth, so the description is sort of fragmented.   Humans are almost extinct, most that remain are mutated or cross-breeds. Earth's location is forgotten, but main characters find it. Earth surrounded by blockade of derelict ships. Aliens lack the ambition/survival drive of humans - a broken leg might be a fatal injury. Galactic civilization is decaying.


How could Stack Overflow be used in high school?

The gamification feature of Stack Overflow is going to be most appealing to young people, since they are the biggest gamers in society.  However, it is difficult for young people to fully engage in a forum like this because answering questions requires wisdom.  If a teacher could start a forum based on Stack Overflow open only to only her class, I imagine that students would benefit.  Is this possible? How?


If I multiply two numbers, say $3$ and $5$, I know it means add $3$ to itself $5$ times or add $5$ to itself $3$ times.    But If I multiply two matrices, what does it mean ?  I mean I can't think it in terms of repetitive addition.       What is the intuitive way of thinking about multiplication of matrices?


Wrong graph displayed using \addplot command (Tikz package)

I've been using the \addplot command to draw several functions in a \tikzpicture environment. The first 2 graphs were fine but somehow the other ones gave weird things that did not match the respective function.  For example the following code was used for a cubic function, and the graph showed at least 5 turning points for some reason.  \addplot[domain=-10:10, smooth, red]{2x^3 - x^2 + 8x - 6};   Does this have to do with me having several graphs and not "flusing inputs" (if that's a thing in LaTeX, I'm new to the \tikz and \pgfplots packages)? If not, what's wrong with my code? Any help appreciated, and thanks in advance.


Android Studio Null Pointer exception with item lists

This code is very vital to my project. It refreshes items from a sql server that I have created. It does not load any of the items and gives me a Null Pointer Exception.  private void refreshItemsToInventoryList() {      // Get the items that weren't marked as completed and add them in the     // adapter      AsyncTask<Void, Void, Void> task = new AsyncTask<Void, Void, Void>(){         @Override         protected Void doInBackground(Void... params) {              try {                 final List<Item> results = refreshItemsFromInventoryTable();                  runOnUiThread(new Runnable() {                     @Override                     public void run() {                         mInventoryAdapter.clear();                          for (Item item : results) {                             mInventoryAdapter.add(item);                         }                     }                 });             } catch (final Exception e){                 Log.e("Error: ", e.getMessage());             }              return null;         }     };      runAsyncTask(task); }  /**  * Refresh the list with the items in the Inventory Table  */  @Nullable private List<Item> refreshItemsFromInventoryTable() throws ExecutionException, InterruptedException {      ResultSet rs;     List<Item> inventoryItems = null;     try {         String query = "SELECT * FROM Inventory; ";         Statement stmt = con.createStatement();         rs = stmt.executeQuery(query);          while (rs.next()){             inventoryItems.add(new Item(rs.getString("ItemDescription")));         }     }     catch (SQLException sql)     {         createAndShowDialog(sql.getMessage(), "Error");     }      return inventoryItems; }   This code is to create and add items to a list, but it unfortunately gives me a Null Pointer Exception.


Best script for automatically copying references from a centralised bib file based on aux file

In a previous  I asked about best practices when managing multiple bibtex files.  One strategy involves having a single centralised bibtex file. Then, citations in a particular article are imported based on an aux file.  While it is possible to do the importing manually using JabRef,  I would like to be able to automate the process as part of a makefile.  My question:   Which of the various scripts that are available would be best for this purpose? Which of them work on Windows? Are there are any other general tips related to automating the extraction of citations for a particular article from a centralised bibtex database?   The ones that I've seen mentioned:   : particularly  and subset      Update (7/12/2010): The reason that I want to do this is that I want to upload all files to a self-contained repository. I'd also like others to be able to re-use components of the repository (e.g., the bib file). For example someone might want to get a copy of all the references in my paper and add them to their bibtex database.


Can you instantiate an interface when passing an interface in Java?

For example, if I have an interface:  interface Executable {     void execute(); }   You wouldn't be able to explicitly instantiate it. If you tried to create a new instance of the interface Executable, you'd get an compile error, saying 'cannot instantiate the type Executable'.  However, when trying to pass an interface to a method, I realized that you could do this:  class Runner {     public void run(Executable e) {         System.out.println("Executing block of code...");         e.execute();     } }  public class App {     public static void main(String[] args) {         Runner r = new Runner();          // When passing the Executable type, am I instantiating it?         r.run(new Executable() {             public void execute() {                 System.out.println("Executed!");             }         });      } }   How is this possible? Aren't you creating a new instance of interface Executable because of the new keyword? Is there something that I don't understand? A brief explanation and some examples are greatly appreciated!


Why are Walker bites in the Walking Dead fatal?

In  it is pointed out that everyone appears to be infected with the virus.  As we saw in the CDC center, death triggers the virus to reactivate portions of the brain.  Yet even a single bite from a Walker results in fever, eventual death (within days), and then reanimation.  If the Walkers are infected with the same virus that is already latent in the survivors, why do bites seems 100% fatal?


I have written my CV's with a template i made in 2013 and it has worked since then. Now since I reinstalled Windows 7 and everything some months ago i can't compile those CV's anymore. I can compile other documents such as scrartcl or scrrprt. with trial and error I found out that the problems are the lines  \makecvtitle   and  \section{Hobbies}     \cvlistitem{Watching the Grass grow}   When one of these two is included, it won't produce a PDF. It will produce the file CV.synctex.(busy). But it is not actually busy - there is no process in the task manager and I can delete this file. There is no error notification, but there is the followeing warning, which as I remember I always had and it still produced a proper PDF:   You have requested package `moderncvheadi',but the package provides `moderncvheadi'.   I am using Texmaker 5.0.2, MikTeX 2.9 and moderncv 2.0.0.  In the settings of Texmaker I have in the field for pdflatex (which was there by default):  pdflatex -synctex=1 -interaction=nonstopmode %.tex   Thanks a hell lot for telling me what I need to change about installation or settings or whatever so I can compile my CV without changing to another class.  MWE:  \documentclass[11pt,a4paper]{moderncv} \usepackage[british,ngerman]{babel} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \moderncvstyle{classic} \moderncvcolor{blue}  \firstname{John} \familyname{Smith} \address{Avocado Avenue}{1234 Longyearbyen} \mobile{+99 (0)12 345 67 89} \email{john.smith@gmail.com}  \title{CV}  \begin{document} %\makecvtitle    %This line causes the compiler to fail  \section{Personal Data}     \cvitem{Date of birth}{1st January 1980}  \section{Experience}     \cventry{1998 -- 2005}{Researcher}{Umbrealla Corporation}{Longyearbyen}{}{Researching Stuff}  \section{Hobbies} %   \cvlistitem{Watching the Grass grow}    %This line causes the compiler to fail  \end{document}


I have a dotnet 4.5.2 application, which is just a console application that saves some datafeed into a .txt file. The program depends on some .dll files (private data-connectors, I don't have control over them).   I installed dotnet 4.5.2 via winetricks  winetricks -q dotnet45 corefonts   Now I'm running my application  wine ~/datafeed.exe   and cannot filgure out there it actually saves my .txt files?


Calculate $\lim_{n \to \infty} \ln \frac{n!^{\frac{1}{n}}}{n}$

How can I calculate the following limit? I was thinking of applying Cesaro's theorem, but I'm getting nowhere. What should I do?  $$\lim_{n \to \infty} \ln \frac{n!^{\frac{1}{n}}}{n}$$


On some pages of my document LaTeX introduces a lot of spacing between my headline/paragraphs (around 5 times more than usual).  What is the reason for this and how can I avoid it? It seems it is trying to fill the page until the next chapter starts.


I am flying from London to Karachi via Muscat with Oman Air. The transit time is 1 hour 15 minutes both ways in Muscat. I am concerned that this is not enough time, so I started to track Oman Air flights from London to Muscat and found out that their flights arrive at least 20 minutes late pretty much every other day. In this scenario, would my transit time still be enough if the flight is delayed by 20 odd mins?  Both flights were purchased as part of 1 ticket. I bought the ticket from an online travel agent and not directly from Oman Air, as they were selling exactly the same flight for £200 extra.


Editing default custom object home screen

I would like to add a custom button (URL to Flow) to my default home page for my custom object. Currently, I have a default "New" button to create a new record (see attached screen shot). I'm wanting to add my Flow custom button to this page. Is there a way to do this?  Cheers, Sean.


What does the output mean when you do cat image.png?  Is this what the image actually is made of?  Does it matter what file extension the image has?


Divisibility property of the totient function $\varphi$

Let $n$ be a positive integer. Prove that  \begin{equation} \sum_{d \vert n} \varphi(d)= n \end{equation}  where $\varphi$ is the totient function of Euler.


Change Windows 7/8 Wi-Fi Mac Address to custom value

I am trying to change MAC address of Atheros AR9485 wireless card on Windows 8 and i am facing a limitation, that possible MAC addresses that can be set for Wi-Fi card in Windows 8 are:  X2-XX-XX-XX-XX-XX  X6-XX-XX-XX-XX-XX  XA-XX-XX-XX-XX-XX  XE-XX-XX-XX-XX-XX   But I want to set second number to different value.  Are there any way to do it?


Is a contradiction enough to prove a set equality to $\varnothing$?

An exercise asks me to prove the following: $$A \cap (B-A) = \varnothing$$ This is what I did:  I need to prove that $A \cap (B-A) \subseteq \varnothing$ and $\varnothing \subseteq A \cap (B-A)$  The second one seems to be obvious by definition (not sure if it is fine to say that in a test).  But the first one goes like this: $$x \in A \cap (B-A)$$ $$x \in A \land x \in (B-A)$$ $$x \in A \land (x \in B \land x \notin A)$$ $$(x \in A \land x \notin A) \land x \in B$$ $$(x \in A \land x \notin A)$$ Since there is a contradiction... err... the proof... is good.  Okay, that's my problem. I think that the procedure is fine, but clearly I am unable to word it out (well, I don't even know if it is valid at all). Is it valid? How can I... "prove that my proof is correct"? I don't really see this contradiction as an obvious indicator of $A \cap (B-A) \subseteq \varnothing$


Opening up a QGIS project file on a different computer

I've tried doing this but when I save the QGIS Project to my desktop its only a few KB's so when I try to open this up on a different computer all the information inside the actual file is missing.  I'm wondering if there is a way to save all the data to a location or how to find where the data is currently being saved.


I was wondering if there is a way to see why $(1+A)$ invertible, if $A$ is a skew symmetric matrix. and I know that all eigenvalues of $A$ have zero real part and $A$ is unitarily diagonalisable.


I'm a Stack Overflow n00b, but I believe it's an invaluable resource, and really has been so far to my deving on different projects.  Anyway, I have seen users write inline code.  In other words, they are in a comment or something like that, and they want to write some code such as $(document).ready(function(){});  Except, instead of having appear as plain text, it appears like this:  $(document).ready(function(){});   Except, inline.  Anyone want to inform me as to how I can get this to work?


Exception in thread "Thread-1" java.lang.NullPointerException with BufferedReader

I am implementing a server/client program. I need create multiple thread in server to handle message from client. When I compiled the code, there is an error   Exception in thread "Thread-1" java.lang.NullPointerException at server.run(Program.java:59)   Line 59 is   BufferedReader inFromClient = new BufferedReader(new                   InputStreamReader(sSock.getInputStream()));   which is used to read message from client side.  My program code is:     class Program {   public static void main(String[] args) throws UnknownHostException, IOException{       // Program runs as a Server       if(args.length == 2) {       String host = args[0];       int port = Integer.parseInt(args[1]);       String fileName = "serverFile";       ServerSocket sSock = null;        // Open a server socket.       try {          sSock = new ServerSocket(port);       }catch(Exception e) {          System.out.println("Error: cannot open server socket");          System.exit(1); // Handle exceptions.       }        System.out.println("Server is listening on port " + port);        while(true) {          new server(sSock.accept(), fileName).start();       }     }   } }  class server extends Thread {   // Thread t = Thread.currentThread();     Socket sSock = null;    String fileName = null;    server(Socket sScok,String fileName) {    this.sSock = sSock;    this.fileName = fileName;  }   @Override   public void run() {     try {       BufferedReader inFromClient = new BufferedReader(new                       InputStreamReader(sSock.getInputStream()));       PrintWriter sendOut = new PrintWriter(sSock.getOutputStream(),                       true);       String s = inFromClient.readLine();       System.out.println("receive string " + s + "from client");       sendOut.println("send Ack to you");     }catch (IOException e) {       System.out.println("Error: " + e);    }  } }   I have been struggled for a long time...Someone can help would be great.


How to know if a spell can be stored in a Shield Guardian?

The  has the following feature:     Spell Storing. A spellcaster who wears the shield guardian's amulet can cause the guardian to store one spell of 4th level or lower. To do so, the wearer must cast the spell on the guardian. The spell has no effect but is stored within the guardian. When commanded to do so by the wearer or when a situation arises that was predefined by the spellcaster, the guardian casts the stored spell with any parameters set by the original caster, requiring no components. When the spell is cast or a new spell is stored, any previously stored spell is lost.   I'm unsure what the bolded phrase requires/means. Does the spell just needs to target the Guardian for it to be stored? What counts as casting a spell on a Shield Guardian? What are the criteria for whether or not a spell can be stored in a Shield Guardian?


What's a word for knowing something from experience?

I'm trying to figure out a word that describes subconsciously knowing something from experience. My initial attempt was "instinct", but that has more gifted and primal connotations.  The use case I had in mind was as follows:     "If we assume that the model is applicable, it tells us what we've ________ known for a while [...]"     Update:  The word that fits best for my use case seems to be intuitively.  Another good one was empirically, but it tends to imply there were some experiments carried out to glean the knowledge, which wasn't the case.


I am trying to download a file using the bittorrent protocol but I can't get my browser to open the magnet link in my torrent client. I have qbittorrent installed but I still can't seem to download from magnet links.  A little box always shows up asking what application I want to use and there is a button that says "browse" but I can't choose anything.  How can I use such links on Ubuntu?  And when you go to explain, please explain every detail as if you are talking to someone who doesn't know anything about Ubuntu.


What can I do to stop imessage from engaging on a certain contact without an iphone?

I have a friend who used to have an iphone but has since gotten another phone. When I go to text him it automatically does an imessage which fails. I've deleted him and re-added him. I've turned imessage off and it will work for a bit but eventually reverts back to imessage. What do I do to fix this?


In English, is saying "It is normal for me to not want 'blank'" correct, or would it be "It is normal for me not to want 'blank'"?


I would like to know what version of glibc will be used in later releases.  Is that information available?


Although GNOME Shell integration extension is running, native host connector is not detected in 19.10

I just installed Ubuntu 19.10 with GNOME Shell 3.34.1 and I would like to use gnome-shell-extensions using extension in Chromium browser, so I installed .  However, when I go to , an error appears:     Although GNOME Shell integration extension is running, native host connector is not detected.   I found a  with same problem, so I also install:  sudo apt install chrome-gnome-shell libproxy1-plugin-networkmanager   However, even after computer restart, error message is still there. I have same problem in Mozilla Firefox.   I installed Chromium as   sudo snap install chromium   and Firefox from Ubuntu Software Center.  Is there any way to find out what is wrong?


Is it better to give reference when I use the same sentence which state a fact or I must paraphrase it?

I am new to the concept of plagiarism and also how to give reference in an article. As my English is not very well, I may use some sentences borrowed from other papers. But they may just define a term which is common in the literature. For example, consider the following sentence:     Any procedure that aims at extracting information (structured data) from unstructured (free text) or semi-structured data source is called wrapper.    Or      Web Data Extraction has many applications in different areas including Business and Competitive Intelligence, crawling of Social Web platforms, Bio-Informatics and so on    I copied them from another publication, I did minor changes in their wordings, however, in the second sentence I may count other applications of the system.  I would like to know, should I use a reference for them? Because I thought reference is mostly for the related works or background of the research and they might be some facts or definitions!    My question may seem similar to , however the answer of this question solves my problem to some extent, but in this question I mainly asked about the role of citation. I think I shouldn't cite a fact or something that is very common. In such cases I can't understand the logic behind avoiding a similar definition or sentence! how do you explain that.


Per-application volume control in windows XP?

Is there a way either built-in (don't think there is) or via a third-party to specify the volume on a per application basis in Windows XP? For example, right now I am listening to some music on fairly loudly and I would like all of the alerts I am getting from other apps (email, twitter updates, IMs) to be reduced.


I have a problem with Durnehvirr's shout. I’ve unlocked all three words of the shout, but the shout won’t execute, no matter how long I hold down the z before release.   Also, the quest “Learn the first word of Durnehvirr's shout” remains as incomplete in the miscellaneous quest tab, even though, as I’ve said, I’ve unlocked all three words. Not gonna reload previous save cause I’ve basically finished a bunch of stuff before I noticed this problem.


I am using diagbox the problem is that I have images in header, that are larger the shape of the diagboxcell, which makes the diagonal line and shape of the diagbox cell incorrect. How can I do to make the diagonal line start from the top left side?  \documentclass{article} \usepackage{graphicx} \usepackage{diagbox} \begin{document} \begin{table}[h!] \centering \begin{tabular}{ | c | c | c | c | c | c | c | c | c |} \hline  \diagbox {Product}{Feature} &  \includegraphics[width=.07\linewidth] {figures/7HeadLegsNoGlasses} & \includegraphics[width=.07\linewidth] {figures/6Eyes} &  \includegraphics[width=.07\linewidth] {figures/4Eyeglasses}  &  \includegraphics[width=.07\linewidth] {figures/3Jacket} & \includegraphics[width=.07\linewidth] {figures/1Shirtsleeves} &  \includegraphics[width=.07\linewidth] {figures/2Shirtbody} & \includegraphics[width=.07\linewidth] {figures/5Hands} & \includegraphics[width=.07\linewidth] {figures/8Stripedshirt} \\ \hline \includegraphics[align=c,width=.07\linewidth] {figures/shirtperson}  & \checkmark & \checkmark &   &  & \checkmark & \checkmark & \checkmark &  \\ \hline \includegraphics[align=c,width=.07\linewidth] {figures/shirtjacketperson}  & \checkmark & \checkmark &   & \checkmark &  & \checkmark &  & \\ \hline \includegraphics[align=c,width=.07\linewidth] {figures/shirtjacketglassesperson}  & \checkmark &  & \checkmark  & \checkmark &  & \checkmark &  &  \\ \hline \includegraphics[align=c,width=.07\linewidth] {figures/stripedshirtperson} & \checkmark & \checkmark & &  &  &  & \checkmark & \checkmark\\ \hline \end{tabular} \caption{Table to test captions and labels} \label{table:1} \end{table} \end{document}     Edit by   I propose this MWE  \documentclass{article} \usepackage{graphicx} \usepackage{diagbox}  \begin{document}  % Code based on *diagbox* manual example code  \begin{tabular}{|l|ccc|} \hline \diagbox{Time}{Day} & \includegraphics[width=20mm]{example-image-a} & Tue & Wed \\ \hline Morning & used & used & \\ Afternoon & & used & used \\ \hline \end{tabular}  \end{document}


How to make the mouse wrap from corners when moving between monitors?

I have 2 monitors. The main one is horizontal, the secondary one is vertical.    When moving from the right to the left monitor, if the mouse hits the areas I've shown in red, it gets stuck. I would like to change this behavior.  Whenever the mouse hits any part of the tall monitor's left edge, it should be wrapped to the wide monitor's right edge. I don't particularly care where on the edge it gets wrapped: It's fine if it's just the closest point like I've shown in the image (dashed line is the wrap/teleport).  How can I do this?


IndentationError: unindent does not match any outer indentation level (duplicate)

Ok I have looked at similar questions but it didn't seem to help mine, but everyone's code is different and I am also a beginner at Python coding. Can someone help me figure this out so I can know how to deal with this next time it pops up?           def run(self):                while True:                       c, a = self.sock.accept()                       cThread = threading.Thread(target=self.handler, args=(c,a))                       cThread.daemon = True                       cThread.start()                       self.connections.append(c)                       print(self.connections)   The error I get point to: def run(self):   exactly how it prints in the terminal.  edit: I have changed the screwed up part of the code as I didn't notice it till people pointed it out. Now it looks as it does in my laptop. But the problem still persists.


Posting self-answered questions for information: Should they be community wiki?

I recently posted a question to SO in which I immediately answered myself because I figured it would be a common question about the newly released Windows Phone 8. Someone suggested I make my answer community wiki.   What do you think? Should my answer be community wiki to avoid the appearance of rep mongering or does it matter?   I know the whole community wiki controversy hasn't been addressed in quite a while, so...


How to make a function to calculate the date and month of the year automatically

I want to ask how to make a function javascript reactjs calculate the date and month of the year automatically with a distance of 10 days from 17-10-2020, after calculating from 17-10-2020 it will be like this 27-10-2020


Sending an SMS/iMessage programmatically in Swift

I’ve seen many things that mention using MessageUI Framework for COMPOSING messages, but is there a way to automate SENDING it in Swift? Perhaps even allowing my code to run once the Send Button is pressed, then I call the actual method to send it.


Does amsmath treat double dollars and `\[' `\]' delimiters differently?

I ran into what I think is an anomaly. I was trying to add tags to my displayed math equations in a document, and I ran into the error message      Package amsmath Error: \tag not allowed here   which is the title of . That question was the first search engine hit to keywords amsmath and tag, which is why I am writing this.  Namely, unlike the asker of that question, my equation was in display math. Yet, I still get the same error message.  The answers to that related question were thus initially not helpful to me. Studying the examples as well as  didn't enlighten me either. They did leave me wondering whether the design goal was that only equations in specified environments can be tagged. That sounded somewhat strange.  Copy/pasting examples from the answers came with a surprise. The appearance of this error message apparently depends on exactly how the equation was put into display mode. Try the following snippet:  \documentclass{report}[12pt] \usepackage{latexsym,epsf,amsthm} \usepackage[finnish]{babel} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage[dvips]{graphicx} \usepackage{float} \usepackage{color} \usepackage{psfrag} \def\theenumii{\arabic{enumii}} \begin{document} Firs test \[ \frac32n^2+\frac12n\le 936.\tag{1} \] Second test $$ \frac32n^2+\frac12n\le 936.\tag{1} $$ \end{document}   You will see that the error message is generated by the version with double dollars, but NOT when we use the \[ \] delimiters.  Thus I have solved my main problem. Posting this partly in case somebody else runs into the same problem (and linking it with the first hit). This does beg my title question     Why aren't the various display math delimiters interchangable in AMSmath?   I learned TeX when plainTeX was all we had, so if I have to unlearn using double-dollars I won't be too happy. For example MathJax still uses double dollars, and as an active user at Math.SE (a moderator even) I frequently use them.  Why is there a difference here?  In case it matters, here is my configuration:   laptop running on Windows 7 WinEdt version 7.0 MiKTeX version 2.9


Driving various LEDs with one voltage supply

I       V(typ)      V(max) 525nm LED   0.03    3.5         4 562nm LED   0.05    2.3         2.7 660nm LED   0.05    1.8         2.2 940nm LED   0.1     1.5         1.8   I was wondering how I can drive all the LEDs with one voltage supply. I can only think of running them all in parallel which is bad.  note: Different than the possible duplicate. I understand that a resistor of value = (Vs - Vled)/(Max current) in series with the led will work for one led, but I want to run multiple different leds.


I have an unexpected file named [ -- a left bracket -- in my /bin file on my Mac Powerbook.   I'm running Catalina.  When I cat the file it looks like Apple certificate authority stuff.  Most of it is unreadable, but has text in it like  Apple Certification Authority   and   PROGRAM:test  PROJECT:shell_cmds-207.40.1 ??????i@[]missing ]!unexpected operator%s: %s%sclosing paren expectedargument expected%s: bad number%s: out of range)  Any idea what this could be?  Seems suspicious to me -- like some source code in it based on the error messages.  But don't want to just delete in case it is a file Apple needs.


Why is work done defined the way it is? What's the intuition here?

I have a question I am struggling with for days. So, Work transfers energy from one place to another or one form to another. (at least as per Wikipedia)  Imagine 2 scenarios.  Scenario 1: A pen on which I am applying 1 N force over a course of 100m.  Scenario 2: An elephant on which I am applying 1 N force over a course of 100m.  Imagine frictionless surfaces!  In both scenarios, there would be 100 J of energy transfer as per "Work" formula. But what does it mean intuitively?  My doubt: In scenario 1 I would be applying 1 N force for say time t but in scenario 2 I would be applying same 1 N for time T and obviously,  T >>>>> t  So I am subjecting same force but for so different lengths of time. Why is "transfer of energy" defined as F.d, intuitively it seems more energy is expended in the Elephant's scenario since I am applying same force but for MORE time.  Can someone give me intuition which clarifies these scenarios?


How do I remove virtualbox.list from etc/apt/sources.list.d/virtualbox.list

I am trying to update software of my Ubuntu 14.04 but there is an error:   malformed line /etc/apt/sources.list.d/virtualbox.list (dist) ; access to this source denied. E:opening etc/apt/sources.list.d/virtualbox.list-ifstream::ifstream(13: Permission denied) E: List of source could not be read E:The package lists or status file could not be parsed or opened.   Could you please help me to remove this virtualbox.list.  I really appreciate yourhelp.


How many new answers are needed to lift a question ban?

StackOverflow is no longer accepting questions from my account. It happened after I posted a question asking for comparison between PHP and C#. The question was deleted and my account banned. OK, I get it. Maybe, that makes me a help vampire. I got downvoted like anything. It should have deleted it before SO did that.  Now  says the ban might be uplifted by writing a few quality answers that get upvoted. Since then, I have posted many answer some of them were also accepted and my reputation has increased by 200 or so. But still it won't accept my questions.  Does anyone have any idea how far I need to work up so that I can get this ban uplifted. They say a few answers... But that doesn't seem to work.


How do I install wireless drivers in a virtual machine running Ubuntu?

I installed Ubuntu 14.04 in a virtual machine, Wi-Fi isn't working, and I can't find Broadcom drivers.  This is what is shown when I go to Additional Drivers:


How can I know when I logged in to my computer? (After a lock or at startup)

I'm working on a Windows-10 machine, Home edition. I would like to know when I logged on to my computer, mostly after a lock. In order to do this, I'm looking at the event log (security auditing), where I see the events 4624 (Logon) and 4672 (Special Logon). Unfortunately those events seem to be launched also on other moments (I don't even know when and why). Are there other events I can use to filter the event log, so that I can know when I logged on to my PC? I suppose such events don't exist, but in that case, does anybody know how to create my own event and attach it at the "Logon" action? Edit after reopen: The  either mentions only the last logon (while I want all of them in one day) or it uses "Local Security Policy" while running "secpol.msc" gives nothing on my PC (it's a Windows 10 Home edition). Thanks in advance


If $\alpha + \beta + \gamma = \pi$ prove that $\sin(2\alpha)+\sin(2\beta) + \sin(2\gamma) = 4\sin(\alpha)\sin(\beta)\sin(\gamma)$  I am really confused of how to utilize the information given.   Can someone please help.  Thanks.


Question on the proof of the spectral mapping theorem for polynomials

Theorem 13.9 in these  is the polynomial spectral mapping theorem:     Theorem 13.9 For a polynomial $p$ we have $\sigma(p(T)) = p(\sigma(T))$.     My questions:   First direction: Why would $q(T) (p(T) - p(\lambda) I)$ be an inverse for $T - \lambda I$? Update: @RobertIsrael said that instead $(p(T) - p(\lambda) I)^{-1} q(T)$ should be $(p(T) - p(\lambda) I)^{-1}$ be? According to the lines in the proof above, we have $$ (p(T) - p(\lambda) I)^{-1} = ((T - \lambda I) q(T))^{-1} \overset{?!}{=} q(T)^{-1} (T - \lambda I)^{-1}, $$ but as $\lambda \in \sigma(T)$ by assumption, $(T - \lambda I)^{-1}$ doesn't exist, right? For the second direction: Why does $x_i \in \sigma(T)$ imply that $p(x_i) - \mu = 0$? I thought that $x_i \in \sigma(T)$ only implies that $T - x_i I$ is not boundedly invertible. Since $\mu \in \sigma(p(T))$ we have that $p(T) - \mu I = c \prod_{k = 1}^{n} (T - x_i I)$ is not boundedly invertible but how does that help?   In both statements there seem to be a notion of "a product of operators is not invertible iff all factors aren't invertible", but how can that be true? Consider i.e. shift operators on a sequence spaces such that $ST = I$, i.e. the left and right shift operators, then the above mentioned notion doesn't hold, right?


Testing whether an element of a tensor product of modules is zero

Let $A$ be a commutative ring and let $F$, $E$ be $A$-modules. Then $E$ is the direct limit of its finitely generated submodules. Serge Lang, in his Algebra, p. 604, remarks that a technique to test whether an element of $F \otimes E$ is zero, is to examine its image in $F \otimes N$, as $N$ varies over the finitely generated submodules of $E$. Could somebody please explain why this is a valid technique? What is the image of an element of $F \otimes E$ in $F \otimes N$?


What happens to a person's questions/answers when they delete their account?

If a person deletes their Stack Overflow account, what will happen to questions and answers posted by them?


Why auto doesn't work if implementation is in a separate file?

Consider the following example:  class MyClass {     const int _id; public:     MyClass(auto id) : _id(id) {}  };  int main() {     MyClass(3);      return 0; }   It works fine.  Also  class MyClass {     const int _id; public:     MyClass(auto id); };  MyClass::MyClass(auto id) : _id(id) { }  int main() {     MyClass(3);      return 0; }   Works fine.  However,  #ifndef MYCLASS_H #define MYCLASS_H  class MyClass {     const int _id; public:     MyClass(auto id); };  #endif   and  #include "MyClass.h"  MyClass::MyClass(auto id) : _id(id) { }   and  #include "MyClass.h"  int main() {     MyClass(3);      return 0; }   Gives this linker error:  /tmp/ccJQ1HNz.o: In function `main': deduce.cpp:(.text+0x15): undefined reference to `MyClass::MyClass<int>(int)' collect2: error: ld returned 1 exit status   So it has to do something with templates .. But where do they come in?


How to create files from a list which contain space

I would like to create files from the following list.  There is no problem if the list doesn't have a space ... but the problem is it has a space  user@linux:~$ cat file.txt  Apples Bing Cherry Crab Apples Dragon Fruit user@linux:~$    Before  ser@pc:~$ ls -l total 4 -rw-r--r-- 1 user user 44 Jun   9 14:06 file.txt user@linux:~$    xargs touch  user@linux:~$ cat file.txt | xargs touch  user@linux:~$    Instead of creating Apples, Bing Cherry, Crab Apples, Dragon Fruit, the command producing these output.  After  user@linux:~$ ls -l total 4 -rw-r--r-- 1 user user  0 Jun   9 14:11 Apples -rw-r--r-- 1 user user  0 Jun   9 14:11 Bing -rw-r--r-- 1 user user  0 Jun   9 14:11 Cherry -rw-r--r-- 1 user user  0 Jun   9 14:11 Crab -rw-r--r-- 1 user user  0 Jun   9 14:11 Dragon -rw-r--r-- 1 user user 44 Jun   9 14:06 file.txt -rw-r--r-- 1 user user  0 Jun   9 14:11 Fruit user@linux:~$    What should I do to handle space in this situation?


How can I change the Viewport Display Color of a material with Python?

I am trying to create a script that resets the viewport display color of all selected objects that have a material. I'm talking about this value:  Any help would be appreciated!


Convergence of a sequence in two different $L_p$ spaces

If I have a sequence $\{f_n\}_{n\in \mathbb{N}} \subset L_p\cap L_q$ that is Cauchy under both norms,  I am wondering if $f_n \to f$ in $L_p$ implies that $f_n\to f$ in $L_q$.   I have been working on this but I can't seem to figure out a definite proof.  Thank you!  PS: $1\leq p<q <\infty$


Browse for Servers does not display local instance

I just installed SQL Server and SQL Server Management Studio but it doesn't show anything in servers list and I don't know how to connect to it.  This shows that I have installed SQL Server:        But in this image you can see that my Browse for Servers dialog is empty:        Network servers is empty too.


can't interact with newly appended div JQuery/Javascript

This is my code:
click

test_div_1

test_div_2

          basically what I'm trying to do is: when you click
click  it'll show
 and append another paragraph which is what I did here:  $("#id_2").click(function(){     $(".test_1").show()     $("body").append("
test
")  });   and afterwards when you click on the newly appended paragraph
test
 it should show another div which should be:     $("#test_p").click(function(){         $(".test_2").show() });   but it doesn't. how do we get around this?  I'm still trying to wrap my head around web development. I do know that the appended it's temporary because a page refresh would erase it unless the appended data was saved on the server. I wonder if that has anything to do with that?.  because facebook's and twitters posting feature is intriguing  I know it uses ajax to post the info to the server without a page refresh but how is it able to interact with a div or element that's just been newly appended?


How do I talk to my teen daughter about her weight?

Over the past two years 17 year old daughter has gained about 60-70 lbs. Growing up she was always a healthy weight, however, by the end of her Junior year of high school she had visibly gained quite a bit of weight. She had stopped going to the gym, something she used to do at least 3x a week. At the time, I was hesitant to bring the subject up, as I hadn't noticed a change in her personality and she didn't seem concerned or bothered by the change.  Before the beginning of her senior year, I took her in for routine check up at the doctor. At the appointment,the doctor discussed the spike in her weight and informed her that her BMI ration was 25.6, which is clinically considered overweight. She seemed somewhat shocked at this and had little to say afterwords. I made an effort to cook healthier meals and encouraged her to go on runs with me, but she seemed uninterested.  She is now several months into her senior year and I am very worried about the toll her weight is taking on her health. She has gained around 20 lbs since her visit to the doctors office in July, and is resistant to discussing the issue in any way. I just want her to be happy, and I can see that she's unhappy with the change in her appearance and how she feels. She is very defensive when I try to talk to her about the subject, and her become more withdrawn from her family and friends.


I have temperature data of July 1991 to 2007, and wants to find the Confidence Interval at 95%, which distribution is best fit the data, Z or T. Please give me reason also. Thanks


How do I logout from the new Stack Overflow?

I tried to click on my use picture (up bar), but a menu was not opened as it used to be.  How can I logout from the new Stack Overflow site?


Seeking a GIS for indoor mapping and direction finding

I've seen a few options for indoor GIS platforms such as Google's indoor mapping, implementations of OpenLayers, Open Street Map, and many other plausible solutions. There's even a post on here asking a very similar question to mine but all the answers involved how to provide locations to users.  For my use I don't care to map where the user is but rather simply provide a usable map of our building and in my ideal world I would be able to provide static directions (think Google Maps without location for our building). Is there anything out there that can help us achieve this? I'm willing to learn as long as there's documentation.


Tricky determinant , I seem to be close to computing it


Where can I find a folder containing icons of all my applications, that I can double-click?

Where can I find the folder where I can see icons of my applications and click on them as I am accustomed to from other operating systems?  (N.B. Please see my comments re duplications.)


Why do LEDs have only RGB (Red, Green, Blue) colors why not others?

After some studies I've found LEDs having 3 colors RGB (Red, Green and Blue), I was very interested in this topic so this question is up. The Diagram will tell the colors in LEDs.   > Red, Green and Blue color in LEDs      Why only RGB is needed?      Why can't any other color be replaced?      Why MCY Cannot be used?


How to set display property inline with !important

I want to write an inline style viz block !important using javascript code. Code looks like this  element.style.display = 'block !important'; // This does not work (Approach 1)   However,  element.style = 'display:block !important'; // works perfectly (Approach 2)   But Approach 2 is not acceptable for the obvious reason it will over-ride earlier inline styles. You can see this in this   Q1: How can I set display: block !important property using javascript and it has to be inline.  Q2: I want to know why Approach1 does not work ?


What is the equivalent of reciprocal but for the sum instead of the product?

Reciprocal is defined as:  Two expressions or functions so related to another that their product is unity  So if $$\alpha * \beta = 1$$ Then you can say $\beta$ is the reciprocal of $\alpha$ i.e. $\beta = \dfrac{1}{\alpha}$ If $$\alpha + \beta = 1$$ is it possible to say $\beta$ is the _ ? _ of $\alpha$ ? * Edit * This question is in the context of probabilities.  For example if $\alpha$ is the probability of event X occurring and $\beta$ is the probability of event X not occurring.


Let $A$ $\subseteq$ $\mathbb{R}^n$ be compact, and let $F: A \to \mathbb{R}^m$, be a continuous mapping. Prove $F(A)$ is compact.


My OS is debian SID and i can't apt-get install anything because I am greeted with this message everytime:  dpkg: unrecoverable fatal error, aborting: files list file for package 'gucharmap' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)   Help appreciated.


For a odd prime $p, \exists$ nonzero $a,b$ such that $a^2 + ab + b^2 \equiv 0 \pmod{p} \implies \exists x,y $ such that $x^2 + xy + y^2 = p$?


Explaining Mean, Median, Mode in Layman's Terms

How would you explain the concept of mean, median, and mode of a list of numbers and why they are important to somebody with only basic arithmetic skills? Let's not mention skewness, CLT, central tendency, their statistical properties, etc.  I have explained to somebody that mean is just a quick and dirty way to "summarize" a list of numbers. But looking back, this is hardly illuminating.  Any thoughts or real world examples?


return the numeric value of a indexed variable rather than its name

The following piece of code illustrates my problem I'm afraid I oversimplified it way too much in the first round.  #!/bin/bash dogLover=1 catLover=2 for ii in dog cat     do         petLover=${ii}Lover         echo (evaluate $petLover)     done   I want the code to return the numeric values 1 and 2 rather than dog and cat.  Presumably this is easy to do, but I can't seem to see how on the web.  What I really need is a bash equivalent of the "eval" command in matlab


What are preimage resistance and collision resistance, and how can the lack thereof be exploited?

What is "preimage resistance", and how can the lack thereof be exploited? How is this different from collision resistance, and are there any known preimage attacks that would be considered feasible?


I recently installed Ubuntu. Unfortunately during the process all the partitions have been erased which contained my backup data. Is there any way of recovering the data? It was almost 400 GB of data.


How to test if my server is vulnerable to the ShellShock bug?

How can I ensure my Bash installation is not vulnerable to the  bug anymore after the updates?


I saw a few files/dir are inaccessible even to the root user: find: ‘/run/user/1000/gvfs’: Permission denied. So I went a level deeper and ran ls -l; below is the output. /run/user/125# ll ls: cannot access 'gvfs': Permission denied total 4 drwx------ 12 gdm  gdm  340 Sep  3 10:20 ./ drwxr-xr-x  4 root root  80 Sep  3 10:19 ../ srw-rw-rw-  1 gdm  gdm    0 Sep  3 10:19 bus= drwx------  3 gdm  gdm   60 Sep  3 10:19 dbus-1/ drwx------  2 gdm  gdm   60 Sep  3 10:19 dconf/ drwx--x--x  2 gdm  gdm   60 Sep  3 10:19 gdm/ prw-rw-r--  1 gdm  gdm    0 Sep  3 10:19 gnome-session-leader-fifo| drwx------  3 gdm  gdm   60 Sep  3 10:19 gnome-shell/ drwx------  2 gdm  gdm  140 Sep  3 10:19 gnupg/ d?????????  ? ?    ?      ?            ? gvfs/ -rw-------  1 gdm  gdm  318 Sep  3 10:19 ICEauthority d---------  3 gdm  gdm  160 Sep  3 10:19 inaccessible/ drwx------  2 gdm  gdm  100 Sep  3 10:19 keyring/ srw-rw-rw-  1 gdm  gdm    0 Sep  3 10:19 pk-debconf-socket= drwx------  2 gdm  gdm   80 Sep  3 10:19 pulse/ srw-rw-rw-  1 gdm  gdm    0 Sep  3 10:19 snapd-session-agent.socket= drwxr-xr-x  3 gdm  gdm  100 Sep  3 10:19 systemd/  Why do we see ? against file/dir gvfs?


Is the there a unique correspondence between the potential and bound state wave functions?

I'm asking specifically for the schrodinger equation.  Is there a unique correspondence between the energy eigenfunctions $\phi_i(x)$ and the potential term $U(x) = V(x)\phi(x)$? Furthermore, is this still true for a more general potential term that is a functional of $\phi(x)$ such as: $U(x) \equiv F(\phi(x))$?  If not, I'm interested in what statements can be made.


cantilever brakes have 1mm play in then is this normal?

My cantilever brakes have roughly 1mm movement in them and can be moved backwards and forwards very easily by hand.   Is this because the shoulder bolt is too long or should the setup have some extra washers in place to stop this?  Will braking be improved by changing this?


Basic Question on Black Holes and the Potential Loss of Conservation of Energy/Mass

I am reading Kip Thorne's "Black Holes and Time Warps" and I have a basic question on a topic he is discussing while talking about Einstein and Eddington's disbelief in black holes.  So the general gist is this: a mass falls into a black hole and its mass and energy  are not conserved (ie. lost to the universe).  My question, is: isn't matter and energy actually conserved when an object falls into a black hole?  A objects mass is definitely conserved as it would be added to the singularity's mass.  It might be small comparatively, but where else would it go?  The energy portion of an object (or energy trapped) would be conserved as well.  It might be changed to another form inside the black hole at the point of the singularity but again it's not like it will drip out somewhere)...  (I ask your pardon if I didn't phrase my question correctly as I am not a scientist)...   I do not understand the argument about a BH's not conserving mass / energy.  Can someone explain this to me?


Evaluate integral using rectangular contour

$$\int_0^\infty {(\ln x)^2 \over {1+x^2}} dx$$ I need to evaluate the above integral using  to obtain the answer $\dfrac{\pi^3}8$:  However the only example involving rectangular contours I've seen in the textbook or in the many Youtube videos I've searched is the following: $$\int_{-\infty}^{\infty} {{e^{ax} \over {1+e^x}}dx}$$ where $a$ is a constant between $0$ and $1$. The hint is to use the substitution $x=e^t$ so I assume I'm suppose to turn the first integral into the form of the second, but then I end up with a $t^2$ I don't know what to do with. I am aware that if I solve the first integral from $-\infty$ to $\infty$ I just divide that answer by $2$ to get the answer from $0$ to $\infty$ so I guess the answer I'm really looking for is $\dfrac{\pi^3}4$.


How can I find an inverse to the Binet formula?

I'm already aware of the Binet formula $\displaystyle F_n = \frac{\varphi^n + \frac{1}{\varphi^n}}{\sqrt{5}}$. I'm attempting to find the inverse of that formula so I can find the position in the sequence of Fibonacci numbers. In fact, at first glance it's relatively easy:  $$ F_n\sqrt{5} = \varphi^n + \frac{1}{\varphi^n}\\ \varphi^nF_n\sqrt{5} = \varphi^{2n} + 1\\ \varphi^{2n} - \varphi^nF_n\sqrt{5}+ 1 = 0\\ \varphi^n = \frac{F_n\sqrt{5}+ \sqrt{5F_n^2 - 4}}{2}\\ n = \log_\varphi\left(\frac{F_n\sqrt{5}+ \sqrt{5F_n^2 - 4}}{2}\right) $$  But this isn't quite correct. The problem is that we must subtract or add 4 depending on whether the Fibonacci number has odd or even position in the sequence (or rather, whether $5F_n^2 - 4$ is a perfect square; admittedly, we could just go by this indicator, but I want to avoid that if at all possible). So the formula is actually:  $$ n = \log_\varphi\left(\frac{F_n\sqrt{5}+ \sqrt{5F_n^2 + 4(-1)^n}}{2}\right) $$  But that doesn't work for me, because n appears in multiple places in the formula, and you'd need to know if it's odd or even to be able to derive it. So if you do the work, you'll see that I'm trying to isolate n in the expression:  $$ \varphi^{2n} - \varphi^nF_n\sqrt{5} = (-1)^n $$  Or alternatively, find an operation that when applied to the numbers 3, 8, 21, 55, 144, etc. gives an even number, and when applied to the numbers 2, 5, 13, 34, 89 gives an odd number.  As a side note, I find it highly unnerving that the almighty quadratic formula fails in this particular case.  Update: I am only interested in solving either of the two problems posed above, not in other ways to find Fibonacci numbers' positions in the sequence.


I am trying to install reaver 1.4, but when I run ./configure ; make I get this message at the end  int ret_val = EXIT_FAILURE, r = 0;   I have searched a fair bit and cannot find an answer, any help would be appreciated. I apologize if this has been answered and I've just failed to find it.


If we can live with classical EM field in atomic physics, why can't we live life with a classical theory of gravity?

In basic atomic physics of light-matter interaction, very often we assume the atom is quantum mechanical with quantized atomic levels but assume the electromagnetic field to be a classical wave. It is true that this cannot explain the phenomenon of spontaneous emission and many other effects but is this framework mathematically consistent? The reason I am asking this is as follows. Someone told me that one cannot live with a quantum theory of electrons and a classical theory of gravity. His reasoning was this. On one hand, an electron is a quantum mechanical object but since it has mass, in principle, it also gravitates (no matter how minuscule its gravitational influence be). Therefore, it is not internally consistent to treat the electron quantum mechanically and its gravitational interaction classically. Does this argument has any merit? If it has any, then treating the atom quantum mechanically and electromagnetic field classically must also be internally inconsistent. Am I wrong?


Basic If/Then in Python Parser of ArcGIS Field Calculator?

I am using ArcGIS 10.2 for Desktop, and I've been looking through this site, and can't seem to figure out my answer yet. Very new to VBA and Python, but lots of years with ArcGIS.  I know I can do this the slow way with Select By Attributes, but It's time consuming.  I am attempting a spatial join between cases of a disease (points layer) and US Census Tracts (polygon layer). This requires count data. For each point/case, I have a field called YEAR with date ranges 2001 to 2012 depending on what year the case happened. I need a count column for each year. For example, the first one I'm calling COUNT01. If the case date in YEAR is 2001, then COUNT01 will have a 1 in it. If it is any other year (2002-2012), then there will need to be a 0. I will have COUNT02, COUNT03...COUNT12 columns. Can't have a "Null" value.   Here's what I've tried so far    And here is what the data looks like in Arc.


I have three partitions on my drive, arranged something like the following:   ___________ | 1 |  2 | 3| -------------   I wish to merge partitions 1 and 3.  Is there a way to do this, or do I have to manually "slide" partition 2 over to partition 3, and then merge the newly open space where partition 2 used to be?  Note: I do not have the space to copy partition 2 to partition 3 (2 is 200GB and 3 is 65GB).


What will be the appropriate resolution for designing panaflex of 5ft by 6ft

I am willing to know the appropriate resolution for making panaflex print of about 5ft by 6ft or higher as billboard print.


Probability of getting a sequence of at least $k$ heads in $n$ coin flips.

Let's say we are flipping a coin $n$ times. What is the probability of getting a sequence of at least $k$ heads?  So far I've come up with this:  If we assume $k=2$, and the number of events satisfying the conditions is $m$ for $N$ throws, then for $N+1$ throws the number of satisfying events is: $2m + \frac{2^N - m}{2}$.  $2m$ comes from the situation when the sequence was already there so we can get either heads or tails.$\frac{2^N - m}{2}$ Is when there was no sequence but the last result was heads, so we have to get heads again. This can be made into an equation and solved, I guess.  However, it's more difficult to do it for higher $k$. How to proceed further to get a result for higher $k$?


On splitting a number as the sum of two squares.

From Lagranges'celebrated four-squares theorem we know that any number is the sum of four squares ( not necessarily nonzero and distinct). But it's an existence theorem and gives no idea of how to generate this expression. In a similar vein, one of Fermat's theorem states that a prime of form 4k + 1 is the sum of two squares. But how do we go about finding the pair of squares ? On a more general scale, given some number N expressible as a sum of two squares a^2 + b^2, what is the method for computing pair(s) (a, b) ?


What alternatives for sticky notes are available?

I like the Sticky Notes very much, they are always on the desktop.  But I can't find it in Ubuntu since 12.04. Other programs like gnotes & Xjournal are not giving a feature to stay on the desktop.  So, is there any application similar to the old sticky notes in Ubuntu?


Movie with a walled city, the walls pockmarked with holes breathing fire

The movie was set in the 90s probably. It showed a group of people trying to infiltrate a city or a building which was surrounded by a huge wall. However, the walls were pockmarked with holes from which balls of fire shot out every few seconds/minutes, barely enough time to cross through. I remember that the protagonist successfully manages to infiltrate via them.


What will be the trajectory of the given motion

If it is given that component of acceleration perpendicular to the velocity of a body has a constant, non-zero magnitude, how can we mathematically prove that the trajectory of the body will be circular?   I have basic knowledge of calculus, vectors and co-ordinate geometry. I can prove that the trajectory of a body in projectile motion is parabolic. I tried to follow a similar method to get an equation of circle but couldn't succeed. I tried forming parametric equations of x and y in terms of time t (the way we proceed when proving the parabolic path of a projectile) but could not reach the conclusion.  Edit: I have edited the question in order to improve it. However I still can not share my work on this question as I had asked the question almost 6 months ago and now I can not find where I tried solving it. Sincerely sorry for that.


Probability of difference for uniform sample of consecutive numbers

Lets assume I have a set N which consists of all natural numbers from 1 to n. Now I take a uniform sample of size S from this set. Intuitively I wonder how large the probability is to have a gap larger than x between the selected elements. So lets say we have $SortedS(i)$ which returns the ith largest element in S. So we search for the probability that for all i $0 <= i < |S| => SortedS(i + 1) - SortedS(i) < x$. Similarly I wonder for a single element in S, how large is the probability that the difference between this item and the next smaller and bigger is larger than x.


How to find the sum $\sum_{k=1}^{∞} \frac{k^2}{(k+1)!}$

I've tried to find the sum of $\sum_{k=1}^{∞} \frac{k^2}{(k+1)!}$ and calculator says its sum is $e-1$. I thought that it is related to the Maclaurin series of $e$, well I could not derive the $-1$ term for answer. What is an elementary way to derive the answer? Thank you for your help.


How to take server credentials from FileZilla client installed in my pc?

Hi I use FileZilla to transfer files to the server via FTP.  I connected to FileZilla from my computer months ago. I entered the server address, port & administration password on to the startup window of the software & checked the "Always connect to this server" option ON. So, every time I start FileZilla, It connects to my server automatically & I never had to remember my credentials.  I know it's in the software itself..somewhere...like in a cache memory or something. I need to get those details. How can I take those credentials from the FileZilla client installed in my desktop pc.? Is it even possible?  Here's an image.


How big of an impact requests per second and memory consumption can have on costs

Gentlemen,  We are in a bit of a debate here. An old one, php framework or no framework. We ran some tests and core php clearly takes the lead in handing requests per second and better memory consumption.   We are building an enterprise level micro services based app. So the question is, when it comes to operating costs of server, how big the difference could be if we use a framework which can handle 1k requests per second, vs no framework which can handle 7k requests.  Framework in question is laravel  Our server is centos, apache, mysql on GCP


I am trying to wrap text in the multirow column (1st one) and only have the vertical lines inside the table if that makes sense.   Can anyone help me? `  \begin{table*}[!htbp] \centering \renewcommand{\arraystretch}{1.4} \begin{tabular}{|c| p{2cm}|c|c|c|c|} \cline{3-6} &&\multicolumn{2}{c|}{\textbf{Gravité du Dommage G1}} & \multicolumn{2}{c|}{\textbf{Gravité du Dommage G2}}\\  \cline{3-6} &&\textbf{Fréquence F1} & \textbf{Fréquence F2} & \textbf{Fréquence F1} & \textbf{Fréquence F2}\\ \hline \multirow{ 2}{*}{\textbf{Probabilité Occurence O1}}&\textbf{Possibilité Evitement P1}&&&&\\ \cline{2-6} &\textbf{Possibilité Evitement P2}&&&&\\ \hline \multirow{ 2}{*}{\textbf{Probabilité Occurence O2}}&\textbf{Possibilité Evitement P1}&&&&\\ \cline{2-6} &\textbf{Possibilité Evitement P2}&&&&\\ \hline \multirow{ 2}{*}{\textbf{Probabilité Occurence O3}}&\textbf{Possibilité Evitement P1}&&&&\\ \cline{2-6} &\textbf{Possibilité Evitement P2}&&&&\\ \hline \end{tabular} \end{table*}


Powering a circuit from either USB or LIPO

I have a small hobby project which includes MCU and some peripherals. It is powered by 3.3V power source and consumes 200mA-800mA for up to a minute. However, most of the time it's in deep sleep mode where is consumes very little current (as low as 5 µA, hopefully) in order for it to last longer when powered by battery. Now I would like to power my project by USB when USB is connected, or by one cell LIPO battery when USB is disconnected. When USB is connected I would like it to both power the circuit and charge the LIPO. Here is the high level scheme I had in mind:     – Schematic created using  Since USB voltage (5V) is always higher than LIPO voltage, D1 and D2 make sure that when USB is connected the LIPO is disconnected from the DC converter, and when USB is disconnected the LIPO charger is disconnected. My questions are:  Does my high level scheme make sense? Any special consideration for selecting D1 and D2? My main concern is how to select the DC converter. Input voltage ranges from 3V to 5V although I can probably live with the converter shutting down when its input is below 3.3V as most of the LIPO power is consumed before it gets lower. I'm looking for a high efficiency converter that can handle efficiently both high currents and very low currents, in order to make the battery last longer. Would a step down converter be a better choice than LDO? What parameters should I look for in the data sheet?


Why am I not logged in to all of my communities when I log into StackExchange?

I noticed that after I log into SE I am automatically logged into most of the communities that I am a member of, but not all. Ask Ubuntu, for example, requires me to sign in again, but doesn't have the option to simply use my SE credentials. I'm not sure if there is something I missed, or some trick to logging in that would actually log me in to all of my communities.  Basically, I go to my communities page, select Ask Ubuntu, and I'm taken to my user profile, but I'm not logged in. Therefore, it would seem that the profiles are linked, so why not log me in to all communities associated with my SE profile?


Wifi doesn't work after fresh install of 16.04

I just installed Ubuntu 16.04 on my Lenovo notebook with a Broadcom network device. My wifi isn't working. I tried to activate a private driver, but that didn't work.  03:00.0 Network controller [0280]: Broadcom Corporation Device [14e4:43ae] (rev 02)


Why does General Grievous have blue and green lightsabers instead of a red lightsaber?

In Revenge of the Sith, General Grievous has four lightsabers. Later on in the film, we see him use those lightsabers when he fights Obi-Wan and there's not a single red lightsaber - just 2 blues and 2 greens. Are they trophies?


Book return flight, but after another round trip

I am currently in the US. I plan on leaving back to my home country (UK) on October 18th, but I haven't booked it yet.  I did already book a trip back to the US with a relative for a week in November.  As we know, it's expensive to book a one way flight. Because I will likely come back to the US again next year (I have friends there and also go to conferences) can I book a return flight to leave on the 18th and come back next year?  For example:   18th October 2019 US -> Home (Ticket 1) 5th November 2019 Home -> US (Ticket 2) 12th November 2019 US -> Home (Ticket 2) Some time in March 2020 Home -> US (Ticket 1)   I wouldn't cancel the ticket (2) after I fly home. It's likely I would really use the return segment to come back and then have another one-way ticket to return back home in March.  Is this possible? Thanks


Will a standard 9V alkaline battery (300mAh- 400mAH) be able to supply 2.5A for 5-10 second at a time?

For example, I have a motor that needs a surge of 2.5A for a short amount of time from a 6V power supply.  Will any 6V battery able to supply that current? Even if let's say it has only a 500mAH. How does AMP rating matter when talking about this?


I'd like to order a dictionary by the value. It seems the way it would usually be done in .Net doesn't exist in the Mono API.   Is there any particular API call or should I do this myself?   Thanks


Migrate contacts from iOS WITHOUT using Gmail

I am new to Android and have been an iOS user for a long time. I've seen a lot of tutorials to migrate my contacts from my iPhone to Android however all of them say I have to use gmail.  I take privacy very seriously and don't like the idea of have to upload all of my contact details into google's database especially after all of the leaks in the media as to how they are used.  I've never used Apple's cloud service for the same reason.  Question: How can I add my contacts from my iPhone as a flat file or perhaps via my Apple Address Book (on my mac) directly to my Android (Galaxy Nexus) WITHOUT having to give all of the data to Gmail (which I seldom use).  Thanks very much


I have a string whose value is '12345678'. I want to assign this value to integer array like the first index of the array contains 1, the second index of array contains 2 so on. So when I write below code and execute then i received value 48 for 0 index and  value 49 for second index, ascii value of my number.  Declaration   int[] ArryDIReadValue = new int[DI_COUNT_CHANNEL]; string binary = Convert.ToString(portData, 2);  ArryDIReadValue = binary.Select(n => Convert.ToInt32(n)).ToArray();   Could someone please help to overcome this problem.


Change audio output depending on which one is on

I have a PC that is hooked up to my HDTV (via a long hdmi cable) and to a monitor, which is in another room. I have speakers directly plugged to the PC audio out. The PC is next to the monitor and speakers.   I am not sure but I think Windows can play sound on only 1 audio device at a time. And I can only set 1 device as the default output. I can get sound on the TV or speaker depending on which device I set to default. But I would have to do this every time I switch between using my TV or my monitor!   Is there some way to configure such that sound plays through the TV if the TV is on, else it plays in the speakers? If this is not possible, then the next best alternative would be to get the sound to play on both the devices at the same time.


How do I find a function $f$ such that $f(x^2)=2f(x)$?

Does there exist a continuous function $f$ such that $f(x^2)=2f(x)$ and $f(0)=0$? How do you solve this? I understand that this is nothing like a normal equation, because you can't solve for $x$, or $f(x)$, because of that $f(x^2)


Prove that $A_n$ is a Normal subgroup of $S_n$?

I know how to prove that $A_n$ is a subgroup of $S_n$ but i do not know how to prove this using the index.


Good Introduction to Hopf Algebras with Examples

I want to learn more about hopf algebras but I am having trouble finding a down to earth introduction to the subject with lots of motivation and examples. My algebra knowledge ranges from Dummit and Foote, Atiyah-Macdonald commutative algebra, and Hartshorne level algebraic geometry.  What are good places to look at for a hopf algebra beginner? My main motivation is for studying groupoid schemes from an algebraic point of view.


Find the limit of the sequence $\{\frac{x_1 + 2x_2 + ... + nx_n}{n^2}\}$, where $\{x_n\}$ is a convergent sequence in a normed space S.

Let $\{x_n\}_{n=1}^{\infty}$ be a convergent sequence in a  $(S, ||\cdot ||)$. Find the limit of the sequence \begin{align} \left\{\frac{x_1 + 2x_2 + \cdots + nx_n}{n^2}\right\}_{n=1}^{\infty} . \end{align}  Could you please give me some hints where to start?


Change owner of internal hard drive partition from root to user

I have a number of drives internal and external. Some are partitioned. Most mount automatically at boot (all did at one point).    One partition is owned by root and therefore does not mount automatically. I know how to mount it as root.   I do not know how to take ownership of that partition as user X. I have tried changing permissions using the gui in Nautilus as root. They are not accepted and immediately revert.  The partition is NTFS. The other parition on that drive is owned by me as user and mounts automatically


Historische Zeitschrift Style capitalizing first letter problem

I am using Historische Zeitschrift Style and the probem I have is that it capitalises some of the things it shouldn't. Let me try to explain.  Here is my MWE:  \documentclass[a4paper,11pt]{scrartcl} \usepackage[latin1]{inputenc} \usepackage{csquotes} \usepackage{blindtext} \usepackage{filecontents} \usepackage{hyperref} \hypersetup{     colorlinks,      citecolor=black,      filecolor=black,      linkcolor=black,      urlcolor=black } \begin{filecontents}{\jobname.bib}  @incollection{athanasius1998,     Address = {Berlin/New York},     Author = {{Athanasius Alexandrinus}},     Booktitle = {Athanasius Werke - Die dogmatischen Schriften},     Call-Number = {TH: Vb 17.02-1.1.2},     Date-Added = {2010-10-16 13:24:30 +0200},     Date-Modified = {2014-03-13 17:12:32 +0000},     Editor = {Marin Tetz and others},     Keywords = {source},     Pages = {109-175},     Publisher = {Walter de Gruyter},     Read = {No},     Series = {Urkunden zur Geschichte des Arianischen Streites 318-328},     Shortauthor = {Ath.},     Shorttitle = {Ar. 1},     Title = {Oratio I contra Arianos},     Volume = {1, Tl. 1, Lfg. 2},     Year = {1998}} @incollection{evagrius2011,     Address = {Paris},     Author = {{Evagrius Scholasticus}},     Booktitle = {{\'E}vagre Le Scholastique: Histoire Eccl{\'e}siastique - Livres I-III},     Call-Number = {TH: Va1.05/542},     Date-Added = {2013-08-24 12:11:20 +0000},     Date-Modified = {2014-03-30 11:54:31 +0000},     Editor = {Joseph Bidez and Leon Parmentier},     Keywords = {source},     Publisher = {Les {\'E}ditions du Cerf},     Series = {Sources chr{\'e}tiennes},     Shortauthor = {Evagr.},     Shorttitle = {h.e.},     Title = {Historia ecclesiastica},     Volume = {542},     Year = {2011}} \end{filecontents} \usepackage[ngerman]{babel} \usepackage[style=historische-zeitschrift, maxnames=2, hyperref=true, backref=true, backrefstyle=none, backend=bibtex,idemtracker=true]{biblatex} \bibliography{\jobname} % \makeatletter \renewbibmacro*{footcite}{%   \global\boolfalse{cbx@loccit}%   \global\boolfalse{cbx@seenote}% NEW!   \ifciteseen     {\iffieldundef{shorthand}        {\ifthenelse{\ifciteibid\AND\NOT\iffirstonpage}           {\usebibmacro{footcite:ibid}}           {\usebibmacro{footcite:note}}}        {\usebibmacro{footcite:shorthand}}}        {\iffieldundef{usera}          {\usebibmacro{footcite:full}}{\printnames{author}%        \setunit{\addcomma\space}%        \printfield{title}\isdot%          {\setunit{\addcomma\space}%           \usebibmacro{in:}%           \printfield{usera}%           \setunit*{\addspace}%           \printfield[default]{volume}}}}      \usebibmacro{footcite:save}} \makeatother % \begin{document} \blindtext\footcite[See][S. 56]{athanasius1998} \blindtext\footcite[See][S. 22]{evagrius2011} \blindtext\footcite[See][S. 11]{athanasius1998} \blindtext\footcite[See][S. 12]{evagrius2011} \end{document}   When I compile that this is what I get:    The letter "W" (marked with the red arrow) should here be small but because Shorttitle of that entry has a dot at the end (h.e.) it capitalises the first letter in the brackets.  If you compare it with the previous entry (Ar. 1) you will notice that that one doesn't have capital "W".  So how do I make it stop capitalising "W"? Thanks in advance for your help!


It seems that placing a footnote in a table is different a footnote in the text. Consider this table  \begin{table}     \centering     \caption{Simulation parameters}     \label{sim-param}     \begin{tabular}{| p{2cm} | p{5.1cm} |}         \hline         Processing Nodes &  UltraSPARC III ISA   \\          interconnect \footnote{the text of footnote}        &  something \\         \hline     \end{tabular} \end{table}       In the pdf file, I see the number 1 at the top of interconnect but there is no the text of footnote in the text.   Any way to fix that?


Display limited repeat values in one pdf page

Is there any way of limiting the displayed repeat values in one page?  Ex: Display first two values in first page, next two values in the next page etc ?   I tried to find a way of doing this but I could not find anything helpful.


Finding distance between points in two different layers along route in ArcMap?

I need to find the distance between points in separate layers along a stream network. I have source sites for macro-invertebrates and sites where they are lacking. I need to find the distance between the source sites and the sites where they are not through the stream network.   I tried the linear referencing toolbox but the locate features along route tool can only use one layer of points and has not way to differentiate between sources and not source sites.  Any ideas?  I am using ArcMap 10.3?


How to Find $ \lim\limits_{x\to 0} \left(\frac {\tan x }{x} \right)^{\frac{1}{x^2}}$.

Can someone help me with this limit? I'm working on it for hours and cant figure it out.  $$ \lim_{x\to 0} \left(\frac {\tan x }{x} \right)^{\frac{1}{x^2}}$$  I started transforming to the form $ \lim_{x\to 0} e^{  {\frac{\ln \left(\frac {\tan x}{x} \right)}{x^2}}  }$ and applied the l'Hopital rule (since indeterminated $\frac00$), getting:  $$ \lim_{x\to 0} \left( \frac{2x-\sin 2x }{2x^2\sin 2x} \right)$$  From here, I try continue with various forms of trigonometric substitutions, appling the l'Hopital rule again and again, but no luck for me. Can someone help me?


JS Passes by reference into a function and can override properties, but can't overwrite whole object?

I'm trying to understand a complexity someone showed me in JavaScript. Consider the following simple function:  function myFunction(p) {     p.property = 1; }  var obj = {property: 0}; console.log(obj); // {property: 0} myFuncton(obj); console.log(obj); // {property: 1}   Let's repeat this, but instead of overwriting one part of the object, let's overwrite the whole object:  function myFunction(p) {     p = {property: 1}; }  var obj = {property: 0}; console.log(obj); // {property: 0} myFuncton(obj); console.log(obj); // {property: 0}   Why does obj not get replaced here as expected?


I've tried to run in the command line the following command:  sudo apt-get upgrade , but I get this message:  The following packages have unmet dependencies:  idle : Depends: idle-python3.6 but it is not installed  What should I do????


Mysterious failure of kpsearch library to find article.cls on Linux system

I have spent the better part of two days trying to figure out why my ubuntu linux system (two different systems, actually) are suddenly failing to find .cls and .sty files from my texlive distribution.  I had originally used the ubuntu texlive, and that's where it started showing up.  So, I did a purge of all my texlive packages and installed the 2020 texlive from the TUG installation script as explained .  But I still have the same problem.  Here's what I've done so far:  when logged in as the texlive user, all seems fine.  In particular,  $  kpsewhich article.cls /usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls  But when I run it as my normal user name, I get nothing and an exit code of 1.  When logged in as either me or texlive, I get the following for the TEXMF variable:  $ kpsewhich --expand-var='$TEXMF' {{}/home/ded/.texlive2020/texmf-config,/home/ded/.texlive2020/texmf-var,/home/ded/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2020/texmf-config,!!/usr/local/texlive/2020/texmf-var,!!/usr/local/texlive/2020/texmf-dist}  which looks right in both cases.  I have checked file permissions, and all the texlive files have "other" read permission.  Just to make sure, I can do this when logged in as me:  $ cat $(find /usr/local/texlive/2020/texmf-dist -name article.cls | head -n 1)  and I get the contents of artlicle.cls dumped to my screen.  I have a ~/texmf directory, and it all looks kosher.  I have no ~/.texlive2020 directory.  I have run kpsewhich with various debug flags, and I can see where it searches the right directory, but still does not return the path for article.cls.  I see this line in the output:   $ kpsewhich --debug=13 --must-exist --path=/usr/local/texlive/2020/texmf-dist// article.cls 2>~/tmp/kps-out ... kdebug:dir_links(/usr/local/texlive/2020/texmf-dist/tex/latex/base) => 2 ...  but still is not seeing article.cls. I am hoping someone can suggest something else that I might try or suggest a solution.


Where in the registry does Windows store with which program to open certain file types?

After installing Adobe PDF reader, it opens files with the .PDF file extension. Ones' default web browser opens .html files and notepad opens .txt files, etc.  Where exactly in the registry are these filetype - program associations stored in the registry?   In other words, how does Windows know with which software/program it must open a certain file(type)?


A few days ago, I was wondering about a series expansion for $$f(x) = \  x^x$$ so I tried taking a couple derivatives. From these I was able to guess at some formulas for the general coefficients of the first few terms of the nth derivative as well as the last term (where I put the terms of the derivative in the order  $$f^{(n)}(x) = c_1x^x + c_2x^{x-1} + c_3x^{x-2}\ + \ ... \ +\ c_nx^{x-(n-1)}$$  Please let me know if there is a general formula for the coefficients as a function of n. In my own fooling around, I found that $$\ln(x)+1$$ appears quite a bit, so I called this $a$ in my work. Since I would like to center my expansion at $1$, and this expression evaluated to $1$, at $x=0$, I was interested in writing my formulas as functions of $n$ and $a$. I found that you get something of the form (this could very well be completely incorrect):  $$f^{(n)}(x) = ax^x + a^{n-2}{\binom n2}x^{x-1} + a^{n-4}(3{\binom n4}-a{\binom n3})x^{x-2}\\ + a^{n-6}(15{\binom n6}-10{\binom n5}a+2{\binom n4}a^2)x^{x-3}\ + \ ... \ +\ (-1)^n(n-2)! \ x^{x-(n-1)}$$  An interesting property that seemed to recur for the various coefficients was  that once I found a recursion formula for the coefficient in question and plugged in my initial value, it always seemed to be the same as taking the integral of the previous coefficient with respect to $a$. That is to say, if I plugged in the nth coefficient (a polynomial of $a$) into my recursion formula for the $(n+1)$th coefficient, this gave me the same result as integrating. In general, as reflected by the few coefficient formulas above,  the formula for the coefficient of $$x^{x-c}$$ where c is an integer such that $$0\le c<n$$ "Stabilized" to a polynomial of a with c terms after the first few applications of the recursion formula. This stabilization occurred when $$n=2c$$ Also, as a direct result of the tentative and incomplete formula I have written above, the first nonzero-value for the coefficient of $$x^{x-c}$$ is $$(-1)^{c+1}(c-1)!$$ and appears in $$f^{(c+1)}(x)$$ If these various properties are indeed true, can anyone explain why this would be the case? I am aware that this function can be expanded using the expansion for $$e^x$$ with $$x\ln(x)$$ in the exponent. This does not strike me as particularly enlightening (let me know if I'm missing something). I am most interested in the coefficients on the binomial coefficients, since these are the only things that stand between me and a general formula for the coefficients (since the form is quite standard). These are: $$1$$ then $$3,-1$$ then $$15, -10,2$$The sum of these coefficients should also give the nth derivative evaluated at zero since $$f(1) = 1$$ and $$a(1) = 1$$  Anyway, please let me know what you think! I am currently stuck due to an inability to brute force my way any further and a complete lack of cleverness. My knowledge of mathematics is quite elementary, so please explain any higher level concepts if they are necessary to explain this problem.


Distributing QGIS plugin which depends on certain Python packages

I developed a plugin for Qgis which depends on some Python packages. On Linux and Mac, this is not really a problem because I can easily install them with the system pip command. Windows is another story because Qgis bundles its own Python installation.   I want to distribute this plugin across the rest of our company, with minimum effort. I thought about setting up our own Qgis plugin repository, so my coworkers also get automatic updates.   But is there some automatic way to install some extra python packages in the Qgis python installation?


Why are there different ways of building projection matrices?

documentation page says that this method uses the following formula to build a perspective projection matrix.  [w, 0, 0, 0] [0, h, 0, 0] [0, 0, zFar/(zFar - zNear), 1] [0, 0, -zNear * zFar / (zFar - zNear), 0]   where  h = cot(fovY / 2) w = h * aspectRatio   DirectXMath's DirectX::XMMatrixPerspectiveFovLH uses the same formula but with a difference. It calculates w as w = h / aspectRatio therefore creates a different matrix.  There is a difference between orthogonal projection matrix building too.   Why are there such differences or am i missing something?


Prevent Photos app on OSX from launching when plugging in device

The Photos app opens whenever I plug in my phone.    How can this be prevented?  I have seen many solutions for the old iPhoto app that involve changing the "Connecting camera opens" option, but the new app has no such option.


How to clearly display inline editable attributes?

What is the best way to display inline editable attributes among non-editable ones.   E.g. (image attached) Name and Notes can be edited, while Source and Order no. not.


I am trying to install Windows 7 Professional x64 from a bootable USB stick. I have used the Windows 7 USB DVD Download Tool to create the media from an ISO.  The machine boots from USB fine, and enters the Windows installation wizard but then I get an error stating:     A required CD/DVD drive device driver is missing. If you have a driver floppy disk, CD, DVD, or USB flash drive, please insert it now.   I have tried setting the SATA controller in the BIOS to both AHCI and ATA but neither appear make any difference.  I've also tried both the USB 3 and USB 2 ports with no difference.  I've also tried to use the files from an official Dell recovery CD as this is a Dell laptop but again, no dice.  All this because there's no optical drive in the machine!  Dell Vostro V131 / i5-2450M / BIOS A04  Can anyone offer any advice please?


If $f$ a is a function and $A$ is a set, what could the notation  $$f|_A$$  mean? Is it perhaps "restricted to set $A$"?


Is there a list of reputable open-access-only publishers?

Many new publishers have recently appeared because of the open access model (they do not need to struggle with sale & marketing). Some of them are shady business efforts, but some have strong scientific standards and their journals are reliable.   lists unreliable publishers. Is there any resource listing reliable Open-Access journals? Such list can introduce us reputable publishers we have not come across yet.  The answer to the question "how to identify" can be found .


Conditions for uploading IEEE publications to ArXiv

Having a paper accepted at an IEEE conference I would like to upload it to ArXiv. From the :     Can an author post his manuscript on a preprint server such as ArXiv?   Yes. The IEEE recognizes that many authors share their unpublished   manuscripts on public sites. Once manuscripts have been accepted for   publication by IEEE, an author is required to post an IEEE copyright   notice on his preprint. Upon publication, the author must replace the   preprint with either 1) the full citation to the IEEE work with   Digital Object Identifiers (DOI) or a link to the paper’s abstract in   IEEE Xplore, or 2) the accepted version only (not the IEEEpublished   version), including the IEEE copyright notice and full citation, with   a link to the final, published paper in IEEE Xplore.   I am not quite sure what this exactly means. I have the latex source for the document I submitted to the conference. What modifications do I have to make in detail?  Do I have to add an extra page with "IEEE copyright notice and full citation, with a link to the final, published paper in IEEE Xplore". Where can I find the IEEE copyright notice?  I suppose I am not allowed to change any of the content, but what about the template? Do I have to use the format I submitted to the conference?


I'm about to visit Canada in 10 days from USA and planning to stay there for about 5 months. I have a multiple entry tourist visa which is valid for 5 years.  Do I still need to provide proof of funds when I arrive there? If yes, how much should it be for something around 5 months? And, should I provide a document for it or is that fine just to have it in my US bank accounts and just show a print of statements?  The reason I ask is that they already asked for the proof of funds when I applied for the Visa last year, but I'm not sure if they also will ask for it when I arrive there or not, and if they will ask proof for a big money as I'm planning to stay there for 5 months?


Understanding bitwise operator with int list

I'm trying to understand the bitwise operators related to a piece of code I found. So far I failed to understand the shifting part. Could someone explain to me related to below sample code?   The example list:  var list = new List<int>();  int[] input = { 0, 2, 15, 19, 31, 32};  list.AddRange(input);   Then part of a code:  foreach (var i in list) {      var pos = i >> 3; }   What does the i >> 3 relate to? To the list position or the input value position?


Consider the ring $\Bbb Z[x_0,\cdots,x_n]$ with the grading defined by the degrees of polynomials, then we have $\mathcal O(\mathrm{Proj}\,\Bbb Z[x_0,\cdots,x_n])=\Bbb Z$.  Let $R$ be a nonzero commutative ring and consider the ring $R[x_0,\cdots,x_n]$ with the grading defined by the degrees of polynomials. What kind of ring $R$ makes $\mathcal O(\mathrm{Proj}\,R[x_0,\cdots,x_n])=R$?


Why are Star Trek ships (mostly) built by hand?

In the middle of the episode "Eye of the Beholder" (from the seventh season of Star Trek: The Next Generation) one of the crew members says to Troi and Worf that [no direct cite] the entire ship was built by people at Utopia Planitia. There were people virtually everywhere and he recalls himself placing some cord "right beyond that panel".  It is the 24th Century, right? Currently, four hundred years before that time, we have fully automated plants, that are able to produce most of a car, ship or plane, if not entire ones, with little or no help from human efforts. How can we imagine (taking today's progress of science as a base), that in the 24th century ships will be built using human power mostly or only? How can we believe that after the next four hundred years someone will be manually placing a cord somewhere?  Automated production lines and using pure robotic sections in plants are not a 21st Century discovery. There were available (at least in the automobile industry) back in the early 1980s, if not earlier. Star Trek: The Next Generation writers and producers must have known this.  Is there any in-universe or out-of-universe explanation as to why they decided to push this matter to a level where it becomes hard to believe, i.e. that 24th Century ships are built by hand and by human power?  This question is related to "", but only in the context of robotic machines designed to automate or aid in production and building processes — not about full-featured androids intended to replace (biological) human engineering crews.


I am new user for Ubuntu and i use Ubuntu 16.04 LTS version. My problem is that I can not open software center. It can open before. After update and install some application, can't open software center.


I am trying to send a google login link in email body, but it always marks as spam.  The reason which i've found only is accounts.google.com, even though the 'google.com' also not. When i put account. in start of this; it goes to spam otherwise everything works perfect.  See the link and email body below.  $google_link='accounts.google.com/o/oauth2/auth?response_type=code&redirect_uri='.$site_url.'&client_id='.$client_id.'&scope=email+profile&access_type=online&approval_prompt=auto';    $html.='
           Click here
               ';  wp_mail( $email_address,subject, $html, $headers);   Question: Is there any way to encrypt this URL in email body to send and it works proper in email/gmail inbox?   Is there any other way to avoid the email going to spam like marking specific email by it's subject using any third party mail sending tool?


Is it possible to add a white layer below an image?

I am creating a beamer presentation using the beetle color theme (gray background).  I am loading eps images that do not have a white background layer and would like to add one.  I do not want to edit all the images to add a white layer to image file.  How can I add a white layer, with the same size and position, to serve as a background?


Why double ampersand chained conditions runs in background together the last one?

I have some conditions for some background job to run:  condition-command && condition-command && background-job &   The problem is: I want the conditions to block until the job runs, as if I had run:  condition-command; condition-command; background-job &   But it isn't a condition, if previous command fails I do not want the job to run.  I realised it is asynchronous, but it should not, in my mind the both following scripts should be the same, but they do not:  sleep 2; echo foo & sleep 1; echo bar; wait   # prints foo, then bar: correct sleep 2 && echo foo & sleep 1; echo bar; wait # prints bar, then foo: bug   I know if I test $? variable it would work, or if I put the last one inside a subshell (but then I would lost job controls, I want to avoid daemons), but I want to know why bash make it this way, where is it documented? Is there any way to prevent this behaviour?  Edit: Chained ifs is disgusting, that is why I will not accept it as a alternative way. Edit 2: I know a subshell is possible, but it will not work for me, let us imagine I want to run a bunch of commands then wait in the end. It will be possible if i check the existence of /proc/$PID directory, but it would be a pain in the neck if there are several jobs. Edit 3: The main question is WHY bash does it, where is it documented? Whether or not it has a solution is a bonus!


Choosing a zero-sum sequence from a finite field.

Let $\mathbb{F}_p$ be a finite field (for a prime integer $p$), and let $x_1, \ldots, x_{2p-1}$ be any sequence of elements from it. Prove that I can chose $p$ elements from this sequence such as their sum is zero.   I think there can be useful probability method. But I can't it.


In the film Harry Potter and the Sorcerer's Stone, Hagrid mentions he needs to leave in a hurry and hands Harry the train ticket. Harry asks Hagrid about the ticket as he squints at it in confusion, but gets no response. Harry then turns to see that Hagrid is nowhere to be seen, even though he was there just a second ago. He has somehow vanished into thin air.  What actually happened here?    Hagrid was there seconds ago. They were standing in the middle a bridge-like walkway in the train station so there are only 2 ways to go; forward or back the way they came, yet there's no sign of Hagrid walking away in the distance. Hagrid, though strong, doesn't strike me as being a cheetah-like sprinter, and I don't think he's related to The Flash. Did he apparate? Did he fly away on a broom?   The question  seems to indicate that itls illegal for Hagrid to apparate, as his wand was broken upon expulsion. Did he apparate then, using the umbrella-wand thingy? What is the in-universe, movie version explanation for how Hagrid seemingly vanished into thin air?


Why is Superman portrayed as so muscular for someone who probably never went to the gym?

So, here was a guy who landed on our planet a small baby, went to school a normal kid, with normal looks, no difference from his peers externally. Now, here he is, can lift the whole Empire State building with one hand, and lift planets with two hands with little effort.   Curious thing is, as an adult, he is almost always portrayed as one hell of a Hunk; well built, Ronnie Coleman/Hulk style physiques. So, can someone tell me when the guy ever went to the gym? How and when did he gain so much muscle and mass yet he can lift every possible weight on earth with a finger or hand? Or is it the Yellow Sun?


Reopen votes can be cast on deleted questions

Fiddling around on  deleted question, I accidentally hit the "Reopen" button. Curious, I followed through, and it actually appeared to cast my vote, without screaming at me:  Why doesn't it show the error:  That is shown when a deleted question is voted to be closed?  Can we make it show the error when you hit "reopen", since deleted questions aren't supposed to be voted on?


.bashrc overwritten but still sourced -- how can it be recovered?

Usually when I find a command I want to alias, I echo it to my .bashrc like so:  [up button pressed to last command, then line edited so that it reads] $echo "command-i-just-did" >> ~/.bashrc   There may be a better way to do this. But anyway, just now I overwrote the entire .rc file by using a single chevron. However, since the .bashrc is still current, it's still accepting my old aliases (for now of course). So is there a way to recover it?


Got unbanned from asking question and good positive reaction to my next question and still got banned again

Recently I saw that I got unbanned from asking question and so I asked a question...   I got a good positive reaction to the question but I looked at the "ask a question" and it blocked it to me again... Anyone know why and whats the problem? Why would it block it to me again?


Branches of $\log(z)$ on $\mathbb{C}\backslash(-\infty,0]$?

I know this is the most typical example of branches and I think I don't get the concept... Could you help me by giving a detailed development leading to all the required branches? It'd help me understanding more complicated examples...  Thank you very much, this concept really is hard to understand for me...


Parentheses under equation with function surrounding

I want to obtain parantheses under equation like this:    I can write the equation without \Phi{} term, however, I cannot manage to write this function \Phi there surrounding the RHS of equation.  The code I have now, which is not working is:  $$ \begin{alignat*}{5}  &\hat{Pr}(deny = 1| pirat, black)  = {}&&\Phi{  {}&&-0.091 + {}&&0.559         pirat + {}&&0.177 black} \\        &         &&     &&(0.033)    && (0.104)        &&(0.025)    \end{alignat*}  $$   Is it possible to do it somehow inside this alignat* environment?


Please get rid of the peer pressure badge

The peer pressure badge awards users for deleting their own bad post.  Some users like to game the system.  Just recently, I saw a post where a user posted an intentionally bad question.  The user later declared that this was because they wanted the peer pressure badge.  Although I realise that abuse alone is not a good reason to remove something, I really don't think the peer pressure badge adds anything good to the system.