PhD. in the US directly after European BSc., or is it better to go for a MSc. at first?

I'm currently in the final year of my BSc. in physics and the second year of my BSc. in mathematics at a university in german-speaking Europe. I'll have my degrees finished in summer 2018. Eventually, I'd like to end up in theoretical or mathematical physics research (most probably gravitational physics) and would love to experience some time at a foreign university. Firstly, since my university is stronger in the experimental field and has a relatively small theory group and secondly for the sake of broadening my horizon. The US (or generally Northern America) would be particularly interesting, because of the somewhat "more open" research culture, in comparison to a highly bureaucratic and kind of inert (and often poorly financed) apparatus in german-speaking part of Europe (and probably in the whole EU - at least that's my naive perception of it, or am I wrong in this?). I read that the PhD. in the US is a bit different to the one in Europe, e.g.  that a MSc. is kind of integrated in the coursework-heavy first one or two years of a US PhD. Nevertheless, there are some interesting MSc. programs in Europe, e.g. in Edinburgh or at the ETH in Zurich. So, my questions would be (from a rational/scientific-career point of view):  Is it reasonable to go for a PhD. directly after a BSc. in the US? Or would it be more sensible to pursue a MSc. in Europe first and only then head for a PhD. in the US? Small side question for physicists since I'm just researching into this: Which universities in Northern America have a strong gravitational physics department (aside from Stanford and Princeton)?


I would like to typeset a table with a multicolumn heading only. Here is my current attempt  \documentclass{article} \usepackage{pgfplotstable} \usepackage{booktabs} \usepackage{array} \usepackage{colortbl}  \begin{document} \pgfplotstabletypeset[col sep=&, header=false, every head row/.style={ before row={% \toprule Facteurs & \multicolumn{5}{c}{Niveaux}\\ }}, every last row/.style={ after row=\bottomrule}, display columns/0/.style={string type} ] {% \pgfutilensuremath{\chi} & 8 & 11 & 14 & & 5 & 8 & 11 & 14 & 45 & 2.456 q & 8 & 11 & 14 & & 3 x & 8 & 11 & 14 & 5612345 & 4 b & 8 & 11 & 14 & & 5 } \end{document}   which gives the following result:    How can I remove the headings row circled in red in the picture?


How to prevent screen from terminating when command in window terminates

When running 'screen ls' the screen stops with the text [screen is terminating]. I would like screen to keep the session alive and reattach to it to see the output of ls.  Of course the real thing is that I don't run screen ls, but rather a screen fsck ..., so I would like to ensure that the screen is not terminating when this command is finished.  I would love to have an answer that is useful for an already existing running screen session, so some interactive keys like C-a ... or C-a : (Enter command line mode)


What is the executable opcode for Qiskit quantum hardware, as the quantum circuits or the transpiled/compiled QObj/ QASMQObj are assembly languages?

When we write a QASM code or build quantum circuit on Qiskit GUI, it converts it into QObj/QASMQObj (refering paper ) or its transpiled version, before executing. However this is assembly language, how it is converted into opcode/bytecode before executing on the hardware?


Select with Left Function Condition SQL Server

Can anyone help with this query?  SELECT        TOP (200) Material, Plant, StorLocation, Batch,  LEFT(Batch, 1), CASE WHEN LEFT(Batch, 1) <> '0' THEN      Batch   ELSE      CONVERT(INT, Batch) END AS BATCH,   MaterialDescription, SLDays, Days, SLEDBBD, Unrestricted, BUn, Location, Status FROM            ZMB5M WHERE BATCH = '67918688Q0'   But it return an error :  Msg 245, Level 16, State 1, Line 2 Conversion failed when converting the nvarchar value '67918688Q0' to data type int.   Batch is in nvarchar, and i want to remove data in batch that have some '0' in start of data Thanks..


Find $\displaystyle \lim_{x\to0}\frac{\sin(x)-\tan(x)}{\arcsin(x)-\arctan(x)}$  I tried using L'hopital's rule but it got very messy very fast    UPDATE- So reading about the Taylor series this is what I have so far   $$\lim_{x\to0}\frac{(x-x^3/3!+x^5/5!-\cdots)-(x+x^3/3+2x^5/5+17x^7/315+\cdots)}{(x+x^2/6+3x^5/40+\cdots)-(x-x^3/3+x^5/5-\cdots)}$$  But I'm still stuck


I always feel confused about the concept of wave. I don't know why we have to develop a term called "wave"? To me, wave made of particles oscillating up and down periodically.  Is wave just a collection of particles or is wave an identity independent of particles?  For example:  A Wave on a string is a collection of string particles  A Sea wave is a collection moving water molecules  A Light wave is a collection of photons  But,then why does the light still travels in a straight path?If light is a wave then,it should move up and down ?  Note:I am a high school student and English is my second language.


Get CSS not-computed property-value with Javascript only

Because I am quite new to programming and I am discovering Bootstrap right now, I am doing an exercise with containers and rows and col-XX etc., to know how what are their CSS properties.  Therefore, I am looking for getting the CSS values that devs put in the CSS files with Javascript. Not jQuery, but vanilla JS. Not the CSS values computed, but the CSS values written. Like the one we have in the console. I want to get them in order to put them back in a the HTML this way :
margin-right: 5%
, for example.  So a lot of people are talking about window.getComputed(element).getPropertyValue("property"), but I am not interested. I heard somewhere cssText, but I am not sure that it's the good one.  Is there a solution ? Is there actually a place somewhere where all the property-values-written of a selector are stored, in parallel to the property-values-computed ?  Thanks Arnaud  PS: I know the subject is already open  but it opened 7 years ago, and the only self-answer is not satisfying I think...


Question: Suppose today is Wednesday. What day of the week will it be $10^{{10}^{10}}$ days from now? Answer: This is what I have tried so far. I know that you need to find $10^{{10}^{10}}\text{mod} 7$ to solve this problem. If $10^{{10}^{10}} \text{mod}7=0$, then it will be Wednesday, if $10^{{10}^{10}}\text{mod}7=1$, it will be Thursday, and so on. I tried breaking up the large exponent as follows: $10^{{10}^{10}}\text{mod}7=(10^{{10}^5} \text{mod}7\cdot 10^{{10}^5}\text{mod7})\text{mod}7$. However, I do not know how to find $10^{{10}^5} \text{mod}7$. The answer to this problem is Sunday, so that means that $10^{{10}^{10}}\text{mod}7=4$.


Prove or disprove: $\sqrt{2\sqrt{3\sqrt{4\sqrt{\ldots\sqrt{n}}}}}<3$

Is it true that $\sqrt{2\sqrt{3\sqrt{4\sqrt{\ldots\sqrt{n}}}}}<3$ for any positive integer $n$?  We cannot prove the statement using induction as it is, because the left-hand side is increasing while the right-hand side stays constant. So we need to modify the right-hand side to something like $3-\dfrac{1}{n}$. But it is hard to quantify how much the left-hand side increases when we go from $n$ to $n+1$.


Why does both the if AND the else condition seem to execute in this code (Python)?

I know that similar questions have been posted on this site before, but I truly think this case is different so hear me out.  I have some simple Python code that creates a 2D list of characters (i.e. strings of length 1), tries to process the 2D list, and print it out. Here it is:  def printGrid(image):     for row in range(len(image)):         for col in range(len(image[row])):             print(image[row][col], end='')         print()     print()   def invert(image):     for row in range(len(image)):         for col in range(len(image[row])):             if image[row][col] == '.':                 image[row][col] = 'X'             else:                 image[row][col] = '.'   grid = [['.'] * 10] * 10    # 2D square of '.' printGrid(grid) invert(grid) printGrid(grid)   I was expecting the code to print out 1 square of .s and another of Xs, like this:  .......... .......... .......... .......... .......... .......... .......... .......... .......... ..........  XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX   but instead I got 2 squares of .s, like this:  .......... .......... .......... .......... .......... .......... .......... .......... .......... ..........  .......... .......... .......... .......... .......... .......... .......... .......... .......... ..........   After trying to debug for a while, I found that if I commented out the else block in the invert function, then I get the expected output (you can try running the code for yourself to see). This led me to conclude that both the if block AND the else block are executed. Does anyone know why this may be happening? (I'm using Python 3.6.1 btw)  P.S. I discovered that this bug apparently only appears for certain grid sizes. For example, if the size of grid is 5, 7 or 9, then the output is as expected. But if it's something like 6, 8 or 10, then the output is not as expected (apparently the bug only occurs for even-numbers of size?).


Ok, this is a bit of a tangent question, but it came up yesterday and I didn't know the answer:  How are arms and legs defined physiologically? For example, we say humans have two arms and two legs, while cats have four legs, and some monkeys (appear) to have four arms (although I guess they could be legs too). It's really unclear to me how we make these distinctions.   So:  What is the physiological definition of both "arm" and "leg"? How are they different?


Automatically digitize polygons by most outlying points within cluster in ArcMap

I'm looking for a tool or script that will allow me to automate the digitization of polygons by the most outlying points in a cluster of points with the same key attribute. Below is a sample image displaying this done manually.    Selected points are all with the same ID of "MD_1001". I have drawn a polygon around these points, and angled the polygon via the most outlying points in the cluster.  I have thousands of these clusters to digitize polygons over, and need some sort of tool or script to get this done quickly. I am using ArcMap 10.2.2.


Is there a totally disconnected topological space which is not Hausdorff?

Definition: A topological space $X$ is totally disconnected if for all $x \in X$ , the connected  component of $X$ containing $x$ is $\{x  \}$.  My question is:     Is there a totally disconnected topological space so which is not Hausdorff?


change citation style ( [1-4] to [1]-[4], and [5, 8-9] to [5], [8]-[9] ) with natbib?

I have spent a whole day trying to solve the following problem. Please help if you know how to do this.  I am using natbib (\usepackage[sort&compress,square,comma]{natbib}), and my current citation style looks like [1-4], [5, 8-9].  What is the easiest way to change the citation style to [1]-[4] and [5],[8]-[9]?


Look here - it's a list of new things that match my tags, so what is the 4k views, already answered and accepted question doing there? Is it a bug?


I know it is not recommended, but is it at all possible to pass the user's password to scp?  I'd like to copy a file via scp as part of a batch job and the receiving server does, of course, need a password and, no, I cannot easily change that to key-based authentication.


Alphabetic biblatex style. Cites without year number

I am using biblatex with style=alphabetic. Cites appears then as [Knu89]. But I would like them to appear as [Knu], without the last two year numbers. How can I do this? Also, if there are several entries in my bib file with same author (for example, two different entries with Donald Knuth as the author), I would like them to appear as [Knu1] and [Knu2]. How could this be achieved? I've been looking here through previous questions on TeX Stack Exchange and I have found nothing related.


Sigmoid equals softmax in Bernoulli distribution (binary classification problem)?

Apparently, the sigmoid function $\sigma(x_i) = \frac{1}{1+e^{-x_i}}$ is generalization of the softmax function $\text{softmax}(x_i) = \frac{e^{x_i}}{\sum_{j=1}^{n}{e^{x_j}}}$. As far I've understood, sigmoid outputs the same result like the softmax function in a binary classification problem. I've tried to prove this, but I failed:  $\text{softmax}(x_0) = \frac{e^{x_0}}{e^{x_0} + e^{x_1}} = \frac{1}{1+e^{x_1 - x_0 }} \neq \frac{1}{1+e^{-x_0 }} = \text{sigmoid}(x_0)$  Do I misunderstand something? How can I prove, that sigmoid and softmax behave equally in a binary classification problem?


Will old, pre-explored worlds never have strongholds?

Supposedly  only spawn between 640 and 1152 blocks from the origin and there are only three per world.  On the SMP server I play on, all that land has been explored for a very long time, so it obviously won't be regenerated unless somehow deleted.  Does this mean that the strongholds will never spawn?  Can they be generated in new chunks that are further out if they don't exist yet?


Best practices with multiple categories/tags etc. on URL (SEO)

I'm on the process of building my eshop platform and encountered a SEO issue.  My next step is to develop a searching box, where user searches the products of a specific category (say, desktops). This box will contain characteristics of the category desktops, for example, it will contain RAM and CPU for sure. Notice that in my searching box one will be able to select more than one categories.  My url (after rewrite) for showing products of a specific category is as this:  http://localhost/products/desktops   I know how to add another rewrite rule in .htaccess but i won't until i find out..  what is the best practice of adding multiple categories/tags in url without inflate it and cause damage (etc. page ranking) rather gain something.  For example, let's say someone wants to search through desktops and by (CPU and RAM)  Of course, the following patterns is non-acceptable, regarding variable size of input and known google dislike of many folders:  http://localhost/products/desktops/CPU/RAM/..   What about the following?  1. http://localhost/products/desktops/CPU-RAM 2. http://localhost/products/desktops/CPU|RAM   The 1 may seems nice but i learnt google is handling the hyphen (-) as words connector and these words are not connected?  The 2 is using the (|) pipe symbol since i learnt also google is using it to sort words of equal importance. I don't really if any of the above apply only to HTML content and/or not to URLs.  How can i feed my URL so to include a number of categories, say about 5 max. and if anyone knows how google handle such issue, etc. penalty or how searches/archive that stuff. I don't really want to apply any &filter_CPU=1&filter_RAM=1 thingy in the end and defeating the whole purpose.  UPDATE: Since my time was in essence i already went for the following approach/URL rewrite:  http://localhost/products/desktops/search-for/Celeron|Pentium|4gb-ram...   , where .. are a collection of category's attributes (etc. type of CPUs, size of memories etc. whatever characterizes them)  I thought a lot about the delimiter to use. I can't use hyphens (-) since category attributes may already contain one and it's a rather typical character for such cases. I cant't use commas (,) or underscores (_) either for about the same reason and i don't like them (especially commas) on URL in general.  I prefer something like a pipe but was wondering how bad this is for SEO? How google will index my information passed as ..Celeron|4GB-RAM.. Will it sort it out as 2 words (as they are?) or i should do something else?


Why haven't the Sith tried to harvest midichlorian?

Seeing as midichlorians are found in all life in varying levels, it's conceivable that a Sith Lord could harness their resources to discover a way to do this and subsequently add it to their bodies.  If midichlorian count is important as a ratio of power of the Force, then it stands to reason the higher the count the better and thus makes the perfect incentive for a Sith Lord to harvest and incorporate midichlorians into their own body.  But why haven't they?  Or why haven't we heard of this?


Is it Legal to reinterpret_cast to a void*

I was looking at  and I noticed that it specifies the legal types we can always cast to:   byte* char* unsigned char*   But I did not see void* in the list. Is this an oversight? My use case requires a reinterpret_cast because I'm casting from an int** to a void*. And I will eventually cast from the void* back to an int**.


Very old sci-fi short story where astronauts have an "unconscious personality" created to allow them to reach space?

Plot/Details  The protagonist in this one is a young man hoping to become a space pilot.  Early on in the story, he clashes a bit with one of his professors over the physical stress induced by takeoff and reaching orbit.  He argues that the force required to escape Earth's gravity would render any man unconscious.  The professor dismisses him in class, and there are a few chuckles.  Later on, the professor meets with the student privately.  He admits that the student is right, and because of his understanding of things (along with his talent), he is offered the chance to become a candidate for the program.  The protagonist joins in the space program, and it is there we learn that the solution to the problem of being knocked unconscious is that a second personality is created that only manifests itself when a person is unconscious.  This personality is called [pilot name]-2.  Thus, if the pilot's name was David (I'm can't remember his actual name in the story), the subconscious personality would be David-2.  David-2 would actually handle all of the flight operations, and the "real" David wouldn't be aware of the flight at all.  The twist in the story comes when the spacecraft has an emergency situation.  A small (centimeter across or so) meteorite punctures the hull and it is decompressing.  David-2 is unable to deal with the situation, due to his seat restraint buckle jamming, and all seems lost.  It is at that point we learn there is a third personality, David-3.  David-3 is an emergency backup that was created without the pilot's knowledge.  This personality is programmed to do what is necessary for survival, at all costs.  David-3 forces open the heavy metal release, with his fingers, breaking one after the other until the clasp gives way.  He is then able to seal the breach and save the day.  Publication Timeframe  It sticks in my mind that this one is very old - 1930's or 1940's.  The central theme of Man not being able to endure a launch into space seems very dated and before the days of the "Space race" of the 50's and 60's.


Various constructions can cause TeX (aka the lion) to go into an infinite loop. The simplest example is \def~{~}~, which defines ~ to expand to itself, then expands it. Now, if we exclude macro expansion, getting a loop is more difficult. With pure TeX, the two shortest methods I found (without macros) are  \everypar{\the\everypar}. \toksdef~0~{\the~}\the~.   (including the trailing dots); note that the second is not macro expansion, but the expansion of \the\toks0 in hiding. With eTeX, I got down to  \if\unexpanded\fi   which has the additional "quality" of being expandable. Here, \unexpanded could be replaced by \detokenize or \scantokens.   Why does that trigger an infinite loop? Is there a similarly short TeX constructions which does not use macro expansion (preferably only primitives)?


Area of intersection between 4 circles centered at the vertices of a square

The centers of four circles are at the vertices of a square of sidelength 100m. Each circle has the radius of 100m. Which is the area of their intersection?


Can someone help me identify what the value of this capacitor is?

I have an older computer and as I was pulling the graphics card my fingers slipped and I pulled this off the board... Problem is I can't find one with the same markings so I need to find a replacement... Any help that won't involve me spending a horrible amount of money on a new board (as everything else is still good) would be amazing.  Markings are: 361 100 2 5z (there is a space here between the 2 and the five)  Thanks


How do I check CPU and Memory Usage in Java?

I need to check CPU and memory usage for the server in java, anyone know how it could be done?


In many scientific papers, the article before the word "Equation" is omitted. Is there any grammar statement behind this? For instance:     "Equation (8) contains various approximations, and we have to check their consistency."


What happened to Ubuntu Certified Professional?

I would like to study and get some sort of qualification behind my name. I see there is a Linux Professional Institute exam - but what happened to the Ubuntu version?  How do I prove my knowledge of specifically Ubuntu at a job interview for example?


Can I (UK citizen) enter the US if I stop over for 14 days in the Caribbean?

The  says:  foreign nationals who have been in any of the following countries during the past 14 days may not enter the United States.  and then goes on to list Schengen, UK, Brazil, China, Brazil, Iran. However, the  is opening back up to both US and UK tourists starting 1 July, including Puerto Rico. Could I not just go to the Caribbean for 14 days, chill on the beach, and then enter the US? I had a big US road trip planned this summer and don't want to give up on it!


Number of ways a natural number can be written as sum of smaller natural number

It is easy to realize that given a natural number N the number of doublets that sum N are $\frac{N+(-1)(N \pmod 2)}{2}$ , so I thought I could reach some recursive formula in the sense that found the number of doublets I could find the number of triplets and so on ...,  example: N=3 the only doublet is 2+1=3 -not said yet but 2+1, and 1+2 count as one- then I could count the number of way the number 2 can be expressed as the indicated sum and got the total number of ways 3 can be written as a sum. But this seems not so efficient, so I was wondering if there is other way to attack the problem and if there is some reference to this problem such as if it is well known its used, once I read that this have a chaotic behavior, and also read It was used in probability but don't remember where I got that information. So if you know something I would be grateful to be notice, thanks in advance.


Do I still apply the +3 bonus to attack for shocking grasp if I have changed the energy type of the attack?

I've been tinkering with a mischiveous little sorcerer build and I have come to a question I am unsure of. With my Elemental bloodline I can change the type of energy of any spell that does energy damage to my bloodlines chosen type, in this case fire. Shocking Grasp when attacking a target with a metal weapon or metal armor gives an +3 bonus to the touch attack. If my damage is fire, does this change? I believe RAW would imply no. However, I wanted more clarity.


Why did they put the Enterprise underwater in Star Trek: Into Darkness?

During the opening scene of Into Darkness, Scotty tells Kirk:     Do you have any idea how ridiculous it is to hide a starship at the bottom of the ocean?   And then Kirk cuts him off, what with Spock being stuck in a volcano being a more pressing matter. Keeping that aside, Scotty is asking a pertinent question. Why did the Enterprise have to go down to the planet and hide underwater?  I appreciate that they needed to physically send someone to the volcano, and that technical gremlins prevented them from using the transporter. But, in this particular case, what would be wrong with keeping the Enterprise in orbit and just send a shuttle or two (which are single-stage-to-orbit craft, anyway) down to the planet?


self-signed certificate install claims success, but android acts as if cert isn't there

I am trying to install the self-signed certificate for my web server in Android 4.3. I have the .crt file in the root of the SD card (which is actually emulated as I have no SD card in the slot).  To install the certificate I go to Setting -> General -> Security -> Credential Storage -> Install from device storage.  I get a dialog box showing the name of the certificate (the filename  minus the .crt extension) which I can modify (but don't), a "used for" pull down with "VPN and apps" selected and text at the bottom of the dialog which informs "Package contains: one user certificate". Everything looks okay, so I click "Ok". The dialog goes away and a toast message pops up with "[name] installed".  However if I immediately go to "Trusted credentials and select "User" there is nothing there! The new cert is also not under "System" but I would not expect it there.  If I go to a browser after this and try going to my web site, I still get the warning that the site's certificate is not trusted. I have also tried rebooting, but it doesn't make a difference.  What am I doing wrong? The complete lack of error messages isn't helpful.  Is it possible my certificate is in the wrong format? I have tried using the .crt file in the server's ssl directory and I have tried converting it to DER format.   Update: I read somewhere that Android requires certificates to be in p12 format, so I converted the Apache2 certificate to p12 using the following command:  openssl pkcs12 -export -inkey server.key -in server.crt -out ~/server.p12   I then repeated the above steps, got the same success message, and then proceeded to still not see the certificate in the user credentials and I still get the untrusted certificate error from the mobile browser.


Determining the following triple integral

I want to determine the following triple integral: $$ \iiint_K (x^2 + y^2) \mathrm dx \mathrm d y\mathrm d z $$ The body K is given by the region that is located between $ x^2 + y^2 + z^2 \le 2 \  $ and $ z \ge -1 \ $. My reasoning is that it is easier to start by solving the double integral $$ \iint_D (x^2 + y^2) \mathrm dx \mathrm dy $$ where $D$ is $ x^2 + y^2 \le \sqrt{2} $ I get that $$ \iint_D (x^2 + y^2) \mathrm dx \mathrm dy =  2\pi$$ After this, the only thing left should be to solve the single integral: $$\int_{-1}^\sqrt{2} 2\pi \,\mathrm dz =  2\pi (\sqrt2 + 1). $$ This answer is obviously wrong. I know how to solve it if i start off calculating a single integral instead of a double integral. But doing that forces me to split up the integral into two. Any help would be appreciated.


How to program a cutting tool for 3D model in game

I'm looking for a resource to figure out how to program a function to cut a 3d model in game.  Example: Enemy/NPC is sliced into 2 pieces with a sword. His body is not hollow, you can see bloody texture where normally a 'polygon hole' would be.   The first step is to actually 'cut/slice' the model, then add in polygons to fill the hole in the model. I know this can be done in 3D modelling software, but I'm not sure how to go about doing this in a game, code-wise. I do not wish to use 'pre cut-up" models, the code will determine where the cut is.  Any pointers in the right direction would be greatly appreciated.


Can I control the position of the column break within a two-column TOC?

This is a follow-up question to .  I have the following:  \begin{frame}{Questions}   \begin{multicols}{2}     \tableofcontents   \end{multicols} \end{frame}   which is giving me    I'd really like to avoid splitting between subsections.  Can this be done?  MWE  \documentclass{beamer} \usepackage{multicol} \usetheme{default}  \begin{document} \section{Problem Definition} \subsection{Terminology} \subsection{Naive Workflow} \subsection{Fatal Problem} \section{Current Solution} \subsection{What we have} \subsection{How we use it} \section{How it Works} \section{How to Build} \section{Troubleshooting} \subsection{No defaulting} \subsection{Inconsistent defaulting} \subsection{Most other problems}  \begin{frame}{Questions}   \begin{multicols}{2}     \tableofcontents   \end{multicols} \end{frame} \end{document}


How do design multilevel database driven menu?

I want to create a database driven menu with multiple levels, but I'm not sure what the best practice is in designing the database table(s).  I've done some searching, but can't find much relevant information.  Initially, I had thought to create a table for each level.  For instance, the parent level menu would simply be dbo.Menu with the immediate children menu items housed in dbo.SubMenu.  With that said, I envisioned the following design for dbo.Menu:    However, once I began populating this table, I realized that the site will have some items with a depth of 3, and there is potential for adding more levels later.    Is there a best practice for designing a dynamic menu?  Should I have one table containing all menu items or should I separate the menu items into multiple tables?


Black Screen after booting from USB to Install

This is my first try on the Ubuntu. The original laptop ( Asus A43S Intel i5, 4 GB RAM,Nvidia GT-520M ) is running:  Windows 10 (free upgrade from window 7 during the window 10 introduction period)  Created the bootable USB using Universal-USB-Installer-1.9.8.7, with the BIOS ubuntu-18.04.2-desktop-amd64  Booted into BIOS using F2 button, selected to boot from USB (UEFI enabled) Popped up the selection page, Try Ubuntu without installing, install Ubuntu etc. Tried both option but the results are the same.Right after selection the screen goes black (but the background was lit and the fan started running a little faster. This remains the same for over an hour without any progress. Is my machine too old to run Ubuntu? Any idea how to fix this issue?


I saw the name $p$-adic group on a book I was reading, so I tried to find some related documents. Although I've found something on this topic, there is no definition.  Would anyone please explain the definition for a $p$-adic group to me? Thanks very much.


I'm using my own way of enums since older versions of PHP doesn't support them. My implementation of enums:   class ModeOfTransport{     const Land = 0;     const Naval= 1;     const Air= 2;          function GetClassVars()      {          return array_keys(get_class_vars(get_class($this))); // $this      }       static function getConstants() {          $oClass = new ReflectionClass(__CLASS__);          return $oClass->getConstants();      }       static function getValues(){          return ModeOfTransport::getConstants();      }       static function getDisplayText(int $val){          $key=array_search($val,ModeOfTransport::getConstants());          return $key;      } }   And since I'm having many other enums which feature also the same methods "getConstants()" etc. So i thought instead of repeating the same methods in every single class i can just use inheritance to apply it to all of them. But it didn't work as i expected. When i try: class CustomEnum {     const aa="test";     public static function getConstants() {         $oClass = new ReflectionClass(self::class);         return $oClass->getConstants();     }      public static function getValues(){         return self::getConstants();     }      public static function getDisplayText(int $val){         $key=array_search($val,ModeOfTransport::getConstants());         return $key;     } }      class DocumentMainType extends CustomEnum {     const VehicleDocument = 0;     const DriverDocument= 1;  }   //And calling the related method: $var=DocumentMainType::getConstants(); //$var is: {"aa":"test"} //Expected $var: {"VehicleDocument":0,"DriverDocument":1}   How can i get it to work so that those classes who inherit CustomEnum class can easily reflect their variables through inherited getConstants() method. Thank you


Small sample size with very skewed right response

I have a dataset of 300 observations with 7 predictor variables with 1 continuous response variable.  The response is strongly skewed to the right and there are no significant correlations among any of the predictors or the response.  I have attempted several different models including XGBoost, random forests, etc. Even transforming of the response hasn't helped.  Any advice on how one should approach a problem like this would be greatly appreciated.


Specifying conditional probabilities in hybrid Bayesian networks

I am trying to get a deeper understanding of the various types of Bayesian networks.   Most of the literature/lectures I've come across use discrete random variables exclusively and only mention continuous random variables in passing.    It seems if you want to mix discrete and continuous variables in a hybrid network, then you have a few different scenarios to handle:   Child Is       Parent(s) Are ---------------------------------------- Discrete       All Discrete Discrete       All Continuous Discrete       Hybrid (Discrete and Continuous) Continuous     All Discrete Continuous     All Continuous Continuous     Hybrid (Discrete and Continuous)   I understand how to specify conditional probabilities (i.e. $p(N=n_i|P)$)  for the cases where the parents (P) are all discrete.  The conditional probabilities are essentially a lookup table that maps a condition to either a probability mass function (when child is discrete) or probability density function (when child is continuous).  The other cases are numbing my brain.  How does one go about specifying conditional probabilities of a given node when any of its parents are continuous?  Thanks  Edit Terminology has been (hopefully) corrected based on feedback.


We applied for a tourist VISA for 5 people,  who are Me,  My Mother,  My Father,  My Brother's close friend and a cousin of mine. Me and my parents got the VISA.  However,  My brother's friend's and my cousin's got refused.  The purpose of us visiting the UK is to meet my brother (non resident)  and sister in law (British Resident) and to attend their blessings ceremony in the UK. We attached the sponsorship  letter, pay slips and invitation from my brother and sister in law. I want to ask, should we reapply for my brother's friend?  As you can see in the refusal letter its mentioned that the business provisional registration is of 26/6/17, which is true but its because GST got introduced in INDIA in june'17. He has his business registration documents which are 9 months old as he started his business at that time.  The other concern is income tax return,  as he is new into the business or work,  he was not aware of the tax submission earlier,  and then he was waiting for the GST to be introduced,  so that he can file the ITR correctly. Another consern is his bank statement not matching with his income stated, is because he has other savings which he got after his father passed away in june 2015. He has his mother and 2 sisters to take care of in INDIA. His mother has the source of income from the interest of fixed deposits worth INR 25,00,000 and the rent which she recieves from the property which his father owned and after his father's death it got transferred in the name of his mother and himself.  He is the owner of the house in which he stays with his family.  This house was gifted by his father to himself, when he was alive.  Me and my brother's friend are in a relationship from last 8 year and are soon planning to get married. He has clear intention to return to India as hismother and sister are depebt on him,  not financially but because of his mother's health conditions. We also missed mentioning his family's dependancy on him and abouf the bank balance which he got after his father's demise.  Request you to suggest what should we do?  As I never thought of visinting the UK without my boyfriend. Should we reapply?  Are there any chances of getting VISA if reapply?  Is it that if they refuse to give VISA to my boyfriend twice, the possibility of him getting VISA in the future gets minimal?


Abelian group with all proper subgroup finite

Let $G$ be an abelian group with all proper subgroup finite, then is $G$ finite or at least finitely generated ?


How to project multiple images onto a single object

How do you project multiple images onto a single object? I have tried some things but it never worked. I have tried to search for it online but to no success and with my current skill level I am not able to come up with a viable solution. Under here you see an example of something I'm trying to make.  As you see I will need to project three images onto an object but I don't know-howbj. Maybe there is another smarter way and a better workflow. Any suggestion will be gladly appreciated


Biblatex: First and Lastname of first Author not divided by commas, but works with the second author

So this is my .bib entry  @book{FUR,     Author = {Furht, Borko; Villanustre, Flavio},     Publisher = {Springer International Publishing},     Title = {Big Data Technologies and Applications},     Year = {2016}}   I use  \usepackage[style=authoryear,citestyle=authoryear]{biblatex}   The result I want is:  Furht, Borko; Villanustre, Flavio (2016).     Big Data Technologies and Applications.     Springer International Publishing  what I get is:  Furht Borko; Villanustre, Flavio (2016).     Big Data Technologies and Applications.     Springer International Publishing  The first Authors first and lastname are not divided by a comma, any suggestion how i could fix that?   Thank you!


Numeration of theorems considering the depth (section, subsection ...)

I want the theorems to be numerated considering the depth, namely:  Chapter 1.  Theorem 1.1.  Section 1.1.  Theorem 1.1.1.  Subsection 1.1.1.  Theorem 1.1.1.1.  Theorem 1.1.1.2.  Theorem 1.1.1.3.  I have used different theorem types like  \newtheorem{th}{Theorem}[chapter] \newtheorem{thh}{Theorem}[section] \newtheorem{thhh}{Theorem}[subsection]   but if I change part of a section into a subsection I have to change all the theorem types within.  Is there any way to unify this?


create a .deb Package from scripts or binaries

I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package tutorials are assuming you have a source tarball you want to compile. Then I've found  short tutorial (german).  Afterwards, I created a small script to create a simple repository. Like this:  rm /export/my-repository/repository/* cd /home/tdeutsch/deb-pkg for i in $(ls | grep my); do dpkg -b ./$i /export/my-repository/repository/$i.deb; done cd /export/avanon-repository/repository gpg --armor --export "My Package Signing Key" > PublicKey apt-ftparchive packages ./ | gzip > Packages.gz apt-ftparchive packages ./ > Packages apt-ftparchive release ./ > /tmp/Release.tmp; mv /tmp/Release.tmp Release gpg --output Release.gpg -ba Release   I added the key to the apt keyring and included the source like this:  deb http://my.default.com/my-repository/ ./   It looks like the repo itself is working well (I ran into some problems, to fix them I needed to add the Packages twice and make the temp-file workaround for the Release file). I also put some downloaded .deb into the repo, it looks like they are also working without problems. But my self created packages didn't... Wenn i do sudo apt-get update, they are causing errors like this:  E: Problem parsing dependency Depends E: Error occurred while processing my-printerconf (NewVersion2) E: Problem with MergeList /var/lib/apt/lists/my.default.com_my-repository_._Packages E: The package lists or status file could not be parsed or opened.   Has anyone an idea what I did wrong?  UPDATE 2012-03-06: Just a a hint for another person who is searching for a easy way to create DEBs: Take a look at .


How to replace the puntuation marks in words with effective code?

I have been working on a file which has lot of puntuations and we need to neglect the puntuations so we can count the actual length of words.  Example:  Is this stack overflow! ---> Is this stack overflow  While doing this I did wrote a lot of cases for each and every punctuation which is there which made my code work slow.So I was looking for some effective way to implement the same using a module or function.  Code snippet :  with open(file_name,'r') as f:      for line in f:          for word in line.split():             #print word             '''                 Handling Puntuations             '''             word = word.replace('.','')             word = word.replace(',','')             word = word.replace('!','')             word = word.replace('(','')             word = word.replace(')','')             word = word.replace(':','')             word = word.replace(';','')             word = word.replace('/','')             word = word.replace('[','')             word = word.replace(']','')             word = word.replace('-','')   So form this logic I have written this, so is there any way to minimize this?


Why "Kant says that people are not capable of thinking" if Kant isn't alive

When I’m watching American lectures I hear all the time the problems with the grammar rule “sequence of tenses”. Some professors say, for instance: “Kant says that people are not capable of thinking...” But it has to sound: “Kant said that people were not...”, isn’t it? (Because Kant is not alive.) Don’t Americans know sequence of tenses? Why do they speak so? Because of the convenience, or are there any other reasons?


Speed of light when it reflects from a surface

I have studied in school that the speed of light is always a constant, my question is what is happening when it reflect from a surface? when it hit a surface weather the velocity reached to zero and again increase to speed of light?  I only have high school knowledge of Physics. Please explain me in layman's terms.


StackExchange's question selection is horrible

Update Thiings are looking so much better right now. Thank you.  Right now, by looking at the tin (my connection sucks and I can't open every one)   -- list of X  -- poll  -- poll(ish) / religious war  -- okayish, driven up by the barrel roll internet phenomenon?  -- poll  -- poll  -- looks fine on the tin  -- list of X  -- religious war  -- sounds like a question I'd love to read the answer for!  Well, the overall effect is horrible. The guys on chat inform me that "Hidden Features of Google" is closed, locked, caged, drowned, teared apart, etc., and yet is right now the network's business card to new users, advertisers and venture capitalists... Yuck. The hotness ranking may be accurate and good at measuring hotness (still, why are closed questions listed at all?!), but it's failing to bring up the quality, expert questions StackExchange is all about.


Prove the trigonometric identity $\sin^4{x} = \frac{3-4\cos{2x}+\cos{4x}}{8}$

I need to show the steps to prove this identity: $$\sin^4{x} = \frac{3-4\cos{2x}+\cos{4x}}{8}$$  I know that $\cos{2x}=\cos^2{x}-\sin^2{x}$. From there I do not know what to do. The solution should look like:  $$\sin^4{x}=sin^4{x}$$  I need to prove the right side equals the left side.


Retraction of the Möbius strip to its boundary

Prove that there is no retraction (i.e. continuous function constant on the codomain) $r: M \rightarrow S^1 = \partial M$ where $M$ is the Möbius strip.  I've tried to find a contradiction using $r_*$ homomorphism between the fundamental groups, but they are both $\mathbb{Z}$ and nothing seems to go wrong...


How to show up other pages and posts from your websites in search

When I search for websites on Google their results show up like the image above. Links of pages on website are also showing in the search result but when I search for my website only one link with my domain name shows up.   What should I do show up other pages like in the example above "About Us", "Older Entries" and other pages are showing up.   My other pages and posts are also indexed by Google but they dont show up like this.


Problem with moving photos to new album on iPhone

I created a new iPhone album, later I moved some photos from Camera Roll to the new Album. The problem is that when I delete the moved photos from the Camera Roll, I can't find them in the new Album. Why!?  I just want to have these photos in the new Album without being in the Camera Roll, too.


Why does ( exit 1 ) not exit the script?

I have a script, that does not exit when I want it to.  An example script with the same error is:  #!/bin/bash  function bla() {     return 1 }  bla || ( echo '1' ; exit 1 )  echo '2'   I would assume to see the output:  :~$ ./test.sh 1 :~$   But I actually see:  :~$ ./test.sh 1 2 :~$   Does the () command chaining somehow create a scope? What is exit exiting out of, if not the script?


Prove $\sum_{i=1}^n2^{i-1}=\sum_{i=0}^{n-1}2^i=2^n-1$ combinatorially.  This is easy to prove inductively.  I know that $\sum_{i=0}^n{n\choose i}=2^n$ so maybe change $\sum_{i=0}^{n-1}2^i$ to $\sum_{i=0}^{n-1}\sum_{j=0}^i{i\choose j}$.  I also know that $2^n-1$ is the number of proper subsets in a set of size $n$.


How can I split bibliography with unique references only in the second bibliography?

I would like to split a bibliography such that all references up to a point are listed in the first bibliography and all references that are listed from that point and are not listed in the previous bibliography be listed in the second bibliography. I have gone through many of the questions  but have not found a sufficient answer that I understood. In my series of attempts, I've come up with:  \documentclass[a4paper]{article}  \usepackage[style=nature,backend=bibtex,defernumbers=true]{biblatex}  \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @article{refAOnly,   author = {Author, A.},   year = {2001},   title = {Alpha},   journal={My Journal}, } @article{refBOnly,   author = {Buthor, B.},   year = {2002},   title = {Blpha},   journal = {My Journal}, } @article{jointRef,   author = {Cuthor, C.},   year = {3003},   title = {Gamma},   journal={My Journal}, } \end{filecontents*}  \addbibresource{\jobname.bib}  \begin{document}  \section{Main text} %\begin{refsection} %\input{textA} This is section A. This represents the main body of the text. Here I cite a unique reference \cite{refAOnly} as  well as a joint reference \cite{jointRef}.  % here I would like to see refAOnly and jointRef listed \printbibliography  %\end{refsection}  \vspace{10mm}   \section{Online only} %\begin{refsection} %\input{textB} This is section B. This represents an appendix. Here I cite a unique reference \cite{refBOnly} as  well as a joint reference \cite{jointRef}.  % here I would like to see refBOnly listed with the number 3 \printbibliography %\end{refsection}  \end{document}   As written, this gives me two full bibliographies. Using refsection doesn't work, as jointRef appears in both bibliographies. I don't want to go through (and change) my bib file as it's used in multiple tex files. I would prefer not to use biber, as that involves switching settings in the environment on multiple computers and back again for other projects, but will resort to it if need be (assuming it helps).  Is there a simple (haha) way to achieve this?


In Windows to move a specific file(s) and/or folder(s), we can ctrl+x (Cut) after selecting sources & ctrl+v (Paste) - very simple way to move.  Another easy option is to just press F4 & type address where you want to jump in Windows explorer. (Yep! Even with auto complete.)  My question is somewhat like this - what is the best way to explore your files in Finder?  I mean, there is no option like cut - not even "move to folder" or "copy to folder", "create new shortcut" is far different - here alias.   I mean, I am feeling "not used to" to a Mac. What's your suggestions to have grip on Mac OS X? Why is it necessary to use a mouse to move files? Why am I forced to use a mouse? It's not like that I hate mouse use. The thing is it's very ridiculous to use mouse for each & every operation.  What are:   Better ways to explore in the Finder? Tricks to help explore in the Finder? How to operate the Finder most efficiently?


JavaScript - Capitalize each word in a sentence

I am trying to capitalize each word in a sentence in JavaScript. When ran I get an Uncaught TypeError saying myArray.substr is not a function.  function cap() {     var myString, myArray, first, last, up, low;     myString = document.getElementById("textbox").value;     myArray = myString.split(" ");     first = myArray.substr(0, 1);     last = first.substr(1);     up = myString.toUpperCase();     low = myString.toLowerCase();      document.getElementById("textbox").value = myString;      return cap(" "); }


How to evaluate the product:  $$\prod _{n=2}^\infty\left(1+\dfrac{1}{n^2}+\dfrac{1}{n^4}+\dfrac{1}{n^6}+\dfrac{1}{n^8}+\ldots\right)$$  $$\left(1+\dfrac{1}{n^2}+\dfrac{1}{n^4}+\dfrac{1}{n^6}+\dfrac{1}{n^8}+\ldots\right)=\dfrac{1}{1-\dfrac{1}{n^2}}$$  How to proceed now?


Exchange of differentiation and limit on a closed interval

For a differentiable function $f(x,y)$, is the following true,$$\lim_{x\to 0}\frac{\partial f(x,y)}{\partial y} = \frac{\partial \lim_{x\to 0} f(x,y)}{\partial y}$$ on a closed interval $y\in[0,\bar{y}]$? If not, when is it true? Similar question seems to have been asked, e.g.,. But no answer has been provided.


Refusal of Schengen visa by Spain’s embassy in Pakistan

The embassy of Spain recently refused my tourist visa, saying:     one or more of members states consider you a threat to public policy, internal security, public health under article 2(21) of regulation (EC)no399/2016 Schengen barcode or international relations of one or more member states   Similarly my Schengen visa was refused by Germany, Hungary and Italy within the last year.  I am a 62 year-old Medical Doctor and have previously traveled to the United States, Australia, Canada, Brazil, South Africa, Japan, Russia, Singapore, Hongkong, Turkey and many more countries, but never to Schengen countries.  I was misguided by my travel agent and didn’t appeal any of them before the Schengen visa refusal.  How should I appeal now to clear myself to visit Schengen countries?  Thanks.


Email Templates: Conditional Greeting Based on Time of Day

I'm attempting to set up an email template based on the time of day to begin an email with either a "Good Morning" or a "Good Afternoon" greeting based on the time of day that the email was sent.  I see that the {!Now()} function provides me with the current date and time. However, I'm rather new to Salesforce, and haven't been able to figure out how to capture just the time for a comparison in a conditional statement something like Good {!if {!Now()} < "12:00 AM", "Morning", "Afternoon"}.   I've done quite a bit of searching, and haven't yet been able to find an answer to this question. Any help or reference material would be most appreciated. I've already scoured the Salesforce help pages (including the  page), and browsed the internet for a solution.


The fundamental group of $\mathbb S^2$ attached with a diameter?

What is the fundamental group of  $\mathbb S^2$ attached with a diameter? And what is the fundamental group of a hemisphere attached with a diameter?  I guess for the latter one, we can deformation retract it to a circle by compressing around the diameter. So the fundamental group should be $\mathbb Z$. And for the first one we can combine this result with Van Kampen's theorem, and the answer should also be $\mathbb Z$.  Am I right? And how can I prove the case for hemisphere more rigorously?


I m using android to call asp.net api, but i dont know how to do this. required Request and Response is attached below:  api link is like :  http://gateway.xxx.xxx.com.np/websrv/Service.asmx   Request is like:  <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>     <UserLists xmlns="xxx">         <Id>string</Id>             <UserName>string</UserName>         <Password>string</Password>         <Datetime>string</Datetime>         <Signature>string</Signature>     </UserLists> </soap:Body> </soap:Envelope>   Response is like:  <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body>     <UserListsResponse xmlns="xxx">         <UserListsResult>             <UserLists>                 <Name>string</Name>                 <Code1>string</Code1>                 <CODE2>string</CODE2>                 <MESSAGE>string</MESSAGE>             </UserLists>             <UserLists>                 <Name>string</Name>                   <Code1>string</Code1>                 <CODE2>string</CODE2>                 <MESSAGE>string</MESSAGE>              </UserLists>          </UserListsResult>     </UserListsResponse> </soap:Body>   I've spend too much time to study other online tutorials but did not get any clear understanding and useful solution. Please help me. Thanks in advance.


How should I address a potential FERPA violation by a professor?

In the United States, federal law prohibits professors from releasing any student's grades to any party other than the student and any party whom the student authorizes to receive the grades.  One of my professors appears to be violating this law by uploading each student's lab grades in one file, which is accessible to anyone who is enrolled in the class.  Here is my proposed plan of action:   Ask the professor - in private - to post the grades using the online management system the professor already uses for other things.  If the professor doesn't fix this privacy violation, inform the professor that the method by which he/she post grades is a violation of federal law. As a last resort, contact the department dean.


Why do we say "almost surely" in Probability Theory?

I recently asked a  and got a great answer that involved proving that "X is almost surely one of the roots of P".  I know (now) that "almost surely" means "with probability 1", but I've never understood why that phrase exists.  When something has a probability of 1, it's going to happen, no almost about it. What's the story there?  I've tried looking this up online, but I just got more definitions, not meaningful explanations.


Why photon only have helicity other than spin?

When learning angular momentum in quantum mechanics, a spin 1 particle have 3 states. Then I saw from sakurai's modern quantum mechanics that photon's two polarization are just like spins, but with several differences.  I looked up on the web, and find that: first, the zero mass of photon is the reason that when calculating spins we can not choose a rest frame, which will induce the spin of photon have only 2 values instread of 3.  Second, there is  a paragraph says that actually photon does not have spin at all, it only have helicity, which is the projection of spin on the propagation direction. And there is this concept "chirality" which is connected with circularly polirization of light.  I got confused with relations of this 4 concept of photon: polarization, spin ,helicity, chirality. Can anybody tell me about it?


Extra alignment tab while using multirow

Why the following multirow entry doesn't work with tabular?  \documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \title{my title}  \maketitle \section{Section 1} Table~\ref{my-label} shows    \begin{table}    \centering       \caption{the caption}   \label{my-label}   \begin{tabular}{>{\centering}p{1.5cm}|>{\centering}p{1.5cm} }         \multirow{2}{*}{some texts}  & something1 \\                                      & something2 \\         \tabularnewline         \hline          A & B          \tabularnewline    \end{tabular}   \end{table}  \end{document}   The error is  ! Extra alignment tab has been changed to \cr. <recently read> \endtemplate   l.81                                     &                                       something2 \\ ?


I am making a spaceship corridor in blender cycles, but when I render it out it gets really grainy in terms of shadows.  Can anyone help me?


Can I implement a method in structure in C?

I want to implement methods in C language. I know C language doesn't support Object Oriented Programming. But is there a  way to do it? Or is it can't be done? Because it need to done by C.  struct student {     int name;     int address;      void speak()      {         /* code */     }  };  int main() {      //code ..      student.speak();  }   This is how my code look like.


Holomorphic $f$ and $g$ such that $e^{f(z)}+e^{g(z)}=1$ on $\mathbb C$

I have a holomorphic function $f,g: \mathbb C \to \mathbb C$ such that $e^{f(z)} + e^{g(z)} = 1$ for any $z$ in $\mathbb C$. Does anyone have any tips that to show that this is bounded? Or check whether it is bounded?


How to restrict the number of digits in an fstring in Python

I would like to use an f-string in Python to generate the following folders: folder01 folder02 folder03 folder04 folder05 folder06 folder07 folder08 folder09 folder10 folder11  I currently have the following code, which obviously doesn't do what I want, but how can I change it so that it does? folders = [f"folder0{i}" for i in range(0,12)] This generates: folder01 folder02 folder03 folder04 folder05 folder06 folder07 folder08 folder09 folder010 folder011  Notice the extra 0 with folder010 and folder011


How do I deal with feelings of guilt and shame related to how long my PhD has taken?

I am physically disabled. I have spinal muscular atrophy, a degenerative neuromuscular disease. I am wheelchair-bound and am nearly quadriplegic. This is not to complain, but rather to provide context. My Ph.D. thesis defense is scheduled for less than two months from now. It has been a long road. I am tired. It has also been literally a long time. It has been 10 years since I got my bachelor's degree and started the Ph.D. program. I only made it this far with the tireless support of my extraordinary advisor and a wonderful department. They never gave up on me. I am currently struggling with guilt, or shame, that it has taken me so long to get to the defense. My advisor, my department, and my family have not made me feel this way. But I still feel bad that it has taken me so long. How do I deal with feelings of guilt, shame, and inadequacy? I believe that all people have value, regardless of their success or failure or their intellectual ability. But somehow I guess I don't believe this applies to me. I am looking for help, support, or anecdotes related to feelings of guilt/shame/inadequacy in academia in particular (especially Ph.D. programs), and not necessarily about life in general.


Template function does not compile: expected primary-expression before ‘>’

I wanted to wrap following line as function which takes parameter as a template type (to replace ConnectionManager for any other type):  std::shared_ptr<ConnectionManager> client = ConnectionManager::createClient<ConnectionManager>(broker, service_url);   So I created function that takes template parameter:  template<typename ClientType> std::shared_ptr<ClientType> createClient(const std::shared_ptr<thrift::TServiceBroker>& broker, std::string url) {         std::shared_ptr<ClientType> client = ClientType::createClient<ClientType>(broker, url);         return client; }   when I try to compile I get following error:  error: expected primary-expression before ‘>’ token  std::shared_ptr<ClientType> client = ClientType::createClient<ClientType>(broker, url);   Kdevelop suggested following change:  template<typename ClientType> std::shared_ptr<ClientType> createClient(const std::shared_ptr<thrift::TServiceBroker>& broker, std::string url) {     std::shared_ptr<ClientType> client = ClientType::template createClient<ClientType>(broker, url);     return client; }   After this change code compiles and works.   createClient is defined in ConnectionManager parent as follows  template<class IMPCLASS> static inline ::thrift::shared_ptr<IMPCLASS> createClient(const ::thrift::shared_ptr< ::thrift::TServiceBroker >& broker, const std::string& address)   I have two questions:   I don't understand why I got compilation error I don't even know syntax that fixed the error   Please explain.


Can I combine ENTER method and Stepwise in a hierarchical regression?

As the title suggests, suppose I want to enter three blocks of variables --according to a theory that I am testing-- and then on the final step, I want to enter few additional predictors (not from the theory), using Stepwise procedure. Can I do that?


I want to create a data frame in R combining the bands wth the shapefile. The final file will have the pixels as rows, the bands as well as the other columns from the attribute table from the shapefile.  I want a csv table where the columns are the Landsat bands (say band 2, 3 and 4) along with other columns that are there in the attribute table of the shapefile (Country, State, Village name, Lat, Long etc)


How can I draw this spiral (with vertical sides) in tikz?  The only way I would know how, would be to copy and paste code to draw semicircles of different radius, followed by connecting the semicircles one at a time, which would take a very long time.


export Environment_Variable = something --> = [equals sign] not a valid identifier

I'm still quite new to Ubuntu.  I've been installing tensorflow (with CUDA) for some university project; we are to work in conda. After activating my tensorflow conda environment, my instructions tell me to set the path (which is, as far as I understand an environment variable?) for pip installation:     Next, set the path to the binary file for the pip installation, by typing the following command:  ( t e n s o rfl o w ) $ export TF BINARY URL = \ h t t p s : / / s t o r a g e . g o o g l e a p i s . com/ t e n s o rf l o w / li n u x /\ cpu/ t e n s o rfl o w −0.11.0 rc1−cp35−cp35m−li n u x x 8 6 6 4 . whl       To finalize the installation type:  ( t e n s o rfl o w ) $ pip3 i n s t a l l −−ig no r e−i n s t a l l e d \ −−upgrade $TF BINARY URL       You can now proceed with Test run TensorFlow.   (All the spaces just come from the latex-pdf, of course I left them out.)  So I typed:   export TF_BINARY_URL = https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl   Problem is, command line tells me that:   bash: export: `=': not a valid identifier bash: export: `https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl': not a valid identifier   I just can't find what I've been doing wrong, and now I wonder whether there is some error in the instructions or whether I might have made some really stupid mistake? From what I have read it might be that the usage of export here is wrong, but I'm totally new to Ubuntu and bash shell and what I read there was ambiguous.


Learning to write code for Stack Exchange maths questions?

I am new to Stack Exchange and I wish to know the methods, people use in this community.  For example, I saw many maths questions written in codes. Where can I learn to write those codes?


In articles I often read the author refer to a baby as "baby", without an article. Example:  She insists there is no modern proof that it is safe for baby  Our midwife does the same, always referring to "baby".  When baby does this  I'm not a native speaker English speaker and that's contrary to my intuition which is to say "the baby" so I'd appreciate an explanation.


Interpreting residual diagnostic plots for glm models?

I am looking for guidelines on how to interpret residual plots of glm models.  Especially poisson, negative binomial, binomial models.  What can we expect from these plots when the models are "correct"? (for example, we expect the variance to grow as the predicted value increases, for when dealing with a Poisson model)  I know the answers depend on the models.  Any references (or general points to consider) will be helpful/appreciated.


There is a problem when I set up my server system ,IP would be different when I use Wired network connection and wireless network connection，how can I set unchanging IP when I connect to the system? Thanks for your help.


What can be said about the convergence/divergence of $\sum a_n/r_n$ when $\sum a_n$ is convergent?

I had this question where it was given $a_n > 0$ and $\sum a_n$ convergent and I was to find out as well as prove that how does $$\sum a_n/r_n$$ behave where $$r_n = \sum_{m = n}^{\infty} a_m$$.   I attempted a method like this i think we can conclude from above given definition of $r_n$ that $r_n > r_{n + 1}$ and rewriting $a_n$ in $a_n/r_n$ as $(r_n - r_{n + 1})/r_n = 1 - \frac {r_{n + 1}}{r_n}$, now since this term is the general term of $\sum a_n/r_n$ and $$1 - \frac {r_{n + 1}}{r_n } \not= 0$$ so is it sufficient to conclude that $\sum a_n/r_n$ is divergent ?   I just couldn't assure myself completely with this method so I came here


What does the word "already" mean in this sentence?

As I watched a TV series, I heard the following sentence:     Will you fix your marriage or get a divorce already?     I can't figure out what "already" means at the end of the sentence.  I suppose something like "immediately" but I couldn't find anything on the Internet .


Is there a theorem that says that $\sqrt{n}\frac{\bar{X} - \mu}{S}$ converges in distribution to a normal as $n$ goes to infinity?

Let $X$ be any distribution with defined mean, $\mu$, and standard deviation, $\sigma$.  The central limit theorem says that  $$ \sqrt{n}\frac{\bar{X} - \mu}{\sigma}  $$ converges in distribution to a standard normal distribution.  If we replace $\sigma$ by the sample standard deviation $S$, is there a theorem stating that  $$ \sqrt{n}\frac{\bar{X} - \mu}{S}  $$ converges in distribution to a t-distribution?  Since for large $n$ a t-distribution approaches a normal, the theorem, if it exists, may state that the limit is a standard normal distribution.  Hence, it would seem to me that t-distributions are not very useful - that they are useful only when $X$ is roughly a normal.  Is this the case?    If it is possible, would you indicate references that containing a proof of this CLT when $\sigma$ is replace by $S$?  Such a reference could preferably use measure theory concepts.  But anything would be great to me at this point.


Does a charged particle accelerating in a gravitational field radiate?

A charged particle undergoing an acceleration radiates photons.  Let's consider a charge in a freely falling frame of reference.  In such a frame, the local gravitational field is necessarily zero, and the particle does not accelerate or experience any force. Thus, this charge is free in such a frame. But, a free charge does not emit any photons. There seems to be a paradox. Does a freely falling charge in a gravitational field radiate?


How to show Large Objects (LOB) contents?

How could I get to have a look into LOB contents?  \d ticketgrantingticket                Table "public.ticketgrantingticket"           Column           |          Type          | Modifiers  ---------------------------+------------------------+----------- id                         | character varying(765) | not null number_of_times_used       | numeric(10,0)          |  creation_time              | numeric(19,0)          |  last_time_used             | numeric(19,0)          |  previous_last_time_used    | numeric(19,0)          |  ticketgrantingticket_id    | character varying(765) |  expiration_policy          | oid                    |  authentication             | oid                    |  services_granted_access_to | oid                    |  expired                    | boolean                |  proxied_by                 | character varying(1)   |  Indexes:     "ticketgrantingticket_pkey" PRIMARY KEY, btree (id)  SELECT expiration_policy,         authentication,         services_granted_access_to  FROM ticketgrantingticket LIMIT 2;   expiration_policy | authentication | services_granted_access_to  -------------------+----------------+----------------------------            1165742 |        1165743 |                    1165744            1165757 |        1165758 |                    1165759 (2 rows)   This shows those numbers by default.  I so far found  which I think is not working properly in my client somehow:  SELECT expiration_policy,         encode(authentication::bytea, 'escape'),        services_granted_access_to  FROM ticketgrantingticket LIMIT 2;  ERROR:  cannot cast type oid to bytea LINE 1: SELECT expiration_policy, encode(authentication::bytea, 'esc...   I can see the same in pgAdmin III.  I am expecting blobs there because IINM oid can be used as a large object reference. We are using oid because not knowing what we were doing. I have so far assessed that one of those three columns will be safely and profitably converted to bytea, but am being unable to spy the other two columns' contents in the source (non postgres) system, so I decide to spy them in this (postgres) target system.


If $P$ and $Q$ are $n \times n$ matrices of real numbers such that    $P^2=P$ and  $Q^2=Q$ and  $I-P-Q$ is invertible where $I$ is an $n \times n$ identity matrix,   Show that $P$ and $Q$ have the same rank.  If $P$ is non-singular, then it can be shown that $P=Q=I$, so they have same rank. But I can't prove it when $P$ is singular.


Gravitational potential at the centre of Earth

Why does gravitational potential at the centre of the Earth is finite i.e. $V_c=\frac{3}{2} V_s$, as at the centre $r$ becomes zero so applying $V = \frac{GM}{r}$ the result must be infinity.


When is the sum of the first $n$ squares a square?

After watching  I got interested in the question: For which $n \in \mathbb{N}$ is there a number $m \in \mathbb{N}$ s.t.  $$ \sum_{k=1}^nk^2=m^2 $$  Or to put it in plain english, when is the sum of the first $n$ square numbers again a square.  The surprising answer to this is that this is only the case for $n=0,1,24$ and you proof this (according to him) with the formula  $$ \sum_{k=1}^nk^2=\dfrac{n(n+1)(2n+1)}{6} $$  and the machinery of elliptic curves. My guess is that you probably want to proof that the elliptic curve $E$ given by the above equation satisfies $E(\mathbb{Q})=\mathbb{Z}_3$ (not sure here, but something along these lines).      My main question is: can somebody name a reference for a proof of this? But I would also be interested if you could shed some light on how to proceed here or how much machinery you actually need to prove this.   Edit: Since the question got closed while I was not on a computer I just wanted to point out that the other thread doesn't answer my question. The answers in the other thread answers the question: For which $n$ are there $n$ consecutive squares that sum to a square. Note that there the consecutive squares don't have to start with 1. Part of the answer is that this is always the case when $n$ is a perfect square coprime to 6 which clearly is not the case in my situation. The problem is that the answer doesn't shed light on the number $a$ in the question. In particular it is not clear when $a=0$ and when not (which would be my situation). I'm not sure why  so many people mark this as duplicate when the questions are clearly different.


Error trying to create a regex for Zapier

SOLVED: The error cause was the way I was declaring output var, please see the code  I am trying to create a regex to get the URL from a VSTS attachment in order to sync it with Jira. I tried to create a Run Javascript block with the following input:  Input Data  comment:  creationDate: 2017-10-11T11:31:19.293Z lastModifiedDate: 2017-08-29T12:32:51.393Z location: https://project.visualstudio.com/_apis/wit/attachments/ca6206de-0fab-451a-b0bc-89e70221dfcb name: Capture.PNG resourceId: 2255679   What I want to retrieve is the "location", so I thought that this would make the trick:  var regEx = new RegExp('location: (.*)', 'g'); // As mentioned in the comments, the 'g' part is not needed var path = regEx.exec(inputData); // output = path[1]; This was failing miserably var output = [{'path': path[1], 'hello': 'world'}] //This works just fine, I guess the hello world part is not really needed :)   But I always get an error:  TypeError: Cannot read property '0' of null   I have tried to create a simple javascript test to run the same and it works just fine. Can you please help me?


Oracle. Get only 1 record by using max() in select

I'm having select script inside left outer join witch I'm using for getting values  SELECT discount, osp_id, sero_id, estpt_id, max(festpae_id) festpae_id    FROM database1 data1   JOIN database2 data2 ON data2.id = data1.attr_id  WHERE data1.interest_rate = 1     AND data1.ordet_id = data2.id    AND data1.objt_attr_id = data2.objt_attr_id   GROUP BY osp_id, sero_id, estpt_id;   From this select i'm getting this output  DISCOUNT     OSP_ID    SERO_ID   ESTPT_ID FESTPAE_ID ---------- ---------- ---------- ---------- ----------       50     619356    3931831       2144    2000743       40     619356    3931831       2144    2000744   This is not correct for me, because i need to get only 1 output, which means I'm looking for highest FESTPAE_ID, so the correct output of the script should be this    DISCOUNT     OSP_ID    SERO_ID   ESTPT_ID FESTPAE_ID ---------- ---------- ---------- ---------- ----------         40     619356    3931831       2144    2000744   I know, that if I will use MAX() on dicount row, then he will return me only 1 record with FESTPAE_ID = 2000743, which is not my goal.  What do I need to adjust to make it work as i want? So he would return only  1 record based on higest FESTPAE_ID and do not care other values like discount.  P.S This script is used in view table as LEFT OUTER JOIN, so if i order it by festpae_id and then set rownum = 1 it doesn't work properly in view table(but it works if run separately from whole view table select(as left outer join)), that's why i'm asking your help how to do it with MAX(). Or there is any better way?


What do you call a person who uses the required amount of resources?

A person who does work with the maximum care in order to avoid waste.  Example: A wife who cooks only for the number of guests invited at that moment.


I have found a similar question . It's related to immutable variable. But when I test mutable variable, I don't know how Python interpreter decides the scope of the variable.    Here's my sample code:    def test_immutable():     a = 1     b = 2      def _test():         print(a)         print(b)          a += 1         print(a)      _test()  def test_mutable():     _dict = {}      def _test():         print(_test.__dict__)          _dict['name'] = 'flyer'           print('in _test: {0}'.format(_dict['name']))      _test()      print(_dict['name'])   if __name__ == '__main__':     # test_immutable()    # throw exception     test_mutable()    # it's ok


Reference to undeclared entity exception while working with XML

I am trying to set the innerxml of a xmldoc but get the exception: Reference to undeclared entity  XmlDocument xmldoc = new XmlDocument(); string text = "Hello, I am text &alpha; &nbsp; &ndash; &mdash;" xmldoc.InnerXml = "<p>" + text + "</p>";   This throws the exception:      Reference to undeclared entity 'alpha'. Line 2, position 2..    How would I go about solving this problem?


Which is the best stack site to ask this question:  Which is the good yet economical (or free) OCR SDK tool to convert Arabic text from scanned card images?


I have the sentence "It seems that stealing and selling pedigree pets # a lucrative and worthwhile business." and my question is, if I should put "is" or "are" as a verb?


"Questions that may already have your answer" box overlaps onto the footer

When "Questions that may already have your answer" (similar questions) appear as a right column, it overflows and overlaps the footer.  (shown in the figure)        This happens on all SE network sites on which I have asked questions.  Also this happens to other columns also like "How to Format".


My son has dual citizenship. We moved from NZ to the US a couple of years ago. We are about to move to the UK. He entered the US on his NZ passport. As we’ll be living in the UK, do we use his British passport when we go to the UK to live?  Thanks for your help.


Sum of a Hyper-geometric series. (NBHM 2011)

How to find the sum of the following series $$\frac{1}{5} - \frac{1\cdot 4}{5\cdot 10} + \frac{1\cdot 4\cdot 7}{5\cdot 10\cdot 15} - \dots\,.?$$  I have no idea. I have written the general term and tested its convergence by Gauss' test for convergence, but they are neither the question nor the answer.


I'm trying to format numbers. Examples:  1     => 1 12    => 12 123   => 123 1234  => 1,234 12345 => 12,345   It strikes as a fairly common thing to do but I can't figure out which filter I'm supposed to use.  Edit: If you've a generic Python way to do this, I'm happy adding a formatted field in my model.


I added a link to the desktop using Nautilus ("Make Link"):  me@1234:~/Desktop$ ls -al total 8 drwxr-xr-x  2 alex alex 4096 Sep  8 12:15 . drwxr-xr-x 42 alex alex 4096 Sep  8 00:22 .. lrwxrwxrwx  1 alex alex   41 Sep  8 12:14 Android Studio -> /opt/android/android-studio/bin/studio.sh   But when I run it, it just open this file in gedit. What do I do about that? And  ls -al /opt/android/android-studio/bin/studio.sh -rwxr-xr-x 1 alex alex 6505 Jul 11 23:48 /opt/android/android-studio/bin/studio.sh


The remainder of a Cantor set in the plane

Assume  That $M$  is  a  compact  subset of $\mathbb{R}^{2}$ which has zero measure and is homeomorphic to the Cantor  set:  Is the topology or  homology of $\mathbb{R}^{2} \setminus M$  independent of $M$. We have the same question for the relative homology $H_{*}(\mathbb{R^{2}},\mathbb{R}^{2} \setminus M )$?


Overpaying credit card to simulate a credit line increase?

I keep my credit card lines small for various reasons (reduce possibilty of impulse purchases, minimize my credit footprint etc) but there are times when certain necessary purchases exceed the amount on any one of my credit cards.  Right now I need to buy flight tickets for my family that will cost ~$5k and one of my credit card that has a limit of $3k is running a special promotion of 3% back on certain flight tickets. The upper limit on the amount of purchases for this program is $10k.  Needless to say, I would like to bill the whole $5k to this $3k limit credit card.  Now what I am planning to do is this:   Make a "payment" of $3k to this credit card Since there is almost nothing billed to this credit card, the card will now show a credit balance of $3k Assuming this would translate to a $6k "credit line" ($3k credit limit + $3k credit balance due to the "payment" I made), I should be able to let the $5k in flight tickets go through?   This is a credit card that does not transfer credit balances to my associated bank account (DCU for example does not allow credit balances on their credit card - they transfer the funds to the checking account, but this credit card does not do that)  Alternatively, I could ask for a credit line increase but it took a week last time I asked for it (and this is urgent) and I don't want this increase to be permanent.  Would this work?


Inaccurate calculations using double and float

Why this piece of code is giving inaccurate results?  double a = 0.3 + 0.3 + 0.3; System.out.println(a); float b = 0.3f + 0.3f + 0.3f; System.out.println(b);   Results are   0.8999999999999999 0.90000004


for any $a,b\in R^+$, how to prove that $$a b \leq \frac{a^{3}}{3}+\frac{b^{3 / 2}}{3 / 2}$$ my try: if I can prove that $\frac{a^2+b^2}{2}\leq \frac{a^{3}}{3}+\frac{b^{3 / 2}}{3 / 2}$then this inequality can be proved but it seems that $\frac{a^2+b^2}{2}> \frac{a^{3}}{3}+\frac{b^{3 / 2}}{3 / 2}$  I had no clue then.


What examples are there of sets with locally non-extreme measure?

I'm looking for an example of a set $A\subset[0\,\pmb,\,1]$ such that the strict inequality$$0<\mathrm m(A\cap[a\,\pmb,\,b])<b-a$$holds for all real $a$ and $b$ with $0\leqslant a<b\leqslant1$, where $\mathrm m(X)$ denotes the Lebesgue measure of a measurable set $X\subset\Bbb R$.  My try: Start with the half-open interval $[0\,\pmb,\,1)$ and delete the middle half, so that what is left is $$[0\,\pmb,\,\tfrac14)\cup[\tfrac34\,\pmb,\,1).$$Next, delete the middle half of each quarter-length interval so formed, and centrally half-fill the gap of length half with an interval of length one quarter, to get  $$[0\,\pmb,\,\tfrac1{16})\cup[\tfrac{3}{16}\,\pmb,\,\tfrac14)\cup[\tfrac38\,\pmb,\,\tfrac58)\cup[\tfrac34\,\pmb,\,\tfrac{13}{16})\cup[\tfrac{15}{16}\,\pmb,\,1).$$Continue in this way, so that, at each stage, we delete the middle half of each interval and fill in the middle half of each gap that was formed at the previous stage. However, because this process involves both deletions and additions (unlike e.g. the formation of the Cantor set, which involves only deletions), I'm not sure whether it converges (in some appropriate sense) to a set $A$ or, if $A$ is defined, whether it is measurable. The intention is to get $\mathrm m(A\cap[a\,\pmb,\,b])=\frac12(b-a).$  One issue with this approach is that there are many "Thomson lamps". In particular the midpoint $\frac12$ alternately appears or disappears at each stage, and the number of such "Thomsonian" points (e.g. $\frac18$ and $\frac78$ at the second stage) approximately trebles at each stage. These Thomsonian points alone are not a serious problem, since their inclusion or exclusion can be decided by some arbitrary rule—for example, by including the points with (lowest-terms) numerator of type $1$ modulo $4$ and excluding those of type $3$ modulo $4$. In any case, they form a set of measure zero. More seriously, though, there may be many more Thomsonian points, not arising as midpoints, comprising a set of sizeable measure—or even an unmeasurable set.   So my question is whether the task is possible in the first place and, if so, whether the above attempt can be engineered into working and also what might be a valid or simpler example.


Change Font Size in KOMA \extratitle command

Related question:   KOMA scrbook class. I'd like to change the size of the font on the half-title page, which is created by the \extratitle command.  I only want the font size change to apply to the half-title page and not in the rest of the document. I thought I could do this by creating a new environment but this does not seem to work.   Here is a MWE:  %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode   \documentclass{scrbook}   \usepackage{xltxtra,xunicode} \defaultfontfeatures{Mapping=tex-text} \setromanfont[Mapping=tex-text]{Hoefler Text} \setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans} \setmonofont[Scale=MatchLowercase]{Andale Mono}  %\usepackage{moresize}  Can't get anything larger than HUGE %\usepackage{relsize} scaling at 5x had no effect    \begin{document}   \newenvironment{zebratitle}{\changefontsizes{36pt}{\Huge}}   \newfontfamily\myfunt[Ligatures=TeX]{Papyrus}    \begin{zebratitle}   \extratitle{\vspace*{5\baselineskip}    \begin{center}\textbf{\Huge \myfunt Great Title}\end{center}}     \end{zebratitle}    \title{Great Title}   \author{The Author}   \date{}   \maketitle    \end{document}


Should my first point be to the country which issued my Schengen Visa?

I have multiple visa schengen from Netherlands as per my trip plan was to travel Amsterdam but then due to some changes i have to drop my travel to netherlands. Now if i need to travel to spain on same visa issued by netherlands state, can i travel or apply for spain schengen ? Thanks


Maximize area of a triangle with fixed perimeter

If perimeter of a triangle is $2d$, what is the length of sides so the triangle has maximal area?    I found some solution using circle and angles, but I think I have to use derivatives.    I need help.


Sometimes (randomly), the synaptics touchpad driver won't load on bootup. When reading /var/log/boot.log, i don't see anything touchpad-driver-like being started when this happens.  But the file /dev/input/mouse0 exists and I can perform simple actions with my mousepad (pointing, clicking, but no scrolling) and the pointer speed is very low when moving it via the touchpad.  When typing synclient into terminal while this is happening, it tells me Couldn't find synaptics properties. No synaptics driver loaded?  Whats the problem here?


How to prevent android from auto-sync'ing gmail contacts and photos

I just got a Samsung Galaxy Note 3 and when I go into my settings then add an account and add a gmail account, it gives me an option to choose what I want to sync. I unchecked 'photos' and 'contacts' and everything else except for 'gmail' but it still auto sync'ed my photos and contacts (and my apps and app data, even though I told it not to). I then deleted the account and tried again but this time, I didn't check anything at all (not even gmail) and it did not sync anything, which is good. But I want to sync only my gmail, so then I went into the settings for my gmail account and checked only the 'sync gmail' box and it synced Everything again (app, app data, contacts, photos).. how do I make it still syncing everything? I just want to sync my inbox.


Netflix cartoon series where the main character had a leather gaunlet that could summon a beast

So, my brother watched a cartoon series a couple of years ago and now can't seem to remember what the name of the cartoon series was.  All he does remember is:   It was on Netflix. Year around 2014 (it was a new release)   The main character had a leather gauntlet around his right hand which he could magically use to summon a beast from an alternate dimension.  The beast looks a bit like large monituor and it's name was Bob.   The kids parents also has the same abilities although his father has gone missing.


Does the at symbol (@) before a definition name mean something?

I'm using a resume template and see this pattern a lot in the template. What is the purpose of this redirection to @name, does the @ symbol mean anything special, and how do I use it to modify the formatting of my name?  % use this to define your name % \def\name#1{\def\@name{#1}}  \def\@name{}   Thanks in advance.


Prove the following: If $a \mid bc$, then $a  \mid \gcd(a, b)c$.   I tried to set $\gcd(a, b)$ to $b$ and used the fundamental theorem of arithmetic to prove that it is divisible by $a$, but I can't prove that $a \mid bc$, if and only if $a\mid b$ and $a\mid c$. Please help. Thanks.


NewDocumentEnvironment and xparse combination adds unwanted space after

This is a follow-up question to , but I am afraid it is of a different nature now. The accepted answer seems to put unwanted spaces after the custom-defined environments. I am not sure how to remove them and what is causing them exactly. Apologies if this question is a bit vague as I absolutely have no idea.  Here is a MWE.  \documentclass[a4paper,leqno]{amsart} \usepackage{amsmath, xparse,xspace} \setlength{\parindent}{0pt}  \makeatletter \newcommand{\eqnum}{\textup{\tagform@{\theequation}}} \makeatother  %%%%% \ExplSyntaxOn  \NewDocumentEnvironment{aligncol}{m+b}{\guissmo_aligncol:nn {#1} {#2}}{} \NewDocumentEnvironment{aligncola}{m+b}{\guissmo_aligncol:nn {#1} {#2}}{a}  \seq_new:N \l__guissmo_aligncol_in_seq \seq_new:N \l__guissmo_aligncol_out_seq \seq_new:N \l__guissmo_aligncol_temp_seq \int_new:N \l__guissmo_aligncol_rows_int  \cs_new_protected:Nn\guissmo_aligncol:nn { %storetherowsinthesequence \seq_set_split:Nnn\l__guissmo_aligncol_in_seq{\\}{#2} \int_compare:nF{\int_mod:nn{\seq_count:N\l__guissmo_aligncol_in_seq}{#1}=0} {%numberofrowsnotamultipleof#1,addemptyentries \prg_replicate:nn{#1-\int_mod:nn{\seq_count:N\l__guissmo_aligncol_in_seq}{#1}} { \seq_put_right:Nn\l__guissmo_aligncol_in_seq{} } } \seq_clear:N\l__guissmo_aligncol_out_seq \int_set:Nn\l__guissmo_aligncol_rows_int {\int_div_truncate:nn{\seq_count:N\l__guissmo_aligncol_in_seq}{#1}} \int_step_inline:nn{\l__guissmo_aligncol_rows_int} {%clearthetemporarysequence \seq_clear:N\l__guissmo_aligncol_temp_seq \int_step_inline:nnn{0}{#1-1} { \seq_put_right:Nx\l__guissmo_aligncol_temp_seq { \seq_item:Nn\l__guissmo_aligncol_in_seq {##1+\l__guissmo_aligncol_rows_int*####1} } } \seq_put_right:Nx\l__guissmo_aligncol_out_seq { \seq_use:Nn\l__guissmo_aligncol_temp_seq{&} } } %now\l__guissmo_aligncol_out_seqcontainsthenewrows \begin{equation}\eqnum \begin{minipage}{0.9\textwidth} \setlength{\abovedisplayskip}{0pt} \setlength{\belowdisplayskip}{0pt} \setlength{\abovedisplayshortskip}{0pt} \setlength{\belowdisplayshortskip}{0pt} \setbox0=\hbox{T}%tallestletterofthefirstlineofotherminipage \vskip-\ht0 \begin{align*} \seq_use:Nn\l__guissmo_aligncol_out_seq{\\} \end{align*} \end{minipage} \end{equation} } \ExplSyntaxOff  \begin{document}  Hello! \begin{aligncol}{1} a &= a \end{aligncol} This has an extra space at the beginning. I don't want it. \\ This does not not. \begin{aligncol}{1} a &= a \end{aligncol}This does NOT have an extra space, but the code is ugly. \\ This one does NOT have extra space too! \begin{aligncola}{1} a &= a \end{aligncola} It seems that the space comes after the environment definition. \\ Is it the indeed case?  \end{document}   Here is a screenshot of the output.


How to specify the exact position of floats?

How do I specify the exact position of a float?  I am not talking about the [t],[b],[h!] etc operators, I want to specify the exact position of the float, i.e. 15cm from top and 15cm from left.  Regards


"I didn't know you liked her" or "I didn't know you like her"

I have a friend who insists that      "I didn't know you like her"   is more correct than      "I didn't know you liked her"   if the liking is still taking place. But to my ear, only the latter sounds correct.  Which of the above (if any) is correct and why?


Spaces in files names in \input or \includegraphics

I'm going crazy...  I have a file I want to include which path is C:\Users\Matthieu\Documents\Folder withOneSpace\myFile.tex. (As you can see with the \, I'm on windows actually)  I tried the following but none works:  \input{C:/Users/Matthieu/Documents/Folder withOneSpace/myFile} \input{C:/Users/Matthieu/Documents/Folder\ withOneSpace/myFile} \input{C:/Users/Matthieu/Documents/Folder withOneSpace/myFile.tex} \input{C:/Users/Matthieu/Documents/Folder\ withOneSpace/myFile.tex}   I also tried to put the file out of the folder with a space and it works (no surprise):  \input{C:/Users/Matthieu/Documents/myFile} --> Works   All I found is to put a \ before the space but it doesn't work at all. --> Please help ! :)


The size of a FAT32 partition cannot be changed without activities associated with reformatting the disk.  Explain why this is so.


Remove a field inside of array object -javascript

This is my response data:  var data = [{             'id': '1',             'name': 'kamal',             'age': '21'         }, {             'id': '2',             'name': 'ram',             'age': '11'         }, {             'id': '3',             'name': 'karuna',             'age': '22'         }, ];   I getting this data in to  my response data. I need to remove field id inside of object. I want to splice the id field in each object .  expected result is:  var data = [{             'name': 'kamal',             'age': '21'         }, {             'name': 'ram',             'age': '11'         }, {             'name': 'karuna',             'age': '22'         }, ];


No low battery popup notification in 16.04

I use Unity in 16.04. For some reason, I am not getting popup notifications for low battery. I have to rely on battery icon in top panel to see if battery is on the " low battery " side. Is the default behaviour in 16.04 ? Or I am not getting pop ups for low battery ?


I'm trying to center all figures, but renewcommand does not work the way I expected.  \renewcommand{\begin{figure}}{\begin{figure}\centering}    This code has an error. Why doesn't it work and how can I make it work?


When to purchase a “Redemption Period” domain

I am trying to purchase a domain that was registered and is in its redemption period. I have seen that I need to wait 30 days, 40 days and 45 days and 70 days (+ or - 24 hours). Here is a screenshot below. I just want to know when I need to be hitting that refresh button all day.    Also, will I have to go through the same company it was purchased from before or will it become available on lets say GoDaddy?


Difference between processing.runalg() and general.runalg()

In the discussion from a question I asked several days ago (), someone suggested that I use general.runalg() instead of processing.runalg() for running QGIS algorithms.    I've now used both, and haven't noticed a difference in either performance or syntax between them.  I'm just wondering what sort of differences there are between these two methods, and which one I should be using.


Google Play Error Code: 495 on Android One

I am using an Android One mobile phone. When I try to install apps via WiFi I get Error Code: 495, but, when I do the same via mobile data it's working fine.  When  follow the procedure mentioned in  I get a "Connection Time Out Error". If I try a second time I can see the "Installing..." indicator appear, but I don't see any downloading file information and finally I get the same Error Code: 495.  What could be the problem? How to solve this issue?


How do I hide posts matching my ignored tags?

Where and how do I go about hiding the posts that match any of the tags on my ignored list?


Let $A$ be a ring and let $J$ be a right-sided ideal of $A$. We call the set $I_{A}(J)=\lbrace a \in A \mid aJ\subset J\rbrace$ the idealizer of $J$.  Show that $I_{A}(J)$ is the largest subring of that $A$ containing $J$ as an ideal.


How to modify a find function loop to handle backslashes and whitespaces?

Currently, I am trying to parse out all the files inside a directory. I have a find function, but it appears to not be able to parse in file directories with whitespaces into a loop. Here, "$DIR" is the directory I wish to search in. Does anyone have any ideas how I can modify it to work? thanks.  for file in $(find "$DIR" -type f) do    echo "$file" done


My credit card company is asking for my current income citing "Federal Regulations"

So I received an e-mail today from a bank from whom I have an existing credit card as follows:     To consider you for a future credit line increase, federal regulations   require us to have your current income.      Keeping your account info up to date is always a good idea. Plus, it   helps us meet federal regulations, which require us to collect updated   income info before reviewing your account for future credit line   increases. So please take a moment and update your income in about 60   seconds.   As far as I can tell, the email is legit because it includes security information in the e-mail that checks out. Of course, I still am not following any links in that e-mail just in case.  Does anyone here know what the backstory is on this? Was there recent regulation passed where card issuers need to know your income level?   Or maybe I'm wrong and this is just a phishing attempt?


Make scores private because they promote selfishness and discrimination

I'm firmly of the belief that the stack concept is badly designed but haven't known why until I read this article:    The display of a score to others as a core design point is deeply flawed for the reasons pointed out in the article:     simply holding meritocracy as a value seems to promote discriminatory behavior   Almost every argument about the stack exchange concept invokes the idea that it is a meritocracy and at the same time users of stack sites are continuously complaining about 'noobs' not understanding the system.  I propose that scores for individuals should be made private and only be displayed to that individual. Helping people in order to increase an epeen score is a bad form of incentive.


Extension of degree 2 with characteristic not 2

I am told that $K \leq L$ is a field extension of degree 2 and that $K$ has characteristic not 2. I am then asked to show that $\exists \: \alpha \in L$ such that $L = K(\alpha), \; \alpha^2\in K $  So far I have that:  $\exists \; \alpha_1, \alpha_2 \in L$ such that $L = K( \alpha_1, \alpha_2)$  $\Rightarrow |L:K| = |L:K(\alpha_1)| |K(\alpha):K| $ so $|K(\alpha):K| = 1$ or $2$  $|K(\alpha_1):K| = 2 \Rightarrow L = K(\alpha_1)$ and $deg(f_{\alpha_1}(t)) = 2  $ where $f_{\alpha_1}(t)$ is the minimal polynomial of $\alpha_1$ over $K$   So $f_{\alpha_1}(t) = t^2 + at + b$ for some $a,b \in K$  Also, $|K(\alpha_1):K|=1 \Rightarrow K(\alpha_1) = K$ and $L = K(\alpha_2)$ which means $degf_{\alpha_2}(t) = 2$ where $f_{\alpha_2}(t)$ is the minimal polynomial of $\alpha_2$ over $K$.   So $f_{\alpha_2}(t) = t^2 + at + b$ for some $a,b \in K$  Given that we consider the same polynomial each time, relabel to consider:   $f_{\alpha}(t) = t^2 + at+ b $ for some $a,b \in K$  We have already demonstrated that $L=K(\alpha)$ for some $\alpha \in L$ so now we much show that $\alpha^2 \in K$  $\alpha^2 \in K \Leftrightarrow a = 0_K$  I now have no idea how to show that this coefficient of $f_{\alpha}(t)$ is necessarily $0$.   I know that $f_{\alpha}(t)$ has two roots in $L$ and that because $K$ and thus $L$ has characteristic not 2, they cannot be the same root, but I don't know how to then conclude that they must sum to $0$  Any help would be greatly appreciated.


Layover at San Francisco International Airport

We have a 6 hour layover at SFO. Is that enough time to see the town? Is there a bus or should we take a taxi? What about our 2 carry-on 17 lb. bags?


How to get reimbursement of the wrong taxes collected by IRS?

I was working as an intern with F1 visa status at a company but that company's HR didn't know that I shouldn't be charged for medicare & SSN tax, so they put me in that tax status and now I have graduated though in F1-OPT and employed in new company. But since I was put in that tax status the IRS kept collecting the SSN & Medicare taxes from me.   So how do I tell IRS that I shouldn't have been charged for it and get my money back?  Thanks a ton!