A TV show, from the 90's or 80's, very weird

Does anyone remember a show, where:   An alien girl lives with a family She comes from the moon She is looking for a new king because their king (a giant baby) is dying Her spaceship its a VW van They had a doorframe, yes a doorframe, that could open to other alternative universes or dimentions


If c power of all positive integers is an integer, then c is an integer

If $n^c$ is always an integer, where $n=1,2,3,\dots,$ then prove that $c$ is an integer.  How to prove this?  Hints will be greatly appreciated...


Free 3d character models to edit in Blender

Rocmen here, a newbie. I was wanting to import 3d character model like a man  and modify it and then animate it. Is that possible in Blender?  Thanks for any help  Rocmen


Windows 10 taskbar | how to make it thinner when vertical?

I have 14" 16:9 notebook and would like my Windows 10 taskbar have on the (left) side. Unfortunately, although I set it to small icons the bar is pretty wide. Do not you know how to make it thinner?  This is how I would like to have it:


The energy source on Voyager2 is not a nuclear reactor, in which atoms are actively broken apart, but rather a kind of nuclear battery that uses natural radioactive decay to produce power.     What is the main verb of the clause followed by the coordinating conjunction but?


Convergence of real sequence ${\frac{x_n}{n}}$ as $n$ tends to $\infty$

Let ${x_n}$ be a real sequence such that $\lim_{n\to\infty}(x_{n+1}-x_n)=c$. Then, talk about convergence of the sequence ${\frac{x_n}{n}}$  My try: I did not understand how to proceed. I thought of integers and even integers. The former's seq $\frac{x_n}{n}$ converges to 1 and latter to 2.  So i think, maybe, the sequence should converge to $c$. But i have no clue how to prove it. Any hwlp would be appreciated.


How can I take a picture of the moon as part of a night landscape?

I recently saw this scene while on vacation:    What I would like is for the moon not to be completely blown out, but to also get reflections on the water.  If I expose for the reflections, the moon blows, which is to be expected, since the moon is in daylight.  If I try to create a composite shot combining an exposure to just the moon and this shot, I have problems with the halo around the moon;  the daylight exposure doesn't have it, but the nighttime one does, and that goes past my meager photoshop/lightroom skillset.  Is there a way to get this shot without postproduction, but entirely in-camera?


Delete All Subscribers - 10 Million Subscribers

I need to delete all subscribers. This is around 10 million subscribers (That is not a typo)  Can I create a group - Delete the group and select delete from all subscribers (Top Level Business Unit)  Or is there an easier or better way to do this?


I added a row to a document with a cat heredocument  cat <<-'DEFINE' >> ./wp-config.php define( 'DISALLOW_FILE_EDIT', true ); DEFINE   I later wanted to remove it and did:  sed -i "s/define( 'DISALLOW_FILE_EDIT', true );//g" ./wp-config.php   After removing it, I noticed an extra empty line where the code was - This is indeed the natural thing to happen - sed just deleted the code, not the whole row.  My question is, can I use sed to actually remove the whole row, and not just the code inside it?


Most of Programming Code i saw import keywords are only written in the Header of the file. Is it a good idea to do imports just before using executing Methods from a module?  Example import in Header:  import json  def importCache():      import json     json.load(open("text.txt"))   Example late import :  def importCache():      import json     json.load(open("text.txt"))   Is there an optimization process when loading all modules as a bunch?


Make a POST request with parameters and an attached file

Can anyone give me an example of how to do that?


proof that if a repunit number is prime n has to be prime So a repunit number is a number that it's all digits are 1. For example $R_{2} = 11$ $R_{7} = 1111111$ and so on. Repunit numbers can be represented as $\frac{10^{n} -1}{9}$ in general. Problem is asking if $\frac{10^{n} -1}{9}$ is prime then $n$ has to be prime. İts easy to see for $n=3k \:\:(k \in \mathbb{Z})$ it is divisible by $3$ and for $n=2m \:\:(m \in \mathbb{Z})$ it is divisible by $11$ But ı stumbled upon how to prove that $n$ is prime


We've got a mouse in the house. I want to setup traps in the attic, but I don't want to go up there to check them. My thought is to use a simple circuit that uses the trap itself as a switch. I think it needs two circuits: a path for the electricity when the trap is set (circuit A) and a path when the trap has gone off (circuit B).   I think:   Circuit A should be nothing except a resistor. (If it was just metal, the battery would run down real quick... plus... you know... hot). Circuit B should have a resistor and an LED (and a long pair of wires so we can hang the LED out the attic door and it is visible from the hallway.   When the trap is set, circuit A will have less resistance than circuit B, and thus short circuit the light. When the trap goes off, circuit A will break, and B will then be the only path for the electricity thus lighting up the LED.  Questions: How do I calculate out what resistors to use?  In terms of power, how do I decide on 9V? 5V? 1.5V?


Why is the java program without compiling(in Java 11) is slower than running compiled code?

So, i am not talking abut time to load or anything like that but time taken by logic. Here is an example i created: Main.java public class Main{     public static void main(String[] args) {         double prev, curr, value;         value = 0;         prev = System.nanoTime();         for(int i=0;i<100000000;i++){             value = value + i;         }         curr = System.nanoTime();         System.out.println("(ADD)Time taken : " + (curr-prev));     } }  Very simple thing. But the output is : java Main.java (ADD)Time taken : 1.306895E8 java Main.java (ADD)Time taken : 1.299587E8 java Main.java (ADD)Time taken : 1.300052E8 java Main.java (ADD)Time taken : 1.292961E8 java Main.java (ADD)Time taken : 1.297695E8 java Main.java (ADD)Time taken : 1.297917E8 javac Main.java java Main (ADD)Time taken : 1.283857E8 java Main (ADD)Time taken : 1.282398E8 java Main (ADD)Time taken : 1.282053E8 java Main (ADD)Time taken : 1.281581E8 java Main (ADD)Time taken : 1.285055E8  So there is a slight difference in compiled and the other but there is this difference. But an answer () states that :  java HelloWorld.java is informally equivalent to   javac -d HelloWorld.java java -cp hello.World  So both should be same? And for my simple example the difference is negligible but how does this delay scale with the code? One more thins if i increase the iterations the trend continues:- For 1000000000 iterations. java Main.java (ADD)Time taken : 1.26232E9 java Main.java (ADD)Time taken : 1.2705406E9 java Main.java (ADD)Time taken : 1.4233682E9 java Main.java (ADD)Time taken : 1.2820972E9 java Main.java (ADD)Time taken : 1.2658335E9 javac Main.java java Main (ADD)Time taken : 1.2689425E9 java Main (ADD)Time taken : 1.2650758E9 java Main (ADD)Time taken : 1.2631577E9 java Main (ADD)Time taken : 1.2649529E9 java Main (ADD)Time taken : 1.2782424E9 java Main (ADD)Time taken : 1.264107E9


Parsing a file for a specific word input from JTextField

I am trying to parse a file for an instance of a word in Java.  The word is input from a JTextField.  Depending on which selection is made in a JComboBox the filepath may change.  The Text file contains names and their popularity.  The desired output is how that name ranked for the year that is selected.  I'm struggling with setting up an appropriate search.  I have been able to get the file to open and output some of the contents of the file to the Java Console, but the file contains 1000 lines and I notice that the output in the console only begins with entry number 950 or so.    Here is what I have so far:   public void actionPerformed(ActionEvent e)     {         //Parse Input Fields         String name = inputArea.getText();         String genderSelected = genderList.getSelectedItem().toString();         String yearSelected = yearList.getSelectedItem().toString();          String yearFile = "Babynamesranking"+yearSelected+".txt";           try         {             File inputFile = new File(yearFile);             BufferedReader in = new BufferedReader(new FileReader(inputFile));  /**This is where I draw a blank and need help*/              in.close();         }         catch (IOException exception)         {             JOptionPane.showMessageDialog(null, "Error Reading File");         }   I have more work to do after I get this part working to display the results in the GUI and such, but that is easy and I can do that.  Just struggling with how to get this part to work.    Example of text file we are parsing:  1   Jacob   22,507  Emma    18,765 2   Michael 20,524  Isabella    18,564 3   Ethan   20,174  Emily   17,397 4   Joshua  19,133  Olivia  17,030 5   Daniel  18,935  Ava     17,007 6   Alexander   18,639  Madison     16,985 7   Anthony 18,347  Sophia  16,042 8   William 18,337  Abigail     15,045 9   Christopher 17,876  Elizabeth   11,956 10  Matthew 17,526  Chloe   11,802 11  Jayden  17,088  Samantha    11,157 12  Andrew  16,711  Addison     10,742 13  Joseph  16,483  Natalie     10,179 14  David   16,246  Mia     10,156 15  Noah    15,748  Alexis  9,685


Frequently loaded packages: Differences between pdfLaTeX and LuaLaTeX

I'm in the process of switching my LaTeX document from pdflatex to lualatex. Similar to  I would like to know, what are typical packages loaded with LuaLaTeX and which typical pdfLaTeX packages should be removed or replaced?  The following are the main difference I found so far:   Don't use inputenc, but instead save your plain files in utf-8 and add the following as the first line: % !Mode:: "TeX:UTF-8". Don't use font-packages but instead load fontspec with \setmainfont{FONT_NAME}, \setsansfont{FONT_NAME}, \setmonofont{FONT_NAME}. In order to make microtype work with fontspec, use the beta version of microtype (At least with TeX Live 2011). . hyperref should be loaded with the option unicode.   What other packages do you use? What about babel and textcomp? And are there some "killer-packages" that are only working with lualatex besides fontspec?


In SQL Server one of the table, date column of datatype timestamp showing 0x0000000004C05C6E,I want to convert to date format. Can anyone help me to brief about this timestamp?


python-chess - Global variable changes when function runs

I'm confused about how Python scoping works here.  x = 1  def do(y):     y = y * 2     print y  print x do(x) print x   The code above produces this output:  1 2 1   The global variable remains unchanged, but in the function, the local variable prints out the correct changed value.  However, in this python-chess version I'm running below:  import chess board = chess.Board()  def do(b):     b.push(list(b.legal_moves)[0]) #picks the first legal move     return b.fen()  print board.fen() print do(board) print board.fen()   It produces this output:  rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 rnbqkbnr/pppppppp/8/8/8/7N/PPPPPPPP/RNBQKB1R b KQkq - 1 1 rnbqkbnr/pppppppp/8/8/8/7N/PPPPPPPP/RNBQKB1R b KQkq - 1 1   Unexpectedly (at least for me) the global variable board changes after the function has run.  I thought that a  that you want to change it by using the global keyword. It seems to work in the simple multiplication example I used, perhaps it's due to the .push() method python-chess provides?  How would I then preserve the value of the global variable when running the function?  In this case, the output I desire should be:  rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1 rnbqkbnr/pppppppp/8/8/8/7N/PPPPPPPP/RNBQKB1R b KQkq - 1 1 rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1


on my Ubuntu 16.04,    the de folder inside /usr/share/man is present locale -a shows de_DE.utf8 is available   So, if I have both, the man pages in german and german locales available, why do I still get man pages in english, when I type:  LANG=de_DE.utf8 man grep


If heat and sound are both caused by vibrations, why isn't sound warm? Or heat loud?

Both sound and heat are vibrations, therefore shouldn't hot objects or air make a buzzing sound?  Shouldn't loud noises, or loud music, create heat?  If I crank up my stereo, shouldn't the room get warmer?


Invariant Phase space volume under canonical transfromation

I have a volume element in phase space:  $$ d\omega = \prod _{i=1}^{N}(dq_{i},dp_{i})$$  Now I should show the invariance of this product under canonical transformations. I think first I would have to write down a general equation for the canonical transformation then compute the total differential and plug this into the equation given. My problem is now I can't figure out how the equation for a general canonical transformation would look like. Does anybody have a hint how to start? The proof should be done without the concept of Symplectomorphisms like it was already shown in this question


Taxonomy term title as page title in custom view

I have a custom view where I show a list of nodes by taxonomy term. Since there are many terms in dictionary, I can't describe every view page manually. Is there any way to set the page title as a taxonomy term title?


This is probably a very dumb question for this forum, if so I'm sorry; but from what I know it does not make sense that the CMB is still visible and measurable today.  From what I understand, the CMB dates back to a time which has been calculated at being 380,000 years after the big bang, time at which photons in the primordial "particle soup" were able to escape.  But then photons move, unrestricted, at the speed of light (save for space time curvatures and collisions) so I would expect that this batch of photons which were able to escape would be long gone by now... Yet COBE, WMAP and Planck can still trace the origins back to the CMB. And save for the precision of measurements, due to the progress of technology, they pretty much all give the same picture.  I am at a loss. Especially since between COBE and WMAP the proof that the expansion of the universe is accelerating over time has been established.  I must be missing something fundamental here; why is it that this "batch of photons" is still visible today? Or does that mean that the CMB still has a physical existence somehow?


Recover data from disabled iPhone with known passcode

my friend broke his iPhone 4S digitizer in very unhappy way. He didn't have backup or synced computers and he had cellular data turn off.  I successfully replaced digitizer and turn on the iPhone. Whow! Your iPhone is disabled for 47 years. Okay, so normally after battery replacement iPhone time is flushed and after reboot new time is fetched over NTP via cellular data, synced PC or already signed Wi-Fi. Not working in this case..  So theoretically there are two possible solutions:   Somehow fetch or rewrite correct clock's value Mount NAND flash drive, export keys from CPU, merge it with passcode, decrypt data   Any advice or experiences?  Thanks!


Evaluation of limit $\lim_{n\rightarrow \infty}\sum^{n}_{k=1}\left(\sqrt{1+\frac{k}{n^2}}-1\right)$

Evaluation of the limit $$\lim_{n\rightarrow \infty}\sum^{n}_{k=1}\left(\sqrt{1+\frac{k}{n^2}}-1\right).$$   I don't understand how can I start the above problem because Riemann sums and integrals are not applicable here.  It seems that we can solve it using  the Squeeze theorem, but I don't understand which inequality I have to use. Help required, thanks.


I've read that by introducing the concept of imaginary time, the dimension of time can be treated like a spatial dimension mathematically. Assuming, without imaginary time, one considers the universe 4-dimensional (3 spatial dimensions and 1 time), does imaginary time make for a 5th dimension? I.e. is imaginary time an additional axis orthogonal to all 4 dimensions of spacetime?  I can't find any resources relating imaginary time to the total number of dimensions in the universe, only vague summaries stating that imaginary time makes time 2-dimensional. But I can't help but wonder if they mean 2-dimensional in the same way that space is 3-dimensional, or something more subtle than that.  I'm also aware that simply adding an axis to a Euclidean space doesn't necessarily increase the number of dimensions, e.g. drawing 3 non-parallel lines on a plane doesn't change the fact that it's a 2-dimensional plane. I can't help but wonder if this is a way to describe imaginary time: a useful number that makes calculations easier, but isn't actually orthogonal to the 4 other dimensions we're intuitively aware of.  Edit:  The linked QnA this question is marked as a duplicate of does not specifically answer whether or not imaginary time is an additional dimension beyond spacetime. Instead, it simply defines imaginary time.  If you understand the definition, you know that it's not, in-fact, an additional dimension, but just another way of looking at the regular time dimension we're used to working with.


I understand some of the basic concepts that surrounds even and odd functions but this question just stumped me and I'm not sure on how to tackle it. Any Starting points/methods would be helpful  Prove that any function can be written as the sum of an even function and an odd function.


How to fill in inequality where all inequalities overlap

After reading a question on "",  I have a code like this that refers to the inequalities    \documentclass{article} \usepackage{mathtools} \usepackage{amssymb} \usepackage{MnSymbol} \usepackage{tikz} \usepackage{pgfplots} \usetikzlibrary{intersections} \usetikzlibrary{patterns}  \makeatletter \newcommand{\pgfplotsdrawaxis}{\pgfplots@draw@axis} \makeatother \pgfplotsset{only axis on top/.style={axis on top=false, after end axis/.code={              \pgfplotsset{axis line style=opaque, ticklabel style=opaque, tick style=opaque,                           grid=none}\pgfplotsdrawaxis}}}  \newcommand{\drawge}{-- (rel axis cs:1,0) -- (rel axis cs:1,1) -- (rel axis cs:0,1) \closedcycle} \newcommand{\drawle}{-- (rel axis cs:1,1) -- (rel axis cs:1,0) -- (rel axis cs:0,0) \closedcycle}  \begin{document} \begin{figure}[ht] \centering \begin{tikzpicture} \begin{axis}[axis line style=thin, axis x line=center, axis y line=center, ymin=-7, ymax=7, xmin=-7, xmax=7, xlabel=\(x\), ylabel=\(y\), grid=minor] \addplot[name path global=line1, pattern=north west lines, color=blue!50, thick, domain=-7:7]{3*x-5}; \addplot[name path global=line2, pattern=north west lines, color=blue!50, thick, domain=-7:7]{6-2*x}; \addplot [draw=none, pattern=northeast lines, pattern color=blue!40, domain=-7:7]{3*x-5} \drawle; \addplot [draw=none, pattern=northeast lines, pattern color=blue!40, domain=-7:7]{6-2*x} \drawge; \end{axis} \end{tikzpicture} \end{figure}   \end{document}   which looks like    I want it to look like   , where the graph is filled only where all the inequalities hold true. NOTE the two graphs are entirely different problems. I only want the style, not the question.  However, the code for the latter image uses intersections:  \begin{figure}[ht] \centering \begin{tikzpicture}     \begin{axis}[axis line style=thin,     axis x line=center,     axis y line=center,     ymin=-6, ymax=7, xmin=-6, xmax=11, xlabel=\(x\), ylabel=\(y\), grid=minor]     \addplot[name path global=line1, color=blue!50, thick, domain=-5:10]{5/3-x/3};     \addplot[name path global=line2, color=blue!50, thick, domain=-5:10]{x/5-10/7};     \addplot[name path global=line3, color=blue!50, thick, domain=-5:10]{6*x+10};     \fill[name intersections={of=line1 and line2,by=point1}, name intersections={of=line1 and line3,by=point2}, name intersections={of=line2 and line3,by=point3}][very thick, pattern=northeast lines, draw=blue!60, pattern color=blue!30!cyan](point1)--(point2)--(point3)--(point1);     \end{axis} \end{tikzpicture} \end{figure}   The first image has only one intersecting point, hence I cannot use this method. I also don't want other areas shaded- only the final areas where the lines intersect. Is there a way around it without to find the points in which the lines intersect the border of the grid, meaning I have to manually compute the points?  EDIT: added the inequalities for the graph.


Why StringBuilder throws NullPointerException

This question may be redundant but I really don't understand why the following code throws: Exception in thread "main" java.lang.NullPointerException  public class NewClass {     static StringBuilder SB;     public static void main(String[] args) {         SB.append("Tesing");         System.out.println(SB);     }  }


Where does mass come from in pair production?

In pair production, two gamma rays with > .511Mev can come together to create a positron and an electron.    So two electromagnetic waves E and B fields, with No mass and No gravity and traveling at the speed of light,  can create two objects with Mass, with Gravity and with opposite E fields, and with NO B field.  Is there any theories on how E and B fields go about creating mass?  It seems the resultant objects both have opposite E fields, but the B field has vanished...where did it go?  In slow motion, as this happens, what exactly goes on to create mass from EM fields?  Can we use EM fields to manipulate this process further? i.e. change the rate of pair production?  Or to manipulate the G field of the resultant objects?


Can I travel to US from India in Dec 2020 on B1/B2 Visa?

I and my wife have a valid B1/B2 US visa. We intend to travel to US from India in the first week of December 2020 to attend my brothers wedding. Under the current Covid condition, I am not clear on whether we would be allowed to travel to US on B1/B2 visa? Especially if the reason for the visit is Wedding. I have heard that travel is only allowed for emergencies (death) or for specific scenarios (student). Can someone clarify the same?


Let $A\subseteq C$ be an open connected domain and $f$ a holomorphic in $A$. I want to show that: if $f(A)$ is a subset of a line on the complex plane, then $f$ is constant.  I began with expressing every $z_0$ on some line $\gamma (t) =at+b$ on the complex plane as: $z_0=x_0+i[ax_0+b]$  So: $f(z)=x+i[ax+b]$ , but I'm stack (pun intended) with one variable. I doubt that this syllogism is correct. Any help on that one?


inconsistent behaviour in jQuery selector

$('#a.b') // doesn't work  document.getElementById('a.b') // works  $('[id="a.b"]') // works   Can anyone explain why $('#a.b') doesn't work.


Why would the borg want to assimilate Earth in the 21st century?

I get that Earth was easier to defeat in post WW3 21'st century, but what would the borg gain? I mean there is no Federation or technology to speak of. Other than script writers thinking that it might be fun to have Picard and crew fight the borg in a time travel movie, what is the big gain for the borg?


Ever since I can remember, I've used 'to me' and 'for me' interchangeably.  Examples:      To me, writing about the future is too troublesome.     Writing about the future is too troublesome for me.   Note: 'for me' sounds better when put at the end of the sentence. Re-arranging the phrase like that does not alter its meaning and purpose.   Now, does this make a difference? I'd once read somewhere that 'to me' is "right" and it's wrong the other way. I've seen many writers use 'for me', myself included.   Is it...   a myth like many well-known grammatical rules are   or    a fact which many people are not aware of?


Family History Grandfather who served in 7th Panzer Division War Records

I am trying to locate my grandfather’s war records I have his service number his division & discharge papers. He was a POW in Algiers 1944. But I want  more information about where he was posted throughout WWII. Is there a database I can use to find this information?


After Hoth, why did Vader pursue the Millennium Falcon instead of Luke's X-Wing?

In The Empire Strikes Back film, the opening crawl says:     The evil lord Darth Vader, obsessed with finding young Skywalker, has dispatched thousands of remote probes into the far reaches of space....   It has also been established in Return of the Jedi that Force users can sense each other:     Chewie whines nervously. Luke stares at the Huge Super Star Destroyer    that looms ever larger before them.      LUKE: Vader's on that ship.   If Darth Vader is obsessed with finding Luke and he can sense his presence, the obvious thing to do would be to follow Luke's X-Wing after the battle of Hoth rather than the Millennium Falcon. Why didn't he?


Assume that the metric space $(X, d)$ is not compact then there exist a $f: X \to \Bbb R$ which is continuous but not bounded.  I am finding difficulty in constructing such a function!!


I'm using the book class for a particular document, and I've run into a bit of problem. I don't know exactly how to explain this, so I'll just post an explanatory picture instead of sounding obscure.    As you can see, that chapter-header is bleeding way too much. Is there a way to change the font size for that?  P.S: I know I should probably change the chapter title if it's that long, but I'd like to know how to solve this problem anyway.


Ff $a,b,c$ are positive real numbers that $a^2+b^2+c^2=1$ ,Prove: $$\frac{ab}{1+c^2}+\frac{bc}{1+a^2}+\frac{ca}{1+b^2}\le\frac{3}{4}$$   Additional info: I'm looking for solutions and hint that using Cauchy-Schwarz and AM-GM because I have background in them.   Things I have done: I tried to  change LHS to something more easy to work but I was not successful. For example $$\frac{ab}{1+c^2}=\frac{1}{2}\left(\frac{a^2+b^2+2ab}{1+c^2}-\frac{a^2+b^2}{1+c^2}\right)$$    that was not useful. Any hint for starting step is appreciated.


How to perform non-negative ridge regression? Non-negative lasso is available in scikit-learn, but for ridge, I cannot enforce non-negativity of betas, and indeed, I am getting negative coefficients. Does anyone know why this is?  Also, can I implement ridge in terms of regular least squares? Moved this to another question:


How can I prove by induction that this is a closed form of the Fibonacci sequence?  $$F_n=\frac1{\sqrt5}\left(\frac{1+\sqrt5}2\right)^{n+1}-\frac1{\sqrt5}\left(\frac{1-\sqrt5}2\right)^{n+1}$$  I've never seen before the $n+1$ exponent


To my surprise, there's a missing question about this particularly interesting verb, dare. All I know about it is the fact it can be in two forms, as an auxiliary (without to: "I dare not mention their names") and main (with to: "Did anyone dare to admit it?") verb and the difference has something to do with agreeing with subject. Can somebody explain in a greater detail?


Im trying to get a list of names that do not exist in another list      SELECT [Paid To]     FROM tbl1     WHERE [Paid To] not  in     (select [Name ]      FROM tbl2     )   I dont get any results but when I run a left join query   select top 10 * from [tbl1] a left join [tbl2] b on a.[Paid To] = b.[Name ]   I get the NULLs where the 2 tables dont match. Can anyone help as to why the first query is not working?  using SQL Server 2012


Is there a simple way in python to rotate/position a camera so that a specific point (X,Y,Z) is in the middle of the camera viewfinder in Blender 2.8?


uploading music automatically with Google Music on a Linux server

So I've seen questions like  looking for help uploading music with Google Music on Linux, but none really seem to confront the notion of solely using the command line. I've downloaded the software from Google and dug around in those files for anything useful but wasn't able to come up with any good solutions.


How to list the ipaddress of hosts in a network?

I am using the educational institute internet service using Wifi as well as wired LAN.   The basic setup what i understand is that whole institute is covered with wifi and there are multiple wifi access point with different names. There is a dedicated wired lan service in each of the dorms and departments(They are multiple). I donot know how the internal network is setup?  Every host is connected to outside internet access through proxy servers.   What i want is that how i can list each and every hosts connected(name, ipaddress) in all the dorm and departments to different wifi routers as well as the Wired LAN using any of wlan or wired lan?  The internal ip's in my network is 10.xxx.xxx.xxx. How nbtscan helps in this regard?  NOTE : I want to do this using linux. I am little bit new to these networking concepts. So apologies for any ambiguous question. Please do correct such text.


Why are mysterious jpg files being created in my home folder?  They seem to be thumbnails with file names containing word moth.   me@desktop:~$ cd $home me@desktop:~$ ls 01diplo1-moth.jpg            Documents 30CAR-moth.jpg               dog-slater-obit-moth.jpg 30COVER-moth.jpg             Douthat_New-moth.jpg 30DRINKINGsub-moth.jpg       Downloads 30-DRUGTRIALS-JP1-moth.jpg  30eat-moth-v2.jpg            ecuador-moth.jpg 30FASTFOODsub-moth.jpg       EXECUTE-1-moth.jpg 30FRANCE-moth.jpg            Friedman_New-thumbStandard.jpg 30GERMANY-moth.jpg           JP-CLINTON-moth-v2.jpg 30-GRET1-moth.jpg            jp-qatar-moth.jpg 30JPHIRSCH1-moth.jpg         justice-moth-v4.jpg 30MOB1_SPAN-moth-v2.jpg      mag-30pot-t_CA0-moth.jpg 30NATURE1-moth.jpg           memory-moth-v2.jpg 30-next-span-moth.jpg        My GCompris 30stone-img-moth.jpg         Pictures 30SUBCOVER_SPAN-moth-v2.jpg  Public 30Tour_2-moth.jpg            rivera1-moth-v2.jpg audiobooks                   SAMESEX-FLOATER-2-moth.jpg audiobooks-moth.jpg          STATUE-moth.jpg BASE-1-moth-v2.jpg           SUB-DELOS-COVER-moth.jpg Bike-moth-v2.jpg             sunscreen-look-slide-T9SW-moth.jpg chinagold1-moth-v2.jpg       Templates Desktop                      tennis-1-moth-v2.jpg


I notice a lot of questions like this:  C# My Question  Details... Details...    Can't a simple check be done that says "you cannot start a question title with the name of a language tag" or something like that? It would save a lot of editing and would pretty much be a BeginsWith call.


How do you inverse a Regex expression in PHP?  This is my code:  preg_match("!
.*?
!is", $source, $matches);   This is checking the $source String for everything within the   Container and stores it in the $matches variable.  But what I want to do is reversing the expression i.e. I want to get everything that is NOT inside the  container.  I know there is something called negative lookahead, but I am really bad with Regular expressions and didn't manage to come up with a working solution.  Simply using ?!  preg_match("?!
.*?
!is", $source, $matches);   Does not seem to work.  Thanks!


Setting the system-wide PATH environment variable in Mavericks

In previous OS versions one could set the system-wide PATH environment variable in /etc/launchd.conf to make it available for all apps (not just the command line).  In Mavericks this appears to be no longer used.  Is there another technique for doing this in mavericks?


Sum values from multiple selects gives strange results in total

I tried to add value price tag several selects but I get some strange results.  I would appreciate help to know that certain numbers do not sum well.  Here I leave the link to the example jsfiddle.net    javascript Function:  sumValues('#priceList', '#totalPrice'); function sumValues(list,total){   var allListElements = $( "select" );   var sum = 0;   $( list ).find( allListElements ).each(function() {     sum += Number($('option:selected', this).attr('price'));   });   $(total).empty();   $(total).append(sum+' €');  }   html Code:
       <select class="participant" name="price1" style="width: 100%" onchange="sumValues('#priceList', '#totalPrice')">         <option value="0" price="0"> 0€ </option>         <option value="1" price="10.62" selected="selected"> 10.62€ </option>     </select>     <select class="participant" name="price2"  style="width: 100%" onchange="sumValues('#priceList', '#totalPrice')">          <option value="0" price="0"> 0€ </option>          <option value="1" price="13" selected="selected"> 13€ </option>     </select>


How to show infinite solutions of linear equation system?

For example we have α, β belongs to $\Bbb R$, then how to show that the following system of linear equations will have infinite many solutions whenever β belongs to $[−\sqrt 2,\sqrt2]$?    $$\left\{ \begin{align} -x + \sin \alpha\,y - \cos\alpha\,z=0,\\     \beta\, x + \sin \alpha\,y + \cos\alpha\,z = 0,\\     x + \cos\alpha\,y + \sin \alpha\,)z= 0. \end{align}\right.$$


Install Wifi Driver for Realtek 0bda.b812 RTL8812BU

I know there are several webpages and githubs regarding Realtek wifi driver installation, but I am just not understanding it. If someone could please help me to install the driver for my device, I would appreciate it. lsusb yields: 0bda:b812 Realtek Semiconductor Corp. USB3.0 802.11ac 1200M Adapter So I found this Github, but I don't know how to use it:  I downloaded the .zip, extracted it, opened a terminal and typed "sudo make," but the script seems to have errors running throughout it. I think I am missing some kind of argument at the start, but I'm not sure. The end of the script is: cc1: all warnings being treated as errors make[2]: *** [scripts/Makefile.build:275: /home/[user]/Downloads/rtl88x2BU_WiFi_linux_v5.2.4.4_26334.20180126_COEX20171012-5044-master/os_dep/osdep_service.o] Error 1 make[1]: *** [Makefile:1757: /home/[user]/Downloads/rtl88x2BU_WiFi_linux_v5.2.4.4_26334.20180126_COEX20171012-5044-master] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-51-generic' make: *** [Makefile:1795: modules] Error 2  If I run "sudo make install" after this, I receive: install -p -m 644 88x2bu.ko  /lib/modules/5.4.0-51-generic/kernel/drivers/net/wireless/ install: cannot stat '88x2bu.ko': No such file or directory make: *** [Makefile:1801: install] Error 1  Am I even on the right track? Is this what I'm supposed to do with the download from gitHub? Is it supposed to work automatically after a reboot (if the script runs correctly)? If somebody could please help me out, I would appreciate it.


I want to change the group policy setting that applies the value of the Windows Update WSUS server location HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer and HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUStatusServer.   Changing them directly in the registry will not overwrite what has been set in the group policy, so I would like to know, what commands can I use to change the group policy input of these values instead?


I have runtime Linux running in a PLC. My development machine is running Ubuntu 14.04. The PLC and the development machine are connected through a five port switch. I ssh to PLC from my development machine to transfer executable of a networking application that I develop on my development machine.   I run tcpdump on PLC to debug the kind of packets my network application is receiving BUT as soon as I start tcpdump, there starts a flood of ssh sync and acks back and forth from my ubuntu machine to the PLC. The LED lights of ethernet controller of PLC as well on the switch start blinking rapidly. The flood overwhelms the PLC and it almost dies down while all other packets get dropped. It feels like a DOS attack whenever I run tcpdump but as soon as I stop tcpdump, everything calms down and gets back to the normal.   I would like know remedy on this problem and why it happens?     Any help would be appreciated.


Cannot get my figure placed at the right spot

Although I use the option [H] or small case analogue of it [h], my figure is placed separately from the text how can I solve this issue? I tried to provide a minimal working example but this may not illustrate my problem since the document is much more complex than this cut-down version. The minimal working example is:  \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[a4paper]{geometry} \usepackage{graphicx} \begin{document} \subsection{Soliton Evolution} We begin our analysis by simulating the evolution of a third order soliton in the PCF Thorlabs NL-PM 750. This procedure of investigating soliton evolution is usually employed to test the accuracy of the code since solitons are analytical solutions of the NLSE, that is Eq.(\ref{eq:NLSE}).\cite{3} In order to conform with the analysis in the thesis and the article by the Dudley group we select the parameters corresponding to a third order soliton in our fiber\cite{thesis, 6}: \begin{equation} \begin{split} L_D &= \frac{T_{0}^{2}}{|\beta_2|}= 0.158242\ \si{\meter}\\ L_{NL}&=(\gamma P_0)^{-1}= 0.017602\ \si{\meter} \\ P_0& = 598\ \si{\watt} \\ N &= [L_D / L_{NL}]^{1/2} \cong 3 \\ Z_{soliton}&=(\frac{\pi}{2})L_D= 0.248566 \ \si{\meter} \end{split} \end{equation} \begin{figure}[H]\capstart     \centering     \includegraphics[scale=0.5]{SolitonEvolution(3rdOrder).jpg}     \caption{The evolution of a third order soliton with the central wavelength of 790 \si{\nano\meter}.}     \includegraphics[scale=0.5]{SolitonEvolution(3rdOrder)Solperiod.jpg}     \caption{The same soliton with the length scale expressed in terms of the soliton period.} \end{figure} \subsection{Soliton Fission} When we introduce the Raman scattering into the NLSE by modifying it as follows: The parameters selected correspond to a third order soliton and is the same as before. \end{document}


<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> mysql_query("update `mudasser`              set `name`='$name',                 `ar_name`='$ar_name',                 `address`='$address',                 `type`='$type',                 `telephone`='$telephone',                 `date_added`='$date',                 `image`='$file'             where `id`='$id'"   when i echo the query this is the result  update `mudasser` set `name`='Boknan', `ar_name`='بوكنان', `address`='E2', `type`='Abaya Galabia', `telephone`='2535338', `date_added`='2015-06-01 08:54:11', `image`='Boknan.jpg' where `id`='128'   You can see the arabic name appearing correct  but in the database the arabic name is somehow like this ???????  If i run this query directly in mysql, it runs perfect and it is also reading correct arabic in php page.  For reference i am using <meta http-equiv="Content-Type" content="text/html;charset=utf-8"> in php and also using utf-8 in db.  I have searched the net and Stackoverflow but i cant find any answer.


In/on for "into/onto" in colloquial and not so formal AmE

If the context is crystal clear and, as such, allows no risk of misunderstanding or ambiguity whatsoever, unlike "Paul jumps into the lake (= Paul jumps into the lake from a certain point)" vs. "Paul jumps in the lake (= Paul is in the lake and jumps out)", is it grammatically acceptable in AmE to substitute "in" and "on" for "into" and "onto" to indicate movement or the idea of movement, for all but the most formal prose?  E.g.  Should we go in the pool first, or should we shower first?   Let's get on the bus before the good seats are taken.   Let me translate this in the language of non-BS...


Two pdf versions from one single .TEX file?

I publish a lot for science journals and some of them are very strict on the number of pages your manuscript will be, as usual the final version of the articles is double column but for review and stuff like that it is always ez to compile as single column.  My question is this, Is there a way to compile just one .tex file and get a Single column pdf and a double column one?  I read that this could be achieve by use of \write18 but I don't understand at all how  I guess must be something like this:  \documentclass[layout=onecolumn]{SomeJournalStyle} all the preamble  \write18{pdflatex "2Columnversion" Master.tex some script/modifier to change column layout at preamble }  \begin{document} . . . . . \end{document}


I have created this program to convert string to float the program run ok but when I try 1995.1995 it output 1995.2 but it works for other strings like 1 can any explain the reason?  #include <iostream> #include <iomanip> using namespace std; bool isValid(char c) {     if (c == '.')         return true;     if (c >= '0' && c <= '9')         return true;     return false; } int main() {     char input = '0';     while (isValid(input)) {          float result = 0;         bool isFraction = false;         float divideBy = 1;         cout << "please enter string to convert : " << endl;         cin >> input;         while (true)         {             if (input == '.') {                  isFraction = true;             }              else {                  int intInput = input - '0';                 if (isFraction) {                     divideBy = divideBy * 10;                     result = result + intInput / divideBy;                 }                 else {                     result = result * 10 + intInput;                 }             }             if (cin.peek() == '\n')                 break;             cin >> input;         }         cout << "Your input is : " << result << endl;     }     return 0; }


How to print the body of imported method or function in python?

I am currently using online python interpreter. The problem is here, there are some pre-loaded variables or functions which do not appear on the interactive editor, just there is an instruction which informs their name and their final output. The question here is, how to find out the structure of the functions or in other words how to print their scopes? For instance, instruction indicates the name of a function is get_mse() and It operates Mean Squared Error and also gets three arguments, then It is ready to use but I want to know what It consists of.  Note: These imported functions are not built-in and certainly manipulated and imported from other python files which are not available from the source.


Possible ways to place tower on chess board without any tower beating another

On a regular chess board (8 by 8 possible positions) we place 8 towers. How many possibilities are there where no tower can beat another tower, i.e no more than one tower on each row and and column.  This is for example an allowed configuration:   The correct answer is 8!, and the expiation goes something like:     Chose a certain row. On this row, we have 8 possible allowed choices for the first piece. On the next row, we have 7 possible positions. Etc, down to the last row.   However, I don't really understand why my way of thinking is incorrect. I was thinking that for the first piece, we have 8*8 allowed positions. For the next one, the first piece have "tainted" an entire row and column, allowing us 7*7choices, etc. This, of course, give us many more choices.  I have a gut feeling that it's wrong, but I can't really tell why.  Any suggestions?


I know the projection along a diameter is an SHM but is circular motion itself an SHM? If we consider the mean position to be the center of the circle then the centripetal acceleration is proportional to the distance and in opposite direction of the position of the particle. So shouldn't it be an SHM?


When for the first time A new question I answer This haiku appears:     Little slab of meat   In a wash of clear jelly   Now I heat the pan   Such a message is Very strange; is anyone Seeing the same thing?  Have not seen again. Came and went like the wind does! Why I am so blessed?


If $x \equiv 1 \pmod 3$ and $x \equiv 0 \pmod 2$, what is $x \pmod 6$?

If you know what a number mod two different primes is (3 and 2) in this case, how can you tell what the mod is of the two products?


A cuboid appears in the final render instead of window blinds

THE window blinds in my scene appear with a large cuboid covering it. This is only  showing up in the render output. I tried making the window hole with a boolean modifier and without- but this cube shape is appearind either way. I'm still a learner, can someone please help?


Is PHP memory-inefficient at string manipulating?

Today I had an issue today with PHP and MySQL (), which has already been solved but it awakened a new, more theorical, question.  The thing is that in MySQL database I had a field whose type was VARCHAR(64). When trying to insert a string from a php script, the full string was more than 64 bytes, making a var_dump proved it had 71. BUT, here is what I do not understand, running the exact same query, with the exact same string, but manually from phpmyadmin, it did fit in the 64-byte sql field.  So, here is the question. Is there any reason of why the same string in php takes more memory than inserting it directly to the database?  EDIT: Someone suggested a duplicate of a charset-related question. The charset in MySQL is utf8_general_ci. In PHP I have not defined the charset, but if I di print(mb_detect_encoding($string)); I get it is ASCII encoded. May this be the reason? How wrong can I be if I think ASCII takes less memory than utf8? (Anyways, in the script I have mysqli_set_charset($con,"utf8"); so it should be converted to utf8 before querying)


How do use my ubuntu live cd without a black screen?

I burned an ubuntu 16.04 live cd and tried to boot with it using my laptop. I got to the menu where it asked me to try out the OS or install it but when i selected "try out" my screen went black and i was unable to use the OS. Any way to fix this? The laptop is a Packard Bell Easynote TE69 with a Terabyte harddrive 4gb of ram and an Intel i3 processor


How to change the title of a section in the table of contents

In the file I am working on, some lengthy section titles are split up into two lines in the table of contents, with just one word dangling on the second line. Therefore, I would like to redefine the title of the section that appears in the table of contents, while keeping the original section title the same, such that everything fits neatly on one line in the table of contents. Is this possible and if so, how do I do it?


Character performing a Move which he/she does not have

If a Fighter is hidden and chances upon an opponent, and wants to backstab it, how is it handled, despite him not having a Backstab move?  Or a Fighter who surprises an opponent, and wants to go for a Called Shot, which only the Ranger has? Should I follow what the narrative suggests, or just allow the Fighter to make a Hack & Slash move, or...?


I would like to ignore the carriage-return line-feeds on the match, but keep them in what is selected.  The "." symbol is defined as "matches any character except newline".    The following sample gives the desired results when the `n is removed. I want the XML Partner Tag.  I was parsing in XML, but my output didn't seem to be compatible with the utility I'm using (BizTalk Import Binding for Parties).   $bindings = "starting stuff <Partner> more stuff <Name>CompanyName`n</Name> other things </Partner> ending stuff"   $partner = ""  $found = $bindings -match "(<Partner>.*<Name>CompanyName</Name>.*</Partner>)"  if ($found)  {     Write-Host "matched"     $partner = $matches[1] }  Write-Host "partner=$partner "   I have also tried this:   $found = $bindings -match "(<Partner>[.\r\n]*<Name>CompanyName</Name>[.\r\n]*</Partner>)"


Server architecture for high traffic system

we are working on the online exam system, which supposed to have much traffic at the same times, more than 15000 students will log in and make an exam at the same time, we are developing this system using laravel + MySQL database. recently we purchase a dedicated server with 64G ram, 42 core. what is the best architecture for this dedicated server to handle these many requests at the same time , I am thinking to install containers inside that server and split it as  2 containers as web servers with Nginx and apply load balance between them using haproxy . 2 for MySQL database and apply load balancing. 1 for cache server using Redis server  but I am not sure if this way is good or not. please advise me to handle this issue, I am waiting for your recommendation best regards


Localization commutes with Hom for finitely presented modules

I am trying to solve an exercise given in Vakil's Algebraic Geometry notes. Suppose $M$ is a finitely presented $A$-module. The $M$ fits inside an exact sequence $A^q\rightarrow A^p\rightarrow M\rightarrow 0$. I'd like to understand why in this case we get an isomorphism $S^{-1}\text{Hom}_A(M,N)\cong \text{Hom}_{S^{-1}A}(S^{-1}M,S^{-1}M)$. This problem is towards the beginning of the book, so in particular there should be a way to solve it without heavy duty commutative algebra. So far, I've only come up with the following: We can use the universal property of localization of modules so that for any map from $\text{Hom}_A(M,N)$ to $\text{Hom}_{S^{-1}A} (S^{-1}M,S^{-1}M)$ (in which the elements of $S$ are invertible), there exists a unique map from  $S^{-1}\text{Hom}_A(M,N)$ to $\text{Hom}_{S^{-1}A}(S^{-1}M,S^{-1}M)$. However, what should this map explicitly be? Is this the way to go about showing these two are isomorphic? EDIT: There is a question about the same problem, but I am specifically asking about how to construct a map between the two sets. The solution in the related question uses facts about flat modules which I am trying to eschew.


Relationship between $\tanh x$ and $\arctan x$

The functions $\tanh x$ and $\arctan x$ have a similar graph. Is there a formula to transform $\tanh x$ to $\arctan x$?


I have been reading all the various posts on stackoverflow and other but still yet I am facing an issue. Please don't make it as duplicate.  I am unable to align form id="clientLogin" even I use float:center/middle; and position etc. But can't get success.please fix my issue or if I doing any mistakes in case please update that. Thank you advance!   CSS FILE:

Check Ticket Status

To view the status of a ticket, provide us with the login details below.
 <form action="login.php" method="post" id="clientLogin">

         E-Mail Address:         <input id="email" type="text" name="lemail" size="30" value="">

         Ticket ID:         <input id="ticketno" type="text" name="lticket" size="30" value="">

         <input class="btn" type="submit" value="View Status">
     </form>

 If this is your first time contacting us or you've lost the ticket ID, please open a new ticket.


Easy database reconfiguration for migration

I have build a Drupal site on my local development server and I am preparing to move it to my test server and eventually my live server.  I know where to find the database settings in my settings.php file, but there only appears to be one set of database configurations.  I would like to know if there is a good way to include three different database settings in my settings.php file, one for my development environment, one for my test server and one for my live server.  I could simply add a settings section to the file for each and simply comment out the ones that I am not using, but I would like to use an automatic solution, one that can either allow me to specify a setting for all three locations, or tries each setting until it finds a setting that works.


When viewing any question, it would be nice to see the total number of votes as a little tagline underneath the total vote score.    It would be nice to see the difference  between:  +0 (0 votes)      <-- of little interest (0 up, 0 down)   versus  +0 (214 votes)    <-- controversy (107 up, 107 down)   You could show the individual up/down totals (+12, -15) but I thought a simple total might be somewhat cleaner.


Brightness controll not working in lenovo g580

my laptop is lenovo g580. Configuration is  CPU : Intel® Core™ i3-2370M CPU @ 2.40GHz × 4  GPU : Nvidia geforce 610M Kernel Linux 3.5.0-17-generic  My problem is that I cannot control the screen brightness. When I try to control the brightness using (Fn + up/down) the pop-up notification on the right top of the screen comes  but the brightness does not change.  When I installed ubuntu for the first time the brightness control worked properly. But after the first reboot brightness not changing. Then I installed kernel 3.5. After that also the brightness control worked properly. But after the first reboot brightness not changing.  Now I observed that brightness control works well after the very first reboot of kernel update (update-initramfs -u).  What may be the reason?  Thanks in advance.


How can I download an entire playlist from youtube even it exceeds 25 videos?

I know it may seem a duplicate question but I'm a very new user of ubuntu and those old methods I searched didn't work for me  What I'm looking for is a guaranteed updated way with steps showing me how to download full playlists from youtube. I have tried many ways using many applications but all are need to be activated to download playlists with more than 25 videos Another way is the Terminal way which I completely don't understand so you'll be doing me a big favor of showing me how the whole story goes  The terminal way :   Thanks in advance


I have seen people use both forms below. Which is correct? If both are, in which situation is each better used?  I am a software engineer based in New York. I am a software engineer based out of New York.


I want to show the IP address like below  lo : 127.0.0.1  eth0 : 192.168.5.123 eth1 : 192.172.0.212 wlan0 : 10.1.0.124   I'm able to print all IP address by ifconfig | awk '/inet addr/{print substr($2,6)}'. But it is only printing the IPs. Every system have their own interface names and addresses. So my script has to show their interfaces with respect to IP addresses.


How can a user view a list of "on hold" or closed questions? Does this action require some kind of privilege or special trick?


Fractional exponentiation in modular arithmetic

Does raising a modular expression to a fraction mean anything?  For example, $a\,\,mod \,\,N$ raised to $1/b$ where $b>0$.   Does this violate the rules of modularity?


Download a files from a website using cmd prompt

I am very new to cmd prompt and I was asked to find out how to script cmd to pull files from a website.    Honestly, I am totally at a loss, so any help would help me escalate the project I am working on.    Currently, I am using this script to go to the website but, but I am probably making some kind of mistake.  I am on Windows 7.  @echo Off TITLE Download Treasury Files Pause CD C:\Users\wkhan\desktop START http://www.treasury.gov/ofac/downloads/t11sdn.pdf


As I understand it, if light is traveling at the speed of light, then from it's point of view space is fully compressed in its direction of travel.  Does that mean that from it's point of view, light isn't traveling through space, and has already arrived as soon as it's created?  Does that mean that light knows the future?


What are the best free schematic tools out there?

I'm sure there are plenty of schematic tools available.  Which ones do you use/prefer?  Feel free to also list tools which aren't completely free but very popular.


I want to select the value from the dropdown

I am testing www.paytm.com  In that I have filled in the mobile number but I am not able to focus and select the mobile operator which is present in the dropdown just after the phone number section.  I want to select 'vodafone' as the value from the dropdown.  How to do that using webdriver  Code I have written till now  `  public class MMT {   public static void main (String[] args)  {  System.setProperty("webdriver.chrome.driver","E:/som/chromedriver/chromedriver.exe");  WebDriver driver = new ChromeDriver();  driver.get("http://paytm.com");  driver.findElement(By.id("mobile-number")).sendKeys("9876543212");`   What should be my next steps?


Is there any formula for the sum of principal minors? (note: $i^{th}$ principal minor which results from omitting the $i^{th}$ row and $i^{th}$ column)


proving combinatorics identity - $\sum_{k=0}^m{n-k \choose m-k}={n+1 \choose m}$

Prove that for every $n \ge m \ge 1 , \sum_{k=0}^m{n-k \choose m-k}={n+1 \choose m}$    I've tried saying that the RHS represents the number of binary series with m "1" 's and n+1-m "0"'s, but I couldn't find out what k represents at the LHS. Thanks


How to keep my vehicle upgrades equipped on Jetpack Joyride?

Everytime I start the game I have to re-equip ALL my vehicle upgrades. The gadgets are fine, the issue is only with the vehicles. I've already tried to backup my save and reinstall the game, but it didn't solve my problem. I'm running it on Android 2.3.6. Any suggestions?


I got the question from one of the previous old exam sheets, but I couldn't be sure to determine it. Let $\alpha=\sqrt[3]2$ and $\epsilon=e^{\frac{2\pi i}{3}}$(a primitive third root of 1) and let $K=\Bbb{Q}[\alpha,\epsilon]$. Find the intermediate fields of the extension $K$ over $\Bbb{Q}$.


Using AncestryDNA to verify biological father?

I believe I have finally found my biological father.  I was recently contacted by a possible cousin.    Amount of Shared DNA in Ancestry is 548 centimorgans shared across 31 DNA segments.  In GEDMATCH the Largest segment = 75.3 cM Total of segments > 7 cM = 625.0 cM 25 matching segments  Estimated number of generations to MRCA = 2.3  Is this a good chance that I have found my long lost family?


change whole font of beamer to arial bold italic?

how to change the font of the content to bold italic ?  thank you   here my cool superbe example:  \documentclass[14pt,t]{beamer} \usepackage{url} \usepackage{hyperref} \usepackage{graphicx} \usepackage{grffile} \begin{frame}\maketitle\end{frame} \begin{frame} \frametitle{test0} \begin{itemize} \item test \item test \begin{itemize} \item test \end{itemize} \end{itemize} \end{frame} \end{document}   A possible solution would be to use:  \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \renewcommand{\rmdefault}{phv} \renewcommand{\sfdefault}{phv} %\renewcommand{\mddefault}{b}   % this content bold with b \renewcommand{\bfdefault}{phv} % Helvetica has no bx series \renewcommand{\updefault}{sl}   But it does do helvel arial bold for the whole document, and maybe there are ways to have the items/text of the slides in bold italic, and to keep normal phv for the top of the slide (frame title)?


Getting the value of a form field after keypress event

myInput.value is one keystroke behind when I examine it in a keyPress event handler. So if the users types "a", myInput.value gives me "". Then when the user types "b", myInput.value gives me "a", and so on. The value doesn't seem to get updated with the character input by the keystroke that triggered the event. What am I doing wrong?


Need new house location added to Google Maps

We have recently built a new house in an existing subdivision.  I am registered with 911 and receiving mail at this address.  Street is not currently shown on Google maps.  How do I add my location to Google Maps so deliveries can find me.  I am also having problems with changing my address (getting invalid address messages) ... apparently since it does not currently show up in Google Maps.


Can Wall of Force transfer thermal energy?

Is there any text stating that walls or objects made of force can or cannot conduct thermal energy?  For example: Wizard is pushed off edge of volcano into magma. Let's surmise he is able to cast  or some other means that allow him to be inside a sphere of force.   Sphere hits lava, starts to sink. He's protected from the lava by the force wall, but does the thermal energy from the lava "heat" up the force wall which then heats the air inside and eventually traps him inside a death oven where he cooks inside his own wall of force?


Lamp visible in solid shading, but not in rendered mode

so I'm new to blender. I was following this tutorial and found out I might have done something wrong. In object mode -> solid, I can see my lamp and the effect it has. In object mode -> rendered it's just dark and no sign of a lamp nor light.The strenght of the lamp is high enough.  Can someone help me out and tell me what I might have done wrong?


I'm aware I can use (sudo?) shutdown -h hh:mm in a terminal window to shut down a system, however the user that is logged in is a kiosk user, which is locked down in such a way that terminal (or any window other than firefox, for that matter) cannot be opened.  My question is: Is there a way I can do this without having a terminal window opened? I've read about cron, but can't quite work it out. How can I change the shutoff time depending on what day it is?


Securing pages that are included with include("");

Currently learning about PHP and using include to include page elements such as   include('menubar.php'); include('content.php'); include('footer.php');   which are all called by from say private.php  I'm wondering what you think it's the most convenient way of securing these pages in the case of typing in example.com/content.php  I'm currently using something like  <?php // require("common.php");   // Check to see if the user is logged in if( empty($_SESSION['user']) || $_SERVER['PHP_SELF'] == "content.php")  {      // if either is true redirect to index.php     header("Location: index.php");      die("Redirecting to index.php"); // login page }    But wanted to know there is anything else I could/should do?  Note: $_SESSION['user'] is validated at the beginning of each session, or on login.


Variance of product of multiple independent random variables

We know the answer for two independent variables: $$ {\rm Var}(XY) = E(X^2Y^2) − (E(XY))^2={\rm Var}(X){\rm Var}(Y)+{\rm Var}(X)(E(Y))^2+{\rm Var}(Y)(E(X))^2$$  However, if we take the product of more than two variables, ${\rm Var}(X_1X_2 \cdots X_n)$, what would the answer be in terms of variances and expected values of each variable?


Prove that $\sqrt{a^2-a+1}+\sqrt{b^2-b+1}+\sqrt{c^2-c+1}\ge a+b+c$

For $a,b,c>0;abc=1.$ Prove that $$\sqrt{a^2-a+1}+\sqrt{b^2-b+1}+\sqrt{c^2-c+1}\ge a+b+c$$ I will post my solution in the answer. Now I'm looking forward to another solution.


Is this query secure from sql injection?

Is this query secure from sql injection ?  And a must in every function to write $connection->close();?  function insert_mytable() {     global $connection;       $text = 'bla bla';     $hashtag = 'bla bla';      // Prepare the statement     $stmt = $connection->prepare("INSERT INTO my_table (text, hashtag) VALUES (?, ?)");     $stmt->bind_param('ss', $text, $hashtag);      // Execute the statement     $stmt->execute();      // Close the statement     $stmt->close();     $connection->close(); }


Non-existence of $\lim \limits_{(x, y) \to (0,0)} \frac{x^3 + y^3}{x - y} $

How to show that $\lim \limits_{(x, y) \to (0,0)} f(x, y)$ does not   exist where,         $$f(x, y) =  \begin{cases} \dfrac{x^3 + y^3}{x - y} \; ; & x \neq y \\  0 \; \;\;\;\;\;\;\;\;\;\;\; ; & x = y  \end{cases}  $$   I tried bounding the value of the function as $(x, y)$ approaches $(0,0)$ but was not successful. I graphed the function and saw that it was actually approaching $0$ but Microsoft Math failed to render some points around the $x = y$ plane. So I imagine I need to find points $(x, y)$ such that $x$ is extremely close to $y$ but $(x, y)$ is not as close to $(0,0)$ to show that the function does not approach $0$ around the origin. But was unable to think of any.   Hints or suggestions would be awesome. Any help is appreciated.


Calculating $\lim_{n \to \infty}\left(\frac{1^n +2^n +3^n + \cdots + n^n}{n^n}\right)$

Evaluate : $$\lim_{n \to \infty}\left(\frac{1^n +2^n +3^n + \cdots + n^n}{n^n}\right)$$  I tried using squeeze theorem, but I couldn't find the proper inequality. I also thought of using the  but it further complicated the problem. Any help will be appreciated. Thanks.


I got a hotel card now. My smart gf says I do not need to check out.  She said just throw away the card that the hotel will automatically check me out.  The card is cheap and replaceable.  I fear that if I don't check out, debt collector will come to my home and says hello, you have stayed in our hotel for 5 years and you owe use these bills.  My gf says it won't happen.  Which one is right?


I am trying to set up 18.04 alongside Windows 10 using an usb stick. What should I do?


Verification of proof involving the lcm of consecutive numbers.

$\newcommand{\lcm}{\operatorname{lcm}}$ Just a quick one. I have to prove that the lcm of two consecutive numbers is its product. Using the identity $\gcd(a,b) \cdot \lcm(a,b) = a \cdot b$, you can find $\lcm(a,b) = \frac{a \cdot b}{\gcd(a,b)}$ I can prove separately that the gcd of consecutive numbers is 1 (coprime) -- which leaves $a \cdot b$ and thus proving the statement. I'm pretty sure this is complete but for the sake of clarity is there something I'm missing?


When i send the email using php in gmail it went to the Spam folder in gmail? How can i prevent that?

please refer the following code.in there am sending username and password.email has sent to the gmail.but it is in spam folder.it happens only in gmail.  Here is my code  $to = $email; $subject = ' Web Site| login Details'; // Give the email a subject $message = '         Thanks for signing up!         Your account has been created, you can login with the following credentials.          ------------------------         Username: '.$uname.'         Password: '.$upass.'          Web Builder login: '.$ulink.'         ------------------------ ';  $headers .= 'From:noreply@ggg.eee.net' . "\r\n"; $headers .= 'Bcc: kae@ggg.eee.net' ."\r\n"; $headers .= 'Bcc: thi@ggg.eee.net' ."\r\n"; mail($to, $subject, $message, $headers);


The temperature that  can produce is limited due to the solid angle of the sun itself.  Entropic arguments dictate that you can't focus the sun's light to create temperatures higher than the sun's surface, and sure enough, the size of the dot where its focused can't be minimized beyond a certain limit.  Lasers offer a very potent beam of light, but it would seem to me that it is also highly organized beam of light, since all of the photons in the beam are traveling in very nearly the same direction.  Question: Let's say that I have a laser beam of some given power that starts with some diameter $D_o$ at the point of emission and increases to $D_f$ at some distance $r$ away.  Would this be sufficient information to imply a limit to the power per unit area (W/m^2) that could be obtained through focusing and what would that be?  What lens characteristics and approaches would someone look for in order to do this with a laser pointer?  I should note that the  but I'll be forthcoming that I don't understand it and find it confusing.  Well, it mentions wavelength, which I recognize would limit the W/m^2 power if the beam was perfectly straight, but I'm interested in the limit due to manufactured imperfection of the laser, so unless somebody is over-complicating this (which is fine as long as you answer the question first), I don't think the answer should have anything to do with the wavelength.  I mean, the wavelength should be sufficiently small compared to the size of the dot that could be created, correct me if this is the wrong way of thinking of it.  I'm also interested if this is the mechanism used for .  Note that the Wikipedia article introduces the subject with Laser cutting is a technology that uses a laser to cut materials.  Pardon the internet speak, but this makes me want to facepalm.    I'm seeing several new terms so I'm putting a glossary here to help the discussion.   Gaussian beam Divergence half-angle Far field   A Gaussian beam is a beam where if you shine it on paper, the intensity has a Gaussian distribution.  Easy enough.  The Divergence half-angle is the angle it's diverging at, given a few qualifiers, from     Far field is a point far to the right on this image where the width of the beam is close to the black lines.  Some other mechanism prevents it from converging at a point in the middle because, of course, we could have already dismissed that as theoretically impossible.


conditionally assign var with check for defined and condtion

I want to assign a variable conditionally.  This does not work  [[ -v $2]] && [$2 == "init" ] && command="./ops/init.sh" [[ -v $2]] && [$2 == "destroy" ] && command="./ops/teardown.sh" [ -z "${2}" ] && command="./ops/help.sh -h"   I am trying check for the existence of the argument and another conditon but I cannot get the syntax right


Advantage of Javascript object prototyping?

I recently started learning about prototypes in Javascript.  I am confused about the advantage of adding methods into a prototype.  Here is an example of what I am thinking  One way to calculate the area of a circle could be like this  function Circle(radius, area){   this.radius = radius;   this.area = (radius*radius*Math.PI); }   But then another way would be like this  function Circle(radius, area){   this.radius = radius; }  Circle.prototype.area = function(){   return this.radius*this.radius*Math.PI }   What is the advantage to making the area method a part of the prototype versus putting a method directly in the constructor?


$H_1 ,H_2 \unlhd \, G$ with $H_1 \cap H_2 = \{1_G\} $. Prove every two elements in $H_1, H_2$ commute

This is the proof, which I mostly understand except for one bit:  You have $h_1 \in H_1$ and $h_2 \in H_2$.   We also have $h_1^{-1}(h_2^{-1}h_1h_2) \in H_1$, because $h_2^{-1}h_1h_2 \in h_2^{-1}H_1h_2 = H_1$. Similarly, we have $(h_1^{-1}h_2^{-1}h_1)h_2 \in H_2$. Therefore  $$ h_1^{-1}h_2^{-1}h_1h_2 \in H_1 \cap H_2 = \{1_G\} $$  and so $h_1^{-1}h_2^{-1}h_1h_2 = \{1_G\}$. Let's first multiply everything on the left by $h_1$  $$h_1^{-1}h_2^{-1}h_1h_2 = \{1_G\}$$ $$ h_1 h_1^{-1}h_2^{-1}h_1h_2 = h_1 \{1_G\}$$ $$ h_2^{-1}h_1h_2 = h_1 \{1_G\}$$   Multiply both sides on the left by $h_2$ giving us  $$ h_1h_2 = h_2 h_1 $$  The bit I don't get is right at the beginning. Why is this correct: "We also have $h_1^{-1}(h_2^{-1}h_1h_2) \in H_1$, because $h_2^{-1}h_1h_2 \in h_2^{-1}H_1h_2 = H_1$."


Will being denied Schengen entry affect my future travel there?

On June 5, I arrived at the airport in Frankfurt and intended to fly to my final destination, with an intermediate connection in Vienna. Because of not having a Schengen visa, I wasn't permitted to continue my flights and my passport was stamped as you see below. Fortunately, I was allowed to buy tickets bypassing Schengen zone and reach home. If I had known about the visa requirement beforehand, I never would have bought the tickets that caused so many problems. What the codes "C" and "I" in the rights below corner of the stamp mean and what are the implications of these codes?


uncooked pork left out overnight in original packaging

My kids helped unpack groceries last night and left a bag of uncooked pork chops in the original packaging out overnight.  They were still in the shopping bag on the floor of the kitchen.  There was also ground beef that comes in the chub packaging left out.  The chubs were frozen when I bought them. When I put them away in the refrigerator, they were still partially frozen.  I am on a very limited budget and can't afford to replace these items.  Are these items safe to eat?


PDO "ORDER BY" only works when hardcoding

I want to fetch results from a MySQL database with PDO. The user should be able to order them by tablerow by which type (ascending or descending). This seems to only work when you hardcode it.   Does work:  $query = "SELECT * FROM ".$config->dbPrefix."content            WHERE cat_id = 2           ORDER BY id DESC "; $query = $pdo->prepare($query); $query->execute(); $result = $query->fetchAll();   Doesn't work:  $orderRow = 'id'; //from $_POST $orderType = 'DESC' //from $_POST  $query = "SELECT * FROM ".$config->dbPrefix."content            WHERE cat_id = 2           ORDER BY :orderRow :orderType "; $query = $pdo->prepare($query); $query->bindValue(':orderRow', $orderRow); $query->bindValue(':orderType', $orderType); $query->execute(); $result = $query->fetchAll();   So my question is: what is the best way to do this and why isn't this implemented?  The best way I can think of is using a switch statement and writing the query for every different option which would have like 14 different available cases.


Seeing what LaTeX passes to Lua and what Lua passes to LaTex

When writing code like \documentclass{article} \directlua{dofile("myLuaFunctions.lua")} \newcommand*{\myFunction}[3]{%     \directlua{tex.print(myFunction(#1, #2, #3))}% }   \begin{document}    \myFunction{3}{5}{7} \end{document}  I'd like to see :  what Lua receives from LaTex what (La)TeX receives back from Lua  Regarding 1. I have read in  that it is enough to place this code at the beginning of the TeX file to see what Lua receives : \newrite\luadebug \immediate\openout\luadebug luadebug.lua \AtEndDocument{\immediate\closeout\luadebug} \newcommand\directluadebug{\immediate\write\luadebug}  but just placing it at the beginning of my TeX file gives me a compilation error. \newrite is not recognized. I have a message like unrecognized sequence ... Regarding 2. Is there a way to get the Lua written in the TeX document to see if it writes the expected string ? Any other debugging tip is welcome, my understanding of the process being really limited.


Show $P(z) $ is a polynomial of degree $n-1$ interpolating an Analytic function.

Let $C$ be a regular curve enclosing the distinct points $ω_1,ω_2,...ω_n$ and let $p(ω) = (ω −ω_1)(ω −ω_2) \cdots (ω −ω_n)$. Suppose that $f (ω)$ is analytic in a region that includes $C$. Show that   $$P(z) =  \frac{1}{2 \pi i} \int_C \frac{f(ω)}{p(ω)} . \frac{p(ω) -p(z)}{ω -z} dω$$  is a polynomial of degree $n-1$ and $P(ω_i) = f(ω_i)$.


Here is my code. the output should be 32.9. But it seems showing      Exception in thread "main" java.lang.NullPointerException     at   ArrayLocation.main(ArrayLocation.java:14)     public class ArrayLocation {     private double coords[];      public ArrayLocation(double[] coods){         this.coords=coords;     }      public static void main(String[] args){         double[] coords={5.0,0.0};         ArrayLocation accra= new ArrayLocation(coords);         coords[0]=32.9;         coords[1]=-117.2;         System.out.println(accra.coords[0]);     } }


I'm trying to create a herringbone pattern that will wrap around a cylinder. I'm assuming that there's a way to do this using the brick texture node but I can't work out how to alternate and/or manipulate the rotation of bricks within the pattern itself?  Edit: The pattern is not the same as that than in the answer that I'm being told this is a duplicate of - that's not even close to the pattern I'm looking for. I'm looking for a herringbone pattern as in the example below, not just simple zig zags. Any actual help greatly appreciated!


How can we be sure about the constancy of atomic clocks as in the Hafele and Keating time dilation test?

Atomic clocks were used in Hafele and Keatings experiment which supposedly helped to prove time dilation.    How can we be sure other forces didn't act upon the clocks as a result of their being at different speeds and elevations? Perhaps the elapsed time may have been the same for all and only appeared different as a result of the clock's atoms behaving differently in different environments.  How might the presence of dark matter (presumably all over the place) impacted the clocks if say the dark matter is stationary relative to the earth's rotation?  What experiments have been done to test the constancy of clocks at different speeds and elevations?


Does this method will save memory significantly when you need to create lots of objects. I read a blog talking about __slots__ use case, he said that. I tried to test it using memory record lib in my own computer, but I can't find any difference.


A simple explanation of the Born rule (v.2)?

Please post further comments or answers to   The probability that an initial quantum state $|\psi_i\rangle$ evolves to become the final quantum state $|\psi_f\rangle$ is given by  \begin{eqnarray} P_{i \rightarrow f} &=& |\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle|^2 \tag{1}\\ &=& \langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle^*\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \\ &=& \langle\psi_i|U^\dagger_{i \rightarrow f}|\psi_f\rangle\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \\ &=& \langle\psi_i|U_{f \rightarrow i}|\psi_f\rangle\langle\psi_f|U_{i \rightarrow f}|\psi_i\rangle \end{eqnarray} where $U_{i \rightarrow f}$ is the forward-time evolution operator and $U_{f \rightarrow i}=U^\dagger_{i \rightarrow f}$ is the corresponding backward-time evolution operator.  Equation (1) seems to show that the probability $P_{i\rightarrow j}$ can be interpreted as the system first evolving forwards in time and then evolving backwards in time.  Perhaps this is an example of Murray Gell-Mann's  that "Everything not forbidden is compulsory"? At the quantum level, below observable probabilities, there is nothing to stop time flowing both forwards and backwards.  Does this reasoning help to explain the Born rule?


List has No Rows for Assignment to SObject: Error

I have below trigger code where I get "List has No Rows for Assignment to SObject"  Apex trigger:  trigger CallVisibility on Compliance_Incident_Transaction_abv__c(before insert, before update) {      // List<Compliance_Incident_Transaction_abv__c> olis = [SELECT Id, Call_Account_abv__c,Call_Load_abv__c, Account_abv__c,Ownerid FROM Compliance_Incident_Transaction_abv__c WHERE Id IN: Trigger.newMap.keySet()];      for (Compliance_Incident_Transaction_abv__c o: Trigger.new) {          //System.debug(o.Order_Phase__r.Order__Item__r.Order_Project__c);         String Terr=[select territoryId from userterritory where userid=:o.Ownerid].territoryid;         String TerrName=[select name from Territory where Id=:Terr].Name;         if(o.Call_Account_abv__c!=null) {             String ATL= [select Territory_vod__c from Account_Territory_Loader_vod__c where Account_vod__c=:o.Call_Account_abv__c limit 1].territory_vod__c; // This line throws error             if(ATL.contains(TerrName))                 {o.Call_Load_abv__c=true;}          }     } }


How can I prove or disprove that the formula $2^{2{^{2^{2^2\dots}}}}+1$ gives a prime number?

I could calculate the following $$2+1=3$$ $$2^2+1=5$$ $$2^{2^2}+1=17$$ $$2^{2{^{2^2}}}+1=65537$$  Now how can I prove or disprove the formula always gives a prime number


SSH public key authentication doesn't work

I'm having trouble setting up public key authentication for an SSH server on Ubuntu Server 12.04 (A) for authentication from an Ubuntu Server 13.04 (B).   What I'm doing now (I'm trying to follow the instructions ):   On B: Create a new key with ssh-keygen -C "", using no passphrase, writing to /.ssh/id_rsa - I don't get any errors On B: Run ssh-copy-id -i /.ssh/id_rsa user@host-a - also, a success message On B: ssh -i /.ssh/id_rsa user@host-a - I still have to enter my password for user@host-a   On A, I checked if the /.ssh/authorized_keys is modified after running ssh-copy-id, and this is the case. Also, on both devices I added this to /etc/ssh/sshd_config:  RSAAuthentication yes PubkeyAuthentication yes AuthorizedKeysFile /.ssh/authorized_keys   Does anyone know what might be the problem here?    Here's the tail of my /var/log/auth.log on machine A:  Jun 13 22:17:56 laptop-camil sshd[12344]: Server listening on 0.0.0.0 port 22. Jun 13 22:17:56 laptop-camil sshd[12344]: Server listening on :: port 22. Jun 13 22:18:27 laptop-camil sshd[12345]: Authentication refused: bad ownership or modes for directory /.ssh Jun 13 22:18:30 laptop-camil sshd[12345]: Accepted password for camilstaps from 164.138.27.37 port 48407 ssh2 Jun 13 22:18:30 laptop-camil sshd[12345]: pam_unix(sshd:session): session opened for user camilstaps by (uid=0) Jun 13 22:18:35 laptop-camil sshd[12464]: Received disconnect from 164.138.27.37: 11: disconnected by user Jun 13 22:18:35 laptop-camil sshd[12345]: pam_unix(sshd:session): session closed for user camilstaps Jun 13 22:18:42 laptop-camil sshd[12516]: Authentication refused: bad ownership or modes for directory /.ssh Jun 13 22:18:44 laptop-camil sshd[12516]: Connection closed by <host-b> [preauth]


Does the present perfect imply an action finished in the past?

reading passage:     Ten Taiwanese film directors, producers and screenwriters have been invited to participate in a two-day workshop in Paris next week, to seek co-production opportunities with their counterparts in France.   A total of five Taiwanese film projects have been selected to join the workshop, which will take place at CNC from Jan. 15-16.   My questions:   Why was the present perfect tense used? Why not just the past simple tense?  What does the present perfect imply? Does it imply the state of something already being done?   Thank you very much!


I am working as a software developer from last 2 years but I am still very slow at programming. My concepts and logical skills are good but I get stressed while completing complex tasks. I am comfortable while completing less complex tasks at good speed.  When I review my team members work I easily find bugs in it and enjoy reviewing and testing their work. Should I change my profile to software testing.


Closed form of $\int_0^{\pi/2} \frac{\arctan^2 (\sin^2 \theta)}{\sin^2 \theta}\,d\theta$

I'm trying to evaluate the closed form of:      $$I =\int_0^{\pi/2} \frac{\arctan^2 (\sin^2 \theta)}{\sin^2 \theta}\,d\theta$$   So far I've tried introducing a parameters,  $\displaystyle I(a,b) = \int_0^{\pi/2} \frac{\arctan (a\sin^2 \theta)\arctan (b\sin^2 \theta)}{\sin^2 \theta}\,d\theta$   but that doesn't lead to an integral I can manage. Expanding the series for $\arctan^2 x$ leads to the sum:  $$I = \frac{\pi}{2}\sum\limits_{n=0}^{\infty}\frac{(-1)^n}{(n+1)4^{2n+1}}\binom{4n+2}{2n+1}\left(\sum\limits_{k=0}^{n}\frac{1}{2k+1}\right)$$ and using $\displaystyle \int_0^1 x^{n-\frac{1}{2}}\log (1-x)\,dx = \frac{-2\log 2 + 2\sum\limits_{k=0}^{n}\dfrac{1}{2k+1}}{n+\frac{1}{2}}$ leads to an even uglier integral:  $\displaystyle \Im \int_{0}^{1} \frac{1}{1+\sqrt{1-i\sqrt{x}}}\frac{\log(1-x)}{x}\,dx$ among others.   I got the non-square version, which seems to have a nice closed form $\displaystyle \int_0^{\pi/2} \frac{\arctan (\sin^2 \theta)}{\sin^2 \theta}\,d\theta = \frac{\pi}{\sqrt{2}\sqrt{1+\sqrt{2}}}$ but the squared version seems difficult. Any help is appreciated.   (P.S. - I'm not familiar with Hypergeometric identities, so it would be very helpful if a proof or a reference to a proof was provided, should the need arise to use them.)


I am learning SQlite and I have two classes: DatabaseHelper and MainActivity. The first one is responsible for the database. I would like to create a new table, but in the MainActivity class.   But I am getting this error:   Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.database.sqlite.SQLiteDatabase.execSQL(java.lang.String)' on a null object reference   The code is:  DatabaseHelper.java  public class DatabaseHelper extends SQLiteOpenHelper {      public static final String DBNAME = "ABC.db";      @SuppressLint("SdCardPath")     public static final String DBLOCATION = "/data/data/com.example.abc/databases/";     private Context mContext;     private SQLiteDatabase mDatabase;       public DatabaseHelper(Context context) {          super(context, DBNAME, null, 1);         this.mContext = context;     }       @Override     public void onCreate(SQLiteDatabase db) {     }      @Override     public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {      }       public void openDatabase() {          String dbPath = mContext.getDatabasePath(DBNAME).getPath();         if (mDatabase != null && mDatabase.isOpen()) {             return;         }         mDatabase = SQLiteDatabase.openDatabase(dbPath, null, SQLiteDatabase.OPEN_READWRITE);     }      public void closeDatabase() {          if (mDatabase != null) {             mDatabase.close();         }      }      public List<ABCMODEL> getListABC() {          ABCModel abcModel = null;         List<ABCModel> abcModelList = new ArrayList<>();        openDatabase();             Cursor cursor = mDatabase.rawQuery("SELECT * FROM abctable ", null);         cursor.moveToFirst();         while (!cursor.isAfterLast()) {             abcModel = new ABCModel(cursor.getString(0),cursor.getString(0));             abcModelList.add(abcModel);             cursor.moveToNext();         }         cursor.close();          closeDatabase();          return abcModelList;      }      }   MainActivity.java       DatabaseHelper mdatabaseHelper;      SQLiteDatabase msqliteDatabase;       @Override     protected void onCreate(Bundle savedInstanceState) {         super.onCreate(savedInstanceState);         setContentView(R.layout.activity_main);          mdatabaseHelper= new DatabaseHelper(this);          File database= getApplicationContext().getDatabasePath(DatabaseHelper.DBNAME);         if(false== database.exists()){             mdatabaseHelper.getReadableDatabase();              if(copyDatabase(this)){                 Toast.makeText(this,"Copy database succes",Toast.LENGTH_SHORT).show();              }else{                 Toast.makeText(this,"Copy database error",Toast.LENGTH_SHORT).show();                 return;             }         }          mdatabaseHelper.openDatabase();          String query;          query=                 "CREATE TABLE abctable2(\n" +                         "Text  TEXT,\n" +                         "Text2 TEXT\n" +                         ");";          msqliteDatabase.execSQL(query);         mdatabaseHelper.closeDatabase();         }


Indian travelling to Doha to Banglore via Kuwait,do i need transit visa to go out of airport

I am travelling doha to banglore in kuwait airways, there is a short layover of 6 hours. Can I go outside of airport for sometime for my personal work? can I know what is the process?


In the galaxy there are a fair number of pre-warp societies. A Federation ship is not to contact them. But what about other, non-Federation species?   If for example a Ferengi ship passes by a pre-warp planet, would they be allowed to contact it? What would a Federation ship observing this contact have to do? Are they obliged to intervene? Are they allowed to? Or were they merely allowed to "strongly discourage" the attempt of the Ferengi?  If it is legal to use force to stop the Ferengi, than in essence the Ferengi were bound to the Prime Directive too. And if so: does this go for all Federation territory? Is this confined to the Federation territory? If Janeway observes such an incident, what are her rights to intervene? Or does she have the duty to do so?


JavaScript: Console Log Value Pushed Into Function's Input Parameter After If Statement--> Reference Error

EDITS MADE: based on people's suggestions below, I made the following edits to my code.   The code is returning undefined.  And nothing is getting console logged out.  What am I doing wrong?   function test(arr, initialValue) {        let reverseStr;         if (initialValue === {}) {         reverseStr = {};       } else {         reverseStr = '';       }        console.log(reverseStr)      }       test(['a', 'b', 'c', 'd'], {})   //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////  I have the following code below:        function test(arr, initialValue) {    console.log(initialValue)    if (initialValue === {}) {     let reverseStr = {};   } else {     let reverseStr = '';   }    console.log(reverseStr)  }   test(['a', 'b', 'c', 'd'], {})     I am expecting the invoked function to console log {}.  Instead, I get ReferenceError: reverseStr is not defined   What am I doing wrong?


If $\alpha$ and $\beta$ are roots of monic polynomials in $\mathbb{Z}[x]$, is $\alpha + \beta$?

If $\alpha$ and $\beta$ are roots of monic polynomials (not necessarily the same polynomial) in $\mathbb{Z}[x]$, is $\alpha + \beta$?  I know that $\alpha + \beta$ will be the root of some monic polynomial in $\mathbb{Q}[x]$, but I'm not sure if the coefficients will be integers. I've tried to find a counterexample but I've had no success, which leads me to believe it's probably true. I'm not sure how to proceed with a proof.


how to run python file again and again in ubuntu?

I am new to ubuntu .  I have a python file . i just want to execute it in every 15 min .  any body can tell, how i can do it ?  with all basic steps  Thank you


I'm trying to remove a row based on the id but i keep getting a NullPointerException.  My code:  public void removePatientsFromDatabase(int id) {     String removeSql = "DELETE FROM patienten WHERE idPatient id = idn";     try (Connection con = sql2o.open()) {         con.createQuery(removeSql)                 .addParameter("idn", id)                 .executeUpdate();     } }   The error:    The database:


Not sure if this a specific photoshop related issue or if there's another workaround but I have a 5 second MP4 file which has 5 or 6 multiple photos stitched together, is there a way of turning it into an animated GIF file so I can use it on social media websites like FaceBook and Twitter?


'WE are the most precious person in the world' or 'WE are the most precious persons in the world'

maybe it is simple qusetion.  I just make that  like 'you're precious in the world'  person? persons? people?  but, i confused. . pls help me


I saw this on a Minecraft server, and would like to replicate it. Is this redstone? What is going on to achieve this floating text?  Here is an image.


I have equipped and charged the axii sign of the puppet type and it does always make the enemy (drowner, bandit or alghoul) a friend. But with the exception of a group of drowners it never resulted in the puppet attacking the rest of the monsters.  I have not been able to repeat the situation so far.  Do I have to attack the mob beforehand? Or afterwards? Does it have to be a melee attack? I tend to do the sign right before the fight, as it takes awfully long. For instance, I axii puppeted one of two alghouls, and then walked towards them to make them aggressive. I had the advantage of just one alghoul following me, but never did I see them fighting amongst themselves.  My situation differs from the one in , which appears to be a problem of casting. My situation is like the one described . I haven’t equipped delusion.


How do you add an old repository (Jessie) to the list of repositories apt-get can download from?

I'm currently working on Debian.  I've recently found a package I want to use apt-get to install onto my computer, but the only distribution of it is for the oldstable (jessie) repository. I'm currently using the stable (stretch) repository, and apt-get doesn't have the oldstable repository in 'sources.list.d'. How do I add the oldstable repository to that list?


General theorems for consistency and asymptotic normality of maximum likelihood

I'm interested in a good reference for results concerning asymptotic properties of maximum likelihood estimators. Consider a model $\{f_n(\cdot \mid \theta): \theta \in \Theta, n \in \mathbb N\}$ where $f_n(\mathbf x \mid \theta)$ is an $n$-dimensional density, and $\hat \theta_n$ is the MLE based on a sample $X_1, \ldots, X_n$ from $f_n(\cdot \mid \theta_0)$ where $\theta_0$ is the "true" value of $\theta$. There are two irregularities I'm interested in.    The data $X_1, \ldots, X_n$ are not iid and, as a result, the Fisher information about $\theta$ accrues at a rate slower than $n$.  $\Theta$ is a bounded set, and with positive probability $\hat \theta_n$ lies on the boundary. The boundary corresponds to a "simpler" model, and so there is particular interest in whether or not $\theta_0$ lies on the boundary.    My particular questions are   Letting $J_n(\theta)$ denote the observed Fisher information corresponding to $\theta$, and suppose $\theta_0$ lies in the interior of $\Theta$. Under what conditions is $$\left[J_n(\hat \theta_n)\right]^{1/2}(\hat \theta_n - \theta_0)$$ asymptotically normal as $n \to \infty$? In particular, are the regularity conditions similar to the usual ones, with the relevant modification being $J_n(\hat \theta_n) \to \infty$ in some sense? Suppose instead that $\theta_0$ is on the boundary, and again recall that $\hat \theta_n = \theta_0$ happens with positive probability - for concreteness, in a mixed effects model $Y_{ij} = \mu + \beta_i + \epsilon_{ij}$ we can have $\hat \sigma_{\beta}^2 = 0$. Under what conditions does $\hat \theta_n \to \theta_0$ (almost surely or in probability) and under what conditions will $\hat \theta_n = \theta_0$ eventually (this probably fails for the mixed effects model, but corresponds to "oracle" properties for the LASSO and related estimators, so perhaps it is too much to ask for general results)?   Again, just a pointer to a text with results at this level of generality would be greatly appreciated.


How can I wrap text at a certain column size?

I know that I can use something like cat test.txt | pr -w 80 to wrap lines to 80 characters  wide, but that puts a lot of space on the top and bottom of the printed lines and it does not work right on some systems  What's the best way to force a text file with long lines to be wrapped at a certain width?   Bonus points if you can keep it from breaking words.


My "people reached" score went from 69K to 7K on Stack Overflow

My "impact" on  was 69K yesterday. But now instead of 70K, it is showing 7K. Is this a bug?


I Need a script or a formula to get Logged User Name in Column C When he enter the cell from drop down list Selection in Column D In Google Sheet

I Need the Logged User Name in Column  C  When he enter the cell from drop down list Selection in Column D In Google Sheet I have number of users to use one sheet they Have a list of drop down selection in Column D When they fill the column one by one I should get the logged user name in Column C one by one.  In Column D3 D4 and D5 ...... if he select the cell value I should get his name in Column C3 C4 and C5 ...... Hope some one will help me out


Can I solve this differential equation at a point?

I want to solve this differential equation evaluted at $x=0$. I will start with an example with $m=2$ $$ f(0)+f'(0)+f''(0)=2\lambda_{1}\lambda_{2}+4 $$ where $m$,$\lambda_{1}$ and $\lambda_{1}$ are positive constants. The $f(x)$ that satisfies the previous equation is $$ \prod_{k=1}^{2}\left(\lambda_{k}.x+2(1-\lambda_{k})\right) $$ I have encountered with this equation while solving an integral. The result was $$ \left. \sum_{n=0}^{m+1} \left( \frac{d^n}{d x^n}\left( x^{m-1}\prod_{k=1}^{2}\left(\lambda_{k}.x+m(1-\lambda_{k})\right)\right)\right)\right|_{x=0}=m\lambda_{1}\lambda_{2}+m^2 $$ So I want to find f(x) that satisfies $$ \left. \sum_{n=0}^{m+1} \left( \frac{d^n}{d x^n}\left( f(x) \right)\right)\right|_{x=0}=m_{1}\lambda_{1}\lambda_{2}+m_{1}m_{2} $$ Note: $m_{1}\neq m_{2}$.


Why using a power adaptor with mismatched current rating will not damage an electronic device?

Plugging in a power adaptor with mismatched voltage will damage an electronic device. However, plugging in a power adaptor with mismatched current rating will not. Why is this do?


I prepared following SQL statement: SELECT tasks.name, profiles.email, types.specification,     tasks.description, tasks.attachment_link, tasks.priority,     assigned_tasks.progress_details, assigned_tasks.activation_date,     assigned_tasks.expired_date   FROM profiles, types, tasks, assigned_tasks  WHERE profiles.id = assigned_tasks.profile_id  AND assigned_tasks.task_id = tasks.id  AND types.id = tasks.type_id ORDER BY tasks.name;  I want show in view gruped tasks with assigned email. Something like this:   I see records with single assignments, task names are duplicated. I want to show e-mail list in owner cell in table - it is possible? Python return touples: ('Backend', 'agnieszka.lasota1@gmail.com', 'Database managment', 'Create serwer full backend and copy data to SSD 1TB', 'NULL', 2, 'to do - 0% progress', datetime.datetime(2021, 6, 1, 10, 18, 36), None) ('call to customer', 'wolnygosc@interia.pl', 'IT online support', 'answer for questions about cloud', 'https://dianet.pl/cloud/index.html', 1, 'TO DO', datetime.datetime(2021, 6, 1, 14, 57, 23), None)  I want something like that: ('Backend', ('agnieszka.lasota1@gmail.com', 'wolnygosc@interia.pl'), 'Database managment', 'Create serwer full backend and copy data to SSD 1TB', 'NULL', 2, 'to do - 0% progress', datetime.datetime(2021, 6, 1, 10, 18, 36), None)  Two users might be assign to one task I want show it in HTML table. How split records ?


The limit of the difference of two consecutive sequence members is equal to $0$. Can we conclude that the sequence itself has a limit?

Let $a_n$ be an infinite sequence. The limit of the difference of two consecutive members is equal to $0$. Can we conclude that the sequence itself has a limit?  My attempt:  We have  $$ \lim_{n\rightarrow\infty}{a_n} - \lim_{n\rightarrow\infty}{a_{n-1}} = 0 $$ since as $n$ approaches infinity $a_{n-1}$ gets arbitrarily close to $a_n$ the sequence cannot diverge or be bounded but have no limit.  Is my proof correct and how would I be able to formalize the last sentence? Thanks


I have a raster (.sid extension) file. I want to digitize roads automatically in ArcMap, QGIS, etc. Digitizing by hand would be too time consuming.    How can I do this ?