Do closed questions automatically get downvoted or not?

In , closing a question for some reasons (then off-topic and not a real question) caused the Community user to downvote the question.  Officially, . Yet I still observe that closing a question as  instantly decreases a question's score by 1, and reopening increases the score by 1. I can't swear that this is systematic but I've definitely seen it happen many times.  's a recent example. The timeline shows that the question received two downvotes. But while it was closed as unclear, its score was -3, and since it was reopened its score is back at -2.  I'm tagging this  because the site behavior contradicts the . I don't mean this as an opinion either way on whether automatic downvotes should or should not happen: just get the story straight, please.


Why $537 a month for $100,000 loan, 5% interest, 30-yr term?

Apparently, a $100,000 loan with an interest rate of 5 percent and a 30-year term carries a payment of $537 a month.  Why? I've fiddled with the numbers in various ways and can't get $537. For instance, ($100,000 * 1.05) / 30 / 12 = $292 a month.


How to prove $a \lt b$ for all $a \in A, b \in B$ implies $\sup A \leq \inf B$?

If $A, B$ are two non empty sets of real numbers and for every $a$ from $A$ and $b$ from $B$     $a < b$,   how can I prove that      $\sup A \leq \inf B$?


How can I calculate this finite sum? Can someone help me?       $$\sum_{j=0}^{n-1} j^2$$


categorical property: every morphism can be decomposed into an epimorphism and monomorphism

Certain categories have the property that for every morphism $f:A\to B$ can be decomposed into an epimorphism and monomorphism. with some intermediate object $C$. e.g. Grp has this property.  Is there a name for this so I can look it up?


Closing Reject Suggested Edit dialogue freezes review process

If you go to review a suggested edit and close the Reject dialogue box, the button at the top-right will continue to say "Rejecting...". You will not be able to continue with the review process.  I have refreshed the page, and tried clearing my cache. If I refresh the page, I can continue reviewing the edit.  I'm using Chrome Version 31.0.1650.57 m.


Is there a way to detach one Stack Exchange site from the rest of the sites and move it to a different account/email?

I'm beginning to posts answers / ask questions on the Workplace Stack Exchange site. I believe at a point I might write something which could be seen in a different light.  So, is it possible to detach/move my Workplace Stack Exchange account to a different email or account? Changing the display name doesn't really help.


I have derived the inequality if $k>1$,  ${n(n-1)⋯(n-k+1)\over k!} ({1\over n})^k<{(n+1)n⋯(n-k+2)\over k!} ({1\over n+1})^k$  But, my problem is how to use this inequality to prove that if $n\geq1$, $(1+{1\over n})^n<(1+{1\over n+1})^{n+1}$


Stack Exchange dropdown list, Inbox and Achievement dialogs are not working in the stackexchange.com

The Stack Exchange dropdown list which is in the left hand side top of the header is not working in the  site.  The Inbox and Achievement dialog boxes are also not responding.


I want to activate CSS using JS. Let's say I have this code, and I want to enlarge a picture at first click and then send it to the right after at the second click, but it's not working. Is the function correct?  How can I use JavaScript to control the CSS of an element?          I want it to activate this CSS:  .mystyle { position: absolute; left: 50%; margin-left: -100px; }  .mystyle2{     float: right; }


Answers voted on before answer is created in Data Explorer

When using the Data Explorer for Stack Overflow, I've found some cases of answers having votes before their creation date. For example,  shows the first vote being made 2011-07-09, while the answer was created on 2011-07-10. My assumption is that this is because the Votes table does some sort of rounding on its columns (evidenced by the 00:00:00 timestamp), while the Posts table takes exact date times. Is there something else going on that I'm missing?


Can I use older stories of Vampire: The Masquerade with the 20th edition?

I have been interested in Vampire for a few years but have just finally found some friends that would be willing to play such a game and came across older books for the game. As I have never played a roleplaying game and plan on being the game master, I would like to use some of the stories already made for the game.  I have heard that the 20th anniversary is the way to go when it comes to the core book, but it seems much easier to pick up the supplements for older versions and also there are just more supplements for the older versions.  Can I use those those stories with the new rules or will i have to buy an older book. I have right now Alien Hunger and Awakening: Diablerie Mexico.


How to take a screenshot of a whole desktop with app menu selection?

I want to take a screenshot of a whole desktop with Applications Menu selection.How to do this?


sudo apt-get install php5    doesn't work (no such package...), however, changing php5 to php5.6 works.  Any ideas? Thanks!


Why did the gods take the Raven Queen's authority over the dead?

Why did this happen? and now that Nerull is dead in 4e, and the Raven Queen rules over the death itself, who rules over the death?


How to extract part of text that comes before first space in string?

How to extract only a part of text that comes before first space in string e.g. given John Mathew, I want to get should be John.  I tried SUBSTRING and that worked for names like above but not like these Morris, Stephen but worked for John Mclane, Hassan Shehryar. why ?   Select      PersonalInfo.PersonalInfoName  From      PersonalInfo Where      PersonalInfo.pk_PersonalInfo_ID = @PersonalInfoID   The main column is PersonInfoName


Sigma algebra generator set of product space

Let $(X_1, \mathcal{F}_1)$, $(X_2, \mathcal{F}_2)$ be two measure spaces. Suppose $D_i$ is the generator of the $\sigma-$algebra $\mathcal{F}_i$, $i=1, 2$.   Question:(1) Is $D_1\times D_2=\{A\times B: A\in D_1, B\in D_2\}$ a generator of $\mathcal{F}_1\otimes \mathcal{F_2}$?  (2) What if in addition $D_i$ is closed under intersection?


Where do the files go if you mount a drive to a folder that already contains files?

I just accidentally mounted a new drive to a folder that already contained files.  I don't care about them and have them somewhere else, but that folder appears empty now.  I'm curious what happened to the files.  Are they simply deleted by Linux?


If you try to block with your finger the flow of the water out of the faucet or a water hose, the water's speed increases. But while you're blocking the water flow out of the faucet by turning the handle, the speed doesn't increase. So what's the difference between the two ?


I've looked everywhere and can't seem to find an answer to this issue.  All I want to do is generate a UV Map, upload an image onto that UV Map, and then export a .ply file with the vertex colors baked in from the uploaded image.  I'm using 2.76; Blender seems to really want to go the other way. When I 'bake to vertex colors' it doesn't seem to have an option to pull the colors from the UV map.  thanks in advance.


How do I set the proper exposure for nighttime moon photos?

All my attempts to get a good shot of the full moon with my DSLR result in an overexposed circle on a black background.  I've tried using a tripod, remote shutter release, low ISO, and long exposure, but nothing has worked so far.  What combination of ISO and exposure time that will produce good results?   I particularly want to catch a full moon with the reddish effect when it is close to the horizon.


What is exactly the difference between a definition and an axiom?

I am wondering what the difference between a definition and an axiom.  Isn't an axiom something what we define to be true?  For example, one of the axioms of Peano Arithmetic states that $\forall n:0\neq S(n)$, or in English, that zero isn't the successor of any natural number. Why can't we define 0 to be the natural number such that it isn't the successor of any natural number?  In general, why is an axiom not a definition?   Are there cases where we can formulate definitions as axioms or vice versa?


In a finite set of positive integers, if we replace any two elements by their GCD and LCM in one step, the numbers stop changing eventually.

Here's my proof:  We designate an active pool that includes precisely those integers that will be involved in the process at some point, and for which there exists at least one integer such that performing the process on the pair actually results in the changing of the set. Then we implement the following iterative process:  Choose any two arbitrary integers in the active pool and replace them by their GCD and LCM. Then, if the GCD will never be used for the process again, we remove it from the active pool. If the GCD is $1$, it is also removed from the active pool. Otherwise, it is placed in the active pool, and the process reiterates.  Clearly, this process halts in finitely many steps, as size of the active pool is reduced to nil, and thus when the numbers stop changing.  I don't think that the proof is incorrect, but it feels uneasy. So, is it actually correct?


How can I tell if a CVE has been fixed in Ubuntu's repositories?

Today a couple of buffer overflows in NTP were announced , . It looks like updating my system to fix these issues is in order.   How can I find out if they have been fixed in the Ubuntu repositories, such that if I were to run:   sudo apt-get update sudo apt-get upgrade   then the fix would get installed and the vulnerability closed?   Edit: The selected answer specifically addresses the question of how to identify if a given CVE has been fixed or not, "Does Ubuntu generally post timely security updates?"  is certainly related but not identical


Can Mirror Image effect be negated with a single Sacred Flame?

description says  Each time a creature targets you with an attack during the spell's duration, roll a d20 to determine whether the attack instead targets one of your duplicates.  The  cantrip does not require the caster to make a spell attack, its effect depends on the target's saving throw instead:  Flame-like radiance descends on a creature that you can see within range. The target must succeed on a Dexterity saving throw or take 1d8 radiant damage.  This implies Sacred Flame , revealing the original. Is it correct, if somebody casts Sacred Flame, the "each time a creature targets you with an attack during the spell's duration" part doesn't work anymore, since everybody already knows where the original is?


I use QGIS 2.18.5 and I get in stuck with two polygons I cannot solve. The two polygons I have looks like:  What I want to get is circled with red:  What I tried/made: Cut 1 polygon and paste to other layer. Used polygon to lines toolbox then explode lines, then deleted the lines which do not needed then used the add feature to connect lines. Last I dissolve new lines then convert lines to polygons. The new polygon looks like that I wanted to get in QGIS but when I use wayline converter which convert polygons to my tractor GPS it is only shows that polygon what was originally on that layer when I started. Look I deleted the line I do not need:  When I select Vertex Tool it appears the line I deleted earlier:  I think this is the main problem but I do not know how to remote it well.. How can I solve this problem?


Returning hashmap keys in order of value in Java?

Is there a way to do this? I was thinking it could be done with streams but I'm not super experienced with them and would like some help regarding that. For example: If the hashmap is currently like: "A" : 5 "B" : 2 "C" : 4 You then return ["A", "C", "B"].


Why is $\mathfrak{so}(3,1)_{\mathbb{C}}^\uparrow \cong \mathfrak{su}_\mathbb{C}(2) \oplus \mathfrak{su}_\mathbb{C}(2)$

I am studying the orthochronous Lorentz algebra $\mathfrak{so}(3,1)^\uparrow $ and it reads  $$ [X_i,X_j]=i \varepsilon_{ijk} X_k $$ $$ [X_i,Y_j]=i \varepsilon_{ijk} Y_k $$ $$ [Y_i,Y_j]=-i\varepsilon_{ijk}X_k $$  If I complexify this by taking complex combinations of the form  $$ X_i^\pm = \frac{1}{2}(X_i \pm iY_i)$$  I find that I have two $\mathfrak{su}(2)$ Lie algebras:  $$ [X^+_i,X^+_j]=i \varepsilon_{ijk} X^+_k $$ $$ [X^-_i,X^-_j]=i \varepsilon_{ijk} X^-_k $$ $$ [X^+_i,X^-_j]=0 $$  which is two $\mathfrak{su}(2)$ subalgebras, so I should be able to say that $\mathfrak{so}(3,1)_{\mathbb{C}}^\uparrow \cong \mathfrak{su}(2) \oplus \mathfrak{su}(2)$. However I have read in a lot of places, including , that $\mathfrak{so}(3,1)_{\mathbb{C}}^\uparrow \cong \mathfrak{su}_\mathbb{C}(2) \oplus \mathfrak{su}_\mathbb{C}(2)$. Why do the $\mathfrak{su}(2)$s have to be complexified? The commutators of $\{ X_i^\pm, Y_j^\pm \} $ are $\mathfrak{su}(2)$, why can I complexify them? and why should they be? Is my decomposition not correct?


A Script to insert dummy Data in all tables of DB

There is an SP posted in the below link stating that it will insert dummy data in the entire DB. But the SP works only for a single table. Can anyone please share the one where we can insert dummy data throughout the db?


Different Color When Rendered? (Not Material)

I have made a model of a building. I was using the make face tool, but when I extruded it, it was a different color than the rest.   Its not any different material or anything either...


Clever way to connect multiple images to on-click macro - VAB Excel

I have asked this question before, but admittedly in a terrible way, so I am asking this again. So here I am once more.    I am making a program in VBA Excel - or better, combining a certain worksheet with actions and parts of code to make something that works like a stand-alone program. Part of it involves the  binding of a number of images (tens of them) to a certain macro, on click.    I have created the said images through the "Developer"->"Design Mode" button. The images are named in the fashion: Image1, Image2, Image3... etc. What I want is, if, for example, I press Image1, the subroutine Action(1), is called. If I press Image100, I want the subroutine Action(100) to be called. Therefore, I want to call the Action Subroutine passing a value according to which image is clicked, in the example I gave you, according to its name.    With a quick search, the first way I found out to make this work was the one below:  Sub Image1_Click()      Call Action(1) End Sub   That was for a click on Image1. For a click on Image100, that would be:    Sub Image100_Click()      Call Action(100) End Sub     The downside of using solely this way is obvious: I would need to create as many on-click handlers as the images I have, even though the same routine is called every time and all that matters to get the value to be passed is the image name.    So, given the obvious order of my logic and of what I want to achieve, I would like you to provide me with a more clever way to create on-click events for all my images, without having to use so much redundant code and an obviously not-optimal logic.  NOTE:In case of confusion, the Action Subroutine IS the same for all images. Only the value passed changes.


What is the difference between a Schengen visa being revoked or being annulled?

What is the difference between revoked and annulled Schengen visa? Does it means the same thing, or are they separate?


Stop the segregation madness. Merge all Stack Exchange sites and differentiate them by tags

Possible Duplicate:    Tag all the  questions with . Tag all the  questions with . Tag all the  questions with . Tag all the  questions with . Do the same for every other Stack Exchange site. Merge the databases. Set up one site which shows all questions. Set up all the other sites to filter questions based on their tags. Make  only show questions tagged . Make  only show questions tagged with . ...and so on. Why all the trouble?  one search query could give relevant results from all sites questions could appear on many sites at once (e.g. a question about git server on Ubuntu could appear on Stack Overflow, Server Fault, Unix SE and Ubuntu SE). migrating questions could be done by retagging  I don't care what you do with the reputation. I think tag based reputation is reasonable.  Update: I learned that the unified searching can already be done here: . I also learned that I should read the  more often. The other points still stand, although I care much less about them now that I can search across all sites.


Can I uninstall my apps or packages on Ubuntu 20.04 perfectly?

I installed many apps through Terminal. I notice that my storage had 120GB left and I installed 1 GB app then I uninstalled it and I got 119.5GB left. Where is my 500MB??? so my storage keeps decreasing day by day I've tried apt-get purge  to remove compeletely but my storage's still the same I've been using Ubuntu for 2 days so please help


If traveling at speed $c$ in space, we would be resting in the "time" dimension?

Please don't mark as duplicate. I am asking specifically for the 4vektor formula to see at speed c in space, I will get 0 for the time dim.  I was reading this question:    specifically the #2 question   "If a body is at rest in the classical 3 dimension, it would travel through time at cc, but if traveling at cc in space, it would be resting in the "time" dimension.."  I understand the first part. But specifically my question is about this part:"but if traveling at cc in space, it would be resting in the "time" dimension"  And John Rennie's answer where he says   "As it happens, you are absolutely correct."  v⃗ =(c(dt/dτ),dx/dτ,dy/dτ,dz/dτ)  I understand that if I am at rest in space then I am still moving at speed c in time. The magnitude is always c. But I don't understand if I am moving at speed c in space, how can the four-velocity explain that I am at rest in time, so my time component c(dt/dτ) is 0?  Question:   How can you explain with the four-velocity that when something is moving at speed $c$ in space, then it is at rest in time?


How to understand a volatility based ETF like VXX

The ETF VXX is based on the volatility index VIX. If volatility goes up, VIX goes up and VXX goes up. Similar thing for the downside. Now when I buy an ETF like SPY, I can conceptually understand that I am buying a small portion of each of the underlying companies. So if an underlying company stock makes a move, the ETF SPY makes a move in  the same direction.  But when I buy VXX, what exactly is the underlying? It is VIX. I am unable to grasp the concept of 'volatility' as the underlying. I can visualise only stocks and commodities as the underlying because in my understanding, the unerlying needs to be something physical (let us say stocks are physical commodities for this example).  Can someone explain the concept of 'volatility' as the underlying?  Is the word 'underlying' even appropriate in this case or is the word 'underlying' only to be used for derivative products?


Can binary cross entropy loss be used for non-binary data?

I am following this keras tutorial to construct a convolutional MNIST autoencoder. The decoder has a sigmoid activation function and the entire autoencoder is trained with binary_crossentropy loss. This makes sense to me if the pixel values are completely binary. However, I noticed that the digits are normalized between 0 and 1 and can take on values in the middle. (x_train, _), (x_test, _) = mnist.load_data()  x_train = x_train.astype('float32') / 255.  x_test = x_test.astype('float32') / 255.   While majority of the pixels take on 0 or 1 values, often times the edges take on intermediate values (the greenish pixels in the example image above). Therefore, wouldn't relu or some other activation function be more appropriate? I've seen many tutorials use sigmoid and binary_crossentropy, so I feel like I must be misunderstanding why these were chosen.


one public IP - many sub-/domains - many local servers

I have one static public IP where 20+ domains/subdomains (A-records) pointing on it. On the LAN-side I have 10+ servers (boxes) running alot of services each (http, smtp, imap, ssh, ftp, rdp, etc.). This servers should be accessable with all services/ports from the WAN with the correct sub-/domain pointing to it.  Which soft-/hardware solution is needed to forward the domains to the correct server?  After two days researching, I lost track for this project. Is a reverse proxy, HAProxy, load balancer, biNAT or a special DNS the correct solution.  UPDATE: isn't it possible to handle every port/service over a proxy-server which checks the given domain e.g. "abc.example.com" and port e.g. "22" and the proxy knows which local server is meant and builds a connection to the local server?


Book Chronicaling a Civilization's Journey from Nomadic Tribe to Space

I'm looking for a book that I read several times in the early 80s and I'd like to try to find to give to my own children.  I can't remember the title or author but I can give a description of the prologue.  The opening panels detail a spaceship traveling on a collision course with earth with and astronauts dead hand on the controls.  The ship (crash?) lands on earth in the mid to late 20th century.  The aliens are essentially 12 foot tall humans with much hardier bodies and long lifespans.  After careful examination of the aliens and their ship a series of books is found whereupon there is a great effort to decipher the writing.  A young linguist becomes fascinated with the task and becomes obsessed with cracking the code and he spends the majority of his life trying to solve the riddle.  After a lifetime of work he has his eureka moment as an old man and the rest of the book is the "translation" of the chronicle that was found in the spaceship.  The book was a large-format hard cover graphic novel (comic book panels really but it was a single book) with a spaceship traveling through space.


I am currently self-studying abstract algebra from . In that background, I am looking for a problem book in a spirit somewhat similar to  so that I have a lot of problems to solve.


Default vertical page alignment for documents

I notice that when I change  \documentclass[a4paper, 12pt, openright]{report}   to  \documentclass[a4paper, 12pt, openright, twoside]{report}   the vertical page alignment shifts to "center", while before it seemed it was "top".      Why is that? Is there anywhere I can declare default vertical alignment to be "top" for the whole document. I prefer not using extra/special packages.


Which, and why, do you prefer Exceptions or Return codes?

My question is what do most developers prefer for error handling, Exceptions or Error Return Codes. Please be language(or language family) specific and why you prefer one over the other.  I'm asking this out of curiosity. Personally I prefer Error Return Codes since they are less explosive and don't force user code to pay the exception performance penalty if they don't want to.  update: thanks for all the answers! I must say that although I dislike the unpredictability of code flow with exceptions. The answer about return code (and their elder brother handles) do add lots of Noise to the code.


Is there a word or phrase for someone who works hard at night and does not sleep?

All the words or phrases I know for people who stay up at night merely describe the habit of not sleeping (e.g.: a night owl or insomniac)  I am looking for a word or phrase with an emphasis on working hard at night. These people work are different from insomniacs because they have no problem sleeping but they refuse sleep to work. They are different from night owl because they wake up early in the morning.  To give more context, suppose a nurse with kids who has a normal day life like most people and takes care of the kids but also works most nights in a hospital.


How to get Method Name passing as argument to function?

I found a similar question here  but answers in this question also give same result as I have mentioned in my first example  Here is method that I am using      public class iStore     {         public T GetSiteCacheValueByFunc<T>(Func<T> func) where T : class         {             var methodName = func.Method.Name;         }     }   Here I am using iStore.GetSiteCacheValueByFunc by using following code I get methodName <Index>b_2 while I should get GetAllLanguages   public ActionResult Index()     {         var site = BusinessLogic.Caching.iStore;         var languages = site.GetSiteCacheValueByFunc<IEnumerable<Language>>(() =>  LanguageManager.GetAllLanguages());     }   If I use following code I get correct methodName GetAllLanguages but in this way I am not able to pass parameters to GetAllLanguages method  public ActionResult Index() {     var site = BusinessLogic.Caching.iStore;     var languages = site.GetSiteCacheValueByFunc<IEnumerable<Language>>(LanguageManager.GetAllLanguages); }   Where I am doing wrong? and how can I get correct methodName?


Show that the fixed field of the automorphism group in a normal extension is purely inseparable over $k$.

Let $k\subset K$ be a normal extension of fields of characteristic $p>0$ with $G=\text{Aut}_k(K)$ (the automorphisms $\varphi\colon K\to K $ with $\varphi|_k = \text{id}\colon k\to k$). Show that the extension $k\subset K^G$ is purely inseparable.   So we have $k\subset K^G\subset K$ with $k\subset K$ normal, which implies that $K^G\subset K$ is normal as well. How are purely inseparable extensions and normal extensions related?


Can I transit in Germany without a visa?

I'm a Cameroonian by nationality, presently in Turkey. I want to travel to the Philippines and I don't need a visa because we are allowed visa free entry. Will I be allowed to transit in Germany?


Why is it "" and not "Honey Badger doesn't care!" ?


In order to improve readability of some texts, I'd like to put a kind of "eyeliner" around my letters (actually, that's how memes manage to get readable texts on any picture).  Here is an exemple of what I have:    And what I want:    You can use if needed some lua code, as I'll use it with lualatex (and custom fonts).  Thank you!  MWE:  \documentclass{article} \usepackage{tikz} \begin{document} \tikz\node[fill=red,circle]{\color{white}\textbf{Hello} world}; \end{document}   --EDIT--  As stated in the comments, the contour package works great, except with custom fonts. Any idea for  (compile with lualatex and put the font .ttf file in the font/ folder):  \documentclass{article} % Special font \usepackage{fontspec} \setmainfont[Path=fonts/]{Heartbeat_in_Christmas.ttf}  \usepackage{tikz} \usepackage[outline]{contour} \begin{document} \tikz\node[fill=red,circle]{\contour{black}{\protect\color{white}\textbf{Hello} world}}; \end{document}   -- EDIT 2 --  I found the solution when I use lualatex: I just need to use \usepackage{contour} instead of \usepackage[outline]{contour}!  -- EDIT 3 -- The solution of using with pdfrender + tikz to superpose texts works also great, except for a few chars with sharp angles:    Here is the text:      \begin{tikzpicture} \node at (0,0) {%         \textpdfrender{           TextRenderingMode=FillStrokeClip,           LineWidth=.8mm,           FillColor=white,           StrokeColor=black,         }{mmmnnn}%       };       \node at (0,0) {mmmnnn};     \end{tikzpicture}   -- EDIT 5 -- Adding MiterLimit=1 avoid these strange shark edges, now it's better, there is just a minor hole in the letters m and n, in my font, but it's not important:    Thank you!


Notifications when replies/ comments are posted in chat rooms?

The comments and replies made on my own question/ answer or followed question go into my INBOX and the notification shows in the top right corner (right between the profile image and reputation image). Similar to this functionality, is there a way to get notified about unread "chat room" comments/ replies? The reason I ask this is because for questions (with too many conversations) on which it is recommended to continue via chat rooms, the members may not be online all the time or would respond as soon as they find time. As of now, unless I go into the chat room, there is no way I can know whether there was any response. Ideally, if there is an item in my inbox indicating that there are new comments/ replies in the specific chat room, it would be a lot easier. This would be a really nice feature to have from user experience point of view.


If I do the same experiment many times then does a 95% credible interval mean 95% of the time the true value lies within that range?

Its common misinterpretation of a 95% confidence interval to say that that 95% of the time the true value lies within that interval.  However, in Bayesian statistics, the 95% credible interval contains 95% of the probability  from the probability density function. And if I repeat the experiment many times, I'm wondering if I can learn something about my prior?  So say I do an experiment to measure a parameter 100 times and I know the true value for each experiment. Then I calculate the credible interval for each experiment. Should expect 95% of the time the credible interval contains the true value? And if its lower, say only 85% of the time the credible interval contains the true parameter, then perhaps the prior is strongly influencing the results and should be changed?


List of Tables names used in MVC Application

I am new to MVC, my company wanted me to work on an already built MVC application. There are lot of Tables and Stored procedures used in that application. Is there any way i can collect all the table names and the Stored Procedures names. The server and DB are been used by several applications in the company . So it makes more complicated in SQL server side to list them.   Thanks


How do I determine if my knife must be honed and/or sharpened?

My grandparents never altered their  since buying it on Aug 1 2018. It could effortlessly slash coconut and raw , but now it can't even cut paper or pears or ! Undeniably they must alter their knife.   Before they buy a honing rod and/or , how can they infer if it must be honed and/or sharpened?


Every site uses a different share icon here are some examples:  Which icon is best for UX and most obvious to the user that it is a share icon?


switch is not inbuilt in Python language so How can i achieve this concept in python for select one case  in other language code is :  `switch(value)  {    case 0:         print("i'm in Case 0");         break;  case 1:         print("i'm in Case 1");         break;  case 2:         print("i'm in Case 2");         break;  case 4:         print("i'm in Case 4");         break; default:         print("Wrong Value");}   How can i use this concept in Python pleae tell me any Technique for use it?


Minimum number of $k$-partitions of a set of size $n$ to enumerate all $n \choose k$ combinations

Given a set $\mathcal{S}$ of size $n$, let a $k$-partition of $\mathcal{S}$ be a grouping into $k$ disjoint classes $$(S_1 ,S_2,...,S_k)$$   Where the $S_i$ do not necessarily contain the same number of elements.  Let $C(S_1, S_2, ... S_k)$ be the set of combinations which can be made by taking exactly one element of each class, (i.e. $C(S_1, S_2, ... S_k)$ is the Cartesian Product $S_1 \times S_2 \times ...\times S_k$). For a given $(n,k)$, what is the minimum number of k-partitions $N$ such that  $\bigcup\limits_{i=1}^{N} C(S_1^{(i)}, S_2^{(i)}, ...,S_3^{(i)}) = $ All Possible Combinations  Example:  for $n=4$ and $k=2$, $\mathcal{S} = \{1,2,3,4\}$ we can choose:  $$ S^{(1)} = \left\{\left\{ 1, 2\right\}, \left\{ 3, 4\right\}\right\}$$ $$ S^{(2)} = \left\{\left\{ 1, 3\right\}, \left\{ 2, 4\right\}\right\}$$  Then $$C_{1} = \left\{\left\{ 1, 3\right\} ,\left\{ 1, 4\right\},\left\{ 2, 3\right\},\left\{ 2, 4\right\}\right\}$$ $$C_{2} = \left\{\left\{ 1, 2\right\} ,\left\{ 1, 4\right\},\left\{ 2, 3\right\},\left\{ 3, 4\right\}\right\}$$  and $C_1 \cup C_2 =$ All possible combinations and $N=2$.


What is the best practice for data table cell content alignment

We are currently working on a windows based application where users capture data. Some data is captured in a table where other data is captured in text blocks. Im currently faced with the dilemma of how to align contents specifically decimal values.  Editable cells in a grid are indicated with a pencil icon which disappears once in edit mode. You will notice that the table consists of various field types, decimals and text. So what should I do and why?  A> right align all cell content  B> left align all cell content  C> right align only decimal values in cells  D> Whatever else you can suggest


Assigning values to rows based on keywords

My bank statement has a description column which tells me where I spent the money or where I got it from. Based on this information I fill a column manually to be able to catagroize these expenses - all the transactions of client A, all the transactions of amazon. this is based on me reading the description and finding a keyword. Can I automate this process. I tried with a extremely long formula - if(search("amazon",a1),"Amazon"), elseif(search ........ It's too complex and prone to errors.  There would be around 20-30 catagories.


Is $ \sum\limits_{n=1}^\infty \frac{|\sin n|^n}n$ convergent？

Is the series  $$ \sum_{n=1}^\infty \frac{|\sin n|^n}n\tag{1}$$  convergent？  If one want to use Abel's test, is   $$ \sum_{n=1}^\infty |\sin n|^n\tag{2}$$  convergent？  Thank you very much


How to align message textview to the center in snackbar?

How to align message textview to the center Horizontally in snackbar in android?


Where does gedit store it's plugin configuration and preferences?

I have gedit-plugins installed for gedit on my previously broken system. On the new system, I want to restore gedit from my backed up home directory.  I will like to know! Where does gedit store it's configurations including plugins list, preferences etc.  Thanks for helping out.


Is it necessary to cement down parimeter pavers when laying a paver patio

I'm going to be installing a paver patio over an existing poured slap patio. it is surrounded on two sides by brick wall, and a third side by pressure treat wood ( the side of a house build on concrete tubes ). The fourth side is the down hill side, and I would like to allow it to drain. Since there is something constraining on all sides, do I really have to cement the perimeter pavers down, or can I just install again existing surfaces.


Ethics of not referencing StackExchange in a publication?

So I'm feeling a bit guilty. I've been working on a publication proof (my first) of an interesting theorem. The issue is I've been using StackExchange (Mathematics) to answer some similar questions when I get stuck on much smaller parts of the proof.   So the question here is, is it generally ethical to put just my name on a paper, even if I may not have come up with the lemma's using only my ideas, or is there a good way to I should reference StackExchange in a publication?  On one hand, most of the stuff I received answers for was for a learning purpose, similar to  that of me asking a professor or teacher, not so much as a co-author. And although relevant to the publication, the answers I received could be very common in other proofs as well and were not directly related the lemmas themselves.  On the other hand, it was not necessarily my ideas that first assisted the lemma, but those of others through SE.  Take for example a question I asked earlier today. I wanted to see an alternate proof to an equation, so that I could use it as a new method of proving a lemma related, it as the original proof (Euler's Thereom) could not be generalized with such a method . The proof I was looking for was simply done using the Binomial Theorem. Therefore the idea of using the Binomial Theorem in my proof will assist me in my own similar generalization. But even though I was just given the tool, the work will be done myself.


Find the limit: $\lim\limits_{x\to\infty}\frac{1}{x}\int_0^x\frac{dt}{2+\cos(t)}$

Question: $$\lim\limits_{x\to\infty}\frac{1}{x}\int_0^x\frac{dt}{2+\cos(t)}$$  My approach:  $f(x)=\dfrac{1}{2+\cos(t)}$  is continuous on $\mathbb{R}$  $\implies$ $\int_0^x f(t)\,dt$  is a antiderivative of $f$ $\iff$ $\iff$  $(\int_0^x f(t)\,dt)'=f(x)$  $$\lim\limits_{x\to\infty}\frac{\int_0^x\frac{dt}{2+\cos(t)}}{x}\stackrel{L'H}{=}\lim\limits_{x\to\infty}\frac{\left(\int_0^x\frac{dt}{2+\cos (t)}\right)'}{x'}=\lim\limits_{x\to\infty}\frac{1}{2+\cos(x)}$$ which does not exist  Note: In order to use L'Hospital rule it is only necessary that $\lim\limits_{x\to\infty}g(x) = \pm\infty$ , $g$ being the function in the denominator.   The book from which I took this problem says the answer is $\frac{1}{\sqrt 3}$. How do I get to that result, is my approach correct?


What could explain the presence of Technetium in the spectral lines of stars?

So, I understand that TC doesn't exist in nature [though, I don't know why every reference I see regarding TC says that and then goes on to state that it is found in some stars...] but, if that's the case, then why is it found in some stars? Furthermore, why is this element skipped during the regular process of nucleosynthesis? And, why do some stars magically fuse technetium while others don't? Lastly, how many technetium stars have been discovered? Thanks much.    ***Just a note, I was just looking at this all again and started thinking about how Technetium is way heavier than iron, so it's not formed in regular nucleosynthesis, right? Which means the TC is left over from supernovae explosions, right? So, if that's the case, why is it not produced naturally? What is natures aversion to this element?


Showing $\mathbb{Z}[i]/\langle 3 + 4i \rangle \cong \mathbb{Z}/25\mathbb{Z}$: how to guess?

(I think I understand how to show $\mathbb{Z}[i]/\langle5\rangle \cong \mathbb{Z}/5\mathbb{Z} \times \mathbb{Z}/5\mathbb{Z}$ using the Chinese remainder theorem.)  I don't know how to "identify the structure of the additive group" of $\mathbb{Z}[i]/\langle 3 + 4i \rangle$. The answer is apparently $\mathbb{Z}/25\mathbb{Z}$, and the solutions say to show that $$ \phi : \mathbb{Z}[i]/\langle 3 + 4i \rangle \to \mathbb{Z}/25\mathbb{Z} \qquad \text{given by} \qquad a + ib \mapsto a - 7b $$ is an isomorphism. There are a few things I note:  $7^2 = -1 \mod{25}$ $\phi(3 + 4i) = 0$ $25 = 3^2 + 4^2$  But, I can't put the pieces together. What I want to know is:  Why is it 25 in $25 \mathbb{Z}$? How can we guess to send $a + ib$ to $a - 7b$?


How to spawn a named, enchanted, unbreakable sword?

I am building a map based of a simulation world and I am trying to build an OP sword for myself as a test runner. I have part of the command, I just need help sticking the {Unbreakable:1} into the command  Current command:   /Give Hydrotronics diamond_sword 1 0 {display:{Name"Valkyrie's Lance",Lore:[The Ragnite Hums As The Lance Rests In Your Hands]},ench:[{Id:16,Lvl:200},{Id:19,Lvl:3},{Id:20,Lvl:13},{Id:20,Lvl:13},{Id:17,Lvl:30},{Id:34,Lvl:10}]}   I tried removing Id:34 (Unbreaking) and replacing it with {Unbreakble:1} but the Unbreakable didn't come through.


Do I need to play the previous God of War titles to understand God of War (2018)?

In order to fully understand the story of God of War (2018), do I need to play any of the previous titles in the series, or can I just jump in?


How do you repair a 'Suspect' SQL Server 2008 database

My database has gone offline, it is highlighted as 'Suspect'.  Foolishly, I haven't got a recent backup.  Is there a way of quickly restoring the database?


I just moved to a new computer: Windows 10 with XAMPP. As far as I know I set everything up the same as it was on my old Windows 7 computer. But now, for some reason, much of the time when I run drush cc all or run update.php, the database gets corrupted. Most frequently, some cache tables' *.idb files (tablespaces) are deleted from my mysql directory, which makes those tables appear as "in use" in phpMyAdmin and prevents them from being edited or emptied. They are always cache tables and never tables that actually get modified by my update hooks. Restoring the database is the only way to fix it then. This is a mature site that I've been working on for a long time, and have never seen this until the new computer. What's happening here?  A sample error message when using update.php, caused by a missing *.idb file:  PDOException: SQLSTATE[HY000]: General error: 1812 Tablespace is missing for table '(null)': DELETE FROM {cache_field} WHERE (cid = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => field:message_type:6 ) in cache_clear_all() (line 168 of C:\<path>\includes\cache.inc).   My most recent drush cc all error message, which Google has never even heard of, was:  exception 'PDOException' with message 'SQLSTATE[HY000]: General      [error] error: 1030 Got error -1 "Internal error < 0 (Not system error)" from storage engine InnoDB'


What happens when more than one creature dies causing a trigger

is a creature with the ability "Whenever a nontoken creature an opponent controls dies, put a 2/2 black Zombie creature token onto the battlefield tapped"  Now, lets say 3 of my opponent's creatures die either through combat, spells, or sacrificing. Could I put the triggered ability on the "stack" so to say in order to get 3 2/2 black zombies for each non token creature that died that my opponent controlled, or am I forced to put one and only one despite 3 creatures dying?


Need to autofill content type field based on other field of form

Story: I have three content types. Category Project Tasks I have "Project Manager" field on Project content type, which is an entity referrer field. On Task content type i have three fields  Category Project Project Manager  Requirement: i need to auto fill Category and Project Manager field when i select Project.


Is it possible to mix italic and normal font in a label?

I have concatenate the values of two field like  "BYKV_BTYP"  || '/' ||  "FFH"   Is it possible to draw the value of the column  "FFH" in italic if it is not empty and the value of "BYKV_BTYP"  normal? Such as  G212-6510


Why we don't consider these incident rays while drawing a ray diagram?

Why don't we consider incident rays which doesn't pass through the center or focus of a spherical mirror while drawing a ray diagram? Do those rays form any image when they intersect? like point a,b,c?


How do I find out word count in pages 5.2.2

I often write short articles and am limited to 100 words per document.   Can I find word counts in pages 5.2.2?


Calculate the following integral by hands: $$\int_{0}^{\frac{\pi}{2}}\frac{\sin^{3}(t)}{\sin^{3}(t)+\cos^{3}(t)}dt$$  It seems apparently that integration by part does not work. I think integration by substitution could work but I can not figure out how to substitute.  I have calculated it by Wolfram and the result is $\frac{\pi}{4}$.


Why  do we use sudo to perform a terminal command as an administrative? Why isn't it  admin or something else? Is there a reason for sudo?


Ubuntu 15.10 Unity white border around windows

I am using 15.10, and out of blue i started getting a whitish border around my window (all the windows i open). I have nVidia graphics card with a updated driver. Everything was fine, no changes were made to any X11 or any system file. Rebooted the machine too. any help ?


Should I do the factory reset? If yes, what will I lose?

My HTC Desire S is working fine when I don't put my micro SD card in it (this card was free with the phone). But the phone keeps restarting every few minutes if I keep the memory card in it. By that, I could say that the phone is fine, but the issue can be either with the memory card or the phone not supporting memory card anymore. The phone and memory card worked completely fine for 8 months.  The thing is, if the same memory card is inserted in any other mobile, be it an Android or any other smartphone, that phone will not restart and the data is completely readable too. So, the memory card is fine. When I insert some other memory card on my phone, then my phone does not restart too. So that means the issue is with my phone & that particular memory card combo.    I am ready to uninstall each and every app from my phone, but will that solve my problem? Should I perform the factory reset? Will it solve my issue? What will I lose if will do the factory reset? Like: contacts, SMS, call logs, APN settings, etc. Any free software to backup all these?  But maybe I am going in the wrong direction. Maybe there is some easy way to get the phone and memory card working.


Why is the total 401(k) contribution limit (employee + employer) so high?

The 2014 employee contribution limit is $17,500.   The 2014 total contribution limit is $52,000.  (Provided they're not capped earlier based on low income.)  Meaning the IRS has left room for a ~$35,000 employer contribution, a 2:1 match with no limit.  This seems a bit excessive. I was able to find a survey which said the average company contribution in the top 30 plans was over $31,000, so apparently there are companies, and their employees, who are contributing to the max, but I think the average company match is much lower.  Why is the gap between employee and total limit so high?


Unicode message inserting in different way - php

I'm trying to insert a Unicode message in my database.  +9195******** पर मुझे फोन  Its inserting like the below line.  +9195******** à¤ªà¤° à¤®à¥à¤à¥‡ à¤«à¥‹à¤¨  Can anybody tell me how to overcome this issue ?


Let $N$ be a subgroup of $G$ with $N$ being generated by $\{x^2|x \in G\}$.    Prove that $N$ is a normal subgroup of $G$. And that $[G, G] \subset N$.   My idea was to look at $G/N$ and take $f:G \rightarrow G/N$ with $f(x)=Nx$ here we get $\text{ker}(f)=N$ therefore $N$ is a normal subgroup of $G$.   For the second part I thought I'd use a given theorem where I know that if $N$ is a normal subgroup then $G/N$ is abelian iff $[G, G] \subset N$.  However, here I'm stuck.   I might have messed up elsewhere, please feel free to correct me.


Why do I still get an ArrayList. error when use ArrayList.add(Object) in a for loop?

I'm trying to add objects to my ArrayList coupleList but I keep getting the  error.  Constructor for my WordCouple class      public class WordCouple {      private String first;     private String second;      public WordCouple (String first, String second) {         first = this.first;         second = this.second;     }   Constructor for my WordCoupleList class  import java.util.ArrayList; public class WordCoupleList {      private ArrayList<WordCouple> coupleList;       public WordCoupleList(String[] words) {           for(int i = 0; i < words.length -1; i ++) {             for(int j = i+1; j < words.length; j++) {                   coupleList.add(new WordCouple(words[i], words[i+j]));              }         }      }   What I'm trying to do is make all possible WordCouple instances from a String array,  and place them in an ArrayList but I can't seem to initialize the ArrayList.  Example: the WordCoupleList constructor was passed an array like: {dog, cat, the ,cat} then the ArrayList would look like [(dog,cat), (dog,the), (dog,cat), (cat,the), (cat,cat), (the,cat).  Each word in the array must make a couple with the other words that exist later in the array.


Relax Egoroff's Theorem to pointwise convergence a.e. and bounded a.e. pointwise limit

The following question is taken from Royden's Real Analysis $4$th edition, Chapter $3,$ question $28,$ page $67:$     Question: Show that Egoroff's Theorem continues to hold if the convergence is pointwise a.e. and $f$ is finite a.e., that is.       Assume $E$ has finite measure. Let $\{f_n\}$ be a sequence of measurable functions on $E$ that converges pointwise almost everywhere on $E$ to the real-valued function $f$ which is finite almost everywhere. Then for each $\varepsilon>0,$ there is a closed set $F$ contained in $E$ for which    $$\{f_n\}\to f \text{ uniformly on }F \text{ and }m(E\setminus F)<\varepsilon.$$   My attempt:   Let $A = \{ x\in E: f_n\not\to f \text{ pointwise} \}$ and $B=\{ x\in E: |f|=\infty \}.$  By assumption,  $$m(A)=m(B)=0.$$ So $A$ and $B$ are measurable.  Note that  $$m[E\setminus (A\cup B)] = m(E) - m(A\cup B) = m(E).$$ Fix $\varepsilon>0.$ Since $\{f_n\}$ converges to $f$ pointwise on $E\setminus (A\cup B)$ to the real-valued function $f,$ by Egoroff's Theorem, there exists a closed set $F$ contained in $(E\setminus (A\cup B))\subseteq E$ for which  $$f_n\to f \text{ uniformly on } F \text{ and }m[(E\setminus(A\cup B)) \setminus F] < \varepsilon.$$ Since $E$ has finite measure and $F\subseteq E,$ by monotonicity,  $F$ has finite measure. As $F$ is closed, it is also measurable.  Therefore, by Excision property, we have $$m(E\setminus F) = m(E) - m(F) = m[E\setminus(A\cup B)] - m(F) = m[(E\setminus(A\cup B)) \setminus F]<\varepsilon.$$  Is my proof correct? I ask for verification because in this  Kenny's comment about countable union of null sets. I do not use this anywhere in my proof. So I wonder whether my proof miss out something.


I have a pretty good understanding of Javascript, except that I can't figure out a nice way to set the "this" variable.  Consider:  var myFunction = function(){     alert(this.foo_variable); }  var someObj = document.body; //using body as example object someObj.foo_variable = "hi"; //set foo_variable so it alerts  var old_fn = someObj.fn;   //store old value someObj.fn = myFunction;   //bind to someObj so "this" keyword works someObj.fn();               someObj.fn = old_fn;       //restore old value   Is there a way to do this without the last 4 lines?  It's rather annoying...  I've tried   binding an anonymous function, which I thought was beautiful and clever, but to no avail:  var myFunction = function(){     alert(this.foo_variable); }  var someObj = document.body;        //using body as example object someObj.foo_variable = "hi";        //set foo_variable so it alerts someObj.(function(){ fn(); })();    //fail.   Obviously, passing the variable into myFunction is an option... but that's not the point of this question.  Thanks.


Cannot install net-tools in Ubuntu 20.04 focal

Iḿ trying to run the command ifconfig  The output is: Command 'ifconfig' not found, did you mean:   command 'iconfig' from deb ipmiutil (3.1.5-1)    command 'pifconfig' from deb python3-ethtool (0.14-3build1)    command 'fconfig' from deb redboot-tools (0.7build3)  Try: sudo apt install <deb name>  I tried to install it via: sudo apt-get install net-tools  But didn't work: Reading package lists... Done Building dependency tree         Reading state information... Done  Package net-tools is not available, but is referred to by another  package. This may mean that the package is missing, has been  obsoleted, or is only available from another source E: Package 'net-tools' has no installation candidate  I'm running Ubuntu 20-04, and searched on ubuntu.packages.com and found this result:  What am I doing wrong? Update I was able to solve the problem following this topic:  Thank you all for the replies.


Improving the performance of this select query

i have two tables  TABLE 1 and TABLE 2  And i am running this select query to fetch the data , it takes long time to run   SELECT TABLE1.* , TABLE2.COL1 , TABLE2.COL4 FROM TABLE1, TABLE2      WHERE TABLE1.COL1 IN('1','TEXT','HO TED')      AND TABLE1.COL2= 1800 AND TABLE2.COL1 = 10519198      AND TABLE1.COL3>= 100 AND TABLE1.COL4= TABLE2.col2 AND TABLE2.COL3=('TEXT')   Any suggestions ? so that i could improve performance of this select query .  Does too many AND affects my performance ?  Thanks in advance


When I have 2 Ubuntu versions, Can I uninstall one of them?

If I have two Ubuntu versions installed in my PC, let's say: Ubuntu Studio 15.10 and Lubuntu 15.10, Can I remove one of them (whichever) without to having to format any partition?  Is there some bash command to perform this?  How?


Why can't I print a variable I just defined?

So I have a program which has a variable which can be edited by the user. The variable called 'price' is set to 2 as default. I'm trying to print the variable during sentence but it's not working. My code is below:  price = 2  #Definition of 'task_1'. def task_1():      #Welcomes the user to the OCR car park.     print("Welcome to the OCR car park.")      #Asks for a £2 ticket fee and stores the amount     #given in a variable called 'ticket_fee'.     ticket_fee = int(input("Please insert a £",price,"ticket fee: "))


Help me pls  if(value == ""){ // do anything }   but I need to check space " " (2,3,... space is include) is the same way of empty String  ps. sorry in my English


Swift 3: add a double value to an array increase a decimal

When I put this in my code in swift 3 with xcode :               myarray.append(99.1)    I have following result when I use print(myarray) command for my array:     99.099999999999994   I would like to have only 99.1 no more. How can I add a value like 99.1 without being transform to the longer value in an array?


How can I include styles in multiple TikZ pictures?

Let's consider this simple example of a TikZ picture that defines the node distance and a style called mynode within the square brackets:   \begin{tikzpicture}[   node distance=2.5em, auto,   mynode/.style={draw=black, rectangle, minimuim size=2em}, ] \node[mynode] (name) {label}; \end{tikzpicture}   When create another TikZ picture within the same LaTeX document, I can copy the content between the square brackets to get the same style.  However, I have to update all figures separately to change the style. How can I define the content between the square brackets in a central place and use it in multiple TikZ figures?


Python: Check if vertex is on camera field of view

Suppose I have the following camera perspective.  As you can see some of the Cube vertices are visible from the camera, others are not.  Is there a way from python to detect if a certain vertex is in the camera field of view or not?


I have upgraded to Disco Dingo, but right now I can't install MySQL 8 as it's not available from the official MySQL repository.  Is there any alternative repository or PPA from which I could install MySQL 8?


NTFS SSD Partitions Created in Linux not visible in windows 10

Recently I purchades samsung 870 evo 500 GB and installed windows 10 on it (Fresh Installation). During windows installation i created 4 required partitions for windows GPT Scheme (efi->200MB ,msr -> 16MB ,os_partition -> 100GB, WinRE->500MB). After installation of windows, I live booted into elementry os and created 2 more partitions using GParted 100 GB-> EXT4 and 200 GB -> NTFS And cloned my elementry os from HDD to this ext4 partition. Every thing is working properly i can boot both windows and linux and they are working normaly. But the NTFS partition created using GParted is not visible in Windows 10. Worst thing is that it is still showing the 350 GB space as unallocated in Windows 10 both under diskpart and disk managment. Can someone guide whats the issue here. It never happened with my HDDs Please see linked images


I have some windows that I want to insulate at night during the winter. I have energy star windows, thermal drapes, and cellular blinds and those plastic window film kit things, but I want to reduce my heating costs even more. So here's my idea. What if I took a bunch of fiberglass or mineral wool insulation, wrapped it in a bunch of plastic, and shoved that in between the window and blinds at night, possibly filling in gaps between the plastic and the the window frame with other material, and possibly secured on the inside end by a board or something? Then I would probably take it out during the day. I'm wondering  whether you think this would significantly affect heat loss through the window, whether it would cause any condensation problems, and about any unintended consequences I might be missing.


.bashrc history command not working when new terminal window opened

I added some simple history command in order to get some info every time I am on a Ubuntu 18.04.2 LTS Dell local machine with bash 4.4.20(1)-release, shell /bin/bash. If I open a new shell: history | tail  but I noticed that when I open a new terminal it does show me anything, while if I: source ~/.bashrc  it works well. I guess it has something to do with history characteristics and new terminals but even googling and looking here I can not figure out what! Thanks in advance for any help! --- EDITED --- grep HIST ~/.bashrc ~/.profile ~/.bash_profile /home/enrico/.bashrc:HISTCONTROL=ignoreboth /home/enrico/.bashrc:# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) /home/enrico/.bashrc:HISTSIZE=1000 /home/enrico/.bashrc:HISTFILESIZE=2000 /home/enrico/.bashrc:export HISTTIMEFORMAT="%Y-%m-%d %T " grep: /home/enrico/.bash_profile: No such file or directory


Can the Killing Curse destroy Horcruxes?

Close to the end of Harry Potter and the Deathly Hallows, Harry willingly gives himself up to Voldemort. Whilst doing this he is actually giving all of his friends a magic protection. Voldemort partially succeeds in killing Harry, and he is sent to a Limbo state. When Voldemort kills him he also kills his Horcrux. Obviously since Voldemort used the killing curse, it killed Harry and the Horcrux, so why didn't Harry use it on the other Horcruxes? I would have expected that he would at least use it for the greater good, to finish Voldemort.  So does the Killing Curse actually destroy Horcruxes? Why didn't Harry use it when hunting them?  I would like canon answers, as the original question's answers sounded like opinions.


How do we know that the charges in an electron and a proton are equal?

An electron and a proton have opposite charges. But how can we be so sure that they have equal amount of charge but opposite? Can't there be a slight difference?


What are  and how to understand them?   Wikipedia says:      In mathematics, particularly in dynamical systems, a first recurrence   map or Poincaré map, named after Henri Poincaré, is the intersection   of a periodic orbit in the state space of a continuous dynamical   system with a certain lower-dimensional subspace, called the Poincaré   section, transversal to the flow of the system.   But I fail to understand any part of the above definition...  Examples of Poincaré maps:  The angular momentum and the angle $\theta$ of a , in a poincaré map is described as:    If I'm not mistaken the closed lines are called Tori, but how this interpret this map?   Another example:  : the poincaré map is:    Where $p$ and $q$ are the globalized coordinates for momentum and position. Again   How to interpret this? (Please lean towards a physical explanation when answering.)


Is there a usage of "the" that indicates one out of a group of many?

Considering the sentence  Nearly anything can be a weapon in a martial artist’s hands., the indefinite article a indiciates that this can be any martial artist out of all in the world.  Next, consider The wise warrior stops a ranged attack before it nears him. Here, the definite article the is used, but still, I am quite certain that the sentence talks about any "wise warrior", or that one would even qualify as a "wise warrior" by performing the named action (among others, probably).  Is this a correct usage of the, indicating one out of a group of many? What is this usage called properly?  Finally, consider Through judicious placement of wounds, the marksman ensures that his enemy cannot escape him. I am wondering whether this could be the same kind of use for the definite article as in the second example, or whether to a native speaker this sentence indicates a specific individiual (that is a "marksman") that would be clear from context.


Why is $\arctan(x)=x-x^3/3+x^5/5-x^7/7+\dots$?  Can someone point me to a proof, or explain if it's a simple answer?  What I'm looking for is the point where it becomes understood that trigonometric functions and pi can be expressed as series.  A lot of the information I find when looking for that seems to point back to arctan.


Avoiding Recursion While Updating Trigger Records

I'm running into roadblocks everywhere with this particular task. My goal is simply to have a trigger do a GET request on an external REST API service, get some data, and update the lead currently being worked on with said data during before insert/before update.   Here are some of the challenges I've run into so far:    I can't call the external web service synchronously from a trigger because it's not allowed. Fine, I tried breaking up the logic into a new asynchronous trigger that works on after insert/after update.   I can't run the update logic on after insert/after update because the lead object is read-only at that point.    My goal, at least to me, is very simple. I feel like there should be a simple solution to this. Is there something I'm missing?  Here's a simplified version of the trigger that already existed:   trigger ExistingTrigger on Lead (before insert, before update)  {   for (Lead lead : System.Trigger.new)   {     //here we do a bunch of updates to the lead based on data that already exists in salesforce. For example:      if (lead.Special_Field__c != NULL && lead.Special_Field__c != '' && System.Trigger.isInsert)     {         if (lead.Special_Field__c .contains('A Cat') && lead.Cat_Color__c == 'Orange')         {             lead.Cat_Toy__c = 'Mouse';             lead.Ginger__c = 'Y';         }     }   } }   This is the new trigger I've created to handle the call to the third party API:  trigger AssignVet on Lead (after insert, after update)  {         VetHelper vetHelper = new VetHelper();      for (Lead lead : System.Trigger.new)     {         try         {             VetHelper.UpdateVet(lead.id);         }     } }   Finally, this is the class that has the async method that is supposed to update lead with data from the third party API:   public with sharing class VetHelper {     @future (callout=true)     public static void UpdateVet(string leadId)     {        string url = 'http://192.168.0.1/lookup/' + leadId;        HttpRequest reqData = new httpRequest();        Http http = new Http();        reqData.setHeader('Content-Type','application/json');        reqData.setTimeout(20000);         reqData.setEndpoint(url);        reqData.setMethod('GET');         HTTPResponse res = http.send(reqData);        string response = res.getBody();         dbLead = [select VetName from  Lead where Id =: leadId LIMIT 1];         //let's pretend we can simply grab the values needed from the response object       dbLead.VetName = response.vetName;       Database.update(dbLead, false);     } }   The code as it stands does not work because Database.update causes both triggers to fire indefinitely.


I am facing error in ubuntu when I upgrade to apt-get command and I am also facing a problem when I want to install a new program. this error appears:  najeeb@najeeb:~$ sudo apt-get upgrade  [sudo] password for najeeb:  Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-        security_main_i18n_Translation-en E: The package lists or status file could not be parsed or opened.   Does anyone have a solution for this error?


Travel on a Schengen visa stating EEA family member without spouse?

I have a Schengen visa (for five years) which states that I am a family member of an EEA national. I traveled, on this visa, with my spouse (UK citizen) to Croatia in May 2015 with no issues.   However, now I wish to travel to Hungary without my spouse for a week but I am not sure if I will be allowed entry this time around into the country without my spouse.   Do I have to produce any documents at the border since I am not traveling with my spouse?   I plan to take a copy of my marriage certificate and my partner's passport copy anyway.


I am trying to put two subscripts at the left and right of a character. For example, something like:  _{t} p_{x}  where p is in the middle. How do you do this?


Exact Relation between voltage and current

I apologize before hand if this seems too naive. I'm having a really tough time understanding the relation between voltage and current. I read that 1 Volt is the amount of work done to move a $1As$ charge (which is a finite number of electrons). So how can we have cases of voltage and current being different.  My next doubt is when we connect electrical components in series. The current remains same but voltage drops at every electrical component. But from the above doubt; how can we achieve same number of electron flow when the work done (Voltage) is being reduced. With respect to the waterfall analogy. But here as the voltage drops isn't the height of the waterfall itself being manipulated with.


I have to prove this:  Let $(X,T)$ be a topological space , then it is equivalent:  $1)$  The closure of an open set is an open set.  $2)$  If $U$ and $V$ are disjoint open sets, their closures are also disjoint.  I proved $ 1\Rightarrow 2$, but I see no way of doing the other one. Any help would be helful with this.


setuid not allowing me to run script as root?

I wrote this tiny script: #!/usr/bin/env -S bash -xeuo pipefail whoami cd /repo && git fetch origin master && git merge -s recursive -X theirs origin/master  And set the u+s bit which I thought made it so that when running the script it would run as the user who owns the file: chmod a=,u=rwxs,g=rx /usr/local/bin/force-update-repo  But when I switch to www-data and try to run it: su www-data -s /bin/bash  It seems to run as www-data not root: force-update-repo + whoami www-data + cd /repo + git fetch origin master error: cannot open .git/FETCH_HEAD: Permission denied  I have a process that's running as www-data and I want to give them elevated permissions to run this script. How can I do that?


Why is the Java plugin (JRE) disabled in Chrome?

Why is the Java plugin (JRE) is disabled in Chrome? It is some security concern?  From official Java website:     Chrome no longer supports NPAPI (technology required for Java applets)   The Java plug-in for web browsers relies on the cross platform plugin architecture NPAPI,   which has been supported by all major web browsers for over a decade.   Google's Chrome version 45 (scheduled for release in September 2015) drops support   for NPAPI,   impacting plugins for Silverlight, Java, Facebook Video   and other similar NPAPI based plugins.   But anyone knows why? How it could be dangerous for Chrome user with latest version of Java JRE installed?


How to skip filesystem checks during boot

Whenever I shut down my Ubuntu 20.04 and reboot, I always get this message at the bottom of my screen: Press Ctrl+C to cancel all filesystem checks in progress   This process will take too long and press Ctrl+C does not have any effect. How to bypass it?


Stackoverflow careers edit links overlap images and quote in French and German

Log into , click on the My Profile button at the top right and then scroll down and select either French or German as a language at the bottom.  When you scroll back up you'll find that the translation of the English word Edit overlaps the picture and quote lines as the French modifier and German Bearbeiten translations are longer words and the layout has not been adjusted to account for that. E.g.


Calling onclick on a radiobutton list using javascript

How do I call onclick on a radiobutton list using javascript?


Part of speech for "please" followed by a verb

I know that "please" can be many different parts of speech; interjection, an adverb, or a verb, depending on how it's used. I'm looking specifically to find out what part of speech "please" is when followed by a verb:   Please send me your information Please find your shoes Please write down your name


How find this sum $f(n)=\sum_{i=1}^{n}\dfrac{\binom{n}{i}}{i}$

Find this sum closed form $$f(n)=\sum_{i=1}^{n}\dfrac{\binom{n}{i}}{i}$$  My idea: since $$\dfrac{1}{i}=\int_{0}^{1}x^{i-1}dx$$ so $$f(n)=\sum_{i=1}^{n}\left(\int_{0}^{1}x^{i-1}dx\binom{n}{i}\right)=\int_{0}^{1}\sum_{i=1}^{n}\binom{n}{i}x^{i-1}dx$$  then I can't,Thank you


Command Blocks Minecraft Placing A Command WIth Commands In It

This is not a repeat of another post, as I am having a specific problem which is really annoying me.   I am getting an error saying that there is a character that is not supposed to be there in my command, but I can't find it.  Command:   /setblock -248 33 642 command_block 0 replace {Command:"testfor @a[score_craft_min=1] {Inventory:[{id:"minecraft:cobblestone"}]}"}


What is the intuition behind conditional Gaussian distributions?

Suppose that $\mathbf{X} \sim N_{2}(\mathbf{\mu}, \mathbf{\Sigma})$. Then the conditional distribution of $X_1$ given that $X_2 = x_2$ is multivariate normally distributed with mean:   $$ E[P(X_1 | X_2 = x_2)] = \mu_1+\frac{\sigma_{12}}{\sigma_{22}}(x_2-\mu_2)$$  and variance: $${\rm Var}[P(X_1 | X_2 = x_2)] = \sigma_{11}-\frac{\sigma_{12}^{2}}{\sigma_{22}}$$  It makes sense that the variance would decrease since we have more information. But what is the intuition behind the mean formula? How does the covariance between $X_1$ and $X_2$ factor into the conditional mean?


So, these files aren't empty...  [ root@localhost ] # ls -l total 248 -rw-r--r--. 1 root root 65536 Jan 12  2010 cert8.db -rw-r--r--. 1 root root 65536 Dec 23  2013 cert8.db.orig -rw-r--r--. 1 root root  9216 Jan 12  2010 cert9.db -rw-r--r--. 1 root root  9216 Dec 23  2013 cert9.db.orig -rw-r--r--. 1 root root 16384 Jan 12  2010 key3.db -rw-r--r--. 1 root root 16384 Dec 23  2013 key3.db.orig -rw-r--r--. 1 root root 11264 Jan 12  2010 key4.db -rw-r--r--. 1 root root 11264 Dec 23  2013 key4.db.orig -rw-r--r--. 1 root root   451 Jul  8 10:10 pkcs11.txt -rw-r--r--. 1 root root   451 Dec 23  2013 pkcs11.txt.orig -rw-r--r--. 1 root root 16384 Jan 12  2010 secmod.db -rw-r--r--. 1 root root 16384 Dec 23  2013 secmod.db.orig   However,  doesn't tell me anything:  [ root@localhost ] # certutil -L -d /etc/pki/nssdb  Certificate Nickname                                         Trust Attributes                                                              SSL,S/MIME,JAR/XPI   [ root@localhost ] # certutil -K -d /etc/pki/nssdb certutil: Checking token "NSS Certificate DB" in slot "NSS User Private Key and Certificate Services" certutil: no keys found   I'm working on setting up  to run under SSL. Should I try to use the /etc/pki/nssdb database, or create my own? I can't really answer that without knowing what's already there...  (And, if you say "roll your own," I still want to know what's in there, and why I see file sizes of 2^14 and 2^16 exactly.)


$$A=\left[\frac{1}{i+j}\right]=\left(\begin{matrix}\frac{1}{1+1}&\frac{1}{1+2}&\cdots&\frac{1}{1+n}&\\\frac{1}{2+1}&\frac{1}{2+2}&\cdots&\frac{1}{2+n}\\\vdots&\vdots&\ddots&\vdots\\\frac{1}{n+1}&\frac{1}{n+2}&\cdots&\frac{1}{n+n}\end{matrix}\right)$$  My textbook exercise says yes, but I can't prove it.


I have a limited internet connection and I want to update all Linux PCs that I have(almost 30) but it will need every PC to download updates individually. I need some service in Linux to download updates once and other PCs be able to get updates from that PC. Actually I need something like WSUS in windows server in Linux.


Add social media sharing buttons to chat event pages

It would be convenient if the chat event page (e.g. ) had the same social media sharing buttons as questions do (i.e. Twitter and Facebook).  This would make it easier to promote upcoming events.  The link in the tweet (and whatever Facebook calls a post? status update? thing) would take you to the event page, where you could register interest.


Is there any Custom ROM for the Acer Iconia B1-710 Tablet?

I have an Acer Iconia B1-710 Tablet (codename B1-710) with Android v4.1.2 and the following:    Kernel: 3.4.0 Image: Acer_AV051_B1-710_RV04RC01_WW_GEN1 Cores: 2 CPU: MTK 8317T, 1.2 GHz RAM: 1 GB ROM: 8 GB Stock ROM Rooted with Kingo Root APK Unblocked Bootloader   I would like to upgrade to a newer version of Android, but I searched in CyanogenMod, Paranoid Android, PAC-ROM, OmniROM, SlimROM, AOKP, Resurrection Remix, Dity Unicorns, XenonHD , BlissPop and MIUI without succes.  So, Is there any flashable custom ROM for my tablet? If there's none, can I use the source to compile it?  Thanks.  EDIT: Haven't found yet a newer/custom ROM for B1-710. This is not a duplicate and this question hasn't been answered properly.  EDIT (2016-12-26): Here is the DL link for  for the Acer Iconia B1-710 tablet from the Mediatek site. The following ROMs are not available at this moment for device Tablet Acer Iconia B1-710:   Replicant OmniROM AOKP (Android Open Kang Project) MIUI Aoikaze ROM And all the others mentioned above.   The following sites/forums doesn't have custom ROM information about Tablet Acer Iconia B1-710:   XDA Developers (haven't searched throughly) Android Central Forums Samdroid Board Shipped Roms   Google useful links point to XDA that points to Acer Iconia Toolkit (useless to me without custom ROM) and to LolliAcer ROM (not a real flashable ROM that mostly bricks the tablet and in the best scenario only changes its appearence and does not update the kernel or OS version)  Taken form Acer Community:    DannyK Troubleshooter Re: Iconia Tablets - Android 4.4 KitKat 12-23-2013 08:20 AM  I read about that here: http://au.ibtimes.com/articles/530849/20131218/new-android-4-kitkat-upgrade-list-device.htm Message 6 of 18 (30,529 Views)    inuya5ha   Die Hard Re: Iconia Tablets - Android 4.4 KitKat 12-24-2013 07:11 PM  Acer Iconia B1 was released earlier this year (2013) and shipped with the obsolete Android 4.1.  Had I known in advance that Acer would leave all their tablet customers stuck with Android 4.1 I'd have stayed as far as possible from Acer tablets. No wonder why all these devices ended here in LATAM countries with cheap prices, no other country accepted them because they knew they were obsolete the second they left the factory.   [sarcasm]Great news to see that Acer won't release ANY updates whatsoever to a device manufactured this year and still announced in their tablets home page today. I'll always be a happy and loyal ACER customer and recommend their tablets to all my friends and family without doubt.[/sarcasm]


Different ways to get the IP address from a Linux box

I'm curious and I want to know all different methods for getting the IP address from a Linux box, I know ifconfig works well, but wondering if there are any other methods to use to obtain the ip address?


I'd like to know what is the pythonic way to generate all tuples (x, y) where x and y are integers in a certain range. I need it to generate n points and I don't want to take the same point two or more times.


Dark regions at the bottom of MacBook screen

I've started seeing these dark regions at the bottom of my screen. They go away temporarily when I close the laptop, but come back every now and then. Is there an easy fix for this, or is there something wrong with my display?


SQL combining multiple rows into a single comma separated column

I'm trying to get a list of users from the asp.net membership table.  i want to display user id, username, email and role name in a single line.  My statement is as follows  SELECT [Dev].[dbo].[aspnet_Users].[UserId],   [UserName],   [Email],   [RoleName]  FROM [Dev].[dbo].[aspnet_Users]  INNER JOIN [Dev].[dbo].[aspnet_Membership]  ON [Dev].[dbo].[aspnet_Users].[UserId] = [Dev].[dbo].[aspnet_Membership].[UserId]  INNER JOIN [Dev].[dbo].[aspnet_UsersInRoles]  ON [Dev].[dbo].[aspnet_Users].[UserId] = [Dev].[dbo].[aspnet_UsersInRoles].[UserId]  Inner Join [Dev].[dbo].[aspnet_Roles]  On [Dev].[dbo].[aspnet_UsersInRoles].[RoleId] = [Dev].[dbo].[aspnet_Roles].[RoleId]   the results i get back are close to what i want, except that i am getting multiple rows back for the role names.  | UserID | UserName | Email | RoleName | |--------|----------|-------|----------| | 1      | Jon      | Jon@  | Author   | | 1      | Jon      | Jon@  | Approver | | 1      | Jon      | Jon@  | Admin    | | 2      | Mary     | Mary@ | Author   | | 2      | Jon      | Mary@ | Approver |   How do i get the multiple row names to display as a single line?  | UserID | UserName | Email | RoleName                  | |--------|----------|-------|---------------------------| | 1      | Jon      | Jon@  | Author, Approver, Admin   | | 2      | mary     | mary@ | Author, Approver          |


How to find $\partial\chi^2/\partial a$ where $\chi^2=\sum_{i=1}^N\frac{D(x_i)-a-b(x_i)^2}{\sigma_i^2}$?

How to find $\partial\chi^2/\partial a$ where $\chi^2=\sum_{i=1}^N\dfrac{D(x_i)-a-b(x_i)^2}{\sigma_i^2}$?  My attempt: \begin{align} \dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{D(x_i)-a-b(x_i)^2}{\sigma_i^2} &= \dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\\ &=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\\ &=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{1}{\sigma_i^2}\cdot\dfrac{\partial}{\partial a}\sum_{i=1}^N-a\\ &=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{1}{\sigma_i^2}\cdot\dfrac{\partial}{\partial a}a^N\\ &=\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\dfrac{1}{\sigma_i^2}\cdot N\cdot a^{N-1}\\ \end{align}  Is this correct?  EDIT: As per the accepted answer, this is how I got my final partial derivative. \begin{align}             \dfrac{\partial}{\partial a}\sum_{i=1}^N\dfrac{D(x_i)-a-b(x_i)^2}{\sigma_i^2} &= \dfrac{\partial}{\partial a}\Bigg[\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}-\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\Bigg]\\             &=\dfrac{\partial}{\partial a}\Bigg[\sum_{i=1}^N\dfrac{D(x_i)-b(x_i)^2}{\sigma_i^2}\Bigg]-\dfrac{\partial}{\partial a}\Bigg[\sum_{i=1}^N\dfrac{-a}{\sigma_i^2}\Bigg]\\             &= 0-\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_1^2}+\dfrac{-a}{\sigma_2^2}+\cdots+\dfrac{-a}{\sigma_N^2}\Bigg]\\             &= -\Bigg[\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_1^2}\Bigg]+\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_2^2}\Bigg]+\cdots+\dfrac{\partial}{\partial a}\Bigg[\dfrac{-a}{\sigma_N^2}\Bigg]\Bigg]\\             &= -\Bigg[\dfrac{-1}{\sigma_1^2}\cdot\dfrac{\partial}{\partial a}[a]+\dfrac{-1}{\sigma_1^2}\cdot\dfrac{\partial}{\partial a}[a]+\cdots+\dfrac{-1}{\sigma_N^2}\cdot\dfrac{\partial}{\partial a}[a]\Bigg]\\             &= -\Bigg[\dfrac{-1}{\sigma_1^2}+\dfrac{-1}{\sigma_2^2}+\cdots+\dfrac{-1}{\sigma_N^2}\Bigg]\\             &= \sum_{i=1}^{N}\dfrac{1}{\sigma_i^2}\\         \end{align}


Why are some actors uncredited in certain films?

Eli Wallach  in Mystic River. Olivia Williams  in X-Men: The Last Stand. However, neither of them (according to IMDb) is credited in the movie. These two instances are simply examples.  Why are some actors, who are oftentimes quite well known, not credited in certain features?


Does the daily reputation cap also work for reputation loss?

Since there is a maximum reputation cap, is there also a cap for how much can be lost in a day?


Punctuation of direct speech, edge cases

I recently learned that I have developed a consistent, but entirely wrong approach to punctuating direct speech in fiction. I am in the unenviable position of trying to relearn.  Previously I wrote such things as:     "I'm done." She said.   when the quoted speech was definitely, absolutely the end of a sentence. So now I know I need.     "I'm done," she said.   This follows the rule that a period is only allowed when the end of the spoken sentence is also the end of the sentence in the narrative. For example:     "I'm done." She slammed the door on the way out.   So, it now looks odd to me when there are multiple sentences in the speech:     "I can't take her. I'm done," she said.   Can you reassure me that is correct, or give the correct form? Please don't suggest rewriting the sentence to put 'she said' in the middle - I'm aware of that: I'm specifically asking about the punctuation rules.  The other odd case is speech ending with an ellipsis. Do sentence terminating ellipses (four periods normally) become:     "I can't take her. You know, ...," she said, nodding towards Jane.   If so, are non-terminating ellipses dealt with the same way?     "I can't take ...," she nodded towards Jane, "any more!"   or can non-terminating ellipses be used unadorned?     "I can't take ..." she nodded towards Jane, "any more!"   I'd be very grateful if you could point me at references as well as answers. For the record I am a British writer writing for both British and US publication, so any variation is also interesting to me!


Find all functions satisfying $f\left(f(x)f(y)\right)+f(x+y)=f(xy)$

Find all functions $f : \mathbb{R} \to \mathbb{R}$ satisfying $$f\left(f(x)f(y)\right)+f(x+y)=f(xy)$$  The only thought i could get is clearly $f(x)=0$ satisfies. Also if $f(x)$ is an even function the functional equation is alsways true, but no clue for finding those functions.


sudo apt update error: "Release file is not yet valid"

I keep getting this error every time I try to sudo apt update:  Hit:1 ubuntu bionic InRelease Ign:3 linux/chrome/deb stable InRelease                    Get:2 /ubuntu bionic-updates InRelease [88.7 kB]    Get:5 /linux/chrome/deb stable Release [943 B]              Get:6 http://dl.google.com/linux/chrome/deb stable Release.gpg [819 B]          Get:4 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]  Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]     Reading package lists... Done                                  E: Release file for http://dl.google.com/linux/chrome/deb/dists/stable/Release is not valid yet (invalid for another 2h 45min 28s). Updates for this repository will not be applied. E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 4h 34min 33s). Updates for this repository will not be applied. E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 1h 22min 16s). Updates for this repository will not be applied. E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 4h 32min 36s).    Updates for this repository will not be applied.  I've reset my timezone to UTC, but that didn't work. I also found a different answer where they said I should try   sudo apt-get -o Acquire::Check-Valid-Until=false update   but that didn't work either. I got the same error both times.


I have a field Value for segmentations as <Value TBD>, which is not getting printed in the HTML table.  This is the way I'm trying to populate the value:    if($("th[data-field='rating']").get(0) !== undefined) {       debugger;     row.append($("<td />").css("font-size", "12px").html(""+segmentations+""));   }   It is taking other normal character values like 'Adoption' but not able to print <Value TBD>. Is there any way to escape this '<' characters inside </tr> tag?


I'm trying to solve the following exercise. Let $a$ and $b$ be relatively prime integers, and $i^{2}=-1 .$ Prove that the natural map $\mathbb{Z} \rightarrow \mathbb{Z}[i] /\langle a+b i\rangle$ induces an isomorphism of $\mathbb{Z} /\left(a^{2}+b^{2}\right) \mathbb{Z}$ with $\mathbb{Z}[i] /\langle a+b i\rangle$. And I'm totally lost. How should I proceed? I have a feeling that I should use the universal property, and take the quotient by the kernel of the natural map. This would induce an isomorphism with the image of the natural map. But I don't know what the kernel would be, and I honestly don't know how to work with rings like $\mathbb{Z}[i] /\langle a+b i\rangle$. Would anyone have a rigorous (and readable!) explanation?


Do items which add to some ability affect your skill modifier?

I just received armor which adds +2 to my charisma. Does it also affect my skills like performance and persuasion? If possible, could you link some source in your answer? I searched and didn't find any conclusive answer.


Does Spider-Man use secreted web or web cartridges?

When Spider-Man spurts web from his wrist to swing through the streets, does he use a cartridge fitted in his wrist, or is that a secretion of his body due to the radioactive spider bite?  In the Spider-Man movie, his wrist looks like it’s secreting the web, but in the Spider-Man game we have to collect cartridges to refill the web. Also in the game, even if the cartridge is not filled, some minimum amount of web is still there. Also in the latest movie, The Amazing Spider-Man, I think he uses a web cartridge fitted in the wrist.


Clear browser cache programatically (delete Active Logins with JS)

How to clear browser cache (Active Logins).  In IE we can delete it with  document.execCommand('ClearAuthenticationCache', false);   but this doesn't work in firefox or chrome.  I need for changing client certificate without clearing Active Logins via browser interface.


MySQL Seems to be crashing quite often, I'd say every hour or so.   The only thing running on this server that is using MySQL is a Drupal installation that I'm working on, there's only one person that's using it and it literally has around three pages - from what I can gather this seems to be a memory issue with innoDB? I'm not great at this stuff so I'm unsure.  Any guidance? Here's the relevant parts from my error.log  140216 14:20:01 [Note] Plugin 'FEDERATED' is disabled. 140216 14:20:01 InnoDB: The InnoDB memory heap is disabled 140216 14:20:01 InnoDB: Mutexes and rw_locks use GCC atomic builtins 140216 14:20:01 InnoDB: Compressed tables use zlib 1.2.3.4 140216 14:20:01 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(135987200 bytes) failed; errno 12 140216 14:20:01 InnoDB: Completed initialization of buffer pool 140216 14:20:01 InnoDB: Fatal error: cannot allocate memory for the buffer pool 140216 14:20:01 [ERROR] Plugin 'InnoDB' init function returned error. 140216 14:20:01 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140216 14:20:01 [ERROR] Unknown/unsupported storage engine: InnoDB 140216 14:20:01 [ERROR] Aborting  140216 14:20:01 [Note] /usr/sbin/mysqld: Shutdown complete  140216 14:20:02 [Note] Plugin 'FEDERATED' is disabled. 140216 14:20:02 InnoDB: The InnoDB memory heap is disabled 140216 14:20:02 InnoDB: Mutexes and rw_locks use GCC atomic builtins 140216 14:20:02 InnoDB: Compressed tables use zlib 1.2.3.4 140216 14:20:02 InnoDB: Initializing buffer pool, size = 128.0M InnoDB: mmap(135987200 bytes) failed; errno 12 140216 14:20:02 InnoDB: Completed initialization of buffer pool 140216 14:20:02 InnoDB: Fatal error: cannot allocate memory for the buffer pool 140216 14:20:02 [ERROR] Plugin 'InnoDB' init function returned error. 140216 14:20:02 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 140216 14:20:02 [ERROR] Unknown/unsupported storage engine: InnoDB 140216 14:20:02 [ERROR] Aborting  140216 14:20:02 [Note] /usr/sbin/mysqld: Shutdown complete   EDIT The server is the lowest-spec DigitalOcean Droplet with 512MB RAM. This particular Droplet is running NodeJS, MySQL and Apache. There's a low-traffic static site, a Ghost blog and this Drupal site I'm developing.   Should I just upgrade the RAM, or is there something I can do to fix this?


Can't log in with my OpenID - Troubleshooting Tips

I'm experiencing trouble with OpenID sign-in on site.   What are the needful steps that can help on troubleshooting OpenID login issues?


Prove that $E$ is a connected subset of $R^2$

Let $E\subset R^2$ be the collection of all points such that at least one of their coordinates is rational,  Prove that $E$ is a connected.


Why do I get platform-specific result for std::exp?

I have a program that were giving slithly different results under Android and Windows. As I validate the output data against a binary file containign expected result, the difference, even if very small (rounding issue) is annoying and I must find a way to fix it.  Here is a sample program:  #include <iostream> #include <iomanip> #include <bitset>  int main( int argc, char* argv[] ) {     // this value was identified as producing different result when used as parameter to std::exp function     unsigned char val[] = {158, 141, 250, 206, 70, 125, 31, 192};      double var = *((double*)val);      std::cout << std::setprecision(30);      std::cout << "var is " << var << std::endl;     double exp_var = std::exp(var);     std::cout << "std::exp(var) is " << exp_var << std::endl; }   Under Windows, compiled with Visual 2015, I get the output:  var is -7.87234042553191493141184764681 std::exp(var) is 0.00038114128472300899284561093161   Under Android/armv7, compiled with g++ NDK r11b, I get the output:  var is -7.87234042553191493141184764681 std::exp(var) is 0.000381141284723008938635502307335   So the results are different starting e-20:  PC:      0.00038114128472300899284561093161 Android: 0.000381141284723008938635502307335   Note that my program does a lot of math operations and I only noticed std::exp producing different results for the same input...and only for some specific input values (did not investigate if those values are having a similar property), for most of them, results are identical.   Is this behaviour kind of "expected", is there no guarantee to have the same result in some situations?  Is there some compiler flag that could fix that? Or do I need to round my result to end with the same on both platformas? Then what would be the good strategy for rounding? Because rounding abritrary at e-20 would loose too many information if input var in very small?     Edit: I consider my question not being a duplicate of . I get exactly the same result on both platforms, only std::exp for some specific values produces different results.


What is proper etiquette when someone posts copyrighted material?

I just ran into an answer in which the author included a link to a PDF book that was licensed only to them. I'm pretty sure this is copyrighted material and the author does not want copies of the book to be freely available on the web.   What is the proper etiquette in this situation? Leave a comment? (I can't yet, I just joined.) Mark as offensive? Contact a moderator?


When I am flagging questions, I have tried to use the site migration flag(This post belongs on another Stack Exchange site), but I never have any options.  Every time I click on that option, it only gives me one or sometimes 2 options and it's never one that would actually work.  Is there a reason for this?  I always thought it was only going to give me options for sites that I'm registered at, but it doesn't even give me all of those options.  Is there a way to fix this or is this just how it is?


Is it okay to ask a question looking for research publications?

Is it okay to ask a question on StackOverflow that looks for information on research publications (in the field of software of course)? These may not necessarily a programming question, but they do relate to software. For instance, would the following questions: Research on the quantity of reported vs. unreported bugs in open-source software? Publications on the effectiveness of pair programming? Has there been surveys of the mental models held by novice programmers? ...be suitable?  I believe these should be allowed as they not only provide a mechanism to complement the likes of Google Scholar or the ACM digital library, but they would also give an idea of the reputation of the research. And while they may not be related to the act of programming, they could definitely be related to the field of programming.


It's    that posting links to your own website is ok, but should there be a line drawn? There were several spam flags today for 's recent posts, presumably because they all link to his website. Initially I disagreed because his answers seem for the most part relevant to the question, but then I looked into it more and realized there's three things that set this apart from most of the related cases that have come up:   This isn't an occasional thing -- he's posted  in the last year This isn't a random blog he writes for a fun, it's a for-profit company he  and makes money promoting I'm not willing to go through all 412, but from the sample I checked, he generally doesn't mention that the products he's recommending are his own. The site is linked from his profile, but most people aren't going to check that   Is all this considered acceptable use, or are the spam flags accurate?


I know there are many questions here about stationary tests etc however I have a question about general time series modeling.   Is stationarity important for all models? For example, if I model a time series using a Gaussian process of the form   $$y_t = f(y_{t-1}) + \epsilon$$  where  $$f \sim GP(.,.)$$  Should I use differencing? If I should, how do I transform my predictions on the differenced time series back to the original axis?


In the book The Elegant Universe, Greene describes a situation in which there are two space travelers, George and Gracie, moving in relationship towards each other at a constant velocity with no other available vantage points. Both George and Gracie have an equal right to declare that they are stationary and that the other is moving.From George's perspective, he is stationary while Gracie is moving and he observes (consequently? not sure this is direct consequence) her clock to tick slower than his. However, doesn't George also have the right to claim/perceive himself as the one who is in motion, and if so wouldn't he perceive Gracie's clock to tick faster than his? This seems to contradict the first perception. How would contradicting perceptions be available to the same observer? I assume I'm off somewhere.


Set focus and cursor to start of input field string | Angular 9

In Angular any simple way to set the focus (input cursor) on the start of input box string without jquery. Currently, I've used setFocus() {     this.testInput.nativeElement.focus();   }  but above code set cursor at the end of the input box string but I want to set the cursor at start. My html code <input class="__input" value="Hello-" #testInput type="text">  @ViewChild('testInput') input: ElementRef;  .


On $\mathbb{Z}[x]$ polynomial rings is module $M=(x,3)=x\mathbb{Z}[x]+3\mathbb{Z}[x]$ cyclic? Note: $(x,3)$ means generated by x and 3 I have no idea how i should start. I only know cyclic means generated by only one element. I would be appreciated for any help.


I've been messing around with  for some time, just pushing it out as text and it hasn't hurt anybody (that I know of), but I'd like to start doing things properly.  I have seen so many purported "standards" for the JSON content type:  application/json application/x-javascript text/javascript text/x-javascript text/x-json   But which one is correct, or best? I gather that there are security and browser support issues varying between them.  I know there's a similar question, , but I'd like a slightly more targeted answer.


Conflict of Interest statement for journal submission

Does anyone know what "Conflict of Interest" is? I am submitting a paper to a journal, and they ask me to attach a Conflict of Interest. Is it the same as Cover Letter?  Thanks in advance for any help!


Question about possessive (adj/pron) with additional party

I'm wondering about possessive adj/pronoun and apostrophe S in sentences where you add on additional "possessors". Could anyone give me feedback about whether the following sentences are correct, particularly the parts in bold:   My parents’ ability to turn every discussion into an argument is well known, as is mine/my and my brother’s irritation with it.   I feel like the adjective MY is the logical choice, but somehow MINE sounds more natural to me. Any thoughts?   We're just going over the details for our friends’, Jim and Jane's, surprise engagement party.   Is the above correct? It shouldn't be Jim's and Jane's, right? I know I could rewrite the sentence, but prefer it this way and am curious about the answer anyway.  Any thoughts would be appreciated!


difference between property with empty accessor or without accessor?  // Property with empty accessors public string Name { get; set; }  // Property without accessor public int Counter;   edit:  what implications beyond the compiler's statement implies such


Prove that $9^{n+1} - 8n- 9$ divisible by $64$.  I was wondering if the same can be proved by congruency modulus. It can be done using induction or binomial theorem.  Can anyone prove it using congruences if possible?


Aligning text in the horizontally and vertically in the center in html/css

I am needing to vertically and horizontally align the text to the center of the nav div. I will provide both the HTML and CSS down below.  Here is the HTML portion of the code.      <title> Dom Chronicles </title>

Home

Music

Blog

Shop

Contact

      Here is the CSS portion of the code.  @font-face  { font-family: Mager; src: url(fonts/ElegantLux-Mager.otf);  }  #header     { width: 1000px; height: 400px; margin: 0 auto; background-color: gray; }  #space  { width: 1000px; height: 10px; }  #nav    { width: 1000px; height: 50px; margin: 0 auto; background-color: gray; color: black; font-size: 25px; font-family: Mager; }  #nav li { list-style: none; display: inline; text-align: center; }  #nav li:hover   { opacity: .6; }


If $A$ is a square matrix of order 3 with $\det(A)=1$ and $AA^\top=I$, prove that $\det(A-I)=0$.   I tried everything I know but couldn't get to the proof.


I have installed JDK 7 in Ubuntu via following commands  sudo apt-get install python-software-properties sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer   The installed JDK version was 1.7.0_76. After 2  or 3 weeks, when I check the JDK version, it shows me 1.7.0_80.   I'm guessing, it happened because of the Auto-Update feature of Java.  Is there any way to disable auto update feature of JAVA/JDK for Ubuntu 14.04 ?


Problem with IPv6 sudo apt-get update/upgrade

I am using Ubuntu 16.04 Beta 2 at the moment and every time I try to update at home via sudo apt-get update or upgrade trough sudo apt-get upgrade I wont get any feedback. Even installing of anything will have the same result. It will just "hang up" on 0% while fetching data.  $ sudo apt-get update [sudo] password for niclas:  0% [Connecting to archive.ubuntu.com (2001:67c:1560:8001::11)] [Connecting to archive.canonical.com (2001:67c:1360:8c01::1b)]   I have no idea how to solve the problem. I already tried to ping6 archive.ubuntu.com with 100% packet loss while just ping wont have any loss.  I changed the DNS-Server (IPv4 & IPv6) to Google's one no solution either.


What is the Difference Between `apt-get purge` and `apt-get remove`?

Is there any difference between     sudo apt-get purge <package-name>   and    sudo apt-get remove <package-name>     ?  I often see people recommend one or the other.  In other words, what does apt-get purge remove that apt-get remove doesn't?