Can a ranger pick two humanoid races as their favored enemy at level 1, and then two more humanoid races at level 6?

Can a ranger pick two humanoid races as their favored enemy at level 1, and then two more humanoid races at level 6 or level 14? My reading of the Favored Enemy feature is that any time the ranger chooses a favored enemy, be it at Level 1, 6 or 14, the ranger may alternately choose two humanoid races instead of one non-humanoid creature type. However, D&D Beyond does not allow a player to choose two more humanoid races at level 6 or 14 if they have previously chosen two humanoid races at level 1 or 6. Is my interpretation of the Favored Enemy feature incorrect, or is D&D Beyond's implementation incorrect? Note: My question is similar, but not a duplicate, to  one. That question is about a scenario where a ranger chooses a non-humanoid creature type as their favored enemy at level 1, and then wants to choose two humanoid races at level 6. My question is about a ranger who chooses two humanoid races at level 1, and wants to choose two more humanoid races at level 6.


What testing is done to make sure no packages in the repos have malware?

How is it ensured that a trusted user can't compile a package with malware and place it in the universe repo.


Excel - Copy text from a web browser to excel without HTML format

When I paste some text from a browser into the Excel cell, it will copy the HTML format - colors, font type, sizes, into the cell as well. Is it possible to only copy&paste the plain text into the Excel cell?


How to optimize performance of cluster model without any ground truth?

I had a general question on what to do when no ground truth data is available and clustering is initiated.   Are there still metrics which can indicate how good or bad the clustering worked on the "baseline" data set? I am not sure how to tune the initial model without appropriate measures for (internal) model performance on the baseline data.   What is a best practice?


How to test if my film was exposed or not

So yesterday, after assuming I'd finished my roll, which I'd been shooting over a few months because I don't shoot film that often, I went to wind my film back into the canister. I did everything right, but noticed that there was a lack of tension and thought it was odd that the frame counter on my Canon AE-1 wasn't automatically winding back to S. This makes me think I'd stupidly not loaded the film properly in the first place and that despite shooting over the past few months, I've not actually gotten any of the shots.   I'm curious to know if there is a way to test without having to develop the film.  I was thinking if I retracted the leader out of the canister and pulled out the first frame, would I be able to tell if it had been exposed or not and therefore make an assumption as to whether the other had as well?  Thanks in advance for any help!


The number of ways in which a team containing atleast one woman is formed

From a group of 8 men and 4 women a team of 5 including atleast 1 woman is to be formed.Find the number of ways in which this team can be formed.      What i've done: No of ways to select one woman is 4 AND No. of ways to select remaining 4 members is C(11,4) since there are totally 11 people left now and there is no further restriction/condition for their selection ∴ Total ways to select team= 4*C(11,4)=1320 But the answer given in my textbook is 736 Can someone please explain what is wrong in my  approach and whats the correct way to do this? Thanks in advance :)


I just stumbled across this when trying to .  I'd argue a site like Stack Overflow is absolutely the best place for these kinds of questions, somewhere where people can give their opinions and experiences for other people to easily and quickly see at a glance, and view the best rated ones.  When searching that exact question on Google, the sites I came up with were just blogs, the opinion of a single person. Personally I'd value the opinion of an entire community, especially this community, much higher than that.


I thought I understood the difference, but now I'm not so sure. I've read the technical answer several times but I'm not understanding what is happening. I have this example.  class Program    {       static void Main()       {          int val = 0;           Example1(val);          Console.WriteLine(val); // Still 0!           Example2(ref val);          Console.WriteLine(val); // Now 2!           Example3(out val);          Console.WriteLine(val); // Now 3!       }        static void Example1(int value)          {              value = 1;          }        static void Example2(ref int value)          {              value = 2;          }        static void Example3(out int value)          {            value = 3;          }     }   I always thought the difference between default parameters is that if I am passing val into Example1, I can't use assignment.  But with the ref keyword val is still 0, but I have created a reference that is now treated as the variable "value" within Example2(ref val). Am I getting hung up on anything so far? if I had used  int value = 0; Example1(value); Console.WriteLine(value); // this would then return 1 correct?   Now then, what is happening with the out keyword? Same thing as ref?


How to find the most popular word in the text in a text file through the linux terminal

How to find the most popular word in a text file through the linux terminal? Need to write a script


I ran into a weird issue on my Nexus 7 running 4.4.2. If I uninstall an app from the device, it still shows up in Settings -> Apps -> Downloaded at the bottom, and it says not installed. However, it prevents me from installing an apk via adb, reporting the app was still installed.  I had to do an adb uninstall and that completely removed the app.  What changed? What's the proper procedure to remove an app? The only thing that changed that I'm aware of is that now I'm using user profiles, but the app in question is not used in any other profiles.  Thoughts?


How would I make something look super far off and really big while having that white kind of haze to it?

I want to put a ship over a city but make it look really big and have that white hazy look to it, like the death star has here. See how it's transparent-ish and kind of smokey white? How do I do this in blender(cycles)?


Interpreting a significant 2-way interaction with post-hoc tests

I'm analyzing reaction time data from a repeated measures ANOVA with the following design: Factor 1 (between-group): GROUP (controls, clinical) Factor 2 (within-group): TASK TYPE (social, non-social) Factor 3 (within-group): DECISION DIFFICULTY (easy, hard)  ANOVA results indicate a significant 2-way interaction (GROUP×DIFFICULTY). No other main effects, 2-way interactions, nor the 3-way interaction are significant (all $p > .4)$.  Since there was no effect of task, I pooled data across the 2 task types. I'm not sure what is the right way to go from here in terms of reporting and interpreting the results. My specific questions are:   Should I always perform follow-up tests with a significant 2-way interaction, or should I just stop there and interpret based on the figures (and without further stats)? Between- or within-group post-hoc: Should post-hoc tests be restricted to an independent t-test between groups (i.e. comparing "pooled easy" data between groups, and "pooled hard" data between groups)? Can I also perform and report a within-group paired t-test comparing "pooled easy" to "pooled hard" within each group? Interpretation: If neither independent t-test from (2) is significant, can I still interpret the 2-way interaction based on a significant paired t-test from (2)? (The clinical group's reaction times appear to increase with task difficulty, whereas reaction times don't change with task difficulty in controls.)   In the absence of significant between-group t-tests, can I still report these results based on the 2-way interaction and a within-group t-test as "task difficulty affects reaction times in the clinical group and not the control group"?  Thank you. I appreciate any help you can give!


After installing Debian Jessie on a System76 Gazelle laptop I was presented with the classic "black screen with blinking cursor". I figured this was some problem with X so I tried startx - it gave me this error:   (EE) Fatal server error:(EE) no screens found(EE)   I ran Xorg -configure as root and then X -config /root/xorg/conf.new, only to get the same error. The new conf file has the following section for Screen:  Section "Screen"         Identifier "Screen0"         Device     "Card0"         Monitor    "Monitor0"         SubSection "Display"                 Viewport   0 0                 Depth     1         EndSubSection         SubSection "Display"                 Viewport   0 0                 Depth     4         EndSubSection         SubSection "Display"                 Viewport   0 0                 Depth     8         EndSubSection         SubSection "Display"                 Viewport   0 0                 Depth     15         EndSubSection         SubSection "Display"                 Viewport   0 0                 Depth     16         EndSubSection         SubSection "Display"                 Viewport   0 0                 Depth     24         EndSubSection EndSection   So it appears that X cannot understand the laptop's screen - it has only the default screen, I am not sure what resolution. I have access to a full backup of this laptop before the fresh install and there is no 10-monitor.conf in /usr/share/X11/xorg.conf.d, so I do not know if it previously needed to be worked around.  How can I fix X to properly recognize this laptop monitor?


Rules for "on", "at", and "in": preposition of time

I have found the following usage of "on", "at" and "in" on the internet. Is there any other exception and/or rule for that?  Prepositions of Time Use in for  Months: in April / in September / in that month Seasons: in (the) summer / in (the) winter Years: in 1332 / in 1984 / in that year / in the next year Long Period(s) of Time: in former century / in 90's / in the Ice Age / in the past / in the future  Exceptions: in the morning / in the evening Use at for  Time: at 8 o'clock / at 9:30 / at bedtime / at sunset / at dinnertime / at 5:33:10 AM  Exceptions: at Christmas (= during the Christmas holidays but not necessarily on December 25th) / at Easter  / at noon / at night / at the weekend / at the present time / at the moment Use on for  Days: on Monday / on Friday / on Christmas Day (= on December 25th) / on Easter Sunday / on Independence Day Dates: on February 18th / on her birthday / on 21 March 2015 / on  Notice:  We have in the morning and on Monday but we say on Monday morning, not in Monday morning, and so on. When we say last, next, every, this we do not also use at, in, on: She runs next Tuesday. (not on next Tuesday) / He leaves us every Easter. (not at every Easter) / I See you this evening. (not in this evening) Look at these examples for the combination of times in a sentence: We will meet next week at six o’clock on Monday. / I heard a funny noise at about eleven o’clock last night. / It happened last week at seven o’clock on Monday night.   Look at  as well which says:  This all hints at a coherent metaphor: hours and other short periods of time are places; days are surfaces; months and longer time periods are containers.


How to avoid big floats appearing at the end of the document?

I'm writing a document which contains a lot of big figures and tables. Usually I use [htb] for the float position, however, when the float occupies an entire page, it's placed in the next page, O.K!, but when I continue writing, the float jumps to the last page, E. G.:  \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{blindtext} \usepackage{tabularx} \usepackage{booktabs} \begin{document} \blindtext \begin{table}[htb] \centering \caption{Example table} \begin{tabularx}{\textwidth}{X} \toprule \blindtext \blindtext \blindtext\\ \bottomrule \end{tabularx} \end{table} \Blindtext \end{document}      Why the table is placed in the last page intead of the second page and continues the text in the last page? how can I avoid this?


How can I move my family to Lakeview Manor?

I decided to build a homestead, so I bought the land from the Jarl of Falkreath.  I build the small house, west wing, and haven't finished the library. I have one adopted kid (Sophie) and a husband (Marcurio).  At first, it was only me and Sophie, and when I tried to bring up the dialogue to move, it didn't show "Lakeview Manor" as an option (I only have the house in Whiterun, which I'm living in, and Lakeview Manor).  I read that it could fix it to marry someone, so I married Marcurio.  When we got married, it only had the Whiterun house as an option, and now the dialogue to move won't show for either.  I would really rather live in Lakeview Manor, as I've spent a ton of time on building it.  I don't want to restart from before I built it. Are there any fixes to this annoying bug?   I am playing on the PC. I already tried to "resurrect" Sophie so her package reset, it didn't work and now it won't even show the moving dialogue


How to prove $n$ is even in this trigonometric equation?

I have this trigonometric equation-     $$\bigg(\frac {\cos a+\cos b}{\sin a-\sin b}\bigg)^n+\bigg(\frac {\sin a+\sin b}{\cos a-\cos b}\bigg)^n=2\cot^n \frac {a-b}{2}$$.   How do I prove $n$ is even in this?


How to install unity desktop over gnome?

I installed ubuntu gnome because i didn't want unity but now i want the option to switch between unity and gnome. How do I get unity working?


More than one person should be able to offer a bounty for the same question at the same time

I think that some question can start by one person offer bounty let say +50, and some other can offer +50 (total +100).  This way more than one person can share the cost of the bounty and at the same time show the interesting for a better answer.


Are there any series whose convergence is unknown?

Are there any infinite series about which we don't know whether it converges or not? Or are the convergence tests exhaustive, so that in the hands of a competent mathematician any series will eventually be shown to converge or diverge? EDIT: People were kind enough to point out that without imposing restrictions on the terms it's trivial to find such "open problem" sequences. So, to clarify, what I had in mind were sequences whose terms are composed of "simple" functions, the kind you would find in an introductory calculus text: exponential, factorial, etc.


I have written a server in C# for windows and it works fine. A week back I setup a dynamic domain name with  and now my server serves pages at the address . I was viewing my server log and i found two strange requests:  16:41:52 21-04-2015 94.66.163.214 :::: x�|�aAL� �Wͼ����������\�&K��2��Q@�   and:  11:36:21 21-04-2015 146.185.239.100, File: h t t p://24x7-allrequestsallowed.com/   (I changed the log format in between from [time] [date] [ip address] [request path] to [time] [date] [ip address] [whole request])  A whois lookup on both IP Addresses revealed that both were in the net range assigned to RIPE Network Coordination Centre (RIPE). What should i do about this, does this qualify as a DOS attack? Should I email RIPE about this?  Please Help


MariaDB + php : SQLSTATE[42000]: Syntax error or access violation: 1064 on "LIMIT 1"

I was trying to execute an INSERT query which ensures that only 1 row is inserted and avoid duplicate insertions/ here is my SQL string that i used inside my PHP file:  $sql = "INSERT INTO `users`( `user_name`,`email`,  `password`, `active`) VALUES (:name, :email, :pass, :active) LIMIT 1";   I got this following error:  Calling BeforeException -> string(211) "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1"    i think MariaDB Insert command do not use LIMIT syntax.  please suggest.Thanks


Background image not appearing in motion tracking render

I have another project that is exactly like this one but that one works, even though they have the exact same compositing setup. Any reason why this one doesn't show the background?  Blend file:


Regex in java matching digits, few special chars and alphabets

I have a phone number which can contain below values:  • Digits: 0-9 • Special character: "#", "*", "-", "_", " ", "(", ")", "+", "?" • Alphabets: "x", "X"   These above can be more than once in phone number.  If any other value/character besides listed in above list is present it should fail.I tried creating regex but it fails with message "Dangling meta character '*'".   Below is the regex tried:   if(!str.matches("([0-9]*|*|#|(|)|?|+|_|-)"))    {        System.out.println("--not matched--");    }   Please help me in creating a regex for above.


What do parentheses in a C variable declaration mean?

Can someone explain what this means?  int (*data[2])[2];


In the digital age of photography, we can see a range of digital camera sensors sizes in use, from 1/3.2" in small phones, up to Medium format sensors that are 53.4 x 40.0mm in size or more!  Why has no company endevoured to produce a sensor that can be considered to be large format (50mm X 80mm or larger)? Do such camera sensors exist in non-consumer products?


Could anyone tell what's the font used in picture?

Could anyone tell what's the font used in the picture below?


What happens to Jen when she jumps off the cliff?

What happens to Zhang ziyi (Jen) in  when she jumps off the cliff .. she dies? becomes immortal? Just before jumping what does she want Lo to become - a master?  Why does she jump off, guilt?


Why is the moon in free fall? Isn't there a centrifugal force acting on it?

An object is in free fall when the force acting on it is exclusively gravitational. But why then is the moon in free fall? Isn't there a centrifugal force acting on it?


Java Regexp for matching all the content between "" in a paragraph

I have the following paragraph:
This is a test. This is another test. This is a third testPrint / Save as PDF

TEST
   I need a Java regexp that matches all the content between < and > only. This is what I've tried:  <[aA-zZ]+\s[aA-zZ]+="(.+)\>   This is not working because it is matching the text which is not surrounded by the < and >characters as well.   Any help?


Ubuntu dont let me login in a graphic session. I type the password (it detects if it's wrong) and even typing it wright the system take me again to login screen.  I've found  and run the pastebin command, getting this URL:    I've also checked my Home permissions, it's rwx for the owner (me :D)  Thank!  EDIT: when I login in tty1, bash returns an error mensage in the file /etc/profile. Ubuntu had an old copy of this file, so when I use the old copy, it works just fine. Only problem, the upper and left bars (with programs, open things, etc.) didnt show up. I'll try get these back later


Do bigger focal lengths capture more light?

I never understood what the f really stands for in the f-stop values, like f/1.8. Wikipedia explains it in various articles, but I still find it very confusing. What I understand, though, is that it has something to do with focal length.  Should I assume, therefore, that bigger focal lengths capture more light? For example, should 85 mm f/1.8 lens capture a lot more light than for example 24 mm f/1.8?  References to back up my confusion:  The article about  goes on to claim:     The amount of light captured by a lens is proportional to the area of   the aperture, equal to:            Where f is focal length and N is the f-number.   The "f-number" is mentioned here. But the article about  claims:     In optics, the f-number of an optical system expresses the diameter of the entrance pupil in terms of the focal length of the lens; in simpler terms, the f-number is the focal length divided by the "effective" aperture diameter.   This seems very recursive. Why does the aperture article refers to both the focal length and the f-number, when the latter article claims that f-number already carries the property of focal length?  What's going on here?


How do you enable USB Debugging on a bootloop-ed device?  Or, at least, how do you determine if a bootloop-ed device has the USB Debugging option turned on?


I'm trying to find an example of using google fonts in Marketing-Cloud, here's what I currently have but it seems that the platform(Marketing-Cloud) is stripping out this code while rendering of all emails.  Does Marketing-Cloud allow google fonts to be implemented?       /*================================================================================       Lora == https://fonts.googleapis.com/css?family=Lora:700&display=swap"%20rel="stylesheet ==================================================================================*/ @media screen {     /* latin */     /* latin-ext */     @font-face {       font-family: 'Lora';       font-style: italic;       font-weight: 400;       font-display: swap;       src: local('Lora Italic'), local('Lora-Italic'), url(https://fonts.gstatic.com/s/lora/v14/0QIhMX1D_JOuMw_LL_tLtfOm84TX.woff2) format('woff2');       unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;     }     /* cyrillic-ext */     @font-face {       font-family: 'Lora';       font-style: normal;       font-weight: 700;       src: local('Lora Bold'), local('Lora-Bold'), url(https://fonts.gstatic.com/s/lora/v14/0QIgMX1D_JOuO7HeNtFumtus-7zu-Q.woff2) format('woff2');       unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;     } }


How do you get the current time (not date AND time)?  Example: 5:42:12 PM


How to prove that the limit of sequence $a_n$ exist?

Given $a_1 =1$, $a_2=2$ and  $$a_{n+1}=\sqrt{a_n}+\sqrt{a_{n-1}}.$$   To find the limit, I assumed that $a_n =a_{n+1}=a_{n-1}$,  as $n$ tends to $\infty$  but this can be assumed  if the sequence converges. How to prove that this  sequence is convergent?


How can a stream of thoughts and perceptions have freewill?

William James believed that there was no central entity or ego that embodied the "I" in "I feel" or "I think". That the continuous stream of thoughts and sensations generated the illusion of their being a central entity doing the thinking and perceiving, but that no such entity existed.    Here's James as quoted in Russell's "The Analysis of Mind"      I believe (he continues) that 'consciousness,' when once it has evaporated to this estate of pure diaphaneity, is on the point of disappearing altogether. It is the name of a nonentity, and has no right to a place among first principles. Those who still cling to it are clinging to a mere echo, the faint rumour left behind by the disappearing 'soul' upon the air of philosophy"(p. 2).   and      "I have mistrusted 'consciousness' as an entity; for seven or eight years past I have suggested its non-existence to my students, and tried to give them its pragmatic equivalent in realities of experience. It seems to me that the hour is ripe for it to be openly and universally discarded"   This seems to me to be a variation on the bundle theory of the self, as proposed by Hume and the Buddha among others.   Yet William James also believed in freewill. But for there to be freewill, doesn't there have to be a central personal identity that is free to do the willing in the first place?   My questions:    Is William James stream of consciousness indeed a bundle theory of the self?  Does the concept of will necessarily require a subject that is doing the willing?  How can a bundle theory/stream of consciousness model of self and personal identity (or any theory that denies the existence of a central "I" in the mind) be compatible with freewill?


How to generate numbers based on an arbitrary discrete distribution?

How do I generate numbers based on an arbitrary discrete distribution?  For example, I have a set of numbers that I want to generate. Say they are labelled from 1-3 as follows.  1: 4%, 2: 50%, 3: 46%  Basically, the percentages are probabilities that they will appear in the output from the random number generator. I have a pesudorandom number generator that will generate a uniform distribution in the interval [0, 1]. Is there any way of doing this?   There are no bounds on how many elements I can have, but the % will add up to 100%.


Philippines passport holder transit visa

I bought my e-ticket through an online travel agency PAL- Air Canada. From Manila, layover 3h and 55 mins in Narita Tokyo terminal 2. I will transfer terminals and airlines from terminal 2 to terminal 1 and depart with Air Canada. Do I need to claim my check in luggage in Narita or it will be checked in through to my last destination?


How to increase or decrease system volume from terminal?

How to increase or decrease overall system volume from terminal like I was doing it in the GUI?


Evaluate $$\lim_{n\to\infty}\frac{\sum_{k=1}^n\sqrt{k}}{\sum_{k=1}^n\sqrt{n+k}}$$  I can't seem to remove the $\frac{1}{n}$ term in order to use the riemann integral any help?


Ordering two lists separated by spaces side-by-side

I made two files, foo.txt and bar.txt  foo.txt looks as such: foo1 foo2 foo3 foo4 foo5 foo6 foo7 foo8 foo9 foo10   And bar.txt: bar1 bar2 bar3 bar4 bar5 bar6 bar7 bar8 bar9 bar10  How do you then get these two text files and output them into a text file called foobar.txt, ordering them as  foo1 bar1 foo2 bar2 foo3 bar3 ...   Admin stuff: I'm getting warnings about this being a duplicate question because people have suggested combining   foo1 foo2 foo3 foo4 foo5    and  bar1 bar2 bar3 bar4 bar5   Is the same process. If you have to do this instead you can find the question addressing text on new line combination here:   To address editing files, with one command, of spaced items, you need to use the answer I have marked below using awk. I kept seeing questions of 'how to combine two lists' and 'how to separate spaced lists into new line lists' but never a one line command, using awk, to separate two spaced lists by awk functions then combine them via being designated through awk. A huge thank you to Sergiy Kolodyazhnyy for finally answering my question (and only using one command to do it!). I've been looking for an answer to this for a while and an awk wizard stepped in to show us the ropes. Credit to John1024 for another great answer.


I recently saw the Ant-Man films, and the logician in me has some questions, specifically about the way the Pym particles affect density. In the first film, Hope tells Scott how the Pym particles, because of how they shrink, increase the density of the object they are shrinking. This means that Scott, while the size of an ant, has the strength of a 200lb man. But if this is so, shouldn't he have the weight of a 200lb man? He clearly doesn't, since he is able to sit on Louise's shoulder without Louise noticing.   As well as this, when Scott is Giant-Man, his strength goes up too. This is demonstrated in the scene in Ant-Man and the Wasp where Giant-man picks up an unconscious Hope from the quantum tunnel with one hand. How can this be? Surely if little Scott's strength remains the same as normal-size Scott, then big Scott's strength should do the same?


Compactness of $A:=${$f \in C[0,1], |f|_\infty \le K, |f'|_\infty \le M$}

Here we use infinity norm as metrics for $C[0,1]$. The professor claims that this set is compact. I can show this set is relative compact by Arzela Ascoli, i.e., for each subsequence there is a further sub-subsequence that uniformly converges to a continuous function on $[0,1]$. But it is not intuitive to me why this set is compact, i.e. the limiting function also satisfies $|f'|_\infty \le M$. Is it true that $A$ is close and therefore compact?


Date/time conversion: string representation to time_t

How do I convert a date string, formatted as "MM-DD-YY HH:MM:SS", to a time_t value in either C or C++?


Rig deformation issue, possibly stuck on something?

I'm having this issue with my model. Once I applied the rig the left side (models right) seems to be snagging on something yet it's a mirror of the right side. Does anyone know what could be causing this? I noticed by moving the other leg it changes the shape of the deformation as well.


What could be the source of a tapping type sound coming from my upstairs air ducts?

We bought a new house a few months ago. I do not recall hearing this noise in the summer, when the AC was running, but then I wasn't in this room that much so I am not sure if it was happening. We have a 3 floor house. HVAC system is in the basement. In the top floor, there are two air ducts right next to each other, both columned by dry-wall. One goes up to the attic and I assume feeds the air to the other rooms. The other is the return. The other end for both is in the basement. The space for the duct is next to my office room. When the heater is running, every now and then I hear a tapping noise coming from the duct. If the heater is off then no noise. Again, not sure if the noise would be there with the AC on. It sounds like if a wire was tapping against something but there are no wires inside the ducts -- not that I know of. I cut a 4" square into the drywall in front of the return duct and the sound is definitely coming from near/in/around the return duct. There is no insulation around the return duct -- so its just hollow space. I don't mind doing some work to identify the root cause but I have no clue where to look/start. One person claimed it has to do with the lack of insulation because the air duct gets hot and is tapping against the wood beams. Could it be that? Any cheap fix? I am including some pictures too.


What is the relation between normal extension and separable extension? Let F be the algebraic extension of K, if F is a separable extension of K,if and only if F is a normal extension of K? is this correct?


My code's output is not the array I input

I am trying to run the following code in order to input an array of any size I desire: import java.util.Scanner; import java.util.Arrays;  public class testing2 {      public static void main(String[] args) {                  double[] inputs = new double[5];         int currentSize = 0;                  System.out.println("Please enter values, Q to quit:");         Scanner in = new Scanner(System.in);                  while (in.hasNextDouble())         {             if (currentSize >= inputs.length)            {               inputs = Arrays.copyOf(inputs, 2 * inputs.length);            }                       inputs[currentSize] = in.nextDouble();            currentSize++;         }         inputs = Arrays.copyOf(inputs, currentSize);                  System.out.print(inputs);      }  }  But when I input any array, my output is just a combination of symbols such as: [D@13fee20c, and this is not the output I am hoping for. Could anyone help me?


Why does boiling water in the microwave make a cup of tea go weird?

When I boil water in the kettle, it makes a nice cup of tea.  Sometimes I need to use a microwave because a kettle isn't available.  I boil the water in the mug and it looks pretty normal, but when I drop in the teabag the water froths up and looks foamy.  I don't see what the chemical difference is here, so I assume it must be some physical difference.  I have noticed this with multiple types of tea and multiple microwaves, the results being consistent so it's not just a weird microwave or something like that.    What is the reaction here and how/why does it occur?  Here is a photo of the 'fizzy' looking tea just after dunking in the teabag.


How to have unconnected points on a plot?

I'm trying to create a graph which has all of the datapoints from an inline table plotted, without a line connecting them, but still having the points on the graph.  The issue with the MWE is the line connecting all the points.  MWE:  \documentclass{article} \usepackage{pgfplots} \usepackage{pgfplotstable}  \begin{document} \pgfplotstableread{    1 1    2 2    3 3    4 4 }\datatable  \begin{tikzpicture}    \begin{axis}       \addplot table \datatable;    \end{axis} \end{tikzpicture}  \end{document}


32 bit or 64 bit becauce of upgrade of RAM?

On an old Dell PC that originally ran Windows XP 32 bit that I erased the Windows XP 32 bit and installed Ubuntu 32 bit on with less than 2 gigs of RAM. I would like to upgrade the RAM above 2 gigs. So now that if I have more than 2 gigs of RAM should I then also upgrade the Ubuntu to the 64 bit OS?


Prove or disprove the following:  For all integers a, b, and c, if ab | c then a | c and b | c  I'm having trouble proving the above. It seems to be obviously true in my head (but only because of all the examples I can think of), but I'm having trouble proving it.


Creating a slope field plot - Help with implementing code

This question is related to a previous question that I recently posted: .  I am new to LaTeX and attempting to plot a slope field based on the following description. I desperately need to do this for homework.  The slope field of $\dfrac{dx}{dt} = x^2 - t^2$ along with three solution curves. The top curve is the solution that goes through $(t, x) = (0, 1)$. The middle curve is the solution that goes through the curve $(t, x) = (0, 0)$. The bottom curve is the solution that goes through the curve $(t, x) = (0, -1)$.  The user AlexG posted a highly rated answer in the following thread: .  However, since I am new to LaTeX, I am having significant difficulty in implementing his code. I am attempting to copy and paste it, and use it as a template to plot the slope field described above.   I would greatly appreciate it if someone could guide me through how to do this. For instance, copying and pasting the parts of AlexG's code that I should be using, and outlining the sections I need to alter to plot the described slope field above. I would greatly appreciate guidance. Thanks.


How should I connect four resistors to double the capacity with the same resistor?

I know that putting two resistors in parallel will double the wattage from the input to output, but only with half the resistance.  Example Parallel Circuit:         – Schematic created using   I know that putting two resistors in series will double the resistance, with the same wattage.            However: I need to double the wattage without the affecting resistance. Would this work?:


I have created a simple executable script to move a file for me, as the name of the file is the date on each day, the script creates the file name and then moves the file. I want to schedule it to run every night using cron.  My script works when I run it in bash. It also works if I specify exactly the path and filename in the cron.  The problem occurs when I ask cron to run my script. It seems to me cron cannot run the subprocess to create the filename based on the date. my script is as follow:  #!/bin/bash mv /home/folder1/$(date "+%Y-%m-%d").txt /media/folder2/folder3   and this is how I set the job in crontab:  0 21 * * * /home/folder1/bash_text.txt   I have tried with $(which mv), with no luck. (tried both in the script and cron command)  0 21 * * * $(which mv) /home/folder1/$(date "+%Y-%m-%d").txt /media/folder2/folder3   This only worked if I substituted the name of the file $(date "+%Y-%m-%d").txt with the actual file name.  0 21 * * * $(which mv) /home/folder1/2020-04-28.txt /media/folder2/folder3   Appreciate it if someone can help me, please. I am new to Linux as you can tell, so I am learning as I go, appreciate if you consider this in your replies.


Number of Orbitals - Hydrogen Orbital just one, but why can we plot also higher states e.g. SPDF orbits?

I am confused, hydrogen just has one electron in the 1s orbit. but why can we plot all kind of orbitals (higher energy eigenstates for that atom)? My assumption: So physically spoken these orbits around the hydrogen nucleus exist and they go to infinity, but they are just empty?   Additional question: When we want to plot orbitals of other atoms e.g. silicon, we need to use numerical methods. So instead of doing complex numerical methods, do we use simply the hydrogen solutions as approximation then?  Is there a big difference between let's say the shape of a numerically solved silicon p-orbital and an analytically solved hydrogen p-orbital?


How to get profile of an user from user id?

We need to get the profile of an user from his user id details. Please let us know.


I am building a ecommerce checkout flow and am looking for best practices for the billing/shipping entries. Every site I use and every one I've looked at for inspiration has the address entries as a separate field for each part of the address. I don't understand why I don't see any sites that allow the user to enter their address in a single free-form textarea box? I'd imagine a single textarea would be much quicker and simpler to use.  I'm seriously considering using the single textarea for my checkout flow but a concern is that it will be different to the common multi-box approach and possibly confuse the customer or at the very least make them stop and think?


What do I get by paying more for a bicycle?

I am not experienced with bicycles, although I have been using them for years to get to work, as well as to go out in the countryside (dirt trails) to take nature photos.  I have used affordable B'twin bikes and I was generally happy, but after my last bicycle was stolen I am looking to step up a bit. There are countless articles on the internet suggesting not to spend too little. But I find it very difficult to find anything tangible or easy to understand about what precisely one would really get by paying more.  Take for example the Rockrider ,  and . (I am linking the English Decathlon site so people here can read it, but I do not live in the UK.) I am looking at these: all of them are better than what I had. The price more than doubles when going from the 520 to the 560. I look at the specs, but I am unable to translate them into what I could do with the 560 that is not possible with the 520, or how the experience would be different.  I am looking for help with this, especially advice that I could translate to other models as well, although it is these three that I am looking at now.  All of these are marked as:     Not suitable for XC, All Mountain, Enduro and BMX.   This restriction seems to cover all forms of mountain biking (which is puzzling) and some websites suggest to dismiss all of these bicycles from the start because of this note. However,  is 50% more expensive, way more than what I can afford (where I live, it's actually 2x the price of the discounted 560).  To sum up:  For any bicycle I pick, it is easy to find another one that is two or four times as expensive. How can I better understand what one gets in practice for paying more? The specs often just mention components of a certain brand, but it is hard to even see which component is better, not to mention how having a better component translates into riding experience (please see the specification lists I linked).  When looking at the three choices above, my spouse asked me "Even the cheapest one is better than what you had. What would you gain by paying more than that?". And I could not answer. What I really wanted (bigger wheel, better gear range and theoretically better brakes) is indeed present in the 520 already.  As to the question "why a mountain bike", I would like to be able to go on rougher trails (rocks, roots) without too much worry. I would like to learn how to do that safely and efficiently. However, I am not young and sporty or physically skilful person. I also keep thinking that my own physical limits may be reached much before that of an expensive (for me) bicycle.


How much does college name matter for doctoral program application?

I wanted to know how much weight the college someone got a master's from matters while applying for a doctoral program? So for instance, if a person is enrolled in a college which is not well known and his application is great in terms of research projects, CPI score, TOEFL, GRE scores etc., then would that person's application be considered worse than a person who is doing master's from a very good college (well-known)? In particular, I wanted to ask this because I have heard that those Indian students are preferred for PhD programs in Physics in good colleges in US who have done Master's from a top IITs like IIT Kanpur or IIT Madras and students who apply from a lower ranked IIT get frequently rejected. P.S: Those who have no idea about IITs can take the question in a general context from my first paragraph.


I'm looking for the possessive of 'boss'

What is the possessive of boss; ie, how do you describe the son of the boss?


Different versions of DIGIC processors, is there any difference in image quality?

While comparing the features of Canon 400D and 1000D, I've noticed that Canon 1000D has an improved DIGIC III processor, over the DIGIC II for Canon 400D.   From Wikipedia:      The DIGIC III Image Processor was   advertised to deliver superior image   quality, faster operation and extended   battery life compared to its   predecessor.   Will a newer version of the DIGIC processor provide visible improvements of image quality? What about when shooting in RAW?   I understand that newer versions may perform faster (when focusing, or a higher frame rate) and have features such as face detection and live view, but that is of no importance to me.


Evaluating the integral, $\int_{0}^{\infty} \ln\left(1 - e^{-x}\right) \,\mathrm dx $

I recently got stuck on evaluating the following integral. I do not know an effective substitution to use. Could you please help me evaluate:  $$\int_{0}^{\infty} \ln\left(1 - e^{-x}\right) \,\mathrm dx $$


I am trying to overlap two SVGs that were previously one SVG - I just separated the layers so I would have more control. Here is my code: <Grid container direction="row" justify="center" style={{ height: '90vh', paddingTop: 80, backgroundImage:`url("/media/bg/bg-2.svg")`, backgroundSize:'cover'}}>                     <Grid item sm={5} style={{ color: 'white', maxWidth: 500, paddingTop: 140 }}>
 Lorem Ipsum

                             Lorem Ipsum
                     </Grid>                     <Grid item sm={6}>                                                                                </Grid>                 </Grid>   My aim is to get the two SVGs sitting on top of each other like  I am aware that it may be a SCSS/CSS problem, but no idea what kind of code would give me the desired results. All help greatly appreciated :)


I format my notebook because this problem, but it wasn't solved. Any suggestion to fix it?  The following packages have unmet dependencies:  python-qgis : Depends: python-qgis-common (= 1:2.14.4-1+20trusty-ubuntugis) but it is not going to be installed                Depends: libqgispython2.14.4 but it is not going to be installed                Depends: libqgis-analysis2.14.4 but it is not going to be installed                Depends: libqgis-core2.14.4 but it is not going to be installed                Depends: libqgis-gui2.14.4 but it is not going to be installed                Depends: libqgis-networkanalysis2.14.4 but it is not going to be installed                Depends: libqgis-server2.14.4 but it is not going to be installed  qgis : Depends: gdal-abi-2-1-0 but it is not installable         Depends: libgdal20 (>= 2.0.1) but it is not installable         Depends: libgeos-c1v5 (>= 3.4.2) but it is not installable         Depends: libqgis-analysis2.14.4 but it is not going to be installed         Depends: libqgis-app2.14.4 but it is not going to be installed         Depends: libqgis-core2.14.4 but it is not going to be installed         Depends: libqgis-gui2.14.4 but it is not going to be installed         Depends: libqgis-networkanalysis2.14.4 but it is not going to be installed         Depends: qgis-providers (= 1:2.14.4-1+20trusty-ubuntugis) but it is not going to be installed         Recommends: qgis-plugin-globe but it is not going to be installed         Recommends: qgis-provider-grass but it is not going to be installed  qgis-plugin-grass : Depends: qgis-provider-grass (= 1:2.14.4-1+20trusty-ubuntugis) but it is not going to be installed                      Depends: libgdal20 (>= 1.8.0) but it is not installable                      Depends: libqgis-app2.14.4 but it is not going to be installed                      Depends: libqgis-core2.14.4 but it is not going to be installed                      Depends: libqgis-gui2.14.4 but it is not going to be installed                      Depends: libqgisgrass7-2.14.4 but it is not going to be installed E: Unable to correct problems, you have held broken packages.


What is Offset null in 1st and 5th pin in IC 741 (Op-Amp)? Why it is used, though it is not used in many circuits? Give me explanation regarding the offset null! Why offset voltage was formed in IC 741?


Why is it "arrived in" and not "arrived to" or "arrived at" in the following sentence?

This is the sentence:     He’d miss Japan once he'd arrived in/at/to Hawaii.   A native English Speaker told me that it was in. I found that strange, because I always see "arrived at" and "arrived to," but I rarely see "arrived in."


I had my laptop for quite some time and just can't get used to the fact that my right alt-key is next to the context-menu key. Whenever I want to do coding special-characters, a menu pops up and has me raging. Therefore, what is the most light-weight solution to map it to Alt Car (right)?  EDIT: Using Windows 7, map in all contexts.


All the money in my Roth IRA is in FFFFX.  I'm making my yearly deposit.  Is there any reason not to put it in the same fund?  To put it another way, do I need to diversify my Roth IRA (or is that the objective of this fund, so it's enough)?


Remove background blur effect on Yosemite login screen

Does anyone know how to disable blurring of the log in screen background images? I know it's a long shot, but I really miss being able to see my pretty background images :(


Full screen Pop-up on Pure Javascript - No Framework

I need to write a javascript function like a;  While my application runs on browser I will refresh the page and it will open a pop-up, close the old page and pop-up will be displayed in full screen. How can I do this? I did try this code below.    var elem = document.documentElement; function fullScreen() {   //  var ofisWin = window.open("ofis.html");   if (document.fullscreenElement !== null) {     console.log("fselement: " + document.fullscreenElement);   } else {     openFullscreen();     window.close();   } }  function openFullscreen() {   var ofisWin = window.open("ofis.html", "ofis", "fullScreen");   if (ofisWin == null) {     console.log('The popup was blocked!');   }   console.log(window.document.fullscreenElement);   console.log("fullscreen request!");   if (elem.requestFullscreen) {     elem.requestFullscreen();   } else if (elem.mozRequestFullScreen) { /* Firefox */     elem.mozRequestFullScreen();   } else if (elem.webkitRequestFullscreen) { /* Chrome, Safari & Opera */     elem.webkitRequestFullscreen();   } else if (elem.msRequestFullscreen) { /* IE/Edge */     elem = window.top.document.body; //To break out of frame in IE     elem.msRequestFullscreen();   } }  fullScreen()


Is Waterdeep faction membership mutually exclusive?

Waterdeep: Dragon Heist has multiple factions which PCs can belong to, or join. These include Lord's Alliance, Emerald Enclave, Bregan D'aerthe, etc. If a PC matches the requisites for more than one of these factions, can he join multiple ones?  For example, could a drow druid join both Emerald Enclave and Bregan D'aerthe? Or is membership exclusive, and PCs have to pick a single faction to work with?  Yesterday, I told my players that they could belong to multiple factions as long as their missions and actions didn't cross each other. But it was a DM's call in the moment, and I wanted to confirm my ruling.


I recently bought Pinter's A book of Abstract Algebra and I came to Examples (Chapter 2). Now, I do not understand why are "Checks" in (iii), (iv) needed because we deductively concluded that neutral element $e$ must be $- 1$ and simillary we showed that each inverse $x'$ of $x$ is $x'= - x - 2$ (of course, we concluded all this after assuming that symbol $+$ means regular adittion with all its properties). Therefore, Checks are just surplus because we’ve already set up to get what we’re “checking” now. (Probably I am just wrong so please correct me.) Here is the 1st example in part B:


Expectation of the first passage time of $T_{a,b}$

Let $(\Omega, \mathcal{F},\mathbb{P})$ be a probability space and let $W_t$ be standard Wiener process and  $$T_{a,b}=\inf\{t:W_t=a+bt\}$$ where $a$ and $b$ are costant.I want to get expectation of $T_{a,b}$ but I can not extract $f_{T_{a,b}}$.  Thanks


MySQL-PHP problem with UTF-8, not working in any way

I have problem with something on my website. I am not entirely sure what is causing problems anymore.  Database collation: utf8_bin Table charset: utf8  Example of row in table:  ID Name KeyID  5  Ajša 3312  <?php header('Content-Type: text/html; charset=utf-8'); ...connection to server...  $sql = "select * from osebe where id=5;"; $result = $conn->query($sql);  if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) {     echo "id: " . $row["ID"]. " - Name: " . $row["Name"]. " " . " - Key: ".$row["KeyID"]. "<br>"; } } else {     echo "0 results"; } $conn->close(); ?>   Output: id: Aj�a - Name: Aj�a - Key: 3312  Files have utf8 encoding as well, so i dont know what to do anymore.


"No such file or directory" on an executable, yet file exists and ldd reports all libraries present

So by any other command the executable file exists, yet when I try to execute it, it claims it is not there.  It is not a special character in the name because I renamed it though a "cat". And it seems to be a binary for the correct architecture... "seems", I guess the question is, what else throws tat error message BESIDES... the file not being there, because it obviously IS!  ldd xls      linux-gate.so.1 =>  (0xb77bc000)     libQtGui.so.4 => /usr/lib/i386-linux-gnu/libQtGui.so.4 (0xb6cc2000)     libpng12.so.0 => /lib/i386-linux-gnu/libpng12.so.0 (0xb6c98000)     libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xb6c8f000)     libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xb6c76000)     libXrender.so.1 => /usr/lib/i386-linux-gnu/libXrender.so.1 (0xb6c6d000)     libfreetype.so.6 => /usr/lib/i386-linux-gnu/libfreetype.so.6 (0xb6bd1000)     libfontconfig.so.1 => /usr/lib/i386-linux-gnu/libfontconfig.so.1 (0xb6b9b000)     libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xb6b88000)     libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xb6a50000)     libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6a2a000)     libQtSql.so.4 => /usr/lib/i386-linux-gnu/libQtSql.so.4 (0xb69ea000)     libQtCore.so.4 => /usr/lib/i386-linux-gnu/libQtCore.so.4 (0xb6704000)     libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb66ea000)     libgthread-2.0.so.0 => /usr/lib/i386-linux-gnu/libgthread-2.0.so.0 (0xb66e7000)     libglib-2.0.so.0 => /lib/i386-linux-gnu/libglib-2.0.so.0 (0xb65ea000)     libgobject-2.0.so.0 => /usr/lib/i386-linux-gnu/libgobject-2.0.so.0 (0xb6598000)     librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb658f000)     libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6575000)     libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb6571000)     libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6485000)     libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6468000)     libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb6305000)     libaudio.so.2 => /usr/lib/i386-linux-gnu/libaudio.so.2 (0xb62ea000)     libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb62e4000)     libexpat.so.1 => /lib/i386-linux-gnu/libexpat.so.1 (0xb62ba000)     libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xb6297000)     /lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xb77bd000)     libpcre.so.3 => /lib/i386-linux-gnu/libpcre.so.3 (0xb6258000)     libffi.so.5 => /usr/lib/i386-linux-gnu/libffi.so.5 (0xb624f000)     libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xb61f1000)     libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xb61ee000)     libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xb61e8000)   uname -m (Also, my distribution is Debian wheezy.)  i686   file xls  xls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),       dynamically linked (uses shared libs), for GNU/Linux 2.6.15,      BuildID[sha1]=0xa9786f61b371a683ae4306792f95e0636c288883, not stripped   ls -ld xls  -rwxr-xr-x 1 root root 4634064 May 20 14:35 xls   cat  root@pc170:# cat xls > zls root@pc170:# ./zls -su: ./zls: Permission denied root@pc170:# chmod +x zls root@pc170:# ./zls -su: ./zls: No such file or directory   time  root@pc170:# time ./zls -su: ./zls: No such file or directory  real    0m0.002s user    0m0.000s sys     0m0.000s


How to calculate square root or cube root?

I was reading Richard Feynman biography when I read that one time he was able to calculate the  cube root of large number in his brain by just using simple facts of everyday life. So my question is there a way to calculate square root or cube root by using just a pen a paper, I mean a systematic way not by trial and error.


Is this phrase past tense or present tense?

The following phrase     I ain't got no money   Is it meant to be used for a past action (I didn't get no money) or is it used to mean (I don't get no money right now)?   What confuses me is the usage of got (past tense of get). I understand that ain't can be used ad a substitution of am not, did not, do not, is/are not, etc.


I have a rather wide table for which I have a designated page in landscape mode. The rest of the document is in portrait mode. Currently, the first row of the table begins at the very top of the page and ends somewhere in the middle. I'd like the table to be vertically centered though. How can I achieve this? I'm using the tabular environment.


I just bought an Acer Aspire 7 and I installed a 250Gb M.2 NVMe SSD to use as the boot source. I wanted to check that the SSD was working so I opened Disks and GParted, but neither of them show the SSD. I checked in the BIOS and the SSD is recognized there. I then used windows to allocate partitions in the SSD, but after that Disks and GParted still doesn't recognise the SSD. I looked at  question. I checked the GParted version and it is 0.30.0, so that shouldn't be the problem. I also started installing Ubuntu, but in the partition manager opened after selecting 'Something else' didn't show the partitions I created on the SSD.  How can I get Ubuntu to recognize the SSD so I can dual boot my computer?    Computer: Acer A715-72G-79BH  SSD: Samsung MZVLW256HEHP PM961 256GB M.2 NVMe PCIe Internal SSD - OEM   Ubuntu: 18.04 LTS    EDIT: The question 'GParted does not recognize SATA M2' (see link in question) does not answer my question because in the comments it mentions that GParted versions 0.24.0-2 included compatibility with NVMe SSDs, and version 0.25 worked. The version of GParted that I have on the bootable USB is 0.30.0 which is more recent. Also no errors or warnings such as Libparted Warning are shown when opening GParted.


What is special about quantum entanglement?

Get two pieces of paper. In secret write the same number on both papers.  Transfer one paper to the Moon.  Look to the paper which is left at the Earth. Voila! We know what is on the Moon paper.  The papers are entangled in classical world, without any use of quantum mechanics. It is also clear that in this thought experiment we have no faster-than-light transfer of information.  So entanglement can be produced without quantum mechanics.  What is so special about quantum entanglement, that it is spoken about so much?


Yes, I know I should've had a backup, but I accidentally rm -rf'ed a folder with some files I need in it.  It was in the home directory, I shutdown the Pi as soon as I realised.  Is there some file recovery software I can use or something?


I have my own private server setup, albeit old pentium 3 units they each hold 1/2 gb ram and about 900mhz over 10units, each has 80gb hdds....they are outdated stock from a large company but are server modules,each preloaded with windows 2000 and various software I have no clue about....  I am wondering if I could make use of this old hardware to function as an external graphics decoder or something like that so I could play games (like fallout 4) on my older hardware.  I have heard of cluster computing and am not sure how hard such a setup would be, though I have seen videos of making clusters of rasberry pi units and figure the process would be about the same especially as the units are identical... id like to know if there is any way to make this work before spending hours trying to confugure everything and only having a basic understanding of how to build the cluster itself not to mention the functionallity it could offer me...I have heard steam was getting ready to launch a service where the game was cloud processed...and my understanding of graphics cards is they typically offer many cores and ram which id plan to be replacing with nodes.... im sure this setup would be far from efficient hauling in apx 20kw/hr...im just trying to figure out first if it can be done and if so how hard would it be and what options may be best for this type of setup...


Code body expands way too far to the right

I just viewed  question on Code Review. For me on both Chrome and Edge, the code shoots off way to the right. This messes with the user card, and the hot/related bar:    I can't say I've ever seen this before. The lines are abnormally long though.  (Yes, I know this is the third bug report I've filed. I don't know why everything is breaking around me today).


Is there any way to use variables in multiline string in Python?

So I have this as part of a mail sending script:  try:     content = ("""From: Fromname <fromemail>     To: Toname <toemail>     MIME-Version: 1.0     Content-type: text/html     Subject: test      This is an e-mail message to be sent in HTML format      This is HTML message.
This is headline.
     """)   ...      mail.sendmail('from', 'to', content)   And I'd like to use different subjects each time (let's say it's the function argument).  I know there are several ways to do this.  However, I am also using ProbLog for some of my other scripts (a probabilistic programming language based in Prolog syntax). As far as I know, the only way to use ProbLog in Python is through strings, and if the string is broke in several parts; example = ("""string""", variable, """string2"""), as well as in the email example above, there's no way I can make it work.  I actually have a few more scripts where using variables in multiline strings could be useful, but you get the idea.  Is there any way to make this work? Thanks in advance!


In the second photo, what is the justification for $$ <\frac{1}{(n+1) !}\left\{1+\frac{1}{n+1}+\frac{1}{(n+1)^{2}}+\cdots\right\}=\frac{1}{n ! n} $$ I feel that the inequality and equal sign should be reversed


What is the best way to perform a Math.pow() operation having a long exponent value?

I am trying to perform a Math.pow() operation to find 10 to the power of a long number. The result is expected to be quite large, and therefore, I am storing it in a BigInteger. I tried the below:  tempBigInt = java.math.BigDecimal.valueOf(Math.pow(10, i)).toBigInteger();   I am running this through a loop where 'i' keeps increasing until a certain condition is met. This code works fine, except when it calculates Math.pow(10, 23). Strangely, this is the only value that comes out wrong, thereby making my final result to be incorrect.  I tried verifying this through my IDE as well, and it seems like Java doesn't like Math.pow(10, 23). Could be a bug. If anyone knows what's causing this unusual behavior, could you please explain, and probably provide a better and bug-free way of implementing this line of code? [tempBigInt is a BigInteger, and i is a long]


Add a contact community tool for Moderators?

Fairly often we as moderators need to contact the community (employee) team through e-mail for something or another, most recently disassociating a user's post.  Currently we e-mail community@stackexchange.com and if we remember to cc our fellow mods.    It would be better if we had a moderator tool that sent an e-mail to the user and notified our fellow mods similar to how they are for a mod message to a user.


Script to change current directory (cd, pwd)

I want to run a script to simply change the current working directory:  #!/bin/bash cd web/www/project   But, after I run it, the current pwd remains unchanged! How can I do that?


What is the difference from  class Test {     A a = new A(); }   to  class Test {    static A a = new A(); }   Does the virtual machine perform differently in the initialization?


How do I install Realtek rtl8821ce driver on Ubuntu 18.10?

I am running Ubuntu 18.10 on a new Lenovo IdeaPad 320-15IKB laptop, but the Wi-Fi is not supported.  03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8821CE 802.11ac PCIe Wireless Network Adapter


$f(z)$ entire and $\lim_{|z|\rightarrow \infty} |f(z)|=\infty$ then $f(z)$ is a polynomial, without using the Casorati-Weierstrass theorem

I am trying to prove the following:  If $f(z)$ is an entire function on $\mathbb{C}$ and $\displaystyle\lim_{|z|\rightarrow \infty} |f(z)|=\infty$  then $f(z)$ is a polynomial.  Let $a\in \mathbb{C}\setminus \{0\}$. Since $f(z)$ is analytic at $a$, it can be expressed as the power series $$f(z)=\sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!} (z-a)^n.$$  I have not learned anything about poles in my complex analysis class, so I am expected to solve this without any theorems involving poles. I am trying to work with the function $g(z):=f(1/z)$. This function would have a singularity at zero, but I won't see how to use the function to prove the claim. Is there a way I can show that there exists some $N$ such that $\frac{f^{(n)}(a)}{n!}=0$ for all $n\geq N$?   Also, prior to this I showed that if $f(z)$ is entire and $|f(z)|\leq A+B|z|^n$ for all $z \in \mathbb{C}$ then $f(z)$ is a polynomial. Perhaps I can invoke this result? Any help is greatly appreciated, thank you.


Any irreducible element of a factorial ring $D$ is a prime element of   $D$.   Proof. Let $p$ be an arbitrary irreducible element of $ D$. Thus $ p$  is a non-unit. If $ ab \in (p)\smallsetminus\{0\}$, then $ ab = cp$  with $ c \in D$. We write $ a,\,b,\,c$ as products of irreducibles:  $$\displaystyle a \;=\; p_1\cdots p_l, \quad b \;=\; q_1\cdots q_m,  \quad c \;=\; r_1\cdots r_n.$$ Here, one of those first two products may  be empty, i.e., it may be a unit. We have $$\displaystyle p_1\cdots  p_l\,q_1\cdots q_m \;=\; r_1\cdots r_n\,p\tag{1}$$                Due to the uniqueness of prime factorization, every factor $ r_k$ is   an associate of certain of the $l+m$ irreducibles on the left   hand side of $(1)$. Accordingly, $p$ has to be an associate of one of   the $ p_i$'s or $ q_j$'s. It means that either $ a \in (p)$ or $ b \in  (p)$. Thus, $ (p)$ is a prime ideal of $ D$, and its generator must be   a prime element.   It may be too simple, but why $ a \in (p)$ instead of $p_1 \in (p)$? Is it because $p$ has to be an associate of one of the $ p_i$'s or $ q_j$'s? Let's say $p_2$ is an associate of $p$. So, $p_2=pw$, $w\in R$. Since $a=p_1p_2\cdots p_l$ then $a=p_1pwp_3\cdots p_l$ and $a=p(p_1p_3\cdots p_lw)$, $p_1p_3\cdots p_lw \in R$ so $a$ is divisible by $p$ hence $a\in (p)$?


How can I programmically set the gnome-terminal title? I've tried  gnome-terminal --title="bla"   but this opens a new terminal window while outputting  Xlib:  extension "RANDR" missing on display ":0.0".


How can I find out which app is putting ads in my notification bar?

Possible Duplicate:          Recently advertisements have started appearing as notifications in my phone's notification bar. The icon on the ad are either a green plus sign or a white star with a red circle inside it. There is no indication in the notification as to which app it came from.  I haven't installed any new applications, so I assume that some application updated to include this intrusive new ad system. Ads only show up at irregular intervals once every few hours, so removing all my apps one by one until the ads stop is not really a viable option, since I would have to wait several hours in between each uninstall to see if another ad appears. (I'm sure this is by design.)  So is there any way to figure out the source application of these notification ads?  My phone is a rooted/unlocked/whatever HTC Droid Incredible running MIUI.


If a moderator unilaterally deletes Meta questions about deleted main site questions, where ought I post my worries?

I'm addled why there are comments with "you falsely claimed", and they're upvoted. The title of post unmistakably states "a moderator unilaterally deletes Meta questions", and I've never edited it. I screenshot the deleted questions to elucidate.    A moderator at Quantitative Finance deleted  that questions the deletion of the , . The moderator  on one of the now-deleted meta questions:  We have discussed this exact same question before. Specific questions are not a topic for meta. Discuss in the comments on the main site.   How can I "Discuss in the comments on the main site" if the original question is now deleted?  If a moderator deletes Meta questions on why main site questions were closed, then where else can I possibly question such closures?


On Physics Stack Exchange I have 96 reputation points. I'm able to upvote something, but when I tried downvoting a question it said that my vote would be recorded, but not displayed.  Is there a different amount of reputation points needed to downvote than to upvote?


Differentiable function which sends rationals to rationals and irrationals to irrationals

Function $f : \mathbb{R} \to \mathbb{R}$ defined for all $x\in\mathbb{R}$. It is also continuous and has derivative for all $x \in \mathbb{R}$. Does the condition that there are no points $x\in \mathbb{Q}$ such that $f(x) \in \mathbb{R}\setminus \mathbb{Q}$ and no points $x \in \mathbb{R}\setminus\mathbb{Q}$ such that $f(x) \in \mathbb{Q}$ imply that  $f$ is a linear function?   I tried to construct a counterexample, however I did not succeed. Are there any ideas, please?


Is there any way to block javascript pop-overs in Firefox or Chrome?

Like the kind pointed to in   Many sites have these, and I find them highly annoying. Often you'll be reading an article and suddenly the pop-over blanks out the page and asks "WOULDN'T YOU JUST LOVE OUR EMAIL NEWSLETTER?!" - why no, no I wouldn't.  I'd love to get rid of these if possible.   I'm using FF 38.01 in Win 7 x64.


jQuery - Can't get listview anchor to trigger alert

I've got a popup on page A which appends to (or creates, if it doesn't already exist) a listview on page B. After creating or appending to the listview, I call:  $('#summaryList').listview().listview('refresh');   In the listview on page B, there is an a within each li. The a  opens up another popup. This is all working as expected. I'm trying to get an alert to fire when the a tag is clicked, but nothing seems to be working.   I've tried:  $(document).ready(function() {     $('a.editBtn').click(function( event ) {         alert("test");     }); });   as well as  $("a.editBtn").on('pagecreate', function() {     alert("test"); });   Any suggestions?


I am doing my homework and I have a question about one line. I don't understand what this >&2 means:  if test -d $2    then echo "$2: Is directory" >&2 ; exit 21 fi


How can I run a Python script from Ubuntu Dash?

I've written hello.py (a basic "hello world" program) and would like to be able to quickly run it on my Ubuntu machine by pressing the Win key to open Dash, then type the name of the script (or something similar to that).  However, when I type hello.py into Dash, it opens the file in an editor rather than execute it. I added a shebang line #!/usr/bin/env python3 and run chmod u+x hello.py, it still opens the file in an editor.  I tried creating a hello.sh shell script that will run the Python script, but the shell script also gets opened in the editor when I type its name into Dash.  Is there a way to run a Python script by typing its name into Dash? Or is there another easy way to run an arbitrary Python script? Essentially, what I want is something like the Windows Run Dialog Box that appears when you press Win-R, which can run any program on the system PATH.


I want to make plain dark chocolate at home.   The process is tricky in my experience, not simply mixing cocoa, cocoa butter, milk powder, sugar, etc.  Can you share some practical tips for doing the process and choosing the right ingredients.


How to create symbolic link in Files (Nautilus) without using command line?

I would like to create a link to a directory or file. How can this be done using Files (Nautilus)?  I did not see a right-click context menu option to do this.  I know could do it by using the ln -s command, but I am looking for a way to do this using keyboard shortcuts or mouse clicks.


I have recently had to rebuild my iptables configuration and when I run service iptables restart  I now receive the following error line: iptables: Loading additional modules: nf_conntrack_ftp   [FAILED]  My iptables-config file includes the following line: IPTABLES_MODULES="nf_conntrack_ftp"  When I run modprobe nf_conntrack_ftp the response is: FATAL: Module nf_conntrack_ftp not found.  Here's my iptables file:  Table: mangle Chain PREROUTING (policy ACCEPT) num  target     prot opt source               destination Chain INPUT (policy ACCEPT) num  target     prot opt source destination 1    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 state NEW tcp dpt:8447 2    ACCEPT     tcp  --  0.0.0.0/0 0.0.0.0/0           state NEW tcp dpt:8443 Chain FORWARD (policy ACCEPT) num  target     prot opt source destination Chain OUTPUT (policy ACCEPT) num  target     prot opt source destination Chain POSTROUTING (policy ACCEPT) num  target     prot opt source destination Table: filter Chain INPUT (policy DROP) num  target     prot opt source               destination 1    ACCEPT     all  --  0.0.0.0/0 0.0.0.0/0           state RELATED,ESTABLISHED 2    DROP       tcp  --  0.0.0.0/0            0.0.0.0/0           tcp flags:0x3F/0x00 3    DROP       tcp  --  0.0.0.0/0            0.0.0.0/0           tcp flags:!0x17/0x02 state NEW 4    DROP       tcp  --  0.0.0.0/0            0.0.0.0/0 tcp flags:0x3F/0x3F 5    ACCEPT     all  --  0.0.0.0/0 0.0.0.0/0 6    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:80 7    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:443 8    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:25 9    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:995 10   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:143 11   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:993 12   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:22 13   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:110 14   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:465 15   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:8181 16   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 tcp dpt:8443 17   ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0 Chain FORWARD (policy ACCEPT) num  target     prot opt source destination Chain OUTPUT (policy ACCEPT) num  target     prot opt source destination  It seems nf_conntrack_ftp isn't loading -- how do I load this?


How do I give a player an item with custom properties?

I'm used to creating Java Edition Minecraft maps, where NBT can be used to set many different block, item, and entity properties, like an item's CanPlaceOn/CanDestroy list, a chest's items, and more! To open my maps up to more players, I've started creating maps on Minecraft Bedrock Edition as well. But NBT is inaccessible from commands in BE, which I knew before, but didn't know how much of a problem I would have creating these complicated command chains. One of the things that I've always been doing is giving players items with custom item names, lores, enchantments, and other properties. But there is a problem. All this would have been done in NBT in Java Edition. In Bedrock, NBT is inaccessible from commands, meaning the commands I used in JE don't work. Are my dreams crushed?


Orthogonal Projection onto the $ {L}_{\infty} $ Unit Ball

What is the Orthogonal Projection onto the $ {\ell}_{\infty} $ Unit Ball?  Namely, given $ x \in {\mathbb{R}}^{n} $ what would be:  $$ {\mathcal{P}}_{ { \left\| \cdot \right\| }_{\infty} \leq 1 } \left( x \right) = \arg \min_{{ \left\| y \right\| }_{\infty} \leq 1} \left\{ {\left\| y - x \right\|}_{2}^{2} \right\} $$  I managed to get an answer using the . Yet I would be happy to see if someone can derive the answer directly.  Thank You.


Find out what kind of object a thing is in Javascript/Coffeescript when foo.prototype is undefined?

What's the correct way to discover what kind of thing an object is. I'm trying to debug a process which makes use of a lot of d3 object. I suspect that one object might not be the kind of thing that we expect it to be. I'd like to be able to log the name of the object. In python I could do:  foo.__class__.__name__   But what's the JavaScript equivalent? Given a mystery object I just want to know what kind of thing it is. In this example, I want to know that foo is actually a d3.map:  coffee> foo = d3.map() { _: {} } coffee> foo.prototype undefined coffee> foo { _: {} } coffee>   The method described in "" does not seem to work here because foo's prototype is undefined.


How to create a solid black shadow behind text in Illustrator?

How do you create this text effect in Illustrator?  I tried creating a shadow behind the letter, but it did not appear similar to this.  Can anyone point me to the right direction?


My -ing (possessive form + -ing) vs. me ing (object form + -ing)

(a) We filter out information that the brain deprioritizes without our knowing it. (b)We filter out information that the brain deprioritizes without us knowing it.  I came across the sentence (a) above, modified for clarification. I wonder it is possible to use "us," as in sentence (b), instead of "our," as in (a). If possible, is there any semantic difference between these two sentences? Could [my(her, their, etc.) + -ing form] and [me (her, them, etc.) + -ing form] in a sentence always be used interchangeably with little or no difference in meaning? Grammatically, is the phrase "our knowing it" in sentence (a) considered a present participle or gerund? I know both of the following sentences are just fine, with (c) a more formal tone. (c) Do you mind my smoking? (d) Do you mind me smoking? Generally, however, I have no idea what exactly is semantically different between "my + -ing form" and "me + -ing form," nor the underlying grammatical logic. Thanks in advance.


I have parent lwc component and nested child components which have the same custom styling. I want to create css in the parent and use these classes in the child components. How can I do it?


Google-bot trips on a perfectly normal robots.txt, then on a nonexistent robots.txt

I have two domain names pointing to the same virtual server.  One of them, , is a working brochure website I made for a friend.  I used the other one, , to test-drive the site before making it public – in retrospect, probably a bad idea.  For a long time, Google-bot was confused in two ways about about a search for "ilari kaila", but while I was writing this, the second problem seems to have disappeared (added on edit: no, it hasn't).  Confusion the first  The Google search results for "ilari kaila" do include ilarikaila.com, but only on the third page of the results, and instead of a snippet from the site, the result includes the text "A description for this result is not available because of this site's robots.txt – learn more.".  The contents of the robots.txt file were simply  User-agent: * Allow: /   which certainly should not prevent any bot from listing the site's contents.  Indeed, when the serch terms "ilari kaila" were fed into bing.com, the site came up as the first search result (and stlil does), and a correct snippet was and is shown.  A couple of days ago, I removed robots.txt altogether (or rather, renamed it not_robots.txt), but Google is still showing the same result, referring to robots.txt.  (This is probably the reason that the site only appears on the third page of the search results.)  Confusion the second  Originally, requests to teemuleisti.com showed the same pages as ilarikaila.com, because I had not written a separate server block for the former in my nginx.conf file.  I did that a couple of weeks ago, and wrote one very simple HTML page for the former site.  Nevertheless, the Google search results for "ilari kaila" showed links to site teemuleisti.com even about two weeks after I did the preceding, and up to an hour ago. However, this problem seems to have been resolved (added on edit: no, it hasn't) while I was writing this question, perhaps because I just added the following redirect to the server's nginx.conf file:  server {     listen              80;     server_name         teemuleisti.com www.teemuleisti.com;     ...     location = /index.html {         break;     }     location ~* ^/(.+)$ {         rewrite ^ http://teemuleisti.com redirect;     } }   to redirect search results such as  (which showed a snippet of content that is actually at ) to the only page of teemuleisti.com, which now informs visitors of the problem with Google's indexing, and has a link to the correct site.  This seems to have set Google-bot right on that problem – though I can't see what difference it made, as there have been no subpages under teemuleisti.com for weeks – but what's with the confusion about robots.txt?  Added on edit: If I google for "ilari kaila composer", the second page of the search results still points to teemuleisti.com, so this problem is not yet resolved, either.


Big bang singularity in an infinite universe

If the spacetime of the universe is infinite now, then it must have been infinite at every point in its history, right? How then can Big Bang be an expansion of space and time? Can somebody show the compatibility of the idea of a singularity and the possible infinity of spacetime extent.


Every open cover of the real numbers has a countable subcover (Lindelöf's lemma)

How to prove for every open cover of the real numbers $\mathbb{R}$ there is a countable subcover? Without using more sophisticated results from topology, assuming only a real analysis background.  I've found a  using second-countable space characterization, but since i never studied general topology before, it's hard to associate a countable base on the real line. My intuition says to transform the open cover into disjoint open subsets, but how to achieve that?


I already heard Americans use the term "mobile" for "cellphone" -- which I thought was chiefly BE -- and so I wish you could tell if such usage of "mobile" has any currency in GAE?  Unless it might be called a "mobile" by Americans outside of the US or frequently traveling to Europe.


I was outside with a friend the other day and we ended up talking about clothing choices in the heat, and he repeated the usual statement that one should wear white instead of black in order to stay cool.   However, I seem to remember the relevant statement about black and white objects (identical except for colour) being that the black object absorbs and emits radiation at a greater rate than the white surface. If this is the case, yes, someone wearing a black shirt will heat up (or cool down) faster than if they wore a white shirt, but once they reach equilibrium with their environment, won't they both be the same temperature?


How to submit a form in JavaScript without triggering jQuery validation

I want to have jQuery validation when the whole form is completed and submitted. But when a drop down list is changed, I only want to have a POST to action so that I can get a refreshed view with updates. Say, when a state is chosen, the form post to the server side with current half-finished data, and the server returned the same page but with facilities specific to that selected state. In this case, I want to submit the form without validation. Like this: $(document).on('change', '#selectStates', function(event) {     event.preventDefault();          var $form = $('#formEdit');          $form.bypassValidate();     $form.submit(); });   So what is the right way to $form.bypassValidate();? We know in submit buttons, we can add a formnovalidate tag to bypass validation. But how can we do this in JavaScript?  Update with my solution Okay, I looked through the post  again. And alas, there is a solution hidden in one of the answers. formnovalidate does not apply here if I need to bypass validation in JavaScript. All we need is to call cancelSubmit (which should be named cancelValidate IMHO) on the validator, which is bound to our jQuery form. So my code on the select input is: $(document).on('change', '#selectStates', function(event) {     event.preventDefault();          var $form = $('#formEdit');      $form.data('validator').cancelSubmit = true;     $form.submit(); });


I'm trying to come up with a way to effectively easily clean all POST and GET variables with a single function. Here's the function itself:  //clean the user's input function cleanInput($value, $link = '') {     //if the variable is an array, recurse into it     if(is_array($value))     {         //for each element in the array...         foreach($value as $key => $val)         {             //...clean the content of each variable in the array             $value[$key] = cleanInput($val);         }          //return clean array         return $value;     }     else     {         return mysql_real_escape_string(strip_tags(trim($value)), $link);     } }   And here's the code that would call it:  //This stops SQL Injection in POST vars foreach ($_POST as $key => $value) {     $_POST[$key] = cleanInput($value, $link); }  //This stops SQL Injection in GET vars foreach ($_GET as $key => $value) {     $_GET[$key] = cleanInput($value, $link); }   To me this seems like it should work. But for some reason it won't return arrays from some checkboxes I have in a form. They keep coming out blank.  I've tested my code without the above function and it works fine, I just want that added bit of security in there.  Thanks!


Can anyone recommend a C or Objective-C library for HTML parsing? It needs to handle messy HTML code that won't quite validate.  Does such a library exist, or am I better off just trying to use regular expressions?


How to write umlaut and other non a-z characters in xfig

Using ubuntu 17.10, how can I write umlaut and other non a-z characters, like ö, in xfig?


What is the proper way to pluralize acronyms ending in the letter 'S'?  The particular acronym under study in this case is T.A.R.D.I.S.  The various forms I believe are correct are:   TARDISes T.A.R.D.I.S.es (is it even correct to pluralize this)


Diffraction from a single slit experiment and Heisenberg's uncertainty principle

Practically how to separated between Fraunhofer and Fresnel diffraction? Do all diffraction fringes from single slit have same peaks? Why?


Please clear up this misunderstanding I have involving limits.

I have passed the calc sequence, and thought that I understood things.  But I have trouble with limits now and again.  From the way I understand it, the 'best' way to evaluate a limit, is to evaluate the expression at the number in the limit.  In that way it's not only a limit, but an algebraic expression (so, I think, the need for limits goes away entirely, superseded by accuracy.)  But then I see something like $\lim_{x\to 2} \frac{x^2-4}{x-2}$.  Now, I think in my mind 'the best way to evaluate this is just to plug in $2$'  But it doesn't work that way, as the limit is $4$, and if I plug in, the answer is $0/0$.  I think that people here, with their natural talent in math, can perceive where my train of thought is going wrong, and correct me.  Please!


Is it true that  $$ \log\left(\sum_{i=1}^{n} \alpha_i\right) = \log\left(n \frac{1}{n}\sum_{i=1}^{n}\alpha_i\right) = \log(n) + \log\left(\frac{1}{n}\sum_{i=1}^{n} \alpha_i\right) \\ \geq \log(n) + \frac{1}{n}\sum_{i=1}^{n}\log(\alpha_i)$$ (where Jensen's inequality was applied in the last step)?


I'm newer to this forum, and I'm learning English. My teacher has taught me that we must use gerund after "enjoy", as in:  I enjoy swimming.  Now,  if we use a verb after gerund, which verb should I use: base from or infinitive or gerund? for example:   I enjoy helping you improve your English.     I enjoy helping you to improve your English.     I enjoy helping you improving your English.   Thanks in advance.


It looks like SE has fired two of the most experienced CMs just now. What does this mean for the community, and for the plans SE has for the future of the network?   SE identified the following challenge:     Difficulty scaling support for moderators from our Community Management team   The proposed solution was a moderator advisory board, but how is that supposed to work if SE is gutting the CM team at the same time? Does SE even care about solving this issue, or has supporting the mods been deemed as a cost center that can be streamlined?  Do these actions by SE represent a shift in strategy? Is SE giving up on community management, and concentrating on selling Teams and SE Enterprise?


Is there a known mathematical equation to find the nth prime?

I've solved for it making a computer program, but was wondering there was a mathematical equation that you could use to solve for the nth prime?


I have a small script that extracts data from a csv file. the file is unorganised and I have about 1000 of them to get the data from so far so I can't simply edit the format. I created a script the reads each line one by one skipping all the useless data then reading whats left, I needed to remove the first 36 characters and the last 3. However this prints inacurate data for some reason  My Code  import sys import time from sys import argv while True:     argv1 = "ex.csv"     script, filename = argv, argv1     f = open(filename, 'r')     for i, line in enumerate(f):         print (line)[36::3]         print (i)     time.sleep(5)   My first 2 lines of data are pretty empty so ignoring those here is the next line from ex.csv  20/03/2015  10:28:26, 390114.322299, 393732.492744, 0   Using the above code when printing (line) I get the data 37.240 I do not understand where it is getting this number from. as far as I understand from what I have been learning its suppose to skip [start:middle:end] so it should skip 36 from the start and 3 from the end and non in the middle.  Also not all ranges of data are set at 11 characters so I can't skip all but 11 characters either.


I want to implement a generic method that will take a vector of Points (Point can be of type integer, float or double) and return rectangle. (I am using OpenCV).  By reading the online tutorial of generics in c++ from  I have implemented the above method but I am getting a compile-time error.      Error: Error LNK2001    unresolved external symbol "public: static class cv::Rect_<int> __cdecl getRect<int>(class std::vector<class cv::Point_<int>,class std::allocator<class cv::Point_<int> > >)" (??$getRect@H@CvUtil@i2v@@SA?AV?$Rect_@H@cv@@V?$vector@V?$Point_@H@cv@@V?$allocator@V?$Point_@H@cv@@@std@@@std@@@Z)   I am unable to understand this error. Can someone explain to me what could be wrong here?  Below is the code snippet of my implementation.  template<typename T> struct XCoordSortX {     bool operator() (cv::Point_<T> pt1, cv::Point_<T> pt2) { return (pt1.x < pt2.x); } }; template<typename T2> struct XCoordSortY {     bool operator() (cv::Point_<T2> pt1, cv::Point_<T2> pt2) { return (pt1.y < pt2.y); } };  template<class T3> cv::Rect getRect(const std::vector<cv::Point_<T3>> points) {     cv::Rect rect;     std::vector<cv::Point_<T3>> tempPoints(points);     XCoordSortX<T3> sortX;     std::sort(tempPoints.begin(), tempPoints.end(), sortX); // sorting by x coordinate      rect.x = tempPoints[0].x; // setting top left point as lowest x     rect.width = tempPoints[tempPoints.size() - 1].x - tempPoints[0].x; // width will be diff between largest and smallest      XCoordSortY<T3> sortY;     std::sort(tempPoints.begin(), tempPoints.end(), sortY);     rect.y = tempPoints[0].y; // setting top left point as lowest y     rect.height = tempPoints[tempPoints.size() - 1].y - tempPoints[0].y;// height will be diff between largest and smallest     return rect; }  int main() {     std::vector<cv::Point> pointVec;     pointVec.push_back(cv::Point(2, 3));   // cv::Point is cv::Point_<int> type     pointVec.push_back(cv::Point(2, 10));     pointVec.push_back(cv::Point(10, 3));     pointVec.push_back(cv::Point(12, 5));      pointVec.push_back(cv::Point(40, 50));     pointVec.push_back(cv::Point(40 ,100));     pointVec.push_back(cv::Point(100, 40));     pointVec.push_back(cv::Point(50,50));      cv::Rect newRoi = getRect<int>(pointVec); // Error here }


I don't know my email that I used to create my Pokemon go account. Before it just logged me into my account and I count start playing the game. I hit the log into another account by accident and now it just goes to that screen and I can't get back to the game.


Set different margins with twoside in LaTeX

I am trying to set different margins for the first page of my document. As I am not sure about the content of the first page, the \afterpage command has been used to achieve the required effect. However, I have noticed that the first paragraph on the second page (the red ellipse on top of Page 2) still has the margins of the first page (please check the example below).    Is there any way where I can force the new margins on the entire content of the second page? Starting from the second page, is there a way where I can have a grey rectangle (Page 2 and Page 3 currently are drawn by hand only to demonstrate what I am after) covering the entire wide margin of the page (edge-to-edge vertically and edge-to-text on the wide margin horizontally)?  \documentclass[11pt,a4paper,twoside]{article}  \usepackage{lipsum,afterpage}  \usepackage[left=1.5cm, top=1.5cm, right=3cm, bottom=1.5cm, nohead, nofoot]{geometry}  \begin{document}  \newgeometry{left=7.5cm, top=1cm, right=1cm, bottom=1cm}  \afterpage{\globaldefs=1 \restoregeometry}  \lipsum\lipsum\lipsum  \end{document}    Thank you.


Multiplicative inverse in $\operatorname{GF}(2^8)$?

I know how to do multiplication over ${\rm GF}(2^8)$:  uint8_t  gmul(uint8_t  a, uint8_t  b) {     uint8_t p=0;     uint8_t carry;     int i;     for(i=0;i<8;i++)     {         if(b & 1)             p ^=a;         carry = a & 0x80;         a = a<<1;         if(carry)             a^=0x1b;         b = b>>1;     }     return p; }   So, I tried to create a ${\rm GF}(2^8)$ multiplication table using this code. I've given below the values in the 3rd row of the table, but I don't think they're correct:      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F 0 1 2   0  2  4  6  8  A  C  E  10 12 14 16 18 1A 1C 1E  3 . . E F   I don't know what went wrong. I built the table by multiplying the values in the first row with those in the first column.  E.g. in the third row, I multiplied 2 × 0, 2 × 1, …, 2 × E, 2 × F.  How can I create a multiplication table for arithmetic in ${\rm GF}(2^8)$?    Also, how can I find the multiplicative inverse of a number in ${\rm GF}(2^8)$?  For example, how can I determine that the inverse of 95 is 8A?  I tried to do this using the multiplication table above, but when I took 9th row and the 5th column in the multiplication table I got 2D, not 8A.


My samsung s4 has suddenly started calling through Skype instead of the local network. I have not set any defaults. I have also uninstalled skype, it still goes through skype, then stops then I have to call again then it goes thtough the network. How can resolve this? please help


Is a passport needed for traveling by plane in Mexico? (Non-international flight)

I am going to be driving into Tijuana to board a flight that will take me to Acapulco. My flight is from Tijuana to Acapulco. Both locations are in Mexico. Will I need to have a passport in order to attend the flight, even though the flight is from one place in Mexico to another? I heard that in this situation, a passport is not required, but a passport may be required upon reentering the US. Would other documents be sufficient for boarding this flight? I will be returning from Acapulco to Tijuana, and from there I will be driving back across the border to the U.S.


What do you call someone who ‘makes a dictation’ or ‘dictates’?

I only found 'dictator', but even as a non-native-speaker I guess that is overly associated with 'tyrant' or 'despot'.   In my case I need someone who speaks into a microphone for text recognition.


These two methods seem to be extensively used inside linux kernel code. I know the foundations of branch prediction, but I would like to know how these two functions affect the operation of if() statements. Also do they work at the level of CPU instruction pipeline? or is it at a much higher level of abstraction at kernel code level?  Being a starter to linux kernel I would be deeply interested in knowing the internal workings of these two methods. Thanks!


What is the ideal number of questions SE wants for any answer for the best search effectiveness?

After reading former SE co-founder Jeff Atwood's blog post  I came to this problem. If I post a wonderful description about the features of a 1967 Chevrolet Camaro, do we want users to find this post easily with different search terms? For example, is it desirable to find this answer with   What is the first Chevrolet muscle car? What was the pace car in the 1967 Daytona 500? Did the Camaro ever have window vents? What was the black car in Better Off Dead? What was the Chevy II Nova frame based on?   These five questions may have the same answer, but certainly the site works better if there are 5 different ways to find a description of a 1967 camaro. Are more questions better? Shouldn't we reward users who improve the validity and usefulness of an answer rather than down-vote them?  Instead it appears SE policy stifles search engine effectiveness by reducing reputation when a presumed answer is already posted under a different question. Currently we treat search-engine augmenting questions as such:   OP presents a question. An arbitrary user with 3K+ reputation guesses what the answer is then searches SE for it. Using their judgement, they vote to close the OP question as duplicate and link the answered question (related or not) to it. The OP begins receiving downvotes for the duplicate question and is denied reputation which answers and views would have brought.   The end result is that users who broaden the search terms which can arrive at a good answer are stigmatized and in fact punished with loss of reputation because a duplicate answer was confused with a duplicate question.  There is a logic to connecting certain questions which ask the same thing, but there is no logic to associating several uniquely asked questions together only because they happen to arrive at the same answer. This also hurts the site.  Someone tell me I am missing something, this is my experience.  HOW MANY DIFFERENT questions are ideal for any single answer?


I have a problem with my code. This code should check login and password. The problem is the else if statement showing a wrong output. Example, when i enter username == admin and password == 1234, it display username is incorrect.  import java.io.*;  public class login  { public static void main(String [] args) throws IOException {     String username = "admin";      String password = "123";      BufferedReader inData = new BufferedReader(new InputStreamReader(System.in));      System.out.print("Enter username : ");     username = inData.readLine();      System.out.print("Enter password : ");     password = inData.readLine();      if((username == "admin") && (password == "123"))     {         System.out.println("Welcome " + username + "\n*** Login Sucessfully ***" + "\n*** Access Granted ***");     }     else if((username != "admin") && (password == "123"))     {         System.out.println("Sorry, username is incorrect!\n*** Access Denied ***");     }     else if((username == "admin") && (password != "123"))     {         System.out.println("Sorry, password is incorrect!\n*** Access Denied ***");     }     else if((username != "admin") && (password != "123"))     {         System.out.println("Sorry, username and password is incorrect!\n*** Access Denied ***");     } } }


Show that $A=0 \iff \operatorname{tr}(A)=0$ where $A= M_1+ \cdots +M_{\ell}$.

Let $G=\{M_1, M_2, \ldots ,M_{\ell}\} \subset \mathcal{M}_n(\mathbb{R})$, such that $G$ forms a group for the usual matrix multiplication.  Denote $A= M_1+ \cdots +M_{\ell}$.   Show that  $$A=0 \iff \operatorname{tr}(A)=0$$  I am totally stuck here, if someone has any ideas, please share it.  Thank you in advance.