Did J.K Rowling ever explicitly talk about the allegorical nature of the Potter series?

Despite literary analysts' constant claims, JRR Tolkien insisted that his (LOTR series) books are not commentaries on class warfare, racism, the world wars etc. and that they are purely self-contained mythologies, irrespective of people's analyses and speculation, saying:     As for any inner meaning or "message", it has in the intention of the author none. It is neither allegorical nor topical.... I cordially dislike allegory in all its manifestations, and always have done so since I grew old and wary enough to detect its presence.   I much prefer history, true or feigned, with its varied applicability to the thought and experience of readers. I think that many confused "applicability with "allegory"; but the one resides in the freedom of the reader, and the other in the purposed domination of the author.   — J.R.R Tolkien    J.K Rowling's Potter series certainly contain a large slew of ideas, themes, characters and stories that definitely fit the bill of commentary on society or societal phenomena (the media, political corruption, class warfare, slavery, racism etc.). Some go further than being allegory and almost being surrogates for topical commentary (the same way Star Trek used aliens as surrogate ethnic minorities to talk about race issues, which would have been taboo otherwise, at the time).  My question is whether this has ever been discussed, mentioned or otherwise confirmed by J.K Rowling herself. If yes, the more varied and numerous the sources, the better (i.e. not just one interview).


How can I find non-ASCII characters in MySQL?

I'm working with a MySQL database that has some data imported from . The data contains non- characters (em dashes, etc.) as well as hidden carriage returns or line feeds. Is there a way to find these records using MySQL?


Sending email from asp.net using Gmail SMTP OAUTH

I just want to implement one sample mail sending application. I have done lot of research for this. From all the corners I am getting same kind of solution. But that is not working for me.I am unable to find my mistake. I am using below code   protected void SendEmail(object sender, EventArgs e) {     string to = txtTo.Text;     string from = txtEmail.Text;     string subject = txtSubject.Text;     string body = txtBody.Text;     using (MailMessage mm = new MailMessage(txtEmail.Text, txtTo.Text))     {         mm.Subject = txtSubject.Text;         mm.Body = txtBody.Text;         if (fuAttachment.HasFile)         {             string FileName = Path.GetFileName(fuAttachment.PostedFile.FileName);             mm.Attachments.Add(new Attachment(fuAttachment.PostedFile.InputStream, FileName));         }         mm.IsBodyHtml = false;         SmtpClient smtp = new SmtpClient();         smtp.Host = "smtp.gmail.com";         smtp.EnableSsl = true;         NetworkCredential NetworkCred = new NetworkCredential(txtEmail.Text, txtPassword.Text);         smtp.UseDefaultCredentials = true;         smtp.Credentials = NetworkCred;         smtp.Port = 587;         smtp.Send(mm);         ClientScript.RegisterStartupScript(GetType(), "alert", "alert('Email sent.');", true);     } }   And getting the exception like below    please suggest me how can I solve this issue.  Thanks in advance.


Variable/counter for each object/instance using a template with \tikzset and /.style?

So I have made a 'template'-shape using \tikzset and /.style or \tikzstyle and if I understand it correctly, one can add objects with the same style as the template. Is it possible to modify the \tikzset or \.style or tikzstyle such that each object or instance has its own variable/counter?  For instance, I try to make a block diagram as in . It's easy if each block has 1 input and 1 output. It becomes a little complicated if the blocks have more inputs and outputs. In the latter case with multiple i/o, I have to divide the starting points of outputs and ending points of input equally along the side of a block.   An example of multiple i/o


Let $f: \mathbb{R} \to \mathbb{R}$ be continuous and 1-to-1. Show that for each borel $E$, $f(E)$ is borel.   Since $f$ is continuous it is measurable. So if $M $ is borel, $f^{-1}(M)$ is borel too. However, we are not working with pre-images here. It is clear that $f (f^{-1} M) = M$ due to $f$ being 1-to-1 but I'm sure we can not characterize all borel sets of the domain by $f^{-1}(M)$.  I'm stuck here. Any help will be appreiated


$AA^H$ and $A^HA$ has same eigen values and any else they don't share is zero

If $A$ is any $m\times n$ matrix then $AA^H$ and $A^HA$ are respectively $m\times m$ and $n \times n$ matrix. Then I observed that both the matrix share the same eigenvalue and if anyone has any other eigenvalue, that is $0$. I could not figure out the reason. Thanks in advance for any help.


How do I complete "Supply and Demand" if I cleared Cragslane Cavern before starting the quest?

I understand that disrupting the skooma operation is an essential step to being able to buy a house in Riften. Unfortunately, in the course of wandering through Skyrim, I found  and killed all the bandits inside long before receiving the mission.  When I did receive the mission and returned to the cave, two bandits had respawned, but killing them was evidently insufficient slaughter to progress in the quest.  I don't have any further dialogue options with the Jarl, and can't buy a house or become thane in Riften.  Does anyone know if there is any way around this problem?


Unable to understand why this set is totally disconnected( S. G Krantz pg 30)

While learning Topology from S. G Krantz I have a question in proof of a set contructed with the help of Cantor Set.  Question is in last line of image.  I am unable to understand why K/{p} will be totally disconnected.  Why should K/{p} doesn't any connected component which is not singleton? I see no reason.


How can I remove Amazon search results from the dash or disable the feature?

How can I disable Amazon search results in the Dash?


Migrating kornshell scripts from solaris 10 to RHEL 7.5  /bin/sh is used to execute shell scripts in RHEL 7.5  $ ls -l /bin/sh lrwxrwxrwx. 1 root root 4 Jul 16 12:10 /bin/sh -> bash   So, we would like to first parse the complete code to verify their syntax  but not execute it,   For example:  sleep 20 echo test cd /a/b/c connect # instead of ./connect   should just parse the code but not execute it  What is the approach to just parse the code? to verify syntax without executing it.


Do David's actions towards Elizabeth contradict his claims?

In Alien: Covenant (2017), David showed Elizabeth's grave to Walter, saying he loved her very much. In reality, he experimented on her and killed her. If David loved Elizabeth so much, why did he kill her?


Looking for a name for theory of a "balance of fair probability" (example provided)

I'm looking for a name of topic(s), theories which describe the situation provided below:  Let's say we have a 6-sided fair dice. And after 6000 throws we have the following results:   Digit 1: 1145 times Digit 2: 1089 times Digit 3: 614 times Digit 4: 1132 times Digit 5: 1022 times Digit 6: 998 times   According to the theory of probability the chance of having any digit in the next throw is 1/6 which is fair enough, but when I look at the results of the previous throws I assume that I should expect more throws of digit #3 soon, cause according to the law of large numbers the fair dice results should balance over time. So I'm looking for a way to calculate / measure how the fact may affect the probability of getting digit 3 in the next throw.


How can I mirror broken Samsung S4 GT I9505 unlocked screen onto Laptop or TV?

How can I project broken Samsung S4 GT I9505 unlocked screen onto Laptop or TV?  Fortunately with multiple trials the pattern worked out on BLACK display screen and phone got unlocked and I took Data Backup using Samsung Kies 3.2 version.  But the phone is sensitive to get locked automatically in 10 to 15 seconds. Somehow managed the phone in active without getting locked.  How can I permanently remove lock on BLACK Broken screen by any means of mirroring the phone UI on to TV or Laptop to get UI control and can remove the lock by going into the phone settings?  Please Help!


How to disable "extra packages can be installed" popup in Kubuntu 15.04?

Kubuntu 15.04 shows a notification (and a taskbar icon) on each boot, after the log in, offering me to install extra packages, specifically flash, and I really don't want to install it. I've pressed "cancel" many times, but in the next boot the notification will pop-up again.  What can I do to make the notification stop?


A change of variables in the euler equation

If someone could help me with the proposed change of variables, it would be greatly appreciated. Consider Euler's equation:  $$z^2w'' + \alpha zw' + \beta w = 0$$  where $w$ is a function of $z$ and $\alpha, \beta$ are constants. How would the change of variables $t =\ln(z)$ transform this equation?


What are the specs needed to run Ubuntu 13.04?

I am thinking of putting Ubuntu 13.04 onto some machines.  They are three years old and I can't find anywhere some hardware specs that these machines should meet. Please let me know!  Thanks in advance


Do multiple instances of the Extra Attack feature stack?

The WotC article  creates the "Favored Soul" sorcerous origin, which grants the the sorcerer the Extra Attack feature at level 6. Say I made Favored Soul sorcerer go up to level 6, and then multiclassed into Ranger to get its Extra Attack at level 5. Would the two Extra Attack features stack so that I could get 3 or 4 attacks in a turn?


How to prove the Standard error of fitted value given the standard error of each coefficients

I  know those Equations but I cannot show the standard error of fitted value, please help me out, much appreciated. $$ SE(\hat{\beta_1})=\hat{\sigma}\sqrt{\frac{1}{(n-1)s_x^2}}\\ SE(\hat{\beta_0})=\hat\sigma\sqrt{\frac{1}{n}+\frac{\bar{x}^2}{(n-1)s_x^2}}\\ \hat\sigma=\sqrt{\frac{\sum_i(Y_i-\hat{Y})}{n-2}} $$ How do I show the $SE(\hat{\beta_0}+\hat{\beta_1}x_0)=\hat{\sigma}\sqrt{\frac{1}{n}+\frac{(x_0-\bar{x})^2}{(n-1)s_x^2}}$


Text editor to handle extremely large files

I generated 300mb text file, trying to edit it using sublime 3 on xubuntu 13.10 64 bit, it's so slow and crashing, I'm not a vim/vi user, what is the best editor to work with these kind of files.  I only need to search for and remove duplicated text.


What does it mean when saying that numbers are stored in binary format

I'm new with JS, and i'm learning by video lectures. In one of the video, it was said that: "  numbers are always stored in a binary format"  and this is the reason that is very hard to represent some fraction that are very easy to represent in base 10 system we are used to.. I know some development languages (c,java,etc), Is there a difference between the way that numbers are stored in JS to the way it stored in java for example?


Which early game NPC is the better pack mule?

In general when I play RPGs I tend to be a bit of a kleptomaniac and a bit of a pack rat.  So, of course Fallout 4's crafting system that leaves nothing to waste is enabling this behavior even further.  I have discovered that Dogmeat can carry a bunch of my junk, allowing me to range further and for longer, but is he the best choice?  Can Codsworth or Preston carry more?  I can find no number in the game enumerating their actual carry limit before it gets reached.


What is the best approach to informing users of new features on a web-based product?

I'd like to inform users of new features that are happening in our web portal. This feature is not applicable to all users but may be useful to others; nonetheless we'd like to raise awareness that it's available. The feature is hidden under our navigation so it is not incredibly discoverable so we'd like to surface this when the user arrives to the portal.  We'd like to use a call-out that would be shown at the top right of the screen. We have given the option for the user to dismiss the message using the 'X' but several question:   Multiple administrators with different accounts can access this portal. If admin A dismisses the message, should it still be shown to admin B? My assumption here would be yes as it is exposed to a different user, but is there reason it shouldn't? If the user never dismisses the call-out, how long should such message be shown the user? What expiration should it have? When is a feature no longer considered 'new?' When is it too frequent too launch these messages? We may anticipate having new features show-up weekly in the portal, but this becomes annoying and overwhelming have to dismiss a message like this often. Is it appropriate to limit the message to a monthly cadence yet still have the new feature in the portal prior to the announcement? Is there better approach to tell users about new features rather than a call-out as shown below?          – Wireframes created with


Can I read an Outlook (2003/2007) PST file in C#?

Is it possible to read a .PST file using C#? I would like to do this as a standalone application, not as an Outlook addin (if that is possible).   If have seen     to this mention  but I am looking to do this programmatically in C#.  I have looked at the  namespace but that appears to be just for Outlook addins.  appears to be able to read PST files, but this is in C (sorry Joel, I didn't ).  Any help would be greatly appreciated, thanks!  EDIT:   Thank you all for the responses! I accepted Matthew Ruston's response as the answer because it ultimately led me to the code I was looking for. Here is a simple example of what I got to work (You will need to add a reference to Microsoft.Office.Interop.Outlook):  using System; using System.Collections.Generic; using Microsoft.Office.Interop.Outlook;  namespace PSTReader {     class Program {         static void Main () {             try {                 IEnumerable<MailItem> mailItems = readPst(@"C:\temp\PST\Test.pst", "Test PST");                 foreach (MailItem mailItem in mailItems) {                     Console.WriteLine(mailItem.SenderName + " - " + mailItem.Subject);                 }             } catch (System.Exception ex) {                 Console.WriteLine(ex.Message);             }             Console.ReadLine();         }          private static IEnumerable<MailItem> readPst(string pstFilePath, string pstName) {             List<MailItem> mailItems = new List<MailItem>();             Application app = new Application();             NameSpace outlookNs = app.GetNamespace("MAPI");             // Add PST file (Outlook Data File) to Default Profile             outlookNs.AddStore(pstFilePath);             MAPIFolder rootFolder = outlookNs.Stores[pstName].GetRootFolder();             // Traverse through all folders in the PST file             // TODO: This is not recursive, refactor             Folders subFolders = rootFolder.Folders;             foreach (Folder folder in subFolders) {                 Items items = folder.Items;                 foreach (object item in items) {                     if (item is MailItem) {                         MailItem mailItem = item as MailItem;                         mailItems.Add(mailItem);                     }                 }             }             // Remove PST file from Default Profile             outlookNs.RemoveStore(rootFolder);             return mailItems;         }     } }   Note: This code assumes that Outlook is installed and already configured for the current user. It uses the Default Profile (you can edit the default profile by going to Mail in the Control Panel). One major improvement on this code would be to create a temporary profile to use instead of the Default, then destroy it once completed.


Always use Welch-t test (unequal variances t-test) instead of Student-t or Mann-Whitney test?

I want to do an AB test to check if one version does significantly increase revenue. Generically speaking I want to test whether the central tendency (mean) of 2 groups are different from each other on the basis of (unpaired) samples of the 2 groups.   My understanding is, that I could use the following approaches:   Student-t test, if the variance of both groups are the same and both are normally distributed Welch-t test (unequal variance t-test), if the variance of both groups might not be the same but both are still normally distributed Mann–Whitney U test (Wilcoxon rank-sum test), if I cannot make any assumptions about the distribution of both groups   But now I read () that I can always use the Welch-t test. The article argues that it is dangerous to make the assumption of equal variance and additionally that     the unequal variance t-test performs as well as, or better than, the Student's t-test in terms of control of both Type I and Type II error rates whenever the underlying distributions are normal.   And if the groups are not normally distributed, than I can just rank the data beforehand:     Thus, Zimmerman and Zumbo (1993) suggest that the unequal variance t-test can effectively replace the Mann–Whitney U test if the data are first ranked before the test is applied.    So the end conclusion is:     If you want to compare the central tendency of 2 populations based on samples of unrelated data, then the unequal variance t-test should always be used in preference to the Student's t-test or Mann–Whitney U test. To use this test, first examine the distributions of the 2 samples graphically. If there is evidence of nonnormality in either or both distributions, then rank the data. Take the ranked or unranked data and perform an unequal variance t-test.   So my question is:  Do you see any drawbacks in always using the Welch-t test instead of the Student-t test or Mann-Whitney test?


Prove that if $abc \geq 1$ and $a,b,c > 0$ then $\frac{1}{1 + a + b} + \frac{1}{1 + b + c} + \frac{1}{1 + c + a} \leq 1$

Prove that if $abc \geq 1$ and $a,b,c > 0$ then, $$\frac{1}{1 + a + b} + \frac{1}{1 + b + c} + \frac{1}{1 + c + a} \leq 1$$ Can anyone help me with this problem? Tried AM-GM and Cauchy-Schwarz inequality, but it didn't work.


Prove that for every $n,m \in \Bbb N $ $$ \frac{1}{\sqrt[n]{1+m}} + \frac{1}{\sqrt[m]{1+n}} \ge 1 $$


How many Nerode equivalence classes does the language $x\neq y$ have?

I have a language $L_k$ over the alphabet $\Sigma=\{0,1,\#\}$ defined as follows: \begin{equation} L_k=\{x\#y|x\in\{0,1\}^k,y\in \{0,1\}^*\wedge x\neq y\} \end{equation}   I would like to find all the Nerode equivalence classes for this language. Since this definition is somewhat hard to google I'm including it here.   The Nerode equivalence $R_L$ on a language $L$ over an alphabet $\Sigma$ is defined as follows. For $s_1,s_2\in \Sigma^*$ $s_1R_L s_2$ if and only if $\forall t\in\Sigma^* s_1t\in L\iff s_2t\in L$.  If we have $s_1\in\Sigma^h$ where $0<h\leq k$ such an $s_1$ must be in it's own class. We can show this by contradiction in parts. Suppose $s_2\in\Sigma^*$ and $s_2\neq s_1$.  Case 1) $|s_2|\neq |s_1|$   Choose $t=0^{h-k}\#$ then $s_1t=s_10^{h-k}\# \in L_k$ but $s_2t=s_20^{h-k}\#r\not\in L_k$ since $s_2t$ has a $\#$ somewhere other than at the $k+1$'st position.  Case 2) $|s_2|=|s_1|=h$  Define $t=0^{h-k}\#s_10^{h-k}$. Then $s_1t=s_10^{h-k}\#s_10^{h-k}\not \in L_k$ since the sides around the $\#$ are equal, but $s_2t=s_20^{h-k}\#s_10^{h-k} \in L_k$ since $s_1\neq s_2$ and so the padding stays unequal.  Now how do I proceed for $s_1$ longer than $k$? Any hints or help appreciated.


Ubuntu TaskBar is gone. Launcher is missing

I recently updated (Feb 15, 2018) my Ubuntu 16.04 from the software manager. I don't remember what programs got updated, now my taskbar & launcher is gone.  Is there a way to fix this?  I've tried everything that's available from the internet, but none works.  Will upgrading to 17.10 fix my problem? I don't want to do fresh install from the start again :(


I am writing a maths paper where I have a lot of constants. I am indexing them to differenciate them. Basically my text looks like     blabla $c_1$ blablabla $c_2$ blabla $c_3$ blabla $c_1$ blabla $c_4$ blabla $c_5$ ...   I would like to have a commande, let say "\constant" such that each time I call it prints $c_i$ where $i$ is an increasing index. Also I would like to be able to use labels, like in my example above where $c_1$ appears more then one time.  Any idea of a good way to do it?


Should we add any friction to edits on posts that are old or probably obsolete?

Lately I've seen a lot of small edits here on Meta to posts that are obsolete -- for example, past Winterbashes, site functionality that has since been changed, and bugs that were  years ago.  I've even approved a couple of those edits without noticing the age of the post.  The posts then get bumped and sometimes pick up new answers and comments, presumably from other people who didn't notice that the issue being talked about isn't relevant now.  Is this a problem?  Should we apply any friction to editing and/or reviewing?  I wouldn't want to prevent edits (we do want to continue to maintain our content), but maybe the combination of a small edit (e.g. typos) and probable obsolescence could add a notice to the edit and review pages?  Just something like "This is an old post (or resolved issue); are these small edits worth bumping this post for everybody to see again?".  (Not those exact words; "bumping" is possibly jargon.)  This is a discussion, not a feature request.  I don't know if all these bumps are actually a problem, hence the question.  Several sites on the network are approaching (or already past) being a decade old; there are a lot of old posts out there, and apparently some people like to look for and fix typos, "thanks"s, and the like.


According to some grammars[1][2] and CMS...  "Interjections and vocative should be separated from the rest of the sentence by commas".  The vocative case [1] is used to indicate direct address (i.e., to show when you are talking to somebody or something directly). Nouns in the vocative case are set off using commas. CMS 6.38  As direct address (i.e. vocative case), the parenthetical element should be set off using commas (CMS 6.30). An absolute phrase is always treated as a parenthetical element, as is an interjection.  So,      Hello, world!   That is a very classical way to hello the world.  But, languages change. I am not sure, but today, I feel that it is very uncommon helloing someone with an interjection, providing a small pause and clarifying who is helloed. I have an impression that usually people use hello as a ("kind of") verb, not an interjection.   Question: Is that just a personal (bad) impression or some linguistic has already studied that phenomenon?     [1] - Nelson, Gerald C., Director Survey of English Usage Sidney Greenbaum, and Sidney Greenbaum. An Introduction to English Grammar. Routledge, 2013. [2] - Advanced Grammar in Use with Answers: A Self-Study Reference and Practice Book for Advanced Learners of English. 3 edition. Cambridge University Press, 2013. CMS - Chicago Manual of Style


How to convert 2D Map to Flat map like in google?

My requirement is shown below by maps.  Map 1--My Map   Map 2--I required     I am using GeoServer v2.2(for publishing the map) and OpenLayers v2.11(to display the map). According to my client requirement I published one layer with name "3d Buildings" in GeoServer and given a 3D style.  I added this layer as WMS in OpenLayers.  Now its look like a 2.5D Map(refer "Map 1").  My Questions are;   In Geoserver   Look at the buildings in "Map 1" its showing flat roofs, But I need different shapes of roofs like the buildings in "Map 2". Or How can I load 3D models to a layer?   In Openlayers(2.11)   How can I rorate/flat map like google earth? Please see the "Map 2" which is in flat view. you can see sky also .In Google API they are using "map.setTilt(45)" to change the map angle. Like this any option is available in openlayers?. Or How can give Navigation Controls like in google earth? How Can I load 3D Models on map?   If these features are not available in GeoServer and OpenLayers, introduce me a new tool. Kindly help me.   Thanks


can anyone, please, tell me why this code does not work?  var newbie  = [];  for ( var c of "greetings"){   var newbie += c; };   I am trying to put characters of "greetings" to an array newbie.


Install specific PHP version (php 7.1.11) ubuntu 16.04

The software I want to run requires php 7.1.11, phpmyadmin 4.7.7 and SQLSRV extension. Is there a way to install required packages without having to build them from source? I need a specific 7.1.11 I was only able to get 7.1 or 7.2 from the oerdnj repository Thanks


Includegraphics doesn't show the figure. Overleaf v2

I'm working on overleaf v2. I wrote : \documentclass{article} \usepackage[utf8]{inputenc}  \usepackage[utf8]{inputenc}  % Accents codés dans la fonte \usepackage[frenchb]{babel}  % Les traductions françaises \usepackage{amsmath}  \usepackage{graphicx} \graphicspath{ {./images/} }  \usepackage{amsfonts}  \usepackage{biblatex} \begin{document} .... \begin{figure} \centering \includegraphics{comp_W_log.jpg} \caption{\textit{On compare la fonction de Lambert à $\log(x)-1$ dans un certain interval}} \label{fig:my_label} \end{figure}  .... \end{document}  But I just get, after compiling :  Can you help me plz ? Edit: png didn't work either


Can I install Ubuntu on computers and sell them?

I want to sell second hand computers, I buy them cheap, upgrade them with parts from broken computers I get free and then sell them for a profit (not much, about 20-30 € profit).  Now, I used to install Windows XP because almost all the pc's I get, have an OEM Win XP licence with it. Now support for Windows XP is ending, it will be very hard to sell an Win XP computer.   Am I allowed to install Ubuntu on the machines and sell them with Ubuntu and XP dualboot?


Why does Carol Marcus not recognize Khan in The Wrath of Khan?

I saw the new movie and went back and watched the wrath of khan on Netflix. I was a bit confused since I am not a real trekkie.  In Star Trek II: The Wrath of Khan, Dr. Carol Marcus asks who Khan is. When I saw Star Trek Into Darkness this weekend, the young Carol Marcus was involved in the battle against the younger Khan. Why does she not know who he is several years later?


How to completely remove Garage Band from macOS?

I have GarageBand taking 2.46 GB space on my system even after I deleted the app. Couldn't find any other files when searched via spotlight.     Is there any way to find these files and remove them?


how to get date difference between two dates using DateDiff Excluding the weekends

I want to get difference between two dates using the datediff and i want to exclude the weekends.The Code below.  SqlDataAdapter sda = new SqlDataAdapter("SELECT [uSerial] " +", DATEDIFF(dd,[RestartDate],getDate()) as statusDuration ,[cutRefs] " "FROM [dbo].[tblFTTH_Fault_Tool]", conn); DataTable ds = new DataTable(); sda.Fill(ds); GridView1.DataSource = ds; GridView1.DataBind();   kindly assist.


Is a dash used between words in word combinations like fill up?  Or is it fill-up?


I am looking to pursue an online master's in MIS starting next spring. I'm in the process of deciding on a school and I've narrowed it down to two choices: Florida State or Illinois-Springfield.  Both are accredited, but I'm trying to think about which would benefit me more in the long run. Florida State seems to be the more well-known, popular university, and, I would assume, would "pop" more on a resume. However, each credit hour is $810 and the program itself is upwards of $27,800.  In contrast, UIS is a much smaller school, and probably less well known. However, their program is $403 an hour and would come out closer to the $15,000 range.  I could probably pay for the UIS degree out of pocket, but FSU would require me to get loans.  Is it worth the extra money for a more recognizable name on your resume? Does anyone pay that much attention to the school?


I have two line shapefiles that overlap 50% of the time. I want to generate a new single shapefile that includes attributes of both datasets AND no duplicate segments.  A short segment from one layer will split the longer segment from the other and they will combine to form a new segment made of the overlapping segments. I have Arcmap 10.1 license.  Example: First layer = street centerline shapefile. Second layer = road improvement layer which is only PART of the centerlines. Centerline layer is not segmented, so a spatial join would apply attributes from 2nd layer to entire segment of first layer - which would not be accurate. So I want to combine BOTH.


A cyclic normal subgroup commutes with the commutator subgroup

$G$ is a group. $N$ is cyclic and normal subgroup of $G$. Prove every element of $N$ commutes with every element of  $G'$. ( $G'$ denotes commutator of $G$). Could someone give ideas, thank you!


So this is my first time with the hats. It's fun.  Maybe it would be possible to be able to change the hat size so that you can "fit" it to your profile picture?  I realize that this is likely not possible in the short time left of this promotion, but maybe next year.    I also know that there is , but I want to specifically focus on resizing.


How to optimize a cubes made world game?

I'm making a cube-world-game like Minecraft. And to render it I've splitted it in 16x16x16 blocks regions (also known as chunks in mc) and then, on rendering, I take all the chunks in the rendering distance area and foreach of them I iterate all blocks and draw them.  It's so slow.  Then I tryed to remove hidden blocks and draw only visible faces of blocks. I made a VBO that store a face and then using model matrix I rotate it to make the other sides of the block. Finally I added a camera frustum test that checks if the block is visible from the camera.  I didn't code yet all these things, that's just a reasoning.  Are these optimization good or could I add something else?  P.S: I've seen that minecraft use a "display list" foreach chunk and not use a VBO for a face (I've didn't understand the code well since part of it is obfuscated) and each loop get just the rendering distance chunks and draw them using the display list stored. How's possible making a display list with all the shape of the chunk? There's another thing that does the same thing of the display list but it's not deprecated (I though VBO but I'm not sure)?


Proving a holomorphic function is constant on an open connected set under certain conditions.

Let $\Omega \subset \mathbb C$ be an open and connected set, such that $\overline{D_1} \subset \Omega$. Let $f:\Omega \to \mathbb C$ be a holomorphic function with $f(z) \in \mathbb R$ for all $z$ such that $|z|=1$. Show that $f$ is constant.  I couldn't do much of the problem. I've defined the function $e^{if(z)}$. So, for $z : |z|=1$, $e^{if(z)} \in \partial D_1$. I don't know if this is of any help. I would appreciate suggestions, maybe defining this function is not useful.  Addition from editing:  From what I've seen here , using the maximum modulus principle, if $e^{if(z)}$ is non-constant on $D_1=\{|z|<1\}$, then $e^{if(z)}$ attains its maximum and minimum on $\partial D_1$. If we consider $e^{if}$ and $e^{-if}$, then $|e^{if(z)}|=1=|e^{-if(z)}|$ for all $z : |z|=1$. But then $$(1) \space |e^{if(z)}|\leq 1, |z|<1,$$ and $$(2) \space |e^{-if(z)}|\leq 1, |z|<1$$.  From (1) and (2) it follows $|e^{if(z)}|=1$ for all $z :\{|z|\leq 1\}$, which means $e^if$ is constant on $D_1 \implies f$ is constant on $D_1$.  I don't see how can I deduce from here that $f$ is constant on $\Omega$ just by the fact that $f$ is constant on $D_1$.


Cannot login to tty / Login incorrect / Unity Launcher and Menu Bar disappeared in 14.04

I'm facing the same (or similar) issue as described here:   Unfortunately I cannot try the provided solution (), as I fail to log in. I always get Login incorrect.  I already checked my password by typing it in as login name. Everything is correct. No caps, no num. I also have no problems getting to my desktop with my user name and password. Could it be due to my username Stefan Schmid with a space?  The System is 14.04 LTS. On the login screen there is still the menu bar. I even can get to settings. But thats about it. E.g: when I click on users, nothing happens.  What should I do?


Is it possible to see an infinite distance in a vacuum, or is this prevented by dispersion?

I just came across the old cliche that describes a star as a "little candle that shines its light so far," and am curious whether, barring obstruction and interference, one might be able to detect a candle at the distance of a star or more (obviously, using a keener instrument than the human eye).   I understand that we can think of the light from a candle as being a cloud of photons. I know that a photon can potentially travel the greatest distances available in the reachable universe, but it seems to me that from a weak source they must at some distance become so dispersed that even a single photon from the source would be unlikely to hit the earth. Is that right?


The question is      Prove that $a\mathbb{Z}\cap b\mathbb{Z}=[a,b]\mathbb{Z}$.   Hint:First prove $b\mid a \Leftrightarrow a\mathbb Z\le b\mathbb Z$ and then prove $a\mathbb Z+b\mathbb Z=(a,b)\mathbb Z$   I managed to prove $b\mid a\Leftrightarrow a\mathbb Z\le b\mathbb Z$. About the next claim: From the first statement ($b\mid a...$) it follows that since $(a,b)\mid a$ and $(a,b)\mid b, a\mathbb Z+b\mathbb Z\le(a,b)\mathbb Z$. My problem is proving the opposite side (a.k.a $a\mathbb Z+b\mathbb Z\ge(a,b)\mathbb Z$). How can I do so and how can I proceed from $(a,b)$ to $[a,b]$?


What I mean is, suppose white light falls on a red object and is reflected, so when we see the reflected light reaches our eyes we see it as red (probably because its wavelength corresponds to red). But let's say that this reflected light falls on a purple object and then reaches our eye. What color would we perceive of the purple object? If the answer is purple, then where did the extra energy come from? ( as purple light has more energy than red)


I ssh into an ubuntu machine from a MAC. I have some screens running on the ubuntu machine. I attach to a screen using screen -r <name of screen> command. How do I look at the output of previous commands I have run on the screen? For example, when I use the scroll bar, I do not see the previous output. Following are what I have tried so far -  Cmd + A, :scrollback 1000  Cmd + A, ESC, Up Arrow  Created ~/.screenrc file and added shell "/usr/bin/bash" termcapinfo xterm* ti@:te@   Cmd + A, Cmd + F to search for previous outputs. This worked but it only searched in text that was on the screen. I need to search for previous text that is not visible on the screen.


How to make every line in a bubble like chat conversations?

I've had a plain chat conversation and need display them similarly to how they are designed in Messenger. Since this is a long conversation, I need a method to do it at once. I know this might be impossible to have all, so I just need to mimic it as close as possible.  Left-aligned gray bubbles (103, 184, 104) with black text; Right-aligned green bubbles (241, 240, 240) with white text Bubbles are only split after a paragraph (equivalent to an enter press when chatting). Long message with multiple lines will be kept in one bubble. Left and right edges are half circle Margins between same color bubbles are small, margins between different color bubbles are large.    FYI:  in Graphic Design  in Super User


What is the difference between these fuctions?

What is the difference between these two way of defining a method?   var Todo = {};     Todo.abc = function(){     }   and  function abc(){ }


How to install Packet Tracer 7.1.1 on ubuntu 16.04?

I am a newbie to Ubuntu OS, so don't really have much idea of how things work. Well, m trying to install Cisco Packet Tracer 7.1.1, Now i don't really know how to do that. I have already downloaded Packettracer from the netacad.com.  Please if anyone can help me out here.  Thanks in Advance.  Also need help for installing VMware.


Validation rule : Standard users cannot update the status of a record beyond one specific value in picklist

Requirement : Standard users cannot update the status of a record that is already Registered (or post-registered phase). Example: Opp was already “Registered” but some standard user was able to change the record to “Open Won.” Need validation rule for this.   Note: "Stage" is a picklist under opportunity


If $\frac {1}{p}+\frac {1}{q}=1$ and $a,b \ge 0$ , then prove $ab\le \frac{a^p}{p}+\frac{b^q}{q}$ . I can't find a simple and short way to prove this. Any hint would work. Thanks in advance!


How can I make Nautilus automatically show hidden files?

I know I can just hit CTRL+H to hide the hidden files, but how do I make them visible by default?   I use Ubuntu 16.04.


Force sidewaysfigure to be in a specific position

I'm trying to force a sideways figure to be drawn in a specific point of the text, but I haven't found any valid solution. In particular, I need to achieve the following layout:   page 1 - contains only text page 2 - contains the sideways figure page 3 - text and figures   Here the code I'm using.  \begin{sidewaysfigure}[counterclockwise]   \centering     \scalebox{0.99}     {\includegraphics[width=0.99\textwidth]{myfigure}}     \caption{def}     \label{def} \end{sidewaysfigure}   When I compile, myfigure figure is rendered only after page 3, but it's not I want to achieve.  Any suggestions?


Why is the area of a rectangle coming to 15 places of decimal?

/* Author: Noah Shaw  Date: 9/2/2016 Purpose: Calculate the area + perimeter of a rectangle */ public class Rectangle { public static void main (String [] args){ //Display the Area System.out.print("The Area of the Rectangle is "); System.out.println((7.9 * 4.5));  //Display the Perimeter System.out.print("The Perimeter of the Rectangle is "); System.out.println((4.5 + 7.9) * 2);  } }   The output is  The Area of the Rectangle is 35.550000000000004 The Perimeter of the Rectangle is 24.8  My question is why is my rectangle area not just 35.55?  Thanks for your time, sorry I'm still new to Java.


wine I got the error message 'can not find 'vox.dll' please re-install this application. ubuntu 19.10 . what is vox.dll? and how to install in wine?


Is there a way for me to create a button or a badge on my website. That links back to my user account on stack overflow?   Im a proud member of StackExchange I would like to have that on my blog.   I googled around but couldnt find anything about it.  Someone mind pointing me in the right direction?


I see a piece of JavaScript code in my Node.js application.  ( function() { console.log("gg") } )(this)   I would like to know why use => ( function(){} )(this) this type of structure, and how does this compile.  I am understanding why we have this two brackets ()(), and why this code would work.


Why shouldn't I use default java security manager

Part of my project need to allow participant upload simple and very basic java code and I will run their code and return the result for them. I reduce the security risk by limiting the permission of web user account, using thread to control time out case, and use security manager to sandbox entrusted program.   Since I do not know much about what kind of request may cause unexpected danger, I decided to use default policy. But most of people are talking about using a custom policy.   I have searched a lot but I still did not find any website/literature/tutorial which talk about why shouldn't I use default security manager. Is there any bugs that can be avoid by using a custom policy while exist in default one?   I mean, is it because the default policy is too strict or useless, such that people tend to use custom policy.  I have read the java.security, but I still want to make sure of this.


I start recording my screen for two hours by clicking cmd+shift+5, after that I stopped the recording, and immediately a popped up video appear with an option to share recorded video, I click the share button and choose telegram and I clicked done, my video doesn't shared to telegram neither saved on default saving location, i.e. desktop. I googled it but no solution work with me even  Any solution will save my day, what I recorded very important to me.


Proper Installation of Kali linux tools in Ubuntu

I think everyone has known - we need to install katoolin to use Kali Linux Tools on Ubuntu. Before did anything I had looked through the internet and also found out these solutions: ,   So here are my steps:  apt-get install git git clone https://github.com/LionSec/katoolin.git && cp katoolin/katoolin.py /usr/bin/katoolin chmod +x  /usr/bin/katoolin sudo katoolin   Then, to add Kali Linux repositories and update them, I selected option 1 from the katoolin Menu  Then, to view the available categories and install all available tools, I selected option 2 from the main menu of katoolin and then pressed 0.   But after that I got this:    What do you want to do ?>    1) Add Kali repositories & Update  2) View Categories 3) Install classicmenu indicator 4) Install Kali menu 5) Help   kat > 2  ************************** All Categories **************************  1) Information Gathering                      8) Exploitation Tools 2) Vulnerability Analysis                     9) Forensics Tools 3) Wireless Attacks                           10) Stress Testing 4) Web Applications                           11) Password Attacks 5) Sniffing & Spoofing                        12) Reverse Engineering 6) Maintaining Access                         13) Hardware Hacking 7) Reporting Tools                            14) Extra  0) All   Select a category or press (0) to install all Kali linux tools .  Furthermore, I got an error in Software Updater - it didn't let me do anything. Ubuntu just hung up. I solved this problem by deleting kali linux repositories in katoolin and then in Software Updater.  Does anyone know how to install Kali Linux tools in Ubuntu 16.04 in a proper way?


I have read numerous articles (and ServerFault answers) on CAL licencing, and thought I understand it. My understanding so far was that CAL licenses are related to users and devices directly accessing the server, i.e. ones which are using it within the network, similar to logging on to the server, using its print/file services, or otherwise accessing its services inside the company. But according to this :  Do I need a CAL when my Windows Server is used to run a web server? Windows Server 2012 R2 configured to run Web Workloads do not require CALs or External Connectors.  Web workloads, also referred to as an internet web solution, are publicly accessible (e.g. accessible outside of the firewall) and consist only of web pages, web sites, web applications, web services, and/or POP3 mail serving.  Access to content, information, and/or applications within the internet web solution must be publicly accessible.  In other words, they cannot be restricted to you or your affiliate’s employees. If you have Windows Servers configured to run a “web workload” these users will not require CALs or External Connectors. However, let’s say you are using Windows Server to setup an online store where customers can buy widgets.  You have front end Windows Servers setup to support your website, and back-end servers (e.g. commerce servers) setup so customers can check out and buy your widgets.  The front end servers used to host your website would generally be considered as running “web workloads” and CALs or External Connectors will not be required to access these servers. Once the customer adds a widget to their shopping cart, creates an account and enters their credit card and shipping information to complete the sale – they are now authenticated via your back end commerce servers/application (non-web workload).  Since users are accessing the back-end commerce servers which web workloads are not running – CALs or External Connectors will be required for users to access these back end servers.  For me, the process of "creating an account and entering payment/shipping information" is confined to IIS. Does this mean the owner of the Windows Server machine needs to purchase as many CALs as there are users accessing "non-publicly available content"? Does a Windows Server running IIS must really have a separate CAL for each physical user which has a web page account?


Came across  and wanted to leave a comment saying      While this link may answer the question, it is better to include the   essential parts of the answer here and provide the link for reference.   Link-only answers can become invalid if the linked page changes.   instead of voting for deletion or any other action.   It would have been really handy if I could somehow auto-generate this message instead of having to go to a review queue and wait til a post pop-up in so I can copy-paste the reason (which I can't really do any longer as selection on the popup box is disabled)  I realize I can construct my own message but for the consistency I prefer using the community's common message.   I've flagged for deletion and the answer has been removed but still. There are  where I'd rather just leave a message like the above.   Have I missed it somewhere or should I consider putting a feature-request together?


I have to create a global variable.  this variable is initialized in the main after an input parameter is passed and then I want to make it available everywhere in the code without passing it in the init of the different objects.  global pulse def main(shot_no,...):     pulse = shot_no       #create object     signal = Data(constants)     print('here')     print(pulse)       success = signal.read_data(shot_no,...)   within the class Data pulse is defined in the init as global.  Data is a class inherited from another and also in this one I define in the init pulse as global  I get an error "NameError: name 'pulse' is not defined"  any help?  the answer   doens't answer my question (as a matter of fact there is no actually an answer in that post)


I want to connect to my database and get some values of a specific table, that table has a prefix, and that prefix is stored in an array.  $statement = $db->prepare('SELECT * FROM ' . $conf['database']['tableprefix'] . 'candy');   Now I wanted to know, if there is any way, I can replace this $conf['database']['tableprefix'] with a placeholder, as the prefix and the 'candy' string need to be together without space.


Wi-fi gets disconnected automatically Ubuntu 16.04 LTS

Wi-fi gets disconnected automatically in Ubuntu 16.04 LTS. Disabling and Re-enabling the wi-fi doesn't work until I reboot.  $ sudo lshw -class network command is: description: Ethernet interface    product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0.2    bus info: pci@0000:02:00.2    logical name: enp2s0f2    version: 06    serial: 70:8b:cd:d2:3a:42    size: 10Mbit/s    capacity: 100Mbit/s    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8402-1_0.0.1 10/26/11 latency=0 link=no multicast=yes port=MII speed=10Mbit/s    resources: irq:48 ioport:5000(size=256) memory:9b210000-9b210fff memory:c2100000-c2103fff   *-network        description: Wireless interface        product: RTL8723BE PCIe Wireless Network Adapter        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:03:00.0        logical name: wlp3s0        version: 00        serial: 74:df:bf:fd:84:88        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless        configuration: broadcast=yes driver=rtl8723be driverversion=4.4.0-64-generic firmware=N/A ip=172.17.8.197 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn        resources: irq:19 ioport:4000(size=256) memory:9b100000-9b103fff


Natural Scrolling Not Preserved After Unplugging Mouse

I use "natural scrolling" on my mouse, and in the last few days I've found that after unplugging my mouse and then plugging it back in, those settings are reverted. In order to return to using natural scrolling I must first turn off the setting (because the settings display shows it's still on) and then turn if back on again. Restarting the computer while the mouse is plugged in will also return scrolling to its intended setting. Any help regarding this is much appreciated.  Ubuntu 20.04.1 LTS GNOME version 3.36.3 Not really sure what other version info is relevant here.


How to get relative path from absolute path

There's a part in my apps that displays the file path loaded by the user through OpenFileDialog. It's taking up too much space to display the whole path, but I don't want to display only the filename as it might be ambiguous. So I would prefer to show the file path relative to the assembly/exe directory.  For example, the assembly resides at C:\Program Files\Dummy Folder\MyProgram and the file at C:\Program Files\Dummy Folder\MyProgram\Data\datafile1.dat then I would like it to show .\Data\datafile1.dat. If the file is in C:\Program Files\Dummy Folder\datafile1.dat, then I would want ..\datafile1.dat. But if the file is at the root directory or 1 directory below root, then display the full path.   What solution would you recommend? Regex?  Basically I want to display useful file path info without taking too much screen space.  EDIT: Just to clarify a little bit more. The purpose of this solution is to help user or myself knowing which file did I loaded last and roughly from which directory was it from. I'm using a readonly textbox to display the path. Most of the time, the file path is much longer than the display space of the textbox. The path is supposed to be informative but not important enough as to take up more screen space.  Alex Brault comment was good, so is Jonathan Leffler. The Win32 function provided by DavidK only help with part of the problem, not the whole of it, but thanks anyway. As for James Newton-King solution, I'll give it a try later when I'm free.


Is it faster to sort a list after inserting items or adding them to a sorted list

If I have a sorted list (say quicksort to sort), if I have a lot of values to add, is it better to suspend sorting, and add them to the end, then sort, or use binary chop to place the items correctly while adding them. Does it make a difference if the items are random, or already more or less in order?


Let $V$ be a complex innerproduct space and $T$ be a linear operator on $V$.  If $\langle T(v),v \rangle =0$ for every $v \in V$, show that $T$ is a zero operator.  I figured out that the only eigenvalue of $T$ is zero, which implies that the monic polynomial of $T$ is $x^n$ for some $n$. I have to prove that $n=1$, but I don't know how to proceed.  I also considered Jordan form and the basis $B=\{v_1, v_2, ...,v_n\}$ such that $[T]_B^B$ is the Jordan form of $T$, but it doesn't work.  Does anyone have ideas?


is it right to start a sentence with the word "with"

To,  The Competent Authority,  Subject: Application for the Commercial Meter  with due veneration and most humbly it is requested to your kind-self that I the undersigned being a representative of the Company is hereby applied for the commercial electricity meter. it is further requested that kindly issue directions to the concerned quarter for the subject purpose. Your timely favourable action in this regard will be highly solicited.   HR/Admin Manager Muhammad Saleem Bhatti Al-Ghani Group of Companies


Seeking a combinatorial proof $\sum\limits _{k=0}^n (n-2k)^2\binom{n}{k}=n\times 2^n$

I would appreciate if somebody could help me with the following problem  Q: Seeking a combinatorial proof $(\binom{n}{k}=\frac{n!}{k! (n-k)!} )$  $$\sum _{k=0}^n (n-2 k)^2 \binom{n}{k}=n\times  2^n$$


What is the name of this young-adult book series from the '90s featuring miniature aliens?

This was a book series I read when I was younger.  It featured a boy in his early teens who was contacted by aliens in a miniature space ship.  He is soon shrunk down to their size and becomes a member of the ships crew.  I believe they are some sort of galactic police force.  They go on several adventures over the course of a few books.  I believe the main villain in the story attempts to freeze time in his moment of ultimate triumph.  There might also be some sort of search for the boys father.


How can I get rid of the message "kvm: disabled by BIOS"?

I'm getting a message:  kvm:disabled by bios   after upgrading my kernel to 3.8.x. I've never installed the KVM package. Neither I can enable virtualization from my BIOS, because of a BIOS bug. I just want to get rid of this weird message. Tried removing any kernel module using modprobe but it didn't work.


How do I convert, lower, or raise voltage?

I have a project that needs a different voltage (or multiple voltages) than what I have available. Sometimes I need DC instead of AC, or I need a lower or higher voltage. How do I convert from one to another? Should I use resistors or a regulator or something else?  I've heard of converters, transformers, regulators, inverters, step-down, step-up, buck, boost, switching, linear, and other terms. Or acronyms (initialisms) like PMIC and LDO. Can someone shed some light on all this?


Check if values in one column are not unique based on values in other column

CREATE TABLE logistics (     id int auto_increment primary key,     campaign VARCHAR(255),     process_status VARCHAR(255),     delivery_type VARCHAR(255),     quantity INT );  INSERT INTO logistics (campaign, process_status, delivery_type, quantity ) VALUES  ("C001", "offer", "fedex", "500"), ("C001", "offer", "fedex", "200"), ("C001", "order", "ubs", "400"), ("C001", "shipped", "ubs", "100"),  ("C002", "offer", "fedex", "800"), ("C002", "offer", "fedex", "100"), ("C002", "order", "fedex", "650"), ("C002", "shipped", "fedex", "250"),  ("C003", "offer", "fedex", "730"), ("C003", "order", "fedex", "620"), ("C003", "shipped", "dhl", "530"),  ("C004", "order", "fedex", "200"), ("C004", "shipped", "fedex", "130"),  ("C005", "order", "fedex", "900"), ("C005", "shipped", "ubs", "475"),  ("C006", "order", "fedex", "635");   Expected Result  campaign      process_status       delivery_type      quantity C001          offer                fedex              700 C001          order                ubs                400 C001          shipped              ubs                100 C003          offer                fedex              730 C003          order                fedex              620         C003          shipped              dhl                530 C005          offer                fedex              900 C005          shipped              ubs                475     In the above table I have different campaigns, their process_status and delivery_type.  Now, I want to extract all campaigns which switch their delivery_type between different process_status.   Therefore, I am looking for a query that does something like this:  SELECT campaign, process_status, delivery_type, quantity FROM logistics WHERE delivery_type differes in different process_status   I have no clue how the WHERE condition must look to achieve the expected result.  Do you have any idea?


Show that $(\Bbb{R}, +)$ is isomorphic to $(\Bbb{R},\,\cdot\,)$

The only thing I know about $(\Bbb{R},\,\cdot\,)$ is that it is isomorphic to $GL_n (\Bbb{R}) / SL_n (\Bbb{R})$. In general, I find it difficult to show that there is an isomorphism between two groups, unless they are cosciennt groups. That is easier because I can use the isomorphism theorems, but when I fall into these cases, I have no idea what to do.


Why have I been barred from posting questions?

I have only asked ONE question till now which is:    It has received 3 up-votes so I think it wasn't a very low quality question. In comments/answers I wasn't even once told that the question was low-quality. Now when I go to ask another question I get the following message:     You have a history of asking low quality questions. Please put more thought, time, and effort into your questions. To help you do this, the number of questions you may ask per week is currently limited. For more information, visit the Help Center.   I don't even have a history, much less a "history of low-quality questions" and the one that I asked didn't even receive negative votes.   What is the reason I am being barred from asking questions?


Someone who praises or thanks others all the time when it is no big deal

In the process it dumbs everything down. Real achievement or when it is really deserved becomes ordinary and loses impact.


Can tabs of content be made SEO friendly?

My customers are eager to show news categorized in tabs.  I recently developed it for them.  In my experience in web designing, display:none is used widely in implementing tabs. I also know that it is not good for SEO.  Is there any way to have tabs but without hurting SEO factors?


What makes a Horcrux object (almost) indestructible?

We know that a Horcrux is the object in which a piece of the Horcruxee's Soul is stored in.  But these objects were once normal (albeit special) objects before being turned into a Horcrux, and could be destroyed like any other objects.  My question is: what is it about becoming a Horcrux that makes the object (almost) indestructible?   Is it that a powerful enchantment is placed on the object upon Horcruxation? Or something else?  My thinking is that it's not so much the object, but the piece of soul which is difficult to destroy. As Hermione puts it:     "Because a Horcrux is the complete opposite of a human being.”      Seeing that Harry and Ron looked thoroughly confused, Hermione   hurried on, “Look, if I picked up a sword right now, Ron, and   ran you through with it, I wouldn’t damage your soul at all.”      “Which would be a real comfort to me, I’m sure,” said Ron.   Harry laughed.      “It should be, actually! But my point is that whatever happens   to your body, your soul will survive, untouched,” said Hermione.   “But it’s the other way round with a Horcrux. The fragment of soul   inside it depends on its container, its enchanted body, for survival.   It can’t exist without it.”      -Harry Potter and the Deathly Hallows - the Ghoul in Pyjamas   So in a way, the object is linked to the piece of Soul's survival.


How do I update ubuntu packages 16.04 with Terminal?

I'm looking to know how to update Ubuntu through the Terminal command line.  I want to update the operating systems software for when and if the people behind ubuntu launch an update for v16.  This works on 14.04 sorry for making it look alike.


Why is $L=\lim_{x\to 0} (1+x)^{1/x}=e$ indeterminate form?

Why is $$L=\lim_{x\to 0} (1+x)^{1/x}=e$$  I understand that if we take log on both sides and solve we get $L=e$ but if we inspect right hand limit, then base is slightly greater than $1$ and exponent approaches $+\infty$, hence overall value must approach $+ \infty$ . If we inspect Left hand Limit, then base is slightly less than $1$ and exponent approaches $-\infty$, hence overall expression should again approach $+\infty$. Then why is limit approaching towards $e$.


Automated disk monitoring: what is my system doing already, what more should I do?

Does an Ubuntu 14.04 server automatically perform smartctl condition monitoring? How can I check that it's happening properly? How can I be sure that I will receive an email when things start to go wrong?  If the answer to the first question is 'no', what is a recommended simple, straightforward way to set this running in the Ubuntu context?  Have smartctl setup defaults changed in newer LTS releases?  This is not a duplicate of : the output from sudo smartctl -a /dev/sda does not say when the last test was completed, and gives no information about the scheduling of regular SMART tests.  I am trying to find out what regular, scheduled testing is happening on my machine, to ensure if a problem arises, I can be confident it will be spotted by the system and reported.  SMART testing is one thing, but perhaps there are other things that I can  be using as well?


Let $p$ is real number which satisfies$\quad p > 1$  How can I simplify the fraction $$\frac{1+\frac{1}{2^p} + \frac{1}{3^p} + \frac{1}{4^p} + \cdots}{1 - \frac{1}{2^p} + \frac{1}{3^p} - \frac{1}{4^p} + \cdots}$$  Numerator is $\zeta(p)$ but I don't know the closed form of denominator.  Is there any idea to simplify this fraction?


Black hole collision and the event horizon

Will the event horizons of a two black holes be perturbed or bent before a collision? What will the shape of the event horizon appear to be immediately after first contact?


Solve this combination with a summation. Edited and maybe Solved

I have been quite stuck on this problem and with the help of others, I may have solved it. This is what I have to prove.      $$\binom{N}{n+1}=\sum^{N-1}_{k=n} \binom{k}{n}.$$  So far I have this $${N \choose {n+1}}={{N-1}\choose{n+1}}+{{N-1}\choose n}.$$ by Pascals triangle. If I repeat this idea, I believe I end up with: $$={{N-x}\choose{n+1}}+{{N-x}\choose{n}}...+{{{N-1}\choose n}}$$For some $x$ such that $x=n+1$. But lets go one further.  $$={{N-x-1}\choose{n+1}}+{{N-x-1}\choose{n}}...+{{{N-1}\choose n}}.$$ But this reduces to $${{n}\choose{n+1}}+{{n}\choose{n}}...+{{{N-1}\choose n}}.$$ However $${{n}\choose{n+1}}=0$$. Therefore we are just left with: $\sum^{N-1}_{k=n} \binom{k}{n}.$ as desired.


Aim at moving target (or predicting target's position at time it takes for projectile to hit it)

I have a game where I know the location and velocity of my target. I know my own location and the speed of my projectile. I want to determine either  the location of the intersection between my projectile fired and the target, or  the time taken for my projectile to intersect the target  All entities are travelling with constant speed and direction which makes life easier. I have been trying to work out the maths for some time but cannot quite get it right. I know that the predicted location of the target intersecting the projectile will be  Pp = Tp + Tv * t  Where Pp is the predicted position, Tp is the current target position, Tv is the target velocity, and t is time.  I also know that   t = |Pp - Sp| / Bs  where Sp is my (source) position and Fs is the projectile (bullet) speed. But I cannot figure out a way to solve this to get either Pp or t.  I know that all speeds are constant. I am free to aim in any direction and I know that the projectile is faster than the target therefore a hit is guaranteed  Can anyone enlighten me? Thanks  I found a website detailing one method but this doesnt seem to work (). My verification method to determine if it worked was to use the predicted position to determine the time for the target to reach it, and for the projectile to reach it. These should be very similar but in my game they are out by almost a factor of 2.


How do I take a screenshot on a Maven Pro? I have tried pressing the power button and everything on the button bar. I don't know what to do.


Prove with combinatorial arguments this equation

Prove with combinatorial arguments, that, $\forall n \in \mathbb{N}$.  $$\sum_{k=0}^n (-1)^k {n \choose k} =0$$


I am trying to create a login form which appear and disappear when users click the login button. The code below ensure that the form does not show at start and only display form when user clicks it. However, the form is not disappearing despite clicking the button for the second time. I also included the jquery string below. Am I missing something or is it because the jquery code is outdated?    $(document).ready(function() {   const arrow = $(".arrow-up");   const form = $(".login-form");   const status = false;    $("#login").click(function(event) {     event.preventDefault();     if (status == false) {       arrow.fadeIn();       form.fadeIn();       status == true;     } else {       arrow.fadeOut();       form.fadeOut();       status = false;     }   }) }) .arrow-up {   width: 0;   height: 0;   position: absolute;   border-left: 20px solid transparent;   border-right: 20px solid transparent;   border-bottom: 20px solid #e86b00;   right: 750px;   bottom: 10px;   display: none; }  .login-form {   position: absolute;   width: 300px;   height: auto;   background: #e86b00;   top: 20px;   right: -150px;   border-radius: 3px;   border-bottom: 5px solid gray;   display: none; }
LogIn

     <form>
         Username:         <input type="text" placeholder="Username" id="usernm" autocomplete="new-password" required/>

         Password:         <input type="password" placeholder="Password" id="passw" autocomplete="new-password" required/>

         <input type="submit" />

         Lost Your Password
     </form>


I have a program named Log. I want to run log, but normally I have to go to ~ directory and use the command ./Log . How would I make it so that I can use the command Log to do the same thing, from any directory? Would I have to add it to /usr/bin? Thanks!  this is my ~/.profile file:  # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists. # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package.  # the default umask is set in /etc/profile; for setting the umask # for ssh logins, install and configure the libpam-umask package. #umask 022   # if running bash if [ -n "$BASH_VERSION" ]; then     # include .bashrc if it exists     if [ -f "$HOME/.bashrc" ]; then     . "$HOME/.bashrc"     fi fi  # set PATH so it includes user's private bin directories PATH="$HOME/bin:$HOME/.local/bin:$PATH"  alias log=/home/sqidman310/Log


How does maintaining a Concentration spell work?

There are many spells that have a duration of "concentration", sometimes with a max duration. I understand concentration checks and interruptions, but I can't find specific rules on maintaining a concentration based spell.  For example (because I happen to be looking at it) :     Duration: concentration, up to 1 round/level (D)   Some specific questions I have:   What action am I allowed while I am concentrating? Can I move? Attack? Cast another spell? Can I decide to stop concentrating at any time? Do the effects end immediately on me ending my concentration (either through interruptions or voluntarily)?


I want to use jQuery inside a firefox extension, I imported the library in the xul file like this:  <script type="application/x-javascript" src="chrome://myExtension/content/jquery.js"> </script>   but the $() function is not recognized in the xul file neither do the jQuery().  I googled about the problem and found some solutions but no one did work with me:    I've also tried to pass the 'content.document' object(which refrences the 'document' object) as the context parameter to the jQuery function like this:  $('img',content.document);   but still not working, does any one came across this problem before?


Did Lucas intend to continue the story beyond Episode VI?

The Return of the Jedi concludes with the Emperor's death at Vader's hands, the Force being balanced and the prophecy being fulfilled. The galaxy was at peace -- the events conclude, and Luke and Leia are reunited, concluding their relationship arc.  The prequels add backstory to it, but the conclusion is still at the end of Jedi. However, with the release of The Force Awakens it becomes possible that there will always be another episode. Did Lucas have a strong idea of what he wanted the conclusion to be -- of what he considered the "story" (I.e., Vader's arc, concluding with the death of the Emperor) and whether he intended it to continue past Episode VI?  To clarify, I mean what Lucas intended as the 'main story' -- that is, not extended universe.


Firewall completely disabled but still cant access port - Centos7

I have disabled selinux in /etc/sysconfig/selinux:  SELINUX=disabled   rebooted and disabled both firewalld and iptables services.   # sestatus SELinux status:                 disabled  # systemctl status firewalld ● firewalld.service - firewalld - dynamic firewall daemon    Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)    Active: inactive (dead)      Docs: man:firewalld(1)  # systemctl status iptables ● iptables.service - IPv4 firewall with iptables    Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)    Active: inactive (dead)   # ufw status Status: inactive   I still can't access the server using a specific port:  # nc -v 10.0.12.3 8887 nc: connect to 10.0.12.3 port 8887 (tcp) failed: Connection refused   I can ping the server and ssh to it.  I have tried opening ports using iptables and firewalld and haven't managed to make it work. The last option remaining is to disable the firewall completely and even that doesn't work.   the ports that are being listened on are:  # netstat -plnt  Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name     tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      1031/rpcbind         tcp        0      0 192.168.122.1:53        0.0.0.0:*               LISTEN      1843/dnsmasq         tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1392/sshd            tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      1391/cupsd           tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1756/master          tcp        0      0 0.0.0.0:6010            0.0.0.0:*               LISTEN      1892/sshd: jmalapra  tcp        0      0 0.0.0.0:6011            0.0.0.0:*               LISTEN      2461/sshd: jmalapra  tcp6       0      0 :::111                  :::*                    LISTEN      1031/rpcbind         tcp6       0      0 :::22                   :::*                    LISTEN      1392/sshd            tcp6       0      0 ::1:631                 :::*                    LISTEN      1391/cupsd           tcp6       0      0 :::6010                 :::*                    LISTEN      1892/sshd: jmalapra  tcp6       0      0 :::6011                 :::*                    LISTEN      2461/sshd: jmalapra


Extra alignment tab has been changed to \cr ERROR in 12-column bmatrix

That's in a chapter of my thesis template so I dont need \begin{document}. So in this chapter I wanna make a 12-column bmatrix inside this equation like this:  and thats the code im trying to form it: \begin{equation} \left[N\right] = \begin{bmatrix} N_1 & 0 & 0 & N_2 & 0 & 0 & N_3 & 0 & 0 & N_4 & 0 & 0 \\  0 & N_1 & 0 & 0 & N_2 & 0 & 0 & N_3 & 0 & 0 & N_4 & 0 \\  0 & 0 & N_1 & 0 & 0 & N_2 & 0 & 0 & N_3 & 0 & 0 & N_4 \end{bmatrix}  \end{equation}  but I get this error:  Extra alignment tab has been changed to \cr  at the 3 lines after \begin{bmatrix} and I don't know whats the problem.


let $ T \in K ( H ) $ be $ T \geqslant 0 $.   What is the best way to show the following statement?     There is a compact, positive and unique operator $ A$ so that $ A^{2} = T $.   ( K ( H ) defined compact operator)


In a circuit, does a battery create electrons which it 'injects' into the copper wire?

Are electrons created from a battery and then 'injected' into the copper wire? If no, does that mean the battery loses power because the copper wire has run out of free electrons?


Anyone know why providing was used here? Is using which provides here correct?  We have a weekly Western Canada newsletter written by our B.C. and Alberta bureau chiefs, providing a comprehensive package of the news you need to know about the region and its place in the issues facing Canada.


What is the workings to solve $\lim\limits_{n\rightarrow \infty} \frac{n^t}{e^n}$?

Find $\lim\limits_{n\rightarrow \infty} \frac{n^t}{e^n}$ where $t$ is a positive real number.   My answer is that the expression is indeterminate ($\frac{\infty}{\infty}$) but it will tend to $0$ because as $n$ gets large, the exponential term will dominate the polynonial term in the expression, so the expression will tend to $0$ as $n$ gets large. This answer is also the same as the solution provided in my text.  But I am wondering what is the actual workings to solve this? I'd know to because I want to be familiar with all the tricks to solve limits where the expression is indeterminate.


Advantage of Django ORM V/S Performing raw SQL queries

I have been working with django for the past two years but I still can't see the advantage of using django ORM rather than writing raw SQL queries.   Is there any memory efficiency advantage? Is there any configuration advantage? Is there any data migrations advantage? What are the situations I should use Django orm?   Why should anyone use Django orm over raw SQL queries?


Difference between single ampersand and double ampersand?

I know some people have asked about the difference between a semicolon and double ampersand to chain commands. But what I see in , is SINGLE ampersand. What does it mean? What's the difference between these two lines of codes: /opt/mssql/bin/sqlservr & /usr/src/app/import-data.sh & npm start  /opt/mssql/bin/sqlservr && /usr/src/app/import-data.sh && npm start


I'm on windows 10, I need a batch script or a powershell script to solve this problem.  I have downloaded the flash tv series, the structure looks like this      flash tv series folder episode 1 folder episode 2 folder episode 3 folder ...   And the movie files are inside the episodes folders along with subtitles srt sometimes. The folders containing the episodes have different names. The episodes are sometimes mkv and mp4 mostly.   I want a script to search every folder inside flash tv series folder looking for mkv, mp4, srt and move them up to the parent folder so I can add them to a vlc or SMplayer playlist. Because now I can't do that.


I am currently in an live environment and I am trying to clear some disk space. I noticed that a SQL Server database transaction log file is kinda big (12GB).  The recovery model of that database is set to simple. How can I decrease its size without killing any data or wrecking havoc on the server?


Which is correct?         I am writing to apply for the position of ____ in your company.   I am writinng to apply for the position of ____ at your company.   I am writinng to apply for the position of ____ for your company.


Trying to find a live action movie with CGI monsters

The story involved a family (single mother) who moves into a new house.  It turns out that this house is special and goblin like creatures are trying to get into it because there is a book inside which they want.  The house is protected with a magical barrier and the only way the kids can see the monsters is by using some sort of seeing device.  At the end they travel to some place where they meet someone they thought was dead (grand father possibly).  They want to take him back but he can't go because if he returns he would age and die.  The movie is not that old since it had CGI monsters and it was shown on Hulu some time ago.  The language of the movie was English.


How to delete "Program Files" folder in Windows 7

I replaced my current drive C with a brand new drive and installed Windows 7 on the new drive.  I took the old Drive C: and added it to a different SATA port and made it Drive E:  I then renamed the Program Files folder to BillyBobProgramFiles and then tried to delete the folder ... to no avail.  I ran into the TrunstedInstaller problem.    I then took control of the files and gave myself full access.  I then rebooted the computer.  I then signed back on as myself "CTB_DESKTOP\CTBlankenship" (which in and of itself has "Administrator" privledges) and tried to delete the folder again.  I get the error message "You must get permission from 'CTB_DESKTOP\CTBlankenship" to delete these files'.  I'm stumped.  How can I get permission from myself to delete the files I want to delete?


Is it safe to reuse an IV 100 times to a single key with AES CBC?

I have a unique 6 digit number that I am generating a IV from. I am trying to make it as unique as possible. From my programming, I am able to get it down to only have 100 duplicate IVs per unique 6 digit number. Now I have read that reusing IV's is a big no no because it leaks information. My question now, assuming I am only using 1 key and if someone has gained access to my database of 1 billion records and has the encrypted string as well as the IVs. If each IV is only reused 100 times, would they be able decrypt the encrypted string based off only that information? If so, how would they be able to?


Laptop not responding and overheating in bag

This happens when I close the lid/suspend with power button, and put the laptop into my bag. When I take it out the laptop is overheating, and is frozen. The screen usually is on when I open the lid, with some things typed into the password field (gdm), but sometimes it is also black. The only way to get back into the system is to shutdown by holding the power button. It seems like the problem is that the screen presses the buttons while suspended, but why is it overheating and screen frozen?  This does not happen when I am using the laptop on a table.  Laptop: Dell Inspiron 5480, Dual boot with windows and ubuntu 18.04LTS.  output of cat /sys/power/mem_sleep:  s2idle [deep]   Edit: Problem still persists after changing to deep. This may be a hardware problem.


Hi, I would like to animate my world color but not sure how i can do it. In the first keyframe, I would like my world color to be pitch black. However, in the 40th keyframe I would like my world color to be a light grey. How do I do that? Thanks!


Take the question:      Did you not go to the store?   If I did not go to the store, should I then say yes? Or no?  If I did go to the the store, would my answer then have to be yes or no?  For me I would think that if I did you go to the store, then the answer to the question would be 'yes'.


How do I fix vertices scaling towards selector?

I've recently started using blender, and was working with it just fine, when I accidentally changed how the scaling and rotating works. Now when I try to scale something, it scales as if the selector was the senter. Axis locked translations are also affected by this, as I have to find the selector to translate it.


Accounts still there hours after deletion countdown completed

I have 3 accounts that I am deleting - however, several hours after the 24 hour (+ grace period - end about 4-5 hours ago), the countdown completed, but disappeared and the accounts are still there.   I would rather not go through another 24 hours, and would like to have these accounts deleted (and yes, I have thought about it and this decision is not up for discussion).  Currently, the accounts are still there.  Could this please be seen to?


Are "what language...?" questions on-topic?

The phrase "what language" in a title tends to be followed by one of:   "is this?" (code snippet) "should I use for X?" "is X programmed in?"   See ,   I'd argue that    (1) does not demonstrate minimal understanding, or even a problem (2) is opinion-based (3) is a weird combination: does not demonstrate a specific problem in an off-site resource   But, before I flag most of the ~400 (eventually), are these questions on-topic?


Regular Expersion in Asp.net Model Data Annotation

I have add some special characters to be accepted by the input text field In model   [RegularExpression(@"^[a-zA-Z./@/- ]+$", ErrorMessage = "The Last Name field should contain letters only.")] public string LastName { get; set; }   This makes to throw error like parsing "^[a-zA-Z./@/- ]+$" - [x-y] range in reverse order But requirement is to accept these " / , - @ " special character also by the field.


How to solve this Complex inequality system

$1 \leq z \overline {z} \leq 4$ and $|\Im(z)|<\Re (z)$  How can I solve this system of inequalities? ($\Im$ is the imaginary part and $\Re$ is the real part of a complex number).  I have tried so far: $z=x+yi$ and then I get $1 \leq x^2+y^2 \leq 4$ and $ |y|<x$. How can I solve this?


bounding a $C^1$ function that upholds $f'(t)\leq 1-f(t)^2$

Let $f:\mathbb{R}\to\mathbb{R}$ be a function which is continuously differentiable.  Suppose that $\forall t\in\mathbb{R}$ it holds  $$f'(t)\leq 1-f(t)^2$$ Prove that $\forall t\in\mathbb{R}:|f(t)|\leq 1$.  I know about some comparison theorems, i.e. if we have a solution (in a compact domain) of the Riccati equation $\dot{x}(t)=1-x(t)^2$, with the same initial value as of $f$, then in this domain we get that $f\leq x$. My problem is that it only gives an upper bound and not a lower bound.


Looking at the Wikipedia page on , I see that $n! < \frac{n^n}{2^n}\; \forall n>6$ I have been trying to prove that $n! < n^n \; \forall n>5$ using induction myself and my result is a clear special case of the above inequality. Does anyone have any hints on how to show either of these using induction? This came up when a student inquired about proving the convergence of a series, and induction seemed easier to show than a proof using Stirling's Approximation, but I can't seem to find a proof.


How to prove $P(A\cap B)\geqslant P(A)+P(B)-1$?

I want to prove $P(A\cap B)\geqslant P(A)+P(B)-1$.  How can I simplify the following proof?  $P(A\cap B)=P(A)-P(A\cap B^\mathsf{c})=P(A)-1+P(A^\mathsf{c}\cup B)=P(A)-1+P(A^\mathsf{c})+P(B)-P(A^\mathsf{c}\cap B)=P(A)+P(B)+P(A^\mathsf{c}\cap B^\mathsf{c})-1\geqslant P(A)+P(B)-1$


Is there any way to get the length of an array after you declare it in C?

For example a code like:  int arr[5] = {1, 2, 3, 4, 5}   Is there anyway to get the 5 in arr[5]? I haven't learnt C++ before.


High-traffic, low disk utilization AWS solution

I've got a high-traffic (imagine tracking server) node.js server that's going to run on AWS EC2. There is no disk operation involved, but a lot of DynamoDB requests (in same zone), ElastiCache usage and as I said - a lot of network I/O (small packets, < 0.5kB, about 5-10 per second).  What would be best solution for this situation? A few smaller-scale servers like m1.medium or m1.large in a load-balancer, or a single m1.xlarge server? Main problem with xlarge I have is that it offers a lot of storage which I absolutely don't need...


I just got into Arena 7, and unlocked my crown chest after the same battle, will my crown chest have the chance of giving Arena 6- Cards only or will it count as an Arena 7 crown chest?


use a pointer and be able to use class member functions

So I have a pointer SparseMatrix *mat which holds values of the sparsematrix in a triplet format from a file. After I get the values, I would like to be able to just print it out using a print function I created in the SparseMatrix() class. However, I realize that this works if it wasn't a pointer and just 'mat'. I feel like this is something simple but I just cannot wrap my head around it. Any suggestions? Forgive me if this is an extremely noob question. Also, the reason I'm even using a pointer in the first place is because I am trying to visualize a sparsematrix using QT and my professor had given the basic backbone of the code. In that code, a private variable, SparseMatrix *mat was given.


How can I adjust brightness settings when I am on battery?

I can't find brightness settings that work from battery mode in the Ubuntu 11.10 screen settings.  There are some settings from Ubuntu 11.04 in gconf, 90% for AC and 60% for battery, but it doesn't work.  How can I have my display brightness dim automatically when on battery power?


The rule to scale pixel art non multiple of integer ratios

I have pixel art, I want to draw. When player jumping I want to animate the art to squash stretch to have a feeling. But when I scale the art it get's distorted, as demonstrated in the image.  In one video I heard a rule to always scale to multiples of 100% ratio. So 150% is not allowed otherwise pixels collapse into each other. I haven't experienced that in this image but is it ok to scale arbitrarily in pixel art? I see they scale the sprite arbitrarily in Celeste Game Player . But It feels wrong to me.


BeautifulSoup - modifying all links in a piece of HTML?

I need to be able to modify every single link in an HTML document. I know that I need to use the SoupStrainer but I'm not 100% positive on how to implement it. If someone could direct me to a good resource or provide a code example, it'd be very much appreciated.  Thanks.


Ellipse problem: why are those two angles equal?

I have been introduced, in class, to Newton's proof of the gravitational law. I was studying it, and one passage in the way it was presented did not convince me. So, I tried , where I found this picture, which is more or less the same picture I drew with GeoGebra by recomposing all the construction in the lesson notes:    The curve is an ellipse (the trajectory of the orbiting body), $P$ is where the body is, $A$ and $B$ are endpoints of the axes, $S,H$ are the foci, $C$ the center, $Qx$ is parallel to the tangent $PR$, $PF$ is orthogonal to $DK$, $DK$ is the diameter parallel to $PR$, $PG$ the one through $P$, $HI$ is parallel to the tangent line, $QT$ is orthogonal to $PS$, and $v$ is unclear to me. Referring to this figure, Wikisource's text states that $I\hat PR=H\hat PZ$. Why is that so?


Screenshot taking a very long time to appear on desktop

I have just upgraded to High Sierra from Sierra, and immediately I noticed that screenshots would take a good 10-15 seconds before appearing on the desktop. How can I fix this?


C# String.Format Input string not in a correct Format

I'm getting an exception "Input string was not in a correct format". I don't understand why.  I looked at the , but that didn't give me any ideas.         string body = string.Format(@"{                           ""credentials"": {                                         ""name"": ""{0}"",                                         ""password"": ""{1}"",                                         ""site"": {                                         ""contentUrl"": ""{2}""                                                   }                                             }                                 }",Username, Password, siteName);   Not enough sleep and old code... I was deserializing the response but not serializing the request 🤦♂


Ubuntu16.04  is installed on my laptop and now I want to remove ubuntu and install windows. I have windows iso file  so I made a bootable usb pen drive using "disk image writer"  feature on ubuntu. But when I am trying to boot from usb drive it shows that "installation media is invalid" So how can I make a bootable usb drive of Windows on ubuntu?


How to get Google search results and exclude sub-pages?

Sorry if question title isn't clear. Let me explain with an example.  Search term: Blogging  Results I got from Google     › ... › Home Business › Home Business Toolbox        I want to remove 1,2,3 and 7. I am looking only the home page (full domain) as result. Is it possible?


How to Create Bootable Windows 10 image in Debian?

Pseudocode but originally developed for Windows 7 iso file but applied for Windows 8 in the thread  but it does not work with Windows 10 iso  # https://rwmj.wordpress.com/2010/11/04/customizing-a-windows-7-install-iso/ # https://unix.stackexchange.com/a/312477/16920 $ dd if=../en_windows_10_x64_dvd.iso \     of=boot.img bs=2048 count=8 skip=734  $ mkisofs -o ../new-win.iso -b boot.img -no-emul-boot -c BOOT.CAT \     -iso-level 2 -udf \     -J -l -D -N -joliet-long -relaxed-filenames .   Unsuccessful output when run on Windows 10 image  dd if=/home/masi/Downloads/en_windows_10_multiple_editions_version_1511_x64_dvd.iso of=/home/masi/Downloads/boot.img bs=2048 count=8 skip=734 8+0 records in 8+0 records out 16384 bytes (16 kB) copied, 0.000392973 s, 41.7 MB/s    Some of the following fields have changed for the iso file used in dd   bs=2048 count=8  skip=734   How can you study which field values you can use for Windows 10 iso?  OS: Debian 8.5 64 bit Hardware: Asus Zenbook UX303UA Linux kernel: 4.6 of backports Related threads: ,  Motivation: I need Windows 10 to use Canon P-150 duplex scanner, but when I started my Windows, I got Error 0xC0000428 because Windows update has again broken things there and I use Windows otherwise so rarely; and I have no spare Windows left to make bootable media


Is 50 minutes of transit time ample in Amsterdam airport?

Arriving in AMS in a Delta flight from Bombay at 7 AM. Departure at 7.50 AM in a KLM flight flying to Detroit. On a single leg ticket. Is this going to be time enough? Or should one just bolt as soon as the flight lands?  A google just shows the layout of the airport and there don't seem to be dedicated terminals for airlines.  Edit In case the connecting flight is missed. On a ticket which is non refundable (non - everything - as this was the cheapest ticket), what happens when one misses a connection? Whose responsibility are the next steps? What should be the next steps? Reading other questions about AMS, with 50 minutes, it seems that the luggage is sure to be delayed. Sigh.  Edit 2 It's been a while, but when I was transiting, 50 minutes was pretty ample enough.


How do I prove that there is no isomorphism between $\Bbb Z$ under addition and $\Bbb Q$ under addition?   They both are infinite order. I thought they might be isomorphic.  Help would be appreciated!  Thanks in advance!


Downloading blender on chromebook google chrome

Due to me wanting to download blender and it being a complete struggle , i need help. It is driving me nuts and I just want to use blender.


How can I kill a  process whose parent is init?

Transmission is intermittently hanging on my NAS.  If I send SIGTERM, it doesn't disappear from the process list and a <defunct> label appears next to it.  If I send a SIGKILL, it still doesn't disappear and I can't terminate the parent because the parent is init.  The only way I can get rid of the process and restart Transmission is to reboot.  I realize the best thing I can do is try and fix Transmission (and I've tried), but I'm a novice at compiling and I wanted to make sure my torrents finished before I start messing around with it.


How to stop two phones ringing when one is called?

My husband's and my phones both ring when either one is called.  How do we unlink them?


shopt -s nullglob shopt -s failglob find . -maxdepth 1 -type f -name '*[0-9][0-9]o' -printf 'x' | wc -c   I need to assign the numeric result of the find command to a variable. For example:  a=find . -maxdepth 1 -type f -name '*[0-9][0-9]o' -printf 'x' | wc -c.   How can I assign a variable for the result of the find function?


Ubuntu 16.04 poor wifi signal and high battery usage

After installing ubuntu 16.04 I am getting a very weak wifi signal.   Currently, I am sitting 3-4 feet away from my router and I have only 2 bars of wifi signal on my HP Envy M6 notebook. I have checked my TP-link router with my tablet and phone - they both have full bars.  I also feel that this OS is draining my battery faster than Windows 8 (I'm using a dual boot).


I want to reverse the polarity of my current source, which is a capacitor in this case, in the middle of discharging phase. Also the capacitor bank is being discharged through a coil to make a short time electromagnet. What I want is to reverse the polarity of that magnet in middle of discharge. How can I achieve this using MOSFETs or other fast switching components?  Below is the single polarity simple circuit. Also I'm using polarity sensitive capacitors in my capacitor bank.  I know that H-bridge would be the component in this situation, but I'd like to build my own "H-bridge" using n- and p-type MOSFETs to handle these high currents.         – Schematic created using


how to convert python __len__() into java

i have been working on converting a python code to java related to my research work, i have a query in Python len() object. my problem is in [::-1] as the code provided.  i have tried to do it in java by simply an incremental loop but it does not work. it gives array out of bound exception at temp_line.split('$target/')[1].   for i in range(0, script_lines.__len__())[::-1]:    temp_line = script_lines[i]         if "$target/" in temp_line and "cp" in temp_line:            Case_num = 1 + int(temp_line.split('$target/')[1].split('.txt')[0])             return Case_num   i want to know what does [::-1] mean in the code so i can convert it to java.


What is the maximum number of partitions in a hard drive

I want to know the maximum number of partitions in a hard drive.   But I'm not sure whether that is affected by factors such as hard drive types or partition scheme or not. So, I'll just write down all possible cases that I can think of.  Questions   Does the number of maximum partitions per hard drive affected by    partition scheme (GPT vs MBR) The type of hard drive (SCSI/SATA vs IDE - because SATA and SCSI are both treated as SCSI)  What is the maximum number partitions for a hard drive for each case? I think the possible cases include   GPT:   max num of partition per SCSI/SATA hard drive? max num of partition per IDE hard drive?  MBR: for MBR, there's the concept of primary, logical and extended partition. logical partitions only exist if an extended partition exists (and there can only be at most ONE extended partition per hard drive). So the questions are:   Does the number of primary partitions affect the number of possible logical partition? (i.e. Does it make any differences to the maximum number of logical partitions if I have 0 or 1 or 2 or 3 primary  partitions?) max num of logical partition per SCSI/SATA hard drive? max num of logical partition per IDE hard drive?


Which one is correct of the following.   The Horse fell and broke its leg. The Horse fell and broke his leg.


What is the reference point that the focal length of a lens is calculated from?

I understand the idea of a focal length for a single lens, i e the distance from the lens to the point at which parallel rays of light converge. However, in the case of a photographic lens with multiple lens elements, where exactly is the focal length of the lens as a whole measured from?


Where to put the periods: full parenthetical sentence at end of sentence?

I  where to put the period when there is a note in parentheses at the end of a sentence. However, I would like to know what to do in the case where there is a full sentence, or multiple sentences, inside the parentheses contained at the end of a sentence. For example:  This is a sentence (I am also a sentence. This is yet another sentence.).  Note the .). at the end. Is this correct?


Where should I go to ask a question about guns?

I spend most of my time on the Writing Beta SE, because I'm a writer.  I have a question about how to refer to and explain gun mechanics in my novel, as I am not experienced with guns, but these types of questions usually are closed as asking "what to write".  Is there a weaponry SE, or another relevant SE to post this question to?


Prove $\left|\begin{smallmatrix} \sin^2x&\cot x&1\\ \sin^2y&\cot y&1\\ \sin^2z&\cot z&1 \end{smallmatrix}\right|=0$ if $x+y+z=\pi$

If $x, y, z$ are the angles of $\Delta ABC$, then evaluate     $$ \Delta=\begin{vmatrix} \sin^2x&\cot x&1\\ \sin^2y&\cot y&1\\ \sin^2z&\cot z&1 \end{vmatrix}=\quad\color{red}{?} $$   My Attempt  $$ \Delta=\frac{1}{\sin x\sin y\sin z}\begin{vmatrix} \sin^3x&\cos x&\sin x\\ \sin^3y&\cos y&\sin y\\ \sin^3z&\cos z&\sin z \end{vmatrix}= $$ How do I proceed further and prove that the determinant is zero ?


The Most Efficient Way To Find Top K Frequent Words In A Big Word Sequence

Input: A positive integer K and a big text. The text can actually be viewed as word sequence. So we don't have to worry about how to break down it into word sequence. Output: The most frequent K words in the text.  My thinking is like this.    use a Hash table to record all words' frequency while traverse the whole word sequence. In this phase, the key is "word" and the value is "word-frequency". This takes O(n) time.  sort the (word, word-frequency) pair; and the key is "word-frequency". This takes O(n*lg(n)) time with normal sorting algorithm.  After sorting, we just take the first K words. This takes O(K) time.    To summarize, the total time is O(n+nlg(n)+K)， Since K is surely smaller than N, so it is actually O(nlg(n)).  We can improve this. Actually, we just want top K words. Other words' frequency is not concern for us. So, we can use "partial Heap sorting". For step 2) and 3), we don't just do sorting. Instead, we change it to be  2') build a heap of (word, word-frequency) pair with "word-frequency" as key. It takes O(n) time to build a heap;  3') extract top K words from the heap. Each extraction is O(lg(n)). So, total time is O(k*lg(n)).  To summarize, this solution cost time O(n+k*lg(n)).  This is just my thought. I haven't find out way to improve step 1). I Hope some Information Retrieval experts can shed more light on this question.