What is the recommended header for a table column showing date and time?

I have a column in a table that shows date and time and I would like to know what is the recommended header. These are the current choices:        I prefer the last one but it doesn't explicitly say that there is time information while the first two do say that but seem too explicit as it is obvious by looking at the values.


Find the sum of $\sum\limits_{n=1}^{\infty} \frac{x^{n}}{n(n+1)}$ on its domain of convergence.   This is my idea.  We have the radius of convergence is $R=1$. And $\sum_{n=1}^{\infty} \dfrac{x^{n}}{n(n+1)}=\dfrac{1}{x}\cdot \sum_{n=1}^{\infty} \dfrac{x^{n+1}}{n(n+1)}$.  Then let $f(x)=\sum_{n=1}^{\infty} \dfrac{x^{n+1}}{n(n+1)}$.  We have $f'(x)=\sum_{n=1}^{\infty} \dfrac{x^{n}}{n}$ and  $f''(x)=\sum_{n=1}^{\infty} x^{n-1}=\dfrac{1-x^n}{1-x}$  Then if I take the primity of $f''(x)$, I get: $f'(x)=\displaystyle\int\limits_{0}^{x}\dfrac{1-t^n}{1-t}\mathrm{d}t=-\ln(1-x)-\displaystyle\int\limits_{0}^{x}\dfrac{t^n}{1-t}\mathrm{d}t$  Then I will get a sum again, and that's not the goal.  What can I do then? Thank you so much.


PhD Applications: Can a good academic record in my master's compensate for a horrible UG academic record?

I have a very bad undergraduate academic record -- I failed or didn't attend the end semester exams for many courses (15 courses, to be exact!), and I  had to clear these later on, towards the end of my course.   Admissions to graduate courses in my country (India) are based on entrance examinations (and not your profile or UG record) -- which I've cleared and I'll be going to one of the best universities in my country.   I wish to do a PhD, and I want to keep options in the US or UK open. I intend to study well in my masters and get good scores, and, going by what I've done in the past couple of years, I think I'll be a lot more disciplined in my masters.   My only worry is: will my undergraduate record be a bottleneck no matter how hard I try in my masters? Should I just go into the industry after my masters? I really want to do a PhD!   My overall undergrad GPA is bad (2.72), with, as I've said, 15 "backlogs" (exams that I didn't attend or failed, and cleared later on). However, during the last 3 semesters, I took no backlogs and I averaged above 3. During the final two semesters, I averaged 3.2 and in the final semester I got a 3.4.


How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


How to attachment multiple file in infopath form 2010?

I want to attach multiple file in my infopath form. I already put attachment control in my infopath form. my problem is when I click the attachment file it can't open and appear.  Please help me on how to attach multiple file in infopath form 2010?


How come I don't see grub every time I boot?

I have noticed that when grub boots up I don't get a black screen on my monitor. I want to make it so that it will show every time I boot, not just when I turn it off manually and then turn it on again. Thank you in advance for your help.


When is memory deallocated in relation to static variables?

I was wondering if someone could shed some light on the deallocation-of-memory processes in c++.   If I have a struct that I declare static, such that it's constructor is the first thing to execute and its destructor is the last thing to execute:  struct initializer execute_before_and_after_main {      initializer() { init(); }      ~initializer() { cleanup(); } } static initializer execute_around_main;   And I then have something like:  class my_class {     my_object objects[100]; } extern my_class gobal_my_class; my_class global_my_class;   and main is not important here:  int main (int argc, char* argv[]) {     .... }    When cleanup() is called, is the objects array now containing deallocated/invalid memory? Is there a standard  sequence of initialisation/destruction that c++ implements here that someone could perhaps point me to?   Thanks  EDIT: I understand this type of code is possibly not the best practice, but I am still wondering if the behaviour is defined.


Why does some lenses have red focus points on their focus rings?

A typical lens have white focus indicators on their lenses [5m 50m and infinity] but some have red points for 85m and farther and some lenses have a red curve instead of numbers.  What are these red focus numbers and curves?


As a student you take exams and a professors sets the question. So he is the one who is the authority on the exam. I am looking for a word which can be used in the following sentence-     Professor Charles ____________ three exams last month.   If I were to translate from my first language, I would use took, but this seems ambiguous because it is students who take exams. Other words that I thought of but am not sure about are gave, and set.   Which word should I use?


So I've tried new Gmail design. I couldn't image it is that ugly and unpleasant to use.  How to roll back to previous normal Gmail design?  New Gmail design:


Expectation of $\frac{1}{x+1}$ of Poisson distribution

As the title states, I'm trying to find the expecteed value of $\frac{1}{x+1}$ where $X \sim \mathrm{Poisson}(\lambda)$  My attempt:  \begin{align} &\sum \frac{1}{x+1} \cdot \frac{e^{-λ}\cdot λ^x}{x!} \\ \implies& \sum \frac{x+1}{(x+1)^2} \cdot \frac{e^{-λ}\cdot λ^x}{x!} \\ \implies&  e^{-λ} \cdot \sum \frac{\lambda^{x+1}}{(x+1)!} \cdot \lambda \end{align}  I don't know how to further progress from here ... Help is appreciated


What is the correct usage of the question mark when using a subsequent parenthesis?

Is this the correct use of the question mark?  Should it be at the end outside of the closing bracket?  See example below     How do we deliver it? (to the learner)


Removing White spaces from string is not working in c#

I am trying to remove whitespaces from string but it is not working  string status = "                                       18820 Pacific Coast Highway                                          Malibu, CA 90265";         string status1 = status.Trim();         Console.Write(status1);   The above code is not working  Expected Output:  18820 Pacific Coast Highway Malibu, CA 90265


Webmaster Tools shows URL errors linked from http://com.example.www/:http

I have a bog standard WordPress 4.2.1 site. I recently added it to Webmaster Tools and it is showing me URL errors (404s) that are linked from a weird URL: http://com.example.www/:http  (I have replaced my domain name with 'example'.)  There are two URL errors shown in Crawl > Crawl Errors > Smartphone:   mobile/ m/   When I click on either of this items, a popup appears telling me that Google could not crawl the page because it is non existent (which is true). When I click the Linked From tab, it shows that it is linked from http://com.example.www/:http  Where is this weird URL coming from?  EDIT:  The .htaccess is as follows:  # Begin default subdomain redirect # RewriteEngine on RewriteCond %{HTTP_HOST} ^example.co.uk RewriteRule ^(.*)$ http://www.example.co.uk/$1 [R=permanent,L]  RewriteCond %{HTTP_HOST} ^example.com RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L] # End default subdomain redirect #  # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress


Please explain the logic behind $d(xy) = y(dx) + x(dy)$

I've seen $d(xy) = y(dx) + x(dy)$, but I don't understand the principle behind it and memorizing it is lame.  Can anyone explain what is going on here?  For example from physics, $$F = {{dP} \over {dt}}$$ $$F = {{d(mv)} \over {dt}}$$ $$F = {{v(dm) + m(dv)} \over {dt}}$$ Since $$dm = 0$$  $$F = {{m(dv)} \over {dt}}$$ Since $$a = {{dv} \over {dt}}$$ $$F = ma$$


Old TV mini-series with a living brain in a lab

Some years ago I saw part of an episode of a sci-fi miniseries (maybe British) with a brain in some research laboratory.  It was the brain of a man who died many years ago.  The time is in the future (I think), and the scientists managed to resurrect the brain with some kind of electrical futuristic equipment, some wires and sensors. We see strange flashbacks of the past mixed with unfocused images of the scientist.  The brain is kept inside a liquid and gradually with time he understands what happened, that he was brought to life, and connected to a some kind of equipment that allows him to see, watch, and think. The scientists explain everything to him and I remember that in the end he gets some kind of body but I'm not sure.  Does anybody remember the name of this nineties TV series or made-for-TV movie?


Do the Elf Blood racial trait allow you to fulfil "being an elf" prerequisites?

In Pathfinder, half-elves have the following racial trait:     Elf Blood: Half-elves count as both elves and humans for any effect related to race.   Since now I always considered that it meant that a half-elf could for example be an  which is "available to elven oracles", or a  which has "race: elf" as a prerequisite.  But it seems to me more and more odd that this is possible, on top of the other stuff that is specifically designed for half-elves.  What is the official ruling on the subject? Can a half-elf took an archetype, a prestige class, a feat or other stuff with "being an elf" as a prerequisite?  As a sidenote I deliberately didn't put "elf" as a tag since the same question could be asked for any race with the "X blood" racial trait (eg half-orcs).


Question about holomorphic functions and the Riemann hypothesis.

I recently watched a video on youtube by a group called Numberphile. Theyre were discussing the Riemann Hypothesis and I was confused when they brought up 'Analytical Continuance' and 'Holomorphic Functions'.  Now where I am confused is when they bring up the analytical continuance of this function.  How does  $$ \zeta(-1)=\frac{1}{1^{-1}}+\frac{1}{2^{-1}}+\frac{1}{3^{-1}}+...=1+2+3+...=-\frac{1}{12}$$ Doesnt this series diverge since the sum of the natural numbers diverges??


How to remove menu item which added multiple times

I am working on a plugin. Unfortunately my unregister() function attempted to remove the menu function from a wrong menu. Now the result is when I load and enable the plugin and open up the menu I see my entry multiple times. Here is my register and unregister functions:  def register():     register_class(TunnelGen)     bpy.types.VIEW3D_MT_edit_curve_specials.append(menu_func)   def unregister():     for i in range(10): # the menu is registered accidentally multiple times         bpy.types.VIEW3D_MT_edit_curve_specials.remove(menu_func)     unregister_class(TunnelGen)   How can I fix the menu?


How can I count the number of records that have a unique value in a particular field in ROR?

I have a record set that includes a date field, and want to determine how many unique dates are represented in the record set.  Something like:  Record.find(:all).date.unique.count    but of course, that doesn't seem to work.


Is there a module which can allow users to place the same block in multiple regions? That way I don't have to make the same View block twice.


sum of this series: $\sum_{n=1}^{\infty}\frac{1}{4n^2-1}$

I am trying to calculate the sum of this infinite series after having read the series chapter of my textbook: $$\sum_{n=1}^{\infty}\frac{1}{4n^2-1}$$  my steps:   $$\sum_{n=1}^{\infty}\frac{1}{4n^2-1}=\sum_{n=1}^{\infty}\frac{2}{4n^2-1}-\sum_{n=1}^{\infty}\frac{1}{4n^2-1}=..help..=sum$$  I am lacking some important properties, I feel I am coming to the right step and cannot spit that out..


VS Code Salesforce plugin deploy does not provide an error message

VS Code plugin for salesforce seems to be broken yesterday, It does not provide proper error message in case of failure.  Tried this in a developer org as well as scratch org. Neither deploy code or push gives an error message, and every time we need to go to Salesforce setup -> Deployment Status to view the details.  Is anyone aware of any workaround?


Given a matrix $A$ with a known Jordan decomposition, what is the Jordan decomposition of $A^2+A+I$?

So far, I understand that I have to look at each Jordan block. How do I prove that for a Jordan block with a value of x, $J_n(x)$, the Jordan decomposition of $(J_n(x))^2$ is $J_n(x^2)$ ? I have a feeling this will lead me to the solution. Thanks for your time.


Suppose $A$ is an $n\times n$, symmetric, positive definite matrix, i.e. $(Ax,x) > 0$ for all $0 \neq x \in \mathbb{R}^{n}$ and $A^{T} = A$. Propose the following norm, called the "A"-norm, by $$ \|x||_{A} := (Ax,x)^{1/2}.$$ Trivially, this satisfies nonnegativity of the norm as well as scalar multiplication. How may it be shown that the triangle inequality, i.e. $\|x+y\|_{A} \leqslant \|x\|_{A} + \|y\|_{A}$, is also satisfied?


How distinct are the meanings of the terms "CSPRNG," "DRBG" and "stream cipher"?

Are there universal, consensus definitions for the following terms?   Cryptographically secure pseudo-random number generator ("CSPRNG") Deterministic random bit generator ("DRBG") Stream cipher   This is primarily a question about the terminology rather than the concepts (although I do not master the concepts by any means either).  My confusion arises because:   I recall seeing some reference (that I can't find again now) which equated CSPRNGs and stream ciphers, due to the fact that expanding a finite key to a long, secure keystream is basically the same problem as generating a long cryptographically-secure pseudo-random sequence from a short seed.  So correspondingly, stream ciphers are sometimes used as PRNGs, as in for example . The term "DRBG" appears to be mostly used by NIST in connection with their SP 800-90A algorithms, and which stresses safety against adversaries who can observe the state at one point in time.  The key concepts here, as I understand them, are forward secrecy and periodic reseeding from external entropy sources. The term "CSPRNG" apparently gets used in both senses (see for example ).


Upgrade to the specific php 7.1/7.2 from php 7.0 in Ubuntu 16.04

How can I upgrade to php 7.1 from php 7.0 in ubuntu 16.04 ?  If I do a php -v I get this message:  PHP 7.0.8-0ubuntu0.16.04.3 (cli) ( NTS ) Copyright (c) 1997-2016 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies     with Zend OPcache v7.0.8-0ubuntu0.16.04.3, Copyright (c) 1999-2016, by Zend Technologies


Find all functions $f:\mathbb N_0\to \mathbb N_0$ such that $f(a^2+b^2)=f(a)^2+f(b)^2$

I think the answer is that there are only 2 such functions: the zero function and the identity function, but I'm not able to prove it. A few findings:  $f(0)=0$ and thus $f(a^2)=f(a)^2$.  If $f(1)=0$, then $f(2^n)=0$ for all $n\in \mathbb N_0$; if $f(1)=1$, then $f(2^n)=2^n$ for all $n\in \mathcal N_0$ (can be proven by PMI).  For any functions satisfying the condition, say $f,g$, $f\circ g$ also satisfies the condition.   Source of this problem:


i have CUSD data like this:  "AT+CUSD=1,"*388#",15   OK    +CUSD: 0,"PulsaUTAMA Rp.3375. Aktif 01/12/16, Tenggang 31/12/16,SMSHarian 0 ke ISAT& 0  SMS ke Opr lain.Eklusif Arsenal+grts tlp 1jm,hub *465*4#",64  "  How to regex to get value :   PulsaUTAMA Rp.{currency balance}  Aktif {dd/mm/yyyy}  Tenggang {dd/mm/yyyy}   Thank's


I am currently having a problem with removing sudo access from a user. The user is not in the sudo group but is able to carry out sudo commands and I am not sure how I can restrict the user from carrying out sudo commands. I have tried using the sudoer file but Can't seem to figure it out. Thanks so much for the help !


I want installed a complete Ubuntu 20.04.2.0 on a USB Flash Drive, according to , using 64GB USB Flash Drive I wonder is it enough space or should I use larger USB? And how many space allocate  to each partiton? FAT32 partition, EXT4 partition, Swap partition. Is the allocation order matters?  FAT32 partition  EXT4 partition  Swap partition   (I did not understand the purpose of each of them). In the meantime, ZOOM and VSCode is required, I do not need a lot of memory but I want it to be enough.


What are the differences between Generics in C# and Java... and Templates in C++?

I mostly use Java and generics are relatively new. I keep reading that Java made the wrong decision or that .NET has better implementations etc. etc.  So, what are the main differences between C++, C#, Java in generics? Pros/cons of each?


Title may not be correct but I didn't know how to ask my question!  I'm trying to learn writing Object-Oriented in JavaScript and I'm rewriting one of my projects so instead of lots of anonymous functions and duplicated codes I can use methods of classes. Now I'm facing an error on the following code:  var cart = {     cartModal: $("#cart-modal"),     $checkboxes: this.cartModal.find("input[name=check]"),     //           ^^^^^^^^^^^^^^     toggleModal: function(e) {         this.cartModal.modal('toggle');         this.handleCheckboxes();         e.preventDefault();     },     handleCheckboxes: function() {         this.cartModal.find("input.checkall").click(function() {             $checkboxes.prop("checked", !$checkboxes.prop("checked"));         });     }  };     $("#cart-link").click(function(e) {         cart.toggleModal(e);     });   But I keep facing this error:  TypeError: this.cartModal is undefined   Should I use anything else to use an property inside an object? Or the problem lies somewhere else?


Null Pointer Exception while calling start() method

Please help as I am getting null pointer exception in the method onEndCall, Please refer to the below code  public class GET_END_DETAILS extends Thread implements EndCallInterface  {  public String strCallId= ""; public String strVxmlServerIp= ""; public String strCli= ""; public String strDnis= ""; public String strCallStDateTime=""; public String strCallEndDateTime="";  public Connection conn;  public CallableStatement SQLStm; //public ResultSet rs=null; public int res;  public CallEndAPI callEndAPI;  Thread t;  public void onEndCall(CallEndAPI callEndAPI) throws AudiumException{     try{   //          SETTING CALL END DATE TIME          DateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");//24hrs         Date date = new Date();         strCallEndDateTime=dateFormat.format(date);          callEndAPI.addToLog("Call End Time : ", strCallEndDateTime);          callEndAPI.setSessionData("S_CALL_ENDDATETIME", strCallEndDateTime);          strCallId= callEndAPI.getSessionData("CallID").toString();          callEndAPI.addToLog("CallID : ", strCallId);          strVxmlServerIp= callEndAPI.getSessionData("S_VXMLSERVER_IP").toString();          callEndAPI.addToLog("Vxml Server IP : ", strVxmlServerIp);         strCli=callEndAPI.getSessionData("S_ANI").toString();          callEndAPI.addToLog("CLI : ", strCli);           strDnis=callEndAPI.getSessionData("S_DNIS").toString();          callEndAPI.addToLog("DNIS : ", strDnis);          strCallStDateTime=callEndAPI.getSessionData("S_CALL_STARTDATETIME").toString();            callEndAPI.addToLog("Call Start Time : ", strCallStDateTime);          //callEndAPI.addToLog("Call End :", "Call ID=" + sCID );                callEndAPI.addToLog("Starting the Java Thread to insert values into EWT table","");              t.start();             }catch (Exception e){         callEndAPI.addToLog("Call End Exception: ", e.getMessage().toString());      }   }  public void run(){      try{         callEndAPI.addToLog("Inside run() method","");         Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");         conn = DriverManager.getConnection("jdbc:sqlserver://172.18.150.154;user=ivr_user;password=aircel123;database=AircelInterimReport");         //Statement SQLStm= conn.createStatement();          //String sSQL="insert into CALL_END_DETAILS_EWT (CALL_ID,VXMLSERVER_IP) values ('" + sCID + "','" + sVxmlIP + "')";          String sSQL="{call LOG_CALLEND_DETAILS_EWT(?, ?, ?, ?, ?, ?)}";          SQLStm= conn.prepareCall(sSQL);          SQLStm.setString(1, strCallId);         SQLStm.setString(2, strVxmlServerIp);         SQLStm.setString(3, strCli);         SQLStm.setString(4, strDnis);         SQLStm.setString(5, strCallStDateTime);         SQLStm.setString(6, strCallEndDateTime);          callEndAPI.addToLog("Call End : ", "Insert Statement " + sSQL);         res =SQLStm.executeUpdate();          callEndAPI.addToLog("","Values inserted to EWT SQL table successfully");             /*int res;         res=Call_Log_EWT(sCID,"172.18.150.66" , "121313", "4555");          if(res>0)             callEndAPI.addToLog("Call End API", "Database Connection successfull and Table Record Count is : " + res);          else             callEndAPI.addToLog("Call End API", "Database Connection failed");*/      }catch(Exception e){         callEndAPI.addToLog("Exception occured",e.getMessage().toString());     }   finally {     try     {          conn.close();          SQLStm.close();      }     catch(SQLException sqlEx)     {         callEndAPI.addToLog("SQL Exception while closing connection : "  , sqlEx.getMessage().toString());     } }   } }


the elephant and elephant - proper and common noun?

"I saw the elephant at the zoo."  "I saw elephants at the zoo."    In sentence 1, is the word the elephant denote a proper noun and in sentence 2, is elephants denoting common noun?  Note: Please visit the link (Definite article section) -


I have to show $n! \leq \left( \frac{n+1}{2} \right)^n$ via induction.  This is where I am stuck:  $$\left( \frac{n+2}{2} \right)^{n+1}  \geq \dots \geq =2  \left( \frac{n+1}{2} \right)^{n+1} = \left( \frac{n+1}{2} \right)^n(n+1) \geq n!(n+1) = (n+1)! $$  I approached this from both sides and this is the closest I can get. I realize that $n+2$ on the left has to be bigger than $n+1$ on the right, but I do not know who to show that it overpowers the factor two I have from the right.  What could I do to fill the dots? Currently, I just have it without the dots, but I would be happier if I could back it up.


How to read configuration option into variable?

I want to read configuration option as TEXT but SHOW statement is strange because it does not return any rows.  create or replace function get_param() returns text as $$   begin   return query show custom.param; -- does not work, because show does not return setof  end; $$ language plpgsql;  set custom.param = 'custom value'; select get_param() as param;   Is there any other way of doing this?    Actually I found answer in a question asked by me :)  :  SELECT current_setting('custom.param');


What should I look for when buying chain lube / lubricant?

In the past, I personally have only used WD-40.   However, I have occasionally had my bicycle looked over at the locally run, free service sessions and most of the mechanics there use a hand applied type of greasy gel (I forget the name).  Questions:   Is WD-40 suitable for bicycle chains? Would alternatives provide better chain longevity? When shopping around for lubricant, what are the most important things to look for? What do you use and why?  (optional added extra) Any tips for reducing chain wear?


How can I change directory on bash on Ubuntu on windows?

I cannot change directory like this    I have a problem like this:


Ubuntu all of the sudden got into a black screen, then now just in grub rescue prompt but I can't fix it

My ubuntu (single boot) system went into black screen after booting so I went into BIOS mod (which I shouldn't have) and optimizing it and try to boot boot, it just boot into grub rescue prompt. I have tried to follow everything I can find online, but so far I can't get anything to work:  I know I don't have /grub/i386-pc but instead I have the x86...efi file  I don't know how to fix it anymore


Does there exist a set $A$ such that $A \in A$?  The empty set doesn't work. Also, it seems clear that if $A$ exists, then it must be infinite.  If no such set exists, then is there a simple proof of this?


I would like to know, what would happen if a primordial black hole mass of Earth, would impact with the Earth

Sorry for any mistakes, I'm Italian  Hello everyone, I'm writing a novel, in which the Earth is devastated by enormous geological cataclysms (something like the end of the world), and to implement my cataclysm, I thought of a primordial black hole with a mass similar to that of the Earth. At first I thought to stabilize the black hole inside the Earth, but it would have destroyed the planet, and I do not want to destroy it; or so thought to pass away from one side to the Earth from the black hole, causing very powerful shock waves, which first pierce the mantle, causing the eruption of every volcano on earth, and then the crust collide, greatly destabilizing the tectonic plates , causing massive earthquakes on a global scale, and triggering the formation of giant tsunami impacting against every continent. such a scenario is likely, or not.  ps: I hope that the question is connection to physics.


Optimized rate of frequency of changing title and description/keywords meta-tag?

OK we can change the content at any frequency. But what about <title>, description-meta tag, keywords meta tag. I think if we change title, description, keywords of any website daily, then that may affect page ranking. What is the real fact? What is the minimum and maximum rate of frequency to change these items? Legal practice may different from successful practice. Please explain me.  NOTE:  If this type of question answered before, then mention the link and please don't close or ban the question.


I want to visit France twice in a short amount of time. Do I need 2 visas?

I need to go to France twice, for a total duration of 40 days, but separated. The first time I am going to stay a week in Paris, probably in May, maybe around the end of April, and the second time in August. I've heard the validity of a Schengen visa can last up to 6 months and the total duration cannot exceed 90 days. Is it 90 days altogether or 90 days starting the first day you enter France?


Can all ordinals be obtained by taking successors and countable limits?

Define a class $K$ of ordinals inductively as follows:   $0=\emptyset\in K$. For all $\alpha\in K$, the succesor of $\alpha$ is also an element of $K$. For every function $f\colon \mathbb N\to K$, the ordinal that immediately follows after all ordinals $f(0),f(1),\dots f(n),\dots$ is also an element of $K$.   Call an arbitrary ordinal $\beta$ fett iff $\beta\not\in K$.  Question. Do fett ordinals exist? In other words:     Is there an ordinal $\beta$ such that $\beta$ is not an element of the class $K$?


I am writing an app, which needs to take the screen shots automatically (just like pressing PrintScreen button). So please suggest me how to get this done. A raw 24 bit BMP image would suffice.  PLEASE NOTE: My app is in C, so any win32 APIs that can be called from my code is what I am looking for.  (Sometimes back I had got an example code from codeproject which used to get the screen shots but the mouse pointer user to blink when the screen shot is taken. As multiple shots are taken this looks irritating to the user, so I don't want the mouse pointer to blink!)


Does light get acceleration due to gravity?

When an object, say a ball,  is attracted by the black hole it gets acceleration due to gravity. Suppose light is moving towards the black hole vertical to it... then does it gain acceleration due to gravity?  If yes then won't be the speed of light increase and get violated?


Is there a better way or more efficient way to write this IF statement?


Dolphin file manager interface looks outdated

I just wanted to replace Nautilus with Dolphin, installed it, but it looks like this:       How can i make dolphin look better, and make it default file manager?


Saw this problem on a FaceBook meme that said the pin code to his ATM debit card is the solution to the following problem:  $$\int_{0}^{1} \frac{(3x^3-x^2+2x-4)}{\sqrt{x^2-3x+2}} \, dx$$  I was trying to see how we could break this up into an easier integrals but nothing comes to mind at first glance. Perhaps complex integration is possible?


I have a Rare Ceremonial Knife (Witch Doctor) with 2.0% Chance to Knockback on Hit. Is this effect triggered by non-melee attacks, such as Firebomb and Firebats? I have not seen any evidence in-game that the effect is triggering when using these two skills.


Make an array of arrays with 10 items each

I have an array that has X number of values.  I'm trying to make an array of arrays with 10 items each of X. How do I go on about in doing something like this?  I've tried using a count while iterating it and let's just say I didn't get anywhere with that.   I want something like   # Random list of 20 items random_array = [1,...20]  # Do cool things here  # Output after doing cool thing fancy_array = [[1,...10],[11,..20]]


I have came across this reference:      This phrase is virtually meaningless, but we often hear it on the news and in bloated speeches. “In terms of” is really just a wordy and sloppy transition—usually an unoriginal disguise for a simple preposition, such as “in,” or a more elegant phrasing, such as “in relation to.” “In terms of the cost, it is high,” is easily revised to “Its cost is high.” Do not use “in terms of,” or do so trembling.   Is the reference really right?  Can I use the following sentence?     The figures are expressed in terms of a percentage/in percentage terms.    If so, the phrase "in terms of" seems not to be referred to relation.


Why should a solution to the wave equation be finite?

A function which represents a wave must satisfy the following differential equation: $$\frac{\partial^2 y}{\partial t^2} = k\frac{\partial^2 y}{\partial x^2}$$ Any function that satisfies the wave differential equation represents a wave provided that it is finite everywhere at all times.  What does "it is finite everywhere at all times" mean?  Question:Which of the following functions represent a wave? a) $(x - vt)^2$ b) $\ln(x + vt)$ c) $e^{-(x - vt)^2}$ d) $(x + vt)^{-1}$  Only option (c) is given as the answer though all 4 satisfy the differential equation. I believe I did not understand the significance "function should be finite everywhere at all times" which is why I am unable to answer the aforementioned question.


Rendering doesn't work after switching on the denoiser

Rendered the animation without denoising before and it was fine. but i wanted to denoise it in the composite with nodes. but when i rendered it it overrided the previous animation, plus nothing renders at all even image or animation.  Thank You.


When to scale/normalize for supervised learning algorithms?

I'm trying to understand which supervised learning algorithms require normalization/scaling of features.  It appears that when an algorithm works by calculating the conditional probability (Naive Bayes, Linear Discriminant Analysis), then normalization is not necessary.  However, for algorithms that use any kind of distance metric (K-nearest neighbors, Support Vector Machine), then normalization is necessary.   Is this right?  I'm a complete n00b so please jump in and correct me wherever appropriate.


It is commonly known that friction opposes motion.  For example, if a block is sliding down a wooden surface with no forces other than friction acting on it, friction acts in the direction opposite to the block's velocity.  Let's say a car is driving at constant speed along a perfectly circular loop road.  Centripetal acceleration works toward the center of the circle, but the car is moving forward along the loop, perpendicularly to the car's acceleration.  As we have already established, friction should be in the opposite direction of the car's motion.  But no- apparently it acts as the centripetal force that is perpendicular to the velocity.  What is going on with this discrepancy?  Edit: new comment  Edit: Furthermore, the book I am using says that, when the loop is banked, friction ceases to act centripetally and the centripetal force is provided entirely by the horizontal component of the normal force (neither friction nor, to my surprise, parallel force.). Why is that?  Thanks!


within workdir I have many filles with the names in the following format: 7000_grid12_10_lig_cne_767_lig.dlg  I need one line sed (or other shell utility) expression suitable to substitute _grid12_ to _ , so the filename become 7000_10_lig_cne_767_lig.dlg  I've tried to use rename for all filles but it did not work (verbose found nothing) rename -v 's/_grid12_/_/' *.dlg


How can I make this Dodecahedron shaped product?

I'm trying to recreate this product for a client in Blender.  I really thought it would be a simple project, but I cannot figure it out! I'm including the blend file here if it helps:  Here's how I got to this point.  I didn't see an easy way to create the Dodecahedron shape so I started with a circle and changed the number of vertices to 5.  I fill that shape in, duplicated it and tried my best to recreate the shape, merging vertices as I went.  I then used the Cast modifier to straighten out my shape and then at each vertices, I created an ico sphere. I did try a regular sphere and also a sub-d cube, but after those attempts failed I tried an ico sphere.  I then attempted to delete the faces where the bars would connect each sphere, and would try bridge loops to connect the two spheres together.  But the angles I could never get right.  I've also tried mirror modifiers, but it's actually kind of a difficult shape that's hard to mirror and get right. I then thought I could use the wireframe modifier on the shape and use a boolean modifer to merge with the ico spheres, it just didn't work, or at least isn't professional enough for this project. I need to make this look as close to the product as possible, including the seams. Any help is greatly appreciated! Thank you!


Imported CSV data is not displayed in QGIS

I watched a simple video tutorial on how to accomplish it, but nothing shows up on my project when I add the layer. Even if I try zoom to layer, the screen just shows blue. I'm not sure if it has something to do with my Excel, computer, or program. I really need help as I am new to QGIS. (I just posted this, but it won't let me comment to people under that question any more) I have a layer of google hybrid, but when I do add the new layer it is at the top and checked transparency and everything. Its just not accepting the data I entered into the excel spreadsheet is my guess to what the issue is.  I have the spreadsheet with the name, longitude, latitude. Save as CSV In QGIS go to Layer > Add layer > Add Delimited Text Layer Upload the CSV Excel file Add  Nothing shows even tho there is a line in the layers (bottom left) showing that "something" is there but if I choose "zoom to layer" it changes to a blue screen I have a Base layer Google Maps hybrid, and an area of interest on Georgia


xargs plus shell string manipulation vs sed

I am trying to summarise the file extensions in a directory recursively.  find .| xargs -d "\n" -I@ echo "${@##.*}" | sort |uniq -c  But this is giving me a series of blank lines.  Not what I wanted.  I am aware of:  find . -type f | sed 's/.*\.//' | sort | uniq -c from a similar question, but am curious about why my formulation doesn't work.


how to upgrade my php mysql password hashing?

I'm still using md5 hashing for my site and I need to upgrade, yet I don't know how... Here is the code that I'm using now     $salt1 = "mysite";     $salt1 = md5($salt1);     $salt2 = "passed";     $salt2 = md5($salt2);     $salt3 = "php";     $salt3 = md5($salt3);     $password1 = $salt1.$password1.$salt3;


Is there any possibility how to enumerate AppDomains within Process?


Any idea to start drawing this dynamic figure?

I have not put the MWE because I don't know where to start and check for packages to do the job.


What is the combinatorial interpretation for this expression$ \sum_{i=0}^{n} (-1)^{i} \binom{n}{i} = 0$

What is the combinatorial interpretation for this expression  $$\sum_{i=0}^{n} (-1)^{i} \binom{n}{i} = 0\:?$$


How would you solve for x in the equation:  $$x^{x^x}=2$$ using the Lambert W-Function?


How to check the count of .txt files in a folder (dir command)?

How can use dir command to check how many .txt files there are in a folder (for example,  C:\Temp\)?


UTF-8 saving in mysql not working properly

For some products (product_description) in my job website, I have set romanian chars. Collation of MySQL tables are utf8_general_ci and it displays perfectly on the frontend of the site.  Problem starts when I try to save them. I tried from both MYSQL-Front, an app that connects to the database and with which you can work on the tables, and also with phpMyAdmin, but no chance.  I tried exporting with UTF-8 and few ISO encodings but still I get funny chars.  How can I go about this and save my eastern europe chars right (so when say I get in trouble and need to import my .CSVs or .SQLs, the chars are saved back the right way.  thanks,


I am a tikz beginning. Here is a figure I am working on. I cannot avoid the "Dimension too large" error.  \documentclass{standalone} \usepackage{tikz} \usepackage{tkz-euclide} \usetkzobj{all} \begin{document}   \begin{tikzpicture}[x=2cm,y=2cm,scale=0.75]     \coordinate [label=below:$O$](O) at (0,0);      \coordinate [label=below:$A$](A) at (0,-1);      \coordinate [label=below:$D$](D) at (-1.1,-1);      \coordinate [label=below:$E$] (E) at (1,-1);      \coordinate [label=0:$B$](B) at (15:1);      \coordinate [label=180:$C$](C) at (140:1);     \draw (0,0) circle (1); \draw (C) -- (O) -- (B);     \draw (C) -- (A) -- (B);     \draw (D) -- (E);     \tkzMarkAngle[label=$124^{\circ}$,dist=0.35,arc=l,size=0.2,color=black,fill=none](B,O,C)     \tkzMarkAngle[arc=l,size=0.3,color=black](A,C,O)   \end{tikzpicture} \end{document}   I find it works if I change "scale=0.75" to "scale=1". But I want to keep the figure small.


Is there a way to view Google Chrome browsing history past three months ago?

I'm trying to find a page I looked at months ago but it looks like it's disappeared off the face of the planet. I thought I would have better luck looking through my Google Chrome browsing history, but I can't see history past September. Can I force Google Chrome to display history further into the past? Can I retrieve the history manually from a directory? Is the history data gone?


Let $(X, d)$ be a compact metric space. Let $f: X \to X$ be such that $d(f(x), f(y)) = d(x, y)$ for all $x, y \in X$. To show that $f$ is onto.  Since the function $f$ satisfies $d(f(x), f(y)) = d(x, y)$ for all $x, y \in X$ we can say that the function is uniformly continuous.  Now let us assume that $f$ is not onto then $f(X) \subset X$, a proper subset. Then how can I bring a contraction to show that $f$ will be onto??


I can do df . to get some of the info on the mount that the current directory is in, and I can get all the info I want from mount. However I get to much info (info about other mounts). I can grep it down, but am wondering if there is a better way.  Is there some command mountinfo such that mountinfo . gives info I want (like df ., but with the info that mount gives.)    I am using Debian Gnu+Linux.


I can't get beyond the graphical login screen since I ran apt-get upgrade on my brand new Ubuntu Dell with Ubuntu 14.04  The permissions on .Xauthority, .ICEauthority, and /tmp are correct. Reinstalling lightdm did not help; I tried that three times in various variants. Switching over to gdm caused a black-screen nightmare that took me half an hour to solve, and I'm back to lightdm. I installed linux-generic, and it didn't help. That exhausts everything suggested on this site. I have an nvidia card. Any idea what I can do?   Here is the content of .xsession-errors:  init: gnome-session (Unity) main process (2195) terminated with status 1 init: unity-settings-daemon main process (2182) killed by TERM signal init: Disconnected from notified D-Bus bus init: logrotate main process (2097) killed by TERM signal init: update-notifier-crash (/var/crash/lightdm.0.crash) main process (2130) killed by TERM signal init: update-notifier-crash (/var/crash/_usr_bin_software-properties-gtk.1001.crash) main process (2131) killed by TERM signal init: update-notifier-crash (/var/crash/_usr_bin_unity-control-center.1001.crash) main process (2133) killed by TERM signal init: xsession-init main process (2173) killed by TERM signal init: hud main process (2189) killed by TERM signal init: unity-panel-service main process (2197) killed by TERM signal   I have resinstalled Ubuntu twice to fix various problems, but the login loop happens every time, except for the first login after each installation.   And this is the result of grep -i nvidia in /var/log/Xorg.0.log  [    74.238] (II) Module glx: vendor="NVIDIA Corporation" [    74.238] (II) NVIDIA GLX Module  375.66  Mon May  1 14:28:39 PDT 2017 [    74.238] (==) Matched nvidia as autoconfigured driver 0 [    74.238] (II) LoadModule: "nvidia" [    74.239] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so [    74.239] (II) Module nvidia: vendor="NVIDIA Corporation" [    74.239] (II) NVIDIA dlloader X Driver  375.66  Mon May  1 14:03:26 PDT 2017 [    74.239] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [    74.239] (II) NOUVEAU driver for NVIDIA chipset families : [    74.251] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the [    74.251] (EE) NVIDIA:     system's kernel log for additional error messages and [    74.251] (EE) NVIDIA:     consult the NVIDIA README for details. [    74.383] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)


When sample size is large, can I get away with 10 bootstrap resamples?

The ggplot2 package in R includes a dataset called diamonds. The dataset can be accessed by loading ggplot2 like this:  library(ggplot2)   I'm using the boot package to calculate a 95% confidence interval for the mean of the table variable. The table variable has 53,940 observations, and therefore when I tried to use 10,000 bootstrap replicates R crashed:  library(boot)  boot_diamonds_10000 <- boot(diamonds,function(data,indices) mean(data[indices,]$table), R=10000)   I then tried using 1000, 100 and 10 bootstrap replicates like as below. The 1000 and 100 replicates are still slow function calls, but 10 replicates is faster:  boot_diamonds_1000 <- boot(diamonds,function(data,indices) mean(data[indices,]$table), R=1000)  boot_diamonds_100 <- boot(diamonds,function(data,indices) mean(data[indices,]$table), R=100)  boot_diamonds_10 <- boot(diamonds,function(data,indices) mean(data[indices,]$table), R=10)   These all give pretty much the same 95% confidence intervals:  quantile(boot_diamonds_1000$t, c(0.025,0.975))  # 2.5%    97.5%  # 57.43890 57.47682  quantile(boot_diamonds_100$t, c(0.025,0.975))  # 2.5%    97.5%  # 57.43638 57.47438   quantile(boot_diamonds_10$t, c(0.025,0.975))  # 2.5%    97.5%  # 57.44636 57.46841    To avoid crashing R or waiting for slow functions calls, is it reasonable to use 10 bootstrap replicates when the sample size (53,940) is so high?


Defining a homomorphism from S_n to Z_2 and showing that A_n is its kernel.

I do not know to to explicitly state the homomorphism. (Revision Question).


When does reflow happen in a DOM environment?

What kinds of activities will trigger reflow of web page with DOM?  It seems there are different points of view. According to ,  it happens   When you add or remove a DOM node. When you apply a style dynamically (such as element.style.width="10px"). When you retrieve a measurement that must be calculated, such as accessing offsetWidth, clientHeight, or any computed CSS value (via getComputedStyle() in DOM-compliant browsers or currentStyle in IE).   However, according to , taking measurement triggers reflow only when there is already reflow action queued.  Does anybody have any more ideas?


How can I transition from industry to academia without having a college degree?

I've been working in the "private sector" since my late teens. I've gathered good web-development experience to be able to find work quite easily thankfully. I was never really interested in getting a degree, I only have a high-school diploma. I was passionate enough to study for myself and learn new things from colleagues and friends.  Web-development is still my passion, however recently I've been thinking about the actual work that I've been producing over the years for the companies I've worked for. It seems as though that even if the work is fun and challenging, I still get very little recognition for it: once the work is produced, my name is barely ever mentioned. I've been asking myself if all these things I'm building are really going to change someone's life.  Then I look at academia and research. Here people are doing things they actually love and study those subjects deeply with passion and generate new knowledge to help others within a specific field.   Has anybody ever switched from an industry job to an academic job? I'm wondering if it's possible to do research without a degree. What suggestions might you have for someone in my situation that wants to get a glimpse of the life of an academic where you can build and study something you actually love and not always do what "the company" wants.


I've been trying to change my skin. I can see my skin, but everyone else sees me as Steve (the default skin). I need to change my skin or I will explode in anger. What am I doing wrong?


BeanUtils.copyProperties() throw NullPointerException when using on Tomcat

BeanUtils.copyProperties() throw NullPointerException on Tomcat, but on localhost it works fine.  I've checked everything and dto isn't null, only the properties of user is null which is fine.  public void saveUser(UserDTO dto) {     User user = new User();     BeanUtils.copyProperties(dto, user);      session.beginTransaction();     session.save(user);     session.getTransaction().commit(); }   my User.java  public class User {      @Id @GeneratedValue     private long id;      private String userId;     private String firstName;     private String lastName;     private String email;     @Enumerated(EnumType.STRING)     private Role role;     private String encryptedPassword;     private String salt;     private String token;  ... getters and setters method ... }


I am not very familiar with the theory of Galois representations, but I do know a bit about both Galois theory and representation theory. Recently I learned about the notion of a normal basis for a Galois extension which led me to consider following straight-forward Galois representation: Let $L/K$ be a Galois extension and choose a $K$-basis for $L$. Then each element of the Galois group is a $K$-linear map, hence may be represented as a matrix with respect to our chosen basis.     Question 1: What is known about the decomposition of this representation?   Since a $K$-basis for $L$ contains at most 1 element of $K$, it seems to me that there is at most 1 trivial subrepresentation. Can every irreducible representation occur? If we chose a normal basis for $L/K$, then the representation described above will be the permutation representation, no?  The problem of constructing a normal basis for a Galois extension made me wonder about the Galois invariant subspaces. For example, in $\mathbb{Q}(\sqrt{2})/\mathbb{Q}$, I can quickly spot two Galois invariant subspaces: $\mathbb{Q}$ and $\sqrt{2}\mathbb{Q}$, which I am fairly confident exhausts the supply.     Question 2: Can we use representation theory to classify/specify all the Galois invariant subspaces of an extension $L/K$?   Yesterday I read a proof of the existence of normal bases, which was not trivial. However, thinking about my example above for $\mathbb{Q}(\sqrt{2})/\mathbb{Q}$ geometrically, it seems very rare that a randomly chosen basis would not be normal: if we pick any element not on the two lines listed above, its Galois orbit will be a basis, no?     Question 3: Will this observation continue to hold in general, and can this intuition be made into a proof of the existence of normal bases?


Finite index subgroup $G$ of $\mathbb{Z}_p$ is open.

Suppose $[\mathbb{Z}_p:G] = n <\infty$. Write $n = p^km$ with $p\nmid m$. The idea is to show that $p^k\mathbb{Z}_p = n\mathbb{Z}_p \subseteq G$, after which I am done, since for any $x\in G$ we have that the open ball $x + p^k\mathbb{Z}_p\subseteq G$, which makes $G$ open.  Unfortunately I am stuck at how to prove that $n\mathbb{Z}_p\subseteq G$. Could someone lend a hand with a hint?


I'm a new to Blender . Whenever I make a material it is only shown in shader mode so I cant export it like that.  And here is when I turn on the shader mode  Does anyone have a solution?


I can't get past the : apt install linux-headers-$(uname -r) Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package linux-headers-4.18.0-kali2-amd64 E: Couldn't find any package by glob 'linux-headers-4.18.0-kali2-amd64' E: Couldn't find any package by regex 'linux-headers-4.18.0-kali2-amd64'  I checked my sources.list which contains: deb http://http.kali.org/kali kali-rolling main contrib non-free deb-src http://http.kali.org/kali kali-rolling main contrib non-free  uname -r returns: 4.18.0-kali2-amd64  And when I run apt-cache search linux-image I get: linux-headers-4.18.0-kali3-amd64 - Header files for Linux 4.18.0-kali3-amd64 linux-headers-4.18.0-kali3-cloud-amd64 - Header files for Linux 4.18.0-kali3-cloud-amd64 linux-headers-4.18.0-kali3-rt-amd64 - Header files for Linux 4.18.0-kali3-rt-amd64 linux-image-4.18.0-kali3-amd64 - Linux 4.18 for 64-bit PCs linux-image-4.18.0-kali3-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-amd64 linux-image-4.18.0-kali3-cloud-amd64 - Linux 4.18 for x86-64 cloud linux-image-4.18.0-kali3-cloud-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-cloud-amd64 linux-image-4.18.0-kali3-rt-amd64 - Linux 4.18 for 64-bit PCs, PREEMPT_RT linux-image-4.18.0-kali3-rt-amd64-dbg - Debug symbols for linux-image-4.18.0-kali3-rt-amd64 linux-image-amd64 - Linux for 64-bit PCs (meta-package) linux-image-amd64-dbg - Debugging symbols for Linux amd64 configuration (meta-package) linux-image-cloud-amd64 - Linux for x86-64 cloud (meta-package) linux-image-cloud-amd64-dbg - Debugging symbols for Linux cloud-amd64 configuration (meta-package) linux-image-rt-amd64 - Linux for 64-bit PCs (meta-package), PREEMPT_RT linux-image-rt-amd64-dbg - Debugging symbols for Linux rt-amd64 configuration (meta-package) linux-image-4.18.0-kali2-amd64 - Linux 4.18 for 64-bit PCs  I'm running kali on an external SSD with live persistence. I did update and upgrade.


A subspace $X$ is closed iff $X =( X^\perp)^\perp$

Let $X$ be a subspace of a Hilbert space $H$.  prove:  $X$ is closed iff $X =( X^\perp)^\perp$   I do not know how to proceed. any hints would be appreciated.  thanks.  $X^\perp = ${ $y \in H$:$\langle x,y\rangle = 0 \forall x \in  X\}$.


How do you put a lore on an item using commands in 1.14

In Minecraft, to put a Lore on an object, it used to simply be:  {display:{Lore:["Example"]}}   Then they changed it to something else in version 1.14. What tag format do I put to receive an item with a lore? The command would be something like this:  /give (Selector) (item)({NBT_Tag}) (Count)   Here is an example with 2 unbreakable diamond axes given to the nearest player:  /give @p minecraft:diamond_axe{Unbreakable:1} 2


How do I put grips on mountain bike handlebars?

I just spent the last 10 minutes trying to put a new set of grips on to my mountain bike handlebars..  The old ones came off fairly agreeably and I've got the new ones 80-90% of the way on, however, at this point both my hands are stinging from the aggressive twisting and pushing - I have tried gloves, but I feel it's best left till my hands don't hurt anymore.  Is there a tried and tested way of doing this? Or is there a knack to this that I am missing?


Let $\gamma:V\rightarrow V$ linear. with $\lambda_1,\ldots,\lambda_k$ his eigenvalues.  and $C_i=\ker(\lambda_i I_d - \gamma)$ for all $1\leq i\leq k$. Prove if $C=C_1+\cdots+C_k$ then $\dim(C)=\dim(C_1)+\cdots+\dim(C_k)$  Definition: $\gamma:V\rightarrow V$ is diagonalizable if the matrix associated to $\gamma$ is diagonal.  I have a idea of how prove this. Basically i need show  $\;\sum_{i=1}^k C_i=\bigoplus_{i=1}^k C_i$  I'm trying to generalize the idea with this:  Suppose that for $\;1\le i\neq j\le n\;$ , we have  $$x\in\ker (\lambda_iI-\gamma)\cap\ker(\lambda_jI-\gamma)\implies \gamma x=\lambda_ix=\lambda_jx$$  and since $\;\lambda_i\neq\lambda_j\;$ , we get that $\;x=0\;$ .   Moreover, as $C=C_1+C_2$ then  $C=C_1\oplus C_2$  but i have serious problem trying to generalize that. can someone help me?


I need to calculate $$\lim_{n\rightarrow \infty} \left(\frac{n!}{n^n}\right)^{\frac{1}{n}}$$ My try:  When $n!$ is large we have $n!\approx(\frac{n}{e})^n\sqrt {2\pi n}$ (Stirling approximation) $$\lim_{n\rightarrow \infty} \left(\frac{n!}{n^n}\right)^{\frac{1}{n}}=\lim_{n\rightarrow \infty}\frac{\left((\frac{n}{e})^n\sqrt {2\pi n}\right)^{\frac{1}{n}}}{n}$$ Simplifying we get, $$\frac{1}{e}\lim_{n\rightarrow \infty} \left(\sqrt{2\pi n}\right)^{\frac{1}{n}}$$  I am stuck here. I don't know how to proceed further.


Travelling to London from US with an F1 Visa for vacation

Hi I am an Indian with a valid passport and am currently pursuing my graduate studies at the United States and I hold an F1 visa.  For my summer vacation I plan to visit my cousins in London for a two month stay there.  However, I am not sure as to what is the procedure for an Indian F1 student to obtain a tourist visa to the UK from the US. Can you please guide me on this?


Proof of the summation $n!=\sum_{k=0}^n \binom{n}{k}(n-k+1)^n(-1)^k$?

$$n!=\sum_{k=0}^n \binom{n}{k}(n-k+1)^n(-1)^k$$  Could anyone give the proof of the above equation? Thanks in advance!


I have a problem with series $\sum_{k=1}^ \infty k*(\frac{1}{2})^{k+2}$ How can I solve it?


Can 2 of the same Pokemon with the same CP have different stats?

I was recently talking with my friend about leveling up Pokemon in Pokemon Go. We weren't exactly sure how Stats work in this game, or other Pokemon games for that matter, but we are curious if the main thing we should look at is CP, or if there are other stats that we should look at, that say could make a CP 150 more powerful than a CP 160 Pokemon?    How should we go about determining which Pokemon is stronger when we have duplicates?  Thanks!


Trying to count points in polygon and add a column to the table

I have a data variable called "schools" with the following data.  | School Name | Address | geometry              | |---------------------------------------------- | | School A    | 123 abc | c(123.321, 456,654)   | | School B    | 321 cba | c(222.111, 333,444)   | | School C    | 111 aaa | c(111.111, 222.222)   | |-----------------------------------------------|   and the next variable is called "student_population"  | Region  | population | geometry | |------------------------------------------| | central | 2 | list(list(c(122.111, 333.111, 212, 321))) | | West | 3 | list(list(c(122.111, 333.111, 212, 321, 112.331, 222.232))) | | East | 2 | list(list(c(122.111, 333.111, 212, 321))) |       I want to count the number of schools in each region. hence, in the end i would get a table of the following  | Region  | population | number of schools in region | geometry | |-----------------|-------------------------| | central | 2 | 10 | list(list(c(122.111, 333.111, 212, 321))) | | West | 3 | 20 |list(list(c(122.111, 333.111, 212, 321, 112.331, 222.232))) | | East | 2 | 10 | list(list(c(122.111, 333.111, 212, 321))) |   I hope I am clear in explaining what I have done and what I want. I am having trouble solving this. In the end, I wish to tm_shape it. Tried using st_within but I do not know how to use it.


Show that if $G$ is a finite group of order $n$, and $H$ is a subgroup of order $\frac{n}{2}$, then $H$ is a normal subgroup of $G$.    Please help me on this. I only know that $|gH| = |H|$. How can go on beyond that to attempt the problem?


I am trying to source some toggle switches that also have a built in solenoid and can effectively toggle themselves. Like what they sometimes have on sound mixer boards for automation. Basically a relay that can be manually flipped. But what exactly would you call that? I cannot find it on mouser, etc. Not looking for a specific product reccomendation just what the darn thing is called.  Thanks!


java.lang.NullPointerException: Cannot invoke method addURL() on null object

Below are the first few lines of my groovy file. When i try to run it from the server, i get the null Pointer Exception: Cannot invoke method addURL() on null object  I am not sure how the code needs to be changed here to fix the above error:  package groovy;  def localFile = new File("/tmp/sqljdbc4.jar"); this.class.classLoader.rootLoader.addURL(localFile.toURI().toURL());  import java.sql.Connection; import java.sql.DriverManager; import com.microsoft.sqlserver.jdbc.*; import groovy.sql.Sql;  Connection ret = null;  try { SQLServerDataSource ds = new SQLServerDataSource() ......


Is eating one's dinner right before going to sleep bad for health?

I often read or hear that eating one's dinner right before going to sleep is bad for health. How true is that?


Sum of independent non-normal random variables

I have a very simple question:  Can a sum of independent non-normal random variables be normal? (not approximately normal, or converging in distribution to a normal after some standardization)  I have been thinking about it and I couldn't find an example or a proof that rules out this possibility. This is not a homework problem -- it's just out of curiosity.  Thanks!


Does independence from independent events imply joint independence?

Take three events $A,B,C$. Is it true that if $A\perp B$, $A\perp C$, and $B\perp C$, then $A\perp (B,C)$?   I don't see how to prove this. I stopped here: $$ p_{A|B,C}=\frac{p_{A,B,C}}{p_{B,C}}=\frac{p_{A,B,C}}{p_{B}p_{C}}=???=p_A $$


Ubuntu 18.04 bluetooth not working in lenovo laptop

Bluetooth not working ubuntu 18.04 on lenovo laptop.  When I run lspci -nnk | grep -iA3 net; lsusb; rfkill list; uname -r; dmesg | egrep -i 'blue|firm' . Below is what I get  Ethernet controller [0200]: Qualcomm Atheros QCA8172 Fast Ethernet [1969:10a0] (rev 10)     Subsystem: Lenovo QCA8172 Fast Ethernet [17aa:3802]     Kernel driver in use: alx     Kernel modules: alx 03:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01)     Subsystem: Lenovo BCM43142 802.11b/g/n [17aa:0611]     Kernel driver in use: wl     Kernel modules: wl Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 005: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 006: ID 105b:e065 Foxconn International, Inc. BCM43142A0 Bluetooth module Bus 001 Device 003: ID 04ca:004b Lite-On Technology Corp.  Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 003 Device 004: ID 174f:148d Syntek  Bus 003 Device 005: ID 0e8d:2005 MediaTek Inc.  Bus 003 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 0: ideapad_wlan: Wireless LAN     Soft blocked: no     Hard blocked: no 1: ideapad_bluetooth: Bluetooth     Soft blocked: no     Hard blocked: no 2: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 3: brcmwl-0: Wireless LAN     Soft blocked: no     Hard blocked: no 4: hci0: Bluetooth     Soft blocked: no     Hard blocked: no 5.3.0-26-generic [    0.140199] Spectre V2 : Enabling Restricted Speculation for firmware calls [    0.176078] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [   23.789800] [Firmware Bug]: ACPI(PEGP) defines _DOD but not _DOS [   27.790136] Bluetooth: Core ver 2.22 [   27.790156] Bluetooth: HCI device and connection manager initialized [   27.790159] Bluetooth: HCI socket layer initialized [   27.790161] Bluetooth: L2CAP socket layer initialized [   27.790164] Bluetooth: SCO socket layer initialized [   50.515945] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [   50.515946] Bluetooth: BNEP filters: protocol multicast [   50.515958] Bluetooth: BNEP socket layer initialized [  364.510611] Bluetooth: hci0: BCM: chip id 70 [  364.511611] Bluetooth: hci0: BCM: features 0x06 [  364.527612] Bluetooth: hci0: BCM43142A [  364.528623] Bluetooth: hci0: BCM43142A0 (001.001.011) build 0000 [  364.545643] bluetooth hci0: Direct firmware load for brcm/BCM43142A0-105b-e065.hcd failed with error -2 [  364.545649] Bluetooth: hci0: BCM: Patch brcm/BCM43142A0-105b-e065.hcd not found [  364.674287] Bluetooth: RFCOMM TTY layer initialized [  364.674299] Bluetooth: RFCOMM socket layer initialized [  364.674315] Bluetooth: RFCOMM ver 1.11   What could be the issue here?


What to do if you need to fly in the Schengen area and lose your ID card?

A friend recently got her ID stolen while she was in the Netherlands. She will soon need to fly to her home country Italy, but she doesn't know what to do.  What can one do in such a situation? As far as I know, since it's Schengen, you don't need an ID card to go through borders. On the other hand, this is air travel, so they always require it for security reasons.   Can she show another document that proves her nationality? A copy of the ID card? Anything?


What's the best order to read HP Lovecraft's novels?

I've always been interested in the Cthulhu mythos and I wanted to get into HP Lovecraft's books. What is the best book to start with? I know that Cthulhu was first mentioned in Lovecraft's Call of Cthulhu in 1928. Is that the best book to start with? Should I just start reading Lovecraft's books from his first publication onward?


When gravity spacetime is visualized, it's a sag with the lowest point in the middle of the planet/star as you can see here:    For all planets and stars, there is zero G in the core due to that the surrounding mass cancels out each other. This means that the gravity pull is strongest at the surface or close to it? Shouldn't this mean that the gravity spacetime should be visualized as a doughnut/ring instead with lots of gravitational pull at the edge, but not in the middle/core?


Installing Ubuntu on a Chromebook without a dual-boot

I am looking at getting a Chromebook but I don't like limitations on my computer systems and looking to get back into a heavier Linux work load. Has anyone install a complete version of Ubuntu on a Chromebook without having a dual-boot setup? If so is it just simply booting from a USB drive and installing the OS or is there more coding involved?  I am looking at some of the Asus Chromebooks.  Thank You in advance for any help or suggestions.


Calculating the Expected value of the number of types of cards drawn by 27 people with identical poker decks

The given question is:     27 people are in a room each with an identical deck of poker cards.   Each one draws a card from their deck.      Let X be the number of the types of card drawn. For example, if   everyone draws the same card, X=1, but if everyone draws a different   card, X=27. What is the expected value of X?   I have calculated the odds that at least one card of type E to be drawn is: $$1-(51/52)^27 = 0.408023$$  There is also a hint given which I cannot make any sense of:     Don't focus on whether or not each person has a unique card; that   actually doesn't help you with the answer (if there are four people   that share a card with someone else, does that mean all four are the   same, or that they have 2 pairs?). Instead, focus on the likelihood of   each type of card being chosen at least once.   Using the expected value formula:  $$ E(X) = \sum_{i=1}^{n} p_i * O_i$$  Where $O_i$ is the outcome of the $i^{th}$ event occurring and $p_i$ is the probability of that event occurring. In this case we know the expected value for the event everyone draws the same card would be: $$E(X=1)= (\frac1{52})^{27} * 1$$  I can also calculate the event that no one has the same card: $$E(X=27)= (\frac1{52})^{27} * 27$$  Where am I wrong and is there a better way approach this problem?


What word means "the city in which one lives"?

I need to find a word which means "the town or city in which one lives". Words like "residence" or "domicile" appear to have this meaning, but because "residence" and "domicile" can also mean "the home in which one lives", my readers will be confused. Is there a word which only refers to the geographic location?


How to enable sleep/standby on Windows Server 2012 Hyper V

I know it's possible because sleep works in HyperV under Windows 8.  edit: I know this is probably not "supported".


Fake a webcam using a video loopback device?

I want to use a looped video clip as my webcam source in a Google+ Hangout. I installed v4l2loopback and created a . But I haven't figured out how to write the video frames to the device. The given  is:  gst-launch videotestsrc ! v4l2sink device=/dev/video1   So after reading the manual page for gst-launch and trying to understand what was going on, I made my feeble attempt:  sudo gst-launch-0.10 filesrc location=/home/briankb/Videos/darthvaderdancing.mp4 ! v4l2sink device=/dev/video0   Which resulted in:  Setting pipeline to PAUSED ... libv4l2: error getting pixformat: Invalid argument Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ...  (gst-launch-0.10:12622): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed New clock: GstSystemClock  (gst-launch-0.10:12622): GStreamer-CRITICAL **: gst_structure_get_name: assertion `structure != NULL' failed Caught SIGSEGV accessing address (nil) #0  0x00007fc1890f0b03 in poll () from /lib/x86_64-linux-gnu/libc.so.6 #1  0x00007fc18962bff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2  0x00007fc18962c45a in g_main_loop_run () #3  0x00007fc189b5c4cb in gst_bus_poll () #4  0x0000000000404587 in ?? () #5  0x0000000000403c34 in ?? () #6  0x00007fc18902b76d in __libc_start_main () #7  0x00000000004043bd in ?? () #8  0x00007fff88253ed8 in ?? () #9  0x000000000000001c in ?? () #10 0x0000000000000006 in ?? () #11 0x00007fff882548c4 in ?? () #12 0x00007fff882548d4 in ?? () #13 0x00007fff882548dc in ?? () #14 0x00007fff88254904 in ?? () #15 0x00007fff88254906 in ?? () #16 0x00007fff8825490f in ?? () #17 0x0000000000000000 in ?? () Spinning.  Please run 'gdb gst-launch 12622' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.   The clip I'm trying to use an h264 video at 29.97 fps, 320x240, and in an mp4 container (it's from Youtube).


How to flag an "accept my answer and upvote it" comment

I have seen some users who provide an answer, then add a comment "If it works don't forget to accept my answer and upvote it".  On seeing that type of comment, I get frustrated and try to flag it. I don't know which option to choose from the below list.


Is the key deducible with AES CTR when we know about the plaintext, IV and the ciphertext?

Simply as stated, with AES running in CTR mode, can somebody work out the key (without brute-forcing) given we know about the plaintext, IV and also the ciphertext.  Assuming we also know about the cipher block size & key length.  In other words, we have the pseudo random AES CTR stream + IV, can we work out what the key is?


Java: Array of primitive data types does not autobox

I have a method like this:  public static <T> boolean isMemberOf(T item, T[] set) {     for (T t : set) {         if (t.equals(item)) {             return true;         }     }     return false; }   Now I try to call this method using a char for T:  char ch = 'a'; char[] chars = new char[] { 'a', 'b', 'c' }; boolean member = isMemberOf(ch, chars);   This doesn't work. I would expect the char and char[] to get autoboxed to Character and Character[], but that doesn't seem to happen.  Any insights?


I want to return top 10 records from each section in one query. Can anyone help with how to do it?  Section is one of the columns in the table.  Database is SQL Server 2005. I want to return the top 10 by date entered.  Sections are business, local, and feature.  For one particular date I want only the top (10) business rows (most recent entry), the top (10) local rows, and the top (10) features.


I'd recommend adding notifications for when users comment back/write back in a chat. I tend to close the link or end up doing other things making me totally forget about the current Chat I'm having with someone about a  question. It would be nice if we could be notified when user replies.   Otherwise, if we don't want to be notified we can just leave the chat.


My cat stepped on the keyboard today and the resulting garbage caused a ">" prompt to appear. The text was something like "~~~~~~~~~~~~~~~~YYYY~~~~~~~~~~~       ]]]]]]]]". I could not get the prompt to answer me. I tried things like "?, help, ls, q" etc and it would just make no answer and the prompt would come back. Is there anyway I can figure out what the prompt is?


I made a map in AI, but the file size is HUGE as an svg?

I made an svg in Illustrator, but now I want to use it in a website/app but it's a huge size (around 10 MB) how can I decrease the size of it? My illustrator file is pretty big but that because I have some tracing elements underneath. The file also has a big artboard, but when I save should I delete my tracing elements, and decrease the artboard size?


How to see which files apt-get purge will remove before doing it?

How can I see which files apt-get purge will remove from my system before executing the command?


Using own basemap with ArcGIS API for Javascript?

I'm trying to make a map using the Javascript API.  I want to use my own basemap, but I can't find the most simple code to do this.  I always see something like this:    function init() {     map = new esri.Map("mapDiv", {       basemap: "satellite",       center: [-97.395, 37.537],       zoom: 11     });   But I don't want to use the ArcGIS online basemaps.  What is the code to make a map service I am hosting my basemap?


Using indefinite articles before adjectives: "Let's have a good breakfast"

Let's have breakfast    Let's have a good breakfast      I've learned that indefinite articles aren't used before uncountable nouns, so why is a used before the adjective "good" here?    Is there an exception to the rules or is it wrong?


What is the expression that means : Try to stop crying

Sometimes, when I get emotional. I get in a situation when only talking can lead in a burst of tears, so I try to prevent it and I feel like crying is on hold inside my throat.  Is there an expression in English that sums it up? or a sentence that describes it well?   I hope I could define well the situation. Thank you.


What is this called and best practices of UI/UX?

What are best practices for settings (UI) like this? I am looking to find out more about good practices, good UI/UX for this component for removing, adding items to different profiles (profile 1 has different added items than profile 2). Are there any good examples of UI/UX design for this?


Is it appropriate to skip salutation and just get to the point when you are replying to a potential employer?

So, I've been sending emails back and forth to this company regarding some job opportunities but I always find it a bit awkward as to how I'm supposed to reply to them. Say they asked me for my contact details. Should I start with "Dear sir" or something or i should simply go "Thank you for the response, my contact details are XXXXXX"


PDO Problems with German Special Chars (ö,ä,ü)

I have a php file which has to authenticate user login data against a database of a forum software. I have problems selecting the right row of the members table for usernames which use German special chars like ä, ö, ü - It can't find the according row. However if I do the same query with MySQL workbench I can find the according member. Thus I think there is a problem with the PDO connection or my php file.  PHP Part to select the member row:  /* Get all Member attributes for the username */ $query = $db->prepare("SELECT * FROM members WHERE members_l_username = :name"); $query->bindValue(':name', $username); $query->execute(); $member = $query->fetch(PDO::FETCH_ASSOC);   Creation of the PDO Object:  try {     $db = new PDO("mysql:host=$dbhost;port=3306;dbname=$dbname;charset=utf8", $user, $pass); }catch (PDOException $e) {     print "Error!: " . $e->getMessage() . "<br/>";     die(); }   Settings of the table column:   Why I can't find the row for $username="Mark Fröst" even though it exists (and the query works with MySQL workbench)?


Request to move hold, close, and lock notices to the top of posts

TL;DR  I am requesting that historical lock, closed, and on hold notices be moved to the top of questions, just below the title.  Background  There are a lot of locked questions on Stack Overflow, and I assume other Stack Exchange sites as well, where the question text is long enough that the lock notice is not visible without scrolling down:        (I used a 15in screen at 1600x900 resolution for selecting these examples, but the scrolling required to see the notice is only part of the problem.)  The notice is easy to miss when scrolling through the question and down to the answers. Even on larger screens where the notice is visible without scrolling, a lot of text can make it easy to miss. Given the emphasis the Stack Exchange Network puts on how to ask questions, I think we should make the various "don't ask questions like this" notices more prominent. Shorter posts could also benefit from making it difficult to read the question without first seeing the notice.  I believe that simply moving the notices to the top of the question, just below the title, would make them much more prominent and nearly impossible to miss, because it would force the reader's eyes to pass over the notice before reading any of the question.  I think that this would help improve the network by making users aware of a questions's below-standard state before reading it, which would especially help new users not familiar with Stack Exchange's interface and question quality expectations.  Precedence  The idea that a reader should be told "don't do this" before reading a bad example of usage has precedence. For example, a lot of software documentation projects have deprecation warnings in their manuals before the actual content is presented:      Although software development is the only area in which I can find examples of this at the moment, I believe it's a general enough concept that it is applicable to the whole Stack Exchange network: give readers a warning before they see counterexamples of how a system or resource should be used.  Similar Questions    This MSO post proposes changing the entire look of historically locked posts. I don't think that is necessary, and (I presume) would require more code modification on behalf of the Stack Exchange developers than my proposal. Additionally, the linked request only refers to historically locked posts. I would like to see closed and on hold notices moved as well, for the same purpose.


smooth functions are dense in the space of bounded continuous functions - why?

Let $C_b $ be the space of real valued bounded continuous functions that are defined on $\mathbb {R} $. Let  $S $ be the subset of smooth functions in  $C_b $. My probability theory book states the following without proof:  $S $ is dense in $C_b$  Why is this true?   The book does not mention it but I guess that  $C_b $ is equipped with the norm  $||\,\,||_{\infty}$  Thank you a lot.


Automatically insert newline where there are blank lines

Is it possible to have Latex automatically insert a \newline when it encounters a blank line of text? I find putting \newline's everywhere tends to make my text unreadable.


What happens to current in a Parallel Circuit

I am wondering what are the affects to current in a parallel circuit and if the current can be run in parallel in the same way as with voltage (eg. To power 3 phones in Parallel would I need 3 times the current) Edit: I am using the phones simply as a example I am trying to power 10 laptops at 19.5 volts (running them in parallel) . And each laptop needs 8 amps to run  So my question is to power the 10 laptops  in parallel do I need 8 amps (the power necessary for one laptop) or 80 amps (The power necessary for 10 laptops).


Python Variable Scope, variable referenced before assignment

I am testing a very simple python script. What the function does is not important to my question, my question is the following code somehow gives me:  File "test.py", line 13, in traverse     if root.val > minVal and ans > root.val: UnboundLocalError: local variable 'ans' referenced before assignment   But I do have ans defined, why does it not complain about minVal but does about ans?  class Test(object):      def findSecondMinimumValue(self, root):         """         :type root: TreeNode         :rtype: int         """         minVal = root.val         ans = float("inf")          def traverse(root):             if not root:                 return              if root.val > minVal and ans > root.val:                 ans = root.val              traverse(root.left)             traverse(root.right)          traverse(root)         return ans if ans != float("inf") else -1


Can setting MAXDOP to 1 decrease performance?

I was looking at my client's UAT farm and found out that MAXDOP was set to 0 on SQL Server instance hosting SP databases. Before setting this value to 1, I measured response times of most commonly viewed pages along with heaviest pages.  To my surprise, after setting MAXDOP to 1 and restarting SQL Server service, performance was decreased. One heavy page was loading in 4.5 seconds before change, and 4.8 seconds after change. This was measured multiple times.  Did anyone experience a similar issue and how did you resolve it?


Are there published predictions that hydrogen could remain metallic at ambient pressure?

Below the question  there is a  that directed me to the BBC News summary . In their attempt to balance the skepticism of this particular reported observation with the potential implications of producing metallic hydrogen in a laboratory, the BBC included some far-reaching possibilities:  If that is true - and it is a controversial claim - it fulfills a more than 80-year quest to produce what many have said would be a wonder material. Theory suggests metallic hydrogen could be used to make zero-resistance electrical wiring and super-powerful rocket fuel, among many applications.  At the end of the article:  "The scepticism here is probably a good thing, in that it will drive many groups towards attempting to reproduce this experiment. This publication will certainly incite the field. Again, if it holds up, this is an exciting result. I think in this case time will tell," he told BBC News.  ...referring to Marcus Knudson from Sandia National Laboratories.  And Jeffrey McMahon from Washington State University concurred: "With respect to the tiny sample amount: Such experiments are performed in small diamond anvil cells. One challenge would be to make a larger quantity (at once); another, perhaps bigger challenge is to recover even the small sample (ie, remove it from the extreme pressures that it is under in the diamond anvil cell). "Whether the latter is possible is an important open question."  Question: Are there published, peer-reviewed predictions that hydrogen could remain metallic at ambient pressure? A link or reference would be appreciated. If it's still in pre-print form (AeXiv) that's OK too. If it's possible, a little help understanding the prediction would be great as well: I know there are many predicted crystalline forms of water ice at elevated pressures and/or reduced temperatures, and many or most of these have been observed, but I think most of them revert once pressure is reduced to ambient. Also the  comes to mind. If there is such a prediction of the possibility of hydrogen remaining metallic at ambient, is there an analogous example of this with a material I'm more familliar with, or is this something quite new?


I was trying to put ^ above y, the follow ways didn't work:   $\overset{^}{y} $^y$ $y^{^}$   I wanted something like overset, I would be glad if some one could help me.


I'm trying to create a shortcode base on the following code:

Filter:

<a href="<?php echo get_permalink( 23 ); ?>">All
     <?php global $post; $thispage = $post->ID; // grabs the current post id from global and then assigns it to thispage ?>     <?php $pagekids = get_pages("child_of=".$thispage."&sort_column=menu_order"); // gets a list of page that are sub pages of the current page and assigns then to pagekids ?>      <?php if ($pagekids) { // if there are any values stored in pagekids and therefore the current page has subpages ?>
             <?php wp_list_pages("depth=1&title_li=&sort_column=menu_order&child_of=".$thispage); // display the sub pages of the current page only ?>
             <?php } elseif($post->post_parent)                $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); if ($children) { // if there are no sub pages for the current page ?>
             <?php echo $children; ?>
             <?php } ?>
   Out of the question, this is a really good resource since it returns the child pages and even brother's pages.  ok back to the game.... I trying to create a short code based on this, however if not working, so far I have this:  function filter_store ( $atts ) { global $post; $thispage = $post->ID; if ($pagekids) {    $output .= '
';       wp_list_pages("depth=1&title_li=&sort_column=menu_order&child_of=".$thispage);        $output .= '
';                } elseif($post->post_parent)             $children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0"); if ($children) {        $output .= '
';             echo $children;        $output .= '
';             }         return $output;     }     add_shortcode('filter', 'filter_store');   I have spent around 3 hours trying to find where the error is, and my head is about to explode, I would appreciate any kind of help on this.  Thank in advance.


What is the difference between "cited in" and "cited after"?

What's the difference between "cited in" and "cited after" e.g. (cited in Hofstadter 1969: 10) and (cited after Manin 1997: 3)


Does the App Store review team report only the first bug they found?

If App Store review team rejects your App, can you be sure that the issue they found is the only one? Or they just stop reviewing once they encounter an issue?   I'm asking because I'm not sure whether to double check the whole App or just fix the problem they found and go ahead once again. I'm not really into wasting another 9 days to wake up with another rejection.  So, do they report all the issues they found, or the first one they noticed? Are there anybody out there who got reported more than one bug?   It's worth to add that my rejection happend due to 2.3 paragraph which stands for:     Apps that do not perform as advertised by the developer will be   rejected


I want to display an interference pattern with  and \addplot3. The idea is to draw the surface I(x,y)=(1+V*cos(x)) and to show the influence of the visibility factor (V) on the pattern. For a bad visibility (V=0.15 for example) the contrast should be bad, but that's not what I obtain.    Here's the TikZ code:  \documentclass{article} \usepackage{pgfplots} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}[] \begin{axis}[ name=plot1, width=10cm,  height=3cm, xmin=-12, xmax=12, ymin=0,ymax=2.5, samples=50, axis lines=middle, inner axis line style={=>}, xlabel={$\phi$}, ylabel={$I/I_0$}, xlabel style={anchor=west}, ylabel style={anchor=south}, xtick=\empty, ytick={1,2}, ] \addplot[domain=-12:12]{1+.15*cos(deg(x))}; \end{axis} \begin{axis}[name=plot2,at={($(plot1.south)+(0,-2mm)$)},anchor=north,colormap/blackwhite,view={0}{90},width=10cm,height=2cm,xmin=-12, xmax=12,ymin=0, ymax=2,samples=50,hide axis] \addplot3[domain=-12:12, surf,shader=interp]{1+.15*cos(deg(x))}; \end{axis} \end{tikzpicture} \end{document}   Any idea?


I am trying to typeset song lyrics in Hindi, where I want a bar over an "a" and an "i". I found \={} and \macron{} which both produce a nice bar over an "a", but the bar over an "i" (without the dot) is too long for my taste, because the bars appear connected when an "i" follows an "a" as in S\={a}\={\i} S\macron{a}\macron{\i}:    Is there a way I can make the bar over an "i" shorter?


When I add to arrayList, it is adding the main notes list not the objects

I have a Person object that has been initialized and if I call the method like getName I can retrieve them.  public Person( String fName, String lName, List<Role> roleList) {     this.firstName = fName;     this.lastName = lName;     this.roleList = new ArrayList<Role>(); }   Each Person needs to have a list of roles so I have a list called roleList which I initialize using List<Role> roleList = new ArrayList();  when created it is passed as  testDriver = new Person("Mike", "Joy", testRoleList); testDriver2 = new Person("Rich", "Johns", testRoleList);   In my calling class i want to add an item only to that staff members testRoleList. For this test i have made testRoleList public but I do have a getter which retrieves the testRoleList;  Role roleToAdd = Role.DRIVER;  // Only add the new role to the test driver testDriver.testRoleList.add(roleToAdd);   But when you run this it does add the role, but if I try to retrieve the size of the testDriver and testDriver2 list using:  System.out.println(testDriver.testRoleList.size());  System.out.println(testDriver2.testRoleList.size());   The resulting list size is 1 for both list even though I haven't added a role to the testDriver2.  How can I just add the role to just testDriver or Just testDriver2


I have a Raster, which covers only the southern part of the country, like this:    I wish to have a Raster, which covers the entire country (including the North part)? The northern part should have the nodata values.  How do I do this using GDAL or QGIS?  ( I do not have ArcGIS, so I can't use the answer given here: )  I tried using gdalwarp's -te parameter; It was successful in reducing the extent, but did not extend the extent to the Northern part.


Proving that $i\hbar\frac{\partial}{\partial \mathbf{p}}$ is the operator of $\mathbf{x}$ in momentum space

How can I prove that $i\hbar\frac{\partial}{\partial \mathbf{p}}$ is the operator of $\mathbf{x}$ in momentum space?


Heine-Borel Theorem ($\mathbb{R}^k$) (in ZF)

Heine-Borel Theorem; If $E \subset \mathbb{R}^k$, then $E$ is compact iff $E$ is closed and bounded.  I have proved 'closed and bounded⇒compact' and 'compact⇒bounded'. (There exists $r\in \mathbb{R}$ such that for every $x\in E$, $|x|<r$)  The proof in Rudin PMA p.40 uses 'countable axiom of choice'  I have googled it and found some proofs, but they all used some weaker form of AC.  Please help me how to show that $compact⇒closed$ in ZF..


No "Mapping" panel in Texture mode even though "Use nodes" are disabled

I struggle with putting image on one face of the cube. What I'm stuck is to set "Mapping" options of the texture. The problem is I cannot manage to have it there at all.  I'm using blender 2.79 I found notice to disable "Use nodes" in Node Editor. However, it didn't help. I attach screenshot:  Can you help me with that issue? Please note I'm beginning Blender user and I don't know where the most options are located. I'd appreciate screenshot and animations.


Front facing camera stopped working on the iPhone 4s

Attempted to use the Camera App today and was presented with a closed shutter screen in the Camera app as pictured below. No tramma or anything happend to the phone no recent OS update, just not working out of the blue.    If I open the FaceBook app and go to the "Take Picture" section, the camera opens successfully, but when I attempt to switch to the front camer, it goes back and gets stuck at the shut shutter screen.  What I have tried:   Quitting the "Camera" app and re-opening it Shutting down and restarting the iPhone. The force shutdown method, hold power + home button until it turns off. The Restore in iTunes   Still the same rear camera works, and when attempting to switch to the front camera boom closed shutter screen.  Any other ideas, it looks like I have a hardware problem...


What does a  wave look like? Are de Broglie waves transverse or longitudinal?   Can they be polarized?    What about the de Broglie wave of a ground state neutral spin-zero Helium 4 atom?   What experimental evidence do we have that supports the detailed nature of a de Broglie wave?     I have always assumed that de Broglie waves were mathematically  identical to electromagnetic waves, but I just realized there is no basis for this assumption, and in fact it must be false, unless there is an analogue to both the magnetic and the electric components of the electromagnetic wave.  So what does a de Broglie wave "look like"?


There is a game called TankiOnline.  The website is tankionline.com.  This game is played using Adobe Flash.  My question is, how can I play this game on the desktop, instead of going through a web browser?  I have already found , but cannot see how to run the game.  Any help will be appreciated!  EDIT: Just to clarify, I don't want to play offline - the game requires an Internet connection - I just want to use my own  files and connect to their servers.


Best graphical representation of t-test data

In my paper I have a number of t-tests. I am thinking of representing some graphically. What is the best way of doing that in R?


html content added via jquery not getting methods (click,resizable) applied

I am loading (appending) some html content to a page via jQuery, like below.  var html = "
"+content+"
"; var parent = "some element name";                    $('#'+parent).append(html);   When I try to attach an event (click) to above li element, it is not working. say li id is "event".  $('#event').click(function(){     alert('clicked'); });   Above code is not working. Can someone give me a solution or a workaround for this problem?


File Attachment Upload - Maximum View State Size limit (135kB)exceeded

I have used simple code to upload File.   Now My page is giving me the following error:      Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 838.719KB     I have tried making all variables Transient  Removed PageBlock   Instead of coming on this error page - I want to show an Error Message like "Too big File. Upload files having size less than 2 MB."    How can I achieve this. Any Help or Any other suggestions ?  Visualforce Code :       <apex:page standardController="Contact" showHeader="true" extensions="PhotoUploadController">   <apex:sectionHeader title="Upload photo of {!obj.name}"/>        <apex:form >     <apex:pagemessages />
         <apex:outputText >1. Select the photo</apex:outputText>

 &nbsp; &nbsp; &nbsp;         <apex:outputText > Click the "Choose File" to find the photo.</apex:outputText>

&nbsp; &nbsp; &nbsp;         <apex:inputFile title="Upload Photo" contentType="{!objAttach.ContentType}" value="{!objAttach.body}" fileName="{!objAttach.name}" id="file"></apex:inputFile>

         <apex:outputText>2. Upload Photo</apex:outputText>

&nbsp; &nbsp; &nbsp;         <apex:outputText >Click the "Upload Photo" button.</apex:outputText>

&nbsp; &nbsp; &nbsp;         <apex:commandButton value="Upload Photo" action="{!savePhoto}"/>

     </apex:form>    </apex:page>   Controller Code :   public with sharing class PhotoUploadController {     public Attachment objAttach{  get {                                         if(objAttach== null)                                           objAttach= new Attachment();                                         return objAttach;                                      }                                    set;                                  }      transient Public Contact obj{get;set;}       public PhotoUploadController(ApexPages.StandardController controller){         objAttach=new Attachment();         obj= (Contact)controller.getRecord();         if(obj.id!=null){             obj= [select id,name from Contact where id=:obj.id];         }      }       public pageReference savePhoto(){           try {                 transient String contentType=objAttach.ContentType;                  if(contentType == 'image/jpeg' || contentType== 'image/png' ){                      if(objAttach.body!=null && objAttach.name!=null){                         objAttach.parentId=obj.id;                                                try {                              upsert objAttach;                              obj.Image_URL__c=URL.getSalesforceBaseUrl().toExternalForm()+'/servlet/servlet.FileDownload?file='+objAttach.id;                              objAttach =null;                              upsert obj;                              obj=null;                         }catch (DMLException e) {                             ApexPages.addMessage(new ApexPages.message(ApexPages.severity.ERROR,'Error uploading attachment'));                             return null;                         }finally {                           objAttach.body = null;                         }                       }                   return new pagereference('/'+obj.id);                                   }else{                       ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR,'Please, Upload image file with extension .JPG or .PNG'));                       return null;                }            }            catch(Exception e){                  ApexPages.addMessages(e);                  return null;            }                     } }


moving backwards into a safety zone in the game Sorry

can a player move backwards into their safety zone in the game of Sorry?


I visited the US for 2 weeks in May; can I return in November for 2 more weeks?

I went to visit a friend in the US for 2 weeks in May and was planning on flying over again in November for another 2 weeks. Is this allowed? I know you're only allowed to visit the US for 90 days before you have to leave. Does this mean I won't be allowed to return in November?


How does one accrue votes to undelete a question silently deleted due to lack of activity in order to edit and reactivate it?

My question  was silently deleted by the community bot for lack of activity and votes. I've revised it and would like to reactivate. I voted to undelete but  that it doesn't appear in the review queue, so I'm forced to go to Space SE's chat room to beg for undelete votes. Questions:  Is this the intended way for this to work, one has to appeal for undelete votes in chat rooms or perhaps by flagging for moderator assistance? Was I notified of the deletion, or is my recollection correct that it happened without any notification to me?  note: I'm not requesting undelete votes or un-deletion here, I'm just trying to understand how the site works, thanks!


Pulling column from sheet 2 and importing into another workbook

So I need to find the formula to pull a column out of one page of my Google Docs spreadsheet and insert it into a separate workbook.  Here are some more details: all rows from column C (part number) from sheet 2, workbook 1 and insert it into sheet 1 of workbook 2 (under column C "part number").


Isomorphism of $so(3,\mathbb{C})$ and $sl(2,\mathbb{C})$ using basis elements

A basis for $sl(2,\mathbb{C})$ is given as $\{e = \left(\begin{matrix}0 & 1 \\ 0 & 0\end{matrix}\right), \; f = \left(\begin{matrix}0 & 0 \\ 1 & 0\end{matrix}\right), \; h = \left(\begin{matrix}1 & 0 \\ 0 & -1\end{matrix}\right)\}$ with relations $[e,f]=h$, $[f,h]=2f$ and $[h,e]=2e$.  A basis for $so(3,\mathbb{C})$ is given as $\{x = \begin{pmatrix}0&0&0 \\ 0&0&-1 \\ 0&1&0 \end{pmatrix}, \; y = \begin{pmatrix}0&0&1 \\ 0&0&0 \\ -1&0&0 \end{pmatrix}, \; z = \begin{pmatrix}0&-1&0 \\ 1&0&0 \\ 0&0&0 \end{pmatrix} \}$ with relations $[x,y]=z$, $[y,z]=x$ and $[z,x]=y$.  My thought are, that I somehow need to map these basis elements in the right way st. two basis have the same relations, and then construct a map from the mapping of the basis elements.  My first idea was $e\mapsto 2x$, $f\mapsto y$ and $h\mapsto 2z$, but it doesn't seem to work out, when expecting the map together with the lie bracket. I've tried some different maps, but without any succes.


What is the cause of a dimmer image of a light source in a photo?

Why does an image of the panel appear to left side of the actual object when the picture is taken if the lamp in a switched on state?


If F is a field, then $F[x,y]$ is a Principal Ideal Domain?

Let $F$ be a field, and $F[x,y]$ be a ring of polynomials in two variables. Is $F[x,y]$ a Principal Ideal Domain?   Also show that $F[x,y]/(y^2-x)$ and $F[x,y]/(y^2-x^2)$ are not isomorphic for any field $F$.


Installing Linux Mint on Windows-Ubuntu Dual Boot

I currently have an Ubuntu-Windows Dual boot. However, I would like to try out a new OS so I burned Linux Mint to a USB stick.   I would like to install Linux Mint and remove Ubuntu while still keeping my windows dual boot. I've already backed up my Ubuntu setup so I can wipe it out.   In the Linux Mint installer, should I choosing the "install alongside windows" option do this?


I am trying to practice for a Precalculus exam, but there's this black sheep that I just can't figure out.  $$\lim_{n\to \infty} \dfrac{\sqrt[n]{e}+\sqrt[n]{e^2}+\sqrt[n]{e^3}+...+\sqrt[n]{e^n}}{n}$$  We use the standard sum of a geometric series usually to solve similar limits $S_n = a_1 \dfrac{q^n-1}{q-1}$. I tried simplifying the series and got $\sqrt[n]{e+e^2+e^3+...+e^n}$. I tried to use the sum formula to end up with $e \dfrac {e^n-1}{e-1}$. But then I get stuck.