Editing a JTextField within a ListSelectionEvent throws NPE

I'm trying to modify a JTextField's text when a row in a table is selected, however when I select a row, a NullPointerException is thrown and I can't seem to find a solution.  table.getSelectionModel().addListSelectionListener(new ListSelectionListener() {         @Override         public void valueChanged(ListSelectionEvent event) {              if (!event.getValueIsAdjusting() && !recordTable.getSelectionModel().isSelectionEmpty()) {                  field.setText("Test!");             }         }     });   ERROR:  Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at packagename.MOTFrame$1.valueChanged(RecordFrame.java:127) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:184) at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:154) at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:685) at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(BasicTableUI.java:953) at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(BasicTableUI.java:1166) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2236) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2294) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) at java.awt.Container.dispatchEventImpl(Container.java:2280) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.awt.EventQueue$4.run(EventQueue.java:729) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)   Any help is greatly appreciated.


I have one serveur with multiple domains. I'd like to redirect only one "site-internet.com" to ssl configuration.  I'd like to do :   www.site-internet.com =>  site-internet.com =>  test.site-internet.com => http://test.site-internet.com   This is my apache conf file  NameVirtualHost *:80  <VirtualHost *:80>     RewriteEngine on      RewriteCond %{HTTP_HOST} ^test.site-internet\.com$[NC]     RewriteCond %{HTTPS} off     RewriteRule ^(.*)$ http://test.site-internet.com/$1 [NC,R=301,L]      RewriteCond %{HTTP_HOST} ^(.*)\.site-internet\.com$     RewriteCond %{HTTP_HOST} ^site-internet\.com$     RewriteCond %{HTTPS} off     RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [NC,R=301] </VirtualHost>   But this don't work. What should I correct ?


Proving that orthogonal vectors are linearly independent

I am trying to prove that $a_1$, $a_2$, $a_3$ are linearly independent.  I am asked to use vector product and prove that if $c_{1}a_{1} + c_{2}a_{2} + c_{3}a_{3} = 0$ then $c_1 = c_2 = c_3 = 0$  I am completely stuck on where to go with this problem. I would think that linearly independent then the null space of the space can only be equal to $0$. Would this prove it?


What is the Number of Non Isomorphic Spanning trees of $K_n$? (Complete graph of size n)

So i know that for $K_6$ the answer is 6, but the book didn't explain how it solved this and i can't either!  so what is the Number of Non Isomorphic Spanning trees of $K_n$ ?  The only post related to this i found was  but there was no clear answer on there.


Replace text with Javascript in any form it is written

I am using jQuery to find text in an html and highlight all occurrences of a text, replacing them for a span tag.
This a sample paragraph. Sample is it?
   I am using the following piece of code to replace all occurrence of a word  var $test = $('div').html();  $test = $test.replace( new RegExp('sample',"g"), 'sample'   I would like to change all occurences of sample doesn't matter how it is written [Sample, SAMPLE, samplE] I would like to highlight the intended word, how could I do it?


Are low level spells cast with higher level slots considered to be a spell of that level for all game effects? (For just that cast)

When casting a lower level spell with a higher level spell slot, does that spell become that level for the casting or is it still considered a first level spell?  I'm specifically looking at the Disciple Of Life rule where the healing is 2 + the spell's level. If you cast good berry with a level 9 slot would it heal 12 hp per berry instead of 4 for being a level 1 spell?


How to get minecraft coordinates in SMP when F3 launches IE

I need coordinates for Minecraft in SMP, I know that you should press F3 but that launches IE and takes focus to IE making me unable to find coordinates. How can I find coordinates?


How can I help a child who won't talk to anybody at school? Selective mutism

Although I am not a parent, I am interning in social work.  I am currently working with a student in an elementary school who does not speak. The parents have explained that she does speak at home (I also witnessed her speaking to her mother outside of the school), but she has not said a word since she began school in August.  I work with her individually and in a group, and she still refrains from speaking in both settings.  We wonder if the cause is anxiety because she's not speaking at school but she is at home.  Have any of you experienced something similar with your children? What can we do as school staff to create an environment that is more comfortable/less anxiety-inducing for her?


Does spacing matter in reference/dereference symbols?

I was looking over some code and noticed this: typedef T * iterator; I was wondering if this is different from typedef T* iterator?


JavaScript remove leading and trailing spaces

Here is a test:   console.log(" Golden Katana of the Unflinching Dawn                                    ".replace(/\s+/g,""))   I want to remove the extra spaces at the end of the string but it removes every space in the string, so how could I remove just the extra spaces at the end and just keep Golden Katana of the Unflinching Dawn?


Circular polarized micro-strip patch antenna

after a bit more research I realized what my mistake was, after a user pointed it out. As such my new post.  I have come across a CIRCULAR POLARIZED PATCH ANTENNA DESIGN (FINALLY!). Which is shown below. However, as you can see there is very little data that is shown on how to exactly construct such an antenna. My frequency is 915MHz, input impedance is 50 ohm.  My questions are (i.e. what are the equations?):   The patch design is easy as I know of many resources that can assist me. But how do you calculate the width of the microstrip feed? How do you calculate the position of where the microstrip intercepts the patch antenna? How do you calculate the exact position of where the second feed line braches of the main feed line to form the 90degree out of phase feed line?


I'm looking for a way to have automated period padding for some items I'm discussing in my proposal. For example:  Pneumatic Drill.......................$450.12  Drill Bit.....................................$12.90    Ideally, I'm looking for something like the following I suppose:  \noindent\hspace{0.45cm}\dag\hspace{0.25cm}\begin{period-padder}\$450.12\end{period-padder}


I want to install a virtual machine, and i need to install a SFX file. I know the command for Ubuntu is chmod +x filename.sfx But I don't know the command for Debian. Does any one know?  Please ignore this question... It is a duplicate...


Case insensitive standard string comparison in C++

void main() {     std::string str1 = "abracadabra";     std::string str2 = "AbRaCaDaBra";      if (!str1.compare(str2)) {         cout << "Compares"     } }   How can I make this work? Bascially make the above case insensitive. Related question I Googled and here    there is a case insensitive method  String::Compare(str1, str2, Bool). Question is how is that related to the way I am doing.


I have been looking at the development of MMO games for a while and have got stuck up on one thing. Player Movement. If we have an area with 10 players, each player needs to be able to see the orientation and position of other players. But when players start moving I need to update the ten players locations simultaneously. If I were to use an MYSQL database it would be slow and laggy to send coordinates and get coordinates from the database everytime a player moved. What would be the professional and proper (more efficient) way of doing this?


Do you really answer "How do you do?" with "How do you do?"

We're told in our English classes (learning English as a foreign language) that the only possible answer to        How do you do?      is to repeat the question:        How do you do?      (While it's perfectly OK to answer other similar questions        How are you? / How are you doing?   Fine, thanks / etc      )  That said, then I talk to English speakers with Skype or in chats, I tried to ask the question, but the answer was never "how do you do?". It was rather "fine. you?" or something.  What is right and what is a myth?


Is there a way to keep internal drive segments unmounted while booting from external device

For forensic imaging of drives and/or segments with a native Mac application, I'm booting from external device (usb, hdd, etc.) into BaseSystem. I want to keep the internal drives and/or segments unmounted during the boot process. Later will disable disk arbitration, mount these drives/segments and image them. Since the drives should be kept unmounted, there is no way of knowing drive/segment volume names and/or UUID.  I've created a deamon (System/Library/LaunchDeamons) for mount blocking (on external boot device), but it only blocks newly attached devices, not internal ones.  Also, I've also tried disabling "diskarbitrationd" daemon (desperately, on external boot device), but not worked.  Note: I've created boot image from BaseSystem.dmg of Sierra (10.12.1), and modified the contents.


Field 'PermissionsWorkplaceCommandCenter' can not be grouped in a query call

I am trying to get the value of PermissionsWorkplaceCommandCenter field per Profile in PermissionSets via Salesforce Workbench. At first, I have this query:  But this results to following error:  I modified the query based on the error, so my second query turned out like this:  But another error occurs, which is kind of confusing.  I don't know what else is wrong, I just followed what the first query error suggested, but it just resulted to another error. Hoping someone could help me correct this. Thanks in advance!


What should n be so that the probability is less than 0.5

n represents the number of people.  The probability is that none of these people have a birthday on the same day.  Neglect people that are born on 29 February.  What should n be so that the probability is less than $\frac{1}{2}$  so the probability should be something like this:  $\frac{365Pn}{(365)^n}$ = 0.5  but how to get n?


To show that $2$ | $x^{2n} - x^n$, $n \in \mathbb{Z^+}$ is the following adequate?


What's the intuition behind difference of $\neg(S\land E)$ and $\neg S \land \neg E$?

Let $S$ represent the English statement "Sales will go up."And let $E$ represent the English statement "Expenses will go up." Now my problem is that I have trouble telling the difference between these two statements: $\neg(S\land Q)$ and $\neg S \land \neg E$. When these two statements are translated into English they sound,to me, the same. However, when you look at their truth tables they are different.   Here is my best translation of these two statements:  1) $\neg(S\land E)$ represented in English, "Both sales and expenses will not go up."(Correct me if I translated it wrong)  2)$\neg S \land \neg E$ represented in English, "Expenses will not go up and sales will not go up."(Again, correct me if I'm wrong)  I still do not understand the difference between these two statements in the English representation. They both sound the same thing to me.  Once more, I have the same trouble I have with understanding with the or-connective( $\lor$ ). Again let E and S be the same statements as before.Tell me if I might have translated them wrong.  1) $\neg (S \lor E)$ represented in English is "Neither sales nor expenses will go up."  2)$\neg S \lor \neg E$ represented in English is "Sales will not go up, or Expenses will not go up."  Yet I still have trouble understanding the difference between the English translation.  In short, can you give me some alternative example that better explains the difference, something intuitive that gives me a clear picture of the difference of the meaning between the statements I showed with the connective-or and connective-and. Thank you.


After upgrade of Virtual Box, kernel sources are missing

I did upgrade VirtualBox from 4.1 to 4.2  wheneverver I want to load my Win XP VDI, it gives me the following error:     Kernel driver not installed (rc=-1908)   The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing  /etc/init.d/vboxdrv setup   as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.  I ran the suggested step to reinstall the kernel module, and the log file is as follow:  Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop. Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop. Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.  Stop.   I still unable to re-run my win virtual XP vdi file.  Anyone have any clue?


I have a windows 8.1 new machine with arabic language pack, but I still see some areas still using English as language, i.e. control panel, store, search, help notes. Other apps are displayed in arabic.   mention that arabic can have any language as base language, and the license is I have is 8.1 Single Language. Does base language mean I can set arabic as base language ? or it seems I must still have unicode (i.e english) as base language ?


WARNING: no formal physics training I've been trying to understand the idea of space-time and gravity. Intuitively, it seems like you can think of space-time as a sheet of fabric. Mass sits on the fabric and the bigger the mass, the bigger the depression in the fabric. The bigger the depression, the steeper the slope down towards the center of the mass and thus the stronger the gravitational pull. If this is a correct assumption, then will all mass eventually pool into one global space-time minimum? If this is all wrong, please correct me. I've never taken a single physics course, but am starting to read about it and can't stop thinking about this question.


Live updates on the /questions page don't work again with the new new navigation

broke the live updates. Then it was apparently fixed.    claims that the live updates were enhanced, though currently they don't work at all.  Can it be refixed?


So I'm staying in America for 12 weeks soon and was wondering if I can do volunteer work while there?   I'm visiting on an ESTA and am a UK Citizen, if that helps!


Some questions about the internals of bcrypt

I'm attempting to get a better understanding of cryptography and have run into some questions about bcrypt.  Bcrypt relies on the blowfish cipher, which is a reversible method of encryption. But bcrypt is not reversible. How is that possible? Or am I mistaken? What does bcrypt do on top of blowfish to make it irreversible?  Why does bcrypt use blowfish instead of twofish or threefish?


Using contour integration to evaluate this integral

I am trying to show that  $$\int_0^{\infty} \frac {\sin{\phi_1 x}} x \frac {\sin{\phi_2 x}} x \cdots  \frac {\sin{\phi_n x}} x \cos{a_1 x} \cdots  \cos{a_m x} \frac {\sin ax} x \, \mathrm d x = \frac {\pi} 2 \phi_1 \phi_2 \cdots \phi_n,$$ if $\phi_1,\phi_2, \ldots, \phi_n, a_1,a_2, \ldots, a_m$ are real, $a$ is positive and $$a>|\phi_1|+|\phi_2|+\cdots + |\phi_n| + |a_1| + \cdots + |a_m|.$$  As with $\int_0^\infty \frac {\sin x} x\,\mathrm d x$  and $\int_0^\infty \left(\frac{\sin x} x\right)^2\,\mathrm d x$ I have tried integrating over a semi-circular contour with an indentation at the origin and then using Jordan's lemma, which should still work as the integrand is an even function. But when I expand the sines and cosines out in terms of exponentials I cannot decide whether the semi-circle should be in the upper-half or the lower-half plane since I cannot know what the signs of the constants in the exponents are. Hints on how to go about this would thus be appreciated.


try/finally without catch and return value

I have a program as following:  public class Main {     public static void main(String[] args)throws Exception     {         int res = test();         System.out.println("after call , res = " + res) ;     }      public static int test()throws Exception     {         try         {             return 10/0;         }         finally         {             System.out.println("finally") ;         }     } }   after run above program , following result saw in console:  finally Exception in thread "main" java.lang.ArithmeticException: / by zero     at Main.test(Main.java:17)     at Main.main(Main.java:7)   this behavior is normal because exception thrown to main method.  Then I change code as following :  public class Main {     public static void main(String[] args)throws Exception     {         int res = test();         System.out.println("after call , res = " + res) ;     }      public static int test()throws Exception     {         try         {             return 10/0;         }         finally         {             System.out.println("finally") ;             return 20;         }     } }    When run above program I saw following result in console:  finally after call , res = 20   My question related to second format. Why when return in finally block , exception not thrown to main method?


I've just discovered this way to output things on php templates:  <body>   my name is   <?= $params['name'] ?>   ...   That should be equal to:  <body>   my name is   <?php echo $params['name'] ?>   ...   It's a very cool and clean syntax, but my question is: is legit? Or is deprecated?


Adding an image to my jframe ended up breaking the next button

I am working on a project which will have 8 jFrames. Once I added an image into my 5th jFrame, the next button stopped working on the previous jFrame. If I remove the image it seems to work again. I put the image file into the packages file where all the java files are located. Code for the next button in 4th jFrame     private void btnNextActionPerformed(java.awt.event.ActionEvent evt) {                                                 culminating5 open =new culminating5();         open.setVisible(true);         dispose();  I'm using this similar code with everything else an it is working fine. Code shows no errors aswell. Here's what the output shows when I press the next button from the 4th jFrame: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException     at javax.swing.ImageIcon.<init>(ImageIcon.java:217)     at com.mycompany.culminating.culminating5.initComponents(culminating5.java:34)     at com.mycompany.culminating.culminating5.<init>(culminating5.java:12)     at com.mycompany.culminating.culminating4.btnNextActionPerformed(culminating4.java:104)     at com.mycompany.culminating.culminating4.access$000(culminating4.java:6)     at com.mycompany.culminating.culminating4$1.actionPerformed(culminating4.java:44)     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)     at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)     at java.awt.Component.processMouseEvent(Component.java:6539)     at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)     at java.awt.Component.processEvent(Component.java:6304)     at java.awt.Container.processEvent(Container.java:2239)     at java.awt.Component.dispatchEventImpl(Component.java:4889)     at java.awt.Container.dispatchEventImpl(Container.java:2297)     at java.awt.Component.dispatchEvent(Component.java:4711)     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)     at java.awt.Container.dispatchEventImpl(Container.java:2283)     at java.awt.Window.dispatchEventImpl(Window.java:2746)     at java.awt.Component.dispatchEvent(Component.java:4711)     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)     at java.awt.EventQueue.access$500(EventQueue.java:97)     at java.awt.EventQueue$3.run(EventQueue.java:709)     at java.awt.EventQueue$3.run(EventQueue.java:703)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)     at java.awt.EventQueue$4.run(EventQueue.java:733)     at java.awt.EventQueue$4.run(EventQueue.java:731)     at java.security.AccessController.doPrivileged(Native Method)     at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)     at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)     at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


How can I prove this basic implication of gcd?

Suppose we have $\gcd(x,z) = 1$, prove that $\gcd(xy, z) = \gcd(y,z)$. This appears very intuitive to me however is there a formal way of proving this?   I could write the obvious statement that since $z$ does not have a common divisor as $x$, then the only common divisor comes from $y$. So this means that $\gcd(xy, z) = \gcd(y,z)$ directly. However, this does not seem mathematical enough, is it?


Delete `visual-stuido` tag or merge it with `visual-studio`

Because of the typo, I'd like to suggest the  tag be deleted or merged with . On Stack Overflow.


Does LDAP allow User Permission at Application Level?

Following is the scenario in the picture, We have one server at back and five other servers (running 5+ applications). We are developing LDAP instead of basic Database authentication rule in which we have to set it manually. Obviously, We have different roles like: Developer, Support, Managers, Directors, etc.  So, Our aim is to give permissions respectively. For example. A user who fall in developer group can edit and commit, while support person can view only. Please feel free if my concept is wrong.  Technologies:   Wamp Server 2.5 Apache 2.4.9 PHP 5.5 MySQL 5.6 LDAP Ubnutu v3   Following are my Questions:   Does LDAP allow user permission mechanism? or I want any other third party software. In case to  - NO, Do I have to make application capable to act like this? Does LDAP users/groups are linked with Linux sudoers user? in: visudo i.e. /etc/sudoers


Assuming I have defined a glossary entry named v_rob as v_{\text{robot}} and in my text I want to describe the robot velocity at time t using a subscript, I was tempted to write \gls{v_rob}_t. This, however, produces an error as it is a double subscript. I was hoping to get the equivalent of v_{\text{robot},t}. As I frequently refer to such variables at different timepoints (e.g. t, t-1, t+1, ...), in the present form I can't really use the glossary entry and have to instead manually type v_{\text{robot},t}, v_{\text{robot},t-1} in my text.  My current workaround is adding a negative space between the glossary entry and the new subscript, but it's obviously not the best way to do it: \gls{v_rob}\hspace{-0.7pt}_t  Is there an elegant way to use subscripts with my glossary entry?


When referring to dates, which form is correct? "on the 5th of November" or "on the 5th November"?

I was discussing this at work with a colleague today, which form (or both) is grammatically correct when referring to dates? "on the 5th of November" vs "on the 5th November"


Why do most professional photographers prefer to use their SLRs optical viewfinder?

I have heard again and again that using the digital viewfinder on your SLR is a big no-no and that you should always use the optical viewfinder when framing a shot.  Why?


Difference beween wiki page, application page, web part page and publishing page

There are lots places in msdn sharepoint forums and blogs where these terms are used and I am confused between them. Can anybody clarify?


calling a static data member declared in hxx file

I have declared a static variable in a file say "example.hxx" and am calling this variable in  the cxx file "example.cxx" in this way example.hxx file :- class example{        private:          static int p;        public:          void func();        };  CXX file             #include <example.hxx>              class example{                 void func(){                     std::cout<<p;                 }              }  I get an error of undefined reference to p. Why does this happen and how to solve this ? I have seen some answers in relation to this question but none deals with separate hxx and cxx files, instead they answer wrt main function. Would be great if someone clears my doubt !


$\mathcal{l}^\infty$ contains all separable normed spaces

Let $S$ be any set. By $\mathcal{l}^{\infty}(S)$ we denote the space of all bounded functions $S\longrightarrow \mathbb{C}$ endowed with the $\sup$-norm. It can be shown that each normed space $X$ can be isometrically embedded into $\mathcal{l}^{\infty}(S)$ for some $S$. Really, if $X$ is some normed space, consider the set $S$ of all bounded linear functionals $\{T: X\longrightarrow \mathbb{C}: \|T\|=1\}$ whose norm is $1$. Now we build an embedding $F$ as follows:  $F(x): T\mapsto Tx\in \mathbb{C}$. It is easy to see that $F$ is linear, that $T(x)$ is a bounded function $S\longrightarrow\mathbb{C}$, and that $F$ respects the norm (i.e. $\|x\|=\sup\{|Tx|: T\in X^{*}\text{ and }\|T\|=1\}$).  Well, how to prove that each separable space can be isometrically embedded into $\mathcal{l}^\infty =\mathcal{l}^\infty(\mathbb{N})$? We need something the same, really?


For example:   a vampire feeds their blood a human in order to give them some of the vampires' powers. one gains some of the vampires' powers after surviving a fight with them one get cursed and receives some of the vampiric powers as the result   How does one gain vampiric powers without becoming a vampire? I am looking for a permanent solution, that wouldn't be lost in antimagic fields or by dispelling magic. Is there anything in Dungeon and Dragons 3.5 or any other edition(it will be converted into 3.5 material) that could give those?  Dragon Magazine and Dungeon Adventures are also acceptable.


Stepwise feature selection for a classifier: use accuracy or loss?

When using stepwise feature selection for a classifier, is it typical to measure progress by using the loss (e.g., cross-entropy loss) or the accuracy?  Is there any basis for choosing one or the other?


Center align a span inside a div with an img element

I am trying to center align a span inside a div, which also contains an img element.     .element {   display: inline-block; }  .element img {   height: 40px;   width: 40px;   border-radius: 50%;   margin-right: 20px; }  .element span {   display: inline-block; }
      hello
     or see this   However the text wont vertical align. I have looked primary at this . However vertical-align: middle does nothing here.   I also looked at this . However I will rather avoid anything position: relative & position: absolute workarounds for this. I also tried messing the line-height with no luck.   I even tried to set height: 100%on the span, as this  suggests, but that does nothing either.  I basically looked at bunch of questions here on SO, it seems like css is so weird about this, that there basically is 12 approaches for a simple thing like this. Yet I can't seem to get 1 of them to work in my occasion.    What is up with this behavior?   EDIT:   Marked as duplicate to  - I have explained that these solutions with line-height and vertical align doesn't work in my case as explained in the original question. The accepted solution did not work in this case. How is it a duplicate?


We are a medium sized company which has VPNs to more than 20 locations.  We sometimes get complaints regarding access to the terminal server, and I would like to diagnose this as either a server issue or Internet connection issue.  What I am looking for is a utility that I can give an IP address to, and have it monitor/record whether or not that address is live.  I am aware of munin, but I am looking for a more dedicated tool for this task, something that does not take a lot of time to get up and running.  EDIT: Using W2k3 terminal server.  But I want to just monitor the VPN link between corp offices and the facility in question.  Just something that pings on a determined schedule and records the result.


What should my Objective-C singleton look like?

My singleton accessor method is usually some variant of:  static MyClass *gInstance = NULL;  + (MyClass *)instance {     @synchronized(self)     {         if (gInstance == NULL)             gInstance = [[self alloc] init];     }      return(gInstance); }   What could I be doing to improve this?


I need to set the class as active  in li tag.Below is the header page of community which contains set of tabs.So on click of tab it should set the li tag class to active.It is setting the li tag to active but after page refreshes it is losing its value.Please someone help me   <apex:page title="{!$Label.site.site_login}" showHeader="false" sidebar="false"        standardStylesheets="false">  <apex:includeScript value="{!URLFOR($Resource.jQuery, '/js/jquery-1.4.2.min.js')}"  />     <apex:includeScript value="{!URLFOR($Resource.jQuery, '/js/jquery-ui-1.8.6.custom.min.js')}"  />   <apex:stylesheet value="{!URLFOR($Resource.jQuery, '/css/ui-lightness/jquery-ui-1.8.6.custom.css')}"  />

                      <apex:outputLink value="{!$Page.Home}"       onclick="ChangeClass(Home);">Home</apex:outputLink>

                      <apex:outputLink value="{!$Page.Chatter}" onclick="ChangeClass(chatter);>Chatter</apex:outputLink>

                         <apex:outputLink value="{!$Page.page3}" onclick="ChangeClass(page3);>Room</apex:outputLink>

                         <apex:outputLink value="{!$Page.page4}" onclick="ChangeClass(page4);>Page4</apex:outputLink>


How to disable drivers on offline Windows 8.x?

I have the same scenario that .  Ultimately the crux of the issue seems as though there is no way to bring up safemode or bypass the drivers.  The only thing that comes to my mind is manually disabling the video driver so as to force Windows into using a default driver in order to then get into Safe Mode to then rollback to the previous driver.    How would one go about manually removing a driver once you have such a system's drive removed and able to be manipulated via another workstation?


Let A a commutative ring with unity in which every element is idempotent ($x^n=x$ for some n>1 dependent on x), then every prime ideal is maximal.

Let $A$ a commutative ring with unity in which every element is idempotent ($x^n=x$ for some n>1 dependent on $x$), then every prime ideal is maximal.  I came across this question revisiting Atiyah's Intro to Commutative Algebra for my comp, and even though it seems very simple I'm stuck. From the theorems I have available, I can only think of the quotient ring route, somehow using idempotence to show that A/p is not only an integral domain, but also a field, so that p is maximal. But I got nowhere with that approach. Any ideas are appreciated.


How do I create a temporary file with Cocoa?

Years ago when I was working with C# I could easily create a temporary file and get its name with this function:  Path.GetTempFileName();   This function would create a file with a unique name in the temporary directory and return the full path to that file.   In the Cocoa API's, the closest thing I can find is:  NSTemporaryDirectory   Am I missing something obvious or is there no built in way to do this?


Is there a single word to describe the loss of a child?

To my knowledge,There is no single word that describes a "person who has lost a child."      We have "widow" and "widower" for a person whose spouse had died. We have "orphan" for a child whose parent or parents have died.    According to the quora question, the closest word is in Arabic: ثَكْلَى (thakla) which translates as "bereaved mother."  Though bereaved does not adequately describe 'loss of child' as it's definition is:      [to] be deprived of a loved one through a profound absence, especially due to the loved one's death.    My questions are:   If there is a word, what is it? If there is not a word, what word would Shakespeare have made up to convey the idea?


This is the second time I've the delta homes search engine installed in my windows 8 computer without my permission, although I've set the privacy that programs don't get installed automatically! Anyway, I'm trying to remove this and despite the following steps: can't and the delta homes search page opens up each time I click on chrome and firefox.  1) I went to the settings, and removed delta homes from there. Managed search engines, set the pages so that chrome opens only. Nothing worked.  2) I checked for installed programs from the control panel so that I could remove it, no result!   3) I tried to search my computer's files, apps etc by 'delta', couldn't find it.  Last time when it happened, I uninstalled mozilla and reinstalled it, and so did for chrome, and it worked. But this time I tried the same with mozilla, it's not working. I restarted my computer, no change!  Please help!!


How to call this method from web service in my test class

I am not able to call this method in my test class:  WebServiceCallout.invoke(            this,           request_x,           response_map_x,           new String[]{endpoint_x,           'https://www.imed.com.ar/Producto',           'https://www.imed.com.ar/',           'Producto',           'https://www.imed.com.ar/',           'ProductoResponse',           'wwwImedComAr.ProductoResponse_element'}


$f: G \to C^{×}$ is homomorphism. |G|=n is abelian .prove that $\sum_{g \in G} f(g)$ is 0 or n

Let $$f: G \to C^{×}$$ is homomorphism, whereas $C^{×}$ is the multiplicative group of non-zero complex numbers, |G|=n and G is abelian. Prove that \begin{align} \sum_{g \in G}f(g)&=0,\quad \text{or}\\[1em] \sum_{g \in G}f(g)&=n \end{align}  I know how to break abelian group into modulo $n$, but after that  I could not imagine a homomorphism.


Why does thermal radiation only occur at infrared and visible frequencies?

The resources that I've checked out seem to say thermal radiation only occurs in the infrared and visible spectrum. For example my heat transfer textbook and the Wikipedia page on .  In my mind thermal radiation is just energy emitted as a result of internal collisions from temperature. So, since temperature can range from 0K to huge numbers, I would think you would have a similar range of emitted energies. So then thermal radiation could occur throughout the whole of the electromagnetic spectrum.


Exporting layer from Google My Maps as KML has no geometries

I have a CSV with an address field (no lat/long), so I went to Google My Maps, imported the csv and geocoded of the records.  Now I export the layer as KML and added the KML to QGIS and Google Earth Pro, but in non of them I can see the markers. In fact in QGIS, the KML layer is added as datatable (no geometry).  What's happening? How can I export a geometry layer from google My Maps?


Short story where a man disguises the destination of a letter by making postal code different from address

A man is running from some people who have him under surveillance, and when he wants to send a letter he thinks they can see the address he wrote on the letter, so he writes a fake address and prints a differing postal code surreptitiously, by hand. This was many years before the invention of the Postal Bar Code, and it used dots instead of bars.  But the UPS MaxiCode uses a two-dimensional square of dots, very similar to what was used in the story.  Thus I think of this as a Heinlein story, one more "invention" ahead of his time.


that it will drop Unity 7 from Ubuntu 18.04 onwards, reverting back to the Gnome desktop environment. I know all the larger desktop environments quite well, Gnome, KDE and Xfce; however, Unity is the one I am more comfortable with and on which I I feel more productive.   I would therefore like to know if there any desktop environments forked from Unity 7 that could be installed on Ubuntu. I understand we are still one year away from the shift, but it is never too early to test the alternatives and eventually choose a project to contribute to.


How to make all \thanks footnotes single line?

I have something like  \documentclass{article} \title{My title} \author{ABC\thanks{XYZ} \and DEF\thanks{UVW} \and GHI\thanks{KMN}} \begin{document} \maketitle \end{document}   and this produces footnotes on top of each other, like   * XYZ ** UVW *** KMN   However I am really struggling to find some extra space in my paper and I want to write all of them on a single line, together with their symbols:  * XYZ, ** UVW, *** KMN   Is there a way to do that?


currentTimeMillis() and waiting by spinning on nanoTime()

Even more important update: I tried the same code on Java 8, and System.currentTimeMillis() works as expected:  1449242048.588 368936.080131 1449242048.590 368936.082132 1449242048.592 368936.084132 1449242048.594 368936.086132 1449242048.596 368936.088133 1449242048.598 368936.090133 1449242048.600 368936.092133 1449242048.602 368936.094133 1449242048.604 368936.096133 1449242048.606 368936.098134 1449242048.608 368936.100134 1449242048.610 368936.102134 Main run took 20.036 seconds. Expected time: 20.0   Thanks to @Tunaki for the hint.  Update: I think it's useful to quote the  referenced in the response to the duplicate question here:     System.currentTimeMillis() is implemented using the   GetSystemTimeAsFileTime method, which essentially just reads the low   resolution time-of-day value that Windows maintains. Reading this   global variable is naturally very quick - around 6 cycles according to   reported information. This time-of-day value is updated at a constant   rate regardless of how the timer interrupt has been programmed -   depending on the platform this will either be 10ms or 15ms (this value   seems tied to the default interrupt period).   (emphasis mine)  I have some data recorded with timestamps derived from System.nanoTime(). When I play it back, I use a thread that spins in a tight loop calling System.nanoTime() until enough nanoseconds elapse to duplicate the difference between the timestamps.  I've noticed that mixing System.currentTimeMillis() with this kind of playback produces very strange results, at least on Windows 7. The nano time updates as expected, but milli time jumps 16 millis at a time.  Overall waiting time (measured using millis) is still as expected. Here is the tail end of the log of the little program I wrote to illustrate this:  1449238154.610 365042.452692 1449238154.626 365042.454692 1449238154.626 365042.456692 1449238154.626 365042.458692 1449238154.626 365042.460692 1449238154.626 365042.462693 1449238154.626 365042.464693 1449238154.626 365042.466693 1449238154.626 365042.468693 1449238154.642 365042.470693 1449238154.642 365042.472694 1449238154.642 365042.474694 1449238154.642 365042.476694 1449238154.642 365042.478694 1449238154.642 365042.480694 Main run took 20.0 seconds. Expected time: 20.0   To the left is millis time, to the right is nanos time, both normalized to seconds. As you can see, millis time is not updated every millisecond but rather about once per 16 milliseconds.  Can someone explain what's going on?  I am attaching the code I wrote for testing this effect. The environment is Windows 7 Enterprise, Java 7, 8 cores on 2 CPUs.  public class NanotimeTest {      private static final long DELAY_NANOS = 2_000_000;     private static final int ITERATIONS = 10_000;      private static class Times {         public long millis;         public long nanos;     }      Times[] times = new Times[ITERATIONS];      public static void main(String[] args) {         new NanotimeTest().run();     }      private void run() {         for (int i = 0; i < ITERATIONS; i++) {             times[i] = new Times();         }           System.out.println("Starting warmup");         produceTimes(1000);          System.out.println("Starting main run");         long start = System.currentTimeMillis();         produceTimes(DELAY_NANOS);         long end = System.currentTimeMillis();           for(Times t : times) {             System.out.printf("%.3f %f\n", t.millis / 1000.0, t.nanos / 1_000_000_000.0);         }          System.out.println("Main run took " + (end - start)/1000.0 + " seconds. Expected time: " + (DELAY_NANOS * ITERATIONS)/1_000_000_000.0);      }      private void produceTimes(long delayNanos) {         for (int i = 0; i < ITERATIONS; i++) {              long start;              times[i].millis = System.currentTimeMillis();             times[i].nanos = start = System.nanoTime();              while (System.nanoTime() - start < delayNanos) {                 // go on             }         }     }  }


Integral with inequality: $\int_a^\infty e^{-x^{2}}dx≤ \frac 1{2a}e^{-a^{2}} $

By comparison with the integral of $ \frac xae^{-x^{2}}$  Show that $\int_a^\infty e^{-x^{2}}dx≤ \frac 1{2a}e^{-a^{2}}   $ Given that $a>0$.


safari "find" does not work for partial word

Sorry but I don't know how to describe this problem. Let's see a simple example below.  Take  as an example, when I search(cmd+F) "comp", safari is able to find everything about it; but if I search "omp", nothing can be found! (suppose I want to find strings containing "complete")  This can be inconvenient sometimes because I may forget the spelling of the first several letters of a word/string, or I may be only concerned about the postfix, namely, finding all strings with a given postfix(or 'midfix') and the prefix can be arbitrary.  Can someone explain this issue and is there a way to resolve it ?


How do you draw a figure like this using tikz

I have to include this picture in my slides that I teach to my students. Can someone help me in drawing this picture using tikz package. Thanks


Fixed: I did alot of troubleshooting and testing diffrent solutions(see rest of the post and comments).  I got it working after doing the following steps:   I ran "ipconfig /renew" in commandline. Deactivated and reactivated my network connection/network card. Hard-refreshed(ctrl+r) again.     I try to get into StackOverflow.com, but all I get is text and links. Nothing is styled/formatted, and the text has no structure.  meta.stackoverflow.com works like normal. All other webpages works normal.  Here's an example of StackOverflow.com:   Edits  Tried:   Firefox, Chrome and Opera. Same results in all browsers. Hard-refresh: Ctrl-F5 and ctrl+shift+r Clearing my cache   Still nothing. Seems like a CDN problem.  Other information:   Windows 8 Chrome 50mb bandwidth   Edit2  Einar>tracert cdn.sstatic.net  Tracing route to sstatic.net.cdn.cloudflare.net [2400:cb00:2048:1::be5d:f73a] over a maximum of 30 hops:    1    <1 ms    <1 ms    <1 ms  2a00:c440:20:12c2::1   2     1 ms     1 ms    <1 ms  2a00:c440:5:1::1   3    <1 ms     1 ms    <1 ms  2a02:2690:0:f::11   4     *        *        *     Request timed out.   5     *        *        *     Request timed out.   6     *        *        *     Request timed out.   7     *        *        *     Request timed out.   8     *        *        *     Request timed out.   9     *        *        *     Request timed out.  10     *        *        *     Request timed out.  11     *        *        *     Request timed out.  12     *        *        *     Request timed out.  13     *        *        *     Request timed out.  14     *        *        *     Request timed out.  15     *        *        *     Request timed out.  16     *        *        *     Request timed out.  17     *        *        *     Request timed out.  18     *        *        *     Request timed out.  19     *        *        *     Request timed out.  20     *        *        *     Request timed out.  21     *        *        *     Request timed out.  22     *        *        *     Request timed out.  23     *        *        *     Request timed out.  24     *        *        *     Request timed out.  25     *        *        *     Request timed out.  26     *        *        *     Request timed out.  27     *        *        *     Request timed out.  28     *        *        *     Request timed out.  29     *        *        *     Request timed out.  30     *        *        *     Request timed out.  Trace complete.  Einar>


How can I save my mouse sensitivity in 16.04?

I am using this command here xset m 1/2 8 but something I noticed is that I have to do it every time I log in. Is there a more permanent way of changing my mouse sensitivity?  Also what do the 1/2 and 8 pertain to for the mouse speed?


Is it possible to add CSS to the user edit page?

EDIT:I'm using a custom theme and attempting to edit the style on a specific field on the user edit page.  Dooug is correct. My question was answered here   I want to perform some styling and add CSS to the user edit page. Is this possible?


Mouse cursor disappearing (but still being captured) on VirtualBox

Host: Mac OSX 10.9 Guest: Ubuntu 13.04 VirtualBox: 4.3.4 (just updated)  I'm having issues when I install guest additions (via device > add guest additions)  at the very beginning it tells me that it can't find the host kernel (with a message saying that if the installation of guest additions fails it may be because of this) - but then it seems to install the rest fine. the only issue is after I install guest additions and reboot my guest device, there seems to be an issue displaying my mouse.  The click works fine if I manage to navigate it over to where it should be - but I just can't see where my mouse is.  Any help? :|  Also, for some reason I'm unable to disable mouse integration (it's just greyed out under my Machine tab).


How to preserve and store very old photos (50/80 years old)?

A friend of mine has some very old photos where the deterioration process seems to have increased in the past few years, and the owner is worried about the preservation of these old memories.  They have been stored inside an album within plastic sleeves. The owner is not aware of the display method prior to that.   I have been informed by the owner that since being in their possession, they seem to be looking worse than when first viewed and seem to be falling apart.   He is looking for the best way to preserve these photos inside an album, but not really sure what would be the best method. I have suggested for the albums as a whole to be stored in vacuum sealed bags for now, but I'm not even sure if that is good!  I am looking for any suggestions or personal experiences from anyone who has had to deal with such photos and what they did to preserve their memories.


What program to use to make software applications with Python?

Just like how Microsoft Visual Studio is used to make software applications for Windows OS computers, what programs are used to develop software applications using Python?


RSA with common modulus but different ciphertexts and public exponents

I have two different ciphertexts $c_1$ and $c_2$, and two different public keys that share the same modulus such that $e_1 \neq e_2$ but $n_1 = n_2$.   What attack can I use to recover the private keys? Common modulus attack works only if $c_1 = c_2$, doesn't it?


Why is the integer value of SIGRTMIN (first real-time signal) 34 and not 32?

Examining the output of kill -l command  $ kill -l 1) SIGHUP    2) SIGINT   3) SIGQUIT  4) SIGILL   5) SIGTRAP 6) SIGABRT   7) SIGBUS   8) SIGFPE   9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTKFLT   17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP 21) SIGTTIN 22) SIGTTOU 23) SIGURG  24) SIGXCPU 25) SIGXFSZ 26) SIGVTALRM   27) SIGPROF 28) SIGWINCH    29) SIGIO   30) SIGPWR 31) SIGSYS  34) SIGRTMIN    35) SIGRTMIN+1  36) SIGRTMIN+2  37) SIGRTMIN+3 38) SIGRTMIN+4  39) SIGRTMIN+5  40) SIGRTMIN+6  41) SIGRTMIN+7  42) SIGRTMIN+8 43) SIGRTMIN+9  44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13 48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12 53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9  56) SIGRTMAX-8  57) SIGRTMAX-7 58) SIGRTMAX-6  59) SIGRTMAX-5  60) SIGRTMAX-4  61) SIGRTMAX-3  62) SIGRTMAX-2 63) SIGRTMAX-1  64) SIGRTMAX   one can notice that the integer value of SIGRTMIN is 34, and not 32.   ... 31) SIGSYS 34) SIGRTMIN ...  Why?  $ uname -r 4.19.0-8-amd64  $ ls -l /lib/x86_64-linux-gnu/libc-2.28.so  -rwxr-xr-x 1 root root 1.8M May  1  2019 /lib/x86_64-linux-gnu/libc-2.28.so*


Please help me decide which of the following two sentences in correct:   Twenty-year-old Thomas Smith has been running his own business for already 2 years. A twenty-year-old Thomas Smith has been running his own business for already 2 years.   It's the very first sentence that serves as a kind of introduction to the text. I personally consider the second sentence to be correct, because to my mind the indefinite article shows that this Thomas is one of many (by analogy with "there is a Mr. Smith wants to see you") Am I right?


Should adjectival phrases that are hyphenated when they modify a noun, e.g. a case-sensitive password, be hyphenated when they are predicate adjectives, e.g. The password is case-sensitive?


Can't get my Canon LBP printer to run under Ubuntu 14.04

I downloaded Linux CAPT driver V2.60 from Canon and installed both .deb packages, which were listed under the 64bit folder with Ubuntu Software-Center. My Canon printer still won't be recognized. Is there anything else I have to do? My printer is connected over USB.  Ubuntu would make a great replacment for my office, but unfortunately without printer support I will still rely on Windows.


In my application, I am using my application to retrieve the date information from the server. e.g:1533675600000. How do I get today's raw date number in this way? Every day, I want to refresh this daily raw date information and show only the information that matches the date of that day on my screen. So I ask you, how do I convert the date information I received with the new Date () function to the raw form of numbers in this way?


How can I find flight number and ticket number from a past flight one year ago?

My family and I took a flight on Jet Blue last February and I need to find the flight number and ticket number so I can claim my points.


Does $S = \sum_{n=1}^{\infty}(-1)^n (e- (1+ \frac{1}{n})^n)$  converge or diverge?  My attempt  : I know that  $e = \lim_{n\rightarrow \infty}( 1+ \frac{1}{n})^n$.  Now put the value  e in   given series $S$ , I got $\sum_{n=1}^{\infty}(-1)^n (e- (1+ \frac{1}{n})^n)= \sum_{n=1}^{\infty}(-1)^n (e- e)=0$  so the given series  is converges    is  it  correct????


Why do compact cameras keep using 4:3 and not 3:2 like DSLRs?

3:2 feels more suited for the modern way of watching photos, like on a laptop or any form och wider screen model. Why do they keep making the 4:3 ratio?   - This is an excellent thread, and I have both read and upvoted it since it takes the historical part behind this in to exceptional depth.  Why do they keep using this 4:3 ratio? Is there something blocking compact cameras from using 3:2, like their size?


I was wondering how would i get a UV Sphere to act like the floating blob in the image?  As well as


Switch between materials within material

So I'm wanting to create a laptop with a keyboard (obv) and I've got the brushed aluminium material I want to use as well as a texture with keys for the displacement of the physical keys and a mask to apply different materials to the plastic of the key rather than the aluminium of the rest of the body. So I want to apply a plastic material to keys according to white regions of an image and fall back to the aluminium for black parts. But as far as I know, there's no way to link materials into other materials. Essentially, the space between the keys should be aluminium.  The Aluminium texture is just a principled BSDF following a matte aluminium look. In theory for the black regions of the mask, I could simply use a copied version of the node, but if I do that, then any changes to the original material would be noticable. Thanks


installed ubuntu on old laptop and wifi adapter doesn't work

Pretty common issue, I found many answers and could not figure it out (new linux user here and most things assume some background). Wifi worked while I was installing the OS. I opted for the LTS 20.04.2.0 I have Ethernet cable and connection is established. I ran 'sudo apt-get install --reinstall bcmwl-kernel-source' and got the following: Reading package lists... Done Building dependency tree Reading state information... Done Reinstallation of bcmwl-kernel-source is not possible, it cannot be downloaded. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I tried 'sudo apt install dkms' and got this: Reading package lists... Done Building dependency tree Reading state information... Done dkms is already the newest version (2.8.1-5ubuntu1). dkms set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I also checked if the adapter is soft or hard switched off, it wasn't. this must be a driver issue. I pretty much just want to download the needed package and install it, but I have no clue how to know which one Final note: I did notice that the .iso file had amd64 at the end and I am using an intel processor. Though I think that this is not the problem since wifi worked perfectly while installing the OS from a USB


Which is the appropriate preposition of the word "Alternative "?


Bash - date, working around the 2038 bug on 32bit LINUX system

I wrote a little bash script that made me stumble across the . I did not know about this problem before and I just dare on posting the --debug output I got from date when my script tried to calculate across this magic date (03:14:07 UTC on 19 January 2038).  date -d "20380119"  date: parsed number part: today/this/now date: input timezone: +01:00 (set from system default) date: warning: using midnight as starting time: 00:00:00 date: starting date/time: '(Y-M-D) 2038-01-19 00:00:00 TZ=+01:00' date: '(Y-M-D) 2038-01-19 00:00:00 TZ=+01:00' = 2147468400 epoch-seconds date: output timezone: +01:00 (set from system default) date: final: 2147468400.000000000 (epoch-seconds) date: final: (Y-M-D) 2038-01-18 23:00:00 (UTC0) date: final: (Y-M-D) 2038-01-19 00:00:00 (output timezone TZ=+01:00) Tue Jan 19 00:00:00 CET 2038   date -d "20380119 + 1 days"  date: parsed hybrid part: +1 day(s) date: input timezone: +01:00 (set from system default) date: warning: using midnight as starting time: 00:00:00 date: starting date/time: '(Y-M-D) 2038-01-19 00:00:00 TZ=+01:00' date: warning: when adding relative days, it is recommended to specify 12:00pm date: error: adding relative date resulted in an invalid date: '(Y-M-D) 2038-01-20 00:00:00 TZ=+01:00' date: invalid date '20380119 + 1 days'   date -d "20380120" --debug  date: parsed number part: today/this/now date: input timezone: +01:00 (set from system default) date: warning: using midnight as starting time: 00:00:00 date: error: invalid date/time value: date:     user provided time: '(Y-M-D) 2038-01-20 00:00:00 TZ=+01:00' date:        normalized time: '(Y-M-D) 2038-01-20 00:00:00 TZ=+01:00' date:  date:      possible reasons: date:        numeric values overflow; date:        missing timezone date: invalid date '20380120'   Is there any way to make GNU date calculate across this date? (on a LINUX 32 bit system)    Operating System: Debian GNU/Linux buster/sid             Kernel: Linux 4.12.0-2-686-pae       Architecture: x86


When I spoke with a friend of mine, I had noticed she used sentences similar to "I need to go buy food."   Is it correct to say "to go buy," or should I say "to go to buy"?    I know that I could say "I need to buy food," but I think that in "I need to go buy food," who is speaking is putting in evidence s/he needs to go and that s/he cannot stay any longer, or that her/his time to stay is limited.


Assumption while deriving Time Independent Schrödinger equation

While deriving the Time Independent Schrödinger equation we assume that the wave function is composed of the two separate functions of time and space. And since we do not have any information regarding the wave function, then how is it correct to assume this? P.S- I am still a beginner in Quantum mechanics so it would be great if you will elaborate your answer.


What is the purpose of the 7805 output capacitor?

How does a cap on a regulator output improve transient response? Is this cap not more appropriately drawn next to the load where it is not being defeated by intervening trace inductance? Or does this output cap serve a different purpose than the typical bypass caps seen on a digital IC power supply pin?        Edit: This has been flagged as a possible duplicate. While the answers may have some overlap, the titles of the three questions I asked are very specifically different questions. This should be evident upon reading the Titles.


how to interpret the contribution of a variable, when univariate vs multivariate analysis result differs (survival analysis)

Not well versed in statistics so I do not know if my question is limited to survival analysis or has a general solution to similar types of questions. I saw a clinical trial study demonstrating that factor A is significant in predicting survival (say, higher blood pressure, worse outcome) when univariate analysis was performed. However in a multivariate analysis that included factor A as one of the covariates, it appeared that the significance of factor A to survival was now "non-significant - defined by (a) p-value >0.05 and (b) hazard ratio ~1. What does this say about the contribution of factor A to survival? Similarly, in a converse situation, where factor A is only significant in multivariate analysis but not significant in univariate analysis, what does this say about the contribution of factor A to survival?


I just want to write \Sha without ruining everything

I realize similar questions have been asked before but I am not satisfied with any of the answers I've seen. I would like to use the Cyrillic letter Ш to denote a particular group in mathematics. Most solutions involve using OT2 or T2A encoding; for example, at . However, this makes the other text in the document look bad.   For example, using the solution above, I get    while I would like to have     The first seems to be shaded strangely and the characters don't seem to align right.  Does anyone know how I can write the character Ш (in math mode) without changing the default font for the rest of the text?


Separation between last and secondlast item in citet with authoryear style?

If citing several items with \citet, I want to achieve a specific separator (like "and") between the last and the second last item. For example \citet{Grieg,Greg,Gregor} should give something like ...Grieg (2002), Greg (2001) and Gregor (2003) ...  A minimal working example:  \documentclass{article}  \usepackage[natbib=true,firstinits=true,             bibstyle=authoryear,citestyle=authoryear-comp,             minnames=1,maxnames=2,isbn=false,url=false,eprint=false,doi=false,             maxbibnames=20 ]{biblatex} \renewcommand*{\finalnamedelim}{\addspace\&\addspace}   \usepackage{filecontents}  \begin{filecontents}{test.bib} @misc{A01,   author = {Author, A. A. and Buthor, B. B. and Cuthor, C. C.},   year = {2001},   title = {Alpha}, } @misc{B01,   author = {Dodelson, D. and Edward, E.},   year = {2011},   title = {Beta}, } \end{filecontents}  \addbibresource{test.bib}   \begin{document} As shown in \citet{A01,B01}, ...  \printbibliography  \end{document}   Edit: I have seen the answear by Guido () but it does not work for the authoryear style. Therefore, here the more specific question.


Connecting to Salesforce using dot net code

In References.cs change [System.Xml.Serialization.XmlArrayItemAttribute("columns", typeof(ListViewRecordColumn), IsNullable=false)] TO [System.Xml.Serialization.XmlArrayItemAttribute("columns", typeof(ListViewRecordColumn[]),IsNullable=false)] Still I am facing this issue PlatformNotSupportedException: Compiling JScript/CSharp scripts is not supported" after changing the code in Reference.cs file.


The door you heard closing / The door you heard close was not him going out, it was me coming in

I was wondering which sentence would be better, the progressive one or the other.  The door you heard closing was not him going out, it was me coming in   The door you heard close was not him going out, it was me coming in


Why couldn't the Fellowship use the Eagles?

For those unfamiliar with the video (and unable to access it), Gandalf basically summons some eagles, they fly over Mt Doom and drop the ring in.  I guess my question is not so much "why they didn't" which implies the characters had an option to, but is there anything in the LOTR canon that prevents this from being an option?  I've read the books (once, ages ago, I'm more familiar with the movies) but can't recall any logic or reason in the stories that would prevent such an approach to disposing of the ring.  It goes without saying that the stories (books and films) are great, but having eagle's available does beg the question.


Linux: How to get a machine's IP address?

I'm using Linux CentOS 6.4 .  I'm writing a shell script and I need to extract a machine's IP in order to use it in the script. How can I find the machine's IP?  I'm looking for the "best" way because I know there are a few ways to get IP addresses.  Thanks


How do I take the limit as $n$ goes to $\infty$ of $\frac{\sqrt{n}}{\log(n)}$?

How do take this limit:  $$ \lim_{n\to\infty} \frac{\sqrt{n}}{\log(n)}$$  I have a feeling that it is infinity, but I'm not sure how to prove it. Should I use L'Hopitals Rule?


Rows of a Matrix is divisible by 19, show that its Determinant is also divisible by 19

I came across the following problem while self studying:  Let  \begin{equation} A =  \begin{bmatrix} 2 & 1 & 3 & 7 & 5\\ 3 & 8 & 7 & 9 & 8\\ 3 & 4 & 1 & 6 & 2\\ 4 & 0 & 2 & 2 & 3\\ 7 & 9 & 1 & 5 & 4\\ \end{bmatrix} \end{equation}  Use the fact that 21375, 38798, 34162, 40223, and 79154 are divisible by 19 to show, without evaluating, that $\det[A]$ is divisible by 19.  I noticed that each of these numbers are the entries in the rows of A, but I don't see how that helps me.


Needing to download 'traceroute' for some work that I have to do, I tried to download the package using 'sudo apt-get install'. After looking online, I saw that I might have to update the software but that didn't work either. Any ideas?  ubuntu@ubuntu:~$ sudo apt-get install traceroute Reading package lists... Done Building dependency tree        Reading state information... Done Package traceroute is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'traceroute' has no installation candidate  ubuntu@ubuntu:~$ sudo apt-get install update Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package update   P.S. inetutils-traceroute is not working, therefore I need another answer to be able to download the package.


Why are 'student' and 'suspend' not pronounced as written?

I am a Chinese student beginning to learn English. I am curious to know why the word student is pronounced with the sound of d instead of t. Likewise, why is the sound of b used instead of p when people say suspend?


Reducing the number of independent variables

I am working on a research project and I am trying to find one variable (execution time) as a function of a number of other variables/ metrics which were logged during the execution of a job. There are hundreds of these metrics and I want to find out which of these metrics/variables can actually be used for predicting execution times of jobs. So it is dimensionality reduction before I can use some sort of regression or machine learning. The problem is the number of rows (observations) is much smaller (45) as compared to the number of columns and therefore, rank deficiency. I have tried PCA, did not give any significant results. What other techniques can I use to find out a smaller subset of metrics that actually matter in execution time?


I'm having trouble trying to buy land in Falkreath.  I am level 30 and I am the Thane of Falkreath, yet when I try to buy the land from the steward, it will not give me the option of buying land.  I am playing the legendary edition on Xbox 360.


How light travel in a vacuum or in an empty space?

How any EM wave travels in a vacuum or an empty space as the propagation of any wave needs a matter or disturbance. Any wave can propagate in a disturbance only. How can it travel in vaccum?  As wave's propagation needs to have any disturbance.


Overlying images while tracking motion and adjusting angles

I was wondering if it is possible to do something like what is happening in the Gif's in the link below?    I've found a tutorial for 'flat' tracking here:   but I'm specifically looking to be able to adjust the angle of the image that is superimposed to match that of the video section it is tracking.  Thanks for your time as always.


>>> import arcpy Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "D:\Program Files (x86)\ArcGIS10.5\Desktop10.5\ArcPy\arcpy\__init__.py", line 22, in <module>     from arcpy.geoprocessing import gp   File "D:\Program Files (x86)\ArcGIS10.5\Desktop10.5\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in <module>     from _base import *   File "D:\Program Files (x86)\ArcGIS10.5\Desktop10.5\ArcPy\arcpy\geoprocessing\_base.py", line 14, in <module>     import arcgisscripting ImportError: DLL load failed: The specified module could not be found.   What does it mean?   By the way,I have downloaded python 3.7 for studying, which means I may have two python interpreter in my system.   Is it the reason I can't import arcpy?


When I try to break a block it opens the game menu

Every time I go to break a block in Minecraft it opens the in-game menu.  I don't know how to stop this from happening, any ideas?


How do I declare a function with optional parameters in C#

I want to write a class for creating Excel files from Datagridviews. I want to add a bottom line with Subtotals for selected columns and the number of those columns change from 1 to 3. I want my function work like this  exportToExcel(string title, DataGridView dgv, int colId1, int colId2, int colId3); //for with 3 sub total   //Example: exportToExcel("Some Title",mygridview, 3);  //for 1 sub total exportToExcel("Another Titme", othergridview, 5,6,7); //for 3 sub totals   Do I have to create functions for different variations or is there a way to make 2nd and 3rd column numbers optional ?


The question goes as follows: Given a family where the number of children is a random variable $(\mu=1.8, \sigma=0.36)$, if one selects a child randomly, what’s the expected number of siblings the child has?  I stumbled upon this problem while reading Sheldon Ross’s a first course to probability as I’m an undergrad in Physics, still early in my studies, just entered my 2nd year and I’m trying to get a grasp on probability.   Any guide towards the solution will be deeply appreciated.   Thanks for the help in advance, Cheers!


Find the sum $ 1 \cdot 1! + 2 \cdot 2! + 3 \cdot 3! + ... + n \cdot n! $


I try to compile a document as pdf/x and pdf/a with pdfx under LuaLaTeX, and I am already quite successful. One thing still poses problems though: With some fonts I get the following error if I check the resulting pdf/a file with Acrobat: "CIDset in subset font is incomplete (font contains glyphs that are not listed)" (VeraPDF gives the same error, so the issue seems to be real).  Here's a MWE:  \RequirePackage{filecontents} \begin{filecontents*}{\jobname.xmpdata} \Title{Test}       \Author{Simon Spiegel}       \Language{de-DE} \end{filecontents*} \documentclass {article} \usepackage{fontspec} \setmainfont{Palatino Linotype} [Ligatures={TeX,Common}, Extension = .ttf, ] \usepackage[a-3b]{pdfx} \begin{document} Test \end{document}   I realise that not everyone will be able to compile this MWE due to the proprietary font, but since the problem only occurs with specific fonts, I had to use this example.  The pdfx manual mentions this error, but only in relation to XeLaTeX. According to the manual, it should not occur with LuaLaTeX.  From what I understand, this seems to be at least to some degree a problem of this specific font, but since I am relying on it, I am looking for a way to fix it.  EDIT  Here's a new MWE with a bunch of fonts which are hopefully more common (the paths have to be adapted of course).  \RequirePackage{filecontents} \begin{filecontents*}{\jobname.xmpdata} \Title{Test}       \Author{Simon Spiegel}       \Language{de-DE} \end{filecontents*} \documentclass {article} \usepackage{fontspec} \setmainfont{Georgia} [Ligatures={TeX,Common}, Extension = .ttf, ]  \newfontfamily\fontone{Verdana} [Ligatures={TeX,Common}, Extension = .ttf, ] \newfontfamily\fonttwo{Cambria} [Ligatures={TeX,Common}, Extension = .ttf, Path = {/Users/simi/FontExplorerX/C/Cambria/} ] \usepackage[a-3b]{pdfx} \begin{document} Test  \fontone Test  \fonttwo Test \end{document}   All these fonts give me the same error. I wonder if this only happens with .ttf OpenType fonts.


How do I make sure that Canonical get affiliate benefits when I buy from amazon?

Ubuntu 12.10 has a new feature to search and buy from Amazon, either from the Dash, or from a unity WebApp. This is quite controversial, but for my part, I quite ok with it. So when I buy something from Amazon (which I did before, and I'll do tomorow), I'd like to make sure the affiliate revenue are really given to Ubuntu/Canonical: I would have bought anyway, so financing my prefered OS by doing so makes sense to me.  How does it work, and how can I know my order get accounted to Ubuntu/Canonical affiliate program ? What if I navigate the amazon site before I buy ? What if I login or logout from Amazon, does Ubuntu still benefit from my order ?


How do I define custom web.config sections with potential child elements and attributes for the properties?

The web applications I develop often require co-dependent configuration settings and there are also settings that have to change as we move between each of our environments. All our settings are currently simple key-value pairs but it would be useful to create custom config sections so that it is obvious when two values need to change together or when the settings need to change for an environment. What's the best way to create custom config sections and are there any special considerations to make when retrieving the values?


Any artinian chain ring is self-injective.

Let $R$ be an artinian chain (uniserial) ring. I want to prove that $R$ is self-injective, that is, any $\alpha:I\rightarrow R$ right $R$-module homomorphism can be extended to a homomorphism $\tilde{\alpha}:R\rightarrow R$ where $I$ is a right ideal of $R$.  Let $J$ be the jacobson radical of $R$. We knov that all right ideals of $R$ form a chain $$R\supset J\supset J^2\supset ...\supset J^{m-1}\supset J^m=0$$ and $J^k=p^kR$ for some $p\in J\setminus J^2$ and any $k=1,2,...$ since $R$ is an artinian chain ring. So I need to show that any $\alpha:p^k\rightarrow R$ right $R$-module homomorphism can be extended to a homomorphism $\tilde{\alpha}:R\rightarrow R$.  How can i find the extension. I need some help.  Thanks a lot...


Can i automatically change font size to get desired (66) "Characters per line" value?  I do not want to change magins size or textwidth, only font size.  Alternatively i'm looking for a macro which display number of characters on margin. For debugging/hand tunin purposes.


By mistake, I gave a wrong email address to my employer, who is very strict about any changes. My email address was prescottjkn91s23@gmail.com. Instead I wrote prescottjkn91@gmail.com. I will be receiving multiple work related emails from my employer and my job involves a lot of travelling with the consequence that I won't meet my employer for another six weeks.  Is there any way to edit the username or at least a way by which I can send / receive emails only for my employer?


Recent deleted answer doesn't show up in my profile

Yesterday I deleted  (now undeleted again) because . That plan worked. What I find strange is that in my  the link to that answer is not present.  Should I blame caching or is there another reason that the deleted answer didn't make it onto my list? My answer was posted on sep, 11th and edited on sep, 30th...


I can't acess my windows drive from Ubuntu

Error mounting /dev/sda2 at /media/hduser/D036F56236F54A4C: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1002,gid=1002,dmask=0077,fmask=0177" "/dev/sda2" "/media/hduser/D036F56236F54A4C"' exited with non-zero exit status 14: Windows is hibernated, refused to mount. Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option   This error messages comes every time


Fantasy story about a knife that can cut holes to other dimensions

I read this story a few years ago (estimate: 8-10 years), so I was around 13-15 at that time. The language of the book was German, but I'm not sure whether or not that is the original language of the book. If I remember correctly, the story consisted of three books in total.  The story starts in some town where a boy either gets thrown out of the house or leaves voluntary. He then wanders around, talks to some neighbor until he comes to some sort of intersection / street with some trees (may have been palms). There a strange phenomenon catches his eye: between two of the trees the world looks somewhat strange, like there is a window cut out of it. Curious, the boy goes through the window and finds himself in another world. There he is being attacked by (ghosts?) and flees into a tall tower, where he finds a knife with a blade so thin you can't see it with the naked eye. It has two sides, which are different from each other. With the knife he somehow escapes / defeats some of the "ghosts" and travels on.  Later in the story, he learns by cutting with his knife he creates those ghosts or kills someone somewhere by doing so. Knowing that, he tries to use it only as much as needed.  Some time later he then opens a window to the world of death where he has something to accomplish (probably rescuing someone).


$|x|=\sqrt{x^2}$ as  shows. But, as $(x^2)^\frac12=x$, I can't understand where am I wrong interpreting Square-root.


Highlight OP's comments on the Android mobile app

On the websites, whenever the OP comments on an answer, or on his question, his name is highlighted. This is a handy feature because you can easily tell whether the comment is from the OP or not.   But on the Android mobile app (don't know about iOS),  this feature is not there. Can we have it please!?


Proof that $\frac {1} {2\pi i} \oint \frac {{\rm d}z} {P(z)} $ over a closed curve is zero.

Prove that $$\frac {1} {2\pi i} \oint \frac {{\rm d}z} {P(z)} $$ over a closed  smooth simple curve that contains all of the roots of the polynomial $P(z)$ is either zero if $n \geq 2$ or equals $\frac{1} {a_0} $ if it's degree is $1$.   Proof: $n\geq 2$ $$\frac {1} {P(z)=(z-z_0)(z-z_1)\dots(z-z_n)}$$ So after partial decomposition of the fraction I'll have something like $$\frac {A} {z-z_0} +\frac{B} {z-z_1}+\cdots$$ where $A,B \in \mathbb{C}$ (Is this fact true that $A,B$ wont be polynomials and just coefficients I can see it why in an intuitive way but cannot write a full proof of it for the decomposition trying to get a linear system or something) then use Cauchy's theorem and integrate all of these on  different circles with their center at each root  and argue that  the integral is the same as the sum of those circle integrals. Now since $\frac {1}{z-z_n}$ will be analytic inside the circle when I'm integrating on circles that do not contain $z_n$  some  of those integrals  will be zero. and now since my curves are of the form $\gamma(t)=z_n+e^{it}$ , $t \in [0,2\pi]$ the rest of the integrals  will look like $$\int_0^{2\pi}  \frac{Aie^{ti}} {e^{it}}\,{\rm d}t $$  and all of them will be $A_i$.   Is my proof correct? Only part I cannot show is that I won't have any problem with decomposing the fraction. And I'm also using the assumption that after the decomposition I'll have as numerators simple complex numbers not not functions of any kind.


Attempting to reproduce this picture from an old book (sorry for the resolution)    I used tikz's patterns library to generate the grid, which provides an honorable result.    However, with the default grid patterns, it doesn't seem to be possible to have a grid parallel to the borders of the path, as in this case obtained using a foreach-based grid.    While this solution works fine, it requires potential fine tuning.  So, is there a way to define grid patterns for 4 sided paths with parallel borders (of course, this could make no sense for some other shapes) where the grid is parallel to the borders  Here is the code used to generate the pictures  \documentclass[tikz,border=3.14mm]{standalone} \usetikzlibrary{calc,patterns.meta}  \begin{document}     \begin{tikzpicture}[]      \draw[pattern={Hatch[distance=5pt]}] (0,0) -- (1,0) to[out=120,in=-95] (1,4) -- (0,4) to[out=-95,in=120] (0,0);     \begin{scope}[xshift=3cm]         \coordinate (sw) at (0,0);         \coordinate (se) at (1,0);         \coordinate (nw) at (0,4);         \coordinate (ne) at (1,4);         \pgfmathsetmacro{\gridstep}{5}         \path[clip,preaction={draw=black}] (sw) -- (se) to[out=120,in=-95] (ne) -- (nw) to[out=-95,in=120] (sw);         \draw          foreach \xpos in {1,...,10}{($(sw)+(\xpos*\gridstep pt,0)$) to[out=120,in=-95] ($(nw)+(\xpos*\gridstep pt,0)$)}         foreach \ypos in {1,...,30}{($(-5,0)+(0,\ypos*\gridstep pt)$) -- ($(10,0)+(0,\ypos*\gridstep pt)$)}         ;     \end{scope}     \end{tikzpicture}  \end{document}


Can we upload Android's .apk file to MySQL database?

I was wondering if it's possible to upload the .apk file to MySQL database and make em downloadable.   Even if it's possible, would it be a good choice to primarily use the database to handle all the uploaded files? Or a web server is a must needed for this kind of purpose?


Can a familiar attune and wear or use a magic item?

Is it possible for a familiar to attune to and then wear or wield a magic item?


Each time I run sudo apt-get update and then sudo apt-get upgrade, the program lxsession-default-apps is available for update but I always get an error that it can't update.  How do I fix this?


Tinning wires that will be screwed in to a chocolate block/terminal strip

This is subjective per say. But I am looking for other peoples experience.  If I am going to screw eight wires into daughter relay board's terminal block, is there a benefit or advantage to tinning the copper end before?  The environment that the units are to be installed is not near the coast and is not normally damp/wet. Rather dry and hot.


Determining if a folder is shared in .NET

Is there a way through the .net framework to determine if a folder is shared or not?  Neither Diretory, DirectoryInfo or FileAttributes seem to have any corresponding field.  One thing I forgot to mention was that I want to be checking for network shares.  But I'll investigate the WMI stuff.


Different look and feel between administration and end user experience?

Lets say we have an app that performs something like surveys. There are two primary types of users, administrative users who set up and build the surveys, (who are actually the customers), and the 'public' users being surved, who will also have accounts and profiles.  Here is my question. Considering how few views exist on the public end, and how different the function; is it appropriate to have a mildly different look and feel from the administrative areas? What kinds of value does this visual shift between the experiences hold?  Or should the two kinds of users get the same basic look and feel? Is there value to the two ends being visually consistent?  I caught myself preparing to go through the extra work of making a different look and feel for the public, but then realized there a good arguments on either side.


Where is this picture from? How do I use Reverse Image Search to find the source of an anime/manga image?

So I see an image that I believe is from either an anime or a manga. What are some ways that I can go about finding what series it's from? Try these options:   (browser built-in support and plugins)        Note: Please note that as of May 9, 2016, ALL  questions are now . Therefore, you can't ask an identification request question on this site. However, such questions are still welcome  for users with at least  (globally on StackExchange).    Protip: If you are using Google Image Search in a non-English language,  or just use  for better, more accurate results.


I have that $G=S_4$ and $N = \{1, (12)(34), (13)(24), (14)(23)\}$, and thus far I have shown that N is a normal subgroup of G. I'm trying to figure out what group $G/N$ will be isomorphic to, but I can't figure it out. Any ideas on what the group is, and how I'd proceed proving that is the case?  I think the subgroup will be of order 2, but past that I'm not sure.


NullPointerException Error when printing Listnode val after reversing linkedlist

You can see the problem in the attached picture. I also tried the print statement, "System.out.println(palindrome.val);" and I'm getting the same error. Please help me fix this. Thanks


Maximum order of an element in Alternating group of degree 10.

What is the maximum order of any element in $A_{10}$?     My attempt: I tried this problem. But I am not sure about the answer. My answer is 21 because 10 can be written as 7+3. $A_{10}$ can have two disjoint cycle of length 7 and 3. Lcm of 7 and 3 is 21 which is the maximum order of an element of $A_{10}$. Is it correct? If not please guide me.


Why do Windows 7 and 8 often not update open folders after adding or renaming files or subfolders?

Three scenarios:   I right click in a folder and choose "new folder". Windows does not show me the new subfolder, as would be expected. To get Windows to actually show me the subfolder I just created, I have to manually refresh, at which point the new subfolder will appear with the default "New folder" name. (If I at this point attempt to rename the new folder, I'll often have to refresh again to make Windows show me the updated name, see below.)   Or:   I rename a file or folder. Once I press enter, Windows continues to display the old name until I manually refresh the folder.   Or:   I copy one or more files into a folder. None of the files actually appear until I manually refresh the folder.   This happens all the time in Windows 7 and 8, and is quite the annoyance. As far as I can remember, nothing like this ever happened while I used Windows XP. Is there a way to fix this behaviour?


Disabling multiple simultaenous ssh sessions

Can someone please show me how to disable multiple simultaneous ssh sessions for an account on an Ubuntu 10.04 server. The setup currently in place is that every account has ssh access to the server.  The response given on the other question basically stated or showed how to  deny users or allow the user to access the server via ssh.  In the setup  I have got, all users have to have ssh access, but none of them are to have duplicate ssh sessions running at the same time from a Remote Desktop.


Finite Dimensional Vector Space proof: No linear maps such that $PQ-QP=I$

Question: In quantum mechanics, physicists make use of linear maps P and Q on an infinite dimensional vector space so that $PQ-QP=I$. Prove that if V is a finite dimensional vector space, and $P:V \rightarrow V$ and $Q: V \rightarrow V$ are linear maps, then $PQ-QP \ne I $ (there is no quantum mechanical theory in finite dimensions).   Attempt: I was a bit put off by this question but I think I might have worked out a solution and I'm not sure if it's acceptable. I decided to use the trace property of matrices. $$Tr(PQ) = \sum_{i}\sum_{j}p_{ij}q_{ji} $$ $$Tr(QP)=\sum_{j}\sum_{i}q_{ji}p_{ij}$$ $$Tr(PQ-QP) = \Big( \sum_{i}\sum_{j}p_{ij}q_{ji} \Big)-\Big(\sum_{j}\sum_{i}q_{ji}p_{ij}\Big) = 0 < Tr(I)$$  Is there something I'm missing?


Differences between  and  for onclick script handling

I've got a piece of javascript that validates the entries in a form. It looks like this:      function testSubmit() {         var x = document.forms["myForm"]["input1"];         if (x.value == "") {             alert('Not allowed!!');             return false;         }         return true;     }      function submitForm() {         if (testSubmit()) {             document.forms["myForm"].submit();             document.forms["myForm"].reset();         }     }   I'm using a button with onclick="submitForm()" to call it, however when I use a button tag, it seems to just go through the whole check and do the form action which is post. If I use a input tag with type="button", that works like expected. Is there a difference in how this works between the 2 tags? Here's a codepen showing the problem:   The button on right works gives you a pop and let's you return to the form. The button on the left gives you a pop-up, but then tries to post the form anyway.


Explanation of Spikes in training loss vs. iterations with Adam Optimizer

I am training a neural network using i) SGD and ii) Adam Optimizer. When using normal SGD, I get a smooth training loss vs. iteration curve as seen below (the red one). However, when I used the Adam Optimizer, the training loss curve has some spikes. What's the explanation of these spikes?   Model Details:  14 input nodes -> 2 hidden layers (100 -> 40 units) -> 4 output units  I am using default parameters for Adam beta_1 = 0.9, beta_2 = 0.999, epsilon = 1e-8 and a batch_size = 32.  i) With SGD  ii) With Adam


How can I show $\displaystyle\lim_{n\to\infty}\phi(n)=\infty$?  Obviously as $n$ approaches infinity it will have infinitely many prime factorizations, so the product series approaches infinity as well. How can I formally prove this?


Got an Abuse email for spam from my server, but postfix logs don't show them

We have a server with 300+ websites on it, and it has gotten an abuse letter from spamcop. We have investigated the logs, and searched for the PHPMailer version stated in the mail and all came up with nothing.  I was wondering if there is a chance for some sort of phpmailer script that is obfuscated or encoded, and how to find it. I am running NeoPi and Web Shell Detector, but so far nothing comes up.  Is there a way to monitor the outgoing port 25 and filter it with the domain name? The domain which the emails are supposed to be coming from is clean, I am suspecting that another code is using this domain because of its DKIM,SPIF etc.  Return-Path: <dianne.l@*****.com> X-Original-To: x Delivered-To: x Received: by truhi.net (Postfix, from userid 132)     id 5BB8510057D; Sat, 29 Jul 2017 11:35:05 +0300 (EEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on truhi.net X-Spam-Level:  X-Spam-Status: No, score=0.0 required=3.1 tests=HTML_MESSAGE autolearn=ham     autolearn_force=no version=3.4.1 Received-SPF: None (mailfrom) identity=mailfrom; client-ip=**.**.**.***; helo=a.**.com; envelope-from=dianne.l@*****.com; receiver=<UNKNOWN>  X-Greylist: delayed 319 seconds by postgrey-1.36 at truhi; Sat, 29 Jul 2017 11:35:04 EEST Received: from a.**.com (mail.**.com [**.**.**.***])     by truhi.net (Postfix) with ESMTP id 0D6C4100164     for <x>; Sat, 29 Jul 2017 11:35:02 +0300 (EEST) Received: by a.**.com (Postfix, from userid 33)     id 3075E922488; Sat, 29 Jul 2017 11:29:35 +0300 (IDT) To: x Subject: Enter our club as a lover Date: Sat, 29 Jul 2017 11:29:35 +0300 From: "Dianne L." <dianne.l@*****.com> Message-ID: <7fee________________________c316@www.*****.com> X-Mailer: PHPMailer 5.2.23 (https://github.com/PHPMailer/PHPMailer) MIME-Version: 1.0 Content-Type: multipart/alternative;     boundary="b1_7feee464828bc148486a4b82f280c316" Content-Transfer-Encoding: 8bit


Let $(X,S,\mu)$ be a $\sigma$-finite measure space, and $g \in M(X,S)$ such that $gs \in L_1(\mu)$ for any simple function $s \in L_p(\mu)$, with $p \in (1, \infty)$. Suppose $A \geq 0$ exists such that $|\int gs \mu| \leq A \|s\|_p$ for any function $s$. Prove:  $g \in L_q$ with $\dfrac{1}{p} + \dfrac{1}{q}=1$ and $\|g\|_q\leq A$


I'm running the error :     pdfTeX error: pdflatex (file jkpbne): Font jkpbne at 600 not found   In my latex file, I already added   \usepackage{lmodern}% http://ctan.org/pkg/lm   I'm using MikTex 2.9 and sublime 3 and here is the output of my log file:


Do short exact sequences form an abelian category?

I'm reading "categories for the working mathematician " of MacLane. At page 202, we define what is a morphism of short exact sequences (in an abelian category) and say that  this form the category of short exact sequences. This category is additive. My question is : is this category abelian? First my intuition was "yes" but then I tried to prove it... Now I'm convinced that the answer is "No" because of some constructions we can not do with kernels.  Any help? Any counterexample?


Is there a name for "the string of characters typed randomly on a keyboard home row"?

Or, in other words, is     asdf;ksa;llfsdfsadfasdk;lfjasjfdk;lasfjldfjsafjdsl;fjajfdlksaj   called something?  Does this specific phenomenon have a name?  Could you refer to it generically, as in, "The screen was filled with [the term]"  You get it by "mashing your keyboard" and I once saw keyboard mash associated with it, but I'm not sure if it was just describing the action or naming the product.  Likely if you referred to it by producing it in brief, i.e., "asdfasdf", people would know what you're talking about—but I started wondering about a general term after noting that my own version of this, tumbling out of a Dvorak layout, looks different:     asaoteosantehustnaoheusnaohsuetnaotnhuehsaoeutnsoa   It seems there might be a space for a generic descriptor, given QWERTZ or AZERTY-specific variations, or possible equivalents on more esoteric devices (like stenotypes).


I'm working with the code in a MFC project that uses CArray class to work with dynamic arrays. It works as such:  CArray<CUSTOM_STRUCT> arr; while(some_criteria) {     CUSTOM_STRUCT cs;     add.add(cs); }   This approach works, but becomes really slow with a large number of additions to dynamic array. So I was curious, is there a way to preallocate memory in CArray before I begin calling the add() method?  There's one caveat though. I can only estimate approximately the resulting number of elements in the array before I go into my while() loop.  PS. I cannot use any other arrays than CArray.  PS2. Due to complexity of this prokect, I would prefer to keep additions to the array via the add() method.


Proof of sum of ratio of Fibonacci numbers is less than 2

Using notation $F_1 = 1, F_2 = 1, F_3 = 2, F_4 = 3, F_5 = 5, ...$ for Fibonacci numbers prove that for any positive integer $n$: $$\frac{1}{1\cdot 2} + \frac{2}{1\cdot 3} + \frac{3}{2 \cdot 5} + · · · + \frac{F_n}{F_{n-1}\cdot F_{n+1}} < 2$$ I attempted to use induction on this problem, but could not finish the proof. Are there any alternative methods or tips to help prove this? Any help greatly appreciated.


I want to know whether $\lim_{(x,y)\to (0,0)}\dfrac{x^2y^2}{x^3+y^3}$ exists or not. I tried to approximate to (0,0) from different "paths" and the result was always 0. For example,  $f(x,mx^2) = \dfrac{m^2x^3}{1+m^3x^3}$  But that doesn't show that the limit is 0.


How do I add a custom script on a specific page?

I wanted to add custom JavaScript code on certain nodes. I have written this code in the html.tpl.php template, but this doesn't work. (donate is the path alias for a node.) <?php if(arg(0) == 'DONATE'): ?>   <script>     (function() {       // ...     );   </script> <?php endif; ?>


In 3.5e, there's the permanency spell, which makes other spells permanent. There isn't a spell like this in 5e, but there are ways to make specific spells permanent, usually by casting it in the same spot every day for a year. In this way, the need for permanency has been reduced, but it still would have some uses, like creating a permanent detect thoughts aura.   Have the designers given any reasoning as to why this spell did not make it through editions? Absent of that, is there a consensus in the community that has been reached (e.g. "It would have been too powerful")?


Let $p=4k+1$ be a prime number such that $p=a^2+b^2$, where $a$ is an odd integer.Prove that the equation $$x^2-py^2=a$$ has at least a solution in $\mathbb{Z}$.


How can a launcher .desktop file be added to the Unity7 Launcher from the terminal?

I have a setup script that configures a new Ubuntu installation just the way I like it. I want to add .desktop launchers to the Unity7 Launcher in this script (rather than dragging and dropping them to the Launcher). How can this be done?


Omnikey is a very useful extension, allowing user-customizable URL-bar searching for Safari up through v.12.  Safari now nags for update to v.13. As , Omnikey doesn't work with Safari 13, or at least doesn't do so without some fussing.   I assume (but don't know) that Safari 13 is a mandatory inclusion when one upgrades to Catalina. Has anyone tried Omnikey on Catalina running Safari v.13? Do any of the workarounds discussed in my prior question allow Omnikey to function on macOS Catalina as before?


Multiple tourist visa short period Indonesia

I will be travelling a lot out and in Indonesia for tourist purposes in a short period of time.  For example the 5th of December I will be leaving for Thailand and returning on the 10th, but already leaving for Malaysia on the 14th and returning on the 17th.  I am returning to Indonesia each time because I am travelling with my partner who has obligations in Indonesia.  This all will be done with the 30 day visa exemption, will the Indonesian immigration make a problem out of this?  FYI: I am dutch and my partner is Indonesian


Actual impact of W=0 in a neural network

As far as I understand, one of the main claimed problems with initializing e.g. a feed-forward neural network (with several $\text{tanh}$ or $\text{ReLU}$ layers) with $W=0$ is that it doesn't break "network symmetry", meaning, backpropagation would propagate the same error through all such units (i.e. "nudging all weights in the same direction"). This is, I presume, undesirable because we would not be learning "different" calculations through different paths of the network.  However, I'm confused why that even matters in this case given the fact that if $W$ ever drops to 0, we will effectively be propagating no gradients at all through the network, since W=0 would multiply all errors from the output and prevent any learning.  Put another way, even if $W=0$ does not break network symmetry (wasting calculations and paths in the network) is it correct to say that if $W=0$ (e.g. by initialization) we are effectively killing gradients in a neural network, and thus no learning can take place?


How to render from Eevee in Blender 2.8?

I have the Blender 2.8 version from the 21st Sep 2018 I was looking forward to render a test sequence but cannot find a render button anywhere? Does anyone know where to find it?