Question: How many  zeroes will there be at the end of $(127)!$  Approach: Considering the fact that when two numbers ending in $x$ and $y$ zeroes are multiplied, the resulting number contains $x+y$ zeroes: The numbers to be multiplied that contain zeroes: $$120,110,100,90,80.....10$$ That comes out to be a total of 13 zeroes. However, that doesn't seem to be the correct answer. Rethinking it, it's obvious that I'm missing out on several cases. For example: $$25*22 = 550$$ This is just one of the cases which will add a zero. How would I account for all these cases?


Big Factorials And Rules With Their Digits

This is the issue I have.   Given that $34! = 295,232,799,**cd**9,604,140,847,618,609,643,5**ab**,000,000$ determine the digits $a$, $b$, $c$, $d$.   As far as I've gotten is $34!$ contains these multiples of $5$. $5$, $10$, $15$, $20$, $25$, $30$. So $34!$ is divisible by $5^7$ ($25$ has two powers of $5$), and since there's at least that power of $2$, the last $7$ digits are $0$, so b is $0$.


How old did Gandalf appear to be when he came to Middle Earth?

Gandalf (as with all the Istari) did not have a corporeal form before coming to Middle-earth and was essentially ageless. We also know that Gandalf did age, albeit very slowly, while on Middle Earth. By the end of the Third Age (before battling Durin's Bane), he had the appearance of an old human male (non-Númenórean, etc) in his 70's or 80's. This leads me to wonder:  Is there any indication in Tolkien's writings that describes Gandalf's appearance (in human-looking years) when he arrived in Middle Earth? In other words, was Gandalf the Grey originally "Gandalf the Tall Dark & Handsome in his 20's"?  I'm not talking about his actual age, but rather his appearance in human years.


Relation between Rand index and accuracy

I am solving a problem on  binary classification. The Wikipedia  of the Rand index states that for binary classification the Rand index is equivalent to the accuracy: $$ R I=\frac{T P+T N}{T P+F P+F N+T N} $$ Is this statement right?. I am solving a binary classification problem. I have computed the accuracy and the rand index using sklearn.metrics.rand_score. Nevertheless they lead to a different result. I have found a similar question in  but it is not the same case since I have checked that the accuracy doesn't correspond to the Rand neither for the clustering nor for the permutation of the clustering.


I want an action to be executed conditionally, so I decide to reassign it to an empty function like this: public void ActionReassingnment1(bool doIt) {     bool myBool = true;     Action myAction = () => { myBool = false; };     myAction = doIt ? myAction : () => { }; }  I use myBool for my example lambda not to be empty, just placeholder not meaningfull logic. The problem is that without the intermediate variable myAction I cannot make the assignment directly in the true statement with the ternary operator like this: public void ActionReassingnment2(bool doIt) {     bool myBool = true;     //Action myAction = () => { myBool = false; };     myAction = doIt ? () => { myBool = false; }; : () => { }; //Error here }  Because of the ; of the () => { myBool = false; }; lambda I obtain that a : is expected. Makes sense, but then no matter what I tried I am not able to fit in the lambda directly. I tried wrapping the lambda with (() => { myBool = false; };) or {() => { myBool = false; };} with no success. Many time the compilation error I obtain is type of conditional expression cannot be determined because there is no implicit conversion between 'lambda expression' and 'lambda expression' It surprises me also that in the false statement, the lambda fits. Can a lambda be assigned in the true statement of the ternary operator? If so, how? If not, why then it is in the false statement?


What are the TeX definitions for the hyphen and dashes -, --, and ---?

I've tried latexdef which does not handle --- as the operand. And \texemdash is defined as a character. So that leaves me once again leaning on the collective wisdom of the group :)


Ubuntu 18.04 x86_64 packages missing in APT

so I just installed Ubuntu 18.04 on my Intel NUC and whenever I try to install some package I am getting an info that it is missing / Unable to locate.  E: Unable to locate package openjdk-8-jre  E: Unable to locate package ncdu  I checked and can see that package  is not available for x86_64... Why this architecture is not supported? is it temporary? or should I start looking for a different distribution?  thanks!


Best way to list 100 first files in a directory sorted by time

What would be the best way to list 100 first files in a directory sorted by the created timestamp (oldest first). The directory is quite large (around 100000 files). ls piped to head takes an awful long time to complete.   Edit:  Filesystem is ext3. limiting the number of files in the folder is not worth the effort, since this is going to be a rare "clean-up" operation and files are generated by a 3rd party software.   Using file modified time, instead of the creation time provides and acceptable solution.


Any significance to the number 66 in Order 66?

From what I've found, there were something like 150 contingency orders to help hide the Palpatine's Order 66 and what it was meant to do.  The first time I saw Revenge of the Sith, I thought he gave the order "666", and I thought, cute, the devil, but then I learned it was actually "66". Does it mean anything?  Is it still referencing the devil?  Is it just a number pulled from a hat? In short, what is the significance of the number in Palpatine's infamous line:     Execute Order 66   Update: George Lucas also did "American Graffiti" which references Route 66, but I don't how to connect that with killing Jedi.  Jedi road kill?


The zone 'asia-south1-b' does not have enough resources available to fulfill the request. Try a different zone, or try again later

The zone 'projects/exalted-skein-281903/zones/asia-south1-b' does not have enough resources available to fulfill the request. Try a different zone, or try again later. I am struggling to start VM on google cloud any help on what issue is or how to migrate the server to different India zone


How can I inject a property value into a Spring Bean which was configured using annotations?

I have a bunch of Spring beans which are picked up from the classpath via annotations, e.g.  @Repository("personDao") public class PersonDaoImpl extends AbstractDaoImpl implements PersonDao {     // Implementation omitted }   In the Spring XML file, there's a  defined:  <bean id="propertyConfigurer"    class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">     <property name="location" value="/WEB-INF/app.properties" /> </bean>    I want to inject one of the properties from app.properites into the bean shown above. I can't simply do something like   <bean class="com.example.PersonDaoImpl">     <property name="maxResults" value="${results.max}"/> </bean>   Because PersonDaoImpl does not feature in the Spring XML file (it is picked up from the classpath via annotations). I've got as far as the following:  @Repository("personDao") public class PersonDaoImpl extends AbstractDaoImpl implements PersonDao {      @Resource(name = "propertyConfigurer")     protected void setProperties(PropertyPlaceholderConfigurer ppc) {     // Now how do I access results.max?      } }   But it's not clear to me how I access the property I'm interested in from ppc?


How to avoid cinnamon sludge in a beverage?

When you grind up cinnamon (say in a coffee grinder) and use it in a drink, it ends up producing this thick sludge.  You can only prevent the sludge from forming if you leave it very course.  Why does it turn to sludge?  I swear I once had a container of cinnamon that did not produce sludge.  Am I buying the wrong cinnamon?


What overpowered combinations would be available if I allow a bonus action to be used in place of a standard action?

It has come up in game a couple of times that a player might want to cast a spell that has a casting time of 1 bonus action using their "main" action (if they have another bonus action they also want to take on that turn, such as giving bardic inspiration, or controlling a Bigby's hand, etc.)  On the face of it, it seems obvious that something (a bonus action) that is usually much faster than a full action could be done as your full action.  Although the question comes up most often with respect to spellcasting, if I house rule this, I would rule that any bonus action can be taken as a regular action instead; however, I would not allow the same type of bonus action to be taken twice (so no giving bardic inspiration to two allies on the same turn, for instance).   Are there any abusive or overpowered combinations I should be wary of if I were to allow a character to take 2 bonus actions instead of one regular action and one bonus action on a turn?   The issue of casting two bonus-action spells would not come up because the rule against casting 2 spells on your turn unless one of them is a cantrip with a casting time of 1 action would still be in effect:  PHB p. 203 (under Bonus Action casting time)     You can't cast another spell during the same turn, except for a cantrip with a casting time of 1 action.   I know it's hard to prove/justify a negative answer to a question like this, but I'd be happy to get answers that say you don't think there would be any issues if you describe how you came to that conclusion.


How can I show that a Linear Regression line is increasing in time?

For some consecutive years I have a number of incidents in a given city. From the scatter plot I deducted that the incidents increase linearly, so I performed a Linear Regression test. The slope is about 30 degrees.   Is there a way to show that this line is increasing in time?  I guess I have to compare the slope of my line with an imaginary horizontal line (zero degrees slope).  I have found this Q&A: . In my problem, the standard errors I have are zero for both lines.


Is the phrase 'medium appearance residential buildings' is correct grammatically?

If it is, whats the first meaning that you get from it?


Is there a way to enchant an item with /give

I'm making a Minecraft map where you have to kill bees and I'm trying to make the command block give you a sweeping edge sword and I just can't figure it out.


After I receivd a notification that someone answer my question, opened app from the notification and app crashed. Unfortunately, it crashes every time I try to open. The app is totally unusable now. Please fix.   iphone 6, os 9.1


If Snoke was around, there was never any balance of the Force?

1) George Lucas has said that Anakin brought balance to the force by "doing away with the Sith and getting rid of evil in the universe". If Snoke, who we can probably assume is skilled in the dark side of the Force, was around at the time of Palpatine's death, doesn't that mean that Anakin/Vader did not in fact bring balance to the Force, and was not the 'chosen one'?   2) Even if we were to answer that Snoke wasn't yet proficient in the Force at the time of the Emperor's death, how lame is the prophecy looking now - Anakin brought balance for maybe 20 years at most! As Lor San Tekka says in The Force Awakens: "Without the Jedi, there can be no balance in the Force" - clearly whatever balance Anakin achieved has quickly been lost (and even those few years between ROTJ and TFA weren't any better than those of the old Republic!). But from watching the prequels, you'd think the balance of the force would be a big deal, or at the very least last longer than a decade or two?!


chars like "è" and "à" are not correctly displayed from database

I have a problem with the characters displayed in a webpage when picked up from  a database.  Storage Engine: MyISAM  Collation: latin1_swedish_ci  In the databes the strings are stored correctly like in the following screen:   But when they are displayed on the web page i get that "?" strange characters instead of the "è" that should be displayed. Like in this example:    I tried many different collations but i can't find a way to solve this problem. I hope it's something easy to solve. Thank you very much.


Which attacks are possible against raw/textbook RSA?

The  defines multiple padding schemes for signature generation/verification ( and ),  and encryption/decryption ( and the less safe ).   Which attacks are possible on signature generation/verification and encryption/decryption if no padding mechanisms are applied, i.e. if raw RSA is used over the plaintext or hash?


How can i find the python triggered by the GUI?

I want to fully automatize some of my blender processes, an i run into a lot of problems not finding the correct commands, not using the correct args...  Can i just "see" in a log somewhere what were the commands blender ran ?  To be very precise, i want to load a gltf file, and export it to stl.  No problem through the gui, but i'm stuck with that bit of code :   import bpy import sys import os  file = open(r"C:\Users\theo1\Documents\GitHub\Hackathon2020\map&mapdata\mini.gltf")  bpy.ops.import_scene.gltf(file) bpy.ops.export_mesh.stl(filePath=r"C:\Users\theo1\Documents\GitHub\Hackathon2020\map&mapdata\mini.stl")   Which gives me this :   Traceback (most recent call last):   File "<string>", line 1, in <module>   File "C:\Users\theo1\Desktop\impExp.py", line 7, in <module>     bpy.ops.import_scene.gltf(file)   File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\modules\bpy\ops.py", line 198, in __call__     C_dict, C_exec, C_undo = BPyOpsSubModOp._parse_args(args)   File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\scripts\modules\bpy\ops.py", line 151, in _parse_args     raise ValueError("1-3 args execution context is supported") ValueError: 1-3 args execution context is supported   thanks.


wrong type specifier returning address value in java

public static void main(String[] args) {     // TODO Auto-generated method stub     int[] iray ={1,2,3,4};     char[] cray ={'b','u','c','y'};      printMe(iray);     System.out.println();     printMe(cray);  } public static void printMe(int[] a) {     for(int x: a)         System.out.printf("%s", a); } public static void printMe(char[] a) {     for(char x: a)         System.out.printf("%s", a); }   }  This returns output as :  [I@15db9742[I@15db9742[I@15db9742[I@15db9742 [C@6d06d69c[C@6d06d69c[C@6d06d69c[C@6d06d69c  Why is the answer returning address values. However, when I replace a in print statement with x initialized in advance for loop, it returns correct value ie   1234 bucy  Why is that so?


This is my first post so please don't be critical with me if I do something wrong.  So what is my case - Everyone knows the standard method to visualize the working hours of business:    But what is if the working hours for business are not always on the same day? For example, business works from Mon 4 am - Tue 1 am, Tue 4 am - Wen 1 am... and so on. It's a little confusing for the user when you present information like this:    BTW: I show current time and status of the business (open/closed), but I'm not sure are this solve problem with visualization.   So folks, what do you think on this case?


Find the area lying inside the circle $r=a \sin \theta$ and outside the cardioid $r=a(1-\cos \theta)$.

I calculated this area to be: $$\int_{0}^{\pi/2} \int_{a(1- \cos\theta)}^{a \sin\theta} r \  \mathrm dr\ \mathrm d \theta=a^2\int_{0}^{\pi/2} \cos\theta - \cos^2\theta \  \mathrm d \theta= a^2(1-\frac{\pi}{4}).$$ Just want to verify that my formulation and answer are correct since I do not have the correct answer myself.


Does the light from Branding Smite persist after the target dies?

The players were exploring Castle Ravenloft.  A trap separated the human paladin from the rest of the party and placed him in a deep pit with no light source.  In looking for a way out, he accidently released and then began to fight a wight.  This was initially quite bad as he was attacking with disadvantage, while the wight (with darkvision) was attacking twice with advantage.  The paladin remedied this by casting , hitting the wight, and making it glow. Branding Smite, emphasis mine:  The next time you hit a creature with a weapon attack before this spell ends, the weapon gleams with astral radiance as you strike. The attack deals an extra 2d6 radiant damage to the target, which becomes visible if it is invisible, and the target sheds dim light in a 5-foot radius and can’t become invisible until the spell ends.  After two more hits and some Divine Smite, the wight was dead.  The paladin wanted to hack off a piece of the glowing wight corpse and use it as a light source to help him climb out of the pit (spell duration is Concentration - 1 minute, the paladin needed three rounds to climb out of the pit).  I hesitated, because when the wight ceased to be undead and became just dead, it was transformed from a creature into an object and was thus no longer a valid target of the spell. Ultimately I ruled that one thing is a valid target for casting the spell itself, another is the persistent effects of the spell, and that the corpse would go on glowing for the duration.  However, I would like to know RAW for this and whether all the effects of the spell would cease when the wight was killed. Related: .  Superficially this might appear like a duplicate of my question.  However, the question there is about the dominate person spell when the target is no longer a Humanoid because of polymorph.  Obviously dominate person cannot continue to work if the target is no longer a Humanoid to dominate, but a dead wight could still continue to be a source of light.  I feel like that question is a different situation than Branding Smite where the 2d6 radiant damage is the spell itself and the light produced is a persistent effect of the spell.  Maybe the answer is not different, but I believe the question is different enough that it stands on its own. Also, although not a reason to say that this is not a duplicate, I am unsatisfied with the accepted answer to that question being based on a Crawford tweet. It has been suggested that this question is a duplicate of   I do not consider this a duplicate of that question for two reasons.  First, Fly requires a willing target which is an added complication that I don't want to address (and which is not adequately addressed in the answers to that question) and second, because independent of the question of whether effects carry over to an invalid target, it is nonsensical for an object to have a flying movement since it has no way to use movement.  In that sense it is equivalent to the dominate person question.  However, there is no inherent contradiction to an object being able cast light (and in fact other objects in the game do cast light, whereas I don't know of any objects that move). If this question is to be marked as a duplicate, I would prefer that it be marked as a duplicate of   In that case, as in my question, there is not the complication of the original spell requiring a willing target.  Further, there is no inherent contradiction in a creature instead of an object dealing heat damage when it is touched, as there are creatures in the game that deal damage when touched, such as an Azer.


How I can prove that the sequence $\sqrt{2} , \sqrt{2\sqrt{2}}, \sqrt{2\sqrt{2\sqrt{2}}}$ converges to 2?

Prove that the sequence $\sqrt{2} , \sqrt{2\sqrt{2}},  \sqrt{2\sqrt{2\sqrt{2}}} \ $ converges to $2$.   My attempt  I proved that the sequence is increasing and bounded by $2$, can anyone help me show that the sequence converges to $2$? Thanks for your help.


I am new in latex. My problem is that I want to make the text in the box italic.  \documentclass[a4paper,12pt,openany]{book} \usepackage{etex} \usepackage[utf8]{inputenc} \usepackage{chngcntr}    \usepackage{fontenc} \usepackage[french]{babel}   \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{color} \usepackage{dsfont}  \usepackage{lastpage}  \usepackage{sectsty} \usepackage[left=2cm,right=2cm,top=2.75cm,bottom=3cm]{geometry} \usepackage[Bjornstrup]{fncychap} \usepackage{hyperref}   \usepackage[T1]{fontenc} \usepackage{amssymb} \usepackage[most]{tcolorbox} \usepackage{cleveref} \newtcbtheorem[auto counter, number within = section]{defn}{Définition}{   colback=green!5,   colframe=green!35!black,   fonttitle=\bfseries, }{t} \begin{document} \begin{defn}{}{} asymptotically uniformly integrable relatively \end{defn} asymptotically uniformly integrable relatively \end{document}   The result :    But, I want the writing inside the Box in the following form:


R - In a 2 class problem how do I compute the normalization constant for finding the posterior distributions?

I have a two-class problem. Let's call the first class W1 and the second W2. I am trying to find the posterior distributions of both W1 and W2. I assume W1 and W2 have normal distributions with mu_1 = 4, sigma_1 = 2, mu_2 = 6, sigma_2 = 3 and with priors P(W_1) = 0.5 and P(W_2) = 0.5. I know the denominator is supposed to be a normalization constant... but looking at the formula I don't understand how the denominator would become a constant. Aren't P(X|W_1)P(W_1) and P(X|W_2)P(W_2) both distributions? Would I have to sum all the values of both distributions together? Thanks for any help and I apologize if this is a silly question. Code attempt is below: P_w1_likelihood <- rnorm(n = 1000,mean = 4,sd = 2) P_w1_prior <- 0.5  P_w2_likelihood <- rnorm(n = 1000,mean = 6,sd = 3) P_w2_prior <- 0.5  P_w1_posterior <- P_w1_likelihood*P_w1_prior/(sum(P_w1_likelihood*P_w1_prior)+sum(P_w2_likelihood*P_w2_prior)) P_w2_posterior <- P_w2_likelihood*P_w2_prior/(sum(P_w1_likelihood*P_w1_prior)+sum(P_w2_likelihood*P_w2_prior))  Posteriors <- data.frame(   "Posterior" = c(P_w1_posterior,P_w2_posterior),   "Distribution" = c(rep("W1|X",times = 1000),rep("W2|X",times = 1000)) )  ggplot(Posteriors,aes(x = Posterior,group = Distribution,fill = Distribution))+   geom_histogram(alpha = 0.7)+   scale_fill_manual(values = c("orangered","darkorchid2"))


Would it be possible to add an option to the edit control (used to write questions/answers) to indent the line by 4 spaces. I find myself using 4-space indentation quite often to format the code and counting spaces all the time is a bit tedious.  I would like this to work any number of times, ie. you would press the button twice to get 8 spaces, 3 times to get 12, etc.  It would be also good to have the reverse option of moving the indentation to the left by 4 spaces.  I know that any form of automated formatting was already discussed and is hard to do but that feature would at least allow some quicker editing.  I hope this is not a duplicate, I tried to search for previous questions but couldn't find anything.


I'm trying to loop through a list box text instead of having to select a line, but I am unsure on how to do so.  webBrowser1.Document.GetElementById("user").SetAttribute("value", listBox1.Text);


There is an issue with a particular link's 404 error page in the   For the invalid URLs we get the response as generic 404 error page.  Few examples:      But for the  URL, it returns the plain text 404, instead of the 404 error page.  Screenshot for reference:      Credits to:


Playing around with pgffor, I'm trying to slightly modify an example from the TikZ/pgf manual:  \path \foreach \x/\content/\style in {%   0/a/draw,   1/b/{draw,red},   2/c/{circle,blue},   3/d/draw% } {   node[\style] at (\x,0) {\content} } ;   Unfortunately, this does not work for nodes with multiple \style options set. TikZ complains with   ! Package pgfkeys Error: I do not know the key '/tikz/draw,red' and I am going to ignore it. Perhaps you misspelled it.    Now, this works perfectly, when I use a comma separated list for some other variable (e.g. \content). So now, my question is: how can I split \style while executing the loop? Obviosly, pgf tries to find one key named draw,red, when it should be looking for two keys instead, namely draw and red.  Is there some clever LaTeX macro that correctly expands the loop variable or tells pgf to expect multiple keys?


Is there any sed like utility for cmd.exe?

I want to programmatically edit file content using windows command line (). In *nix there is  for this tasks. Is there any useful native equivalent in windows?


In the real line, how many convex subsets are there up to homeomorphism?

I think the answer is 3. The convex sets are intervals, of course, and may be of any type; any two intervals that look alike are homeomorphic. So we add $(a,b)$ and $[a,b]$ to our count. Since intervals like $(c,d]$ are not homeomorphic to either of the previous two intervals, it is a third type. Finally, $(c,d]$ is homeomorphic to $[a,b)$, so we do not add $[a,b)$.  Am I correct?


White vertical line on the Metropolis theme background

I am using Beamer's Metropolis theme which is freely obtained in . The problem is that if I add the line  \addtobeamertemplate{background canvas}{\transfade[duration=1]}{}   to obtain effects in the presentation, in the PDF document there is a white line on the left side as you can see in this image    How I can avoid this?  I have used the following code, suggested by @samcarter  \documentclass{beamer}  \usetheme[background=dark]{metropolis}  \addtobeamertemplate{background canvas}{\transfade[duration=1]}{}  \begin{document}  \begin{frame} abc  \end{frame}  \end{document}   But the result is the same


Let $a$ and $b$ be natural numbers with $ab>2$. Suppose that the sum of their highest common factor and least common multiple is divisible by $a+b$. Prove that the quotient is at most $\frac{a+b}4$. When is this quotient exactly equal to $\frac{a+b}4$.


What do I need to install LED strip lighting?

I've been looking to install LED strips, either RGB or white for lighting and ambiance. It wouldn't be the main lighting of the room, so no necessity for high power LEDs.  The perimeter of the room is a little less than 25 meters. Looking around in online stores, I saw that the reels come in maximum lengths of 5 meters, so I would need five of those.  What I'm not sure is how to connect the strips together.  I was looking at , or  with .  If I choose the white LEDs, what power supply, controller, and connector would you recommend to be able to daisy chain the strips?  If I choose the RGB LEDs, what kind of data repeaters would work to be able to control all the strips at once?


reputation scores should be combined if accounts are integrated

Possible Duplicate:        I am talking about surepuser, serverfault and stackoverflow altogether.  There are two reason for this opinion, one is philosophical and the other is practical. Let me start with the philosophical first.   mail.google.com, reader.google.com and www.google.com provides three different functionalities, yet, same person, log in once, and he's logged in to all of them.  In practice, many developers are ending up installing their software on server machines, many of them are required to maintain these bytes regularly or even build some other tools that will do this for automatically (serverfault.com) - That's why I see no reason having two separate accounts for the same  senior developers usually can be considered as power users, so why would it be a different for the very same developer when posting a question or answering one on suerpuser.com.  and most of all, having meta.stackoverflow on a separate account is totally mistaken - imagine a guy scoring 27k on stackoverflow. One day, this fellow has an idea how to improve the site so to make it even easier to answer questions.  If this fellow answered 12k questions a year, his suggestion must be considered differently that one who answered 3 question a year, right? Since he's a proven heavy user of the site and a major contributor. Yet, when he will first login to the meta.so and create the account one will not notice their stackoverflow activity and might ignore their feature request altogether.


After running:  sudo add-apt-repository ppa:ferramroberto/java sudo apt-get update sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts   I try to setup a software sybase sudo ./setup.bin but I get the following problem:  exec: 2508: /tmp/install.dir.30906/Linux/resource/jre/bin/java: not found


Do numbers exist independently from observers?

Do numbers have an objective existence? If life had not evolved on planet earth would there be numbers or are numbers an invention of human minds?  Are there any relevant works that discuss this? (I know of Husserl's Über der Begriff der Zahl and Frege's Grundlagen der Arithmetik already; are there any other notable discussions of this theme?)


Problem with .deb packages on Ubuntu 16.04

. An update has been issued. If you still cannot install, ensure you have updated fully, and then restart your computer.   I am trying to install downloaded DEB packages. Each time, I see a warning like this:    And clicking install just loads and nothing changes.  This shows for all the packages I try and install. How can I install a package?


Choose the size of via for shielding and stitching

How do you choose the size and the parameters related to via stitching and shielding when you need to create a shielding on pcb around a RF micro strip?  OPTION A    OPTION B


If any two variables follow a normal bivariate distribution does it also have a multivariate normal distribution?

Bivariate and multivariate distribution relationship.    If we have say 3 variables where any two variables follow a normal bivariate distribution, then does it necessarily follow a multivariate normal distribution?


I'm using Ubuntu 14.04. I often use cd .. command in terminal. I want to replace the command with .. or some other shortcut.   Can I do that? If yes, how to do it?


Start aplication in local desktop from remote SSH

I have an issue for which the work around would be to start the application in X instead of headless. How do I make sure the app is executed on the desktop, even if I run the command from a remote ssh connection.


How to create predefined values in a field in PyQGIS?

I would like to make by programmation (python) the same thing than we can do directly in QGIS when you create a list of values for a field. I would like to create a new field and specify a list of possible values for this field. I didn't find any function for that in the API. Is there anyone who has the solution?


In general relativity, what makes an object released in a gravitational field START to fall?

I understand why a released object moves as it does once it has started moving, and why all objects fall at the same speed, removing other effects. But I don't see why the curvature of space would make it start to move in the first place, thank you.


How can there be acceleration but no velocity at instant of maximum height when object projected upwards?

When we project an object vertically upwards its velocity at maximum height consider to be zero but still, it has acceleration due to gravity i.e $9.8\mathrm{m/s^2}$. But mathematically we know that acceleration is the first derivative of velocity with respect to time $(a=dv/dt)$. So mathematically if velocity is zero there can not be any acceleration but this case contradict this equation. We can not even say that its direction is changing as the direction has no meaning without magnitude. So how this situation can be explained mathematically?


A continuous function that attains neither its minimum nor its maximum at any open interval is monotone

Let $f: \mathbb R\to \mathbb R$ be a continuous function such that $f$ attains neither its minimum nor its maximum at any open interval $I \subseteq  \mathbb R$ , then how to prove that $f$ is monotone ?


Connecting all points to each other in QGIS

I have a points layer of about 300 points, and I'm trying to find a way to draw lines between every pair of points (so 44,850 lines in total). I've thoroughly perused similar questions here and tried all of them no avail. I know R and Python, but have never used packages related to QGIS. Any suggestions?


I need some help finding a function within blender 2.74 which is "Surface", since in a tutorial I'm using the advanced cartoon eye rig, unitedfilmdom clicks on the world option within the right hand menu and then changes some aspects to it.  Here is the tutorial in question:   Is this simply not an option for me because I'm using amd and not nvidia or is it something else?  Its supposed to be in here:


Got Ubuntu 16.04, bought a MSI GTX 1060 Gaming X, connected it to PCI, lights on, but actually I dont know how to install and use it.   Last time I installed the Cuda package, I ended up in a login loop and had to reinstall Ubuntu.  The CD that came with the GPU seems to contain only Win-Drivers. Has anyone the same or pretty similar GPU and can tell me how to install or where is a tutorial for this?  Thank you.


Why does Eren Yaegar not have memories of previous attack titans

It is acceptable that he does not have memories of the founding titan but technically each titan shifter inherits the memories of the previous generations that inherited the same titan. Why does Eren not have Grisha's and Eren Kruger's memories? One answer on reddit seemed to be explaining this with the help of the dominating effects of the coordinate. As Armin is soon to get his titan powers in the anime, will he atleast get the memories and finally solve the mysteries for the people inside the wall?  As you may have noticed I have already catched on to a few things ahead but still would appreciate if there are no major spoilers in the answers to the anime.  EDIT: Please don't mindlessly flag as duplicate, atleast read both the questions and the answers given for the question for which you are flagging this as duplicate


How to safely change OS name in grub boot menu?

I have a system where I am dual-booting Ubuntu GNOME 15.10 and Ubuntu GNOME 16.04, however after installing Ubuntu GNOME 16.04, I have found that in the GRUB boot entry list it is called "Ubuntu", whereas the other one is called something like "Ubuntu GNOME 15.10", is there any way I can change the text of the "Ubuntu" one to "Ubuntu GNOME 16.04"? And also change the names of the other options so that instead of "Advanced options for Ubuntu" it says "Advanced options for Ubuntu GNOME 16.04" etc?  I rather do it manually if it is safe to do so, or a piece of software could be recommended, however nothing from a PPA or other untrusted not official source (I will only install software from the Ubuntu official repositories).


It's clear to me by inspection that if we fix $\beta = \frac{1-\mu}{\mu} \alpha$ (thereby fixing the mean) and let $\alpha \rightarrow 0$, the Beta distribution approaches a Bernoulli($\mu$) distribution.  For example:  par(mfrow = c(1, 2),     oma = c(0, 0, 1.5, 0)) xx = seq(0, 1, length.out = 1000) mus = c(.2, .7) for (ii in 1:2) {   mu = mus[ii]   matplot(xx, sapply(10^(-1:-5), function(al)      pbeta(xx, al, (1-mu)/mu * al)),     type = 'l', lty = ii,     main = paste('Mean:', mu),     ylab = 'Cumulative Probability', xlab = 'x') } title('Beta Approaches Bernoulli', outer = TRUE)     That is, if $X \sim B(\alpha, \frac{1-\mu}{\mu} \alpha)$, its CDF $F_X(x; \alpha, \mu)$, satisfies  $$ \lim_{\alpha \rightarrow 0} F_X(x; \alpha, \mu) = 1 - \mu = F_Y(x) \quad \forall x \in (0, 1)$$  Where $Y \sim$ Bernoulli($\mu$), and the convergence is non-uniform. I tried to do a more formal proof of this but couldn't make any progress, even in simple cases (like $\mu = \frac12$). The  makes reference to the $\mu = \frac12$ case several times without proof. Perhaps I'm missing something easy about doing the integral, or some fact about the Beta/incomplete Beta function. Any help would be appreciated!


I've defined the function  def f(array):     return list(filter(lambda x: (x is not 0.0) and (x is not 0), array))   and here's what happens we I try to pass a list with a 0.0 in it.  >>> f([0.0, 1, 0, 2, False]) [0.0, 1, 2, False]   What I'd expect returned is [1, 2, False] since my filter should have thrown out the 0.0 and 0, but not the False.  For some reason, the filter is not picking up the x is not 0.0 part, but it's working on the x is not 0 part fine.  I'm dumbfounded.    Edit: I've added in a False value to show why I'm not just using x != 0.


AnyConnect on ASA5520 licensing required?

longtime reader, first-time poster.  I'm currently working in a small shop and I am new to the Sys Admin role. We pay our ISP a lot for our VPN and we are looking for a different provider. We are currently very low on funds and the VPN is one of the hooks I need to reel in before we can jump ship.   We have a Cisco ASA 5520 and I've been researching "rolling our own" VPN since it seems like the hardware should be fully capable. After reading I think what we need is IPsec VPN for users to connect from home offices and it seems like Cisco's AnyConnect answers that need. Looking on the flash memory of the firewall I see an AnyConnect 3.1 pkg in there. It may have been set up at some point, but I don't any tells in ASDM.  The more I research, the more I read about AnyConnect licensing (Essentials package etc). Most questions regarding this topic are 5+ years old so I'm curious if anything has changed. This firewall is EOL and I think even the licensing for AnyConnect 3.x is as well.  My question is, do we need to (or can we even) buy AnyConnect licensing in order to set up a VPN? What will happen if I try to set it up in the Wizard without? We will have less than 5/10 concurrent users at any given time for the foreseeable future. I don't know the cost of this licensing, but Cisco service is typically very expensive and as I said we are not a wealthy shop. What are my options?  Thanks in advance for any help!  Edit: Further research tells me that IPsec VPN is free if I opt to pass on the SSL AnyConnect client thing. Am I correct in assuming this is the way I should go? I'm going to have to find some tutorials on how to set this up if that's the only free angle.


How dissimilar to an existing logo should mine be to avoid copyright issues?

Thinking about starting up a small clothing company with the symbol below:    But after surfing the web I discovered Nike's undefeated symbol.   Will my design cause copyright issues? How dissimilar should mine be to avoid issues?


Google AdSense Policy Non Compliant "Site Behaviour: Navigation"

I am having a dilemma with Google AdSense over at my blog. It seems the violation is in respect to one specific page.   The violation is: Site Behavior: Navigation Examples of misguided navigation include, but are not limited to:     False claims of downloadable or streaming content Linking to content   that does not exist Redirecting users to irrelevant and/or misleading   webpages Text on a page unrelated to the topic and/or business model   of the website.   A common mistake for this violation is broken links on the page. I have fixed all of those. Any request for further specifics from Google is futile.   Anyone have experience with this issue?


Can I use HL2 Assets in my free Godot game?

I couldn't find some good textures for my Godot game, so I am  looking forward using Half-Life 2 assets. I have HL2 in my library on Steam.  Can I use those assets in my game?


Why do magnetic field field lines behave the way they do?

So I learned that the bar magnet makes a magnetic field and the field lines have a certain shape which kinda resembles 2 semi-ovals.  And if we pass current through a conductor then it makes a  magnetic fields and the field lines are in the form of concentric circles around the conductor.  My question is- why? Why do magnetic field lines take the shape that they take? There must be a reason behind it. Why aren't the field lines of a normal bar magnet shaped like the field lines of a conductor carrying electricity? And vice-versa?   Please explain it to me..i know that it delves very deep into the fundamentals of the working of science but still...please tell me the reason if anyone knows it


We know that $0.\overline{9} = 1$ but then what is $\left\lfloor0.\overline{9}\right\rfloor$?  My thought process went: $0.\overline{9} = 1$ so therefore $\left\lfloor0.\overline{9}\right\rfloor = \left\lfloor1\right\rfloor$   But also $\left\lfloor0.9\right\rfloor = 0$ and it shouldn't change no matter how many numbers you add on to the back of it.  So what is the right answer, if there is one, and why?


I haven't been able to find a post specifically on fluted knives, so hopefully this isn't a duplicate.  I was wondering if fluted knives actually work. I came across a comment (possibly an Amazon review) that fluted knives don't actually help in preventing vegetables from sticking to the knife -- causing the user to have to still have to stop and remove the cut product.   I've never used a fluted knife, so I literally have no idea. I was wondering what the general consensus on SA was: Have you noticed that a fluted knife makes enough of a difference to purchase the fluted version of a particular knife over the non-fluted version?


Split file into multiple files based on pattern

I have a large file that's a couple hundred lines long. This file is partitioned into many parts by a specific identifier, lets say 'ABC'. This line 'ABC' appears 6 times so I want 6 output files. I'm familiar with split and awk but can't seem to create a command line that will do what I've described, any ideas?  Here's an example  ABC line 1 line 2 line 3 ABC line 1 line 2 ABC line1   I'd like three files where ABC is the first line in the new file and it ends before the next ABC is encountered.


I asked a question regarding PP complements the other day and I believe I now have a better handle on that. But I am still scratching my head over this paragraph from CGEL:  Within the category of internal dependents we will draw a distinction between modifiers and complements. The pre-head dependents in [7] are modifiers, while complements are seen in the finance minister, our legal advisor, and the like. (Cambridge Grammar of the English Language (2002), p.331)  I thought "finance" in "the finance minister" was a noun adjunct, and so was "legal" in "our legal advisor", because if you take them out what you get is still normal, meaningful NPs. A minister is a minister, and that one just happens to be responsible for finance. But in Huddleston and Pullum's description, "finance" and "legal" are indispensable to the NPs. Are they integral parts of their respective NPs because they bond with the head nouns? But why?


I recently downloaded QGIS on a Mac OSX 10.7.4 (lion) and purchased a master map shape file, of a particular area.    I am trying to divide it into polygons following features on the master map vector file (.gml 2.shp) and it just won't snap. I have been to snapping and digitising options box, and ticked and changed tolerances far and wide but it just will not snap.   My map layer and topographic options are ticked. I've tried the general options tolerances and still it does not want to snap. I have tried changing vertex to segment and both to no avail, as well as pixels to map.   If I am working at 1:2500 map scale in metres what would a typical tolerance be?  (tried 1- 50)   I think there must be a simple solution to enable snapping or have i down loaded file in the wrong format? In MapInfo one had to use keyboard strokes 'S' for snap and 'T' for trace, but this is not mentioned and you can be sure I have tried!


How much time does it take to translate a manga volume/tankobon?

I would like to know how much time does it take to translate a manga volume (e.g. One Piece) to another language, for example English or Spanish.


Apache error "Could not reliably determine the server's fully qualified domain name"

When I restart my Apache server using the command  sudo /etc/init.d/apache2 restart   I get the following error:  Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName   Is the server using 127.0.1.1 instead of 127.0.0.1? What causes this error?


IINM my system is failing when bashing  for i in {0..10000000}; #   Seven zeroes. do     false; done #   `bash` exited and its `tmux` pane/window was closed.   or  for i in $(seq 0 10000000); #   Seven zeroes. do     false; done #   `bash` exited and its `tmux` pane/window was closed.   but not when  for i in {0..1000000}; #   Six zeroes. do     false; done #   Finished correctly.   Can you please briefly explain the internals of this behavior and prompt a workaround for getting the task done?


If $f$ is injective and $g$ is not injective, $g\circ f$ is not injective?  If $f$ is surjective and $g$ is not surjective, $g\circ f$ is not surjective?


Flag and upvote buttons for comments are now always visible

As far as I can recall flag and upvote buttons for comments were visible only on mouse over comment. Now I see them always:        At the same time "delete comment" button appears only on mouse move. Seems there is some inconsistency.


Irreducible polynomials have distinct roots?

I know that irreducible polynomials over fields of zero characteristic have distinct roots in its splitting field.  seems to show that irreducible polynomials over $\Bbb F_p$ have distinct roots in its splitting field (and all the roots are powers of one root). Is the proof correct? I have never seen this result anywhere else. The proof is very convincing to me. Does the result hold for $\Bbb F_q$ where $q$ is a power of prime? I don't think it holds because I've heard there are irreducible polynomials with repeated roots? Please help.


Fastest way to copy 1TB safely over the wire

I want to transmit a 1TB file over the internet. I have control over both machines (sender unix, receiver linux). I can open FTP, OpenVPN, NFS, ...  So far resuming for some reason is not stable on FTP, so I cut the file in 1GB pieces and transmit file per file, then md5 on the other side. It's very annoying.  I have between 3 and 6 mbytes/sec to the other site. Which is a pretty decent speed.  I want it to be safe and I want resuming if it fails. I tried NFS - no resuming.  Is there a cleaner, safer way?


VirtualBox crashed after Ubuntu Mate update

I delete it & re-installed many times with different versions but the problem persists:  vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.  sudo cat /var/log/vbox-setup.log Building the main VirtualBox module. Error building the module: make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.4.0-145-generic/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules make[1]: warning: -jN forced in submake: disabling jobserver mode. mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/* make -f ./scripts/Makefile.build obj=/tmp/vbox.0   gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem .........   Failed versions:   virtualbox-5.2_5.2.26-128414_Ubuntu_xenial_amd64.deb virtualbox-6.0_6.0.4-128413~Ubuntu~xenial_amd64.deb   My linux:  uname -a Linux cent 4.4.0-145-generic #171-Ubuntu SMP Tue Mar 26 12:43:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux  lsb_release -a  No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 16.04.1 LTS Release:    16.04 Codename:   xenial   Another failed retry to build the kernel:  sudo /sbin/vboxconfig vboxdrv.sh: Stopping VirtualBox services. vboxdrv.sh: Starting VirtualBox services. vboxdrv.sh: Building VirtualBox kernel modules. vboxdrv.sh: failed: Look at /var/log/vbox-setup.log to find out what went wrong.  There were problems setting up VirtualBox.  To re-start the set-up process, run   /sbin/vboxconfig as root.   Any ideas?


How do I Join a World in Minecraft: Pocket Edition over Android and iOS?

My sister is using a kindle fire and I am using an IPad. How do I let her into my world and how do I go into hers?   I know this question has already been answered but where do I go to find the answer to this question?


When talking about possibilities in the past, You often use "could have done".     "She could have gone to the theatre with him."   "He couldn't have done such a thing!"   "I could have saved them."   "You could have borrowed the car from him."   I understand "can have done" is used in negative and interrogative statements.     "She can't have eaten all the food."   "Can he have told them all the secrets?"   But I've not seen an affirmative sentence like,     "She can have gone to the theatre with him."   "He can have told them all the secrets."   "I can have saved them."   "You can have borrowed the car from him."   Why is it? As far as I know, "can" sometimes refers to possibilities as follows.     "It can be boiling hot in summer."   "She can be nasty."   Did "can have done" in affirmatives used to exist before? Or is it still possible but only used in limited contexts? If it is, when do you use the structure? If it's not used at all, what do you think is the reasons? Should I just think of it as an exception or an irregularity? ※. I've already read this link:  ※. One thing added: I looked up 'can' in Oxford Advanced Learner's Dictionary of Current English       (Third Edition, 1974, A.S. Hornby), and here are the examples:     a. One of the prisoners escaped yesterday; he can/could(=may) be anywhere by now.   b. He's an hour late; he can have been delayed by fog, of course.   Now I'm thinking "can" really used to express speculations about the past, and the meaning was more or less the same as "could" or "may". if the interesting affirmative "can" was still alive in some dialects, I'd love to know about them and to know whether the choice between "can" or "could" might be a matter of lowering possibility in the dialects. I really want to hear different opinions on this "can".


How to set java to show full call stack for exception?

I am getting exception in the log. The stack trace ens with "... 11 more". But want to see actual 11 more lines, not just "... 11 more". Is there a way to start java the way that it gives full picture of the call stack on exception?


The Potters and the Gaunts are both said to have descended from the Peverell brothers. Voldemort  came from the Gaunt line and was the heir of Salazar Slytherin. Was Harry also the same, or is it that the Peverell brothers were so back in line of ancestry that the divergence of bloodlines digresses the relation?


I want to map an arbitrary Ruby Array to a Hash.  Input:  ['bar1', 'bar2', 'bar3']   (The array will have between zero and three elements.)  Output:  { foo1: 'bar1', foo2: 'bar2', foo3: 'bar3' }   I'm looking for the most elegant solution.


This is my current code, I'm trying to set the background of my site to a rainbow gradient however this code isn't working, however I know its being called as the alert goes off on the page? How would I go about fixing this? var date = new Date(); var hours = date.getHours(); var day = date.getDay(); var seconds = date.getSeconds(); var minutes = date.getMinutes(); var month = date.getMonth();  if (month == 4) {     document.getElementById("container").style.backgroundColor = `linear-gradient(red, yellow, green)`;     alert("test"); }


Sci fi story, tattooed dots on your head signifies you've killed a beast

Sorry, I don't recall much, this is very faint UK memories from the 1970's, I think it was a novella in an anthology.  The protagonist is (I think) a native bearer with an Earthmen hunting party.  He is on a diaspora colony world that has, a few years before he was born, been found again by an expanding Terran Empire.  On this world there is a fierce creature (zero memory of a description) and, to be classed as an adult in their society, you have to single handedly kill one of these creatures. Once you kill one you get a dot tattooed on your forehead, some veterans have three or four dots. .  Once Earthmen heard of this their big game hunters excitedly came from all around the galaxy and soon there was a shortage of the beasts, the planetary rulers imposed quotas and tariffs to ensure a steady income, what this means is people like the protagonist can't afford to hunt a creature and thus attain adulthood.  The other bearer's on the safari sneer and call him Blanky (or Blankie?) I think (not sure) that a crisis happens and he then shows his bravery in what will become a new adulthood ritual.


Value of convergent infinite factorial series

I've tried searching for this both with "infinite factorial series" and on approach0.xyz to no avail.  Wolfram|Alpha gives: $$\sum_{i=0}^{\infty}\frac{i!}{(i+4)!}=\frac{1}{18}$$ I was wondering where this came from. It's the infinite limit of the partial sum formula given by Wolfram|Alpha, as expected, but that also raises the question of where the partial sum formula comes from.  Any help would be appreciated.


I am learning about PCA, regarding PCA I need to know that given a dataset is it always necessary to use centering? what if I don't center the variables used in PCA?


Assigning CRS to Lat/Lon in R giving error: "Geographical CRS given to non-conformant data"

I have a list of suburbs in Queensland, Australia along with their lat/longs.   However, when I try to read in the file in R and assign a CRS, R is giving the following error message:      Error in proj4string<-(*tmp*, value = ) :     Geographical CRS given to non-conformant data: 153.53332931   Here are relevant lines of the code,  # Loading suburb list  qs <- read.csv(file = '../data/Australian_Post_Codes_Lat_Lon.csv',                 header = TRUE,                stringsAsFactors = FALSE)  suburb <- qs %>%    filter(state == 'QLD') %>%    select(postcode,          suburb,          lat,          lon)   coordinates(suburb) <- c('lat', 'lon') # Assigning proper Coordinate Reference System (CRS) to Lat/Long. proj4string(suburb) <- CRS("+init=epsg:4326")   I am using the csv file provided


.fbx export why there are no materials or textures?

I used node textures in a mesh I exported to .FBX.  I then imported it into Unreal Engine 4 and it didn't import any textures; I clicked the Upload Textures option in Unreal Engine.  Is there something I'm doing wrong or is it Blender?


How to call an array created on other file in eclipse?

I want to fill a table with in 1st row the index and in 2nd row an element generated on a uniform law. To follow the steps of my work I did a non-executable file: import java.util.Random;  public class CSignal {     private int N, V;     private double[][] tabSig;     public double k;      public CSignal() {         V = 4;         N = 10;          Remplit();     }      public void Remplit() {         for (int i = 0; i < N; i++) {             tabSig[0][i] = i;             Random e = new Random();             k = e.nextDouble();             tabSig = new double[2][2];             this.tabSig[1][i] = k * V;         }     }      public int get_N() {         return N;     }      public int get_V() {         return V;     }      public double[][] get_tab() {         return tabSig;     }      public void Affiche() {         System.out.println(tabSig);     }  }   and then the executable: public class TP {      public static void main(String[] args) {         // TODO Auto-generated method stub         CSignal signal;         signal = new CSignal();         signal.Affiche();     } }    When i try this prog I got the following error: Exception in thread "main" java.lang.NullPointerException: Cannot load from object array because "this.tabSig" is null


From , it was suggested that advanced spoilers be implemented, such as multiline spoilers and block elements (like quotes) inside spoilers. Can these features be added?  Adding this would make writing spoilery quotes, such as from a book, but keep those who wish to stay uninformed (like me :D) unspoiled.


Why doesn't this work? I think I've got all the packeges I need, and I've copied it from .   \documentclass[landscape,a0paper,final]{a0poster} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{fullpage} \usepackage[czech]{babel} \usepackage{graphicx} \usepackage{pstricks,pst-grad} \usepackage{amsthm}  \begin{document} \psshadowbox[linewidth=1mm,framearc=0.1,linecolor=red,framesep=1em]{ \begin{minipage}[h]{0.5\linewidth} {\bf Fermat’s last theorem} If an integer $n$ is greater than $2$, then the equation $$ a^n+b^n=c^n $$ has no solutions in non-zero integers $a$, $b$, and $c$. \end{minipage}} \end{document}


Questions about the Fermi-Dirac distribution at $T=0.$

In my book (Daniel V.Schroeder - An introduction to thermal physics) in page 267 they introduce the Fermi-Dirac distribution is given by  $$\bar{n}_{FD}=\frac{1}{e^{(\epsilon-\mu)/kT}+1}. \tag{1}$$  But a few pages later they claim that the Fermi-Dirac distribution becomes a step function and then proceed to define the Fermi energy as  $$\epsilon_F=\mu(T=0).$$  Questions:  1) How does $\bar{n}_{DF}$ become a stepfunction at $T=0$? It's not even possible to plug it in the distribution since then we have division by zero.  2) The expression for the chemical potential $\mu$ is given by  $$\mu=-kT\ln{\frac{Z_1}{N}},$$  where $N$ is the number of particles and $Z_1$ is the partition function for any single particle. So setting $T=0$ should just give $\epsilon_F=\mu=0$. But this is apparently not the case. Why?


delete ubuntu completely from hard drive

i want to completely delete Ubuntu from my hard drive and then want to install window on it. Please help me as soon as possible.  after installing window i will install Ubuntu


Linear Algebra: Change of Basis Matrix and standard basis

Find the matrix of transformation $ \mathbb{R}^3 \to \mathbb{R}^4$ taking $v_1 = (1,2,3)^T$ to $w_1 = (1,0,0,2)^T$, $v_2 = (2,3,4)^T$ to $w_2 = (1,2,3,4)^T$ and $v_3 = (1,1,2)^T$ to $w_3 = (0,5,1,7)^T$ by first finding the change of basis matrix from the basis ${v_1,v_2,v_3}$ to the standard basis and then multiplying it by the matrix which takes the standard basis to $w_1, w_2$ and $ w_3,$ respectively. Explain why this gives you the right answer.


Disable bash's cache of executables in the path

Note that this is not a duplicate. I am asking about disabling the cache, not clearing it. If you have a cache to clear, then it is obviously not disabled.  On the rare occasions that I notice bash's cache of things that it has found in the path, it's not because it's helpful, it's because it's bloody annoying. An example:  ~ dc$ export PATH=$HOME/bin:$PATH ~ dc$ cat bin/which #!/bin/bash echo "my which" ~ dc$ which my which ~ dc$ rm bin/which ~ dc$ which which -bash: /Users/dc/bin/which: No such file or directory   In another shell ...  ~ dc$ which which /usr/bin/which   I'm sure that this caching made sense back in the good old days when disks were slow and memory was expensive and limited and so you couldn't cache much - caching a path is cheaper than caching all the disk blocks necessary to find a command. But these days it provides no noticeable benefit and causes more problems than it solves. It's a misfeature, verging on being a bug.  And I can't even find a way of disabling it. Any pointers?


What is the point of showing publicy a new user's question vote count more than -1?

Mostly I am on Stackoverflow.com where new/experienced programmers share their knowledge. When a new user asks his first question, the question can be downvoted because the user's question is a bad question. They do not read the  document which helps users to ask a good question.  Now what is the point of the possibility of downvoting a new user's question if it is already -1? Example: . A question which has now -8.  Of course, there are a few things about the user's question that make it a bad question. But why can users downvote a question if it is already -1? What is the point of showing -8? The point that the question is bad is already indicated by the -1 (note: only people with 125 reputation can publicly downvote a question).   I feel -8 does not have any added value to the user itself. I think when he sees the -8 he just leaves the website or anything other than positive. It is now like: "Hey man! Bad question! Here, have a downvote!" times eight  Especially for new users, I think it is important that a review should be made when the question received a downvote. The question should be on hold and "normal" people should not be able to downvote/see the question. When the review is made, the mod can decide that the user should rewrite his question to make sure people see it again. I already thought this was possible, but I think it is a great idea to not bash away the new user, by simply spam downvoting his question.   What do you think about this? Is it okay there is no limit on downvoting a new user's question?


Magic is based on words of power, which series?

I read a book of this series probably around 2000. I think the series was quite new then but not sure.  The main thing I remember about it is that magic is based on words of power. If you knew one word you got some extra ability, knowing two words gave you yet some other ability, and if you knew three words you became a very powerful wizard. Only one person at a time could know each word, and telling someone your word meant you died.  The main protagonist somehow gets hold of one word and then for some reason strives to learn more.  EDIT: I think that I accidentally picked up the second book of the series and never read the first one. From what I remember, the protagonist learned one word of power and got some kind of supernatural ability (cannot remember what though). He then ends up in some kind of challenge where he has to cooperate with another person who knows another word that gives super-strength.  Not very coherent memories, but I hope someone knows what series it is. It has been bugging me for years. (Not even sure if the series is good at all, but still would like to know the name.)  EDIT2:  I remember the world as being medieval-ish. I do not think there were dragons, but there may have been other humanoid races (I have a very weak recollection that there may have been an orc or similar in the story, but this could be completely wrong). The protagonist was male.


Which uses of Bonus-Action spellcasting are legal?

Looking at  questions  casting  has left me trying to keep a lot of information in my head about whether a given combination of spells is legal according to the official 5th edition spellcasting rules. So I'd like to consolidate all these rules into a single easily accessible table, containing all the possible combinations of spells that could possibly be cast in a single turn, and hopefully create an easy reference for future use. But I'm not certain about how some of these combinations should be treated. Based on the second question I linked, the ordering doesn't matter, so I've simplified the chart to ignore order of these actions, and only focus on what actions are being taken. But if I'm mistaken (i.e. the answer provided to that question was wrong) then this table will need adjusting.     Action Bonus Action Action Surge LEGAL?     Non-Cantrip   Yes   Cantrip   Yes    Non-Cantrip  Yes    Cantrip  Yes   Non-Cantrip Cantrip  No   Cantrip Non-Cantrip  Yes   Non-Cantrip Non-Cantrip  No   Cantrip Cantrip  Yes   Non-Cantrip  Cantrip Yes   Non-Cantrip  Non-Cantrip ?Yes?   Cantrip  Non-Cantrip ?Yes?   Cantrip  Cantrip Yes   Cantrip Non-Cantrip Non-Cantrip ?No?   Non-Cantrip Cantrip Non-Cantrip ?No?   Non-Cantrip Non-Cantrip Non-Cantrip ?No?   Non-Cantrip Non-Cantrip Cantrip ?No?   Cantrip Non-Cantrip Cantrip ?Yes?   Non-Cantrip Cantrip Cantrip ?No?   Cantrip Cantrip Non-Cantrip ?No?   Cantrip Cantrip Cantrip Yes    Is this table (Column 4 in particular) correct? The core issue for me is that it's not clear to me how Action Surges interact with the spellcasting rules, hence the question marks listed there. It seems like an Action Surge might permit 2 leveled spells to be cast in a turn, unless a Bonus Action is used to cast a spell, in which case this is no longer permitted. If this is correct, then my table above should be correct, minus the question marks. But I need that validated.


So my boyfriend and I met online and we’ve been dating since April 2020. We haven’t met yet because I’ve been working in the US as an au pair. I was supposed to go home to South Africa in July and he would’ve visited me in August but unfortunately due to covid-19 I had to extend my stay in the US. I will be going home in January and I plan on visiting him in Scotland in February. He will be paying for my trip and I will be staying with him for two months so that we can celebrate my birthday together. I doubt we’re going to go out that much because of covid-19 , if we do it will probably be just to see his family. How do I estimate how much my trip will cost when we (he) really won’t be spending any money out of the ordinary with my being there. Also how do I go about the visa process when I will not have proof that I have a job in South Africa. I am currently a student (online) at the London school of international business so this doesn’t help when trying to prove I will be returning to South Africa. Another concern I have is would I be allowed to list him as a sponsor along with his details (bank statements, proof of residence,etc) even though we haven’t met? It’s really been a tough year with covid and we’re really hoping to meet in feb, So any advice on how to make this possible would be great!


Unable to join some servers without a VPN

I am able to connect to almost every Minecraft server that I have tried, such as Hypixel and some random ones. However, very few have an issue where I get an error on connect. "io.netty.channel.... Connection refused: no further information." When trying a VPN, I am able to connect just fine. However, a VPN isn't a good option since many servers have a list of IP's from known VPN's to prevent entry to the server. Does anyone know a fix to the problem?  In the video here it shows that I can not connect with a VPN. With one, I am able to connect. The kick saying no VPN's allowed means I have connected, just was kicked in the login event. This happens on Optifine 1.8.8 and the latest release, 1.16.3.


Where to start on learning Special Theory of Relativity?

I was recently reading articles/posts about the Special Theory of Relativity and I was fascinated by the theory's insights about space and time. My goal is to have an in-depth understanding for STR and so I want to know what books, websites or youtube channels are good for learning the STR. Also, do you have to be an expert at STR to be good in GTR?  **My Mathematical knowledge is not very high(in Pre-Calculus) and I am in AP Physics 1. Just some helpful information.


Let $(x_n)$ be a bounded but not convergent sequence. Prove that $(x_n)$ has two subsequences converging to different limits.    My attempt is:  Since the sequence is bounded , there exists $M>0$ such  that $x_n \in [-M,M]$ for all $n \in \mathbb{N}$. Since the sequence does not converge to $x$, there exists $\epsilon_0>0$ such that $ \forall N \in \mathbb{N}$, there exists $n \geq N$ such that $|x_n-x| \geq \epsilon_0$.   Then we have $x_n \in [-M,x-\epsilon_0] \cup x_n \in [x+\epsilon_0,M]$. By Bolzano-weierstrass theorem, there exists a convergent subsequence in the two intervals.   Is my proof valid? ${}{}$


Here is a question that has been nagging me for a few years: Which is the right usage:  "Didn't used to" or "didn't use to?"  Examples: We lived on the coast for years but we didn't use to go to the beach! We lived on the coast for years but we didn't USED TO go to the beach!  He didn't use to read stories as a child, but he grew up to be a writer. He didn't USED TO read stories as a child, but he grew up to be a writer.  Did you use to play video games in your youth? Did you USED TO play video games in your youth?  I have seen this question asked on many other websites, and there has been a great deal of debate, but it had generally been inconclusive.  I personally consider 'didn't USED TO' a wrong usage, but would like an expert opinion.


What symbols/characters are not allowed in tags?


Given $G,H_1,H_2$ finite abelian groups and $G\times H_1 \cong G\times H_2$ then $H_1 \cong H_2$

Given $G,H_1,H_2$ finite abelian groups and $G\times H_1 \cong G\times H_2$   Show $H_1 \cong H_2$   I think the proof would go something like this: $H_1\cong(G\times H_1)/(G\times\{e_{H_1}\})\cong(G\times H_2)/(G\times\{e_{H_2}\})\cong H_2$  Though the first and third isomorphisms are somewhat obvious, I'm doubtful about the second isomorphism because Given $\Phi:G_1 \to G_2$ is an isomorphism, I only know that (this is a guess) $G_1/H\cong G_2/\Phi(H)$ (is this true? I have not verified) But $\Phi((G,e_{H_1}))$ may not be equal to $(G, e_{H_2})$  So how do I show this?


Search doesn't allow exact phrase "[=1]"

Is there any additional advanced search operators that would enforce the existence of [=1] in search results? Using double quote "[=1]" does not work. I couldn't find relevant info in   In particular, I'm looking to search in  where such argument can show up in the code.  This particular expression currently cannot be searched with Google nor Bing advanced search operators.


Consider the equation $$2\tan(2x) = 3\cot(x)$$ What are the $x$ values (in degrees) that satisfy the equation for $0^\circ \leq x \leq 180^\circ$?  When I try to solve it using the identity of $\tan(2x)$, I get two solutions, which are $33.2^\circ$ and $146.8^\circ$. However, there appears to be a 3rd solution of $90^\circ$; I get this value after graphing the LHS and RHS on Desmos but should it be a valid solution as $3\cot(90^\circ)$ is undefined?


A classmate and I have been looking over some stats regarding a study looking at the (lets call it) survival rate of an item of food. He ran his analysis using coxph to generate a model to compare the survival of a piece of food on camouflaged vs non-camouflaged backgrounds. Reviewing the summary of this analysis he saw that the R squared returned a value of 0. Both of us are biology students with a very limited background in statistics, but it struck us as odd that the R squared could be 0, as surely there must be some marginal level of variance explained by the model. Reading up on this, I saw that R squared for coxph is not functionally equivalent to the R sq. returned by linear models etc.  So I guess my questions are: How should we interpret this information? Is there an equivalent measure for data variation?  I understand this is similar to a previous question asked about , but mine is more focused on a comparison of (or inability to compare) this value to one that might be returned in a linear model.  Many thanks.


Writing inside the nodes of a matrix shift them

Hello helpful community, I am faced with an issue while using a matrix of nodes in Tikz. When I write something in the nodes, they shift. Here is a MWE :     \documentclass{standalone} \usepackage[utf8]{inputenc}  \usepackage{tikz} \usetikzlibrary{matrix}  \begin{document}  \begin{tikzpicture}     \matrix (magic) [matrix of nodes,nodes={minimum width=1cm,minimum height=1cm,draw,very thin, },draw]     {           {} & {00} & {01} & {11} & {10}\\          {} & {} & {} & {} & {}\\     }; \end{tikzpicture}  \end{document}  And its output :  If you haven't tried online editing for latex, you should give a try to overleaf, here is my code on there :


So my physics teacher assigned us an article about how special relativity causes magnetism in a wire with a current, even with the low drift velocities of electrons in a current.  It seemed that the basis of the article was that magnetism is just relativistic electricity, so I was wondering how a permanent magnet worked? It makes sense to me that a moving charged particle attracts unmoving particles of the opposite charge, but how do the orbits of electrons in a magnet cause it to have a magnetic field?


Future Method cannot be called from batch

I have written a batch class which triggers in after update trigger on the object. This Afterupdate trigger in turn calls the future method. After running the batch class i realise that Salesforce does not allow to call future method from a batch class. I added AllowsCallouts option in batch class definition but it does not help as the future method has been called from the trigger and not form the batch class itself. Any suggestion here?


Went to try and use SFDX tonight (it was working a few days ago) and received the following Plugin "salesforcedx" v41 or later may only be installed in a v6.0.0 or later CLI. 41.3.0 I tried to run sfdx update and received  sfdx-cli: Updating salesforcedx@latest to 41.3.0...Plugin "salesforcedx" v41 or later may only be installed in a v6.0.0 or later CLI. 41.3.0 ! ▸    Error installing plugin salesforcedx  I uninstalled the salesforcedx plugin and tried to reinstall it and received same error... Any ideas on how to recover or am I dead in the water?


Why is lcm(n) used now instead of $\varphi(n)$ in RSA?

I know that lcm(n) or Carmichael's totient function $\lambda(n)$ is now used instead of $\varphi(n)$ or Euler's totient function to generate the public key in RSA encryption? Why is this so? Are there any mathematical, computer scientific reasons behind this related to key security or efficiency?


Find all solutions of congruence $3x^2−2x+9≡0\pmod {35}$

Find all solutions of congruence $3x^2 - 2x + 9 ≡ 0 \bmod 35$: Attempt: \begin{align} 3x^2 - 2x + 9 &\equiv 0 \bmod 35\tag{* 3} \\ 9x^2-6x+27 &\equiv 0 \bmod 35 \tag{- 26} \\ (3x-1)^2 &\equiv -26 \bmod 35 \\ \\ -26 + 35 &= 9 = 3^2 \\ \\ \iff (3x-1)^2 &\equiv 3^2 \bmod 35 \\ \iff (3x-1-3)*(3x-1+3) &\equiv 0 \bmod 35 \\ \\ \implies \underbrace{3x - 4 \equiv 0 \bmod 35}_{(a)}        &\lor \underbrace{3x + 2 \equiv 0 \bmod 35}_{(b)}\\ \end{align} Case $(a){:}\; 3x - 4 \equiv 0 \bmod 35$ $\Rightarrow 3x \equiv 4 \bmod 35$ $\Rightarrow 3x \equiv 39 \bmod 35$ $\quad\underset{ ( gcd(3,35) = 1)}{\implies} x \equiv 13 \bmod 35$ Case $(b){:}\; 3x +2 \equiv 0 \bmod 35$ $\Rightarrow 3x \equiv -2 \bmod 35$ $\Rightarrow 3x \equiv 33 \bmod 35$ $\quad\underset{ ( gcd(3,35) = 1)}{\implies} x \equiv 11 \bmod 35$ So $x = 13$ or $x = 11$. Is it correct that way?


Real norms on vector spaces over finite fields

I am interested in functions of the form $\psi: F^n \to \mathbb{R}^+$, where $F$ is a finite field, that have norm-like properties, e.g., $\psi(x+y) \le \psi(x) + \psi(y)$. Does anybody know if there is any literature on this area?


I'm trying to install fglrx but I receive this error. Could someone help me?  sleepyhead@sleepyhead-pc:~/Desktop$ sudo apt install ./fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb Reading package lists... Done Building dependency tree        Reading state information... Done Note, selecting 'fglrx' instead of './fglrx_15.302-0ubuntu1_amd64_ub_14.01.deb' Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  fglrx : Depends: fglrx-core but it is not installable          Recommends: fglrx-amdcccle but it is not installable E: Unable to correct problems, you have held broken packages.


I am a Master 1 student studying dynamical systems. I am new to it. There's a problem, I have with invariant sets. Excuse me, I didn't know how to start the following question.  I have the following system of ODEs $$\begin{aligned} x_{1}' &= -\gamma_{1}x_{1} + (1-\alpha)\phi(x_{3})\\ x_{2}' &= -\gamma_{2}x_{2} + \alpha\phi(x_{3})\\ x_{3}' &= \gamma_{2}x_{2} - \phi(x_{3}) + u\end{aligned}$$ where $0 < \alpha < 1$ is a given parameter, $u > 0$ is a control input, $\gamma_{1},\gamma_{2}$ are positive constants and $$\phi(x_{3}) = k_{1} x_{3} e^{-k_{2} x_{3}}$$ with $k_{1}, k_{2} > 0$ are given constants. Show that the set of $x=(x_{1},x_{2},x_{3}) \in \Bbb R_{\geq 0}^3$ such that, $$\begin{aligned} (1-\alpha)\phi(x_{3}) &\leq \gamma_{1}x_{1} < u\\ \alpha\phi(x_{3}) &\leq \gamma_{2} x_{2}\\ \phi'(x_{3}) &< 0\end{aligned}$$ is an invariant set.  Attempted Solution:  Let $f_{1}=-\gamma_{1}x_{1} + (1-\alpha)\phi(x_{3})$, $f_{2}=-\gamma_{2}x_{2} + \alpha\phi(x_{3})$ and $f_{3}=\gamma_{2}x_{2} - \phi(x_{3})+u$ .\ We have $$ div (f)= \dfrac{\partial f_{1}}{\partial x_{1}}x'_{1}+\dfrac{\partial f_{2}}{\partial x_{2}}x'_{2}+\dfrac{\partial f_{3}}{\partial x_{3}}x'_{3}$$ I tried to evaluate $div(f)$ along the boundary of the set of interest: $$\begin{aligned} (1-\alpha)\phi(x_{3}) &= \gamma_{1}x_{1} = u\\ \alpha\phi(x_{3}) &=\gamma_{2} x_{2}\\ \phi'(x_{3})&=0\end{aligned}$$ And i got: $div(f)=0$.\  It means that there is a balanced set of outings and entries with respect to the vector fields. Please is the method correct? If yes, what can i deduce from the answer? Does if mean that the set is invariant? Thanks


Do I have to own a Mac to upload games made by unity to the app store? How to test apps on IOS? Because in android its so easy just build the APK send it to your phone and test, but this cant be done with IOS so how thing work with IOS ?


I'm trying to learn how to produce math diagrams like this in Latex. I haven't had any luck finding stuff online because I don't really know what to search for. Any help?


Custom list environment across multiple tabular columns

I'm trying to define a custom usecase environment with the ability to typeset paths in the form of lists within a tabularenvironment.    \documentclass{scrartcl}  \usepackage{booktabs,multicol,enumitem} \setlist{leftmargin=*,nosep}  \newcommand{\tabhead}[1]{\textbf{\sffamily#1}}  \newcounter{usecase} \newenvironment{usecase}[1]{     \refstepcounter{usecase}     \begin{center}     \begin{tabular}[t]{lp{0.8\linewidth}}     \toprule     \tabhead{case~\theusecase} & \tabhead{#1}\\     \midrule     }     {\bottomrule\end{tabular}\end{center}}   \newcommand{\actor}[1]{actor & #1\\}  % This doesn't work. \newenvironment{brokenmainpath}{     main path & \begin{minipage}{\linewidth}\begin{enumerate}}     {\end{enumerate}\end{minipage}\\}  % This does. \newenvironment{mainpath}{     \begin{minipage}{\linewidth}\begin{enumerate}}     {\end{enumerate}\end{minipage}}  \begin{document}  % This works. \begin{usecase}{important use case}     \actor{actor 1}     main path & \begin{mainpath}         \item step 1         \item step 2     \end{mainpath}\\ \end{usecase}  % This is what I would like to type to get output in the above image. %\begin{usecase}{important use case} %    \actor{actor 1} %    \begin{mainpath} %        \item step 1 %        \item step 2 %    \end{mainpath} %\end{usecase}  \end{document}   The problem is, when I include the main path & into the environment definition (as in brokenmainpath) that should always come in the left column of any use case followed by the steps of the path as an enumerated list in the right column, I get a whole bunch of errors (18 to be precise). They are all of the sort     Extra }, or forgotten \endgroup.  \unskip \hfil }                             \hskip \tabcolsep \endtemplate  l.36         \begin{brokenmainpath}   Also, the top alignment of "main path" doesn't seem to be working. Any help would be much appreciated.


Creating left-to-right sliding presentation

I found  presentation document by D. J. Bernstein. Is it possible to create it in latex?  Screenshot


I'm trying to extract id from a url, below my code:  $text = '/news/35555555555-title-of-the-article'; $text = eregi("news/(.*)-",$text,$regs);  echo $regs[1];   I want to echo only   35555555555   but above code is printing:  35555555555-title-of-the


How can I clear all items from a player's inventory without an NBT tag in 1.15.2?

This is my current command: execute as @a[distance=..100] run execute at @s if block ~ ~-1 ~ minecraft:quartz_block run /clear @s <...> I would like to clear the executing entity's inventory of all items without the NBT tag {PitAllow:1b}. I am in version 1.15.2 and if any plugins are required (Bukkit or Spigot) I'd be fine with installing those.


Equality checking using additive homomorphic encryption

Given two ciphertexts $c_1 = enc(p_1)$ and $c_2= enc(p_2)$ using any additive homomorphic encryption scheme (or specifically Paillier).   Can we find out whether the underlying plaintexts $p_1,p_2$ are equal without decrypting $c_1,c_2$ i.e. homomorphically?


I have two branches of in my LinkedList implementation. The Master is a simple one that caters only to integer data types. While the _templates one is designed with templates to provide service to any data type.   My master branch compiles perfectly with this:  g++ -0 t1 main.cpp LinkedList.cpp Node.cpp   On the flip side, when I try to compile my _templates branch with the same (I have the implementation changed in this branch with templates):  g++ -0 t1 main.cpp LinkedList.cpp Node.cpp   I get the Linking error:  undefined reference to `LinkedList<int>::LinkedList()' undefined reference to `LinkedList<int>::~LinkedList()'   And just to be absolutely clear, my Constructor in _templates branch  template <class T> LinkedList<T>::LinkedList() {       head = 0;      tail = 0; }


Using helvet, fontenc packes with ttfamily gives pixelated font

I use Helvetica as the font for my document (helvet package). Now I need some parts to be printed in typwriter face, e.g. via \ttfamily. However, as long as I use the fontenc package with the T1 option the text generated turns out to be pixelated (upper text normal, lower \ttfamily).  With \usepackage[T1]{fontenc}:   Without \usepackage[T1]{fontenc}:   MWE:  \documentclass{article} \usepackage{lipsum}  \usepackage[scaled=0.95]{helvet} % required to use sans-serif in normal text \renewcommand{\familydefault}{\sfdefault}  \usepackage[T1]{fontenc} & <-- comment/uncomment this line  \begin{document} \noindent normal: {I'm Batman and Superman} \\ ttfamily: {\ttfamily I'm Batman and Superman} \end{document}   I assume it's related to the fact that helvet has no serif-fonts, but \ttfamily tries to select one. Is there any way around this? I thought about redefining \ttfamily with (another?) monospace font, but couldn't yet figure out how exactly to do this properly.


What can stackexchange do for me professionally

Am on askubuntu and love to contribute there, and other stackexchange sites. I was wondering on how can I use stackexchange(askubuntu) for my professional reputation.  How plausible is it for me to use stackexcange on my C.V., how can i use stackexcange to show my employer my competence.   English is not my native language


Word for person prying on my personal stuffs

which adjective can I use to describe my neighbor, who is always trying to keep eye on my personal matters like what am I bringing from market or what am I cooking etc?  Regards,


Does declaring a function create a variable with the function name and the function object assigned to it?

Just want to clear up some confusion regarding functions in JavaScript. Does a declared function create a variable with the function name in the same function scope and assign the function object to itself?  By code,  function name(){}   does it translate to,  var name = function name(){}   just before execution? If function is an object it should be held some where inside the scope by reference right?


How can I remove a strange smell from the refrigerator?

Sometimes I feel that my refrigerator has a strange smell when I open it. How can I remove this smell?


The negation of the continuum hypothesis as an axiom

Suppose that one considers the formal theory "ZFC+~CH", or the set of all axioms of ZFC plus the negation of the continuum hypothesis.  Then we have that there exists at least one set S whose cardinality lies between that of the integers and the real numbers.  Do set theorists know anything about S?  In particular, supposing that S is a subset of R, which elements from R does S contain?  Has there been any research into this?


What is the expected probability of error of a channel?

I am stuck at the following exercise:      Let $\mathcal{C} = (\mathcal{X} , P, \mathcal{Y})$ be a channel with $\mathcal{X} = \mathcal{Y} = \{0,1\}$ and transition matrix       $$ P = \begin{bmatrix}  7/8 &1/8 \\ 1/8 &7/8  \end{bmatrix}.$$      The input probabilities are $P[X = 0] = 0.3, P[X = 1] = 0.7$. Each input bit is encoded by   transmitting it through the channel $2n + 1$ times, and the decoding function is the majority   bit (the bit $0$ or $1$ that appears more times in the sequence of $2n + 1$ output bits).   Let $f(n)$ be the expected probability of error, that is, the probability that the decoded bit is   different from the encoded bit.      Express $f(n)$ as a sum of the form $f(n) = \sum_{k=\ldots}^\ldots (\ldots)$.   I do not know what is meant with the "expected probability of error", we did not define this in the lecture. Could you explain this to me?


How to prove that $\lim_{n \to \infty} n x^{n} = 0 $ when $0<x<1$?

Intuitively it's easy, but hard to prove by the epsilon-delta method:  $$ \lim_{n \to \infty} n x^{n} = 0$$


Differential Equation on rate of spread of a rumor.

So there is this question that I have been trying to solve but am struggling to do so. As far as I can tell, it is a differential equation however, I am unsure how to go about solving it. It would be very much appreciated if any help was given on the question as I am unsure of how to proceed with it. Thank you.     A rumor is spread at a rate proportional to the number of people who have heard it. If there are $200$ people in a room and the amount of people who have heard the rumor is unknown, then it must be assumed that $200 - x$ have heard the rumor. Therefore the rate is:   $$\dfrac{dx}{dt} = ax(200 - x)$$   It is assumed that the rumor started with one person and that after $1.5$ hours, $12$ people have heard it. How long will it take for $100$ people to hear the rumor?


Vertices that don't belong to vertex group move in pose mode

I've been trying to rig a fox-shaped mesh in Blender for quite some time now and keep on failing to move legs independently. Although i carfully weight-painted the mesh after using with automatic weigthpaint, moving one leg always leads to movement of vertices that are not at all weigthpainted. I would be so grateful for any piece of advice!    A couple of Vertices is moving back and forth in accordance with the pposite leg without beening weight-painted. Espacially those in the red circle. I have been looking at it in vertex selection masking as well and i'm sure there's no accidental weight on the right legt      Thanks for looking into this in Advance!!


Showing that if $p_1 + \cdots p_n = 1$ then $\displaystyle \sum_{k=1}^n \left(p_k + \dfrac {1}{p_k} \right)^2 \ge n^3+2n+\dfrac 1n$?

This problem is from the book "Cauchy-Schwarz Masterclass":     Show that if $p_1 + \cdots p_n = 1$ with each $p_i$ positive, then $\displaystyle \sum_{k=1}^n \left(p_k + \dfrac {1}{p_k} \right)^2 \ge n^3+2n+\dfrac 1n$   I expanded the LHS and arrived at   $$(p_1^2 + \cdots + p_n^2) + \left(\dfrac {1}{p_1^2} + \cdots +  \dfrac {1}{p_n^2}\right) \ge n^3 + \dfrac 1n$$  I was able to show that $p_1^2 + \cdots + p_n^2 \ge \dfrac 1n$ by applying C-S to the sequences $(p_1, ..., p_n)$ and $(p_1, ..., p_n)$. I also think that $\dfrac {1}{p_1^2} + \cdots +  \dfrac {1}{p_n^2} \ge n^3$ is true (because equality holds for $p_i = \dfrac 1n$ and I checked numerically for some values) but I am not able to prove it.  At this point in the book we only proed that classic $C-S$ inequality and the $C-S$ for inner product space, so I am hoping there is a solution only with these tools.


Display Managers gdm3, xdm not working after upgrade to 20.04; lightdm stuck in login loop, only LXDE working

I just upgraded to Ubuntu 20.04. But I'm now stuck with problems with display managers. GDM3 (preferred DM for me) and xdm are just stuck at a black screen (with a blinking cursor/underscore). Next idea was to start in recovery mode and try lightdm, which finally leads me to the login screen. Just as I think my problems are gone and enter my login credentials at the login screen, the screen gets black and soon after that the login screen comes back. This keeps on happening for all desktop environment options except LXDE and Openbox. I tried looking at answers provided for similar issues but they didn't work. Some had suggested sudo apt remove chrome-remote-desktop But I don't think it's installed in the first place for me as I get: Unable to locate package chrome-remote-desktop If someone could help me by giving out a few pointers, that'll be really helpful.


I was stuck up with the error   directive 'register_globals' is no longer available in PHP in unknown on line 0   when tried to check the php version using "php -v" after enabling register_globals in php.ini file. I am not getting any php version info by doing so. Instead it throws the above mentioned error.After turning off this option, php info works quite well. It is very essential for me to have register_globals to be turned on.How can I have this corrected.  my php.ini is as follows:   ; Default Value: None ; Development Value: "GP" ; Production Value: "GP" ; http://php.net/request-order request_order = "GP"  ; Whether or not to register the EGPCS variables as global variables.  You may ; want to turn this off if you don't want to clutter your scripts' global scope ; with user data. ; You should do your best to write your scripts so that they do not require ; register_globals to be on;  Using form variables as globals can easily lead ; to possible security problems, if the code is not very well thought of. ;  register_globals = On  ; Determines whether the deprecated long $HTTP_*_VARS type predefined variables ; are registered by PHP or not. As they are deprecated, we obviously don't ; recommend you use them. They are on by default for compatibility reasons but ; they are not recommended on production servers. ; Default Value: On ; Development Value: Off ; Production Value: Off ;  register_long_arrays = Off  ; This directive determines whether PHP registers $argv & $argc each time it ; runs. $argv contains an array of all the arguments passed to PHP when a script ; is invoked. $argc contains an integer representing the number of arguments ; that were passed when the script was invoked. These arrays are extremely ; useful when running scripts from the command line. When this directive is ; enabled, registering these variables consumes CPU cycles and memory each time ; a script is executed. For performance reasons, this feature should be disabled ; on production servers. ; Note: This directive is hardcoded to On for the CLI SAPI ; Default Value: On ; Development Value: Off ; Production Value: Off ; register_argc_argv = Off  ; When enabled, the SERVER and ENV variables are created when they're first ; used (Just In Time) instead of when the script starts. If these variables ; are not used within a script, having this directive on will result in a ; performance gain. The PHP directives register_globals, register_long_arrays, ; and register_argc_argv must be disabled for this directive to have any affect. ; auto_globals_jit = On


What's the cause for these 2 hardware faults?

I've got 2 hardware faults located inside Control Panel\System and Security\Security and Maintenance\Problem Reports, and I'm hoping someone here could help shine some light on what's possibly causing them. They are old logs, dating back in the summer (3-4 months ago)  I've hooked an audio system to my laptop that always stays plugged in via USB. (2.0 in a 3.1 type-C connector).  Here are the two dumps in question:  Description A problem with your hardware caused Windows to stop working correctly.  Problem signature Problem Event Name: LiveKernelEvent Code:   1000015e Parameter 1:    25 Parameter 2:    23 Parameter 3:    ffffbf8b0fa24b38 Parameter 4:    e040101 OS version: 10_0_17763 Service Pack:   0_0 Product:    256_1 OS Version: 10.0.17763.2.0.0.256.48 Locale ID:  1033   And the second one:   Description A problem with your hardware caused Windows to stop working correctly.  Problem signature Problem Event Name: LiveKernelEvent Code:   144 Parameter 1:    3003 Parameter 2:    ffff8102100825c0 Parameter 3:    40010002 Parameter 4:    0 OS version: 10_0_17763 Service Pack:   0_0 Product:    256_1 OS Version: 10.0.17763.2.0.0.256.48 Locale ID:  1033   Any help would be greatly appreciated.  PS: I'm not sure what tags I need to use here. If someone could help out. Thank you too!  Operating System: Windows 10 Pro 64-bit (10.0, Build 17763) (17763.rs5_release.180914-1434) taken from dxdiag tool.


Is tipping mandatory at Restaurants and Bars in Germany?

In Bavaria, I paid for my drink, I asked her for "Ruckgeld", but only got the integer part of the money back, the rest of it, she kept it for tip! I looked her in the eye and she understood that I wasn't happy with that "initiative", but wouldn't blink an eye!  My company advised me to let it go, mentioning that if I was going to ask for the change, she would swear.  Notice how she didn't return me the correct amount back and then stare at me, demanding for tip, but she would decide for me!  Since, I will be around for a week or so, I was thinking of paying the exact amount of money next time. Will I get in an uncomfortable situation of having the waiter stare at me, demanding a tip? In other words, is tipping mandatory in Germany?    PS: Having experienced the tipping-cruelty in USA, and having tipped generously waiters across the Mediterranean for their supreme behavior, this Saturday night came as a shock, since I had the impression that this awful habit was only a USA-thing (you know, just like the fake audience laughing they have in USA TV series :) ).


I went around Google and looked on YouTube for some videos, but for whatever reason, nothing worked. I tried going into "Additional drivers" and switching the driver that way, but nothing actually changes. It just stays stuck either applying the changes or nothing happens.   I currently have an ether net connection set up temporarily, so I am able to access the web. However, I want this fixed as soon as possible.   Any help greatly appreciated.   02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)  Subsystem: Hewlett-Packard Company U98Z049.00 Wireless Mini PCIe Card [103c:1507]  Kernel driver in use: b43-pci-bridge   Update: The output to lspci -knn | grep Net -A2; rfkill list   02:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)     Subsystem: Hewlett-Packard Company U98Z049.00 Wireless Mini PCIe Card [103c:1507]     Kernel driver in use: b43-pci-bridge 0: hp-wifi: Wireless LAN     Soft blocked: no     Hard blocked: no


Proving that a continuous function has a solution $f:[0,1]\to \mathbb R$

Let $f:[0,1]\to \mathbb R$ be a continuous function such that $f(0)=f(1)$. Prove that $f(x)=f\left(x+\frac12\right)$ has a solution for $x\in [0,\frac12]$.  This question has to do with continuity and the intermediate value theorem. I observed that $f(0)=f\left(\frac12\right)=f(1)$ but I don't see how to show that the function go through zero (i.e has a solution) for all we know it can be a straight line parallel to the $x$ axis in $[0,1]$.


Whenever I start a game, from both the disc and hard drive, my Xbox will say "Username signed out". What's wrong and how do I fix it? Just to be clear, it signs me out when I start a game. How can I stop this?


Do there exist bump functions with uniformly bounded derivatives?

Let us consider a bump function $\phi: \mathbb{R} \longrightarrow \mathbb{R}$, smooth, with compact support. The most common examples are built from the function $$ \psi(x) = \begin{cases} \exp ( \frac {1}{x^2 - 1}) & \lvert x \rvert < 1 \\ 0 & \text{otherwise} \end{cases}.$$ Although this function behaves very well, its derivatives become arbitrarily large inside the unit ball. I wonder --- do there exist bump functions with "small" derivatives?     Stated more precisely, does there exist a bump function $\phi \in C^\infty_c(\mathbb{R})$ and some $M < \infty$ such that $\phi^{(k)} \leq M$ for all $k$th derivatives?   Intuitively, I feel the answer is no, as a sort of cost of vanishing entirely.


Copying (hundreds of) tables from one server to another (with SSMS)

I have several hundred (currently 466, but ever growing) tables I have to copy from one server to another.  I have never had to do this before, so I'm not sure at all on how to approach it. All the tables are in the same format: Cart<Eight character customer number>  This is part of a larger project of which I am merging all these Cart<Number> tables to one Carts table, but that's a whole different question altogether.  Does anyone have a best-practice method I can use to copy all these tables over? The database names on both servers are the same, if that helps. And as I said earlier, I have the sa account so I can do whatever is necessary to get the data from A to B. Both servers are in the same server farm, as well.


When a 0-1-matrix with exactly two 1’s on each column and on each row is non-degenerated? [1]

Let $A$ be an $n\times n$ matrix with entries in the set $\{0,1\}$ which has exactly two ones in each column and two ones in each row.  Give necessary and sufficient conditions for the rank of $A$ to be $n$.


A ransomware appears to have been circulating for the past few weeks. It encrypts data files and creates a BUYUNLOCKCODE.txt ransom note in all directories where a file was encrypted.   This buyunlockcode.txt file contains instructions and an email that you must contact to receive payment instructions. Known email addresses are nick.jameson@expressmail.dk and ChiuKhan@tom.com, though these will most likely change over time. At this time, the ransom amount is unknown.  The text of the BUYUNLOCKCODE.txt is:     Hi, your ID = JSOXXXXXXXX      All important files were encoded with RSA-1024 encryption algorithm.      There is the only way to restore them - purchase the unique unlock code.      Warning! Any attempt to recovering files without our "Special program" will cause data damage or complete data loss.      As we receive your payment, we will send special program and your unique code to unlock your system.      Guarantee: You can send one of the encrypted file by email and we decode it for free as proof of our abilities.      No sense to contact the police. Your payment must be made to the e-wallet. It's impossible to trace.      Don`t waste your and our time.      So, if you are ready to pay for recovering your files, please reply this email ChiuKhan@tom.com      Then we will send payment instructions.   Does anyone have any idea how to solve this problem?