In the chapter sound, my book states that the Frequency of damped vibrations is less than the natural frequency but I could not understand this because in damped vibrations the amplitude decreases and not the frequency. May someone please explain this statement to me. I have googled this out but nowhere found the answer to my question rather there were confusing terms like damping coefficients etc. . My book also does not answer the "why" of my question.  P.S. I am a tenth grader so please avoid complicated terminologies.


Get rid of dead floating explorer context menu

At some point I've right clicked in Explorer to open a file in Notepad++ and the context menu is left floating around on my screen.    I've killed off both Explorer and Notepadd++ but the context menu remains.  I've tried to drop the window identification target from Process Explorer on to it but Process Explorer doesn't seem to see it.   Its really annoying because I don't want to reboot at the moment and its hovering right over everything! Does anyone know how to kill these things off without a reboot?   Thanks!


Does there exist a holomorphic function with the following property?

Does there exist a holomorphic function $f$ defined over $D = \{ z : |z| < 1 \}$  such that $|f| \rightarrow \infty$ when $|z| \rightarrow 1$?  My approach:  If such an $f$ exists, then for a given $\varepsilon > 0$, there exists an $M > 0$ such that $|f(z)|>M$ if $1-\varepsilon < |z| < 1$  Since $f$ has no zeros in that set, I can consider $g = 1/f$, I would like to apply Maximum Modulus Principle and get a contradiction, but actually I am not sure I can.


Typing ' to  does not save the message to database

i have made a little "Support Ticket" system but i have a little problem.  If you add ' to the textarena it does not send data to database.  PHP:  <?php    if(isset($_POST['submit'])) {    $subject = $_POST['subject'];   $message = $_POST['message'];   $steamid = $_SESSION['steamid'];    $message = htmlspecialchars( str_replace('','',$message) );   $subject = htmlspecialchars( str_replace('','',$subject) );    $date = date('d.m.Y, G:i');    $db -> query("INSERT INTO tickets (userId, subject,message, status, date) VALUES ('".$steamid."', '".$subject."', '".$message."', '1', '".$date."') ");  }  ?>   HTML:  <form action="support" method="POST">   <input maxlength="50" type="text" class="form-control" name="subject" placeholder="Subject..." style="margin-top:10px" required>   <textarea maxlength="500" name="message" class="form-control" placeholder="Your message..." style="margin-top:10px" required></textarea>   <input type="submit" class="btn btn-success" name="submit" style="margin-top:10px" value="Submit" /> </form>   I were wondering if the problem is because of $message = htmlspecialchars( str_replace('','',$message) );  FIXED:  I added this $message = mysql_real_escape_string($_POST['message']);


I read it somewhere on the internet that wings of an aeroplane are designed in such a way, that they increase the velocity of air above the wings and so pressure above the plane becomes less than the pressure below it and therefore the aeroplane flies well in air, but how is velocity increased above the wings of an aeroplane?


Is it "walk quickly" or "quickly walk?"  What is the correct way to phrase the sentence:  Please walk quickly.  Please quickly walk.  Thank you.


How is linear momentum conserved after collision while part of linear kinetic energy contributes to angular kinetic energy

Referring to the famous example of a horizontally moving sticky ball that collides (and sticks) at the tip of a vertically floating rod, then the combination moves along the ball's incident course while rotating. For the above case, we assune that the final linear momentum is exactly the same as the ball's linear momentum, and even if the ball hits the rod at its center of mass we still apply the same conservation of linear momentum principle. However, if we look at the things from linear KE's perspective, then the first case implies a split of the ball's initial KE over the linear and rotatiinal KEs of the final combination, which means less final linear KE than the initial ball's KE, and the second case implies that the combination will have the same initial linear KE of the ball (since no rotation will occur).  My question is: How would the final combination in both cases have different linear KEs while having the same linear momentum (due the linear conservation)?


What is the difference between /ɔ/ and /ɑ:/?

Why they write the word 'Call' as /kɑːl/ () And some others, they write it like /kɔl/ () So, are they the same in American English?


Is $\sqrt x$ continuous at $0$? Because it is not defined to the left of $0$

If a function has a limit from the right but not from the left, is it still continuous?


After I download the Ubuntu file how do I install on my desk top computer?  I am completely new to Ubuntu.


Constant Current of an XL4016 Buck Power Module

Hi have this  : Step Down Buck 9A 300W Converter 5-40V To 1.2-35V Power Module XL4016 I've done my research, read some posts and articles but I'm still quite confused, some say a constant current supply "constantly push" the set current, but some say a constant current supply alerts you only when you're about to reach the set current and is current limiting. Let say my load uses like 1A, and I set my XL4016 Step Down Buck Power Module current pot to 5A.  Will my load receive 5A constantly or will the current limiting feature kick in once my load reaches 5A?  Edit: I'm gonna be using the XL4016  Buck Power Module to power some motors for my project, and im gonna buy like 1 or 2 converters for a bunch of 5v sensors and loads, etc. maybe a linear regulator one. But for the 12V ones, im thinking of my XL4016. My input is around 18-14V, i want it to constantly be at 12V, and 5V. thanks a lot.


How to change user login password, if there's no recovery mode to select?

I got the GRUB menu, chose Advance, but in that menu, I don't see the recovery mode option. I only have two different options on the Linux version. Please help, as I forgot my password, and need to access the terminal to restart the Samba file sharing service for my Ubuntu server.


Prove $\int _0^\infty f^2 dx \leq \cdots $ for $f$ convex

Prove $$\int _0^\infty f^2(x) dx \leq \frac{2}{3}\cdot  \max_{x \in \mathbb R^+} f(x) \cdot  \int _0^\infty f(x) dx$$ for $f(x) \geq 0$ and convex.   I know via Holder's we can get without the constant $\frac{2}{3}$ but that should also be true for $f$ not convex. I tried some approaches using convexity but didn't get the desired result.   A hint or reference would also help. Also, it would be interesting to know when equality holds.


Specifically I'm reading Dirac's General Relativity and he says essentially:  $$ \delta Q = \frac{\partial Q}{\partial x^\mu} \delta x^\mu $$  But what's the difference between this and:   $$ dQ = \frac{\partial Q}{\partial x^\mu} d x^\mu $$  From what I understand this is some kind of variational calculus thing, but I don't explicitly know, it seems completely identical.  Here's the context in which I am reading it from if it helps at all:


A problem on holomorphic functions in open unit disk

$f$ be non-constant holomorphic function in unit disc $\{|z|<1\}$ such that $f(0)=1$. Then prove that it is necessary that there are infinitely many points $z$ in the unit disc such that $|f(z)|=1$.  Please help me out with the question..


How to collapse consecutive numbers into ranges?

Given a sorted input file (or command output) that contains unique numbers, one per line, I would like to collapse all runs of consecutive numbers into ranges such that  n n+1 ... n+m   becomes  n,n+m     input sample:  2 3 9 10 11 12 24 28 29 33   expected output:  2,3 9,12 24 28,29 33


Dirac Delta function inverse Fourier transform

We know that the Fourier transform of the Dirac Delta function is defined as $$\int_{-\infty}^{\infty} \delta(t) e^{-j\omega t} dt = 1,$$  and if I were to reconstruct the function back in time domain, the inverse Fourier transform is defined as  $$\delta(t) = \frac{1}{2\pi}\int_{-\infty}^{\infty} e^{j\omega t} d\omega.$$  How do compute I this integral analytically?


Custom and readable urls for products in e-commerce

I am building a simple e commerce shop and I wonder Should I build custom url for every product. I mean like this   Instead of just using an id:   Will it be better for seo/


How to define a projection for a file with geo points?

I have a HDF file that I want to convert to tif or ENVI file.  I know that the +Proj of the original file is: "+proj=cea +lon_0=0 +lat_ts=30 +ellps=WGS84 +units=m"  so:    gdal_translate -of "ENVI" -a_srs "+proj=cea +lon_0=0 +lat_ts=30 +ellps=WGS84 +units=m" HDF5 file.h5  output.img   but I found that the projection was not defined but instead I got this:         ENVI      samples = 1000      lines   = 500      bands   = 1      header offset = 0      file type = ENVI Standard      data type = 4      interleave = bsq      byte order = 0   My question how to deal with geo points?


How would normal matter behave under conditions found in the core of the sun?

Considering how low the power density is at the sun's core, I seem not to be able to expect what would happen to matter in case it was thrown inside the sun's core. For example, let's assume an Earth-like planet is placed at the center of the Sun's core, and with the power density of 276.5 $watts$/$m^3$ which is very low to even raise the temperature of the Earth by any noticeable degree. That was one thought. The other thought was that, the temperature in the core is already 15 million degrees K, so any matter there should get close to this temperature quickly enough.  So now I'm very confused,  like will the planet stay there intact for thousands or even millions of years until it has accumulated enough energy to melt or vaporize ?  Or there are other types of energy absorption the planet would experience and thus have a shorter time staying as one piece in the core ?  Just for trying to get a practical and numerical answer to this question, let it be : how long can the Earth as a whole survive in the core of the sun ?


I have two variables. Sense of belonging and anxiety. I found a Pearson's correlation that was weak but significant. The significance was probably due to sample size (n=400). Then I conducted a t-test of high and low sense of belonging and anxiety. The t-test found a significant difference between the group of 0.6, had a medium effect size. I'm having trouble now though because I don't understand how one can say there is weak/no relationship and then the t test indicates there are significant differences between the groups. Can anyone help me 'get' why this happens/what it means?  I don't think there is a contradiction I just don't understand how to interpret the results.


I have an unsaved document opened in gedit on Xubuntu 13.10. A bug caused gedit's main window to disappear and only the title bar is still visible, reading "Untitled Document 1".  Is there a way to recover the typed text from the running but defunct session of gedit? Are "Untitled Documents" stored somewhere temporarily?


The best practice for creating a stored procedure in sql

I had this problem once, creating a procedure and then when I want to alter it I used to drop it first then re-create it again. Then I thought that was taking a lot of time. I had to find a better way!  which is the best way, to ease the time. and also incase you need to Alter it later??


Multiple start and stop codons in mRNA and pre-mRNA

I have a main question that will lead to further questions depending upon the answer.  In the process of transcription, will there be multiple start and stop codons in one sequence of pre-mRNA?  If there is, do they remain in the mRNA after splicing?  If they do, does that mean one mRNA has the coding sequence for the synthesis of multiple different proteins?  One last question: assuming a single mRNA has the sequence for synthesis of a single protein, is the stop codon always the final sequence before the poly-A tail?  Thanks in advance for your help and sorry for the mini rabbit hole.


Mac not connecting to Internet, but Safari is connecting to Internet

Have this weird wireless network, once the mac connected to the network, everything except safari shows offline (Skype, Spotify, Dropbox and other apps) an even when I ping google.com or ping 8.8.8.8 all results in timeout.  But for some weird reason safari can still browse internet for known domains, and soon as I try to resolve an unknown domain, it can't find that host.   Pretty sure this is an DNS issue, but none of the other devices in the network has this issue. I tried flushing DNS of the mac, and using google DNSs but no luck  Can't even reset the mac to factory settings without a internet connection at this point


I have USB WiFi TP-Link Archer t1u v1 and when I try to install drivers rtl8812au (because official drivers does not work on kernel > 3.16), it does not work even if i'm able to build and install.    I followed any type of guide but anything helps me. I post some information abount my system:  Bus 001 Device 002: ID 8087:8000 Intel Corp.  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 004: ID 04f2:b469 Chicony Electronics Co., Ltd  Bus 002 Device 006: ID 04ca:300b Lite-On Technology Corp. Atheros AR3012 Bluetooth Bus 002 Device 003: ID 2357:0105   Bus 002 Device 002: ID 062a:5918 Creative Labs  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub   The Device 003 is my usb wifi.  4.18.3-041803-generic Ubuntu 18.10


I am trying to parse json in JavaScript  var str = '{"id-1": "www.er.co.uk","id-2": "www.wer.co.uk","id-3": "wer.wer.com","id-4": "www.wwaer.co.uk"}';  var divWebsite = JSON.parse(str);   i am getting error ()     Uncaught SyntaxError: Unexpected token o   While at the same time my json is valid as you can see here  (sorry you will need to copy and past json)


Let $X$ be a measure space with positive measure $\mu$.   If $\|f_n-f\|_p\to 0$ (i.e. $f_n$ converges to $f$ in the $L^p(\mu)$ norm) does it follow that $f_n(x)\to f(x)$ almost everywhere?


Identify this organism I found in my food

I found this thing floating in my orange juice this morning. I pulled it out and it appears to be some sort of protozoa or something. It's about a quarter the size of my pinky nail. Was not moving at all.  Should I be worried about this? Either way I will be notifying the store. Location is Okinawa, Japan.


Why are wizards afraid of being exposed to Muggles?

In Harry Potter multiverse, there is a law called International Statute of Secrecy, referenced in Harry Potter and the Deathly Hallows since 1689 and the Harry Potter wiki says,     The law was laid down by the International Confederation of Wizards to safeguard the wizarding community from Muggles and hide its presence from the world at large.   [1}:    The wiki mentions and sources that there was widespread persecution of wizarding children by Muggles, increasing witch hunts. Eventually after deliberations, the international wizarding community agreed to hide the entire wizarding world, including hiding magical beasts, beings and spirits from the wizarding world.   It seems to me, that wizards are afraid of Muggles. Also, this is referenced in the recent movie, Fantastic Beasts and Where to Find them, where MACUSA, the International Confedrations of Warlocks and President Picquery is so concerned of getting exposed. What would happen if the wizarding kind is exposed? And the real question is why do they need to be afraid of Muggles. Muggles are based on the book and movie examples of Vernon Dursley, Jacob Kowalski or even Senator Shaw, are naturally dumb, have a different physiology and simply cannot win any Muggle-Wizard scenario. Also I know actual history was different, but couldn't wizards and witches escape the witch hunts? I mean they can Apparate, use brooms, kill/torture/read and tamper minds of Muggles, who in my opinion are just like the 'weaker mind' in Star Wars and can be influenced. And another point is they could also manipulate so many magical creatures against Muggles: Dragons, Thunderbird, Basilisk, Spiders, Merpeople, Inferi, Dementors(Muggles have no cure), Giants, Werewolves, Vampires(maybe) and Muggles simply can't win in any scenario.  Even the Muggle Prime Minister says in Half Blood Prince,     Prime Minister: But for heaven's sake, you're wizards! You can do magic! Surely you can sort out... well... anything!   Cornelius Fudge: The trouble is, the other side can do magic too, Prime Minister.   -Harry Potter and the Half Blood Prince, The Other Minister   It seems clear that Muggles are scared of wizards and witches, not the other way round. Wizards should have no reason to expose themselves for they could anytime take control as Grindelwald or Voldemort tried.  Additionally, it seems odd that wizards and witches rely on this secrecy as if they are subservient to Muggles.


Upload a file as part of logging in with ssh?

Here's question that some may find is pretty exotic (and it may well be impossible): is it possible in some way to upload a file at the same time as I log in? Something like:  $ ssh --some-option /file/to/be/uploaded user@server   Something like first using scp to upload the file, then logging in, but only giving the password once. The thing is, I always have to do this (don't ask, just don't...)  Alternatively, is there a way to sort of 'bundle' several of the ssh-family commands together, so you only need to give the password once (I know about using private/public keys - that's not what I want)?  Edit 1  Not quite a duplicate: It turns out to conflict with the following (which I have to use):  eval $(ssh-agent -s) ssh-add ~/.ssh/id_rsa   If I use connection sharing, it seems to disable whatever ssh-agent does. Is there a way around that?  Edit 2  I made the following modifications:  $ cat .profile ... function ssh {   h=$1   /usr/bin/scp ~/mybashrc $h:.bashrc   /usr/bin/scp ~/.vimrc $h:.vimrc   /usr/bin/ssh $h }  eval $(ssh-agent -s) ssh-add ~/.ssh/id_rsa   and:  $ cat ~/.ssh/config ... Host *         ForwardAgent yes         User myuser         IdentityFile ~/.ssh/id_rsa         ControlPath ~/.ssh/S.%r@%h:%p         ControlMaster auto         ControlPersist yes   Without the Control* options, I can log in to the bastion server, then on to other servers in that network, but when I add the options, I get the following:  $ ssh rgs-gameiom mybashrc             100%  177    18.0KB/s   00:00 .vimrc               100%   59     3.5KB/s   00:00 Last login: Thu Oct  3 08:35:38 2019 from 80.229.227.116 $ ssh db3 Permission denied (publickey).


Does "ring of sets" have anything to do with the "ring" in abstract algebra?

The following comes from Wikipedia.    It looks very strange to me since this "ring" seems to have nothing to do with the "ring" in abstract algebra. $(\cal R, \bigcup)$ is not an Abelian group (no inverse element if empty set is chosen as the identity), and $(\cal R, \backslash)$ is not a monoid (does not satisfy associativity). Am I right?   Then why this thing is called a ring?  Thanks!


Issues with getting to the material button

I'm very new to blender, and I'm following a guide on how to make and color spheres, but I can not get to the materials button to get any farther. The farthest one in the properties tab I can get to is data, and I can not find a way to get any further right. How do I fix this issue so I can get to the materials? Also I have another question, I'm not sure what to call it, but the lower right portion of the screen with lots of options, when I drag from the right edge of the screen, it makes another portion with the same settings, so how can I get rid of these extra portions without having to restart? Thanks for any help


How to write this in latex:    The closest I've come to it, is this:  \{\begin{matrix}     1 & 0 & 0 & 0 \\     0 & 1 & 0 & 0 \\     0 & 0 & 1 & 0 \\     0 & 0 & 0 & 1   \end{matrix}\}


Reduce horizontal width of miniframe in beamer

I have a beamer presentation with only three sections. Right now they are spaced at equal distances across the slide, but I would like to compress them so that they are spaced evenly in the left hand side of the headline.   Right now it looks like:  Section 1  ---------------------------- Section 2---------------------------Section 3   And I would prefer it to look like  Section 1-------Section 2-------Section 3   Is there a way to customize the horizontal width of the navigation bar at the top? Thank you in advance!  \documentclass[compress]{beamer} \useoutertheme[footline=authortitle,subsection=false]{miniframes} \begin{document} \section{Section 1} \subsection{Subsection 1} \frame{}\frame{}\frame{} \subsection{Subsection 2} \frame{}\frame{} \section{Section 2} \subsection{Subsection 1} \frame{}\frame{} \subsection{Subsection 2} \frame{}\frame{}\frame{} \section{Section 3} \subsection{Subsection 1} \frame{}\frame{} \subsection{Subsection 2} \frame{}\frame{}\frame{} \end{document}


How is it possible to come to a conclusion that Universe is a result of the Big Bang while we aren't able to observe the entire Universe?

-I'm not a religious person so this is not a denial. I'm just trying to understand the most fundamental topic about Universe.  -I know the Big Bang cosmological model is not a law but it's a theory.  -I'm a non-Native English speaker so please let me know if the question is not clear for you.  -This question came to my mind after watching


How to click and drag to select/copy only part of a message in iMessage for OS X?

Can anyone tell me how to restore the feature that allows clicking and dragging in a message in the OS X Messages app to select only part of a message that has already been sent or received?  This capability seems to come and go. I just did it a few days ago, and now it doesn't work again.


How to create a batch job, numbering images (writing text on them) from 1 to 100 in Photoshop?

Looking to create a 100 images that would have their appropriate numbers written on them.  Since I`ll be most likely making changes to the template in the future I figured it would be better to automate it somehow.  Is there a simple solution to this problem?


I want to create a wrecking ball in Blender. As a first try I created a sphere, UV unwrapped that sphere with Sphere Projection and then tried to texture that sphere with a tiled texture. This is the material setup:    This is the texture I downloaded from textures.com    And this is the rendered image:    I tried scaling this image texture but this did not work I think. How can you texture a sphere with a tiled texture ? Perhaps this is easy with procedural textures but that is a skill I don't have at this moment. How to do it with an image texture or is it just not possible ?  P.S If I am taking the complete wrong direction by trying to texture this sphere with a tiled texture, please tell me. In the end I just want to texture this sphere in a way that it looks like a rusty wrecking ball    P.S I thought I had a tileable texture. But this not being the case this is not a good question. Sorry


Change margin next page with KOMA-script and everyshi

I would like to change the margin with the beginning of the second page simply by using a KOMA-script option: mpinclude=true. It works, if I write at the end of the text on page 1 this line:  \KOMAoptions{mpinclude=true}\recalctypearea{}   But the drawback is a pagebreak exactly where I put this line.   So I'd like to postpone the command to the end of the page. I found the package everyshi, which offers the command \AtNextShipout.   The following MWE does not work, the margin does not change on the second page, but I get the words [current]last as first line of the second page.   Any ideas?  \documentclass{scrartcl}  \usepackage{everyshi} \usepackage{blindtext}  \begin{document} Here is some text. \AtNextShipout{\KOMAoptions{mpinclude=true}\recalctypearea{}}  \blinddocument \end{document}   This MWE is rather short. My file as well uses the packages scrletter and some *.lco customisation.


I have a monochrome TIFF (hand-drawn ornament) which I want to include in my book, but I want in not black-and-white, but pantone-and-white — the book will be printed in two colors.  What should be my steps?


Let $X$ be a scheme and $\mathscr{F}$, $\mathscr{G}$ sheaves on $X$. Suppose we know that for every $x\in X$ the stalks are isomorphic: $$ \mathscr{F}_x \cong \mathscr{G}_x $$  Can we conclude immediately from here that $\mathscr{F}\cong \mathscr{G}$, or do we first need to find a morphism of sheaves $f:\mathscr{F}\to \mathscr{G}$ such that $f_x$ induces the above isomorphisms on the stalks for every $x$ ?  Remark: Proposition 1.1 (page 63) of Hartshorne says that:      A morphism of sheaves $f : \mathscr{F} \to \mathscr{G}$ on a   topological space $X$ is an isomorphism iff the induced map on stalks   $f_x : \mathscr{F}_x \to \mathscr{G}_x$ is an isomorphism for every   $x\in X$.   Extra question: What can we say, instead, if we have isomorphisms between every fiber of $\mathscr{F}$ and $\mathscr{G}$ ?


Select by location not selecting all features in ArcPy

I am having an issue with the "select layer by location" tool in my ArcPy script, that may be due to a hidden memory error. Using one feature class with 281 polygons, I would like to select all of the possible bird ranges that overlap each polygon. There are ~12000 bird range polygons. My goal is a table with all of the 281 polygons and all the bird ranges associated with each one. Simply running the select by location tool runs into a memory error so I am attempting to iterate through each of the 281 shapes and export them to text file to later merge together.  The first 4 polygons accurately capture all of the intersecting polygons. Oddly, after that the script does not crash, but leaves out several hundred bird ranges for each of the 281 polygons. I know this by using the select by location tool on one feature in ArcMap and comparing the results.   Any ideas?   Maybe there is a different approach I haven't thought of.  def makeFeatureLayer():     env.workspace = pathlist[0] # Set initial workplace to file geodatabase     BirdData = "Joined_Study_Data"     tempBirdData = "BirdsDataTemp"     #selection is performed on a temporary layer     arcpy.MakeFeatureLayer_management(BirdData, tempBirdData)      print "Made temp layer:",tempBirdData      return tempBirdData   def selectionToText(temp_layer):     env.workspace = pathlist[0] # Set initial workplace to file geodatabase     FPUData = "FPU_proj"     cursor = arcpy.SearchCursor(FPUData)     for count,row in enumerate(cursor): # loop on each FPU feature          temp_layer = makeFeatureLayer() # make temp layer to avoid mem error         arcpy.SelectLayerByLocation_management (temp_layer, "INTERSECT",                                                  #select based on geometry                                                 row.SHAPE)          outname = pathlist[1]+"JoinSelection"+str(count)+".txt"         #export selection to text file, specifying fields of interest         arcpy.ExportXYv_stats(temp_layer,["SPCRECID","PRESENCE","ORIGIN",                                             "SEASONAL", "scientific_name",                                             "common_name", "rl_category"],                                  "COMMA", outname, "ADD_FIELD_NAMES")         print "Finished intersecting birds with FPU num:", str(count)         count+=1   def main():      temp_layer = makeFeatureLayer()     selectionToText(temp_layer)


Newton's third law of motion and frictional force

According to Newton's third law of motion every action and reaction have opposite direction and are equal in magnitude, so for example, if I apply force on a block then every time applied force should be equal to frictional force and the box shouldn't move, then why the block finally moves? why my force applied overcomes friction?


I keep hearing a lot about functors in C++. Can someone give me an overview as to what they are and in what cases they would be useful?


Testing the app, I noticed the title does not specify if a question is "On Hold" ... I haven't checked specifically, but would assume it doesn't specify as "Duplicate" either ... Or am I missing it somewhere? Is it not in the title but located/displayed some other way? If it is, this could be very confusing to users. If it isn't there, it's definitely confusing to users :-)  Using: Version 1.0.1.125 on iPad3 with iOS8


I made a mistake, and created a partition on a 2TB external hard drive to create a boot of W10, but didn't take my information out of the other partition and the bootable deleted all of my photos and private information. I need to recover all of my files (over 80gb) and I don't seem to find a way on how to do it. Recovery software is really expensive and I really don't know where else to ask.  Regards.


Cannot see unsung hero badge in "Select your next badge" list

I was checking what kind of Badges are available and what's their requirements, when I noticed some user profiles have the "unsung hero" gold badge which I cannot see in the Gold Badge from my user profile. I'm not talking about earning the badge, I know the requirement, just curious to why not on the list? and are there other badges as well which are hidden for some reason?


Instead of using  \usepackage{listings} ... lstinline{for} or \lstinline{while} or \lstinline{main} Here you \codeword{see} an \codeword{example} of \codeword{code}   how is it possible to define this syntax for inline-code, similar to Markdown:  Here you `see` an `example` of `code`   ?


Let $G$ be a group with order $14$. Proof that:   a) $G$ contains normal proper subgroup   b) $G$ is isomorphic with $\mathbb{Z}_{14}$ or $G$ is isomorphic with $D_7$.   Solution:  $H \le G$ is normal $ \Leftrightarrow \forall_{g\in G} g H g^{-1} = \{ ghg^{-1} : h \in H \} = H$  From Lagrange theorem: $|G| < \infty, H \le G \implies |G| = |H| \cdot [G:H]$  From Cauchy theorem: $|G| < \infty$, p is prime, $p\mid |  G| \implies $ in $G$ exists an element with order $p$, so also subgroup with order $p$  Prime divisions of $14:2,7$ so in $G$ exists $|H_1| = 2, |H_2| = 7$. In each of these subgroups exists neutral element and some different elements so at total we have $1+1+6=8$. So we don't have still considered $6$ element what give us $2$ possibilities for $2$ subgroups with order $7$, one with order $2$ or four with order $2$, one with order $7$.  But how can I proceed with that?


Image shifts when removing percent (%) signs with standalone class

I have occasionally observed that some LaTeX macros behave differently with and without end-of-line comments. My understanding of this is that a macro may leave a space on the stack that for some reason is removed if the macro is ended with a percent sign. I have never quite understood why this happens so I've slowly fallen into the habit of ending all "function calls" in LaTeX with %. In the present case, I discovered that \pstScalePoints and \newpsstyle behaves just like that and took the effort to isolate the problem into the following MWE:   \documentclass{standalone} \usepackage{pstricks} \usepackage{pstricks-add} \usepackage{pst-plot} \listfiles \begin{document} \readdata{\mytable}{table.txt}   \pstScalePoints(1.0,1.0){1.0 div}{1.0 div}%  <-- NB! \newpsstyle{legendstyle}{fillstyle=solid}%   <-- NB! \begin{psgraph}(0,0)(0,0)(1,1){1cm}{1cm} \listplot{\mytable} \end{psgraph} \end{document}   Problem: The output changes if the two end-of-line % signs are removed. My suspicion is that the macros leave behind a space on the stack, but I do not know how to correct it - other than stubbornly adding % to all the macro endings!  The contents of file table.txt is:  0.0, 0.00 0.2, 0.04 0.4, 0.16 0.6, 0.36 0.8, 0.64 1.0, 1.00   I halfway expect that the problem depends on which packages I am using so I therefore include the output from \listfiles:  pstricks.sty      2013/12/12 v0.60 pstricks.tex      2014/10/25 v2.60 pst-xkey.tex      2005/11/25 v1.6 pst-fp.tex        2014/10/25 v2.60 pstricks-add.sty  2010/02/11 v.0.14 pst-plot.sty      2011/04/13 pst-xkey.sty      2005/11/25 v1.6 pst-plot.tex      2014/08/23 1.70 pst-node.sty      2010/04/22 pst-node.tex      2014/08/04 1.35 pstricks-add.tex  2014/12/08 v3.77 pstricks-add.cfg  2005/01/10 v0.1   Finally, I've attached two pictures illustrating the problem:   With end-of-line comment  (source: )   Without end-of-line comment  (source: )


The English equivalent of the Danish word "lykkeridder"

In Danish, a lykkeridder refers to a person who hopes to quickly achieve wealth or happiness through little labour. I am quite confident there is an English word for this -- it is on the tip of my tongue, but I can't recall it at the moment -- can someone enlighten me?


In so-called memes and vines, I've seen sentences such as "People be like", "Boys be like", and so on. Every time, I wondered how be was in those particular sentences. Grammatically, how can be be in such sentences in that way?  My assumption, is it like subjunctive [should] be? Are is and are not used because using them would make the sentence determinative, whereas [should] be would make the sentence suggest possibility?  Thanks.


Deleting linked list nodes without recursion

I have a doubly linked list data structure that looks like the following:    Node structure is as follows:  typedef struct {     int32_t type;     int32_t valueint;     double  valuedouble;     struct  cNODE *next;     struct  cNODE *prev;     struct  cNODE *child; } cNODE;   Each node has a child element which can point to another node/doubly linked list of the same element(node) type. Till now, I used the following code to delete this complete data structure:  /* Delete a cNODE structure. */ void cNODE_Delete(cNODE *c) {     cNODE*next;     while (c)     {         next=c->next;         if (!(c->type)) && c->child)         {            cNODE_Delete(c->child)         };         free(c);         c=next;     } }   But this is a recursive function. I have a certain requirement where I can't use recursion. Can this deletion be implemented without recursion? Any examples are appreciated.


What are some guidelines for maintaining responsible session security with PHP?  There's information all over the web and it's about time it all landed in one place!


While trying to edit  I noticed the title vanished:        This is for inline edit, in the  there's no title and no tags as well.  Most likely the cause is the first revision of that question hard deleted as can be seen in the , but still I'd like to get title and tags back when editing.


Does Star Wars G canon always beat C canon?

An answer to  gave me a curiosity in the opposite direction:  Were there any cases where Star Wars movie (G or T) canon was officially overruled by later Extended Universe canon (C)?  Or is G canon always 100% trumping C canon, by definition?


When I select the unknown site (i.e. the meta sites) the app crashes.   I have a Samsung Note 5 and version 1.0.89 of the app.


I understand "He is gone" or "Winter is gone" is the common usage.  But is "She is come" or "Spring is come" as common?


What function can I use in Excel VBA to slice an array?


Undefined variable error, but variable is defined

I am trying to get the form values when clicking on the submit button, but when I run this, I get the below error:  Notice: Undefined variable: mail in C:\xampp\htdocs\mylearning\add_user.php on line 20   Here is my code:          <title> I am learning </title>          <form name="new_user" method="post" action="add_user.php">          <input type="text" name="mail"/>
          <input type="text" name="name"/>
          <input type="submit" name="submitbtn"  value="continue"/>      </form>        <?php  if(isset($_POST["submitbtn"]))   $mail = isset($_POST['mail']); $name1 = isset($_POST['name']); echo "Returned value from the function : $name1";  echo "Returned value from the function : $mail";   ?>


Can I force a creature out of prone during a grapple?

If I am in a grapple with a prone creature, can I use an action to remove the prone state from the creature, while maintaining the grapple?   I ask because I run a grappling barbarian build. Sometimes it's more advantageous to my team to have the creature NOT be prone.


How to resolve "The apache2 configtest failed"?

I get this error when I start apache2 service:   * The apache2 configtest failed.  Output of config test was:  apache2: Syntax error on line 140 of /etc/apache2/apache2.conf:Syntax   error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib   /apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory  Action 'configtest' failed.  The Apache error log may have more information.   I run it on ubuntu 14.04 64bit. How can I resolve it?


Show that $G_k$ is an open subset of $\mathbb{R}$ for each $k \in \mathbb{Z}^+$

Suppose $f: \mathbb{R} \to \mathbb{R}$ is a function. For $k \in \mathbb{Z}^+$, let $$G_k = \{a\in\mathbb{R}: \textrm{there exists $\delta > 0$ such that $|f(b) - f(c)| < \frac{1}{k}$ for all $b,c, \in (a-\delta, a+\delta)$}\}.$$ Prove that $G_k$ is an open subset of $\mathbb{R}$ for each $k \in \mathbb{Z}^+$.  I've observed that each $a \in G_k$ is contained in an open interval $(a-\delta, a+\delta)$ for some $\delta$, but I am not sure how to show that $G_k$ is an open subset for EACH $k \in \mathbb{Z}^+$. I am trying to show that each $a$ is contained in an open cube contained in $G_k$ which is sufficient enough to conclude that $G_k$ is open, but how can I connect all of this together? Am I on the right track or am I overlooking something?


I have a rMBP (Mid 2012) that is having disk issues. When verifying the disk, I get three different errors:   Incorrect number of file hard links Invalid first link in hard link chain Invalid directory item count   Rebooting into single user mode and running fsck -fy seems to fix these errors, as a subsequent run of fsck -fy does not report any errors after the first completes. However, after rebooting, the errors are once again present.  I have also rebooted into Internet Recovery to run Disk Utility and get an error that Disk Utility cannot repair the drive.  The only issue that I have noticed while using my laptop is inability to repartition my hard drive. I fixed this issue once before so I could repartition my hard drive, but do not remember what I did.  The SMART status of my hard drive doesn't indicate any problems, so the only solution I can come to is wiping my drive and reinstalling OS X, although I would rather do that in the fall to do a clean install of El Capitan. Is there anything else that I could do to at least resolve the issue of not being able to repartition my hard drive?


Does "I am eating vegan cheese in my underpants" really imply that the vegan cheese is inside my underpants?

I am having a debate with someone about possible interpretations of a sentence and we have come to a stalemate. The sentence is as follows:      "I'm at home eating vegan cheese in my underpants and singing Bushes   of Love."   The other party argues that my sentence technically says that I am eating vegan cheese which is inside my underpants, when the intended meaning was that I am eating vegan cheese while wearing underpants.   My argument is that his interpretation of the sentence makes no sense, but I can't quite find an actual rule to refer to. I could see it making more sense if I had an article in front of vegan cheese, like "I'm at home eating the vegan cheese in my underpants and singing Bushes of Love".   But as it is without an article if I did intend to say that the vegan cheese was in my underpants, the way I said it would sound very wrong. It seems to me that without an article in front of vegan cheese it was used as a mass noun, uncountable and therefore interpreting it as being a countable chunk of vegan cheese that could be in anything in any subsequent part of the sentence seems wrong.   His argument is that the problem is in the ordering - that while with some common sense my actual meaning might be clear, the sentence was grammatically incorrect and I technically said that the vegan cheese was in my underpants because I should have said "I am in my underpants eating vegan cheese".  Is there a rule I can refer to when it comes to accurate ways to interpret this sentence? Which one of us is correct? Could the vegan cheese really be in my underpants?     Research I have done:  My attempts to find a concrete rule that might be relevant to this scenario led me to the following resources. To me none of these resources suggested that my sentence was technically incorrect. However, because I still was not sure what specific rule I could reference for him or if I was missing a specific rule proving me wrong our debate continued. This is why I decided to ask the question here.   Cambridge Dictionary on adverb positioning in sentences:  Grammar Quick and Dirty Tips on when to use articles in front of nouns, and mass nouns:  Linguapress on word order and sentence structure in English:  Transparent Language on word order in Russian (Russian is my first language and the other party suggested in passing that what he considered my mistake might be related to different word order conventions in non-English languages):


I'm completely new to LaTeX. I'm using MiKTeX 2.9 (r.c29723a). When I launch TeXworks and try to compile , I receive the following error:  ... (C:\Tools\MiKTeX\tex\latex\biblatex\lbx\russian.lbx ! Package keyval Error: langjapanese undefined.   By clicking on the error message I jump to the closing brace of "\DeclareBibliographyStrings{%" in "russian.lbx", but this "key-value table" does have a "langjapanese" entry in it:  langjapanese   = {{японский}{яп\adddot}},   Am I missing something obvious here?


Location of photo used for Windows 10 desktop background?

This showed up as the background on my Windows 10 desktop:    Does anyone know where the photo was taken?


how can installing a custom recovery such as TWRP lead to a device going into a bootloop

I see a large number of posts stating that users ended up with their device going into a bootloop after flashing TWRP. If TWRP is flashed to the /recovery/ partition, how is it possible for the device to go into a bootlop during a normal start up?


Finding a function $f(x)$ that's equal to the series $\sum_{n=0}^\infty \frac{n}{n+1}x^n$

We have the series $\sum_{n=0}^\infty \frac{n}{n+1}x^n$.  Give a function $f(x)$such that this function is equal to this series for each $x\in \Bbb R$ for which the series converges.  I've calculated the radius of convergence, which was 1. So $-1 < x<1$. And when you write out the series you get   $\sum_{n=0}^\infty \frac{n}{n+1}x^n$=$0+\frac{x}{2}+\frac{2x^2}{3}...$  I don't see how a good $f(x)$ for this series. I'd appreciate some hints about what kind of function I'm looking for.


How to see my Cycles render and blender render in Game engine

This has probably been asked several times but I can't seem to be finding the answer.  I currently have made a tree (the body in Blender game and the textures in cycles render). Now I want to check it out in the game I'm making.   How can I achieve this?


Solving functional differential equation $f'(x)=2f(2x)-f(x)$

Show that there is at least a nonzero function $f$, differentiable on $[0,+\infty)$, satisfying $$f'(x)=2f(2x)-f(x) \qquad \forall x>0 $$   $$M_n:=\int_{0}^{\infty}x^nf(x)dx<\infty \qquad \forall n\in  \mathbb{N} $$   My best idea so far is to assume that the solution is a power series, i.e.  $$ f(x)=\sum_{n=0}^{\infty}a_nx^n\qquad \forall x>0$$ Then the equation becomes $$ \sum_{n=0}^{\infty}na_nx^{n-1}=2\sum_{n=0}^{\infty}a_n2^nx^n-\sum_{n=0}^{\infty}a_nx^n$$ equating all the coefficients of the same degree I get $$na_n=(2^{n}-1)a_{n-1}\qquad \forall n\geq 1$$ So setting $a_0=1$, I get $$a_{n}=\frac{1}{n!}\prod_{k=1}^{n}(2^k-1) \qquad \forall n$$ But does the power series actually converge? Using Hadamard's formula, and that $2^{k}-1\geq 2^{k-1}$, $$ |a_n|^{1/n}\geq\frac{1}{(n!)^{1/n}}\left[2^{n(n-1)/2}\right]^{1/n}\sim\frac{e}{n(2\pi n)^{1/2n}}2^{(n-1)/2}\to \infty$$ so the radius of converge of the series is $0$, so it doesn't actually define a solution on $[0,+\infty)$.


Can a character with the Extra Attack feature and the Crossbow Expert feat shoot a hand crossbow 4 times in the same turn?

In D&D 5e, can a 5th-level fighter shoot a hand crossbow 4 times per turn using the Crossbow Expert feat? The fighter's  feature says (PHB, p. 72):  Beginning at 5th level, you can attack twice, instead of once, whenever you take the Attack action on your turn.  The  feat says (PHB, p. 165):   You ignore the loading quality of crossbows with which you are proficient.  [...]  When you use the Attack action and attack with a one-handed weapon, you can use a bonus action to attack with a loaded hand crossbow you are holding.    Is the following statement valid? The fighter is holding a hand crossbow. He begins his turn. He takes an Attack action; using his Extra Attack feature along with the first benefit of Crossbow Expert, he shoots twice during this action. Then he takes a bonus action. Using the last benefit of Crossbow Expert, he makes this an Attack action. He is limited to using a hand crossbow during this action. He shoots twice using his Extra Attack feature. () It is ambiguous whether "you can use a bonus action to attack" means "you can use a bonus action to take exactly one shot" or "you can use your bonus action for the round as an Attack action". Or even if it does mean "you can use a bonus action to take one shot", it is ambiguous whether it means "an Attack action in which you use a one-handed weapon gives you an opportunity to shoot during your bonus action" or "a one-handed weapon attack made during an Attack action gives you an opportunity to shoot during your bonus action". (One bonus shot per Attack action, or one bonus shot per attack within the Attack action?)


Suppose $f(x)$ is linear i.e. $f(x + y) = f(x) +f(y) $ and monotone on $[-\infty, +\infty]$, then $f(x) = ax$, a real.  We know $f(0)=0$, and if one assumes differentiability it is quite easy.      But how does monotone make up for differentiability?


Trying to get Edimax EW-7822UAC USB wireless adapter driver to install

I'm running Ubuntu 14.04, which seems unfortunate, as the instructions in the package are written for 12.04. So, like a trooper, I try to follow the instructions anyway. The first block I hit is in the fifth step, where it asks me to extract a driver... Now, it becomes clear that these instructions were pretty poorly made, as the line of code they give isn't the same as the image they provide:  tar vxf 2011_0427_RT3572_Linux_STA_v.2.5.0.0.DP.bz2   and then  tar vxzf rtl8812AU_8821AU_linux_v4.2.0_6952.20130315.tar.gz   Neither if these work. Also, the file name itself is rtl8812AU_8821AU_linux_v4.2.2_7502.20130517_fix_led.tar.gz Not sure how relevant that is, but I think it might be useful.


Let $\hat{\theta}_n= -\frac{n}{\sum_{i=1}^n \log(X_i)}$, where $X_i$ are i.i.d. samples from distribution with pdf $\theta x^{\theta-1}$ for $x \in (0,1)$. How to prove that $\hat{\theta}_n$ is consistent estimator of $\theta$.


is it grammatically correct? two -ing words together

The situation was going irritating at that time. I am starting eating my breakfast now.   Are these statements correct? Can I use two -ing words together? Can you explain by giving few more examples?


"Impregnable" and "impregnate" seemingly opposites?

Perhaps this is a weird question, but I couldn't find an answer via etymologies.  When something is "impregnable" it means "cannot be broken into."  But, when something is "impregnated", other than the analogous "to make a female with child", it means to "fill" or "saturate", but this almost seems an antonymous verb for "impregnable."  The definition of "impregnable" makes it seem as though the appropriate verb for "impregnate"'s definition should just be " pregnate."   Does anyone know why there is this discrepancy?  I hope I am being clear, thank you.  EDIT: My question has been previously asked here, for all interested.


If we know that $\mathbb{N} \times \mathbb{N}$ is equivalent to $\mathbb{N}$ (same cardinal), can we conclude that the cartesian product $A \times B$ of two countable sets $A$ and $B$ is countable? In particular I already proved that a bijection $\phi: \mathbb{N} \times \mathbb{N} \rightarrow \mathbb{N}$ exists such that $\phi(x, y) = x +\frac{(x + y -1)(x + y - 2)}{2}$. So, presuming that I am writing a formal proof, how would I show that $A \times B$ is countable? Any assistance is much appreciated.


Skype is not installing in my Ubuntu.   sudo apt-get install skype giving following output.  Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  skype : Depends: ia32-libs (>= 20080808) but it is not going to be installed W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ maverick/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_maverick_partner_binary-amd64_Packages) W: You may want to run apt-get update to correct these problems E: Unable to correct problems, you have held broken packages.   please help


We are given two equations:  $$ \left\{ \begin{array}{c} \sqrt{a}+b=11 \\ a+\sqrt{b}=7 \\ \end{array} \right. $$  How to find the value of $a$ and $b$ by solving the equation? All I could do was use the hit and trial method. Help me with this!


Find the absolute minimum of a function of $n$ variables

$A$ is positive-defined matrix, and we define $f: \mathbb{R}^n \to \mathbb{R} $ by: $$f(x) = <Ax, x> + 2<b,x> +c$$ Where $b \in \mathbb{R}^n$ and $c \in \mathbb{R}$. Find the absolute minimum of the function. I was able to get the derivative, and I got $\nabla f(x) = 2Ax+2bx$ and therefore the derivative is $0$ for $x_0$ such that $Ax_0=-b$. For such $x_0$, we have $f(x_0)= <-b,x_0>+2<b,x_0>+c = <b,x_0>+c$   Now how do I prove this is the minimal value? I need to prove that $f(x) \geq <b,x_0>+c$  How do I do that?


Story about a girl who discovers she lives in an "exhibition" and manages to escape to Indianapolis/Minneapolis

If I recall correctly, the story describes life on the American frontier, but the characters soon realise there's a world outside and that they're essentially living in an exhibition. The characters then escape and I am 99% sure that the area they escape to the "real world" and discover the truth is either: Indianapolis or Minneapolis - it definitely ends in -polis. I read this in about 2000, but no idea when it was published! This is a book. People say it sounds similar to Westworld and it is very similar, but they are humans not robots. I may be entirely wrong but I believe that the characters discover that they are in this exhibition because they discover some "limits" to their world maybe like the glass panel or something. I also think there is some requirement for the girl to go somewhere outside of the exhibition maybe for medical reasons but honestly I am not sure that this is true or if I'm making things up.


Formatting first/last byte of curve25519 private key?

Can anyone dumb it down for me on why you would need to format the first and last byte of a random number to properly generate a curve25519 private key as noted in 'Computing secret keys' section of .  Computing secret keys. Inside your program, to generate a 32-byte Curve25519 secret key, start by generating 32 secret random bytes from a cryptographically safe source: mysecret[0], mysecret, ..., mysecret[31]. Then do  mysecret[0] &= 248;  mysecret[31] &= 127;  mysecret[31] |= 64;   mysecret[0] &= 248 = 0b1111 1000...setting three lsb's to 0 to ensure multiple of 8? mysecret[31] &= 127 = 0b0111 1111...setting the msb to 0 for? mysecret[31] |= 64 = 0b0100 0000...setting the second msb to 1 for? I must be missing some important note on this in ?


How can I get the speed of my internet connection from the terminal? Is there any script or commandline application(s) available?  I'm using CentOS 6.5 .


how to take input from user of an multidimentional array?

I am beginner in java i want to take input of an multidimensional array from user using for loop.  i have tried the following code but its giving some thread error.  Scanner input = new Scanner(System.in); for(i=0;i<2;i++) {     for(j=0;j<2;j++)     {         a[i][j] = input.nextInt();         //System.out.println(a[i][j]);     } } }  Scanner input = new Scanner(System.in); for(i=0;i<2;i++) {     for(j=0;j<2;j++)     {         int a[i][j] = input.nextInt();         } } }   Exception in thread "main" java.lang.NullPointerException     at practice.prac.main(prac.java:16)


Showing $\lim_{n \to \infty} m(E_n) = 0$, assuming $f > 0$ a.e. and $\lim_{n \to \infty} \int_{E_n}f \,dm =0$

Let $f:[0,1] \to \mathbb{R}$ be Lebesgue measurable with $f > 0$ a.e. Suppose that $\{E_n\}$ is a sequence of measurable sets in $[0,1]$ with the property that $\displaystyle \lim_{n \to \infty}\int_{E_n} f \,dm = 0$. Prove that $\displaystyle \lim_{n \to \infty} m(E_n) = 0$.   This question is from an old analysis qual I am studying. So far I have tried a proof by contradiction: if $\displaystyle \lim_{n \to \infty} m(E_n) \neq 0$, then there is an $\epsilon > 0$ and a subsequence $\{n_k\}$ so that $m(E_{n_k}) \ge \epsilon$ for all $k$. I am trying to somehow use this subsequence and show $\displaystyle \lim_{k \to \infty}\int_{E_{n_k}} f \,dm \neq 0$, which would give me a contradiction.  Another fact I know from my measure theory course is that, for meausurable $E \subseteq [0,1]$, the map $\displaystyle \nu(E) = \int_E f \,dm$ defines a measure on the Lebesgue measurable subsets of $[0,1]$. Will this fact be useful to me?


Does arXiv prevent your work from getting scooped, or the opposite?

On the one hand, it seems like a preprint can discourage dishonest reviewers or editors (who get to see new work before anyone else) from running off with ideas since you have proof of originality with a preprint. On the other hand, a preprint puts the ideas out there to the world at large. What do you think is the safest approach, submitting to journals with or without a preprint?


Will not create a class template for c++

I am trying to figure out how to use classes with class template and I get these errors:   Error   1   error LNK2019: unresolved external symbol "public: __thiscall AdtBag::AdtBag(void)" (??0?$AdtBag@H@@QAE@XZ) referenced in function _main  C:\Users\User\Documents\Visual Studio 2013\Projects\ADTBagAddition\ADTBagAddition\Source.obj    ADTBagAddition  Error   2   error LNK2019: unresolved external symbol "public: __thiscall AdtBag::~AdtBag(void)" (??1?$AdtBag@H@@QAE@XZ) referenced in function _main C:\Users\User\Documents\Visual Studio 2013\Projects\ADTBagAddition\ADTBagAddition\Source.obj    ADTBagAddition  Error   3   error LNK2019: unresolved external symbol "public: void __thiscall AdtBag::store_in_bag(int)" (?store_in_bag@?$AdtBag@H@@QAEXH@Z) referenced in function _main C:\Users\User\Documents\Visual Studio 2013\Projects\ADTBagAddition\ADTBagAddition\Source.obj    ADTBagAddition  Error   4   error LNK2019: unresolved external symbol "public: int __thiscall AdtBag::whats_in_bag(void)" (?whats_in_bag@?$AdtBag@H@@QAEHXZ) referenced in function _main  C:\Users\User\Documents\Visual Studio 2013\Projects\ADTBagAddition\ADTBagAddition\Source.obj    ADTBagAddition  Error   5   error LNK1120: 4 unresolved externals   C:\Users\User\Documents\Visual Studio 2013\Projects\ADTBagAddition\Debug\ADTBagAddition.exe ADTBagAddition  Here is my code:   source.cpp  #include <iostream> #include "AdtBag.h"  using namespace std;  int main () {     AdtBag<int> BagInt;     int a = 78;     cout << "Int Bag Contains: " << endl;     BagInt.store_in_bag ( a );     cout << BagInt.whats_in_bag () << endl;      return 0; }   AdtBag.h  #ifndef __ADTBAG__ #define __ADTBAG__  template<class ItemType> class AdtBag { private:     ItemType in_bag; public:     AdtBag<ItemType> ();     ~AdtBag<ItemType> ();      void store_in_bag ( ItemType into_bag );     ItemType whats_in_bag (); };  #endif   AdtBag.cpp  #include "AdtBag.h"  template <class ItemType> AdtBag<ItemType>::AdtBag () { }  template <class ItemType> AdtBag<ItemType>::~AdtBag () { }  template<class ItemType> void AdtBag<ItemType>::store_in_bag ( ItemType into_bag ) {     in_bag = into_bag; }  template<class ItemType> ItemType AdtBag<ItemType>::whats_in_bag () {     return in_bag; }   Why is this producing the error messages? I'm using Visual Studio 2013 if that matters. I thought I did everything correctly, but I guess not. Any suggestions?


What's the status of Cosmic Inflation after the BICEP2 debacle?

I've read that the gravitational waves supposedly discovered by the BICEP2 observatory last year (and touted as evidence for cosmic inflation) weren't actually gravitational waves, but some sort of local phenomenon.  That being said, what's the current status of cosmic inflation? Is the theory dead? Or is there still a possibility to find gravitational waves somewhere once all the noise is subtracted?


FSCK reports that filesystem still has errors

I'm learning a little about fsck on the fly, but what I am finding so far doesn't seem to do very much when I apply it. What would be the next step from this prompt to repair the errors I am having when booting?


Should I capitalize a person's last name if their name starts with a lower case letter but it's the first word in the sentence?

I'm trying to cite someone in a paper I'm writing whose name is "[First-name] de Soya". In my field it's common to cite papers using the "et al." style ("In their seminal paper, de Soya et al. […] present…"), however, "de Soya" is opening the sentence.  In that case, should I write "de Soya et al. […]" or "De Soya et al. […]"


Rules for using Roth IRA money toward a first home purchase?

I've got about 5k in a Roth IRA that I rolled over from a Roth 401k about 6 months ago. I would like to use it and/or continue to build it up and eventually use it for a 1st time home purchase.  Are there rules that govern how long the money has to sit in the Roth IRA before I can use it for a home purchase? Also, can I take the entire amount, or does some still need to be left in the IRA?


I'm a senior student in high school and we are learning about Particle Physics in Physics. I wanted to ask a question about neutrons. Is there a possibility that neutrons may not even be a particle, just a bond, relationship or pairing between electrons and protons? Can neutrons just be the cancelling out of electrons and protons charges, forming a neutral charge inside the nucleus and not an actual particle? For example, carbon has 6 electrons, 6 protons and 6 neutrons. Could the 6 neutrons and 6 protons cancel each other out forming 6 neutral charges making the atom stable? The protons and electrons would still exist but they just form a stable atom by being neutrally charged. I know this is extremely unlikely and most likely wrong but I really wanted to know if there was an answer to this or is the theory we have have no correct and there is no need for further debate.


How to prove if this $\sum_{l=0}^{n}\binom{n}{l}=2^{n}$ is valid for all $n\in \mathbb{N}$?

Prove for for all $n\in \mathbb{N}$: $\sum_{l=0}^{n}\binom{n}{l}=2^{n}$  I know the steps of induction but i have no idea how to prove this equation with binomial coefficient.  1) For the induction base i need to take one number and it should be $n=1$. So, do i use this value $n$ for both $n$ and $l$ in the equation? In that case i believe that equation is not valid.   2) Should i for inductive claim increase both $n+1$ and $l+1$?


I need a special include file (in essence a very log list of names) included in the middle of my code (and I cannot make a list a part of any structure). It works but it looks ugly:      <code>; #include <big_list.inc>     <more-code>;   Is it possible to define some macro to include this file, I feel that this would look better.   #define BIG_LIST_INC() ...      <code>;     BIT_LIST_INC();     <more_code>;


Get Unix to Tell Me The "x similar ones"

Often if I am doing something in the terminal I will mistype something and enter something unintended.   If I type int as a trivial example, it tells me Command 'int' not found, but there are 18 similar ones.  Not that I need to know these 18 similar commands, but is there any way to find out what these "18 similar ones" are? Whether it be in the terminal or otherwise.


How to get the length of an array from a pointer?

I'm having trouble finding the length of an pointer array. Let's say I have:  char array[40] = "hello"; // size 40 int length =  sizeof array / sizeof array[0]; // no problem returns 40   //How do I get the length of the array with only a pointer to the first element in that array?   char* pchar = array;   //if  std::strlen(pchar); // this returns the length of 5... i want length 40   //if  int count = 0; while(true) {   if(*(pchar + count) == '\0') // returns 5...     break;    count++; }   How do I get it to return length 40 just from a pointer to the first element in the array? I found that I can do this.  int count = 0;     while(true)     {       if(*(pchar + count) == '\0' && *(pchar + count + 1) != '\0')               break;         count++;     }   This returns 39, this is good but I feel like this can be buggy in some situations.


Why under joint least squares direction is it possible for some coefficients to decrease in LARS regression?

I think I understand how LARS regression works.  It basically adds features to the model when they are more correlated with the residuals than the current model.  And then, after adding the features to the model, it will increase the coefficients in the joint least squares direction (which is the same as increasing the least angle).    If the coefficients are increased in the joint least squares direction, then doesn't that mean that they can't decrease?  joint least squares means that the $\beta$'s move such that the $\Sigma\beta_i^2$ is as low as possible, but the $\beta$'s must be increasing.    I've seen some plots where the $\beta$'s seem to be decreasing as LARS is finding its solution path.  for example, in the  on the top of page 4, it shows the following plot:    Am I misunderstanding something about the LARS algorithm?  Perhaps I'm not understanding how the joint least squares direction, and equiangular are both possible?


Doing readback from Direct3D textures and surfaces

I need to figure out how to get the data from D3D textures and surfaces back to system memory.  What's the fastest way to do such things and how?    Also if I only need one subrect, how can one read back only that portion without having to read back the entire thing to system memory?  In short I'm looking for concise descriptions of how to copy the following to system memory:   a texture a subset of a texture a surface a subset of a surface a D3DUSAGE_RENDERTARGET texture a subset of a D3DUSAGE_RENDERTARGET texture   This is Direct3D 9, but answers about newer versions of D3D would be appreciated too.


Calculating the length of the paper on a toilet paper roll

Fun with Math time.   My mom gave me a roll of toilet paper to put it in the bathroom, and looking at it I immediately wondered about this: is it possible, through very simple math, to calculate (with small error) the total paper length of a toilet roll?   Writing down some math, I came to this study, which I share with you because there are some questions I have in mind, and because as someone rightly said: for every problem there always are at least 3 solutions.  I started by outlining the problem in a geometrical way, namely looking only at the essential: the roll from above, identifying the salient parameters:    Parameters  $r = $ radius of internal circle, namely the paper tube circle;  $R = $ radius of the whole paper roll;  $b = R - r = $ "partial" radius, namely the difference of two radii as stated.  First Point  I treated the whole problem in the discrete way. [See the end of this question for more details about what does it mean]  Calculation  In a discrete way, the problem asks for the total length of the rolled paper, so the easiest way is to treat the problem by thinking about the length as the sum of the whole circumferences starting by radius $r$ and ending with radius $R$. But how many circumferences are there?   Here is one of the main points, and then I thought about introducing a new essential parameter, namely the thickness of a single sheet. Notice that it's important to have to do with measurable quantities.  Calling $h$ the thickness of a single sheet, and knowing $b$ we can give an estimate of how many sheets $N$ are rolled:  $$N = \frac{R - r}{h} = \frac{b}{h}$$  Having to compute a sum, the total length $L$ is then:  $$L = 2\pi r + 2\pi (r + h) + 2\pi (r + 2h) + \cdots + 2\pi R$$  or better:  $$L = 2\pi (r + 0h) + 2\pi (r + h) + 2\pi (r + 2h) + \cdots + 2\pi (r + Nh)$$  In which obviously $2\pi (r + 0h) = 2\pi r$ and $2\pi(r + Nh) = 2\pi R$. Writing it as a sum (and calculating it) we get:  $$ \begin{align} L = \sum_{k = 0}^N\ 2\pi(r + kh) & = 2\pi r + 2\pi R + \sum_{k = 1}^{N-1}\ 2\pi(r + kh) \\\\ & = 2\pi r + 2\pi R + 2\pi \sum_{k = 1}^{N-1} r + 2\pi h \sum_{k = 1}^{N-1} k \\\\ & = 2\pi r + 2\pi R + 2\pi r(N-1) + 2\pi h\left(\frac{1}{2}N(N-1)\right) \\\\ & = 2\pi r N + 2\pi R + \pi hN^2 - \pi h N \end{align} $$  Using now: $N = \frac{b}{h}$; $R = b - a$ and $a = R - b$ (because $R$ is easily measurable), we arrive after little algebra to  $$\boxed{L = 4\pi b + 2\pi R\left(\frac{b}{h} - 1\right) - \pi b\left(1 + \frac{b}{h}\right)}$$  Small Example:  $h = 0.1$ mm; $R = 75$ mm; $b = 50$ mm thence $L = 157$ meters  which might fit.  Final Questions:  1) Could it be a good approximation?  2) What about the $\gamma$ factor? Namely the paper compression factor?  3) Could exist a similar calculation via integration over a spiral path? Because actually it's what it is: a spiral.  Thank you so much for the time spent for this maybe tedious maybe boring maybe funny question!


With Life and Limb do my forest's suffer from summoning sickness

So from what I understand  makes your forests into creature. So are you're forests then affected by summoning sickness, and therefore you are unable to be tapped for mana the turn you play them? If so is there a reasonable to animate you're opponents land like this to set them back?


I've used the form "XX00s" to mean a century, as in How poverty affected Britain in the late 1800s or In the 1600s the tensions between the crown and parliament came to a head And I use "XXX0s" to mean a decade, as in The 1990s saw two wars This is fine until I need to refer to the first decade of a century. In the 1800s could mean 1800-1809 or 1800-1899 according to my usage. What is the correct meaning of "In the 1600s"? I checked the Chicago Style Guide but it doesn't clarify this case. And Wikipedia disambiguates both meanings:


How to know where shell variables and functions are set?

When I type the set command in my system I've got this extract out :  __colormgr_commandlist='     create-device     create-profile     delete-device     delete-profile     device-add-profile     device-get-default-profile     device-get-profile-for-qualifier     device-inhibit     device-make-profile-default     device-set-kind     device-set-model     device-set-serial     device-set-vendor     find-device     find-device-by-property     find-profile     find-profile-by-filename     get-devices     get-devices-by-kind     get-profiles     get-sensor-reading     get-sensors     get-standard-space     profile-set-filename     profile-set-qualifier     sensor-lock     sensor-set-options     ' __grub_script_check_program=grub-script-check _backup_glob='@(#*#|*@(~|.@(bak|orig|rej|swp|dpkg*|rpm@(orig|new|save))))' _xspecs=([freeamp]="!*.@(mp3|ogg|pls|m3u)" [cdiff]="!*.@(dif?(f)|?(d)patch)?(.@([gx]z|bz2|lzma))" [bibtex]="!*.aux" [rgview]="*.@(o|so|so.!(conf|*/*)|a|[rs]pm|gif|jp?(e)g|mp3|mp?(e)g|avi|asf|ogg|class)" [oowriter]="!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm)" [chromium-browser]="!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))" [tex]="!*.@(?(la)tex|texi|dtx|ins|ltx|dbj)" [netscape]="!*.@(?([xX]|[sS])[hH][tT][mM]?([lL]))" .../.. _xinetd_services ()  {      local xinetddir=/etc/xinetd.d;     if [[ -d $xinetddir ]]; then         local restore_nullglob=$(shopt -p nullglob);         shopt -s nullglob;         local -a svcs=($( printf '%s\n' $xinetddir/!($_backup_glob) ));         $restore_nullglob;         COMPREPLY+=($( compgen -W '${svcs[@]#$xinetddir/}' -- "$cur" ));     fi } dequote ()  {      eval printf %s "$1" 2> /dev/null } quote ()  {      local quoted=${1//\'/\'\\\'\'};     printf "'%s'" "$quoted" } quote_readline ()  {      local quoted;     _quote_readline_by_ref "$1" ret;     printf %s "$ret" }   I checked all files in my knowledge as /etc/profile, /etc/environment, and/or ~/.bashrc. I didn't find any generation  script or code calling.   Do you have any advice where is come from ?


Getting the size of a field in bytes with C#

I have a class, and I want to inspect its fields and report eventually how many bytes each field takes. I assume all fields are of type  Int32, byte, etc.  How can I find out easily how many bytes does the field take?  I need something like:  Int32 a; // int a_size = a.GetSizeInBytes; // a_size should be 4


Which is correct: If you have any questions in advance of the meeting, please don't hesitate to contact Mark Ingrao or me.


In quantum mechanics, a particle may tunnel through a barrier it would not be able to surmount in a classical sense.  My question is this:  What are all the factors that may prevent a photon from propagating (thus it would need quantum tunneling to do so), and can they be described in a general way for any given material?


I have defeated the Thalmor on the ship and gotten the map for the quest "A New Source of Stahlrim," but when I try to take the map back to Baldor, it won't let me talk to him.  Instead, he just does the normal NPC dialogue thing, where he says random things and doesn't let you actually tell him anything.  Why does it do this, and how can I fix it?  I am tired of going into my inventory to drop or store things I don't need and trying to drop the map and not being able to!


java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference

ConverterFragment code: I am working on image to pdf converter app, And I am facing this problem. How to fix this? This code is not working in android 10 devices But working well in other android devices.     @Override     public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {         super.onActivityResult(requestCode, resultCode, data);         if (requestCode == 120 && resultCode ==RESULT_OK&&data!=null){             Uri slectImgUri = data.getData();              String [] filePath = {MediaStore.Images.Media.DATA};                          Cursor cursor = getActivity().getApplicationContext().getContentResolver().query(slectImgUri,filePath, null,null, null);             cursor.moveToFirst();              int columIndex = cursor.getColumnIndex(filePath[0]);             String myPath = cursor.getString(columIndex);              Bitmap bitmap = BitmapFactory.decodeFile(myPath);             imageView.setImageBitmap(bitmap);             PdfDocument pdfDocument = new PdfDocument();             PdfDocument.PageInfo pi = new PdfDocument.PageInfo.Builder(720, 1270,1).create();             PdfDocument.Page page = pdfDocument.startPage(pi);              Canvas canvas = page.getCanvas();             Paint paint = new Paint();             paint.setColor(Color.parseColor("#ffffff"));             canvas.drawPaint(paint);                bitmap = Bitmap.createScaledBitmap(bitmap, 720,1270, true);             paint.setColor(Color.BLUE);            canvas.drawBitmap(bitmap, 0, 0, new Paint());             pdfDocument.finishPage(page);              File root = new File(Environment.getExternalStorageDirectory(), "Pdf Converter");             if (!root.exists()){                 root.mkdir();             }                                   File file = new File(root, "my.pdf");                 try {                 FileOutputStream fileOutputStream = new FileOutputStream(file);                 pdfDocument.writeTo(fileOutputStream);             }catch (IOException e){                 e.printStackTrace();             }             pdfDocument.close();         }     } }


Why Math.Round() works differently in C#

First I noticed that Math.Round() doesn't round for 2 digits as I as for:  double dd = Math.Round(1.66666, 2);   Result:  dd = 1.6699999570846558;   and then I created a new project with same .NET framework and the result is 1.67 now as it should been in the first place.  I've never seen Round behaving like this before, what is causing this problem?


I'm facing an issue, stating that the cpio files contain junk, which results in kernel panic. Hence I'm looking for alternate ways to pack a file, precisely, pxe extension, which is easier to mount by the grub system.


Show the following: Let $G_1, G_2$ be groups and denote by $G_1*G_2$ their free product. Then center of $G_1*G_2$ contains only the neutral element.       Have you some nice references about free products and groups?    Note that a center of a group contains all elements, which commutes with all elements of the group.   My ideas: Let $g_1 \in G_1, g_2 \in G_2$ and $h$ be an element of the center. It applies $g_1 \cdot h = h \cdot g_1$ and $g_2 \cdot h = h \cdot g_2$. Since $g_1 \cdot h$ and  $h \cdot g_1$ are different strings, the only way that $g_1 \cdot h = h \cdot g_1$ could apply is that $g_1 \cdot h$ is not reduced. Analogously we see that $g_2 \cdot h$ is not reduced. It follows that $h$ can't be an element of $G_1$ and $G_2$, because otherwise $g_1\cdot h$ and $g_2 \cdot h$ could not be simultaneously unreduced. So the only way that $g_1\cdot h$ and $g_2 \cdot h$ are simultaneously unreduced, is that $h$ is equal to the neutral element.   Is that a correct proof?  For me seems the proof quite complicated and unprecise, especially the part, where I argue that $g_1 \cdot h$ is not reduced.  Is there a proof which is simpler and clearer?  Bests  bjn  edit 1: Thanks, I replaced "centralizer" by "center"


Where is the manpage of the set builtin?

When I type the command  man set   It gives the postgresql 9.3.6 manpage documentation of the set command. (May be I need to precise that I have postgres installed in my machine). However, I am not interested in the set command found in postgres but the built in set command. My question is how can I view the man page of the built in set command?


What should be the passive voice of  below given sentence?     My father promised me a gift.   I am confused  between these two options .   A gift was promised to me by my father.  Or  I was promised a gift by my father.  To me both sentences convey the same meaning but if it is asked in exam and I have to choose between them then which one should I choose and why it is better than the other ?


What is the meaning of equation of a circle or equation of a cube?

We have an equation of a Circle $$x^2 + y^2 = 1$$ and equation of a Cube $${||x-y|+|x+y|-2z|+||x-y|+|x+y|+2z|=1}$$  When I substitute x,y in first equation or x,y,z in the second equation then the equations are said to be satisfied when LHS and RHS are equal.  I have a quick question. If the first equation or second equation get satisfied, because LHS becomes equal to RHS, then those values of x and y of first equation are said to be lying on the circumference of the circle and not inside or outside of the circle and x,y,z of the second equation are said to be lying on the surface of the cube and not on the inside and not on the circle of the cube. Correct?


“You mentioned that you want” vs. “You had mentioned that you wanted”

How to say it in a right way and why?  1. In your advertisement, you had mentioned that you wanted to know about...  2. In your advertisement, you mentioned that you want to know about...  Thank you in advance!


Real World Example of the Strategy Pattern

I've been reading about the  and how to use the strategy pattern to accomplish this.  I was going to try and explain this to a couple of people, but the only example I can think of is using different validation classes based on what status an "order" is.  I've read a couple of articles online, but these don't usually describe a real like reason to use the strategy, like generating reports/bills/validation etc...  Are there any real world examples where you think a strategy pattern is common?


You told a child that the boy's about to jump into the pool. Now, the boy has just jumped into it. Is it ok to say "there he goes" or "there you go"?

You and your child are watching a boy standing by the pool. You told your child that you expected the boy to jump into the pool in a few minutes. Now, the boy has just jumped into it. Is it okay to say "there he goes!" or "there you go!"?


Consider two subspaces V and W of $\mathbb{R}^n$. Show that dim(V) + dim(W) = dim(V ∩ W) + dim(V + W).  Can anyone provide me with the proof for this?


VirtualBox: using physical partition as virtual drive

Background: I am using VirtualBox installed on Windows 7. From within VirtualBox I am using Xubuntu as a virtual OS. The reason I chose this approach is so that I don't have to keep turning off Windows and rebooting from Xubuntu every time I needed to switch OSes. And VirtualBox's seamless mode is pretty amazing to allow me see Xubuntu and Windows 7 all in one screen.   Issue: Now I am thinking of a way to have Xubuntu more integrated into my system. By this I mean I want to have a physical partition for Xubuntu. But I want to still have the feeling of the seamless mode.  Question: So finally, my question is: is it possible to load a partition in VirtualBox as a virtual OS?   Case examples: Ideal scenario would be: I physically boot up and login to Windows 7. Now I want to access Xubuntu, so I load VirtualBox and access my Xubuntu partition without rebooting. And the other way around too, i.e. I boot up the system, login to Xubuntu, and can access the actual Windows 7 partition through VirtualBox.   Other info: Please note that I am not talking about getting access to files, as I have a completely separate partition for my files, and am very familiar with VirtualBox's Shared Folders option.


Is this logic of solving $\frac{0}{0}$ correct

I have seen such proofs many times and was unable to prove where it was wrong (not a math person-my bad). For example the following proof for  $\frac{0}{0} = 2$ looks like it is proven correctly - but somehow I feel that it cannot be right.    .    This could be pun but I want to know where it is wrong


Split long commands in multiple lines through Windows batch file

How can I split long commands over multiple lines in a batch file?


Show that $det(A)=0$ for a Matrix $A$ Such That for $X=[2,3,4]^{T}$, $AX=0$

Show that $det(A)=0$ for a $3\times3$ matrix $A$ such that for $X=[2,3,4]^{T}$, $AX=0$  It seems most intuitive to me that $A$ would just be a matrix composed of zeros, but is 1) this what the question is really asking (as that seems like a bit of an easy way out) and 2) a way to prove this for $A$ without it being composed entirely of zeros?  For point 2 I'm unsure of what can be done other than just making arbitrary matrices that have a $det=0$, which doesn't seem like a very rigorous way to solve the problem.


Install ArcView 3.2 and extensions from original disks

I see someone mentioned copying the c:\esri folder and pasting in/on Windows 7 64 bit. Sounds easy enough; however, I thought the installation process partly consisted of putting certain files in certain places in order for the whole thing to work? Oddly enough, I work as a GIS Specialist and know little about the computer. My oversight, excuse me.  So, I have to be led by the nose (really good and thorough intructions).   Could I really just copy my ESRI folder on my xp machine to an external drive and then transfer it to my new machine?  Otherwise, can I use my original installation disks?  Thanks in advance for the education  John


Is there variation in the speed of light?

I read recently that there may be (very slight) variations in the speed of light due to the nature of spacetime itself, I had the idea that this may be due to the photon having mass, but that's another discussion. Anyway, I was hoping for some maths/good physical reasons why this may or not be the case because it's confusing me quite a bit.


GNU Parallel: redirect piped stdin as if it were a file

Suppose I have the following command to be parallelized:   my_command --file <(my | pipeline)   Now, I would like to parallelize in specific chunks:  my | pipeline | parallel --spreadstdin my_command --file <(parallel's stdin)   How would I accomplish this redirection with gnu parallel?


What is the smallest value of n such that an algorithm running at 100*n^2 operates faster than 2^n ? [How to figure out without brute force]

Okay, so I needed to find the smallest value of n such that algorithm 100*n^2 is faster than 2^n.   [what I have tried]  So, I instantly thought '0'. But, I then realized it can't be 0, 0 implies that there are no digits being entered in the algorithm, it also implies that the program does not run or terminate.   I typed in 2^32 and got a number over 4 billion. Okay, this is good, I'm finding numbers that have 100*n^2 being faster than 2^n.   I halved that, n = 20.  I kept inserting values counting down until I got to n = 15.   I also counted up from n = 10, the answer is undoubtedly n = 15, but I have a problem . . . .I solved this using brute force and that isn't good. What if I was given a bigger number and a larger bredth of numbers?  [What I need]  I need a way of finding the value instantaneously by only doing the math, I tried using logarithms, but my answer was wrong, my knowledge of logs is a bit rusty and I need a little help.  Think of it as a student trying to solve a question on an SAT or having a timer for a test.


Does $\lim_{n \to \infty} |a_n|^{\frac{1}{n}}=l$ imply $\lim_{n \to \infty} \frac{|a_{n+1}|}{|a_n|}=l$?

Consider a series $\sum_{n \geq 0} a_n$. How can I show the following?  $$\lim_{n \to \infty} |a_n|^{\frac{1}{n}}=l \implies \lim_{n \to \infty} \frac{|a_{n+1}|}{|a_n|}=l$$


Airline ticket; missing one of two first names

I am flying Europe to South Korea and then back for two weeks. However I might have done a stupid mistake when booking the ticket. I have two first and two last names, but when booking the ticket I omitted one of the first names while in a hurry.   So my passport reads  GIVEN NAMES: JOHN RICARD  SURNAME: ERICSON FANSON   But I booked the ticket as  First name: John  Last name: Ericson Fanson   Would this be an issue? I contacted the agency to change the name but after 3 phone calls they told me to contact the airline. However in case there's a fee, I was thinking to see if it's even necessary to make the amendment.


Eye Strain and Nausea when running 18.04.1 on Intel i915 graphics

When I launch Ubuntu 18.04.1 on my  desktop PC with Intel i915 graphics, I experience heavy eyes within 5-10 minutes, and after a few hours develop severe dizziness and sometimes headaches.  When I boot with Windows 7, it causes no strain at all, and I can use it for prolonged periods without issue.   I am part of a small but growing community at LED Strain () who experience these issues on most modern devices, games consoles, smartphones, even Smart TV apps cause problems. We believe there has been a change of rendering introduced (temporal dithering?) which may be the cause.  Does the Ubuntu desktop use any form of dithering, and is there a way to disable this as these extra artifacts on modern Operating systems are causing severe issues for a minority of users.  **  PC Make / Model - Acer Aspire AX3950 Graphics - Intel GMA HD Graphics Monitor -  (via HDMI) its best res is 1920X1080 @ 60Hz   Output of sudo lshw -C display:  *-display                            description: VGA compatible controller           product: Core Processor Integrated Graphics Controller           vendor: Intel Corporation           physical id: 2           bus info: pci@0000:00:02.0           version: 12            width: 64 bits           clock: 33MHz           capabilities: msi pm vga_controller bus_master cap_list rom           configuration: driver=i915 latency=0           resources: irq:26 memory:fb800000-fbbfffff memory:d0000000-dfffffff ioport:dc00(size=8) memory:c0000-dffff      Output of uname -a:  Linux paul-Aspire-X3950 5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux     00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)


How can I find all integers $x≠3$ such that $x−3|x^3−3$?  I tried expand $x^3−3$ as a sum but I couldn't find a way after that.


Centos Server with Apache hacked - Removed files but still showing compromised by Google

It's desperate times for me/us in trying to figure out what's going on.  We have been hacked recently and lost our rankings/traffic due to google posting a message saying "This Website May Be Hacked".    Ever since then, we've cleaned the files/scripts on our wordpress site with no use.  We've installed a new version of wordpress and imported the theme files - again, without any luck.  We are beyond frustrated as we don't have a clue as to where to look and this is costing us business.  Our setup is the following:  Centos OS Wordpress on 4.4 Cloudflare managing DNS Apache installed Mod_pagespeed installed  At this point, we have several scripts that are some how loading up in the site's footer and are clueless as to what's triggering them and think they might be the culprits that are causing us our ranking issues.  Can someone please chime in and let us know what you think?  please see the attached screenshot    Thank you in advance!


Why “which” returns none on some commands I can run?

I used which to tell the location of a runnable file. For example, which pwd returns /bin/pwd. However, I found which alias or which compgen etc returns nothing.   What are commands like alias? Aren't they executable files on my Linux? I am using bash 4.3 on Ubuntu.


In Mac OS X, run 'ls -al' gives me something like this.   drwxrwxrwx+  4 smcho  staff     136 May  5 09:18 Public drwxr-xr-x+  6 smcho  staff     204 Feb  1  2010 Sites drwxrwxrwx   9 smcho  staff     306 Feb  2  2010 backup drwxr-xr-x@ 36 smcho  staff    1224 Sep  4 22:51 bin    What's the + or @ at the end of the first column means? Is this unique to Mac, or common in UNIX?   ADDED  After Michael Mrozek's answer, I ran 'ls -ale' to get the following.   drwx------+ 66 smcho  staff    2244 Aug 30 13:40 Library  0: group:com.apple.sharepoint.group.3 allow search  1: group:everyone deny delete drwxr-xr-x   3 smcho  staff     102 Sep  4 15:01 Mail drwx------+ 13 smcho  staff     442 Aug 28 17:55 Movies  0: group:everyone deny delete drwx------+  6 smcho  staff     204 Jul  9 09:37 Music  0: group:everyone deny delete drwx------+ 11 smcho  staff     374 Aug 28 16:55 Pictures  0: group:everyone deny delete drwxr-xr-x   3 smcho  staff     102 Mar 18 15:43 Projects drwxrwxrwx+  4 smcho  staff     136 May  5 09:18 Public  0: group:everyone deny delete drwxr-xr-x+  6 smcho  staff     204 Feb  1  2010 Sites  0: group:everyone deny delete   What those appended messages mean? Why do I have them for some of the files? I don't remember doing anything particular for them.


I created this siding generator and I have been adding some new features and I have encountered some problems that I just can't seem to get around. Currently it is not installing into Blender 2.72 properly, it works fine from the text editor, but if you try and install it as an  you get an error like this:  Traceback (most recent call last):   File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\modules\addon_utils.py", line 299, in enable     mod = __import__(module_name)   File "C:\Program Files\Blender Foundation\Blender\2.72\scripts\addons\add_mesh_siding\__init__.py", line 12, in <module>     from add_mesh_siding_utils import * ImportError: No module named 'add_mesh_siding_utils'   Even though the other file is right there as well. I don't get what changed, it used to work just fine.


Getting an error while trying sudo apt-get update

I was trying to install dotnet using this as link as guide,  But after inputting this command, wget -q https://packages.microsoft.com/config/ubuntu/19.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb  sudo dpkg -i packages-microsoft-prod.deb And trying to update, using this command, sudo apt-get update  It gave me this error. Err:8 http://ppa.launchpad.net/directhex/ppa/ubuntu bionic Release                      404  Not Found [IP: 2001:67c:1560:8008::15 80] Err:7 https://apt-mo.trafficmanager.net/repos/dotnet-release xenial InRelease           The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B02C46DF417A0893 Reading package lists... Done                                   E: The repository 'http://ppa.launchpad.net/directhex/ppa/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: https://apt-mo.trafficmanager.net/repos/dotnet-release xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B02C46DF417A0893 E: The repository 'https://apt-mo.trafficmanager.net/repos/dotnet-release xenial InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.  It would really awesome if I can successful install the dotnet-sdk, but if that's a problem, I just want to know how not to get this error while updating(No worries about the sdk). By the way, I'm on Kubuntu 18.04. Any Help Would Be Appreciated!


Finding out what happened to German prisoner of world war 2?

My mother was a Dutch prisoner of war in Mauthausen in 1945. She managed to save the life of a German POW, who was already 11 years in the camp by that time.   He fell in love with my mother and wrote her a number of love letters, both from Mauthausen and later from Victoriastrasse in Munchen.   His name was Franz Joseph Gebele. I would like to return the letters to any family there may still be if they are interested.  How can I find out what happened to F.J. Gebele or his family?


Are there people who have done so much work before PhD that they get a PhD automatically?

addresses why it's a bad idea to try to do a lot of independent work before PhD in the hope of finishing PhD quickly.  Nevertheless, are there famous examples of people who have done so much work before PhD that they get a PhD pretty much automatically (say, 1-2 years or less)?


How to concatenate a link in a javascript function with a php variable?

I'm trying to concatenate a link in a javascript function with a php variable. But whatever a try to write after ""+ doesn't get displayed and the whole program stops working.  The variable is defined in a different page. I tried REQUEST to access to it, but it's not working.  function popupEvent(){     $('#btnClose').unbind("click");      $('#btnClose').click(function(){     window.location = SITEURL+"cart/rollPdf/?POrderNo="+implode(',', $orderIDArr);    window.open(ord,'winname','directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=350');                       return false     }); }


How do I fix the Problem With Half my Object disappearing?

I am having a slight problem with a moon rover I am creating for a game. When I try to render it (in Blender Game) half the object disappears, or becomes hollow. Here is a picture from camera perspective of the Object in editor:     Here is a picture when I press P to start the Engine:    I am currently using Blender Version 2.74 How can I fix this Error?


In any metric space X, the sets ∅ and X are always closed.   Hello, I need help in proving this statement. I'm not exactly sure where to start. I have tried to teach myself the definitions, however it hasn't been successful. In class, we have only learned about closed sets.   Can you please walk me through this proof/ how to approach this problem? I'd really like to know how to use the definitions and understand the logic.


Is there a uniformly continuous function $f:\mathbb R \to \mathbb R$ such that $a_{n+1}=f(a_n)$?

Let $a_1=\frac 2 3 , \ a_{n+1}=a_n-a^2_n$ for $n\ge 1$, $a_n$ is monotonically decreasing and bounded: $0\le a_{n+1} \le 1$ and $\displaystyle\lim_{n\to\infty} a_n=0$. Is there a uniformly continuous function $f:\mathbb R \to \mathbb R$ such that $a_{n+1}=f(a_n), \ \forall n\in \mathbb N$ ?  I don't know how to start here but I'm pretty sure there is such function since $a_n$ is converging then from the definition of uniform continuity, we'll have $\forall \epsilon >0 :\exists \delta >0: \forall n,m\in \mathbb N: |a_n-a_m|<\delta\Rightarrow |f(a_n)-f(a_m)|<\epsilon$ $a_{n+1}=f(a_n)=f(a_{n-1}-a_{n-1}^2)$ so I need to find a function that will "push the index" by 1, like $f(x)=x+1$ and is uniformly continuous, but I have no idea how to find such function.


Horizontal Time Line that depend on the status picklist of an object in visual force page

I have a custom Object (Candidate ) with the following status picklist values  Picklist1 picklist2 Piclklist3  I would like to create the horizontal Time line using visual force page  that would depend on the status of the picklist. This can be achieved by using the formula but i would like to have the banner using VF on the detail page of the record. (EX: By default the status of the candidate would be "picklist1" and when the status is changed to "Picklist2" the image should move to that status on the time line.)[![enter image description here][2]][2]


$I-AB$ be invertible $\Leftrightarrow$ $I-BA$ is invertible

assume $A,B\in M_n(F)$ if  $I-AB$ be  invertible then  how  to prove $I-BA$ is invertible and how find inverse of $I-BA$   Thanks in advance


Every Artinian ring is isomorphic to a direct product of Artinian local rings

Proposition. Let $R$ be commutative ring with $1_R$. We assume that $R$ is an Artinian ring and $M_1,\dots,M_n$ its maximal ideals. Then         $R/\mathrm{Jac}(R)\cong (R/M_1)\times \dotsb \times (R/M_n)$.   The ring $R$ is isomorphic to the direct product of a finite number of Artinian local rings.      Proof. 1. It's obvious that $M_i+M_j=R,\ \forall 1\leq i \neq j \leq n$. So, from Chinese Remainder Theorem, we have  $$R/\bigcap_{i=1}^{n}M_i = R/\mathrm{Jac}(R) \cong (R/M_1)\times \dotsb \times (R/M_n),$$ as we wanted.    Since $R$ is an Artinian ring, we have $\mathrm{Jac}(R)^m=\{0_R\}$, for some $m\in \Bbb Z^+$. But,  $$\{0_R\}\subseteq M_1^m\dotsb M_n^m=(M_1\dotsb M_n)^m\subseteq (\bigcap_{i=1}^{n}M_i=\mathrm{Jac}(R))^m=\{0_R\}.$$ So, if we apply CRT we will take  $$R\cong R/\{0_R\}\cong R/M_1^m\dotsb M_n^m\cong (R/M_1^m)\times \dots \times (R/M_n^m).$$   Questions.   1) Are these thoughts complete and correct?  2) Why $R/M_i^m$ are artinian local rings?  3) Could you please elaborate some examples as an application?


Suppose $z_1, .....z_{m+1}$ are distinct elements of $F$ and $w_1,....,w_{m+1} \in F$. Prove that there exists a unique polynomial $p \in P_m(F)$ such that $p(z_j) = w_j$ for j=1,...m+1.  Any ideas on where to start/go with this one. I'm having quite some trouble with it.


How does a Cavalier fighter's Unwavering Mark feature interact with other "mark" abilities?

The 's Unwavering Mark feature (Xanathar's Guide to Everything, p. 30) says:      This effect ends early if you are incapacitated or you die, or if someone else marks the creature.   Does the word "marks" there only refer to other uses of Unwavering Mark, or does it apply to (for example)  as well?


There is no proper subgroup of $\mathbb Q$ of finite index

I want to show that there is no proper subgroup of $\mathbb Q$ of finite index.  I found many solutions using quotient group idea.   But I didn't learn about that. So I want to solve it without using that.  For example I solve [$\mathbb{Q}:\mathbb{Z}$] is infinite like this.  Suppose $[\mathbb{Q}:\mathbb{Z}$] is finite.  Then $\exists a_1, \ldots , a_n $ s.t. $ \mathbb{Q} = \bigcup_{i=1}^n (a_i+ \mathbb{Z}) $  WLOG, 0$\le a_1, \ldots , a_n \lt $1  Since $\mathbb{Q} $ is dense, $\exists 0\le r \lt 1$ s.t $ r\neq a_i $ for each i.  Then $r\in \mathbb{Q} $ but $r\notin \bigcup_{i=1}^n (a_i+ \mathbb{Z})$, contradiction.  Can I solve my question likewise?