What is the most efficient way to parse inconsistent listed addresses?

So basically I have thousands of street listings that I would like to organize.  The street listings are currently stored in one string variable like this:  123 Street dr 123 N Street dr 123 N Street drive 123 Street Drive 123-N Street drive 123 North Street drive   As you can tell, its pretty random.  I would really like to have them stored in an object called Location with the following definitions.  int streetNumber; string direction; string streetName; string typeOfStreet;   I am doing this in C# if it matters, I believe its more of a logic question.  Is there an easy method of doing this?  It doesn't have to be completely perfect, I would like to just get around a 90% success rate and I will just mark off the ones that I have "organized."  Thanks Ahead


Partial derivative of position in respect to velocity

Out of interest What is the derivative of $\frac{\partial x(t)}{ \partial v(t)}$


make apache send header 401 unless a parameter is present

I have a rest api that has to be executed only if the parameter "manual" is present in the request.  I tried with a RedirectMatch directive inside the virtualhost declaration      RedirectMatch 401 "^\/api\/file\.php\?.*(?!manual).*$   but it does not work. Actually seems that none of the last part of the regexp works.  EDIT: Umh, I just found out that RedirectMatch directive does not match against the query part of the get request...


Does MySQL have built-in injection attack protections against URL-based attacks?

edit - this shouldn't be marked as a duplicate. The question isn't how to prevent SQL injection attacks (I'm already using prepared statements elsewhere), it's related to why MySQL is killing a maliciously-injected query.    I'm testing out a web app with a connected MySQL database, specifically looking for potential SQL injection concerns and wondering how to prevent such attacks in this specific case.  One page loads a person's information from the database based on a unique ID number, which is visible through the page's URL. Obviously, this is a concern in its own right - I could simply change the ID from "?id=2" to "?id=3" to load a new record from the database - but the issue I'm more concerned with at the moment is a URL-based attack to execute a "bad" query on top of the intended query.  The intended query looks something like this: ... where person.ID="10" and person.ID = notes.ID and ...  By changing the URL, I'm able to close the parameter that's looking for an ID and execute another, potentially malicious query, like this:  ... ?id=10"; drop table person; select * from notes where ID=" ...    which would cause the following queries to be executed:  ... select * from person, notes where id="10"; drop table person; select * from notes where ID="" and ...   I've been able to get this malicious set of queries to print (echo) to my webpage, so I know it's a vulnerability. However, when I try to execute this exact query in MySQL, it hangs for several seconds before exiting MySQL completely with the response "Killed" and no further explanation.  My question, then, is what's causing MySQL to kill this malicious query and exit? This seems like a security feature, but I don't know what it'd be - those queries are perfectly fine on their own. I'm also confused by the lack of error message beyond "Killed" if anyone has come across a similar situation.


Evaluating $\int \frac{\sec^2 x}{(\sec x + \tan x )^{{9}/{2}}}\,\mathrm dx$

How do I evaluate $$\int \frac{\sec^2 x}{(\sec x + \tan x )^{{9}/{2}}}\,\mathrm dx$$  I've started doing this problem by taking $u=\tan x$.


How do I match regex capturing groups within brackets separated by a comma?

I have the following input string:  '1893', '9', '3536286', '{FormatDate(2019-01-24 11:46:22,yyyy-MM-dd)}', '{FormatDate(2019-01-23 11:46:26,yyyy-MM-dd)}', '', 'S', ''   When implementing the following regex expression:  {FormatDate\((.*),(.*)\)}   My expression evaluates to:  Full Match - {FormatDate(2019-01-24 11:46:22,yyyy-MM-dd)}', '{FormatDate(2019-01-23 11:46:26,yyyy-MM-dd)}  Group 1 - 2019-01-24 11:46:22,yyyy-MM-dd)}', '{FormatDate(2019-01-23 11:46:26  Group 2 - yyyy-MM-dd  I would like a regex expression that matches {FormatDate(2019-01-24 11:46:22,yyyy-MM-dd)} and {FormatDate(2019-01-23 11:46:26,yyyy-MM-dd)} separately.   It would seem that the comma separating the two params within {FormatDate(param1, param2)} is not recognised?  Any help would be greatly appreciated!


Why does a 95% Confidence Interval (CI) not imply a 95% chance of containing the mean?

It seems that through various related questions here, there is consensus that the "95%" part of what we call a "95% confidence interval" refers to the fact that if we were to exactly replicate our sampling and CI-computation procedures  many times, 95% of thusly computed CIs would contain the population mean. It also seems to be the consensus that this definition does not permit one to conclude from a single 95%CI that there is a 95% chance that the mean falls somewhere within the CI. However, I don't understand how the former doesn't imply the latter insofar as, having imagined many CIs 95% of which contain the population mean, shouldn't our uncertainty (with regards to whether our actually-computed CI contains the population mean or not) force us to use the base-rate of the imagined cases (95%) as our estimate of the probability that our actual case contains the CI?   I've seen posts argue along the lines of "the actually-computed CI either contains the population mean or it doesn't, so its probability is either 1 or 0", but this seems to imply a strange definition of probability that is dependent on unknown states (i.e. a friend flips fair coin, hides the result, and I am disallowed from saying there is a 50% chance that it's heads).  Surely I'm wrong, but I don't see where my logic has gone awry...


How to show the number of nodes and comments?

I want to show the number of nodes and comments of the author in the author's comment.  I try to put in template :   function MYTHEME_get_user_comments_count($uid) {     $query = db_select('comment', 'c');     $query->condition('uid',$uid,'=');     $query->addExpression('COUNT(cid)', 'comments_count');     $result = $query->execute();     if ($record = $result->fetchAssoc()) return $record['comments_count'];    return 0;  }   And in comment.tpl :   <?php print MYTHEME_get_user_comments_count(['comments_count'], $comment->uid); ?>   But it doesn't work.  Where have I forgery? Is this the right way?


Let $X$ be a normed linear space and a function $p$ on $X$ given by $p(x)=\frac {||x||} {1+||x||}$. Let a metric $r$ on $X$ be given by $r(x,y)= p(x-y)$.Prove that it is a metric on $X$.  I understand except for triangle inequality, but I don’t know how to show $r$ satisfies triangle inequality.


Python MySQL: Not showing inserted records

I am using Python 2.7 with MySQLdb 32bit, alongside with MySQL 5.5.8 running local.  I am driving myself crazy over this, I have never seen anything like it.  Basically, I am inserting records into MySQL from Python via:  db=MySQLdb.connect(host="localhost",user="root", passwd="mypassword",db="python",port=3307) cur=db.cursor() cur.execute("INSERT INTO mytable(myfield) VALUES(%s);","somedata")   I have verified that it is connected properly and that it can successfully SELECT data from the database.  Here is the odd part: From MySQL Query Browser (GUI tool) AND from MySQL via CMD, I am unable to see the inserted records.  I can insert and select records from my Python Script, but they DO NOT show up in my database, it just returns Empty Set (0.00 sec)  And here is the really weird part:  I can truncate and delete data from the GUI tool and from the Console.  To sum up:  I can insert and select data from the Python Script.  I can not see that data in MySQL.  However, I can truncate and delete that data using MySQL.  I am completely lost at this point.


If $X$ is distributed $\mathcal{N}\sim(\mu,1)$ then what is the PDF of $X^2$?

If $X$ is distributed $\mathcal{N}\sim(\mu,1)$ then what is the distribution of $X^2$? My try: \begin{align*}     P(X^2<x)\\      P(-\sqrt{x}<X<\sqrt{x})\\     \int_{-\sqrt{x}}^{\sqrt{x}} f(x) \,dx  \end{align*} Then: \begin{align*}     f_{X^{2}}(x)=\frac{d}{dx}\int_{\sqrt{-x}}^{\sqrt{x}} f(x) \,dx\\     =f_X(\sqrt{x})\frac{1}{2\sqrt{x}}+f_X(-\sqrt{x})\frac{1}{2\sqrt{x}}\\     =\frac{1}{\sqrt{2\pi x}} e^{\frac{-(\sqrt{x}-\mu)^2}{2}} \end{align*} How should I continue?


NullPointerException while inserting into oracle database

I have JDBC Class and Servlet class separately in 2 packages. I try to fetch data from an HTML form and insert it into a table. This is the Servlet class code to fetch data   public void doPost(HttpServletRequest request, HttpServletResponse response)                      throws ServletException, IOException {      String userName = request.getParameter("UserName");     String password = request.getParameter("Password");     String country = request.getParameter("Country");     String address = request.getParameter("Address");     String gender = request.getParameter("Gender");     String years = request.getParameter("Years");     String bDate = request.getParameter("BirthDate");     Boolean hasCar = null;      if (request.getParameter("Car")!= null){         hasCar = true;     }else{         hasCar = false;         }   and this is the method in JDBC class to insert data   public static void insertData(User user){           String sql = "insert into users values (1,?,?,?,?,?,?,?,?)";         PreparedStatement ps = null;         String userName = user.getUserName();         String password = user.getPassword();         String address = user.getAddress();         String country = user.getCountry();         String gender = user.getGender();         int years = Integer.parseInt(user.getYears());         String bbd = user.getBDate();         Date bDate = null;     try {         bDate = (Date) new SimpleDateFormat("dd/MM/yyyy").parse(bbd);     } catch (ParseException e) {         e.printStackTrace();     }     boolean hasCar = user.isHasCar();         try {             ps.setString(1, userName);             ps.setString(2, password);             ps.setString(3, country);             ps.setString(4, address);             ps.setString(5, gender);             ps.setInt(6, years);             ps.setDate(7, bDate);             ps.setBoolean(8, hasCar);               ps = conn.prepareStatement(sql);             ps.executeUpdate(sql);          } catch (SQLException e) {             e.printStackTrace();         }   I created an object from class user in Servlet class and passed it to JDBC method and redirect into another html page       User user = new User(userName, password, country, address, gender, years, bDate, hasCar);     JDBCClass.insertData(user); response.sendRedirect("Home.html");   but it throws java.lang.nullpointerexception  What is wrong?


Position of the qed-symbol in the same line

This code  \documentclass{scrartcl} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{amssymb,amsmath} \usepackage{amsthm} \usepackage{dsfont} \usepackage{empheq} \theoremstyle{plain} \newtheorem{lemma}{Lemma} \newenvironment{lemmaqed} {\pushQED{\qed}\lemma} {\popQED\endlemma}  \begin{document} \begin{lemmaqed} \begin{itemize}   \item $a^2+b^2=c^2$   \item $a^2+b^2=c^2$ \end{itemize} \end{lemmaqed}  \begin{lemmaqed} \begin{align*} a^2+b^2=c^2 \end{align*} \end{lemmaqed}  \begin{lemmaqed} $a^2+b^2=c^2$ \end{lemmaqed} \end{document}   creates the output My problem is: The qed symbol should be at the place indicating by Lemma 3, so on the right at the same line. This is not the case in Lemma 1 and 2. How can I change this?


Since witches and wizards can get new wands if their old wands break, does that mean that their personalities change?  So that means that 2 different wands suited a certain wizard at different points in time (one wand chooses the wizard when they're 11, assuming it's from Ollivander's, and the other wand after the first wand is broken, lost, or irreparable).


For the set of data , the following code can't compile showing the error     Package pgfplots Error: CRITICAL: shader=interp: got unsupported pdf   shading type '0'. This may corrupt your pdf!.   \documentclass[border= 5mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document}     \begin{tikzpicture}     \begin{axis}[unbounded coords=jump, view={70}{40}]     \addplot3 [surf,shader=interp]      table [x index={0}, y index={1}, col sep=tab] {mySurfaceData.txt};     \end{axis}     \end{tikzpicture} \end{document}    So, what went wrong to cause this?  P.S. the original data without NaN is available , where I would like to skip plotting those points of z=1.


Storage shows more space used than actually used

I got my Mac 2 days ago and installed a few softwares, Xcode, Android Studio and stuff. Today I noticed my Storage as this:    17GB of Apps might be there but I dont have any Audio/Photos! Where is this 2GB going? And whats this 13Gb other?  Is there an app that can locate these files taking this space?


eTA/Transit Visa for US connections in YVR-International Terminal

I am flying AirCanada from Hong Kong -> Vancouver -> Seattle on an Indian passport with a valid US visa. I do not have a Canadian visa of any sort.  Does Vancouver have sterile transit for connections entirely in the International Terminal? Do I need to clear CBSA immigration (eTA/transit visa) before I reach US pre-clearance.


Prove $D_{12}$ and $S_4$ are not isomorphic groups in 3 different ways

Give three reasons why $D_{12}$ and $S_{4}$ are not isomorphic. More precisely, prove that $D_{12}$  and every group isomorphic to it satisfy three properties that $S_{4}$ does not satisfy. So I have proved that $D_{12}$ has an element of order $12$ and that $S_{4}$ does not. I am hoping to prove that there are a different number of elements of one order than in the other group but I don't know what else to do because neither are cyclic or abelian and the groups both have the same order. Please help


Pull back image of maximal ideal under surjective ring homomorphism is maximal

Let $f :R \to S$ be a surjective ring homomorphism , $M$ be a maximal ideal of $S$ , I am writing a proof showing $f^{-1}(M)$ is a maximal ideal of $R$ , Please verify whether it is correct or not .   Proof :- Let $J$ be an ideal such that $f^{-1}(M) \subset J \subseteq R$ , we want to show $J=R$ i.e. $R \subseteq J$. Now as  $f$ is surjective , $M=f(f^{-1}(M)) \subseteq f(J) \subseteq S$ . As $f$ is surjective , $f(J)$ is an ideal of $S$ . Now if it were possible that $M=f(J)$ , then $x \in J \implies f(x) \in f(J)=M \implies x \in f^{-1}(M)$ , so $J \subseteq f^{-1} (M)$  ,contarry to our assumption $f^{-1}(M) \subset J$ . Thus $M \ne f(J)$ , $f(J)$ is an ideal of $S$ containing $M$ ; since $M$ is maximal ideal in $S$ , so $f(J)=S$ . Then $x \in R \implies f(x) \in S=f(J) \implies \exists j \in J : f(x)=f(j) \implies f(x-j)=0_S \in M $  $\implies x-j \in f^{-1} (M) \subset J \implies x=x-j+j \in J$ , so $R \subseteq J$   Is the proof correct . Please comment .


How can I be sure that my flag has been seen?

How can I be sure that a moderator of a site has checked my flag and did they take any action? Is there any way to know?   I flagged a post some days ago and still I am seeing the post (the post wasn't good out of context). How can I ask a moderator to delete the post?


Empty signature file after i.gensig in GRASS

I'm trying to make a supervised classification in Grass 6.4.3 under Linuxmint 16.  After digitizing the training areas, I transformed them from vector to raster. Then I've done the following: just in case: g.region rast=train_area_2013_03_05_raster@PERMANENT,2013_03_05_toar4@PERMANENT  then  i.group group=group subgroup=sub_group input=2013_03_05_toar4@PERMANENT,2013_03_05_toar5@PERMANENT,2013_03_05_toar3@PERMANENT  and   i.gensig trainingmap=train_area_2013_03_05_raster@PERMANENT group=group@PERMANENT subgroup=sub_group signaturefile=superv_class  but the resulting signature file, only contains one character: "#".  The output of i.gensig in the console is the following:  Finding training classes... 3 classes found Calculating class means... Calculating class covariance matrices... Signature 1 not invertible Signature 2 not invertible Signature 3 not invertible i.gensig complete.   Obviously if I try: i.maxlik group=group@PERMANENT subgroup=sub_group sigfile=superv_class class=results_class  I obtain the following error message:  ERROR: Unable to read signature file <superv_class>   I've been searching, but I couldn't find the solution.   I've tried: this   My problem is similar to this: . But here, there's no solution suggested. As in this case, I also used i.cluster to generate an unsupervised signature file and i.maxlik reads this perfectly well.   there's another similar question, but again, with no solution...  What does Signature X not invertible means?  Any idea? Thanks for your help!


If a prize is worth thousands of dollars, is it called     a thousands-dollar prize   or     a thousand-dollar prize


I am facing a rather weird issue. I am writing a paper using the svjour3 class. At some point I realized that adding one letter gave the following error  \pdfendlink ended up in different nesting level than \pd   I searched to find a possible solution and I was pointed out to change TeX's capacity. The more weird is that there doesn't seem to be a problem because this how much memory is used  Here is how much of TeX's memory you used: 16095 strings out of 493069 303810 string characters out of 6138222 367944 words of memory out of 5000000 19329 multiletter control sequences out of 15000+600000 11810 words of font info for 47 fonts, out of 8000000 for 9000 1137 hyphenation exceptions out of 819   So I don't think that this is the issue here. Unfortunately I cannot provide a MWE so I will give my code .  I am also giving a  required by the class.  At some point I deleted all the output files and tried to rebuild the tex code and surprisingly it worked! Then I realized that the problem occurs when I ran BibTeX. So unless I ran BibTeX everything works.  Any idea on what might be the issue?  For reference I am running TeXLive under Feodra 25 using TeXMaKeR.


What is the difference between "struct user* " and "struct user *"?

What's the difference semantically and technically between doing struct user* bob and struct user *bob?  According to  it's called thing* bob or thing** bob, which makes sense because it is of type struct* (or pointer to struct)  On the other hand we can also do thing *bob or thing **bob  Take the example program:  struct user { int age; int *p_age2; };  int main() { struct user bob; struct user* p_bob = &bob;   I am not sure if it's purely a matter of coding style or if there is actually a slight difference somewhere. I'd be interested to hear why one or the other could make more sense. Another important thing to note is that struct tags and struct variables can have no type prior to them sometimes so maybe user* would make more sense then.


Algorithm or GDAL module to calculate LOS

I'm involved in a project using GDAL via python.  We need to be able to calculate if, standing at point A it is possible to see point B, given a DEM. To clarify we do not need a viewshed algoritm, we would only like to know if there is a straight unbroken line from A to B.   Are there any well known algorithms for line-of-sight calculations? Is there a GDAL module or python script (using GDAL) that can do LOS calculation?


I'm switching to XeLaTeX and have a problem choosing a Cyrillic (Russian) font for the document. If I try just  \documentclass[a4paper,12pt]{report}       \usepackage{polyglossia} \setdefaultlanguage{russian}  \begin{document} Hi! Привет! \end{document}   an error is thrown:  Package polyglossia Error: The current roman font does not contain the Cyrillic script!   As far as I understand I must explicitly specify a font. Unfortunately I know close to nothing about fonts and I have no guidelines imposed to follow. What is a recommended Cyrillic font in OS X? Some kind of rule of thumb to set and forget about.


In a document that uses the newtx packages, double subscripts seem to have too much spacing.  \documentclass{scrartcl} \usepackage{newtxtext} \usepackage{newtxmath}  \pagestyle{empty}  \begin{document}   $\lambda_{\alpha_p}$ \end{document}     The spacing with the default font looks much better:    It also happens with newtx if Latin letters are used:    More pairs tested:    Is there anything I can do at the "user" level (short of inserting \! all over the place) to fix this?  Related, but not the same: .


WP_Query to show post from a category OR custom field

I am looking for a way to show posts that belongs to a specific category or if they have a custom field. If I specify both parameter 'cat' => '9' and 'meta_key' => 'featured' in query arguments then WP_Query returns posts which satisfy both conditions simultaneously.  That I do not want. What I need is to show posts if they have category 9 or if they have custom field featured.  Let me know if it does not make sense. I will post an example to explain.


I wrote the next sentence: "Oh Dad, you think my room is a mess? You should see my life". But then I remembered that in questions obviously you have to put the verb "be", and the doubt came, is the sentence correct or I should write; "oh dad, do you think my room is a mess? You should see my life.  Thank you for your help :)


We learn in English grammar class to use 'a' before words starting with consonants and 'an' before words starting with vowels.  Since for the word 'user' which starts with a vowel, are we supposed to use 'an' or 'a'.   'A user' feels more meaningful than 'an user'. Which is the correct usage?


Find the a < 0 for which the inequalities have at least one common solutions

Find the $a < 0$ for which the inequalities $\hspace{0.5cm}2\sqrt{ax}<3a—x\hspace{0.5cm}$ and $\hspace{0.5cm}x-\sqrt{\frac{x}{a}}>\frac{6}{a}\hspace{0.5cm}$ have at least one solutions in common.  I don't know how to begin Please give me a hint


Gained the Editor badge for editing my own question

I edited my own question and received an Editor badge for it. I don't think that editing your own question should get you the badge.


Given $\{a_i\}_{i=1}^{\infty}$ as a sequence of real numbers, define $\{c_j\}_{j=1}^{\infty}$ Such that for each $j \in \{1,2,3,...\},$ We know that $$c_j = \frac{\sum_{i=1}^{j} a_i}{j}.$$ I want to show that if $\lim_{j \rightarrow \infty} a_j = q,$ then $\lim_{j \rightarrow \infty} c_j = q.$ That being said, I am not sure about the tools I have available to go about solving this problem. I do know that $\exists N \in \mathbb{N}$ such that for all $\epsilon > 0,$ $|a_j-q| < \epsilon$ for $j > N.$ I would like to go about using this knowledge to bound $|m_j - q|$ with a function of $\epsilon.$


What's a software that I can use to design UI's with my team?

I want my team to be able to see my PSD and be able to edit it. Kinda like how code works on git-hub but for photoshop or UI design. I make a design, save it and my team member can get the latest version and it wont affect his or hers. I have seen wake.com but am on windows. Any suggestion


Seeking shapefile of 2km DINTY Tetrad squares for UK?

does anyone know where I can download a shapefile of 2km DINTY Tetrad squares for the UK please?  A google search wasn't very helpful so I thought I'd try here.  A  is derived from the British National Grid, but is not the same as the British National Grid, so this is not a duplicate question.


Given  $f : \mathbb {Z}_{4}  \rightarrow \mathbb{Z}_{10} $. find the number of ring homomorphism ?  My attempt :  I got $4$ , my thinking is that the idempotents element in $\mathbb{Z}_{10}$ are $ \{ 0,1,5,6\}$, so there are $4$ ring homomorphism  Is its true ?


Following is my code sample.  SENTENCE = "Today is a wonderful day." sent= (word_tokenize(SENTENCE))  cursor = conn.cursor() cursor.execute('SELECT * FROM emotion_state WHERE key_word = %s', (sent)) results = cursor.fetchall() for i in results:     print(i)   Here I need to check whether the words in "sent" array available in the database or not. If there are some keyword available in the database that is in the "sent" array, I need to fetch all. I'm tried in followed way and it makes the error which is  raise errorclass(errorvalue) _mysql_exceptions.ProgrammingError: not all arguments converted during string formatting   How can I do this comparison easily ?


Move each filename into filename subfolders

I have a directory structure like this  file 1.ext1 file 1.ext2 file 1.ext3 file 2.temp.ext1 file 2.ext2 file 3.ext1   I want to create each subfolder and move each file name no matter what extension there  file 1\file 1.ext1 file 1\file 1.ext2 file 1\file 1.ext3 file 2\file 2.temp.ext1 file 2\file 2.ext2 file 3\file 3.ext1   any easy way to do it? thanks


Let $a, b, c$ be real. Knowing that $a^3$ is divisible by $b, b^3$ is divisible by $c, c^3$ is divisible by $a$. Prove that $(a + b + c)^{13} $ is divisible by abc.  I didn't produce much, but I tried to expand it by making some substitutions, but it was going to be something extremely manly and certainly not the way. I wanted something more elegant, I have no idea how ...


Duration for attacking Two-Key Triple-DES Encryption using all RAM ever built?

I am considering attacks on Two-Key Triple-DES Encryption assuming $2^{32}$ known plaintext/ciphertext pairs (that's a mere 32 of ciphertext) by the method devised by Paul C. van Oorschot and Michael J. Wiener:  (in ), or another published method not requiring significantly more DES computations. As a synthetic information for decision makers, I am looking for an independent estimate of how much time this is expected to require, assuming all the RAM ever built by mankind to that day (of April 2012) was put to full use. Note: I'm purposely not asking when the attack could become feasible using all the RAM ever built by mankind, because estimates on the amount of RAM mankind will build, and when, are less falsifiable. Update: I am not considering cost; neither of RAM, power, logic including DES engines (as long as the number of DES operations remains within $2^{90}$). I am willing to assume that the amount of RAM used, and its effective speed, are the only factors to account for in determining the expected duration of the attack. This is similar to the hypothesis made by the authors of the linked paper, that their attack is limited by the amount (or cost) of RAM used, with all other factors of secondary importance. Update: sadly, nobody dared answer the question and the bounty period is over. Thus  is a first order answer to criticize.


Travelling with a non-revenue listing via Delta, I will fly from Manila-Narita-Seattle. Do I need a transit Visa?

Travelling with a non-revenue listing via Delta, I will fly from Manila-Narita-Seattle. That said, I will be going from Narita to Seattle as a chance passenger. Do I still need to secure a Transit Visa, when I do not intend to go outside the airport? I am a Filipino citizen.


I have a failure to transfer my game from one HDD to another, and one PC to another. I copied the entire Skyrim folder from one HDD to another. And told where to find it also. Steam did a huge check of my HDD.  But it ended up downloading most of the files anyway. It took a week to download Dawnguard, Hearthfire, and Dragonborn files along with my Hi-Res textures.  I did ask about it in chat. But I feel this could help me or somebody else.  This is the screen I am looking at after transferring my entire hard drive to to new one. Steam downloaded my games, including Skyrim even though my Skyrim data folder had all the data files for Dawnguard, Hearthfire, Hi-Res and Dragonborn.  I have my copied files and have got rid of everything not steam related. I just have my DLCs and they include my hires files.  This is what it looks like.    But I still get this :     What could be causing this? How can I rectify? And in future when one is migrating to a new PC, how can this be avoided?  EDIT::::::::::::::::: Removed everything : Here is how it looks :  Still the prompt as before Steam Error 15  (Side Note : I transferred all my Origin games just by copy/pasting. This really is not nice.)    EDIT 2 :::::::::::::::::::::  And one more EDIT  I tried getting game cache up to speed, but this is prompt I am getting. But I played the game, it was working, I could pick out my character and all, and escape from Helgen.  EDITED 3 :::::::::::::::::  How does one transfer a Steam game? A game that is heavily modded, will the backup a Steam Game option suffice?


Can functions satisfying these criteria exist?

I've been wondering whether or not such functions can exist:  (1) $$f: \emptyset \rightarrow \emptyset$$ I can think of only one relation that satisfies this criterion - the empty relation defined on the empty set, namely: $R = \{\}$ but, my question is - is this even a function? The definition of a function says that $f$ is a function iff if two elements have the same first entry, they must have the same second entry - but I think this is not a problem here.    (2) $X$ is non-empty:  $$g: \emptyset \rightarrow X$$ As for this function, there are no possible first entries, and so it is impossible to map anything into set $X$   (3) $X$ is non-empty $$h: X \rightarrow \emptyset$$ I cannot think of anything that would map something into the empty set. Any suggestions?


"Classic symptoms" or "classical symptoms"?

According to Oxford Advanced Learner's Dictionary, both 'classic' and 'classical' mean very typical in a sense. However, in Longman Dictionary of contemporary English and Oxford Collocations Dictionary only 'classic' collocates with 'symptoms'. So, are these two sentences perfectly correct? 1- She displayed the classic symptoms of depression. 2- She displayed the classical symptoms of depression. If not, why? Is it a matter of collocations? Is it a matter of common usage? Thank you in advance for your help.


Converting a linux alias to a desktop launcher

I would like to know how to convert the following  simple alias to a desktop launcher:   cat ~/info1.txt


Bricktexture allignment on different Objects

I wanted to make a House for my Art class and used the brick texture node with some extras to make a brick shader for the walls. Because the bricks didn't align correctly with the first object (House1) I added a Mapping and Texture coordinate node to adjust it. Now that i need to do the other side of the house the shader of the bricks is not aligned correctly and weirdly stretched. I thought that I could fix it by unwrapping the objects and then set the texture coordinate to UV, but it made it made it worse. Thanks in advance. Here's the Blend file:


Creating a random list from a list without repeating items

I am trying to create a new list of lists from a list. The goal is to randomly pick a name from listA and add it in a specific spot in listB. However, names should not be repeated in listB.  Here is my attempt. Sometimes it works and other times I get "RecursionError: maximum recursion depth exceeded in comparison". It traces back to yFinder or zFinder.  Any advice would be appreciated. Thanks!   import random  listA = ["Foo","Spam","Eggs"] listB = [["A"],["B"],["C"]]  x = random.sample(listA,1) y = random.sample(listA,1) z = random.sample(listA,1)  def xFinder():   x   listB[0].append(x)  def yFinder():   y   if y != x:     listB[1].append(y)   else:     yFinder()  def zFinder():   z   if z == y:     zFinder()   elif z == x:     zFinder()   else:     listB[2].append(z)     xFinder() yFinder() zFinder()  print(listB)


Which module in a Linux distribution is responsible for keyboard shortcuts?

I have a specific problem with keyboard shortcuts and haven't gotten a solution for it so far, so now i need to know which module within a Linux distribution is responsible for handling keyboard shortcuts.  By handling keyboard shortcuts, I mean, listening to the key pressing\releasing events.


I installed python3 and tcl-tk with homebrew on my iMac. However, when I want to launch my program using the terminal, this message is displayed:     DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.   The interface is completely buggy on my iMac and I don't understand why and can't find a solution.  On my MacBook Air with the same homebrew apps installed the very same program works perfectly.   Details:    macOS Catalina 10.15.4 on both Macs MacBook Air:  @MacBook-Air $ which python3 /Library/Frameworks/Python.framework/Versions/3.7/bin/python3 @MacBook-Air $ python3 -V Python 3.7.3 @MacBook-Air $ which tclsh /usr/bin/tclsh  iMac:  @iMac-de-Lola.local $ which python3 /usr/local/bin/python3 @iMac-de-Lola.local $ python3 -V Python 3.7.7 @iMac-de-Lola.local $ which tclsh /usr/bin/tclsh


I am trying to mount my old windows hdd with ntfs filesystem. The hdd was partitioned in 3 partitions.  /dev/sdb1  *         2048     206847    204800   100M  7 HPFS/NTFS/exFAT /dev/sdb2          206848  614402047 614195200 292,9G7 HPFS/NTFS/exFAT /dev/sdb3       614402048 1465145343 850743296 405,7G  7 HPFS/NTFS/exFAT   I can mount sdb1 and sdb2 without problems, but not sdb3 (which contains the most important data).  I tried to run ntfsfix, but this was not working:  sudo ntfsfix /dev/sdb3  Mounting volume... NTFS signature is missing. FAILED  Attempting to correct errors... NTFS signature is missing. FAILED Failed to startup volume: Invalid argument NTFS signature is missing. Trying the alternate boot sector Unrecoverable error   Gdisk also returns strange errors:    sudo gdisk -l /dev/sdb3  GPT fdisk (gdisk) version 1.0.1 Partition table scan:   MBR: MBR only   BSD: not present   APM: not present   GPT: not present  ***************************************************************   Found invalid GPT and valid MBR; converting MBR to GPT format in memory.  ***************************************************************   Exact type match not found for type code F500; assigning type code for  'Linux filesystem' Exact type match not found for type code 9600;  assigning type code for 'Linux filesystem' Exact type match not found  for type code 9200; assigning type code for 'Linux filesystem' Exact  type match not found for type code 9900; assigning type code for  'Linux filesystem'   Warning! Secondary partition table overlaps the last partition by  4760393812 blocks! You will need to delete this partition or resize it  in another utility. Disk /dev/sdb3: 850743296 sectors, 405.7 GiB  Logical sector size: 512 bytes Disk identifier (GUID):  DBE028FB-546C-4EA6-A766-727D9F67E559 Partition table holds up to 128  entries First usable sector is 34, last usable sector is 850743262  Partitions will be aligned on 8-sector boundaries Total free space is  850743229 sectors (405.7 GiB)   Number  Start (sector)    End (sector)  Size       Code  Name    1      2914562731      5373511561   1.1 TiB     8300  Linux filesystem    2    2985685759      5326929304   1.1 TiB     8300  Linux filesystem    3    2559413164      4901128831   1.1 TiB     8300  Linux filesystem    4    1316225013      5611137074   2.0 TiB     8300  Linux filesystem   I also tried to use the windows chkdsk, but the sdb3 is shown in windows, but cannot be accessed by chkdsk or any other tool (and cannot be mounted, too).  I don't want to destroy the data, so I did not do anything else and I have no idea, what to do now. As I can read and write on the other partitions, I hope, that the HDD has no physical damage. It would be great, if somebody has an idea, what do do / how to recover the NTFS signature to rescue the data?  Thank you very much in advance  Edit: Windows is installed on partition sdb2 which can be mounted. Sdb3 only contains data. Sdb3 is not accessible in windows and is not encrypted.


The effect of Union, void pointer, and type casting operator on C language

Recently, I am studying whether C language is strong type language or not.  As far as I know, it is said that C language cannot be strongly typed language due to Union, void pointer, and type casting operator, but I couldn't find a detailed explanation for the specific example.  Could you explain it by giving an example with a specific code?


How to install Ubuntu to use only part of a disk

I have a 1TB disk, /dev/sda. I installed Ubuntu using default options and it took up the whole disk.  I would like to install Ubuntu in a 200GB partition and leave the rest for data so that I can refresh my Ubuntu as and when I like it without destroying my data.  I see that under Installation Type there is Something else where I can specify the partition size. However, when I tried it it keeps saying something like no file system at /.  How do I use this option to install Ubuntu on 200GB, assuming that this is a fresh disk and nothing currently on it need to be preserved?


Unable to install Ubuntu on Lenovo T470, kernel error for i686

I'm trying to install Ubuntu 18.04 on a Lenovo T470. It currently has Windows 10. In System Properties it shows Windows 10, 64-bit OS, x64 processor.  When I try to install Ubuntu from pen drive nothing happens, so tried xboot QEMU to emulate. In QEMU it showed the error     This kernel requires an x86-64 CPU, but only detected an i686 CPU.   I searched for this issue on Ask Ubuntu, and I found that the solutions provided were for setting up Ubuntu in virtual machines by enabling virtualization from BIOS, so I enabled virtualization from BIOS and tried again... but got the same error.  Some other answers suggest downloading and burning a 64-bit image, which I already have, but it didn't work.  I tried with an old Lubuntu-i386 image and surprisingly it worked.  What's the problem and how can I fix it?


What are the advantages of upgrading the crankset on a bicycle?  For example, my bike () comes with a  crankset. I'm assuming this is a pretty basic crankset since it lies at the bottom of their .  Would there be a substantial improvement by upgrading to something nicer? My (uneducated) guesses are that a higher end crankset would be lighter (e.g made from carbon) and possibly have less flex under power application.


What makes a movie part of the Marvel Cinematic Universe?

Clearly not every marvel movie is part of the MCU. Off the top of my head, there is:   Tobey Macguire Spiderman 1, 2, and 3 Andrew Garfield Spiderman 1 and 2 Fantastic Four and Rise of the Silver Surfer New Fantastic Four Deadpool The bagillion XMen movies Hulk (Not "The Incredible Hulk")   So if all of these Marvel movies aren't part of the MCU, why are the Iron Man, Thor, Avengers, Captain America and other series part of the MCU?   I can think of a couple reasons they might not count. For example, both Spiderman series and the original Hulk don't count because they have new versions of the same character. But this doesn't explain all of them.  Another reason I thought of is that a movie doesn't count as part of the MCU until it clearly establishes a continuity with the world of Iron Man and The Avengers. This would explain for example, Deadpool, XMen, and Fantastic Four. But this still doesn't explain a couple of things. For example, Ant-man had no shared continuity until Civil-War came out. And Guardians of the Galaxy has no continuity with the avengers, at least, that has been revealed yet (although I would not be surprised if this happens with Infinity-Wars). I still don't even know if Guardians of the Galaxy happens before or after The Avengers. And yet, both of these movies count as part of the MCU.   So how can you clearly determine whether or not any given movie is officially part of the Marvel Cinematic Universe?


I only want to read the first line of a text file and put that first line in a string array.  This is what I have but its reading the whole file.  ex text in myTextFile:   Header1,Header2,Header3,Header4,Header5 1,2,3,4,5 6,7,8,9,10      String line= System.getProperty("line.separator"); String strArray[] = new String[5];   String text = null; BufferedReader brTest = new BufferedReader(new FileReader(myTextFile));     text = brTest .readLine();         while (text != line) {             System.out.println("text = " + text );              strArray= text.split(",");          }


I've researched loads  but still haven't found my answer. So, my question is would this scenario work? Multi visit visa, trigger the 180 days by an overnight stay in my chosen schengen country. Go back home (non schengen), then back to the same country again for the rest of the 90 allowed days. Then go back home again, for a week, (therefore the first 180 days have ended). Can I then go straight back to our chosen country after this week (with a new visa), for 90 days and not return again until after this second 180 day have ended. Ultimately apart from a week back home we would be in the schengen country for the best part of 6 months in a year and 6 months in our own country. Heres hoping!!


I've asked before and couldn't get a definitive answer,  and I tried poking around myself for very long with no success so I will try again to explain my issue as clearly as possible.  I am running the stack exchange app on my android smart phone.  I've had it for a long time and it just auto logs in on its own.    I want to be able to log in now on my pc and other devices and I have forgotten any account details like password,  or even the email I used to create the account.  All I have is my user name,  as we can all see it.    Given my situation in what way can I go about finding out my the email used or doing a reset password, or is there any advice anyone could give me on how to deal with this problem.  Thx


UV wrap texture looks distorted in render mode

Everything seems alright in edit mode, however; when I render the pill, it looks distorted. What did I mess up?


Yes, I know that there are tons of solutions of this up here, but I, essentially, wanted to try it a different way and ah, well.  Let $|G| = p^2$ for some prime $p$.  Consider $x \in G$. So, $|x| = p, $ or $ p^2$. If it is the latter, then, we are done.  So, if $|x|= p$, then, let, $H = [h|  h=x^i, i \in Z] \Rightarrow |H|= p$.  As $p$ is the smallest prime dividing $|G|$, $H$ is a normal subgroup.  Now, consider some $y \in G$, but not in $H \Rightarrow y^p= e$. Then, its easy to show that $G = \langle x,y \rangle$.  Now, consider a homomorphism $f:G \rightarrow \operatorname{Aut}(H), g \to c_g $, wherein $c_g$ represents conjugacy by $g$. So, for example, $c_g(x) = gx g^{-1}$.  Then, it is clear that, $H \subset \operatorname{Ker}(f) $, as it is cyclic and therefore abelian. So, we need only look at $G/H$.  Basically, I am asking for a hint as to why $c_y(x) = yxy^{-1} = x = c_e(x)$, where $x$ and $y$ are the generators of $H$ and $G/H$, respectively?  Because, if I establish it for the generators, then it follows that it applies for for all elements, i.e, that $\operatorname{Im}(f)$ is trivial and therefore that $G$ is abelian.  Thank You!


How do you make custom named appear like regular items?

I want to custom name items with anvils and commands, but have the names not be in italic.


If we have:  $a>0,a+b+c \ge 0,a-b+c \ge 0,a-c \ge 0,b^2-4ac \ge 0$  Then Prove that there exists two roots in $[-1,1]$.  We have $f(1),f(-1) \ge 0$ so if we could prove there is a number $c$ that $f(c)<0$ and $-1<c<1$ we are done but I can't do that.  Edit:$f(x)=ax^2+bx+c$  Edit 2 I made a typo and corrected it now.Now using answer of @George Law It only remains to check the case $\Delta =0$ which is likely to cause problem with $a-c \ge o$ because we didn't use it.


We want to encrypt / encode URL parameters on our pages. I tried to encrypt a parameter using  with AES algorithm as explained in the   %%[SET @encData=EncryptSymmetric("test", "AES", @null, "1111", @null, "0000000000000000", @null, "00000000000000000000000000000000") ]%% AES: %%=v(@encData)=%%   The result of this function is      AT1r0irnzM+Ax1j8zN+zAw==   Then I tried to decrypt the value using an , but I always received an error message.  I suppose there is a difference between AES algorithm in Marketing Cloud and AES used in the online tool. Indeed if I encrypt the same word with an online tool (128-bit), I received this result      l4Yo3sFofFD1EMmtoh397w==   Do you have any deep information regarding this function? What could be the difference?


how to put Verbatim inside minipage that has fbox around it? "Paragraph ended before \FV@BeginScanning was complete. }"

I am surprised that I get an error when I add Verbatim to content of minipage that had \fbox around it. Removing the \fbox removes the error. But I need to put frame around the minipage. I can't use framed package, since tex4ht does not work with it () that is present in texlive 2014.  MWE  \documentclass[]{article} \usepackage{fancybox,fancyvrb}     \begin{document} \fbox{ \begin{minipage}[t]{\textwidth} \begin{enumerate} \item one       \begin{Verbatim}     this is verbatim   \end{Verbatim}     \item two \end{enumerate} \end{minipage} } \end{document}   error  >lualatex foo.tex This is LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971)   restricted \write18 enabled. (./foo.tex LaTeX2e <2014/05/01> Babel <3.9l> and hyphenation patterns for 79 languages loaded. (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls Document Class: article 2014/09/29 v1.4h Standard LaTeX document class (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2014/texmf-dist/tex/latex/fancybox/fancybox.sty Style option: `fancybox' v1.4 <2010/05/15> (tvz) ) (/usr/local/texlive/2014/texmf-dist/tex/latex/fancyvrb/fancyvrb.sty Style option: `fancyvrb' v2.7a, with DG/SPQR fixes, and firstline=lastline fix  <2008/02/07> (tvz) (/usr/local/texlive/2014/texmf-dist/tex/latex/graphics/keyval.sty)) (./foo.aux) Runaway argument? this is verbatim \end {Verbatim}  ! Paragraph ended before \FV@BeginScanning was complete. <to be read again>  \par  l.18 }  ?    When removing the \fbox, it works:  \documentclass[]{article} \usepackage{fancybox,fancyvrb} \begin{document} \begin{minipage}[t]{\textwidth} \begin{enumerate} \item one \begin{Verbatim}  this is verbatim \end{Verbatim} \item two \end{enumerate} \end{minipage} \end{document}   Using framed works in pdf, but not in tex4ht, so I can't use it.   \documentclass[]{article} \usepackage{fancybox,fancyvrb} \usepackage{framed}  %can't use this in tex4ht \begin{document} \begin{framed} \begin{minipage}[t]{\textwidth} \begin{enumerate} \item one \begin{Verbatim}  this is verbatim \end{Verbatim} \item two \end{enumerate} \end{minipage} \end{framed} \end{document}  htlatex foo.tex (/usr/local/texlive/2014/texmf-dist/tex/generic/tex4ht/html4.4ht) (/usr/local/texlive/2014/texmf-dist/tex/generic/tex4ht/html4-math.4ht)) (./foo.aux) ! You can't use `\prevdepth' in horizontal mode. \nointerlineskip ->\prevdepth                                -\@m \p@  l.19 \end{framed}  ?    So I am stuck now. I need a way to put frame around some text, that contains Verbatim, that is all, but have it work with both pdf and tex4ht. That is why I am using \fbox and minipage  Is there a way to make \fbox work with the minipage having Verbatim in it?  Why adding fbox gives an error with Verbatim in minipage? So many strange interactions between Latex packages.  texlive 2014 and Miktex 9


How to convince and/or ask researchers to share data?

I'm currently working on gathering data for my MSc thesis. The problem is, for my type of research, there is VERY limited data that is freely available. Specifically, I'm looking to acquire baseline population data for wild animal populations.  I've contacted a few organizations and NGOs asking if they have any data available and if they would be open to sharing it for a specific species.  One person seemed reluctant to share their data and wanted more information on my project - how can I convince them to share their data with me? There is hardly any other resources that have this type of information so it would really help me.    Another sent me a number of papers they've written - but what I need from them is discrete locations (GPS coordinates) that they no doubt have as they have figures in their paper. However, for my research I need precise locations and estimating them from a figure is not ideal.  This is my first run at this, so I'm trying to figure out the best way to open up data sharing and collaboration. It's really important to me - but I also know that not all researchers think similarly. Especially when, at this point in my research I'm not 100% sure what I can offer them in return as it hinges on the data I can gather. Do I offer acknowledgement or authorship on my papers? Keep them updated with my progress and try to illustrate how I could help them?


I'm using MinGW with GCC 3.4.5 (mingw-special vista r3).  My C application uses a lot of stack so I was wondering is there any way I can tell programatically how much stack is remaining so I can cleanly handle the situation if I find that I'm about to run out.  If not what other ways would you work around the problem of potentially running out of stack space?  I've no idea what size of stack I'll start with so would need to identify that programatically also.


How to kill all Items except for ones that players drop

So to give you some background on what I'm trying to do, I've set up a safe-zone around world spawn where command blocks are used to kill entities that come within range. However, this generates a lot of mob drops which causes a lot of lag. So basically I would like to kill off all mob drops but not kill the dropped items from a player.  I tried to use something like:  /kill @e[type=item,nbt={Age:1200}] set as a repeat non-conditional always active command block but it did not work to remove any items that had aged to 1 min. I'm not sure what to try next. Suggestions?


Proof of "friendship" in group of 101 people

In a group of 101 people, for every 50 people, there is another person who is friends with all of these 50 people. Prove that there exists a person who is friends with the other 100 people. My first thoughts were pigeonhole, but this didn't allow me to prove the last part. I additionally tried to use some smaller examples, but could not generate any proof from it. Any help greatly appreciated.


Elements of $\mathbb{R}[x]/f$ for polynomial $f$ of degree $n$

I was thinking about cosets of this ring and my intuition is this ring is made of all possible polynomials of degree $n-1$. Is that right? Would I need to assume something more about $f$ or ring itself for it to be true? (Asking for polynomial with real coefficients, but can it be generalized?). I think I was able to prove that any polynomial of degree bigger than degree of $f$ can be written in the form $hf + g$ where deg $g<n$


texworks with texlive setup for the bibiliography

I have a new setup of texworks and texlive on my windows 10 laptop. When I run pdflatex all the inline citation become [?] and no bibiliography is generated. If I run the same tex and bib file in the office computer, it works normally. Hence I know that it is not the issue with tex or bib files. Can anyone please help me what kind of configuration checks/changes i need to do to resolve this issue.  here is the bibliography related message in the log file  Package natbib Warning: Citation `Dirac1953888' on page 2 undefined on input li ne 106.  No file elsarticle-template.bbl.  Package natbib Warning: There were undefined citations.  Package atveryend Info: Empty hook `BeforeClearDocument' on input line 112.  [2]


Mac Mini A1347 - Oct 2012 , 64 Bit question

I have a mac mini a1347  (Oct 2012 ) model. In the spec it says "64-bit enabled". What does 64-bit enabled mean?


Theoretically, if I were to launch something faster than the speed of sound in water (around 5 times that of air), what would happen?


Publish an Article on website, Medium and LinkedIn

I need to get more exposure to my business, Is it safe to post some of my articles on my blog, then publish it on Linkedin and Medium? Would I be penalized for duplucate content? or is is just a myth?


If i install Elementary OS, will it automatically be added to the grub menu?

I currently have Windows 7 and Linux Mint installed.  When my pc starts up, it shows me the Grub menu, it shows an entry for Mint linux and the windows boot menu.  I am wondering, if i was to install Elementary OS, would it be automatically added to grub or do i have to put some command in the terminal?  I also want to ask, when i boot from my Elementary OS cd, and install it, just before it finishes, it shows some kind of error saying some error about cannot install to grub or something, ive tried installing to a separate partition and alongside "Them", but had no luck.  I'm really new to Linux, and want to keep my Mint Linux and Windows 7 because i have files on them


Find all continuous functions $f:\mathbb{R}\longrightarrow \mathbb{R}$ so that $f(x) = f(x^2+{1\over 4})$ is valid for all $x$.     Well, I thought that I solved this one, but then one of my student noticed obvious mistake. Namely I defined the sequence $x_{n+1}= x^2_n +1/4$ and $x_0=a$ where $a$ is arbitrary real number. It is easy to see that it is increasing and it has lover bound. I was trying to arguing that it converge to $1/2$ and since $f(x_{n+1})=f(x_n)$ it has constant value on this sequence and so $f(a)=1/2$ is for all $a$. But this sequence is not convergent for all $a$. Any ideas how to repair this ''prove''.


Could you please tell me if you got some time to read the report?   In this sentence, I have to use got or have got ? what is the difference between these two w.r.t. the meaning of the sentence?


Oracle sql - what does (+) represent here

I understand that (+) can be used to represent an outer join in oracle sql. What does the (+) in this code mean?   where sysdate between start_date(+) and end_date(+)


Enqueue Google Web Fonts Without Messing Up Symbols In URL

Enqueuing Google Web Fonts the usual way, i.e., using the wp_enqueue_style function like so...  function wpse_google_webfonts() {     wp_enqueue_style( 'google-webfonts', 'http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700' ); } add_action( 'wp_enqueue_scripts', 'wpse_google_webfonts' );   ...results in a link tag placed in the header like so:  <link rel='stylesheet' id='google-webfonts-css'  href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed%7COpen+Sans%3A400italic%2C700italic%2C400%2C700&#038;ver=3.5' type='text/css' media='all' />   As you can see, the resultant URL is encoded.  I am pretty sure it poses no problems, but to keep things clean and clear, I would like to go ahead and ask -- Is there a way to enqueue Google Web Fonts (via functions.php and not a plugin) in a way that the URL output is not encoded?  That's like so:  <link rel='stylesheet' id='google-webfonts-css'  href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700?ver=3.5' type='text/css' media='all' />   Reason For Bounty  @webaware's answer is near perfect, especially because it's similar to the method employed in  theme.  The only problem in the output is that it's like this:  <link rel='stylesheet' id='twentytwelve-fonts-css'  href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700&#038;subset=latin,latin-ext' type='text/css' media='all' />   Notice the &#038;? It should be &, otherwise the font-files served only have the latin glyphs (i.e. the subset parameter in the URL is neglected unless you use & and NOT its HTML entity).  Anyone who can help modify @webaware's answer so that the output's looks like this...  <link rel='stylesheet' id='twentytwelve-fonts-css'  href='http://fonts.googleapis.com/css?family=Ubuntu+Condensed|Open+Sans:400italic,700italic,400,700&subset=latin,latin-ext' type='text/css' media='all' />   ...wins the bounty.


Firebase Authentication Crashing for version 11.8.0

Getting following error from firebase authentication using     com.google.firebase:firebase-auth:11.8.0 for firebase authentication library. error caused after updating from 10.2.4  Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'com.google.android.gms.tasks.e com.google.android.gms.common.api.c.a(com.google.android.gms.common.api.internal.bz)' on a null object reference        at com.google.android.gms.internal.zzdvv.zza(Unknown Source)        at com.google.android.gms.internal.zzdwc.zza(Unknown Source)        at com.google.firebase.auth.FirebaseAuth.getCurrentUser(Unknown Source)        at com.google.firebase.auth.FirebaseAuth.getCurrentUser(Unknown Source)        at com.google.firebase.auth.internal.zzl.run(Unknown Source)        at android.os.Handler.handleCallback(Handler.java:739)        at android.os.Handler.dispatchMessage(Handler.java:95)        at android.os.Looper.loop(Looper.java:148)        at android.os.HandlerThread.run(HandlerThread.java:61)


Please help find way back to house on Minecraft on iOS

My daughter has spent a long time making a big house in creative mode of Minecraft in iOS on her iPad and now someone else has played in that world and she can't navigate back to his house. Can anyone help?   She did go into survival mode and killed herself and re spawned but it didn’t take her back to her house. She had already made a new bed where she was. She has destroyed that bed and tried again but it keeps taking her back to that spot and not her house.   I seen a similar thread and followed the instructions of downloading iexplorer and I located the level.dat file. I then tried to download the MCEdit but it won’t run properly. I have windows 10 so that could be issue.   I’m not sure how to get MCEdit to run properly and then how to open the level.dat file to then try and find the house to get co-ordinates.   Any help would be greatly appreciated as she is very upset and wants to find her house again.   My son has teleported into her world but wasn’t beside her. She went to him in her world but was so far away couldn’t find her house again. She does have the big light beacons at her house but can’t see them.   She also had a map of the house and seen a video that showed how to make map bigger and show location or where you are to where your house is but her house was not on the map.   She also does not have another world it is only this one world so her house is somewhere in it.   Please help!!!!


i am having a weird problem with opengl in visualstudio where every opengl function points to NULL if i build the program in release mode.  i have tried glew and gl3w none of them work  glew/gl3w is initialized after the context is created and in debug mode it runs fine  the project settings are default i only included the include folders and the respective lib folders  did anybody have a similiar issue?  #include<SDL.h> #include<GL\glew.h> #include<assert.h>  int main(int argc, char* args[]) {     SDL_Init(SDL_INIT_VIDEO);      SDL_Window *window;     SDL_GLContext context;      SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);     SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);     SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);     SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);     SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);      window = SDL_CreateWindow("Test", SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 1280, 720, SDL_WINDOW_OPENGL | SDL_WINDOW_SHOWN);     context = SDL_GL_CreateContext(window);     SDL_GL_MakeCurrent(window, context);     glewExperimental = GL_TRUE;     assert(!glewInit());      GLuint id;     glGenVertexArrays(1, &id);      SDL_Quit();     return 0; }


I happened to find a chart showing a rank of countries based on their frequent use of VPNs.  Someone wrote "to think my country is at the first place." (and this was the only sentence he wrote)  What does this really mean? (It seems that the "commenter" was surprised by the fact) Is this a common expression in English?  I have tried Googling this, and found nothing. I will be grateful for any help you can provide.


biblatex custom style no numbering in bibliography

se community,  i would like to write my masters thesis in tex using miktex + texstudio. i wrote my bachelors thesis using bibtex and now switched to biblatex + biber. i was searching for a citation style for biblatex that is as close as possible to iso 690. this is the closest match i could find:   Unfortunately, there is no numbering in the bibliography.   Here is my MWE:  \documentclass{article}  \usepackage     [         backend=biber,         citestyle=numeric,         bibstyle=DIN %       style=numeric     ]     {biblatex}  \addbibresource{LiteraturMWE.bib}   \begin{document}      zitat buch \cite{book} \\      \printbibliography     \nocite{*}  \end{document}   And my .bib file  @article{article,     author  = {Autor Artikel},      title   = {Name des Artikels},     journal = {Zeitschrift Name},     year    = 1993,      number  = 2,     pages   = {201-213},     month   = 7,     note    = {Notiz},      volume  = 4 }  @book{book,     author    = {Autor Buch},      title     = {Buch Titel},     publisher = {Herausgeber Name},     year      = 1993,      volume    = 4,     series    = 10,     address   = {Adresse},     edition   = 3,     month     = 7,     note      = {Notiz},     isbn      = {3257227892} }   If possible, i would like to have numbers like style=numeric. Is there a way to implement this at some point in the DIN.bbx? Is this even the right place for making this change?  Thanks in advance, Sklibbi


Were Frodo and Sam friends before Gandalf task Sam to look after Frodo?

By the end of there journey it's obvious that they care about each other and are very close friends, but how close were they before they set off for Rivendell and to destroy the Ring of Power?


How to prove that this sequence converges? $\sum_{n=1}^{\infty} \frac{1}{n\ln^2(n)}$

I'm trying to prove this sequence converges:  $\sum_{n=1}^{\infty}  \frac{1}{n\ln^2(n)}$  I noticed that this is continuous function which its derivative is always less than $0$ for $ x \gt 1 $, so I tried to do the integral test but with no success...   Some help?  Thanks!


Prove or disprove  that the ring $\mathbb{Z}[x]/(x^2-1)$ is an   integral domain.   It is easy to see that $\mathbb{Z}[x]/(f)=\{P+(f): \deg(P)<\deg(f)\}$. If $\deg(P) \geq \deg(f)$, there exists $q,r \in \mathbb{Z}[x]$ such that $P=qf+r$ with $r=0$ or $\deg(r)< \deg(f) \implies P+(f)=qf+r+(f)=r+(f)$. So $\mathbb{Z}[x]/(f) = \{0,1, x, (x-1), (x+1)\}$. But $(x-1)(x+1)= x^2-1 \equiv 0 \mod (x^2-1)$.  Conclusion : Our ring is not an integral domain.  Question : Am I right? Otherwise, is anyone could help me on the ambiguity of this problem?


How do I install Ubuntu 18 without the GUI?

I would like to install Ubuntu without the GUI so that it's all command/text based?


Is there any way to create a guest user account (without password) in ubuntu 18.04?


What do we actually mean by parallel rays when talking about reflection from a concave mirror?

If we place a point object at the focus of a concave mirror, we say that the reflected rays would be parallel and would meet at infinity to form an image.   What does this mean?  I tried to trace the reflected rays using the rules of image formation using a concave mirror and I got two rays almost parallel (negligible convergence). This could have been (and probably was) a construction error since achieving precision by hand is quite a difficult task to perform.  So, when we say that the reflected rays are parallel, do we mean that they are almost parallel and would meet at a lot of distance from the mirror? Is that also why we say that they will meet at infinity?  Thanks!


How to show this property of $\mathbb{RP}^{n}$.

To prove that: The $n$-dimensional projective space can be presented as:  $\mathbb{RP}^n=\bigcup_{i=0}^{n} A^{i}$.  (The intersection of each two $A^{i}$ is empty)، $A^{i}$ is isomorphic to $\mathbb R^{i}$ ($A^{0}$ includes only one point). The definition of $\mathbb{RP}^n$ is: $\mathbb{RP}^n= (\mathbb R^{n+1} \setminus \{0\})/ \sim$ , $\sim$ is defined as: $x \sim \lambda x$for all $\lambda\in \mathbb R^\times$ and $x\in \mathbb R^{n+1} \setminus \{0\}$. $\mathbb R^\times $ is the productive group of scalars $\ne0$ in the field $\mathbb R$. I'm just a beginner in this field so any help would be appreciated.


Do the topologies with the same convergent sequences coincide?

Do the same sequential convergence in two topologies the result are the same topologies? Let $X$ be topological  space with topologies $\tau$, $\tau'$. Let $(x_{n})\in X$ and $x\in X$ and $(x_{n})\rightarrow x$ with $\tau$ if and only if $(x_{n})\rightarrow x$ with $\tau'$. Do the two topologies on $X$ coincide?


I stumbled upon  and have problems properly escaping variables containing special tex symbols (e.g. LANG=en_US.UTF-8)  My closest attempt can be found below but it still replaces the underscore with a weird dot:    \documentclass{article} \usepackage{xparse}  \ExplSyntaxOn  \NewDocumentCommand{\getenv}{om} {   \sys_get_shell:nnN{ kpsewhich ~ --var-value ~ #2 }{}#1 }   \begin{document}  \getenv[\LANG]{LANG}  \tl_to_str:N\LANG  \end{document}   Furthermore this also does not correctly handle other special symbols like @


So I accidently removed iBooks from my installation. Is it possible to reinstall that app again without reinstalling Mavericks?  If so, how?


New Question: Proving Divergence of a Sequence

After I negated the definition of a convergent sequence, I ended up with the following mathematical statement:   $$\exists\ \epsilon > 0,\ \forall\ N \in \mathbb R\ \exists\ \mathbb N \ni n > N : |x_n - l| \ge \epsilon$$  Is this correct? I'd like clarification.  Anyway, I'm now asked to use my negation of the definition of convergence to prove that $(a_n)=((-1)^nn)$ is divergent. Can someone show me how?


Is likert type scale interval or ordinal?

In educational research, some researchers say likert type scale is interval scale and some others say it is ordinal scale. which one is correct?


What's wrong with my /summon command? [1.12]

I'm trying to use this command:  /summon Item ~ ~2 ~ {Item:{id:388,Count:1,tag:{}}}   But the command block returns with "Unable to summon object". What am I doing wrong? I'm using Minecraft version 1.12.


Is there any way to automatically restart the AutoIncrement () function based on the Field Value on ArcMap?   I am developing a model in  ModelBuilder to name parcels automatically. The polygons are already sorted on the order they should be. I need to execute the AutoIncrement function on each of the Field Values separately. To simplify the problem, the result I need is shown below. I already have the !Name! field and based on that, the !Count! field result must be acquired automatically.


Is it possible to use lightning:recordEditForm dynamically on different object types with variable objectApiName?

I need to create an edit component for an SObject from which I do not know the objectApiName at design time. I only know the Id of the SObject. objectApiName could be any valid SObject-name.  Now I want to use lightning:inputField   This needs to be wrapped by lightning:recordEditForm  In case I hardcode it to "Order", provide a vaild Order Id and let the controller load the order and assign it to the Parent-attribute, this works flawlessly:  <aura:attribute name="recordId" type="String" default="" /> <aura:attribute name="Parent" type="SObject" default="{}" /> <aura:attribute name="ParentType" type="String" default="" /> {!v.ParentType}({!v.recordId})
 <lightning:recordEditForm recordId="{!v.recordId}"  objectApiName="Order">     <lightning:messages />     <lightning:inputField fieldName="Name" />     <lightning:button class="slds-m-top_small" variant="brand" type="submit" name="update" label="Update" /> </lightning:recordEditForm>   It looks like below and even the Update-button works as expected and saves the record:    But what I really want is  <lightning:recordEditForm recordId="{!v.recordId}"  objectApiName="{!v.ParentType}">   Note the {!v.ParentType} instead of the hardcoded "Order"  As an great unfortunate, this only collapses to that error-popup    In the screenshot you see, that the ParentType is correctly bound to v.ParentType (right above the button) which a I also verify in the console  Suspicion  I set the ParentType-attribute as a result of APEX call (asynchronously). This seems to be too late for the lightning:recordEditForm. It tries to render with objectApiName at a time where it is still blank, hence it crashes during initialization...  Question  Is there a clean way to avoid this and get something to fly with an dynamic objectApiName?  Trying to use $A.createComponents()  As @sfdcfox suggested I jump on the $A.createComponents() which turned indeed out to be tricky, exactly as sfdcfox has predicted. Im following this .  Added a button to the markup    Added a handler to the js-controller:  makeEdit : function(cmp, evt, hlp) {      console.log('ParentId :: ', cmp.get("v.ParentId") );      console.log('ParentType :: ', cmp.get("v.ParentType") );      $A.createComponents([             ["lightning:recordEditForm",{                 "recordId"          : cmp.get("v.ParentId"),                 "objectApiName"     : cmp.get("v.ParentType"),             }],             ["lightning:inputField",{                 "fieldName" : "Name"             }]         ]         ,function(components, status, errorMessage){             if (status === "SUCCESS") {                 var wrapper         = components[0];                 var inner           = components[1];                 wrapper.set("v.body", inner);             }             else if (status === "INCOMPLETE") {                 console.log("No response from server or client is offline.")                 // Show offline error             }             else if (status === "ERROR") {                 console.log("Error: " + errorMessage);                 // Show error message             }         }     ); },   Now I can press the button - but nothing - I repeat: n o t h i n g - gets rendered at all. What is my fault here? Note that the console.log get output and the attribute are holding good values.


I'm writing my training report. I created different chapters in multipath. Now I want to join every chapter in one file.  I use this command  \include{C:/Users/ETTIEN/Google Drive/Rapport de stage/chapitre 1/Chapitre1.tex}   but it doesn't work. Maybe because of the space in the directory? Or is there any package needed?


I recently had my computer infected by a virus on an administrator account that installed a bunch of scamming programs and changed my shortcuts to open on a scam browser page called snap.do. I was wondering if this virus would have affected other users shortcuts and infected their files.  edit: I am on Windows 10. It came about as a result of me installing a file without checking the list of optional additional programs it would install with it. After noticing the changes to my browser and random popups, I checked my installed programs and found a list of 7 or so programs that had been installed without me being aware. They all had sketchy names, something like PCCleaner and GetGreatDeals.


Sites concept conflicts with the functionality

What should we do when the website concept conflicts with the functionality?  Recently am participating actively on  and as the website is new and in beta, the questions are less, traffic is less, inorder to contribute helpful questions, I tend to use "Answer your own Question" functionality to provide decent recommendations if am using those software on my personal computer, or on my cell phone.  But this conflicts with the website concept. I got a comment on my answer which says        And I've no way to prove that am not, so what to do in these conditions? I already raised a question on respective meta, but I wanted to know what should we do when the SE functionality conflicts with the website concept?   Should users stop answering their own question? If yes than should we revoke the functionality for a particular website? If no than what should I do so that users don't think that am affiliated with the developers?   I have a decent reputation on Stackoverflow and I know what does the community expect. Whenever I contribute some screenshot, or some piece of explanation, I tend to write a Credit note below each answer, so am not that cheap to confess that yes, the developer paid me to post an answer but that's not the case here.  This will lead to grudges amongst users.


Windows event id for battery level change

I need to create a task in TS based on battery level change. Let's say my battery drops from 67% to 66%. How can I run a task based on this event. Does Windows log this at all? I couldn't find this information anywhere.


gives this definition of sigma-algebra     Let X be some set, and let ${\mathcal {P}}(X)$ represent its power set. Then a subset ${\displaystyle \Sigma \subseteq {\mathcal {P}}(X)}$ is called a σ-algebra if it satisfies the following three properties:         X is in Σ, and X is considered to be the universal set in the following context.   Σ is closed under complementation: If A is in Σ, then so is its complement, X \ A.   Σ is closed under countable unions: If $A_1, A_2, A_3, ...$ are in Σ, then so is $A = A_1 ∪ A_2 ∪ A_3 ∪ …$ .         since {X, ∅} satisfies condition (3), it follows that {X, ∅} is the smallest possible σ-algebra on X. The largest possible σ-algebra on X is $2^X:= {\mathcal {P}}(X)$   $2^X$ does not seem to be 2 to the Xth power here, so, What does $2^X$ mean in $2^X:= {\mathcal {P}}(X)$?


Steps to construct the Field of fractions of Gaussian Integers $\mathbb{Z}[i]$

i don't know how to construct such field $\mathbb{Q[i]} $ from $\mathbb{Z[i]}$. I know the following: $(a+bi,c+di)\sim (m+ni,r+si)$ iff $(a+bi)(r+si)=(c+di)(m+ni)$ is the equivalence relation and if $\frac ab+\frac cdi\in\Bbb Q(i)$, then: $$\frac ab+\frac cdi = \frac {ad+bci}{bd},$$ where both numerator and denominator are Gaussian Integers.  On the other hand, I know that i need to use the universality of field of fractions, but I'm not clear how to construct such field.


How can I delete duplicate LiDAR points? I incorrectly read the same las twice and saved as a one file resulting in duplicate XY points.  How should I delete these duplicate points?


Problem  Solve $y' = \frac 1{3x+\sin(3y)}$  Progress  Sadly none. Any help/tips/solutions would be greatly appreciated!


Unable to generate jasper report in Weblogic Server but works perfectly in Glassfish Server

Im using JSF and I am trying to generate PDF report using Jasper Report, I was able to generate it in Glassfish Server but not in Weblogic Server. Below is the error thrown in Weblogic:   java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser   I tried to follow the suggestion of this link  but nothing seems to work.  I really needed this to deploy in Weblogic Server, any idea on whats going on?  Error Details:  Caused By: java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.util.JRStyledTextParser     at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:116)     at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:79)     at net.sf.jasperreports.engine.fill.JRFiller.createBandReportFiller(JRFiller.java:251)     at net.sf.jasperreports.engine.fill.JRFiller.createReportFiller(JRFiller.java:272)     at net.sf.jasperreports.engine.fill.JRFiller.fill(JRFiller.java:156)     Truncated. see log file for complete stacktrace   Code Details:  JasperPrint jasperPrint=JasperFillManager.fillReport("C:\\SampleReports\\report.jasper", new HashMap(),new JREmptyDataSource()); FacesContext context = FacesContext.getCurrentInstance();  HttpServletResponse response=(HttpServletResponse)context.getExternalContext().getResponse(); response.reset(); response.addHeader("Content-disposition", "inline; filename=report.pdf"); response.addHeader("Content-type", "application/pdf");  ServletOutputStream servletOutputStream=response.getOutputStream(); JasperExportManager.exportReportToPdfStream(jasperPrint, servletOutputStream); context.responseComplete();   OS: Windows 10


What is a more general word for 'airport' and 'train station'?

I am designing an application, and I am looking to group these two entities (airports and train stations) into one category. The primary meaning of station seems to be for trains, and air station seems to refer to military airfields.  Is there a word that can be used in place of both an airport and a train station?


So I am seeing a very weird issue. I am getting a MIXED_DML error in one of my test methods. In the @testSetup annotated method, I am indeed perform a mixed dml transaction (shame on me). However, what I am noticing, if I do a deploy to my Sandbox or Production with this same code base, I do not see the error in the actual deployment process.  Any ideas or is this a bug?


I noticed the following in the sql server log, is there any way to determine the login/user that initiated this change. It appears a database was set to single user mode and back to multi user. Here is the log snippet  Date       10/10/2017 8:55:27 PM Log         SQL Server (Current - 10/11/2017 8:00:00 AM) Source      spid139 Message     Setting database option MULTI_USER to ON for database 'DBNAME'


How to get an elderly person to provide saliva sample for DNA?

I have an Ancestry autosomal DNA kit that we are trying to get a 95 year old woman to take and having trouble.  I provided the  to my cousin that is trying to administer the test:     If providing adequate sample volume is a challenge for you or someone you are assisting, the following may help increase saliva production:         Gently rubbing the outside of your cheeks   Making chewing motions with your mouth   Adding a small amount of sugar to the tip of your tongue   Smelling or imagining sour foods such as lemons   Thinking about your own favorite food         Biting or scraping your cheeks is not recommended; keep in mind that the majority of the cells analyzed in your saliva sample will not be epithelial cells from your cheeks but white blood cells that are found naturally in your saliva.   However, they have now reported back:     I worked with my mom using your list of suggestions. I think she may have produced some saliva, but she wasn't able to spit it out. She seems to automatically swallow the saliva and has nothing to spit out. I am not sure what to do. I talked with her but she doesn't seem to understand. If you have any ideas I am willing to try again if she is.   Now we could switch to cheek swab using Family Tree DNA, but I would prefer to stick with Ancestry since I get DNA circles and can transfer to FTDNA in the future.  Perhaps getting her to look down so gravity is helping as someone rubs the checks?  What other suggestions do folks have in getting saliva for an Ancestry.com DNA sample?


Ruby: How to post a file via HTTP as multipart/form-data?

I want to do an HTTP POST that looks like an HMTL form posted from a browser. Specifically, post some text fields and a file field.  Posting text fields is straightforward, there's an example right there in the net/http rdocs, but I can't figure out how to post a file along with it.  Net::HTTP doesn't look like the best idea.  is looking good.


How do I change my pacman root so that it downloads packages elsewhere?

My /root is full to the brim and I can't install new packages. My /home has 8 times the space of my /root, but pacman is set to install new packages on /root. Is there a safe way that I can change where pacman permanently installs new packages?


I have the dictionary  d = {'a':3, 'b':7, 'c':8}   I was wondering how could i reverse the order of the dictionary in order to make it look like this:  d = {3:'a', 7:'b', 8:'c'}   I would like to do this without just writing it like this. Is there a way i can use the first dict in order to obtain the new result?


In how many ways can the elements be divided into 2 groups given A set "a" having 6 elements?

A set "a" has 6 elements.In how many ways can the elements be divided into 2 groups?  Options given: 1) $62$  2) $31$  3) $52$  4) $32$  My Approach:  I divided the items into 2 unequal groups of 4 and 2,5 and 1,6 and 0,3 and 3.  I get  $6!$/$2!$ . $4$!=$15$  $6!$/$3!$ . $3$!=$20$  $6!$/$1!$ . $5$!=$6$  $6!$/$0!$ . $6$!=$1$  total=$42$     Can anyone can give me hint how to solve this problem?


So the other day I was making a window frame and baking to a plane..Got my results.. Then, Made several out of planes..baked, worked fine..  Now.. I am making a building model and tried the same thing...Horrible results.  Can anyone look at this and give me some ideas? Thanks.  Both models are in same exact location..I have tried different shaders.. I'm trying to keep tri and vert count low as possible as it's a mobile game.  First image shows the window frame..second the ugly normal being baked..then low pol and high pol meshes.  I'm relatively new and this is my learning model so I want to perfect everything possible on this model before I move on to the next.


We see from The Force Awakens that Supreme Leader Snoke has a significantly disfigured face.    In The Last Jedi...      ...Snoke dies.   My question:      Now I thought that we'd possibly get some new backstory on Snoke in The Last Jedi, especially on the topic of Snoke's face. It seems clear that something must have happened to Snoke's face to account for the scaring and facial disfigurement. Yet I don't remember hearing anything in the film that explained Snoke's appearance. Did I miss something, or has what happened to Snoke been officially revealed somewhere else? Was he attacked at some point? Or is that just the way he's always been?


I am learning computer networks and looking for a way to simulate traceroute using the ping command. I think it has something to do with ttl, but I don't know how to develop that further.


I want to get an understanding of what precisely a model means in a predicate logic, in terms of environments, lookup tables, predicate and function sets, universe, etc.  Also, what are we supposed to write in an answer, when we are asked to find a model that satisfies a formula.(The second part of my question makes it different from this one:  and also I wanted to confirm the meaning of model in predicate logic and if it's different from the one in propositional logic)  My interpretation of model is that they consist of a set of values for a given environment/lookup table that consists of matching to the values corresponding to the values that predicates and functions would give to the elements of the Universe of the model that are valid for the functions/predicates themselves or what we say are the interpretations of the functions/models in the model.  Please excuse if my question is not very appropriate or my interpretation is way too wrong.


What do we know about the creature whose skeleton we see in Star Wars?

In Star Wars:  Episode IV - A New Hope, C-3PO passes by what looks like a dinosaur skeleton:      What is this creature?  Are they extinct?  How did such a large animal manage to survive in a barren desert?


How to set spacing[tab] in bash correctly automatically?

I have a loop that checks if rpm is installed or not and displays output in tabular format, but for the rpm package with long names, the tabular format will not show as expected. Code: for package in ssh yum firewalld policycoreutils-python do         rpm -qa | grep ^$package; exit_stat="$?"         if [[ ${exit_stat} -eq 0 ]]         then                 pkg_output="${pkg_output}\n ${package} \t \t \t | \t INSTALLED"         else                 pkg_output="${pkg_output}\n ${package} \t \t \t | \t NOT INSTALLED"         fi done echo -e $pkg_output  The output will come like:  yum             |   INSTALLED  ssh             |   NOT INSTALLED  firewalld           |   INSTALLED  policycoreutils-python              |   INSTALLED  What I am expecting is:  yum                         |   INSTALLED  ssh                         |   NOT INSTALLED  firewalld                   |   INSTALLED  policycoreutils-python      |   INSTALLED  Is there any way to show the terminal output in the expected format?


When should i use final variable instead of local variable inside a method

Maybe my question will be so much silly for 2016 because there exist many similar questions but it is very hard to me to understand when should i use final variable inside a method instead of local variable. Which  one will be more efficiency and when should i use it.    public void setmethod(int var)  {        final int variable = var;        System.out.println(variable);  }      public void setmethod(int var)  {        int variable = var;        System.out.println(variable);  }   I know that The result in the Output will be the same and also that Final fields - is making that same fields reference immutable but which one option is more efficiency under certain circumstances and Why?? I am a bit confused


My disk I/O utilization is at 95% at my MySQL server. What are steps I could take to fix this? It is a Ubuntu VP with 16 GB Memory and 8 cores.   Here is a screen-shot of the load:


I'm using amsart. When I create an enumeration inside a remark environment, the numbering is not aligned properly:  Remark. (1) (2) (3) (4)   How do I shift the (1) nextline?  Remark.  (1)  (2)  (3)  (4)  MWE:  \documentclass{amsart} \newtheorem{remark}[theorem]{Remark}  \begin{document} \begin{remark} \begin{enumerate} \item Item 1 \item Item 2 \item Item 3 \item Item 4 \end{enumerate} \end{remark} \end{document}


I think the following problem is not difficult, but I cannot solve it.  Prove the following fact.     Let $A, B$ be square matrices.   If $A B = A + B$, then $A B = B A$.


My flights via Russia,if I stay on airport only,will I need a visa?

I have a schengen visa and I'm an Indian.I need to travel to Nice but the most appropriate flight for me is via Russia.If I stay on the airport only,will I need a visa?Also,will I need a visa if a flight is via Switzerland?What is the limits of hours I can stay on the airport of Switzerland and Russia if my flights via them?Please answer asap.thanks.


I am trying to work my way through the proof of the change of variables theorem for Lebesgue integrals. A key lemma in this context is as follows:  If $T:\mathbb{R}^n \rightarrow \mathbb{R}^n$ is a linear map and $A \subset \mathbb{R}^n$ is Lebesgue measurable then $\lambda(T(A)) = |\det T \  | \cdot \lambda (A)$, where $\lambda(X)$ denotes the Lebesgue measure of $X$.  Can anyone provide a reference for a proof of this lemma that clearly references the facts from linear algebra that are necessary to effect the proof? The source I have for this lemma refers to German texts that I am incapable of reading and I have been unsuccessful at finding an alternate proof.  Added For the Benefit of Future Readers: In addition to the excellent references I received in response to this question, I have managed to find an additional reference that also provides a good proof of this fact: Aliprantis and Burkinshaw's Principles of Real Analysis, Third Edition, Lemma 40.4 pp 389-390.


Comment on a question without 50 reputation points

Yesterday I wanted to comment on a question on Stack Overflow, but I don't have 50 reputation points. The question is that I referred in my answer to another Stack Overflow question, and my response had showed as a comment.  It is correct?? I don't know if this is a bug.  This is the question:   And now my rep is 47.


If there are injective homomorphisms between two groups in both directions, are they isomorphic?

If I have two groups, $G$ and $H$ and two injective homomorphisms $\phi:G \to H$ and $\psi: H \to G$, then by the first isomorphism theorem applied to $\phi$, we have that $G \cong \mathrm{Im} (\phi)$, a subgroup of $H$. Similarly, $H$ is isomorphic to a subgroup of $G$. For finite groups, this guarantees that $G \cong H$ but does this hold for infinite groups?  Weird things can happen for infinite groups, e.g $n\mathbb Z \subsetneq \mathbb Z$ but $n \mathbb Z \cong \mathbb Z$. I'm wondering if this kind of thing stops an isomorphism from occurring.  I think this question generalises to rings, modules, fields and so on. Can this be answered for all of these structures?


Calculate variance and standard deviation for Log Normal Distribution

I am trying to calculate the variance and standard deviation for a log normal distribution.  I was able to calculate the mean after reading this stack exchange article .  Now I want to calculate the variance and standard deviation.  I am unclear what formulas I can use.  I will calculate this in R.


Difference between shifted distribution and zero-truncated distribution

How would one derive the density or pmf of a distribution that is shifted to the right ?  For example, a Poisson distribution that is truncated at zero , is shifted to the right . And it only takes values from $x = 1$, to $x = \infty$.  How can I derive its probability mass function ? Do I derive this from the poisson distribution ? I would like to see how it is done mathematically.


How to join two points with only a small ruler.

Given two points $A $ and $B $ in the  plane .  is it possible to draw the segment $[A,B] $ with only a ruler whose length is much smaller the the distance $\| \vec {AB }\|.$  I know the answer is yes and it uses the harmonic conjugate notion, but after many attempts, i still don't see how it is possible.  Thanks a lot for any help.


Based on the understanding that Newtons third law states for every action there is an equal and opposite reaction, when a car moves forward under driving force, air resistance and friction act equally in the opposite direction, leading to the car moving at a constant speed with no resultant force.  If this is the case, how is it possible for a car to accelerate?  Presumably the only way for a car to accelerate would be for the force acting in the forwards direction to be greater than the forces acting opposite to it. How would this be possible if the forces acting in the opposite direction must also be equal?   Is it true that air resistance etc takes time to become equal to the force driving the car forward, so by constantly increasing the force in the forwards direction the opposite force is unable to equal it simultaneously?  I am not sure this explanation is correct, so I would appreciate some help on the matter!   *To clarify, I can understand movement if you separate it from acceleration, in that the force from the ground is equal and opposite to the tyres, causing the car to move forward, the problem arose with the presumption that air resistance must equal the force the earth is exerting on the car, and not the force the car is exerting on the air. The question flagged as a duplicate had a similar problem but I believe with a significantly different example and slightly different line of questioning.


Mystery OS X Install program keeps running

I am regularly getting an error message from a program that purports to be an OS X Install program.  I have no idea how this is starting, or where it is from, but it appears after reboots too, and I don't like it.  I'm running the El Capitan 10.11 Beta (15A278b), so there is a possibility it's connected to that.  After trying to update some other apps from the MAS, I get an error message which indicates it's a Yosemite Beta Installer.  Anyone know where this can come from, and how I can stop it?


How do I list all columns for a specified table that begin with a specific string

How to select all the columns whose names begins with "img" from a PostgreSQL table?  I wrote that, but doesn't work  select 'img%' from mytable


I'm working on a Spring Boot project using Spring Data JPA + Hibernate for data access, but I'm having a strange problem.  In my Entity class I specified these columns:  @Entity @Table(name = "Subjects") public class Subject {      @Id     @GeneratedValue(strategy = GenerationType.IDENTITY)     private Integer id;     private String name;     @Column(name="InsertionDate")     private Date insertDate;      // get + set... }   When I try to execute repo.findAll() I get this exception:   com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'insertion_date'.  What's wrong in my configuration? Why is Hibernate searching for 'insertion_date' instead of 'InsertionDate'? How can I configure the right column name?


Mobile site footer anchor to "full site" does not have cursor as pointer

From the main site Stack Overflow, there is a link in the footer to 'mobile', which, when clicked, displays the page as a mobile page. The resulting mobile page footer has a link back to 'full site'. All the other links in the footer show the cursor as 'pointer' when hovered except this link.  Am I correct in assuming that this is due to the footer anchor html missing a href?  full site   which should (apparently) be:  full site   Also, (to be picky) would I be correct in saying that there are unnecessary spaces in the onclick="" script?  This is seen using Chrome v63.0.3239.84 on windows OS.


How to generate dynamic legend using ArcPy?

I used this   to produce printing service. As the result I get map with too many elements in the legend. Is it possible ti show classes that are visible in the current map extent using python script?


How do I read and parse an XML file in C#?


Why did 13.10 break my custom keyboard layout?

I was using a custom keyboard layout. Basically I modified the us-mac layout to fit my ideal of a math-heavy version of the regular us layout that also throws German umlauts into mix. It went well and worked marvelously for 6 consecutive versions of Ubuntu. Today's version Upgrade (from 13.04 to 13.10) broke that streak. I now have the usual crappy Macintosh-Layout.  Now xkb just ignores my layout and all of the other changes I make in /usr/share/X11/xkb/symbols/us (tried to switch '0' and '9' everywhere and rebooted - no effect). Why is that?  I suspect I have to do an extra step now for the changes to take effect or something like that. Anyone care to point me in the right direction?


I want to have both KDE and Gnome shells on Ubuntu. Ubuntu only has Gnome installed by default. How do I install KDE?


I built a computer recently and I've tried to use Ubuntu and Linux Mint, both trying to install from a 32gb USB 2.0 flash drive, without success. There is no other operating system on the computer and with each OS I get the same error:  Not enough memory to load specified image. boot: _   I'm new to Linux, so I don't know whether this is related to the OS.  Hardware details:   Ryzen 3 1300x   MSI x370 gaming plus motherboard   8g Kingston hyper fury x black ddr4   nvidia gtx 760   evga 500w b psu   toshiba 500gb ssd     I need to resolve this quickly if possible


Are there $C^1$ groups that aren't smooth?

I haven't thought too hard about this, so it might be easy. Analysis counterexamples aren't my strong suit. One slick way of phrasing the definition of a Lie Group is as a group object in the category of smooth manifolds. In particular, this forces the group multiplication to be smooth. You can also ask for groups in the category of, say, $C^1$ manifolds (or any $C^k$). However we know (by a theorem of Whitney) that any $C^k$ manifold already has smooth structure by restricting the atlas (). Question: Are there groups whose multiplication is $C^1$ but not $C^2$? What about $C^k$ but not $C^{k+1}$? It seems like such objects should exist, but I haven't encountered them, and I can't find any by a quick google. Thanks in advance ^_^


Iterating Over a Dictionary using functions

def big_keys(dicta,x):     for k in dicta:         if x < dicta.get(k,0):             return k  for this function, I want it to input dicta which is a dictionary and x is int. and it should return all the k that have value more than x. however it only return one of the k and not all of them. e.g big_keys({"a":20 ,"b":20 ,"c":10},15) → ["a", "b"] but my out put is ["a"]


The mass of a Lithium $\rm ^6_3Li$ nucleus is $9.998×10^{−27}\ \rm kg$. It consists of $3$ neutrons and $3$ protons. The Lithium nucleus is traveling in the north direction at speed of $3.67\ \rm km/s$.   If the nucleus suddenly enters a $2.0\ \rm T$ magnetic field directed from east to west, in what direction will the Lithium nucleus be accelerating at the instant it enters the magnetic field.  I want to know the name of the used rule and if anyone can suggest a site or video to learn more about this concept.


Prove $\Bbb Z_n$ is a group under modulo addition: the associative part.

Why is $\Bbb Z_n =\{0,1,2,3,4,...,n-1\}$ a group under modulo addition? Only assosiative part is needed. That is, I am stuck proving that for $a,b,c \in \Bbb Z_n$, we have: $$(a + b \pmod{ n} + c) \pmod {n} = a + (b + c \pmod{n}) \pmod n.$$ Or maybe more clearly stated. With $+_n$ denoting "$+ \pmod{n}$": $(a +_n b) +_n c = a +_n ( b +_n c)$. -Thanks


iso file size for 13.04 is larger than cd's available space

The iso file for ubuntu 13.04 is larger than most of the cd's where we burn the file. What do we have to do about this situation?


I'm trying to use xmodmap to remap Alt / Super keys on Dell L100 keyboard, and have trouble getting the keycodes.  For instance, using xev doesn't give me keycode for Alt   FocusOut event, serial 36, synthetic NO, window 0x4a00001,     mode NotifyGrab, detail NotifyAncestor  FocusIn event, serial 36, synthetic NO, window 0x4a00001,     mode NotifyUngrab, detail NotifyAncestor  KeymapNotify event, serial 36, synthetic NO, window 0x0,     keys:  122 0   0   0   0   0   0   0   0   0   0   0   0   0   0   0               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0      For Right Super key, xev and showkey give different keycodes -- 134 and 126 respectively.  What's going on with these keycodes?  I tried getting keycodes from showkey -k, and using xmodmap file below, but that gave a weird map which remapped b key:  clear Mod1 clear Control keycode 125 = Meta_L keycode 126 = Meta_R keycode 58 = Control_L keycode 56 = Control_L keycode 100 = Control_R add Control = Control_L Control_R add Mod1 = Meta_L Meta_R