I am trying to compare two java script dates using greater than operator but it is not working ,i am posting my code ,  select : function(date, jsEvent, allDay) {         $('#clickedDateHolder').val(date.format());         var check = date.format();          var date = new Date();          var day = date.getDate();         var month = date.getMonth();         var year = date.getFullYear();         var currentDate = year +'-'+month+'-'+day;          // show modal dialog          alert('check :'+check +'currentDate :'+currentDate)         if(check < currentDate)         {             bootbox.alert("Past Dates")         }else if(check > currentDate){              input.push(date.format());             $('#selectedDate').val(input);             $('#event-modal').modal('show');          }   date.format(); is giving me the selected date and i am  formatting the current date using       var day = date.getDate();     var month = date.getMonth();     var year = date.getFullYear();     var currentDate = year +'-'+month+'-'+day;    but when i am using the greater than operator it is not working .The two date formats which are generated are   check :2015-10-27 currentDate :2015-9-29   How to solve this?? please help


Show that the Gauss ring $\mathbb{Z}[i]$ is Euclidean ring

Show that the Gauss ring  $$ (\mathbb{Z}[i]=\{a+bi \mid a,b \in \mathbb{Z}\},+,\cdot ) $$ is Euclidean ring with a norm $d(a+bi)=a^{2}+b^{2}$ How to prove that theorem? I started checking the first condition of norm which is $\forall a,b \in \mathbb{Z}[i] d(a)<d(a\cdot b)$ I started $a^2+b^2\leqslant (ac-bc)^2+(ad+cb)^2$ and i stucked on $a^2+b^2\leqslant a^2(c^2+d^2)+2b^2 c^2-2abc^2+2abcd$ What is next and how to prove the second condition?


interpretation of the determinant of jacobian of a dynamical system at a point?

If we have a dynamical system for a vector of scalar variables $x_t$: $$\dot x_t=f(x_t)$$  Then the jacobian is the matrix of partial derivatives $$J(x_t)=Df(x_t)$$  Let's say we have a fixed point $x_t^*$: $f(x_t^*)=0$.   Then what is the (intuitive) interpretation of $|J(x_t^*)|$? and of $sign |J(x_t^*)|$?


Given (p ∧ q), use the Fitch system to prove (q ∨ r)

I'm having trouble solving a Fitch Style Proof and I was hoping someone would be able to help me.  Premises: p ∧ q  Goal: q ∨ r  Would be an assumption (p ∧ q => q ∨ r) in first step a correct one?   Then, q ∨ r Implication Elimination: 2, 1  Why is it not correct?  Thank you very much for any help!


Let $r$ be a rational no. with $0<r<1$. Then $r$ can be expressed as a sum of reciprocals of finitely many distinct positive integers . Show that this is true even for $r>1$.  If there is a particular theorem or an article on this please share..


Is there a penalty for attacking THROUGH an ally's position while in Melee?

You can move through an ally's position (as difficult terrain), but can you attack through it at no cost?   If you have 10' reach, but there is an ally between you and the target, does the target get the +2 cover or is that ignored as friendly ally who could move away?


How will I store the block contents into an array or object?

Recently, I have an existing Slick Slideshow as a view created from the dashboard.   Right now, I wanted to just manage the slideshow from the backend and then display the slides in a different manner. So, what I have in mind is to store the slideshow data as an array or object and then from there I can freely manipulate/control how would I want my slides to be displayed.   Currently, when I use print_r() the slideshow displayed is already an html markup, I want to get the raw data of the slideshows in an array or an object. How would I do that? I am by the way a Drupal 7 newbie. Thanks a lot.


Better accuracy with validation set than test set

I trained a model with some algorithms like random forest, logistic regression and so on.   My dataset was split into 80% CV train data (so actually 60% of data to train the model and 20 % for testing with cv). I built my model and now I'm using the last 20% (which I didn't used the whole time) but I'm wondering why is the predictive accuracy better with the validation set than with the training set?    specificity validation: 0.62962963 sensitivity validation: 0.94761905   on the left is the mean, on the right is the standard deviation (+/-) with a 10 times cross validation    specificity_train: 0.55  (+/- 0.10)  recall_train: 0.94   (+/- 0.02)   Did I something wrong? Thought this is the normal / best way to test, if the model is overfitted or not.  Or is it OK due to the standard deviation?


How to get Max of sum of two columns, with associated column - SQL Live

CREATE TABLE emp (    empno      NUMBER (4, 0),    ename      VARCHAR2 (10),    job        VARCHAR2 (9),    mgr        NUMBER (4, 0),    hiredate   DATE,    sal        NUMBER (7, 2),    comm       NUMBER (7, 2),    deptno     NUMBER (2, 0),    CONSTRAINT pk_emp PRIMARY KEY (empno) );   This is the table creation, obviously   This is the table output  Now what i need to do is find the sum of Sal + Comm for the Salesman rows, and then find the max of those sums, then display that max plus the corresponding ename  Here is my code       SELECT ename, MAX (SUM (sal + comm)) max_sal     FROM emp    WHERE job = 'SALESMAN' GROUP BY ename   I know this nowhere near correct, but I'm brand new to SQL so I'm very stuck (using SQL live btw)


Can I create iso image from my current Ubuntu 16.04 including all the manually installed package?

I see there are multiple same question like this but here I just want to confirm can I create an iso file from currently installed Ubuntu 16.04.1 with all the package I've installed? Also is it possible to also include the library installed in python virtualenvironment?  I have this tesseract-ocr library installed and other library that were not included when I first setting up Ubuntu 16.04.1, so is it possible to clone my current Ubuntu system and create an iso file from it? What are the current stable software that can do that specifically for Ubuntu 16.04.1   Thank you for the help


could you help me to fix my problem? note: each user have two field (fields are taxonomy reference)  I want to get two fields with OR condition the output of my code returns in the shape of AND result   here is my code :   $query = new EntityFieldQuery();   $query->entityCondition('entity_type', 'user')         ->propertyCondition('status', 1)         ->fieldCondition('field_software_abilities', 'tid', $abilities, 'IN')     ->fieldCondition('field_other_abilities', 'tid', $abilities, 'IN');     $result = $query->execute();   I read an article about using addtag and hook_query_tag_alter() but I can't use it


Why is the radius of the universe larger than?

It's always been in the back of my head that the Universe is 13.8~ billion years old and that the Observable Universe is 46~ billion light years in radius. How is this so? It would logically be only 13.8~ billion light years in diameter as that is the length of time it would take for things 13.8~ billion years to get to us?


After upgrade, get blank purple screen. No gdm and can't switch to tty

I upgraded to 11.04 using update-manager -d. When I try to boot, I just get a purple blank screen, with no ubuntu logo/dots showing. It never gets to the gdm login screen (I left it for 20min) and I can't get to a tty by pressing Ctrl+Alt+F1. I don't see a grub menu/count down screen either.  My computer is a Dell Vostro 1500 with a Nvidia Geforce. I had the proprietary nvidia driver installed before upgrading.   I've boot with a live cd, from where I am writing this, and I can mount the disk, but I don't know where to start looking for the issue.


Why is there not yet a solution for notifications from favorite posts, because I think it's a great feature most people wanted?  I think it just completes the favourite option. Why is it taking too long for this feature? Are there any semantic problems? What is the status of this feature?


How do you move an unallocated partition?

For the life of me I cannot figure out how to move this partition so I can add it onto my ubuntu partition. I need to move it down two partitions so it is next to sda8, then I can add those partitions together. I cannot edit it in anyway unless I make it into a partition, But even when I do that and try to "resize/move" It only allows me to re size it. I have no clue, I have been trying to do this for over an hour. I have tried with gparted, gparted booted from a USB, the windows drive editor, and even another drive editor I downloaded onto my windows drive. Please help, thanks :)


How many close votes do I actually have each day?

The close votes count has been bothering me for a while now. I want to make sure I fully understand how the system works and maybe update the FAQ so it's less confusing for people.  The  says we have 50 close votes each day.   I am 6K+ on SO.  I have used 40 votes in the Close Votes queue today but If I go into any question and click on close, it says that I have 12 votes left ( after using 8 close votes directly from question pages earlier today - not the queue )  Does that mean I actually have 60 votes? I am confused.  Is there anywhere to find the rep lvl vs. the amount of close votes allowed per question and review queue?  Something like  1K+ = 20 votes on questions 2K+ = 30 votes on questions 3K+ = 35 votes on questions / 40 in the review queue 4K+ = 40 votes on questions / 50 in the review queue


Very strange error suddenly appeared running Biber

I am on a Mac with MacTex 2020 and ran into a strange problem with Biber. Working on a document all was fine, I did not change the bibliography (says my git) and only fixing typos (not even adding cites) and suddenly latexmk stopped working after a Biber run, while that looked like  INFO - This is Biber 2.14 INFO - Logfile is 'doc.blg' INFO - Reading 'doc.bcf' INFO - Found 31 citekeys in bib section 0 INFO - Processing section 0 INFO - Globbing data source 'literature.bib' INFO - Globbed data source 'literature.bib' to literature.bib INFO - Looking for bibtex format file 'literature.bib' for section 0 INFO - LaTeX decoding ... INFO - Found BibTeX data source 'literature.bib'   so harmless in my view. Then with --debug I additionally get in the end.  INFO - LaTeX decoding ... warning: overriding existing definition of macro "jun" warning: overriding existing definition of macro "jul" warning: overriding existing definition of macro "sep" warning: overriding existing definition of macro "jan" [...] warning: overriding existing definition of macro "nov" INFO - Found BibTeX data source 'literature.bib' Unicode::UCD: failed to find unicore/version in /var/folders/hm/gt63cn0j2r7bwbzw7c1hww1r0000gn/T/par-626572676d616e6e/cache-2f8a664c3c933a44d096bcc8d018a5e92bced897/inc/lib /var/folders/hm/gt63cn0j2r7bwbzw7c1hww1r0000gn/T/par-626572676d616e6e/cache-2f8a664c3c933a44d096bcc8d018a5e92bced897/inc CODE(0x7fd026aeb5a8) CODE(0x7fd026aebb90) at /var/folders/hm/gt63cn0j2r7bwbzw7c1hww1r0000gn/T/par-626572676d616e6e/cache-2f8a664c3c933a44d096bcc8d018a5e92bced897/inc/lib/Biber/Input/file/bibtex.pm line 1011.   It seems unrelated to the library itself since deleting a few entries (going through deleting one half, then the other), the problem persists. It does not happen for an empty literature, but as soon as a first entry is added (just author/journal/title/year/volume/pages - no utf8-only chars) this error message appears.  what does this last error message mean?  How can I solve this?


PTR Record setup with separate incoming and outgoing servers

The situation:   Even though SPF, DKIM, and the entire mail formatting is optimized to score 10/10 on , many outgoing mails are marked as spam in yahoo and outlook. The primary server sends out the emails. Incoming email is handled with mailgun.org, so the MX records (on the primary server) point to mailgun servers.  It is relatively easy to set up the PTR record for the primary server, but AFAIK impossible on mailgun.   Questions   Is setting the PTR record on the primary server enough?  If not: what is the exact way a major email service provider checks incoming emails regarding the PTR record?   a) domain -> read MX record -> look up PTR of domain in the MX record (which would be mailgun)  b) domain -> look up PTR record of that domain (primary server in this case)  c) other?


How to play youtube in the background in android?

I have been using PVSTAR+ app which plaeyed youtube in the background and I could listen to youtube while its closed.  Youtube recently updated it's API so PVSTAR+ doesnt work anymore. it's also have been deleted from the store so I wont get any updates.  Is there an app that play youtube in the background and works now? And I dont want to use AudioPocket-it can't search youtube.  Thanks.


Exception in thread "main" java.lang.NullPointerException selenium maven junit

I'm new to Selenium, so I'm just trying to make simple test. I'm getting an error when I try to put some code into this function. This is the error I'm getting:  exception in thread "main" java.lang.NullPointerException  public class Selenium { private static WebDriver browser; // I get error when I put this line  public static void setup() {     System.setProperty("webdriver.chrome.driver","webDriver/chromedriver904.exe");     WebDriver browser = new ChromeDriver();     browser.get("http://weburl"); }  And the error shows on line WebElement:  public static void main(String[] args) {     System.out.println("Selenium");     setup();     WebElement pavadinimas = browser.findElement(By.xpath("//*[@id=\"form\"]/form/input[2]"));


Unable to understand output of Python Negative List Slice

UPDATE: I got code from sololearn.com (freemium site to teach Python). And I ran code on my own Python 3.  I don't understand this output  sqs = [0, 1, 4, 9, 16, 25, 36, 49, 64, 81] print(sqs[7:5:-1]) [49, 36]   Is the interpreter skipping 0th element, i.e. 0 and reading list as [1, 4, 9, 16, 25, 36, 49, 64, 81], and then printing the 7th element, i.e 49?  How does it then print 36? Does it go forward and read [64,81], then read backwards [64,49,36], hence printing 5th element, i.e. 36?  If this is correct, then explain following output  >>> print(sqs[7:4:-1]) [49, 36, 25]   I can understand that python skips the 0th element, counts till 7 and prints 49. But now I specified a gap of 4. So shouldn't the interpreter read [64,81], then go in reverse, i.e. [64,49], and print 49? And how did it print 25?


Calculate the value of the sum $1+3+5+\cdots+(2n+1)$

I have been thinking about this for a long time, may I know which step of my thinking is wrong as I do not seems to get the correct answer. If I am not going towards the right direction, may I get some help thanks!  My attempt:  Let $S = 1+3+5+\dotsb+(2n+1)\label{a}\tag{1}.$  Then I rearrange S from the last to first terms:  $S = (2n+1)+(2n-1)+(2n-3)+\dotsb+1\label{b}\tag{2}.$  Adding the two series $(1)+(2)$:  $$2S = (2n+2)+(2n+2)+(2n+2)+\dotsb+(2n+2),$$  I have $n$ copies of $(2n+2)$.  Therefore:  $2S = n(2n+2)$  $S = n(n+1)$.


Regex negative lookbehind not valid in JavaScript

Consider:  var re = /(?<=foo)bar/gi;   It is an invalid regular expression in Plunker. Why?


Particle annihilation - mathematical description, equations governing it?

I was wondering about this and I would like to know an explanation why do particles and antiparticles annihilate? I would be interested in phenomenological, but most importantly mathematic explanation of annihilation. Do we even have a complete mathematic description of the phenomenon?  I am asking if there is an equation, like in Newtonian mechanics that governs elastic and non-elastic collisions of massive bodies(not particles, just two massive balls) or equations that govern deformation. There is no answer giving a sufficient information about MATHEMATICAL description.


Is  $H=\{ x\in D_{4} \mid x^2=1\}$  is a  subgroup  of $D_4?$ My attempt : I think  not Take the elements  $s$ and $rs$  of $D_4$ Here $s^2=1$ and $( rs)^2 =rsr^{-1}s=s^2=1$ But $s(rs)=rs^2=r \neq 1$ so the  $H$  doesn't  satisfy the  closure property Therefore $H$ is not a  subgroup of $D_4$


I'm absolutely new to ubuntu. I'm going to program java using eclipse, so I extracted file "eclipse-standard-kepler-SR1-linux-gtk-x86_64.tar.gz" in some folder, and tried to run "eclipse" in the extracted folder.  But it showed the following message:  "Could not display eclipse.    There is no application installed for 'executable' files. Do you want to search for an application to open this file?"   I clicked "yes" and installed "pypar2" as its recommendation. But still I cannot execute this file.  What should I do to start using eclipse?  Can anyone please help me?


I am currently trying to solve problem which is formulated in the following way:  "An ectopic pregnancy is twice as likely to develop when the pregnant woman is a smoker as it is when she is a nonsmoker. If 32 percent of women of childbearing age are smokers, what percentage of women having ectopic pregnancies are smokers?"  which is conditional probability problem. Currently, I am stuck, as it appears I don't have enough information to solve the problem. The way I see it, problem requires me to find how is $P(E)$ divided between $P(E \cap S)$ and $P(E \cap \bar S)$, where $E$ is "woman have ectopic pregnancy" event, and $S$ is "woman smokes" event (I denote "woman do not smoke as $\bar S$). I can derive $$P(E) = P(E \cap S) + P(E \cap \bar S) = P(E|S)\cdot P(S) + P(E|\bar S)\cdot P(\bar S) = 2\cdot P(E|\bar S)\cdot P(S) + P(E|\bar S)\cdot P(\bar S) = 0.64 \cdot P(E|\bar S) + 0.68 \cdot P(E|\bar S)$$ but I have no idea how to go from there. There is not enough information to use Bayes formula, as I don't have any idea what $P(E)$ is. What am I missing in my thoughts?


Write a permutation as a product of transpositions.

Let $\alpha = (1 \ 6 \ 3) (2 \ 9) (4 \ 8 \ 10) \in S_{10}$ be a permutation. Write $\alpha$ as a product of transpositions, i.e. of cyclic permutations of order 2. Note that transpositions do not need to be disjunked.   Really don't know how to "go/walk" on this.  I think that $$1->6, 6->3$$  $$2->9$$ $$5->8, 7->10$$  So something like $$(1 6)(6 3)(3 2)(2 9)(9 4)(4 8)(8 10)$$


I would like to have a script to delete all my groups in my Contacts. Somehow I got a kind of replication bug resulting in over 500 groups. Delete them one by one is not an option.  Tried this script, but it does not do the job, I have to enter to many group names and after a while the sript stops even when not all groups have been deleted.  tell application "Contacts"  repeat 50 times  set theGroup to group "MyGroupName"  delete theGroup  end repeat  save end tell   Any help will be much appreciated.


I have Nikon d5200 and a kit lens(18-55). I want to buy a prime lens but confused between 50 mm and 35 mm. Need help and suggestion.


Switch between windows within workspace: difference between 16.04 and 18.04?

I am confused with changes in 18 04 with windows switching in presence of multiple workspaces. Imagine that I have an application (say terminal) open in two different workspaces. Now using alt+tab and choosing the application seems to have different behaviours:   ubuntu 16.04: go to application within the same workspace ubuntu 18.04: go to application but in the workspace where it was last used.    Is this correct? If yes, is there any chance I can revert to the 16.04 like behaviour?   Thanks!!  PS: technically, this is a duplicate of this  on Ubuntu 11.04, it seems old enough that a new answer is welcome?


I was looking at some of the shape classes in the java.awt.geom package when I noticed that most of the classes such as Ellipse2D.Double, Arc2D.Double, etc are defined as static.   I've seen what static fields and methods of a class are, but what does it mean for a class to be static? Does it just mean that all of it's fields and methods are static or is there more to it?


Removing white space and special characters from a c string

so I am making a palindrome checker that ignores any white space or special characters. Below is part of my function. What it does is it takes a c string as an argument, then I create another c string in order to remove the whitespaces and special character from the orignal. When I output the second c string, it still will have the whitespaces or special characters. Could some explain why it is doing that? Thanks  bool isPalindrome(char *line) {    //variables    bool palindrome = true;    int length = strlen(line);    int count = 0;      //copy line to line2 with no spaces and no punctuation    char *line2 = new char[length + 1];    int count2 = 0;     for(int i = 0; i < length; i++)    {       if(line[i] != ' ' && ispunct(line[i]) == false)       {          line2[count2] = line[i];          count2 ++;       }    }    for(int i = 0; i < count2; i++)        cout << line[i];    line2[length] = '\0';


Can i remove the default splash screen of someone else project by publishing it using my unity plus?

If i use my unity plus to remove the default splash screen from someone else project (that person are using free version of unity) , then export the project also using my unity plus , what are the legal concern ?


I am using drush for drupal caches clear, module enable/disable and so more commands. My drush version is 5.4, it working fine for drupal 7 but now i  creating new product in drupal 8. I am using same drush commands for drupal 8. but I am facing below problems.  D:\Drupal\site\website\docroot>drush cr PHP Fatal error:  Class 'Drupal\Core\StringTranslation\PluralTranslatableMarkup' not found in D:\Drupal\site\website\docroot\core\includes\common.inc on line 132  Fatal error: Class 'Drupal\Core\StringTranslation\PluralTranslatableMarkup' not found in D:\Drupal\site\website\docroot\core\includes\common.inc on line 132 Drush command terminated abnormally due to an unrecoverable error.                       ?[31;40m?[1m[error]?[0m Error: Class 'Drupal\Core\StringTranslation\PluralTranslatableMarkup' not found in D:\Drupal\site\website\docroot\core\includes\common.inc, line 132


Number of total possibilities for an equation

I need to find the number of possibilities for which the following equation exists:  $$x_1 + x_2 + x_3 + \cdots + x_{10} \leq 70$$  Each variable is a non-negative integer.  I tried simplifying the question to the point of finding the number of possible solutions to each equation seperatly:  $$x_1 + x_2 + x_3 + \cdots + x_{10} = 70,$$ which is ${79}\choose{10}$.  $$x_1 + x_2 + x_3 \cdots + x_{10} = 69,$$ which is ${78}\choose{10}$.  $$x_1 + x_2 + x_3 + \cdots + x_{10} = 68,$$ which is ${77}\choose{10}$, and so forth.  Then I thought about adding all of these together. This seems a bit too much work considering that the textbook solution is: ${80}\choose{10}$, and I can't seem to figure out the idiomatic way of approaching these kind of questions.   Any help is greatly appreciated.


Gauge fields and strings: Loop equations

I am trying to derive Eq. (7.25) (p. 117) of Polyakov's book:  $$ \delta \Psi (C) ~=~ \int_{0}^{2\pi} {\rm P} \left(F_{\mu\nu}(x(s)) \exp \oint_C A_\mu dx^\mu \right)\dot{x}_\nu \delta x_\mu(x) \, {\rm d} s, \tag{7.25} $$  where the non-abelian phase factor around a closed loop $C$ is defined as  $$ \Psi(C) ~=~ {\rm P}\exp \left(\oint A_\mu dx^\mu \right) = {\rm P}\exp \left(\int_{0}^{2\pi} A_\mu \dot{x}_\mu\, {\rm d}s \right). \tag{7.1} $$  It seems that he is using the relation given on p. 116:  $$ \delta \, {\rm P} \exp \int_{0}^{2\pi} M(\tau) {\rm d}\tau ~=~ \int_{0}^{2\pi}{\rm d}t\,{\rm P} \left(\delta M(t) \exp \int_{0}^{2\pi}M(\tau){\rm d}\tau\right). \tag{7.24b} $$  Matching with (7.25) I find $\delta A_\nu = F_{\mu\nu} \delta x_\mu$. This relation seems to be saying that if I change the position of the loop at the parameter $s$ by $\delta x_\mu(s)$ then the vector potential changes by $\delta A_\nu(x(s)) = F_{\mu\nu}(x(s)) \delta x_\mu(s)$.    I don't know how to derive this relation. Is it legitimate?


visual studios 2013 template class non default constructor extern error

So I'm having this error and I'm pulling my hair out.  I'm in Visual Studios 2013 and am getting this error:     Error 1   error LNK2019: unresolved external symbol "public: __thiscall   testClass::testClass(int)" (??0?$testClass@H@@QAE@H@Z)   referenced in function _main  D:\Source Code\My Projects\test c++\test   c++ project\ErrorTesting\ErrorTesting\test.obj    ErrorTesting   file: testclass.h  template<typename t> class testClass { public:     testClass(t test); };   file: testclass.cpp  #include "testclass.h" template<typename t> testClass<t>::testClass(t test) {  }   file:test.cpp  #include "testclass.h" int main() {     testClass<int> temp(1);     return 0; }   Now I don't know why I can't call a non-default constructor with a template type but it compiles just fine if I call a default constructor.    Please note this is an example of the code that causes the error not my main project that I'm working on.


Does it cost rep to downvote a community wiki post?

I wouldn't be surprised if this has already been asked, but I couldn't find it anywhere.  I know that you don't gain or lose rep for questions or answers that you set to community wiki.  But does it cost you rep to downvote someone else's cw post?


Still No wifi adapter for Realtek RTL8822BE found in 18.04

Just installed Ubuntu on new HP desktop "pavillion"all in one. Dual boot set up. I get the message no wifi adapter found when attempting to get online. What to do? Oh I do not know how to copy and paste my terminal info so it actually looks like it does on the terminal. (A little help with that would stop annoying people that are reading my questions.)  When I enter sudo lshw -C network I get:  *-network                  description: Ethernet interface product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:01:00.0 logical name: enp1s0 version: 15 serial: c8:d9:d2:7b:00:b3 size: 1Gbit/s capacity: 1Gbit/s width: 64 bits clock: 33MHz capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=10.0.0.223 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s resources: irq:49 ioport:f000(size=256) memory:fea04000-fea04fff memory:fea00000-fea03fff *-network UNCLAIMED description: Network controller product: Realtek Semiconductor Co., Ltd. vendor: Realtek Semiconductor Co., Ltd. physical id: 0 bus info: pci@0000:02:00.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm msi pciexpress cap_list configuration: latency=0 resources: ioport:e000(size=256) memory:fe900000-fe90ffff   So I followed the already answered question advice of making sure I had the correct kernel which is currently 4.15 and I have the most updated rtl8822befw.bin firmware installed and I still am getting the no wifi adapter prompt. I do not know all the commands that I could be using to get this solved. The adapter is found and operational in windows and the Ethernet cable allows me to get online for Ubuntu.  When I enter lspci -nnk | grep -A2 0280 I get:  02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:b822]     Subsystem: Hewlett-Packard Company Device [103c:831b]     Kernel modules: r8822be   When I enter rfkill list I get:    0: hci0: Bluetooth       Soft blocked: no       Hard blocked: no     Any other Ideas ?


What are good situations to use Multi-Flash / Repeating Flash feature?

What can be done with the MULTI-Flash feature of a 580ex II flash?  What are good situations to use this feature?


Aptitude on Debian 6.0.4 "media change" to CD ROM

I've just installed Debian 6.0.4 on VirtualBox, and I'm trying to install g++. So, into the terminal I typed:  aptitude install build-essential   But it's trying to get the package from disk:  Media Change: Please insert the disc labeled 'Debian GNU/Linux 6.0.4 _Squeeze_ - Official i386 CD Binary-1 20120128-12:53' in the drive '/media/cdrom/' and press [Enter].   Why isn't it just downloading it from Debian's repositories? Can I change this behavior?


How can tester ensure a timely ad high quality delivery when no deliverable are provided by developers for an Epic due in 30 days

If there is an Epic to be delivered in 30 days but the developers have not provided any deliverable and it's already day 1, how can testers ensure timely and high-quality delivery? What steps should testers take to ensure a timely and high quality delivery?


Why isn't oracle using an index for distinct query ?


I am interested in analyzing directed voting behavior of users in relation to their reputation on stackoverflow. Since voting is an anonymous activity for obvious reasons, I was hoping that I could get, in addition to voting data, the relative userID information (to preserve anonymity) for the voter and voted along with their reputations. My aim is to develop a who-votes-for-who network of signed nodes based on the difference in users' reputations.   If anyone knows if this can be achieved with the current data, please let me know! Otherwise, I hope this request can be taken into consideration.  Thanks a lot in advance!


Does advantage negate disadvantage (for things such as the rogue's Sneak Attack)?

In a recent question -  - it was pointed out that you couldn't Sneak Attack an invisible opponent because the rules specifically state that you cannot use Sneak Attack if you have disadvantage on the attack roll. However, it would not be impossible for the rogue to also have advantage on the attack, by virtue of being hidden or invisible himself.   In this context, where a character has both advantage and disadvantage on a single attack/check, the rules mention that the roll is resolved normally: you roll a single d20 and that's it. Does that mean that you are no longer considered advantaged/disadvantaged?  If so, and assuming the presence of an ally within 5 feet of the invisible enemy, it could mean that an invisible rogue could sneak attack an invisible opponent while a visible rogue couldn't. Is that correct? Or are you, in fact, still considered both advantaged and disadvantaged, and thus can't perform a Sneak Attack?  Precision: Sneak Attack is the use case that triggered the question. That being said, there are probably other things that require advantage/disadvantage to be activated, so answers should focus on the relationship between advantage and disadvantage, and not on Sneak Attack necessarily.


could you help me with the following please:  Show that if $U\subset \mathbb{C}$ is a domain and the function $f:U\rightarrow \mathbb{C}$ is holormorphic and bijective, then $f^{-1}$ is also holomorphic.  I have carefully read the definition of a biholormorphic function and it seems to me that it is the same, so I don't know how it can be proved.  The inverse exists because it is bijective ... but any hint on how to prove that the inverse is holomorphic?  I tried to attack it with the inverse function theorem, but they tell me that the result to be proved does not hold for real functions.


Is it possible to run java program without static

When we tried  to run the following program then it successfully runs.  class with {     public static void main(String args[]) {         System.out.println("With static");     } }   but even if we tried to run the following program it did't ran successfully.  class without {     public void main(String args[]) {         System.out.println("With static");     } }   we know becuase in this program we have't use static in main() method. So, we want to ask that the : - is it possible to run java program without static ? if is it possible then how can i do this.


How to select unlinked  urls with RegExp in JavaScript

I have a variable that stores html code for a webpage. The html code may includes a set of urls, some of these urls are linked using the anchor tag  but other may not linked using the tag.  How can I select the unlinked urls to replace them with a linked version.  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna https://www.google.com aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip Duis aute google.com irure dolor in reprehenderit in voluptate velit esse  google.com https://www.google.com


Love message at the end of a document after references with Teddy pictures?

I am trying to write a love message at the end. I tried \hfill\mbox thing but could not get them working as intended, see below and . It requires somehow making background images that go over the document. I would also love to make it so that the last page number is missing to make it more rebellious.  How can I make a love message at the end of document with all references?  In way it would be super awesome if there were beautiful Teddy bears looking here and there over the document, is it possible? Like over marginals randomly over the document?   You can find the Teddy . Goal    So far


Add per-site metas to 'more' menu in iOS app

asked to make per-site metas more accessible, from which, updates were made to make the searching more clear, and allow a user to add them to their sites list.  This still requires manual user input however. Could a link to the per-site metas be added to the remarkably empty looking 'more' menu? I'd see it as fitting quite well alongside a link to your per-site profile.


Find the fundamental group of torus with two points removed

I'm trying to find a fundamental group of  Torus \ {two points}. Any help would be really appreciated.


How memory allocated for"enum" data type, i found that total size of enum data type is 4 bytes(linux) but some people answers is there is no memory allocation, its like 'macros' with a type(int) so please explain how enum all members function stored while accessing and what is data will be there in that 4 bytes.  Thanks


How to ask for another university prof for course materials?

Just surfing the net to find useful resources, came across to the university course page, and course materials were well explained. However, when trying to download them, Unfortunately, there was a canvas page to do the university authorization.  Is it a mistake to ask the instructor for the course contents, despite not being a professor's student? Well, if that is not a problem, Is there any suggestion or recommendation with how speaking and using words or expressions in email text might make it better? Should there be an EDU email or other Email service providers are safe? What if they did not answer? Is it right to keep doing it again?  Any help would be appreciated.


Is whether an operation associative obvious by just looking at the operation table?

Let's say you're given an operation table for a certain operation. If you want to know if it's commutative you just look at the diagonal and see if the table is symmetric around it. Now is there something similar but this time for an associative operation? If not, is there some visualization (like an operation table) by which we can easily see if some operation is associative?


The first time I'm using /schedule but when I try to call a function using schedule from my main function it only works if I schedule it with 1 tick essentially just calling the function. I just tested it in 1.15 and I guess it is intended, but then what is the /schedule command good for? Sure you can make the function call itself, but I want the function to only be active whilst I call it from the other function to make it more optimized. Example: schedule function pack:data/animation 10t doesn't work, but schedule function pack:data/animation 1t and schedule function pack:data/animation 10t replace works.


How to make list entry of many paragraphs?

List item   can be 1 line long only, right?


Dimensions of vector subspaces in a direct sum are additive

$V = U_1\oplus U_2~\oplus~...~ \oplus~ U_n~(\dim V < ∞)$ $\implies \dim V = \dim U_1 + \dim U_2 + ... + \dim U_n.$ [Using the result if $B_i$ is a basis of $U_i$ then $\cup_{i=1}^n B_i$ is a basis of $V$]  Then it suffices to show $U_i\cap U_j-\{0\}=\emptyset$ for $i\ne j.$ If not, let $v\in U_i\cap U_j-\{0\}.$ Then \begin{align*} v=&0\,(\in U_1)+0\,(\in U_2)\,+\ldots+0\,(\in U_{i-1})+v\,(\in U_{i})+0\,(\in U_{i+1})+\ldots\\ & +\,0\,(\in U_j)+\ldots+0\,(\in U_{n})\\ =&0\,(\in U_1)+0\,(\in U_2)+\ldots+0\,(\in U_i)+\ldots+0\,(\in U_{j-1})+\,v(\in U_{j})\\ & +\,0\,(\in U_{j+1})+\ldots+0\,(\in U_{n}). \end{align*} Hence $v$ fails to have a unique linear sum of elements of $U_i's.$ Hence etc ...  Am I right?


Question about global environment variables and fork() & exec()

What I'm trying to understand is where does a child process inherit exported variables from it's parent process    What I'm trying to understand is where a child process inherits exported environment variables from? I understand the exec() system call overwrites environment variable created by the fork()... But how does exec() cause exported environment variables to be included with a newly created child process if all the environment variables are overwritten? My best guess is that exported environment variables are somehow excluded from being overwritten... But I can't confirm this  EDIT I edited my question to be clearer with what I am asking


Why this error occurs "an object reference is required for the nonstatic field"?

I am calling a method through ajax. My ajax is working fine.   But it throws compile time error on my code.  Here is my code  [WebMethod]     public static List<string> getDirectoryNames(string dirLocation)     {         string paths = dirLocation;         List<string> dir = new List<string>();          //string getPat = getPath("");           foreach(var dirr in new DirectoryInfo(Server.MapPath(@paths)).GetDirectories())   //error on this **Server**         {             dir.Add(dirr.Name);         }          return dir;     }   I think I cannot declare Server.MapPath on Static method. So what I have to do?


How can you convert a variable into denary in Python?

I have had problems with converting strings (like inputs) into denary, as a string is a necessary for using hexadecimal (as it can't be stored as an integer because of the characters a-f being included). Here are two attempts that don't work: >>> hex_number = 'ff' #(255 in denary) >>> ascii(0xhex_number) SyntaxError: invalid hexadecimal literal >>> ascii('0x'+hex_number) "'0xff'"  I have also seen that you can use format() somehow, but that didn't work either. >>> format(hex_number, '16') #This was what the demo said to do. 'ff              '  How can I get it so that hex_number (hexadecimal) is converted to denary (aka decimal), or any other n-base number systems?


$PSL(2, 11)$ has non isomorphic Hall subgroups

I was reading Robinson's book "A Course in the Theory of Groups". In section 9.1 (Hall $\pi$-subgroups) it is commented that, in an insoluble group, the Hall $\pi$-subgroups may not be conjugate. As an example, the author says that the simple group $PSL(2, 11)$ has subgroups isomorphic with $D_{12}$ and $A_{4}$, which are non isomorphic Hall {2, 3}-subgroups and therefore not conjugates.   I would like to know why $PSL(2, 11)$ has subgroups isomorphic with $D_{12}$ and $A_{4}$.   I never heard before of the subgroup $PSL$, so I tried reading about it a bit. I found the following link: , which points to "Section II.8 of Huppert's Endliche Gruppen I" book. Unfortunately, I don't know German, so it did not help me.   EDIT: by following the link suggested as an answer (), I found Suzuki's Group Theory(I) book. In the section 3.6 the author find all the subgroups of $PSL(2, q)$. Problem solved, thanks.


Biber gives "I found no \citation commands". Is there a solution ?

Help me, please, to fix the work of biber. When I put in biblatex options backend=biber then during the compilation I get:   This is BibTeX, Version 0.99d (TeX Live 2010) The top-level auxiliary file: test.aux I found no \citation commands---while reading file test.aux I found no \bibdata command---while reading file test.aux I found no \bibstyle command---while reading file test.aux (There were 3 error messages)   I just updated my TexLive 2010 at 23.05.2011 by the command tlmgr update --all Maybe I do something wrong? Please, help.  After correction: code added  \documentclass[12pt]{report}   \usepackage{fontspec} \usepackage[hidelinks]{hyperref}  \usepackage{xunicode} \usepackage[no-sscript]{xltxtra}  \usepackage[babel=false]{csquotes} \usepackage{polyglossia} \setdefaultlanguage{french} \setotherlanguages{german,english,greek,polish,russian} \usepackage[backend=biber,style=verbose-ibid,citepages=suppress,sorting=nty]{biblatex}  \setmainfont[Mapping=tex-text]{Linux Libertine}  \usepackage{setspace} \usepackage{acronym} \usepackage{tocloft}  \usepackage{filecontents}  \begin{filecontents}{fortest.bib}  @Book{Kaluzh, title = {Nowy sobór. Natura, historia przygotowań, tematyka}, author = {Tadeusz Kałużny}, publisher = {wydawnictwo księży Sercanów}, year = {2008}, location = {Krakóv}, }   @Book{AlKarapan, author = {Αλέξανδρος Κ. Καραπαναγοπούλου}, title = {Η Μεγάλη Σ. της ΟΑΕ}, publisher = {Auto-édition}, year = {1990/1998}, volumes = {6}, location = {Αθήνα}, shorthand = {MS-OAE}, }   @Misc{Konst1923, title = {Πρακτικὰ καὶ ἀποφάσεις τοῦ ἐν ΚΠΣ (10 μαΐου--8 ἰουνίου 1923)}, year = {1923}, location = {Κωνσταντινούπολη}, keywords = {primary} }  @Article{Akury, author = {Adolf Küry}, title = {Die Konferenz in Konstantinople}, journal = {Internationale kirchliche Zeitschrift}, year = {1924}, number = {14}, pages = {62--64} }  @Online{Tichon1923enciclic, title = {\textrussian{Послание Патриарха Тихона к православному народу о реформе календаря в РПЦ}}, date = {1923-10-01}, urldate = {2010-10-05}, url = {http://holyrussia.narod.ru/Tykhon_Calendar.html} }  @Article{Echo1932, journal = {Échos d'Orient}, title = {Le préconcile orthodoxe}, author = {J. Lacombe}, number = {31}, year = {1932}, pages = {239-241} }  \end{filecontents}  \addbibresource{conference.bib}   \begin{document} test\footcite[331]{Kaluzh} est\footcite[23--27]{AlKarapan} test\footcite[23--27]{Konst1923} test\footcite[23--27]{Tichon1923enciclic} test\footcite[23--27]{Echo1932} test test  \printbibliography  \end{document}


Is it bad practice to run a web application server directly on port 80/443

I am hosting a web app on , using an ec2 instance.  On that instance i will be running only one application. using glassfish v3.0.1  I do not want to run the app using :   www.mydomain.com:8080 or www.mydomain.com:8181    I just want to use :   www.mydomain.com or https://www.mydomain.com   so i changed the http-listener-1 and http-listener-2 on glassfish to run on ports (respectively) 80 and 443.  Is this considered bad practice? i'm a software engineer and I usually do not deal with server admin stuff thus not too experienced in those things.  thanks for any guidance.


List all the conjugate classes in the dihedral group of order $2n$ and verify the class equation.  The dihedral group is generated by two elements $r$ and $s$.   The order of $r$ is two since $r^2=e$ and $s$ is $n$ since $s^n = e$. And I know all elements can be produced as either $s^k$ or $rs^k$. How can I list all the conjugacy class?


Is it possible to stop certain apps from updating via Google Play?

A friend of mine updated a certain app and I don't like the choices the devs made. I'd rather stay on the current version. I know that I can set Google Play to not update apps automatically.  Thing is, I love being able to press UPDATE ALL to update all my apps with one press. Except for this app...  How can I make sure that this app does not appear in the Google Play updates section anymore?


C++11: Undefined symbols for arcitechture

I'm having a weird problem (at least in my eyes) with C++. I've created a thread pool class, and in the main function I just pushes one element to the task queue. This gives me an error saying "undefined symbols". When the specific line is commented out, the program compiles.  Here is the push method in question:  template<class F, class ...Args> void concurrency::thread_pool::push(F&& f, Args&&... args) {     if (stop) {         throw std::runtime_error("push on stopped thread_pool");     }      std::function<void()> func = std::bind(f, args...);      lockGuard l(mutex);      bool should_wake = queue.empty();      queue.push(func);      if (should_wake) {         cond.notify_one();     } }   And here's the main function:  void hello_world() {     std::cout << "Hello, World!" << std::endl; }  int main() {     pool = new concurrency::thread_pool(5);     pool->push(hello_world); // <-- Compile error! }   This is the command:  david$ g++ -g -Wall -std=c++0x -I ./ *.cpp Undefined symbols for architecture x86_64:   "void concurrency::thread_pool::push<void (&)()>(void (&)())", referenced from:       _main in ccuKcG16.o ld: symbol(s) not found for architecture x86_64 collect2: error: ld returned 1 exit status   And my g++ version:  davids-mbp:cpp-thread-pool david$ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc47/4.7.3/libexec/gcc/x86_64-apple-darwin13.0.2/4.7.3/lto-wrapper Target: x86_64-apple-darwin13.0.2 Configured with: ../configure --build=x86_64-apple-darwin13.0.2 --prefix=/usr/local/Cellar/gcc47 /4.7.3 --enable-languages=c,c++,objc,obj-c++ --program-suffix=-4.7 --with-gmp=/usr/local/opt/gmp4 --with-mpfr=/usr/local/opt/mpfr2 --with-mpc=/usr/local/opt/libmpc08 --with-ppl=/usr/local/opt/ppl011 --with-cloog=/usr/local/opt/cloog-ppl015 --with-system-zlib --enable-version-specific-runtime-libs --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --disable-werror --enable-plugin --disable-nls --disable-multilib Thread model: posix gcc version 4.7.3 (GCC)    Update   thread_pool.hpp:  thread_pool.cpp:


I am using the symbol $\Box$ as a binary operator and would like to create a unary operator symbol starting from that. My goal is to have a symbol that behaves like $\Bigotimes$ compared to $\otimes$, for example.  How can I do that? (I know that I can resize the symbol, for example right now I am using $\mathop{\text{\Huge $\Box$} \text{\normalsize}}$, but this has the disadvantage of not scaling properly in $...$ vs. $$...$$ environments, and it is also not positioned properly in the vertical direction).  Many thanks!


Prove that every prime except for $2$ and $5$ is a factor of some number of the form $111\dots1$

How do we prove that for every prime $p\neq2,5$ there exists a positive integer $n$ such that $(10^n-1)/9$ is divisible by $p$?  BTW, I suspect that it holds not only in base $10$, but also in every other base $b$, for every prime which is not a factor of $b$.  My work so far - not much, except for manually testing the first few numbers of the form $111\dots1$:   $11=11$ $111=3\cdot37$ $1111=11\cdot101$ $11111=41\cdot271$ $111111=3\cdot7\cdot11\cdot13\cdot37$ $1111111=239\cdot4649$ $11111111=11\cdot73\cdot101\cdot137$   Thanks


What criteria are used to rank graduate programs?

I'm only asking this out of curiosity since I've seen posts/discussions about getting into "top" graduate programs etc. This mentally (wanting to get into a "top" ranked program) makes sense (depending on one's priorities) for undergraduate study, since the selectivity is what gives the degree its "prestige."  This may also hold true for law or medical school programs where rankings may reflect the level of training one receives and/or directly affect internship/residency opportunities etc. However, I'm not sure how this would apply to a research degree. For example, in masters or PhD research programs, you're applying to conduct research under the auspices of a specific advisor. Thus, it seems that alignment of research interests and personal compatibility should be prioritized over "rank" of the program. Obviously one still has to meet certain admissions criteria regardless of the program they're applying to, but it doesn't make sense (to me anyway) to rank/judge research oriented graduate programs the way one would an undergraduate or "professional" program (i.e medical or law school etc). Also, will the quality of one's graduate education or future academic career opportunities be affected by the rank of the program? Personally, my main priorities are location combined with compatibility of an advisor. However, I was curious as to what criteria are used to rank graduate programs and why would one prioritize rank of program over other factors.


Cast an anonymous type with same properties to an interface

I am trying to cast anonymous type with the same property to an interface, but it's coming up with an error:  Unable to cast object of type '<>f__AnonymousType104`1[System.Int32]' to type 'IHasFiles'.   public interface IHasFiles  {     int FileMasterId { get; }  }   var entity = new { FileMasterId = fileMasterId }.CastOrDefault<IHasFiles>();  // This is the line where I get the error


Can't login using Firefox 21 Nightly / 19 stable

I am using "Login with Google" and can't access stackoverflow from my account using Firefox. I tested this using 2 versions: At first I tried logging in using Firefox 21 Nightly, then I checked it using the Firefox 19.0.2 stable version (current). It told me that I am logged in with Google and have to refresh the page, so I click at the link and I am logged out. It works well at Chrome, but I would love to have this working with Firefox as well.


I have  (link to multisim) and i am asked to find the transfer function, the max and min value, the cutoff frequency, angle and the type of the filter.   [the actual problem][2]][2]   I have done the calculations and found that the circuit is a low pass filter, and its cutoff frequency is  26842 Hz which is awfully high and therefore i am very worried that i have gotten something wrong. I also found that when w=0 the value for the transfer function = 0.6803 and when w approaches infinity the value for the transfer function =0 and hence i concluded that it was a low pass filter. here is my calculate for the transfer function:   $$H_w=\frac{1}{(((R1+R3)*(j*w*C))+(((R3*R1)/(R2))*(j*w*C))+(R1/R2)+1)}$$  here is how it looks after i plug in the values for the resistors:  $$H_w= \frac{1}{(1.47 + j*w*0.000054562299999999998836925505310975)}$$  j represents the imaginary number. Basically you can see that if w=0 i get 1/1.47= 0.6803  Anyone can varify this is correct for me? and if so any chance that that "anyone" knows how verify that with multisim as i cant read the graph it produce. Please help.  [2]:


how to show my data from database on 1 row

I'm just newbie in PHP. I started learning yesterday.  I have 1 problem to show my data from DB to my test PHP project.  I have data like :  | Class Room | Teacher | Pict | | A1         | ABU     | 1.jpg| | A1         | ABU     | 2.jpg|   before I ask, I did "select * from X group by teacher' and I get data like :  | Class Room | Teacher | Pict | | A1         | ABU     | 1.jpg|   I want this data show on my site like :  | Class Room | Teacher | Pict           | | A1         | ABU     | 1.jpg :: 2.jpg |   so, in this case I got stuck and I just need help to learn.


Disable Chrome extensions at one location only

I've got a laptop and home PC that I have Chrome installed on. There are some extensions that I want to be enabled on my laptop (since I use it more regularly), and disabled on my home computer. If I disable it on the PC, it's disabled on the laptop. Is there a way to make this happen?


Cannot align text and image side by side?

I have added an image and text. Text has 1
 and 2
 tags. I tried using float:left but it does not get displayed side by side.  content.js:

New Launch

JAVA

Foundations

Enroll Now

Neural Newtwork

Foundations

   css:  .cardcontent{     float: left; }  .card1 {     width: 100%; }  .card1 > h6 {     margin: 0px; }   I want to display New Launch JAVA Foundations on right of image similarly for card2 but current css does not work I tried few css styling but does not work.  Screenshot:


Proof help: Prove that $x^2+y^2+z^2 \geq xy+xz+yz$

$x^2+y^2+z^2 \geq xy+xz+yz $ for all real numbers, x, y, and z.  I'm not very good with working inequality proofs. Can someone help me prove this? The technique doesn't really matter.


Classical field limit of the electron quantum field

To recover classical electromagnetic fields from the quantum electromagnetic field, we consider coherent states of the form $$\exp \left(\int d\vec{r}\, \vec{A}(\vec{r}) \vec{a}^\dagger(\vec{r}) \right) |0\rangle$$ as described in . This state corresponds to a classical EM field with the vector potential $\vec{A}(\vec{r})$, containing an indeterminate number of photons.  I'm confused about how this works for spin 1/2 fields such as the electron. For some reason, the classical limit of the electron quantum field that we care about is a particle, not a field, so it looks like this procedure does not apply. Even if we did it, I have no idea what a "classical electron field" would look like, since we never talk about such a thing.   If I apply the procedure anyway, to get 'electron coherent states', what is the interpretation of these states? They have indeterminate electron number, which is strange. What's the resulting classical electron field like? How can we recover quantum electron particles from the quantum electron field?


Prove that $\lim_{h\to0}\frac 1{he^{\frac 1{h^2}}}=0$

I would like to prove that $$\displaystyle\lim_{h\to0}\frac 1{he^{\frac 1{h^2}}}=0.$$  But L'Hopital's Rule doesn't seem to help, nor does the Sandwich Theorem. Any suggestions?


audio drivers are incorrect would like to restore to 'factory' settings

My mic stopped working recently. Trying to fix it made things worse. now I don't have audio. would like to at least go back to where the audio works. Here's my lspci -v  00:1f.3 Audio device: Intel Corporation Device 9dc8 (rev 11) (prog-if 80)     Subsystem: Lenovo Device 2292     Flags: bus master, fast devsel, latency 64, IRQ 16     Memory at ea23c000 (64-bit, non-prefetchable) [size=16K]     Memory at ea000000 (64-bit, non-prefetchable) [size=1M]     Capabilities: <access denied>     Kernel driver in use: snd_soc_skl     Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev   originally I didn't have the snd_soc_skl nor the sof_pci_dev  how do I remove those drivers? and use the snd_hda_intel?


Dollar cost averaging with a bonus start sum

I'm going to do some old school value investing, holding  around ten stocks.  Other than investing say 2k every month, I also have around 100k in savings. I'm contemplating investing these alongside my 2k, say over the next 3 to 5 years.   I don't want to take too much risk in regard to market timings. Any thoughts on the period for investing the additional sum?


From exp (coefficients) to Odds Ratio and their interpretation in Logistic Regression with factors

I ran a linear regression of acceptance into college against SAT scores and family / ethnic background. The data are fictional. This is a follow-up on a prior question, already answered. The question focuses in the gathering and interpretation of odds ratios when leaving the SAT scores aside for simplicity.   The variables are Accepted (0 or 1) and Background ("red" or "blue"). I set up the data so that people of "red" background were more likely to get in:  fit <- glm(Accepted~Background, data=dat, family="binomial") exp(cbind(Odds_Ratio_RedvBlue=coef(fit), confint(fit)))                          Odds_Ratio_RedvBlue             2.5 %       97.5 % (Intercept)             0.7088608                     0.5553459   0.9017961 Backgroundred           2.4480042                     1.7397640   3.4595454   Questions:   Is 0.7 the odd ratio of a person of "blue" background being accepted? I'm asking this because I also get 0.7 for "Backgroundblue" if instead I run the following code:  fit <- glm(Accepted~Background-1, data=dat, family="binomial") exp(cbind(OR=coef(fit), confint(fit)))  Shouldn't the odds ratio of "red" being accepted ($\rm Accepted/Red:Accepted/Blue$) just the reciprocal: ($\rm OddsBlue = 1 / OddsRed$)?


Is it possible to use Ajax to do file upload?

I don't want to use jQuery, but I'd like to use Ajax to do file uploading. Is that possible?  If so, where can I find information/tutorial on it?


What's in the box at the end of "Wonder"?

At the end of Wonder, August's parents are eating together, drinking a bit, etc.  During the course of the meal, his father gives his mother something in a box. She peeks inside and says that she'll use it later.  I didn't quite catch what it was, though - what was inside the box? Do we know?


I am trying to find all of the files that are named, in the directory that I have chosen. The code that I have works when I do something like C:\Program Files, or C:\Users. But when I do c:/ I get stuck in the recycle bin and get a java.lang.NullPointerException and stops at c:\$Recycle.Bin\S-1-5-21-1478355014-127360780-1969717230-1002144.  public void DirectorySerch(String target, String dirName){     File f = new File(dirName); System.out.println("H");     if(!f.isDirectory()){         throw new IllegalArgumentException("that is not a valid directory");     }     for(File folderItem : f.listFiles()){         if(folderItem.isDirectory()){             System.out.println(folderItem.getAbsolutePath());             if(!folderItem.equals("")){                 DirectorySerch(target,folderItem.getPath());             }             // Return the result if it is not empty             /*  if (!result.equals(folderItem.getName())){             files[filesFounfd] = folderItem.getAbsolutePath();             filesFounfd++;             }*/         }else{             if(folderItem.getName().equals(target)){                 files[filesFounfd] = folderItem.getAbsolutePath();                 System.out.println(folderItem.getAbsolutePath());                 filesFounfd++;             }         }             } }   What can I do to not get this issue as it works in cases when it does not have to deal with the recycle bin?


Current flows without any potential difference

why current if flowing if there is no potential difference. if no potential difference then no work is being done on charge so there should be no net displacement of charge but we know that the current flows. current also flows from higher potential to lower potential but across two ends potential is same(potential difference zero) so no current should flow.


Why does this function affect a non-global variable outside of its scope in JS?

I have the following code:  function control_function() {     let data = { inputs: [ 'one', 'two'] };     level_one(data);     console.log(data); } control_function();  function level_one(data) {     data.inputs.shift(); }   And you can see I'm outputting data, it should give me ['one', 'two'] back, instead it gives me ['two'], meaning that the function level_one has, for some reason, affected data that it shouldn't have access to (to write, it has access to it to read, since I'm passing it to the function). I'm signaling to JS that this let data is only to be used within the control_function scope and is not to be affected by other functions.  In PHP, this doesn't happen and it makes sense for it not to happen, yet it happens here, which means there's some underlying basic concept I don't understand. What am I doing wrong?


Has a bankai ever been silently activated?

To activate a Bankai or its ability, is the user required to perform some verbal command activation?   For example, Ichigo often yells     Bankai: Tensa Zangetsu   However, I'm pretty sure that I've read some silent activations, but I can't remember for sure.  So has a Bankai ever been activated without a vocal command?   Note that this is not a duplicate of , as that question asks whether it is possible. And this question asks if a silent activation has ever happened in the series.


I am trying to make a JK flip-flop in ActiveHDL environment. I want to make it with logic gates.  It should look like this:     This is my code:  --nand3.vhd library ieee; use ieee.std_logic_1164.all;  entity nand3 is      port(     A,B,C: in std_logic;     D: out std_logic     ); end entity;  architecture nand3 of nand3 is  begin     D <= not(A and B and C); end architecture;     --nand2.vhd library ieee; use ieee.std_logic_1164.all;  entity nand2 is      port(     A,B: in std_logic;     C: out std_logic     ); end entity;  architecture nand2 of nand2 is  begin     C <= not (A and B); end architecture;     --JK.vhd library ieee; use ieee.std_logic_1164.all;  entity JK is      port(     J,K: in std_logic;     Q, NQ: out std_logic;     CLK: in std_logic     ); end entity;  architecture JK of JK is component nand3      port(     A,B,C: in std_logic;     D: out std_logic     ); end component;  component nand2     port(     A,B: in std_logic;     C: out std_logic     ); end component;    signal s1, s2: std_logic;  begin     C11: nand3 port map(NQ,J,CLK,S1);     C12: nand3 port map(Q,K,CLK,S2);     C21: nand2 port map(S1,NQ,Q);     C22: nand2 port map(S2,Q,NQ); end architecture;   The problem is that i am getting this error when I compile JK.vhd file:  # Error: COMP96_0411: JK.vhd : (31, 22): Actual of mode "out" can not be assigned to formal "A" of mode "in" # Error: COMP96_0411: JK.vhd : (32, 22): Actual of mode "out" can not be assigned to formal "A" of mode "in" # Error: COMP96_0411: JK.vhd : (33, 25): Actual of mode "out" can not be assigned to formal "B" of mode "in" # Error: COMP96_0411: JK.vhd : (34, 25): Actual of mode "out" can not be assigned to formal "B" of mode "in"   I think the problem is the backward signals.


Trying to upload pubic SSH key to MC returns bad header error

I have created a key/pair using Terminal in my Mac using the ssh-keygen -t rsa command. I have tried uploading the .pub file to Marketing Cloud but it complains about a "bad header or footer". Does anyone know how I can resolve this? I have tried with and without a passphrase.


Let $A$ be a diagonalizable matrix and $\lambda$ be an eigenvalue of A. Prove that rank($\lambda I - A$) = rank(($\lambda I - A)^2$).  The hint they provided is that for any invertible matrix B, rank(AB) = rank (A) and rank(BA) = rank(A).


CSS stylesheet: style for one button specifically

this is my HTML code:  <button name='q1.button1' id='q1.button1' onclick='incorrect()' </button>   and this is my CSS file:  .q1.button1 {   width: 500px;   height: 250px;   background-image: url('images/buttons/q1.button1.jpg'); }    i also tried:  #q1.button1 {   width: 500px;   height: 250px;   background-image: url('images/buttons/q1.button1.jpg'); }    but none of them work, the button is just a big white box!  i thought there could be a problem with the HTML so I tried the following and it worked:  Button {   width: 500px;   height: 250px;   background-image: url('images/buttons/q1.button1.jpg'); }    however, i cant use this because each button has to be different but this will change all buttons


The Impossibility ( or Possibility) of Solving $N$-Body Problem

One can obtain the solution to a $2$-Body problem analytically. However, I understand that obtaining a general solution to a  is impossible.  Is there a proof somewhere that shows this possibility/impossibility?  Edit: I am looking to prove or disprove the below statement:     there exists a power series that that   solve this problem, for all the terms   in the series and the summation of the   series must converge.


I`ve a problem with some apps. Every letter apears just like square. First I discovered it when I want to save or print somethink in Opera the window that apears after ctrl + s contains just squares.


SQL Server 2016: Temporal table performance vs. Triggers and CDC

It seems to be quite difficult to find comparisons between system-versioned temporal tables and the older options, such as DB triggers and CDC. I currently don't have the time to write an extended test on SQL Server 2016, so I thought I'd ask about it here.  Basically, the typical advantage with triggers is that they are easier to manage in stand-alone and clustered / alwaysOn environments, are real-time for being synchronized, and have access to session data such as the user ID.  CDC on the other hand while requiring a bit more management and being asynchronous, is much lighter, and thus performs far better. So if there's any doubt at all that the bottle necking caused by triggers could become a problem, CDC will basically be the superior solution. In terms hardware requirements, there's a negligible extra space requirement by CDC due to using logs and cdc audit tables for tracking the changes.  The question: How do temporal tables compare to the two above? In terms of speed, performance, storage space usage. WHEN should I use temporal tables instead of triggers or CDC? When should I not?  I understand anything as potentially complex as the business requirements and technical limitations behind DB auditing isn't going to have one easy answer, as it depends largely on the requirements and scope of the project. But anything to shed more light on the questions above would be appreciated. Thanks!


Is the order of member initializers in an object initializer deterministic?

I recently came across code in an application that does the equivalent of this:  var source = new List<string>(); source.AddRange(getSomeListData());  var index = source.Count > 10 ? source.Count - 10 : 0; var target = new TargetObject {     Line1 = source.Count > index ? source[index++] : string.Empty,     Line2 = source.Count > index ? source[index++] : string.Empty,     Line3 = source.Count > index ? source[index++] : string.Empty,     Line4 = source.Count > index ? source[index++] : string.Empty,     .     .     . }   The goal here is to include the last 10 items from the source data in the output object (in our case, the last line is crucial). But we don't know how many lines of data will be present -- it could be as few as 1.  This code works, at the moment, because VS2013 is running the member initializers in source-code order, so the side-effect of each index++ happens in the correct order. However, I read through the C# 5 specification and I cannot find any guarantee that this will always be true. Is the order in which these members are initialized deterministic, or is the above code subject to breaking in some future version of VS and/or other C# compilers?  (I have an opportunity to change it now, if there's a risk, but I don't want to change the code just for the sake of change.)


Is there a way to empty SkyDrive/OneDrive without deleting the files in the cloud.  I'm running Windows 8.1 and would like to revert all of the files to "online-only" mode except that the function doesn't work. I'd like to completely restart the sync process but not lose any files.


Confusion in understanding control system?

I am learning basics of control systems from following link    It says that automatic washing machine & traffic signal system are example of open loop system. It does not gives detail why??  Despite the fact that "automatic" appears before washing machine  Also please kindly find attached photo of a common door closer.  What type of control system is being used by it?open loop or close loop?


Is Carnot cycle the only "most efficient" cycle?

In all the books, that I have studied so far, they say that Carnot cycle is the most efficient cycle. But why isn't any other reversible process as efficient as Carnot cycle? Can somebody please provide mathematical explanation for why that is or isn't the case?


For some reason I am getting an unresolved reference 'i' error here in python 3.9.x How can I amend my code to get it to run without error?  for card in range(len(cards)):     card = cards[i]     print(f"{i+1} - {card}")  # get choice choice = get_int_input(1, len(cards)) # get card return cards[choice-1] if choice else None  '''


Is UK transit visa required for a permanent resident in Schengen?

I have a permanent residence card from a Schengen country. Do I need any visa to arrive at Heathrow and transit to a SAS flight? From the rules I read at gov.uk, there is a line in exceptions saying:  "a common format residence permit issued by an European Economic Area (EEA) country or Switzerland"  The wording confuses me a bit. So asking to double check. Thanks


What does "Temporary failure in name resolution" acctually mean?

Have read quite a lot of questions about this problem, but everyone just explain how to solve it (which do not work for me) and none what I have found actually explain what the reason for it is. Personally I get this problem with my home network All The Time! Literally about 20 times a day and every time it happens it can last up to 3 months if I am unlucky. My ISP say that it is a problem with my router, I have 2 routers now. One ASUS and one Linksys, the ASUS have default firmware and the Linksys have dd-wrt. I run 2 arch linux PCs and one Android smart phone. All devices get the same problem when it occurs. At the moment I use the Asus one because the Linksys never recovered while ASUS have internet access for about 5 min before loosing connection for about 10 min. Have borrowed a friends router and it is the same problem with that one. I can with all of them setup a LAN without any problem. Is this a problem on my end or over at my ISP? I would really appreciate an answer for this because when I call them they say that I am doing something wrong and are responsible for it, but I honestly think they are to blame. When the internet goes down compleatly I can still share the wifi from my phone and it works, so do not believe I have miss configured the wifi on my PC's.


How to uninstall Windows and install Ubuntu instead?

I want to uninstall Windows and install Ubuntu on my laptop. For now I have Windows 7 Professional and the version of Ubuntu that I want is Ubuntu 13.04. My question is:     What should I do to uninstall Windows 7 and install Ubuntu 13.04 on my laptop?   Thanks.


This is a (maybe be simple) problem from Group Theory, but being a beginner, I am unable to take even a first step forward.  Let $G$ be a finite group whose order is not divisible by $3$.Suppose that $(ab)^3=a^3b^3\ \ $ $\forall\  \ a,b\in G$. I am to prove that $G$ must be an abelian group.  Please help.


Find the sum of:  i)$\displaystyle\sum_{k=0}^{n} k^2$ $\left(\begin{array}{c} n\\k\end{array}\right)$   ii) $\displaystyle\sum_{k=1}^{n} \frac{2k+5}{k+1}$$\left(\begin{array}{c} n\\k\end{array}\right)$    Thoughts:  i)(After the Edit)$\displaystyle\sum_{k=0}^{n} k^2$ $\left(\begin{array}{c} n\\k\end{array}\right)$ = $\displaystyle\sum_{k=0}^{n} {k(k-1)}$ $\left(\begin{array}{c} n\\k\end{array}\right)$ + $\displaystyle\sum_{k=0}^{n}{k}$ $\left(\begin{array}{c} n\\k\end{array}\right)$= $\displaystyle\sum_{k=0}^{n} {n(k-1)}$ $\left(\begin{array}{c} n-1\\k-1\end{array}\right)$ + $\displaystyle\sum_{k=0}^{n}{n}$ $\left(\begin{array}{c} n-1\\k-1\end{array}\right)$= $\displaystyle\sum_{k=0}^{n} {n(n-1)}$ $\left(\begin{array}{c} n-2\\k-2\end{array}\right)$ + n$\displaystyle\sum_{k=0}^{n}$ $\left(\begin{array}{c} n-1\\k-1\end{array}\right)$= $n(n-1)2^{n-2}+n2^{n-1}$=$n2^{n-2}(2+n-1)$=$n(n+1)2^{n-2}$  ii)(After the Edit)$\displaystyle\sum_{k=1}^{n} \frac{2k+5}{k+1}$$\left(\begin{array}{c} n\\k\end{array}\right)$= $\displaystyle\sum_{k=1}^{n} \frac{(2k+2)+3}{k+1}$$\left(\begin{array}{c} n\\k\end{array}\right)$= 2$\displaystyle\sum_{k=1}^{n}$$\left(\begin{array}{c} n\\k\end{array}\right)$ + 3$\displaystyle\sum_{k=1}^{n} \frac{1}{k+1}$$\left(\begin{array}{c} n\\k\end{array}\right)$=  $2^{n+1}-2$+ $\frac{3}{n+1}$$\displaystyle\sum_{k=1}^{n} \frac{n+1}{k+1}$$\left(\begin{array}{c} n\\k\end{array}\right)$= $2^{n+1}-2$+ $\frac{3}{n+1}$$\displaystyle\sum_{k=1}^{n}$$\left(\begin{array}{c} n+1\\k+1\end{array}\right)$= $2^{n+1}-2+\frac{3}{n+1}(2^{n+1}-1)$


How to allocate by malloc and print arrays of characters?

I need to allocate arrays of chars by malloc() and then print them.  #include <stdio.h> #include <string.h> #include <stdlib.h>   int main (void){     int i, n, l;     char **p;     char bufor[100];     printf("Number of strings: ");     scanf("%d", &n);     p=(char**)malloc(n*sizeof(char*));     getchar();     for (i=0; i<n; ++i){         printf("Enter %d. string: ", i+1);         fgets(bufor, 100, stdin);         l=strlen(bufor)+1;         *p=(char*)malloc(l*sizeof(char));         strcpy(*p, bufor);     }     for (i=0; i<n; ++i){         printf("%d. string is: %s", i+1, *(p+i));     }      return 0; }   I have a problem with printing those strings. I don't know how to get them.


How can I show these two metrics give the same topology?

This question came up while showing the composition of a metric with a certain other  function gives another metric. Suppose I have some metric space $(X,d)$ and a  continuous, non-decreasing function $f$ on the nonnegative reals. Moreover, suppose  that $f(x)=0$ iff $x=0$, and $f$ also satisfies the triangle inequality in that $f (x+y)\leq f(x)+f(y)$.   Using these properties, it is not difficult to show that $f\circ d$ is yet another  metric on $X$, so $(X,f\circ d)$ is also a metric space.   I notice the (open) balls given by the metrics are of form  $$ B_d(x,r)=\{y\in X\mid d(x,y)\lt r\} $$ and  $$ B_{f\circ d}(x,r)=\{y\in X\mid (f\circ d)(x,y)\lt r\}, $$  so it seems that the topologies generated by the base of open balls in each case  would probably be the same. I would like to see how one would go about showing the topologies given by these two metrics are indeed the same. Thanks for any insight.


Answers to other questions here (e.g. ) show capacitors used to drop AC voltages to levels suitable for a LED. I've seen much simpler circuits such as the one below         – Schematic created using   Assuming it's in a suitable enclosure, are there significant drawbacks or dangers to this circuit compared to others?


Attempt to invoke virtual method 'void android.widget.RadioButton.setTypeface(android.graphics.Typeface)' on a null object reference

I am implementing radio group. When i try to run the app, i get this error  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.RadioGroup.setOnCheckedChangeListener(android.widget.RadioGroup$OnCheckedChangeListener)' on a null object reference.  radio_group_your_choice = (RadioGroup) findViewById(R.id.radio_group_your_choice);         male_radioButton = (RadioButton) findViewById(R.id.male_radioButton);         female_radioButton = (RadioButton) findViewById(R.id.female_radioButton);          radio_group_your_choice.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener() {             @Override             public void onCheckedChanged(RadioGroup group, int checkedId)             {                 RadioButton radioButton = (RadioButton) findViewById(checkedId);                 gender = radioButton.getText().toString();             }         });  <RelativeLayout                 android:layout_width="fill_parent"                 android:layout_height="wrap_content"                 android:layout_marginTop="0dp"                 android:layout_marginBottom="15dp">                  <RadioGroup                     android:id="@+id/radio_group_your_choices"                     android:layout_width="fill_parent"                     android:layout_height="wrap_content"                     android:orientation="horizontal">                      <RadioButton                         android:id="@+id/delivery_radioButton"                         android:layout_width="wrap_content"                         android:layout_height="wrap_content"                         android:text="Pick Up"                         android:textColor="@color/dark_grey"/>                      <RadioButton                         android:id="@+id/pickup_radioButton"                         android:layout_width="wrap_content"                         android:layout_height="wrap_content"                         android:layout_marginLeft="20dp"                         android:layout_marginStart="20dp"                         android:text="Delivery"                         android:textColor="@color/dark_grey"/>                   </RadioGroup>              </RelativeLayout>


Cannot access local webpage (error: could not resolve host)

This is exactly what I have set up right now:   cd /var/www mkdir -p test cd /var/www/test sudo nano index.html cd /etc/apache2/sites-available sudo nano test.conf   <VirtualHost *:80>     ServerName localhost223.com     DocumentRoot /var/www/test </VirtualHost>    $sudo a2ensite test.conf $sudo service apache2 reload   I can access my page like this:file:///var/www/test/index.html in web browser.  <html>     <h1>          here     </h1> </html>   But I cannot do access: http://localhost223.com  I get the error: Could not resolve host  How to resolve this issue?


Practice problem for exam:     Let ${A_n}$ satisfy $\sum\limits_{n=1}^\infty P(A_n \cap A^c_{n+1}) < \infty$ and $\lim\limits_{n\to \infty} P(A_n) = 0$.  Show that $P(\lim \sup A_n) = 0$.    I can see that it is sufficient to show that $P\left(\sum\limits_{n=1}^\infty A_n\right) < \infty$ and then apply the Borel-Cantelli lemma, but I am having trouble showing this from the information given.  I see an almost identical problem here: , however the hint there is not enough for me to make headway, and this problem is also different in which term gets the complement inside the first sum.


This keeps coming up on my phone and I have done factory resets thrice already. My phone is only 3 months old, please help me get rid of this and it seems to infect other phones as well.  I think it was this URL:    http://androidmax.mobi/service.customermarket.5206/hwo3ng/back.php?brd=HTC&mod=One%20M9&brw=Chrome%20Mobile&ts=tfx03&var1=68cd67c2-563d-4b02&var2=55b77b9d2a2c4a382546679e&var3=&cs=zno1&voluumdata=vid..00000003-fee6-4323-8000-000000000000__vpid..7b2dc800-430a-11e5-8cee-c3f8afba77aa__caid..d27753a5-480e-4bf9-8fef-29072ffa67a5__rt..R__lid..6056fb29-a6f1-4b3b-82ff-56f1f82adadc__oid1..e43f1ba3-2cda-4f7b-94f8-176b5506c3a3__oid2..10897965-279f-4048-b4e9-d5cec6dc0941__oid3..85de288c-6197-4636-bea1-0dc212cab827__var1..68cd67c2-563d-4b02__var2..55b77b9d2a2c4a382546679e__var8..55599084af7e637526681985__var9..3510__var10..nativeButton__rd..&imp_id=68cd67c2-563d-4b02&app_id=55b77b9d2a2c4a382546679e&idfa=&mac_address=&android_id=&mobile_id=&campaign_id=55599084af7e637526681985&bid=3510&creative_size=nativeButton


How do I extract with tar to a different directory?

This doesn't work:  tar xf /tmp/foo.tar.gz foo/bar tar: foo/bar: Not found in archive   It's not obvious to me what would do this beyond extracting it in place and moving the files over.


$\sum_{k=1}^{\infty}|a_kb_k| < \infty$ $\forall \sum_{k=1}^\infty|a_k|$ convergent. Prove $\{b_k\}_{k=1}^\infty$ is bounded. For continuous functions?

So our Analysis teacher has given us this homework:  Let $B=\{b_k\}_{k=1}^\infty $ be a sequence of real numbers. Prove that the following are equivalent: a) The sequence is bounded (i.e., $B\in \ell^\infty(\mathbb N))$. b) For every sequence $A =\{a_k\}_{k=1}^\infty \in \ell^1(\mathbb N)$ (i.e., $\sum_{k=1}^{\infty}|a_k|$ convergent) we have $A\cdot B=\{a_kb_k\}_{k=1}^\infty \in \ell^1(\mathbb N)$  And one can easily do the "$ a)\implies b) $" but the backwards implication is the one I'm trying to figure out. Our teacher insists on proving it by contradiction i.e.: Assuming $B\notin \ell^\infty(\mathbb N)$ ($B$ not bounded) then there exists $A \in \ell^1(\mathbb N)$ so that $A\cdot B \notin \ell^1(\mathbb N)$. I imagine such an A sequence is constructed from the B values using that it's unbounded, but no matter how many I try I can't find a general way of constructing A. In addition the second part of the exercise is proving an 'equivalent' result but for continuous functions and I have the same issue...any idea?  Let $g $ be a Lebesgue measurable function defined on $\mathbb R$. Prove that the following are equivalent: a) The function is bounded (i.e., $g\in L^\infty(\mathbb R)$. b) For every function $f \in L^1(\mathbb R)$ we have $f(x) g(x)\in L^1(\mathbb R)$  Anyways thank you very much!!


Lots of trouble with Broadcom Network Adapter - Ubuntu 16.04

Edited to clarify the issue: New install of Ubuntu 16.04, and I recognized the wireless network option never showed up. Clicking on the Networking icon at the top, I'm given a greyed-out line saying "No network devices available". According to Pilot6 below, the drivers have been installed properly, so I can't say exactly what the real problem is.  Under my first assumption that the driver installation was the problem, I did a lot of searching around, mostly returning to this forum specifically, trying to find an answer. Most of what I've been doing has been trying to follow this:   So far, no luck. I followed the top answer, to the best of my abilities, and nothing seems to have worked. So I ran the install again, this time tethered to an internet connection. Next, I found a Linux driver on the Broadcom website; after some searching around to figure out how to properly use a tarbell, I've been continually returned an error following any make commands.  I'm not sure where to go next, or even what information to supply here. I'm a new user with little understanding of what exactly I'm doing, so patience is appreciated. Working between two computers, to prevent burning through data, but I will do my best to edit in any requested information as quickly as possible.  It is entirely possible that I've simply completely missed something basic. Here's what I've gathered that seems relevant or important:  lspci gives me: 01:00.0 Network controller: Broadcom COrporation BCM 43142 802.11b/g/n (rev 01)  Using lspci -nn -d 14e4: I gather the PCI ID is [14e4:4365] (rev 01)  rfkill list all only gives me information on the Bluetooth connection, which isn't blocked.  UEFI boot mode was brought up during installation, turned off Safe Boot.  Nothing else has been run during this install, except the attempt at installing the driver directly out of the tarbell that Broadcom offered.  Thank you in advance, any help or advice is greatly appreciated.    Edits: Output of lspci -knn | grep Net -A3:              01:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)                 Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:2230]                 Kernel modules: wl   /etc/network/interfaces text file contains the following:              # interfaces(5) file used by ifup(8) and ifdown(8)             auto lo             iface lo inet loopback


Cloning SSD with dd But Clone Does Not Boot

At my job we have always used dd to make clones of our master OS image, but recently we have updated from Ubuntu 12.04 to 14.04. We made an image of it and created a news SSD with it.  sudo dd if=/dev/masterSSD of=/dev/newSSD bs=4096   When we place the new SSD into a computer other than the one the master was originally installed on it won't boot. However, when we place the new SSD into the computer that the master was originally installed on it boots.


$p$ and $q$ are primes. Prove $\forall n,k\in \mathbb N, (p^n\mid q^k⇒p=q)$

I'm having trouble answering this question, can anyone help explain a full solution of this problem? I will be very grateful. Thanks!


kernel of homomorphism $\mathbb{C}[x,y] \to \mathbb{C}[t]$ but in general case

Let $f:\mathbb{C}[x,y] \to \mathbb{C}[t]$ be a homomorphism that is identity on $\mathbb{C}$ and sends $x\to x(t),y \to y(t)$ and such that $x(t),y(t)$ aren't both constant. Prove $\ker(f)$ is a principal ideal.


Sublime text regex - remove text in parenthesizes

I am having list on telephone numbers in my js file, and some of them have in parenthesizes translations that I don't need:  Azerbaijan (Azərbaycan)    I wont to find regex in sublime to do that, but I cannot find the right command. I have tried:  ((.))  ((*))  \(.*)\  \(.*\)   But I aways remove something different ... If someone know the solution, please help.


A normed space of continuous functions with norm $\int_{0}^{1}|f(t)|dt$ is not complete

Suppose $E$ is a normed space of all continuous functions on $[0,1]$ with norm $\int_{0}^{1}|f(t)|dt$. Prove that $E$ is not complete   I know that we must do is to find a Cauchy sequence of continous functions that doesn't converge in $E$, but I can't find that sequence. Can any one help me? Thanks.


Should VMware Tools always be installed in headless Linux guests?

We have a deployment with what I would call an Enterprise Cloud Provider. It's VMWare Infrastructure 3.5.x and includes VMotion / VMWare HA instances, etc.  At Provider 1 VMWare Tools was installed:   vmware-guestd is running and; at least two kernel modules are loaded, vmmemctl & vmhgfs   Provider 1 does nightly VM Snapshots.  We are beginning a new deployment at Provider 2 (also an Enterprise Cloud Provider). They did not install VMWare Tools. Provider 2 does not do nightly VM Snapshots but rather file-system backups (using an agent).  From my reading it seems like at the very least VMWare Tools should be installed for the Memory Balloon Driver (vmmemctl) and from reading sources like  it suggests that certain VirtualCenter management operations also depend upon VMWare Tools being installed in the Linux guest.  Note that all of our instances are headless (default runlevel is 3) and RHEL.  It is hard to find authoritative information on this question and the aforementioned source is somewhat dated.  Can someone shed some light on this? What are the factors/criteria that would lead to an answer in the affirmative or negative?  TIA  Cheers


How to add two BigIntegers with out getting a null pointer exception

import java.math.BigInteger;  public class PascalsTriangle {      public int row = 0;     public BigInteger[][] pascal = new BigInteger[ (int) (row +1)][];      public PascalsTriangle(int dimension) {         row = dimension + 2;         pascal  = new BigInteger[row +1][];         pascal[1] = new BigInteger[1 + 2];         pascal[1][1] = new BigInteger("1");          for (int i = 2; i <= row; i++) {             pascal[i] = new BigInteger[i + 2];              for (int j = 1; j < pascal[i].length - 1; j++) {                 pascal[i][j] = pascal[i - 1][j - 1].add(pascal[i-1][j]) ;             }         }     }      public BigInteger getface(int row, int column) {         return pascal[row][column];      } }   I was trying to print a pascals triangle but the integer requirement for me is very high, i.e more than the max value of long, so I used BigInteger.  But I'm getting a NullPointerException at the part where I add BigIntegers in the class PascalsTriangle.  Is this the right way to add a 2 dimensional BigInteger array?


Dynamically resize VisualForce section in page layout

We have a page layout for a custom object and want to put a Visualforce page as a section in it. However, the height of the content varies, and when I drop the section in, there is a large white space if the content does not fill. How do I deal with this (the part with the big red 'X' through it)?


Skyrim - Companions attacked me for no reason?

So, I was using Eorland Gray-Manes forge without causing any harm and all of a sudden I see loads of red dots on my map and it was the Companions and then even Eorland started attacking me. The Guards didn't do anything but cheered: "A Fight!" I even saw Vignar Gray-Mane attack me too. I have a bounty but it wasn't in Whiterun.


Has the speed of gravity been measured experimentally? How?

In Newtonian physics, changes in gravity propagate instantly. In general and special relativity, gravity propagates at the speed of light, $c$. From reading answers to questions about gravity on this site, the consensus seems to be that the real world fits the relativity answer, $c$.  Numerous experiments have measured the speed of light in various media with increasing precision. Have there been any experimental measurements of the speed of gravity with generally accepted results?  If so, how did they work? Or if not, how might such a measurement be performed and why hasn't it been done yet?


Do I need a UK visa (indian citizen with valid US and Schengen visa)?

I have a round trip flight from the US to London. My plans changed and now I'll be flying out from London to the Schengen Area (Barcelona). My flight from US arrives at LHR (terminal 3). I have a separate booking of a flight from LHR to Barcelona ( departing from either terminal 3 or 5). My flight to Barcelona departs on the same day as I arrive. Similarly, on the way back from Barcelona, I fly in to LHR and same day depart out to the US from LHR.  My worry is my flight to/from Barcelona fro/tom LHR is not on the same ticket as my round trip flight from the US to LHR. I have a valid schengen visa and a US visa, and I'm an Indian citizen.  Do I need a UK transit visa? Will I have to cross the immigration border in this case? Say if I have to change terminals to get to my other flight? I do not plan to check in bags.


Using javascript to scroll a web page to a given position

In a javascript web app I am displaying a rather long table, filled with data coming from firebase, with code like the following. ̧  const dbReference = firebase.database().ref('MyCollection').child('CHD')    dbReference.on('value', function(list) {     list.forEach(function(item) {       itemR = document.createElement('tr'),       itemD = document.createElement('td'),       .... useful code laying out the item inside the table ....     }   }  It works as expected and I end up with my list of items in a table. But I need something more. How can I make the window scroll automatically to a given position. For instance, to have the 157th item in the list to show at the top of the window. I have already searched the net and found some scroll functions that I tried, but with no success.


Understanding complete separation for logistic regression

Why does logistic regression not converge for a linearly separable data set?   For linear separable data sets the model parameters go to infinity when mimizing the error function (according to Bishop2006, Pattern recognition and machine learning, section 4.3.2). I don't understand why. It must be connected to setting the score function, i.e. the derivative of the error function, to zero.  The error function is given by $E(\mathbf{w})$ as shown in the figure below. Where $\mathbf{t}$ is the target variable vector of the training set and $\mathbf{w}$ the parameter / coefficient vector. The posterior probabiltiy for class 1 is given by  $$y(n) = p(C_1|\mathbf{x}_n) = \sigma(\mathbf{w}'\mathbf{x}_n).$$ Where sigma is the logistic sigmoid function and $\mathbf{x}_n$ is the feature vector for instance $n$ including the predictors.     My second question to logistic regression is if the to posterior probabilities $p(C_1|\mathbf{x}_n)$ and $p(C_2|\mathbf{x}_n)$ sum to one?


Prevent particular website pages from appearing in Google search [phone]

How do I prevent links to a particular website from showing in search results on chrome, on my mobile?  For example I want to see a video of maybe cows dancing  But I don't want to see any links related to dailymotion.com.  Is there any way I can filter those results out?  (If this doesn't belong here, please leave a comment as to where I can ask this. I feel this could be helpful for others too so I asked it here)


What stops other benders from mastering the four elements?

In the Avatar universe, what is it that stops other people physically or spiritually, besides the Avatar, from mastering the four elements?


Can the Oath of Vengeance paladin cast Vow of Enmity on invisible target

I was reading the Channel Divinity abilities of the Oath of Vengeance of the paladin and under Vow of Enmity, it says  As a bonus action, you can use your Channel Divinity to choose a creature within 10 ft. and gain advantage on attack rolls against it for 1 minute or until it drops to 0 HP or falls unconscious.  My question is can this spell be cast on an invisible creature, since it is not written that I need to see it ? For reference, Channel Divinity: Abjure Enemy says the following:  As an action, you can choose one creature within 60 ft. of you that you can see to make a WIS saving throw (14). Fiends and undead have disadvantage on this saving throw. On failure, the creature is frightened and its speed is reduced to 0 (and it can't benefit from bonuses to speed) for 1 minute or until it takes any damage. On success, the creature’s speed is halved for 1 minute or until the creature takes any damage.  Here is proof that I'm reading it in DnDBeyond, on my character's page


I am going to a amusement park at the end of the month with my youth group. I will be in the car with 4 other girls and 6 boys. I need some game ideas to keep the boys busy so they won't pick on me. I'm only 14 and would need some games to play with the girls too. Thanks for your help!


I looked around for a bit and I haven't found the correct thread that fits my needs, I have an old mac Powerbook G4, I want to run Ubuntu Server on it, can I wipe out the entire harddrive and just run Ubuntu? (I don't need the Mac OS), or would I need to use a VM or dual boot. I tried a few things and it didn't work, I tried partitioning the hard drive and  burning the image, I tried using bootcamp but that did not work and tried both USB and Disk. I want to use the Ubuntu server just so I can get familiar with Linux servers and do my programming whenever I am on the road or not at my desktop. I don't know if I am doing something wrong, I maybe any help would be much appreciated.  Specs:  Mac OS X Version 10.5.8 Processor: 1.33 GHz PowerPC G4 Memory 2 GB DDR SDRAM Processor: PowerBook G4 1.1 L2 Cache: 512kb


Need help querying a database to show latest versions

I working with a mysql database with a table called Page. Is there any way to only pull the latest version from each page?  ID      Page Title      Version 0001    Homepage        1 0002    Homepage        2 0003    Homepage        3 0004    Contact         1 0005    Contact         2 0006    Basket          1 0007    Basket          2 0008    Basket          3 0009    Basket          4   What I need:  ID      Page Title      Version 0003    Homepage        3 0005    Contact         2 0009    Basket          4


What does it mean when Wi-Fi icon is gray?  Internet is working at the moment.   Screenshot (click image for larger variant)


Break down pattern (so that I learn how it works) and add date/time

I got help from you guys to extract the MAC address and UUID from textfiles using this regex pattern:  $Pattern = '([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2}),\s+(\{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}\}{0,1})'   Could some friendly soul break down the pattern for me to help me understand how it works?  I then need to extract date and time as well that is written in format YYYY-MM-DD HH:MM:SS


I want to start working on a web map at work to map some of our statistics by city.    I have an idea, but I'm not exactly sure where to start.   Are there any definitive resources that provide step by step guidance on how to do this?


Let $a$, $b$ and $c$ be integers. Prove that if $4|(a+bc)$ and $6|(b+ac)$, then $2|(a^2-b^2)$.

This is my work so far.    How can I isolate the $(a^2-b^2)$?  I am not asking for a full solution, just a hint and next step.    All done! Thanks Michael.


Disabling a laptop keyboard in place of a USB keyboard?

I frequently plug a USB keyboard into my laptop to use instead of the laptop keyboard.  However, when I do this, the OS (Windows Vista) then accepts input from both the laptop keyboard and the USB keyboard.  I want to place the USB keyboard on top of the laptop keyboard and that might result in accidental keypresses if the laptop keyboard is still enabled.  So, is there any way to disable the laptop's built-in keyboard when a USB keyboard is plugged in?  My laptop is a Dell Inspiron.


Java installation error using apt-cacher

I'm getting this output when I trey to update/install oracle-java7 or from webupd8 ppa:  Downloading Oracle Java 7... --2014-11-19 16:35:02--  http://download.oracle.com/otn-pub/java/jdk/7u72-b14/jdk-7u72-    linux-x64.tar.gz Resolving debiancacherepo.domain.com (debiancacherepo.domain.com)... 192.168.130.129 Connecting to debiancacherepo.domain.com (debiancacherepo.domain.com)|192.168.130.129|:3142... connected. Proxy request sent, awaiting response... 403 Sorry, not allowed to fetch that type of file: jdk-7u72-linux-x64.tar.gz 2014-11-19 16:35:02 ERROR 403: Sorry, not allowed to fetch that type of file: jdk-7u72-linux-x64.tar.gz.  download failed Oracle JDK 7 is NOT installed. dpkg: error processing package oracle-java7-installer (--configure): subprocess installed post-installation script returned error exit status 1   My /etc/apt-cacher.conf  #package_files_regexp = (?:^[-+.a-z0-9]+_(?:\d:)?[-+.~a-zA-Z0-9]+(?:_?[-a-z0-9]+\.(?:u|d)?    deb|\.dsc|\.tar(?:\.gz|\.bz2|\.xz)|\.diff\.gz)|\.rpm|index\.db-.+\.gz|\.jigdo|\.template)$  #pdiff_files_regexp = ^2\d{3}-\d{2}-\d{2}-\d{4}\.\d{2}\.gz$  #index_files_regexp = ^(?:Index(?:\.bz2)?|(?:Sources|Packages|release)(?:\.gz|\.bz2)?|Release(?:\.gpg)?|InRelease|Contents-(?:[a-z]+-)?[a-zA-Z0-9]+\.gz|(?:srclist|pkglist)\.[a-z-    ]+\.bz2|Translation-[a-z]{2,3}(?:_[A-Z]{2}(?:\.[a-zA-Z0-9-$   I think apt-cacher doesn't like the format of the file jdk-7u72-linux-x64.tar.gz but I am not able to change the configuration to allow it.


SQL Server 2014 : How to extract Hostname or IP

I want to extract hostname or ip address from SQL query testing as DBO so I have all privileges.  I tried select host_name() but I'm just given the hostname like JackWeb - I need actual IP address; I can not run exec sp_who2 - what should I do?  Thanks in advance


In my quest to fix a conflict with AirVPN client and AA 17.10, I have decided to uninstall Air and remove all residual files, threads, ect.     Investigating the uninstall, I have come across this code   dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge   which runs after the command  apt-get --purge airvpn    These, when run together are as thorough as possible for removing all related files.   Is this safe code for the uninstall project at hand?  I will re-install Air once the residuals are removed as to not create conflicts.   Thanks for your comments and suggestions.


\documentclass: undefined control sequence

There's probably a ton of questions about this already but I've been spending all day feeling overwhelmed with the TeX learning curve.  I'm trying to learn LuaTeX (by the way, if you know of a good tutorial I'd love to know about it).  I have downloaded TeX Live 2011 for Windows yesterday.  I have a LaTeX document with working syntax which renders properly.  When I switch the typeset setting to ConTeXt (LuaTeX), I get Undefined control sequence for the first line, \documentclass{report}.  What am I doing wrong?