All I want is a simple thing: Change the section numbering to become like this  1.  Introduction    And not the default, where there is no point. I also want to make the point appear for the subsection and the subsubsection.

I wonder is there any way to change the format of section numbering from 1.1 to 1.1. ? I know this is trivial, but I really need to add one more dot after the section number. Does anybody know how to do that?  Thanks a lot


I wiped out data on external HDD (NTFS) by dd. Wanted to write ISO on usb-stick. But I don't have any storage that could embrace volume of those external HDD. So I need to safe part of data here and part there during recovery (Testdisk tells that there not enough space).  Could you recommend software ? And would be nice to have guidance through this.

About two weeks ago I had a problem with my PC that my brother wrote a question about at .  I still haven't solved the problem, so my PC is unusable now.  Now I think that it would be simpler to re-install both Win7 & Ubuntu than repair them, but there're some data on their partitions. I want to recover this data.  These partitions are not mountable for some reason. I don't know why.  sudo fdisk -l about the problematic partitions:     Device    Boot      Start         End      Blocks   Id  System /dev/sda1            2048     147912703    73955328   83 Linux /dev/sdb2            206848   174079999    86936576    7  HPFS/NTFS/exFAT   And in GParted:      And the error of the mount command:  Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?   And the exact same message for /dev/sda1  How can I recover my data from those HDDs?  EDIT     I have tried to specify the type of the drive:  $ sudo mount -t ext4 /dev/sda1 /olddisk mount: wrong fs type, bad option, bad superblock on /dev/sda1,        missing codepage or helper program, or other error        In some cases useful info is found in syslog - try        dmesg | tail  or so $ sudo mount -t ntfs /dev/sdb2 /olddisk NTFS signature is missing. Failed to mount '/dev/sdb2': Invalid argument The device '/dev/sdb2' doesn't seem to have a valid NTFS. Maybe the wrong device is used? Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?   EDIT     sudo ntfsfix /dev/sdb2 returns:  Mounting volume... NTFS signature is missing. FAILED Attempting to correct errors... NTFS signature is missing. FAILED Failed to startup volume: Invalid argument NTFS signature is missing. Trying the alternate boot sector Unrecoverable error Volume is corrupt. You should run chkdsk.


I am about to travel to St Petersburg for one day and I am concerned about mobile internet. I own both a German and a Romanian SIM card, but none of the providers seem to offer a plan for Russia (only EU, USA, Canada, Turkey, etc). Please correct me if I'm wrong, but there is no logical reason why the EU plans should include Russia.  Is my only option buying a prepaid SIM as soon as I get there? It seems quite odd that there are no plans available for Russia. How did other other people who traveled there solve this problem?  Thank you.

Next month I am traveling to country X, where I would need Y minutes of calls, Z text messages and most importantly Q megabytes of data. How can I find the cheapest/most reliable SIM card for my needs?


Our United Airlines flight UA6056 from DTW to IAH was delayed on 1/1/2019 scheduled for 8:25am departure and I want to find out when it actually boarded & took off?   They told us at the gate it was delayed 1 hour and to come back to board at 9am. When we returned just before 9am the flight had already left. Without us. For our honeymoon.

Where can I find historical data on flights, specifically Delta international flights?  I need to find out about cancellations, diversions and any other flight data pertaining on particular route at a given time.  This source has to be official and stand up to legal scrutiny.


I am new to C# programming and was reading in C Sharp 2010 for programmers and this interrupted me.     Identifiers   may also be preceded by the @ character. This indicates that a word should be interpreted   as an identifier, even if it’s a keyword (e.g., @int). This allows C# code to use code written   in other .NET languages where an identifier might have the same name as a C# keyword.   1-Can anyone explain what will the interrupter do if a @character was used with an example please, and how it is different than identifying without the @character.   2- how can it be used in other .NET languages

I discovered that you can start your variable name with a '@' character in C#.  In my C# project I was using a web service (I added a web reference to my project) that was written in Java. One of the interface objects defined in the WSDL had a member variable with the name "params". Obviously this is a reserved word in C# so you can't have a class with a member variable with the name "params". The proxy object that was generated contained a property that looked like this:  public ArrayList @params {     get { return this.paramsField; }     set { this.paramsField = value; } }   I searched through the VS 2008 c# documentation but couldn't find anything about it. Also searching Google didn't give me any useful answers. So what is the exact meaning or use of the '@' character in a variable/property name?


Last night at dinner one of my Android using friends was bragging about how their Samsung phone had an option to tap one button to quickly shut down all your apps. My other friend (an iPhone user like me) responded with "Why would you wanna do that? It'll just flatten your battery quicker!".  Is this true and why?

I know apparently it’s not a good idea to close apps on your iPhone to save on battery. I’ve read questions and answers like  but it still doesn’t quite gel with me. Sometimes I have found over 50 apps running, so not closing them makes no sense.  Maybe I’m a bit of an old chook and you just can’t teach old dogs new tricks, but can someone here explain WHY it’s better to just keep all these apps running? And when I say “explain” I mean in layman’s terms so I can understand.


I posted the below yesterday, got an update that there is an extensive answer here:  My issue is that in step 1, I get: 14e4:4311 rev2 and is does not appear in the table in the next step. There is 14e4:4311 rev1 but not rev2. Can you pls add it to the relevant table? thank you. just installed Ubuntu 20.04 on HP Pavillion dv6000 notebook. After installation completed, tried to browse through firefox and seeing Im not connected. Explored some relevant questions, and I do know Ubuntu can see my device as when going to terminal and typing command: lspci -vvnn | grep -A 9 Network  Getting the info. that it is Broadcomm Here is exactly what I get: 02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM4311 802.11b/g WLAN [14e4:4311] (rev 02)     Subsystem: Hewlett-Packard Company BCM4311 802.11b/g Wireless LAN Controller [103c:1374]     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-     Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-     Latency: 0, Cache Line Size: 64 bytes     Interrupt: pin A routed to IRQ 16     Region 0: Memory at f4000000 (64-bit, non-prefetchable) [size=16K]     Capabilities: <access denied>     Kernel driver in use: b43-pci-bridge     Kernel modules: ssb  Not sure if I understand correctly but now I need to get a firmware install package and then driver both for Linux/Ubuntu for Broadcomm 4311 but this is where I go lost as when looking those, found some install package on  but there were many options there and I was not sure if Im on the right path of maybe there is a much simpler way or Im not reading the issue correctly. Help will be appreciated.

I'm having serious problems installing the Broadcom drivers for Ubuntu. It worked perfectly on my previous version, but now, it is impossible.   What are the steps to install Broadcom wireless drivers for a BCM43xx card?  I'm a user with no advance knowledge in Linux, so I would need clear explanations on how to make, compile, etc.    lspci -vnn | grep Network showed:   Broadcom Corporation BCM4322 802.11a/b/g/n Wireless LAN Controller [14e4:432b]      iwconfig showed:  lo        no wireless extensions. eth0      no wireless extensions.   NOTE: Answer below is updated every time new information is added and confirmed working.


The second law of Sir Isaac Newton or also known as the fundamental relation of dynamics : $$\vec{F}=m\vec{a}$$  Which can be derived using the definition of the force : $$\vec{F}=\frac{d\vec{p}}{dt}$$ But only if $m$ is treated as a constant. What if $m$ is not a constant? absolutely we're not having the same result. Then what we must apply $F=ma$ or $F=dp/dt$ ?

Frequently I see the expression  $$F = \frac{dp}{dt} = \frac{d}{dt}(mv) = \frac{dm}{dt}v + ma,$$ which can be applied to variable mass systems.  But I'm wondering if this derivation is correct, because the second law of Newton is formulated for point masses.   Furthermore if i change the inertial frame of reference, only $v$ on the right side of the formula $F = \frac{dm}{dt}v+ma$ will change, meaning that $F$ would be dependent of the frame of reference, which (according to me) can't be true.   I realize there exists a formula for varying mass systems, that looks quite familiar to this one, but isn't exactly the same, because the $v$ on the right side is there the relative velocity of mass expulsed/accreted. The derivation of that formula is also rather different from this one.   So my question is: is this formula, that I frequently encounter in syllabi and books, correct? Where lies my mistake.


I have this code:  for i in 'some     text' "some     other     text" do     echo $i done   The output is:  some text some other text   Why the spaces are not being printed?

Or, an introductory guide to robust filename handling and other string passing in shell scripts.  I wrote a shell script which works well most of the time. But it chokes on some inputs (e.g. on some file names).  I encountered a problem such as the following:   I have a file name containing a space hello world, and it was treated as two separate files hello and world. I have an input line with two consecutive spaces and they shrank to one in the input. Leading and trailing whitespace disappears from input lines. Sometimes, when the input contains one of the characters \[*?, they are replaced by some text which is is actually the name of files. There is an apostrophe ' (or a double quote ") in the input and things got weird after that point. There is a backslash in the input (or: I am using Cygwin and some of my file names have Windows-style \ separators).   What is going on and how do I fix it?


I am a beginner in the C language. Can anyone explain in detail using example how main(), int main(), void main(), main(void), void main(void), int main(void) work in C language? As in, what is happening when we use void main() and what is happening when I use int main() in simple language and so on? I know, but I can’t understand what is it doing:  main() - function has no arguments int main() - function returns int value void main() - function returns nothing, etc.  When I write a simple  program using the int main() return 0, it still gives me the same output as when using void main()), so how does it work? What is its application?

What is the correct (most efficient) way to define the main() function in C and C++ — int main() or void main() — and why? And how about the arguments? If int main() then return 1 or return 0?  There are numerous duplicates of this question, including:       — For C++, with a very good answer indeed.     Related:


I have the following integral to evaluate  $\lvert \int_0^\frac{\pi}{4}e^{iR^2e^{i2\theta}}iRe^{i\theta}d\theta\rvert$  and I want to put the absolute value sign inside of the integral so that I can make some simplifications.  I know that for functions of a real variable $\lvert \int_a^b f(x) dx \rvert \leq \int_a^b \lvert f(x) \rvert dx $ because of monotonicity of the integral and the fact that $-\lvert f(x) \rvert \leq f(x) \leq \lvert f(x) \rvert$.  But I am having trouble seeing this with functions of a complex value, I know that I am supposed to be able write a similar statement for the integral above, but I'm having trouble with the intuition.   I can't say that $f(z) \leq \lvert f(z) \rvert$ because there is not a total ordering of the complex numbers due to the phase terms, so I'm having trouble justifying moving the absolute value sign inside the integral.

I've been given a proof that shows the following:  If $f:[a,b]\to \mathbb C$ is a continuous function and $f(t)=u(t)+iv(t)$ then $$\left| \int_a^b f(t) dt \right| \leq \int_a^b \left| f(t) \right| dt$$ The proof begins by letting $\theta$ be the principle argument of the complex number $\int_a^b f(t)dt$ and there is one step in the proof I don't understand; can anyone explain to me why $$\int_a^b e^{-i\theta}f(t) dt=\Re\bigg(\int_a^be^{-i\theta}f(t)dt\bigg)$$  Would this not imply that the imaginary part of the left hand side is equal to $0$? I'm not sure why the LHS and RHS would be equal here.


What is the difference between public IP and private IP? Does each machine have both a private IP and a public IP? Who assigns public and private IP? and how can a machine having only a private IP access internet?

So I have two IP addresses - one is on my network settings and is 192.168.0.X. Another one - I checked this address online - is 108.X.X.X. What's the difference between these two IP addresses? Does it have something to do with local vs internet IP addresses? Can someone please explain these two concepts?


I have this page where i load products by getting them as json from my php and putting them in html in js side like so :   function getProducts(type) { $.ajax({     type:"POST",     url:"backend/getProducts.php",     data: {         category: type     },     success:function(data){         var response = jQuery.parseJSON(data);         var products = "";          for(var i = 0; i < response.data.length; i++)         {             products += "
";             products += "

";             products +=     "
"+response.data[i].Name+"
";             products +=     "
Description : "+response.data[i].Description+"
";             products +=     "
Color : "+response.data[i].Color+"
";             products +=     "
Price : "+response.data[i].Price+"
";             products +=     "<form method='post' class='add-to-cart-form'><input type='hidden' name='id' value='"+response.data[i].ID+"'>
<input type='number' class='quantity form-control' placeholder='Quantity'>
<button class='btn btn-default' type='submit'>Add to Cart</button>

</form>";             products += "

";         }          if(response.data.length == 0)         {             products += "

No Products Found

"         }         $("#shop-section").html(products);     } });   }  but when i try to catch the add-to-cart-form on submit to add the item to cart it just submits the form anyway even though i have e.preventDefault().  $(".add-to-cart-form").on('submit',function(e){     e.preventDefault();     // do stuff here });   how can i fix this ?  Thanks

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


$A,B$ are subspace of a finite-dimensional vector space $V$. Show that  $\dim(A) + \dim(B) = \dim(A+B)$ if and only if $A \cap B = \{0\}$.  It (kind of) seems intuitive but I'm having a hard time putting words to my intuitions.

Let $U,W$ be subspaces of a vector space $V$. Show that   $$\dim(U)+\dim(W)=\dim(U+W)+\dim(U\cap W)$$   Hint: Show that the map given by $L:U×W\to V$ given by $L(u,w)=u-w$ is linear.   I can show that $L:U×W\to V$ given by $L(u,w)=u-w$ is a linear map. I also know that the dimension of $U×W$ is $\dim(U)+\dim(W)$. What do I do next? Any hints?


I have the following template class & sample classes :  template<typename A, typename B, typename C = typename A::Nested<B>> struct X {     X()     {         std::cout << "A is : " << A::who() << std::endl;         std::cout << "B is : " << B::who() << std::endl;         std::cout << "C is : " << C::who() << std::endl;     } };  struct Bsample {     static const char* who()    { return "Bsample"; } };  struct Asample {     template<typename B>     struct Nested;     template<>     struct Nested<Bsample>     {         static const char* who()    { return "Asample::Nested<Bsample>"; }     };     static const char* who()    { return "Asample"; } };   When using vc14, the above code compiles just fine and produces the expected behavior for an instanciation of X<Asample, Bsample> defaulting template parameter C to Asample::Nested<Bsample> .  However, when compiling with GCC 5.1, I get the following error :  prog.cpp:4:65: error: expected '>' before '<' token  template<typename A, typename B, typename C = typename A::Nested<B>>                                                                  ^   I tried several combinations to declare the default value for template parameter C, using template, typename, ... but did not succeed in compiling this code with GCC.  How to make this code compliant to C++ standard and compile with GCC ?  Thanks for help  EDIT : Addition to the accepted answer from TartanLlama  In addition to the accepted answer from TartanLlama , I also had to insert a blank (space) between ending template parameters brakets :  template<typename A, typename B, typename C = typename A::Nested<B> > //                                        blank (space) added here ^   Otherwise, GCC issues the following error (when option -std=c++11 is not specified):  error: spurious '>>', use '>' to terminate a template argument list  template<typename A, typename B, typename C = typename A::template Nested<B>>                                                                             ^

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


I have downloaded Flash Player 11.5.0 into my Downloads. How do I install it? It is a tar.gz file. Please easy steps through the terminal. I am new to Linux, and want to learn more about it.

I have had significant problems with watching flash video in 64-bit Ubuntu.  Does anyone know of a good way to get flash running on the platform?


I'm currently modeling my game character in Blender (see below picture). What is the difference between a subdivision surface modifier and a multiresolution modifier? I know they smooth the surface but are there specific characteristics to using each and what are those?


I have bought four RF sensors from .   I want to locate one of them with the help other three sensors by the means of triangulation. My project requires this localisation under distance of 2 meters. So, how can I reduce the range of these sensors to 2 m?   I'm using Arduino, Raspberry Pi as processors for the project. Any documentation/reference links would also be welcome. I have worked on ZigBees before but this is the first time with RF.

I've just got my Nrf24l01 but then I found out that the working signal range for the module is 100m and above. Our real intention for the module is to let the nrf24l01(Receiver) out of range for about 5m in order to activate the alarm.   The purpose of our project is for anti-theft alarm which sounds the alarm if the module is out of range. We only need a short distance in order for the alarm to work since our research project is only for personal use.  We have an idea which we want to clarify if it is possible, it works by having the (receiver) to reach a fixed distance value in the coding of the arduino and when the (receiver) goes beyond that value, it will activate the alarm or beep. We want to ask if our idea is possible and if yes, can you help us how to code the arduino?.   I don't have any background in making a code for arduino but I know how to program an arduino using a ready-made code from the internet.


Human systolic pressure is 16 kPa and diastolic 11 kPa but Earth atmosphere pressure is 101.325 kPa. I don't understand why when we are hurt we bleed instead of air enter into our body. How can blood be "stronger" than atmosphere pressure?

Atmospherical pressure is around 760 mmHg, while blood pressure is on average 100 mmHg. Then why do you bleed from cuts, and why does a cut aorta spray blood? The atmosphere should press the blood back in, or at least stop it from spraying.


I see why there are some questions which don't have any answers, but still they exist in category "No Upvoted Answers". Why? These questions should be in category "no answers".

Possible Duplicate:        When I click 'Unanswered' in the menubar, I get a list of questions, all of which have been answered. Does it just mean there's no accepted answer? If so, can we make that more obvious? Can we get some way of finding really unanswered questions?


I have a csv with values like this:  "a very long value, with a comma","387621937291732193"  The number, despite being enclosed in quotes gets turned into a number in excel and shows up in scientific notation. How do you prevent excel from assuming that everything is a number? Why does excel not show any options when opening a CSV as it does for .txt files?

I've got a web application that is exporting its data to a CSV file.  Here's one example row of the CSV file in question:  28,"65154",02/21/2013 00:00,"false","0316295","8316012,8315844","MALE"   Since I can't post an image, I'll have to explain the results in Excel.  The "0316295" field gets turned into a number and the leading 0 goes away.  The "8316012,8315844" gets interpreted as one single number: 83,160,128,315,844.  That is, most obviously, not the intended result.  I've seen people recommend a leading single quote for such cases, but that doesn't really work either.    28,"65154",02/21/2013 00:00,"false","'0316295","'8316012,8315844","MALE"   The single quote is visible at all times in the cell in Excel, though if I enter a number with a leading single quote myself, it shows just the intended string and not the single quote with the string.    Importing is not the same as typing, it seems.  Anybody have a solution here?


Im trying to create a feature layer on which i want to perform a select by location, however:  arcpy.MakeFeatureLayer_management (perp, "selected","LINK_ID = 23002109")   throws:  ExecuteError: ERROR 000230: Failed selecting with LINK_ID = 23002109   and   arcpy.MakeFeatureLayer_management (perp, "selected") arcpy.SelectLayerByAttribute_management("selected", "NEW_SELECTION", "LINK_ID = 23002109")   throws:  ExecuteError: ERROR 000358: Invalid expression   The same query works fine when done manually in ArcMap. The field exists and its datatype is DOUBLE.   My problem seems to be exactly the same as in  The difference is I'm working with a local GDB and not with a SDE connection. What is wrong here?

I'm quite new with arcpy and I'm finding selecting by attribute a bit of a nightmare. There's a problem with my query on the script below [query = "\'Location\' = observer"], but I can't tell what it is. 'Location' is a field of the feature class I'm dealing with (fc_copy).  with arcpy.da.UpdateCursor(fc_copy,field_names) as cursor:        for row in cursor:         observer = row[0]         arcpy.MakeFeatureLayer_management(fc_copy, 'fl_copy_OBS')         arcpy.MakeFeatureLayer_management(fc_copy, 'fl_copy_TAR')         query = "\'Location\' = observer"         arcpy.SelectLayerByAttribute_management('fl_copy_OBS', 'NEW_SELECTION', query)         arcpy.SelectLayerByAttribute_management('fl_copy_TAR', 'NEW_SELECTION', query, invert_where_clause = 'INVERT')   This is the error I get => Invalid expression                            Failed to execute (SelectLayerByAttribute).  Is there any documentation to learn the rules to follow to build queries for arcpy?


It's very irritating to go around dealing with titles that are misspelled only to find that the misspelling is there because of the banned words stuff.  Can't we get some AI into the title parsing?  Case in point:   .   Yes, I rewrote the title to avoid the misspelling, but it is a nuisance.  Granted, you probably can't get around every misspelling, but simple 'two letters in wrong order' misspellings should be spottable.

Since  in titles, and there's not even a way  (or ) we all know users just get around that filter by typing various permutations of the word "problem".  The filter has . The bottom line there was:     "Hacking around" the filter is in fact very very rare.   I beg to disagree. I tried searching Stack Overflow for the following variations of the title:  problme probelm probeml probmle probmel prolbem prolbme prolebm prolemb prolmbe prolmeb proeblm proebml proelbm proelmb proembl proemlb   These are just a couple of permutations from 5040 possible ones. I also tried searching for variations with left out letters, like proble, or prblm. Here's just a graph of a subset from maybe 20 searches—but in reality, there might be more ways to get around the filter:    Was this ever intended? I know it saves a lot of bad titles from being created, but on the other hand it enforces even worse titles as well. 3% based on the  aren't much, but they're 3% crap the filter actively provokes.  Now, my questions up for discussion are:   What are we going to do about this large number of porblematic posts? It seems almost impossible to fix all those. We now have a really good review system that allows people to dig through low quality posts the entire day, so that'd be a way to address this of course. Are there any plans of getting rid of the filter again? This, at least, would give you a good indicator of poor quality. If a post title contains the word "problem" you instantly know something's off. Why not have it reviewed? I understand that some people will choose a better title after being blocked, but I don't even want to start looking at the number of those who merely did a s/problem/issue, or even worse, just used "problems" (because that's not blocked, just sayin').   In the end I'm just thinking if there was a way to clean up the back log on this, or how to prevent more posts of this sort in the future, even with a title filter in place if it has to be.


(1) I want to work in a small company.  (2) I want to work at a small company.  (3) I want to work for a small company.  (4) I want to work with a small company.  What are the connotations given by these prepositions?

Are these sentences correct? If so, what do they mean?  I am working in IBM.  I am working for IBM.  I am working with IBM.  I am working at IBM.


I'd like to know if $x\in y \land y\in x$ is possible under the ZFC set theory.  I appreciate any help!

When I study Topology, I met with a problem. On my book, it says 'we cannot admit that there exists a set whose members are all the topological spaces. That will lead to a logical contradiction, that there will be a set who is a member of itself.' But why we cannot have a set who is a member of itself?


Does Facebook have a function to "clean" the profile, meaning delete for example all posts (or all older than 5 years), but keep the friendlist? Something like "delete your profile", but only for parts of it, so that one could delete all these 7 years old posts (or all of them altogether), while keeping the friendlist and profile pictures.

I'm trying to clean my Facebook profile's Timeline, but I don't like the idea of going through them all posts and delete one by one.  Is there any tool, option or something that I'm missing, that allows you to delete multiple posts simultaneously?     Note: I'm talking about Timeline posts, not a Facebook Page as I found  mentioning that


I want to make something in Minecraft with security doors but I can’t find out how to locate a specific item in a players inventory shulker box, ender chest, or hand. I need assistance to find the correct command for pocket edition.

I am trying to create a challenge world where a certain item (e.g. a Netherite Sword) must be collected. How can I check automatically if a player has it (using commands), and then congratulate the winner? This question is specific to Bedrock Edition 1.16. I have tried other solutions so many times and they don't seem to work. See also:


As a new user to a specific community, I was asking a question. However, I was not able to add the specific topic tags I wanted to as they did not exist yet, and being a new member of that community I didn't have anywhere near the rep needed to create a tag.   Would it be an idea to allow new members of a community to "request" a tag to be temporarily created for them if no other similar tag exists, then that moderators check to see if these tags are relevant or not, and then approve or disapprove the temporarily created tags?  For this idea it may also be necessary to create a tag "blacklist" that irrelevant tags to certain communities can be added to, so that if someone would try to create this they would automatically be denied.

Possible Duplicate:          I do not have sufficient reputation on any site to create new tags, but I do on occasion find myself in need of a tag that does not exists.  Is there a feature that allows for a person with sub-1500 reputation to request a new tag?


I'm runnning some tests (very basic, nothing fancy) in order to check performance on Java 8 streams and lambdas. Using an ArrayList of 10 million POJOS, all I want to do is get the average value of a BigDecimal field. In order to take more than one sample, I run the process five times, and to my surprise the first of those five runs is extremely slower than the rest. I'm getting values like 0.38 seconds the first time, and 0.04 seconds on the other four. This is 10x faster!!! I also did the same test using old school for(Pojo p : pojos) with similar results. Why is this happening, and how can I take advantage of it? The code I'm using is:  for (int i = 0; i < 5; i++) {     long init = System.nanoTime();     BigDecimal sum = lista.parallelStream().map(x -> x.getCosto()).reduce(BigDecimal.ZERO, BigDecimal::add);     BigDecimal avg = sum.divide(BigDecimal.valueOf(registros));     long end = System.nanoTime();     System.out.println("End of processing: " + avg + " in "             + ((end - init) / 1000000000.0) + " seconds."); }

How do you write (and run) a correct micro-benchmark in Java?  I'm looking for some code samples and comments illustrating various things to think about.  Example: Should the benchmark measure time/iteration or iterations/time, and why?  Related:


In my application i want to select image from gallery and compress it. For compress i use this library :   I wrote below codes for it, but when i run the application and select image from gallery, it throws force close  and show below errors in logCat :   My activity codes :       @Override     public void onActivityResult(int requestCode, int resultCode, Intent data) {         super.onActivityResult(requestCode, resultCode, data);         if (resultCode == RESULT_OK) {             if (requestCode == REQUEST_TAKE_PHOTO || requestCode == REQUEST_PICK_PHOTO) {                 if (data != null) {                     // Get the Image from data                     Uri selectedImage = data.getData();                     String[] filePathColumn = {MediaStore.Images.Media.DATA};                      Cursor cursor = getActivity().getContentResolver().query(selectedImage, filePathColumn, null, null, null);                     assert cursor != null;                     cursor.moveToFirst();                      int columnIndex = cursor.getColumnIndex(filePathColumn[0]);                     mediaPath = cursor.getString(columnIndex);                     cursor.close();                      postPath = mediaPath;                     uploadImageToServer(postPath);                 }              }         } else if (resultCode != RESULT_CANCELED) {         }     } }     private void uploadImageToServer(String imagePath) {         if (imagePath == null || imagePath.equals("")) {             return;         } else {             showpDialog();             Map<String, RequestBody> map = new HashMap<>();             File file = new File(imagePath);             try {                 compressedImage = new Compressor(getActivity())                         .setMaxWidth(2000)                         .setMaxHeight(1400)                         .setQuality(90)                         .setCompressFormat(Bitmap.CompressFormat.JPEG)                         .setDestinationDirectoryPath(Environment.getExternalStoragePublicDirectory(                                 Environment.DIRECTORY_PICTURES).getAbsolutePath())                         .compressToFile(file);             } catch (IOException e) {                 e.printStackTrace();             } }   LogCat error :   Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference                                                                        at id.zelory.compressor.ImageUtil.decodeSampledBitmapFromFile(ImageUtil.java:70)                                                                        at id.zelory.compressor.ImageUtil.compressImage(ImageUtil.java:33)                                                                        at id.zelory.compressor.Compressor.compressToFile(Compressor.java:60)                                                                        at id.zelory.compressor.Compressor.compressToFile(Compressor.java:56)                                                                        at com.app.android.Fragments.NewAddressFragment.uploadImageToServer(NewAddressFragment.java:486)                                                                        at com.app.android.Fragments.NewAddressFragment.onActivityResult(NewAddressFragment.java:353)                                                                        at android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:156)                                                                        at android.app.Activity.dispatchActivityResult(Activity.java:7295)   Show error for this line : .compressToFile(file);  UPDATE : show this error just for some images no all images! How can i fix it? please help me

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I am looking for the name of this series.   It starts with an intelligent ship and a crew of engineers that get a planet ready for colonization. After all of the engineers die the ship remains in space and watches the humans that were seeded on the planet. The humans on the planet know nothing of technology and come up with their own religions and customs similar to medieval times on Earth.   The book starts out as scifi but kind of descends into a fantasy series sprinkled with scifi.

Shortly before his death, my father spoke to me about a series of novels that he had just finished reading which had a fascinating concept.  However I soon forgot the title(s) and author and I've been absolutely desperate to find out what they were.  The premise (as I understood) was that humanity had expanded out from the solar system into the local star systems before coming into contact with an incredibly aggressive species which was focused on wiping out the entire species.  Earth and her colonies were lost as remnants of the species fled.  Eventually it was decided by the military leadership to set up a colony in order to rebuild the human race.  However, in order for this colony to escape detection and to keep humanity from going back out into space and thus potentially running into this hostile alien race again, a series of satellites were set up around the planet chosen that would lock onto and destroy any form of technology (and usually the surrounding city) that went beyond pre-industrial standards.    One of the series protagonist is a long living android who possesses the consciousness of a human who was present at the original founding of the colony (and who seems shielded from detection) which observes as civilization is repeatedly regrown and torn down again and who attempts to try and reverse humanities self imposed lot in life.      From what I understood this was a series of novels, but I could be wrong. I've been trying to find this for years on my own with only a rough plot line as a guide and it's gotten me nowhere.


We have a very old site with lots and lots of content. We are considering changing our URL because the current URL was a vanity URL and does not represent the company in its current form. How

I'm refactoring my ASP.net application from ASP.net 3.5 to 4.0. Also I'm changing the URLs to user friendly URLs /product.aspx?id=100 to /product-name/100.  All my pages are indexed by search engines and the site has already been online for 6 years. I'm planning to do 301 redirect from the old pages to the new one.  I want to make sure I won't lose the rankings and traffic.  Any suggestion how to do it properly?


In Ubuntu 16.04, kworker has a very high CPU usage. It is almost 80% all time and the fan runs at high speed and makes a loud noise. I do all commands in this  but that wasn't useful. Now what I do?

I recently upgraded to the Kubuntu Natty Beta 1 and I've been having a lot of issues with the process kworker. At moments it uses almost half my CPU. Also, strangely enough it seems to affect my USB ports; whenever I plug in an USB drive, the process kworker goes into hyperdrive, leaving me unable to work.  I have thought about filing a bug but since I haven't even found any reasonable explanation on what kworker is I figured I should find out first.


When I read about the expanding universe and inflation I often see pictures like this:    (Source: )   or explanation like this:     For getting an idea of space expansion you have to imagine a cubic grid throughout the whole space where the grid/ the number of cubes does not change, but each cube is increasing in size. It is similar to a sort of "stretching" of the size of the cubes.   (Source: )  My question is this: These descriptions only make sense if you assume a space around the universe which serves a frame of reference for measuring the expansion. In the picture from Wikipedia the expansion takes place with reference to the black background of the image. In the example with the expanding grid there has to be some kind of meta space around the cubes to have a frame of reference for measuring the expansion. An observer within the cubes cannot measure the expansion, as his frame of reference grows at the same time.   To my knowledge at the Big Bang both space and time have been created, so in my understanding there is no meta space which could be used as a frame of reference to measure inflation or an expanding universe.   How can I reconcile the concepts of an expanding universe / inflation without having to assme a meta space within which this expansion takes place?  FYI: I'm not a physicist, so please bear with me if this a noobie question.

If the universe is expanding, what is it expanding into? When the big bang happened where did it occur?  When the big bang happened how did it occur?  Where did the energy come from? Energy can not be created or destroyed does that mean, energy has existed before the universe was here?


In TeX/LaTeX's default mode, there is extra space after sentence-ending periods, which needs to be suppressed with \@. when TeX would mistakenly treat it as ending a sentence, as in Mr\@. Bean. While \frenchspacing eliminates the (nominally) double space between sentences, I wonder if sentence-ending periods are nevertheless treated differently from abbreviation periods (e.g., when stretching spaces, computing penalties, or whatever).   In other words: If I use \frenchspacing (and will never format my text without it), is there any point to writing \@.?

After reading  about spacing and punctuation, I was left wondering about an issue that didn't seem to be addressed: using \frenchspacing together with the modified punctuation \@., \@?, etc.  As far as I can tell visually, using \frenchspacing together with these commands works correctly (i.e., it seems like nothing breaks, and the extra space is suppressed as normal), but are there problems that can arise from doing so?   Moreover, when using \frenchspacing, "should" I still use \@. and its friends where it would ordinarily be necessary, in case someone wants to remove \frenchspacing later? Would accommodating (hypothetical) future editors in this way be "standard", "above and beyond the call of duty", or "crazy"?


The letter g at the end of a path entry in either Terminal or iTerm2 is being captured and processed - I think by bash.  Here is what typing cd /git/ciderg looks like:  Notice the g is not typed.  If I type ESC it does show:  But if I hit g again it looks like some kind of history editing happens: a command from way long ago is posted and replaces the command I was typing It seems that gg is being something like History | Go to beginning .  How do I disable that? I had already removed the ~/.vimrc  and ~/.vim directory.  I do use set -o vi but that had been working for years - and without this strangeness.

Every time I type it the terminal flashes but doesn't insert it. If I paste in a command that has a [ it will paste everything except the ['s  This has been happening before I updated to 10.11, but has become a massive issue, I can't use jq at all because of it.  I also have the same issue with iTerm2.


There was a series of novels about humans fighting against machines where one of the characters had the ability to take the place of other humans by dissolving them and taking their place.  At one point, a human controlled ship took out a machine ship by catching it in some kind of scoop used to convert matter into energy.

It was a series of 3 or 4 books.  The crew of a ship were on a mission to recover something ( rings I think) from different planets.  Humans had been genetically altered to live on each planet.  Volunteers were permanently altered to blend in on the planet to complete their missions.


Having different types of capacitors (electrolytic, film, silicon, tantalum, etc.), which types would be the optimal choice for polar/non-polar pair in this common configuration:    I understand the reason for having two or more caps of different capacitance values. Though wonder, why does the pair includes a polar and a non-polar capacitor? Is it essential to include a polar capacitor, or it's OK to use two non-polar caps?  The application is for bypassing power supply for opAmps, ADCs, DACs, microcontrollers, and other low power ICs up to 100MHz bandwith. I know that electrolytic ones would be too big for surface mounting apps.

I've seen some circuits where a decoupling capacitor is used as well as a reservoir capacitor, like this (C4 and C5):    I've read about  and for me it looks as if they are meant to remove small fluctuations in the supply voltage. Then I thought - wasn't that the purpose of a  as well? Why wouldn't the reservoir capacitor be able to filter out the small fluctuations, if it is able to filter out the large fluctuations?  So I feel like I have a basic misunderstanding here. What is the purpose of a decoupling capacitor next to a reservoir capacitor, when we assume we place both equally near to the power consuming part? Or is the only advantage of the decoupling capacitor that it is smaller and can therefore be easily placed more near to the power consuming part?


I am trying to add random values to an array. The user has to say how many values (length) and give the minval and maxval (e.x. minval = 3 means no values under 3). This is what I've got:   int[] GetallenArray;  public IntegerArray(int length, int maxval, int minval) {      this.GetallenArray = new int[length];     for (int i = 0; i < GetallenArray.length; i++)     {         this.GetallenArray[i] = // Random values between the maxval and minval     } }

How do I generate a random int value in a specific range? I have tried the following, but those do not work: Attempt 1: randomNum = minimum + (int)(Math.random() * maximum);  Bug: randomNum can be bigger than maximum. Attempt 2: Random rn = new Random(); int n = maximum - minimum + 1; int i = rn.nextInt() % n; randomNum =  minimum + i;  Bug: randomNum can be smaller than minimum.


I am a Ghanaian travelling on Turkish Airlines from Nigeria to Singapore. There is a long layover from 6am to 1am before boarding my next flight.    Do I need to acquire a transit visa before I can  board Turkish Airlines?

I have an Indian passport and am planning to visit Germany with a valid visa. To book a flight for Germany (Mumbai – Dusseldorf), I came across some connected flights that stop at Istanbul.  Do I need to have visa for Turkey?  This is the first time I am travelling outside my country, and any information on this will be helpful.


The active voice is Will she tell us the truth ?  The passive voice has two options  Will the truth be told to us by her ?  Or  Will the truth be told us by her ?  I.e. will "to" follow us in passive voice. It feels right to include to in passive voice.  Is this also correct?  Will the truth be told by her?  Can we ommit "us" assuming that this is directed to people referred as "us"

What is the passive voice of the following sentence?     My friend gave me this book.   Is it:     I was given this book by my friend.   or     This book was given to me by my friend.


For example if a body in motion experiences time dilation, why does it see a body at rest slow down relative to it? wouldn't it make more sense if the body at rest has a faster clock relative to it?

I just have a quick question about time dilation/proper time because my physics book makes it a little confusing. Let's say we have an observer on Earth, and then an observer on a space ship. The space ship leaves Earth, flies to the Moon, and then returns to Earth. Who is the person measuring the proper time and why? I know that a clock "runs slower" when it is in motion because it is in frame S' which is the rest frame of the clock, but doesn't the observer on Earth also have a clock that is in it's rest frame?


A queen dominates any square on a chessboard in the same row, column, or diagonal as the queen. How few queens can dominate all squares on an 8 by 8 chessboard?  I don't know how to start. Thanks

A homework problem asks     What is the minimum number of queens to reach all squares on a $8 \times 8$ chess board?   We are expected to solve this by somehow casting the problem as a graph problem (e.g. Minimum Spanning Tree, Vertex Cover, Independent Set, ...)  How would you reduce this problem to a graph problem, and which graph problem is the most straightforward to reduce this to?  (My first try at this problem was to reason that the number of different squares that a queen can reach is at most $\small 8 + (8-1) + (8-1) + (7-1) = 28$. This is from assuming $8 \times 8$ squares and choosing to place the queen at one of the $4$ center squares. I don't know if this approach can lead to a solution.)


I was watching Growing pains TV shows, one scene is that Carol is watching a show called "the sturgeons of Pitt Street", and her mom was watching too and asked Carol "why is the butler on all fours? " then Carol answered the family dog died, and they didn't have the heart to tell their grandma.   I don't understand why Carol's mother ask "why is the butler on all fours? " and the meaning of it. Anyone could help? Thanks.   Ref: it is from Growing pains TV shows, first season，5th episode."super dad".

Immediately, his insides started writhing as though he'd just swallowed live snakes -- doubled up, he wondered whether he was going to be sick -- then a burning sensation spread rapidly form his stomach to the very ends of his fingers and toes -- next, bringing him gasping to all fours, came to a horrible melting feeling, as the skin all over his body bubbled like hot wax -- and before their eyes, his hands began to grow, the fingers thickened, the knuckles were bulging like bolts -- his shoulders stretched painfully and a prickling on his forehead told him that his hair was creeping down toward his eyebrows -- his robes ripped as his chest expanded like a barrel bursting its hoops -- his feet were agony in shoes four sizes too small      Harry potter and the chamber of secrets   It is the description of the feeling of drinking Polyjuice Potion, which makes someone into a different person, from the point of view of Harry Potter turning into Gregory Goyle.  And I don't understand what 'bring him gasping to all fours' means, especially 'four'. Does four here mean number 4?


If $u$ is harmonic and bounded in $0<\lvert z \rvert< \rho$, show that $u$ becomes harmonic in $\lvert z \rvert< \rho$ when $u(0)$ is properly defined.   What I was thinking so far is that so long as $u$ is harmonic in an annulus, the arithmetic mean on concentric circles is a linear function of $\log \lvert z \rvert$: $$\frac{1}{2\pi}\int_{C_{r}(z_{0})} u(z)\,dz = \alpha\log r + \beta.$$ But since $u$ is bounded, the left side stays bounded as $r \to 0$, and it must be that $\alpha = 0$.  Then $\beta = \lim_{z \rightarrow 0} u(z)$ and $\beta$ is the desired $u(0)$.  However, I'm not entirely sure how to show that $\beta$ exists, $u$ is continuous at $0$ with $u(0) = \beta$, or that the resulting $u$ is harmonic.  I was also considering using an argument similar to one used in the characterization of removable singularities, in which Cauchy's integral formula remains valid except at each of finitely many points where the function is not analytic.  But the mean value property isn't quite as powerful as Cauchy's integral formula.  (Studying for qualifiers, problem is from Ahlfors)

This is a reworking of a previous question  which was marked as a duplicate. Some nice folks have referred me to solutions to similar problems. I still have a couple of questions, since one of the solutions used the Poisson kernel, which is not the desired solution in the text, because the Poisson kernel has not been introduced yet. The other solutions were for problems that were similar, but whose solutions were only partially applicable, as I understand them.  I'm working on a problem from p. 166 of Lars Ahlfors' Complex Analysis:     If $u$ is harmonic and bounded in $0 < |z| < \rho$, show that the origin is a removable singularity in the sense that $u$ becomes harmonic in $|z|<\rho$ when $u(0)$ is properly defined.   My Solution So Far:   Here's what I've got for a non-Poisson kernel solution: We want to find a harmonic conjugate for $u$ in the punctured disk, and then we can apply big Picard to show that $0$ is a removable singularity. The problem is that the punctured disc is not simply connected.   If we take $\sigma = (u \circ \exp)(z): L \to \mathbb{C}$, where $L$ is the left half-plane, now we have $\sigma$ harmonic, and defined in a simply connected set $L$, so it has a harmonic conjugate $\tau$. Now we wish to take $v = (\tau \circ \log):\{0 < |z| < \rho\}\to \mathbb{C}$, but in order to do so we need $\tau$ to be $2\pi i$-periodic. This is where my proof breaks down.  One of the similar problems which readers referred me to used the following strategy: note that since $\sigma$ is $2\pi i$-periodic, and $\sigma, \tau$ satisfy the Cauchy-Riemann equations, we have that $\nabla\tau(z) = \nabla\tau(z + 2 \pi i)$ for all $z\in L$, or in other words, $\tau(z) - \tau(z+2\pi i)$ is a constant function, say, equal to $\alpha \in \mathbb{R}$. Then, the solution suggests, we can set $$g(z) = u + iv - \frac{c}{2\pi}z,$$  in order to make $g$ $2\pi i$-periodic, and then we can use $(g\circ \log)$ on $\{0 < |z| < \rho\}$. But the reason why this won't work for my purposes is: now we have changed $u$! On the other hand, we can't simply subtract $\frac{c}{2\pi}\Im{(z)}$, and try to leave $u$ untouched, because now $g$ is not analytic. How can we get around this?  Another strategy entirely might be to try to use the mean-value property. Ahlfors discusses that a lot in the preceding section, and his main example is the punctured disc. Since $u$ is harmonic, we know that the average over circles centered at zero is a constant...


I am a programming beginner and I was experimenting a bit with functions. I have two variables (integer) and a self-created function that adds 1 to the variable. I wanted to run the function in a while loop in which the function should keep adding 1 to the variables until one of them has reached a certain number, but it ends in an endless loop that only uses the functions once. What is my mistake? aa = 2 bb = 5  def test(aa, bb):     aa = aa + 1     bb = bb + 1     return aa, bb  while aa < 6:     test(aa, bb)  print(aa, bb)

What exactly are the Python scoping rules?  If I have some code:  code1 class Foo:    code2    def spam.....       code3       for code4..:        code5        x()   Where is x found?  Some possible choices include the list below:   In the enclosing source file In the class namespace In the function definition In the for loop index variable Inside the for loop   Also there is the context during execution, when the function spam is passed somewhere else. And maybe  pass a bit differently?  There must be a simple reference or algorithm somewhere.  It's a confusing world for intermediate Python programmers.


Is pressure below vacuum which is zero possible? If yes, please explain how because I can't think how is that possible because in vacuum there are no molecules and how can we achieve something below that?

How is negative pressure created in a fluid system?Isn't it counter intuitive that we are reducing the pressure of a system containing no molecules(zero pressure) to a lower value?


I am trying to recreate this emboss effect:  I've tried doing so through displacement nodes and I'm not seeing a good result. I've rendered two images with different approaches and still looks the same   Some existing answers are outdated and not specific.

After I have found this website  it was quite easy for me to generate something similar with my own business card design.  However, it is quite flat. And it would be really cool to have something more like this:    Is it possible to give the a plane with a texture such a "pressed effect"?


I am new to Java. I want to know what it is the use of public constructor in a private class. Private class inside the class can be initialized from the same class then what it is the use to make the constructor of private class to public?  public class MainActivity extends Activity {      private class AcceptThread extends Thread {         public AcceptThread() {          }     } }

I think in this case there is no need to declare a public constructor since the class is not accessible outside the package anyway. But is there some hidden impact when the class has only package private constructor?


I'm interested in evaluating the following integral  $$\mathcal{J} = \int_{0}^{\infty}\frac{\sum_{k=1}^{\infty}k\sin(kx)\,e^{-tk^2}}{\sum_{k=1}^{\infty}\cos(kx)\,e^{-tk^2}} \, \mathrm{d}t$$  I think I've seen this before somewhere. Inverse Fourier? However, I do not remember where I've seen it and I do not have any starting point to begin cracking it.   The answer is supposed to be $\displaystyle \frac{\pi^2 ( \pi - x )}{8}$ for $0<x<2\pi$.

This  is my problem, true or false?  prove that:   $$\int_{0}^{\infty}\frac{\displaystyle{\sum_{k=1}^{\infty}}k\sin(kx)\,e^{-tk^2}}{\displaystyle{\sum_{k=1}^{\infty}}\cos(kx)\,e^{-tk^2}}dt=\frac{\pi^2({\pi-x})}{8}$$ and $0<x<\dfrac{\pi}{2}$  Thank you.


I would like to ask for a help. I've recently fell in love with analog photography. My grandfather gave me these cameras: Werra with Tessar (2,8/50) Lens and Praktica PL nova 1 with Oreston 1,8/50 lens. I tried to take photos with them but I found out that analog photography is an expensive business these days. So I wondered if it is possible to attach these lenses to my Canon EOS 450D camera. I found out that they are selling Tessar with canon special eos bayonette on ebay, but I would rather buy only the bayonette/adapter and mod it by myself.  Could anyone please tell me which types (or models) of adapters would suit for my Canon EOS / vintage lenses?

I've got some lenses of brand X, but I've just got a new camera of brand Y. How can I tell if it's possible to use my lenses on my camera? I accept that I may lose a lot of automatic functionality like autofocus, aperture control and metering when using an adapter to connect the two.


Often times chatrooms can get overrun by oneboxes. Room owners and mods can move irrelevant oneboxes to a bin but sometimes these messages are relevant and shouldn't be binned.  It would be really great if there was a way to minimize them client-side with the ability to maximize them if needed.  This will be incredibly helpful for things like  that, quite frankly, can be huge.  Take the following screenshot for example:    Minimizing the first youtube onebox could look something like this:   Related:   inb4 duplicate: I am not suggesting we make them smaller by default, I am requesting a feature to completely minimize them onclick and not change default settings

I spend a lot of time in SF chat. We like to post a lot of pictures in chat. They're usually not offensive or anything, and 90% of the time they're funny and relevant.  That said, there are times when it would be nice to be able to hide or collapse a chat message. Sometimes it's an image or an animated gif that's annoying/distracting, or sometimes there's text that isn't offensive, but I don't necessarily want it on my screen.  Can we have an option that allows individual messages to be hidden from view?


How does one create the symbol for EMF (electromotive force) used in physics for a LaTeX document? It is like \varepsilon but uppercased.

could anyone please tell me how I can write "ℰ" in latex in both text and math enviroment? I have already tried $\mathscr{E}$ and $\mathcal{E}$, but none of those are satisfying.   What I want to have is     but not any of these


Is there any DC comic or any other authoritative source that states/lists the various science & engineering qualifications that Batman has?   EDIT:  I see that this question is on hold. However, please note that this question is not a duplicate. A question similar to this was asked previously but it did not specifically ask for the Batman's engineering & science qualifications.Consequently the answers did not address this topic( Batman's engineering & science qualifications) either.

I think it's safe to say that Bruce Wayne (being the secret identity of Batman) is a master in numerous skills and abilities, just to name a few:   Martial Arts Intelligence Stealth & disguise Scientific/technological know-how etc.   Brilliant stuff. But is he actually certified in anything? Did he go to college/university and graduate?


I write in my preable the following code:  \usepackage[a4paper, inner=1.5cm, outer=3cm, top=2cm, bottom=3cm, bindingoffset=1cm]{geometry} \usepackage[onehalfspacing]{setspace} \renewcommand{\figurename}{Grapheme} \renewcommand{\listfigurename}{List of Graphemes} \renewcommand{\tablename}{Tables} \renewcommand{\listtablename}{List of Tables}  \begin{document} \tableofcontents \listoffigures \listoftables \chapter{Introduction}   but when I scroll to the List of Graphemes in my PDF it still says List of Figures.  Why is this happening?  I want it to be saying "List of Graphemes"  I'm using Kile 2.1 in Linux mint.

I'd like to modify the names used to typeset some of my document elements. For example, the caption of figure floats should change from "Figure" to "Fig.", and my \tableofcontents sectioning heading shouldn't read "Contents", but "Table of Contents". How can I do that?  \documentclass{article} % \usepackage[english]{babel} \begin{document} \tableofcontents \section{foo} \begin{figure}[h] \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure} \end{document}


I would like to watch Love, Chunibyo & Other Delusions, but I'm not sure where to start.  What is the watching order of the series?

Now I noticed that this question has been slightly answered before but for absolute clarity, I need to know.  I came across these titles.    Chuunibyou demo Koi ga Shitai! Chuunibyou demo Koi ga Shitai! Lite Chuunibyou demo Koi ga Shitai! Ren Chuunibyou demo Koi ga Shitai! Ren Lite Chuunibyou demo Koi ga Shitai! Ren Specials Chuunibyou demo Koi ga Shitai! Ren: The Rikka Wars Chuunibyou demo Koi ga Shitai! The Movie Lite   Now because of my lack of knowledge as far as OVAs, ONAs, base series, and movies go in the anime genre exactly what is the chronological order of this list? And is it missing any titles from this series?  Oh, and I just finished the first season and if anything I know that I am supposed to watch the first lite series next right? Then the movie? (Ren specials and Rikka Wars, what order are these in?)


I have managed to download a zipped shapefile from geoserver but now I want to be able to download part of the layer in a shapefile. This is what I did in order to download the whole layer as shapefile:  http://localhost:8080/geoserver/wfs?format_options=charset%3AUTF-8&typename=something%3layer_1&outputFormat=SHAPE-ZIP&version=1.0.0&service=WFS&request=GetFeature   I have also managed to apply a single CQL filter based on the answer of   How can I apply multiple CQL filters in the same URL? I read  that I need to encode the 'and' string in the CQL part of the URL. Is there an example illustrating this?

I'm trying to use PHP's CURL function to fetch geoJSON information from a GeoServer instance. I'm doing this using url variables rather than trying to construct a full xml GetFeature request.  However, I would like to be able to get a subset of the results based on some of the property fields' contents.  So, while I can get all of the results using this url:    can I also limit the results to "Where field LIKE value" or "field = value"?  I've spent an hour trawling through the Geoserver/ECQL documentation and none of it clearly states "append the functions to your URL in this format". As a result, I'm not clear if it's possible to use url variables to perform these tasks, but some people seem to suggest that it is.  Can anyone help with a clear example of a working filter using GeoServer's WFS with URL parameters?


when i read the book of neural networks and deep learning at  chapter 5 (the URL is, )i have encounter a problem to try to resolve the problem .  when we training the deep  neural network ,the vanishing gradient problem is often encountered. so we need to  adjust the w(weight) parameter to fit the problem,but what's the scope of w.intuitive ,the larger w is ,the problem fit better. but the w is related with the  $\sigma'(z) = \sigma'(wa +b)$,when w is larger,the value of  $\sigma'(z) = \sigma'(wa +b)$ is smaller(  the activity function is sigmod $\sigma(x)=\frac{1}{1+e^{-x}}$ and $\sigma'(x) =\sigma(x)(1-\sigma(x))$  ),and the product $|w   \sigma'(wa+b)|$ is changing to bigger or smaller, we do not know so we need to calculate the scope of w,so that make sure with a larger w , the product also become larger ,only with that we can solve the vanishing gradient problem .  the question's content is  Consider the product$ |w \sigma'(wa+b)|$. Suppose $|wσ′(wa+b)|≥1$. (1) Argue that this can only ever occur if $|w|≥4$. (2) Supposing that $|w|≥4$, consider the set of input activations a for which $|wσ′(wa+b)|≥1$. Show that the set of a satisfying that constraint can range over an interval no greater in width than \begin{eqnarray}     \frac{2}{|w|} \ln\left( \frac{|w|(1+\sqrt{1-4/|w|})}{2}-1\right).   \tag{123}\end{eqnarray} (3) Show numerically that the above expression bounding the width of the range is greatest at $|w|≈6.9$, where it takes a value $≈0.45$. And so even given that everything lines up just perfectly, we still have a fairly narrow range of input activations which can avoid the vanishing gradient problem.  Although it has related the deep learning ,but I know this is only a mathematical problems, the only need to do is solving equations and the inequation . due to my level of math, i can't  solve this problem ,can somebody help me to solve the problem . thanks very much.  and i have another problem can the inequation and the equation in this problem solved by MATLAB?

Consider the product $\left|w\sigma'(wa+b)\right|$, where $\sigma(x) = \frac{1}{1+e^{-x}}$. Suppose that $|w| \geq 4$, and $|w\sigma'(wa+b)|\geq 1$. Show that the set of $a$ satisfying that constraint can range over an interval no greater in width than  $$\frac{2}{|w|}\ln\Bigg( \frac{|w|(1+\sqrt{1−4/|w|}}{2}−1\Bigg).$$  Not quite sure where to start, I tried to work with the original equation:  $$e^{wa+b}/\left(e^{wa+b}+1\right)^2 \geq 1/|w| \implies wa+b - 2\ln\left(e^{wa+b}+1\right) \geq -\ln(w).$$  However, this doesn't seem to be going anywhere, and I'm just not sure how to go about finding the width of an $\textit{interval}$. Appreciate any suggestions/solutions, thanks!


I go through the posts on this issue on Stack Overflow, but nothing really works for me. I have the following CSS code to vertically align checkbox / label pair:  body {     font-family: "lucida grande",tahoma,verdana,arial,sans-serif;     font-size: 11px;     margin: 0;     padding: 0; }  fieldset {     line-height: 100%; }  label {     display: inline-block;     vertical-align: baseline; }   The full HTML code is .  Checkbox / label pairs are vertically centered correctly in Safari (5.0.3) and Firefox (3.6.13) under Mac OS X. On Chrome (Mac OS X) checkboxes are rendered slightly to the top. On Windows OS checkboxes and associate labels are aligned to the bottom (consistently across different browsers: Firefox, Safari, Chrome, and Internet Explorer 8).  Could somebody please explain me why this differences between browsers / OS happens (and also how to avoid them)?  Update  The hack to vertically align checkbox with label in Chrome under Mac is as follows:  input[type=checkbox] {     position: relative;     top: 1px; }   Now need to implement OS and browser specific conditionals...

This is one of the minor CSS problems that plague me constantly. How do folks around Stack Overflow vertically align checkboxes and their labels consistently cross-browser? Whenever I align them correctly in Safari (usually using vertical-align: baseline on the input), they're completely off in Firefox and IE. Fix it in Firefox, and Safari and IE are inevitably messed up. I waste time on this every time I code a form. Here's the standard code that I work with:   <form>     <div>         <label><input type="checkbox" /> Label text</label>     </div> </form>    I usually use Eric Meyer's reset, so form elements are relatively clean of overrides. Looking forward to any tips or tricks that you have to offer!


Is it possible or has some one devised a way where we can update old nokia phone like nokia 6630 to android OS?

Many people want to try/use Android without buying a new Android phone.  How can I install Android on my current phone or device running Nokia Symbian, Maemo, or MeeGo; Microsoft Windows Mobile or Windows Phone 7/8/10; Apple iOS (iPhone); RIM's BlackBerry OS; Palm's WebOS; Samsung's Bada; HP's WebOS; Mozilla's Firefox OS; or other phone / operating system?


Which of the numerous WMD editors are used on Stack Overflow?  When I Google SO and WMD Editor there are several results linking to several different forks. What I've found so far are:   : Appears to not have been updated in 3 years, so guessing no. : Same as #1 : Was recently updated a few days ago : Hasn't been updated for a few months : Updated recently, but nothing related to WMD   Side note, most of the questions related to this topic, on MSO, date back to 2008-2010.  Some clarification would be great.

Where is the open source project for the WMD editor used on this site?


I have three screens, 1, 2, 3.  When I use the mouse and am on the most left screen 1 and want to get to screen 3, I have to move all the way right through to screen 2 in order to get to screen 3.  I rather just move my mouse to the left border so that it comes out directly at the right border of screen 3. Currently, those outer borders stop mouse movement altogether.  So instead of my monitors to form a plane, I want them to connect like the surface of a cylinder.  Is there a way to achieve this using gnome-shell?

If I have to move the mouse from the left screen all the way to the right screen, the distance is quite big.   Is there a way to virtually connect the sides of the screen as if they were arranged in a circle? I could then move from the left screen to the right screen, by simply moving the cursor to the left.


I have a Sample.jar in my build path which contains only an excel file abc.xls under src. How do I read this into a FileInputStream in my java application?  Also, I have to deliver my project as a jar. This jar must be able to read the excel file present in Sample.jar.

I'm trying to access an XML file within a jar file, from a separate jar that's running as a desktop application.  I can get the URL to the file I need, but when I pass that to a FileReader (as a String) I get a FileNotFoundException saying "The file name, directory name, or volume label syntax is incorrect."  As a point of reference, I have no trouble reading image resources from the same jar, passing the URL to an ImageIcon constructor.  This seems to indicate that the method I'm using to get the URL is correct.  URL url = getClass().getResource("/xxx/xxx/xxx/services.xml"); ServicesLoader jsl = new ServicesLoader( url.toString() );   Inside the ServicesLoader class I have   XMLReader xr = XMLReaderFactory.createXMLReader(); xr.setContentHandler( this ); xr.setErrorHandler( this ); xr.parse( new InputSource( new FileReader( filename )));   What's wrong with using this technique to read the XML file?


In Logan (2017), Wolverine say these words to himself when burying Professor X:     It's got water, and... It's got water.   Why does he say that?

I couldn't make out what the exact words were in the following scene from Logan and would like to ask if anybody can explain it to me.      After burying Professor Xavier, Logan tries to deliver a eulogy but chokes up with emotion/grief.   Was it intended that the audience can't tell what exactly he's trying to say?


How come in the first code block of  there is no @Override annotation on run()? - run() is an abstract method:  handler = new Handler();  final Runnable r = new Runnable() {     public void run() {         tv.append("Hello World");         handler.postDelayed(this, 1000);     } };  handler.postDelayed(r, 1000);   Compare this to my Android onCheckedChanged function which is also an abstract method:  currentlocation.setOnCheckedChangeListener(object: RadioGroup.OnCheckedChangeListener{     override fun onCheckedChanged(group: RadioGroup?, checkedId: Int) {      }  })   which has to have the override modifier (note: that's kotlin code but same principles apply).  How come the 2nd the 2nd code block needs to have the override keyword but the first doesn't?

What are the best practices for using Java's @Override annotation and why?     It seems like it would be overkill to mark every single overridden method with the @Override annotation.   Are there certain programming situations that call for using the @Override and others that should never use the @Override?


When ever I try to update, I get this message:  W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/multiverse/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/restricted/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/universe/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/multiverse/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch cdrom://Ubuntu-GNOME 13.10 _Saucy Salamander_ - Release amd64 (20131017)/dists/saucy/universe/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found W:Failed to fetch http://ppa.launchpad.net/tualatrix/ppa/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found E:Some index files failed to download. They have been ignored, or old ones used instead.   Though i have internet connection. What would be the problem?

When updating I got this error message:  W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs W:Failed to fetch http://ppa.launchpad.net/synce/ubuntu/dists/your_ubuntu_version/main/source/Sources  404  Not Found   What to do?


I suspect I misunderstood some basic concept of packages in Java. Here is my hierarchy of the project:   Application (class with main) Option (class) Algorithm (Package)   PreProcessOptions (class) GenerateImage (class)    Now, I would like that PreProcessOptions class will use Option class, to get all necessary data, but my IDE cannot find the class.  Any explanations?  Thanks.

I'm working now together with others in a grails project. I have to write some Java-classes. But I need access to an searchable object created with groovy. It seems, that this object has to be placed in the default-package.   My question is: Is there a way to access this object in the default-package from a Java-class in a named package?


There was already a  but it is not answered yet and doesn't provide the necessary information for this case... I want to cut a raster with a polygon. The raster is stored in tiles in the PostGIS database, as is the polygon.  To find out the overlapping areas I wanted to use ST_Clip or ST_Intersection. Since the raster is stored in tiles and no empty raster should be returned, I want to join the tiles of the raster with ST_Union first and then apply ST_Clip or ST_Intersection. The problem is that there is not enough information on the PostGIS website about the syntax of these functions or about further necessary steps. Version 1: SELECT ST_SetSRID(ST_Clip (ST_Union(landcover_raster.rast), polygon.geom),3035)  FROM landcover_raster, polygon;  Version 2: WITH raster_together AS( ST_Union (rast) FROM landcover_raster)  SELECT ST_SetSRID(ST_Clip (raster_all, polygon.geom)),3035)  FROM landcover_ausschnitt_polygon;

I have a spatial table (polygons,polylines) in a database. These are digitized by multiple people. For example, a state is divided into multiple Grids and given to multiple people to digitize using QGIS; which is connected to a postgres database. Now, I have to merge all those polygons and polylines. I don't know how to do this via ST_Union. I Used the following snippet to merge the polygons and polylines CREATE TABLE schema_name.polygon_un2 AS SELECT upg.un_geom,npg.Column1,npg.Column2,npg.Column3,npg.Column4,npg.Column5  FROM (  SELECT st_union(the_geom) As un_geom,(   SELECT oid FROM schema_name.polygon    WHERE oid = 100748191   ) FROM schema_name.polygon WHERE oid IN (100748191,100763519)  ) upg  INNER JOIN schema_name.polygon npg ON npg.oid = upg.oid;   DELETE FROM schema_name.polygon WHERE oid IN (100748191,100763519);  I have the interesecting polygon oid in a Seperate Table, I want to do this process in an update query and that should be a dynamic plpgsql function.  Green : Grid , Other : Polygon But This snippet did not work !! The snippet which i expect is  It should create a new row for the merged polygons and polylines (eg oid - 1 and 2 merged to oid 3).  The polygons which are not merged (eg 1 and 2 should be deleted)


In The Children of Húrin by Tolkien (and edited by his son), Húrin is bound to a stone chair at a high place on Thangorodrim by Morgoth. This is to force him to watch his children — especially Túrin — do various awful things, like killing their friends, and eventually committing incest with each other and then killing themselves.  But it seems to me that the effort Morgoth expends to achieve this end is enormous; he even sends Glaurung, one of his greatest servants, to his death, so as to torment Húrin. Why does he use so much of his time and power just to torment one man, even if that one man defied him? Isn’t that just overkill? And couldn’t he use that power to a better end?

Why did Morgoth curse Hurin instead of killing him? Was it because he knew that if he killed him he would never be able to find Gondolin?


Let $k$ be a field, $f: k[X,Y] \rightarrow k[t^2, t^3]$,   $X \mapsto t^3, Y\mapsto t^2$.   I would like to verify that   $\ker f = (X^2 - Y^3)$. It is easy to see that $X^2 - Y^3 \in \ker f$ and therefore $(X^2 - Y^3) \subseteq \ker f$, but I struggle with proving $\ker f \subseteq (X^2- Y^3)$.   context: I want to show that $(X^2-Y^3)$ is prime in $k[X,Y]$.

How to prove that the ideal $I=(x^3-y^2)$ in $k[x,y]$ is prime?    I have constructed a map from $k[x,y]$ to $k[t]$, which maps $x$ to $t^2$, and $y$ to $t^3$. Then, I want to show that the kernel is exactly $I$. But the difficulty is that how to prove the kernel is contained in $I$.  Could you help me? Thanks a lot!


This is somewhat related to a  about whether the number of questions in the "Most Delete Votes" list in the 10k moderator tools should be increased. I looked for that question every way I could think of, to add this as an answer (if it wasn't closed), but couldn't find it.  It just struck me that when I'm looking for questions to vote to delete, it does me no good to see questions I've already voted to delete, or questions that have been migrated or locked. The list would often be long enough if such questions were omitted.

Apparently, . This led to a moment of confusion for me today, when I fired up the 10k tools and had links on the "delete" tab take me to answers of questions that weren't even closed, let alone accumulating delete votes.  Can the 10k tools' delete tab show only posts that 10k users can vote to delete? This specifically includes questions that have been closed for two days, and excludes answers and recently closed questions. (Or is it by design that 10kers may see which posts 20kers are voting to delete?)


Completely new to installing this, and confused as to why it is like this after I login.

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


I am writing my first publication and I heard a lot of different opinions on the matter of using passive or active voice in publications.  This question focuses in particular on the results.  Should I say:  "The results show an increase in water pressure."  or   "An increase in water pressure is shown by the results."  The first seems more natural and concise to me. Yet the second puts the important statement (i.e. the result) first.  By the way, english isn't my first language, so I hope this question isn't trivial.  Cheers.

I have been composing the International journal for microbiology research.  I learn that research journal should consist of active voice not passive, but I find that the previous researchers for related subject mainly used passive voice.  How should I consider?   Examples:   This genus is characterized by two types of conidia called α–conidia (fusiform) and β–conidia (filiform).  [I think it is valid.  Please correct me if I could change it to active voice] Diaporthe sp was reported causing dieback of rooibos (Aspalathus linearis) (Van Rensburg et al. 2006) [Van R et al 2006 reported Diaporthe caused dieback of rooibos (Aspalathus l.)?] A novel Phomopsis sp  was reported as a weed (Carthamus lanatus) pathogen and may be used as a biocontrol agent (Ash et al. 2010).  [Ash et al. 2010 clarified that a novel Phomopsis sp as a weed (Carthamus lanatus) pathogen may be used as a biocontrol agent?]    *** Note - 9/4/2013: Thank you so much, I appreciate the clarity from everyone.    and learn this (may it help those who have the similar problem):     "Many writers are torn between whether they should write the paper   in the active or passive voice. In the former, the subject performs   the action; in the latter, the subject receives the action. Too   much use of the active voice has the tendency to make the text   monotonous because of too many first-person references. On the other   hand, overuse of the passive voice can cause the tone of the paper to   be dry, boring and even pompous. To ensure that the text is more   lively and readable, it is best to try and strike a balance. Consider   the following example:      We used eosin-methylene blue agar plates for the preliminary isolation   of P. aeruginosa. The bacteria were Gram-negative bacilli, and motile.   The results for oxidase and catalase activities were negative.   Additional experiments showed that the bacteria did not ferment   glucose, galactose, maltose or lactose (Table 2). Based on these   results, we concluded that the organism had an oxidative metabolism.      Try translating this in to an entirely passive or active tone.   You’ll notice that the creative mix of both voices makes this narrative not only lively and engaging but also states the results in   a clear, confident and unambiguous manner."


Previously I gave this user the Customer Community Plus License but when I tried to change it to Customer Community, it throws an error. It will be really helpful if I get a solution.  I am just learning community, in fact this is a trailhead problem. So please excuse if I made any silly mistakes. :)

We want to move a large number of customer portal users (users who self-register via a pre-existing Contact record) from one "User License" type to another. But I note that in the User edit page the "User License" field is not editable (whereas it is for other license types) and in any case as thousands of users are involved we would like to automate the process.  Can this be done via an Apex script? Or can this be done via a Salesforce support request?


Discuss the continuity and differentiability of $e^x$ ?    I know its continuous at all points, but how to check for differentiability ?

I tried to search for a few minutes but I didn't find this question so I hope it's not a duplicate.  So I want to show that $(e^x)' = e^x$. To do that, I must proof that the limit: $$\lim_{h\to0}\frac{f(x+h) - f(x)}{h} = \lim_{h\to0}\frac{e^{x+h} - e^x}{h}$$ exists and equals to $e^x$.    So I have: $$\frac{e^{x+h} - e^x}{h} = \frac{e^x \cdot e^h - e^x}{h} = e^x \bigg(\frac{e^h - 1}{h}\bigg) \\ e^h - 1 = z \implies e^h = 1+z >0 \implies h = \ln(1+z)$$ Because of the continuity of the $\ln$ and $e^x$ functions, we have: $$h\to 0 \iff e^h \to 1 \implies z\to0 \\ z > 0 \implies \frac{1}{z} \to +\infty \\ z < 0 \implies \frac{1}{z} \to -\infty \\ \frac{e^h - 1}{h} = \frac{z}{\ln(1+z)} = \frac{1}{\frac{1}{z}\ln(1+z)} = \bigg[ y = \frac{1}{z} \bigg] =  \frac{1}{y\ln(1+\frac{1}{y})} = \frac{1}{\ln(1+\frac{1}{y})^y} \\ h \to 0 \implies |y| \to +\infty \implies \bigg(1+\frac{1}{y}\bigg)^y \to e \implies \\ \lim_{h\to0}\frac{e^h - 1}{h} = \frac{1}{\ln e} = 1 \implies (e^x)' = e^x \cdot 1 = e^x$$    But how do I prove that $\lim_{\pm\infty}(1 + \frac{1}{x})^x = e$ ?    We defined $e$ like this: $$\lim_{n\to\infty} \bigg(1 + \frac{1}{n}\bigg)^n = e \space \,, \space n\in\mathbb{N}$$   I thought of the sandwich theorem:  $\forall x \geq 1 \,, x\in\mathbb{R} \,, \lfloor x \rfloor \leq x < \lfloor x \rfloor + 1$ and $\lfloor x \rfloor , \lfloor x \rfloor + 1 \in \mathbb{N} $ and if I denote $\mathbb{N} \ni n = \lfloor x \rfloor$ I have: $$ \bigg(1 + \frac{1}{n+1}\bigg)^n \leq  \bigg(1 + \frac{1}{x}\bigg)^x \leq \bigg(1 + \frac{1}{n}\bigg)^{n+1} \\   \lim_{n\to+\infty}\bigg(1 + \frac{1}{n+1}\bigg)^n = \frac{\lim_{n\to+\infty}\bigg(1 + \frac{1}{n+1}\bigg)^{n+1}}{\lim_{n\to+\infty}\bigg(1 + \frac{1}{n+1}\bigg)} = \frac{e}{1+0} = e \\  \lim_{n\to+\infty}\bigg(1 + \frac{1}{n}\bigg)^{n+1} =  \lim_{n\to+\infty}\bigg(1 + \frac{1}{n}\bigg)^n \cdot \lim_{n\to+\infty}\bigg(1 + \frac{1}{n}\bigg) = e \cdot (1 + 0) = e$$  and now I could apply the theorem but then again, how do I show that this: $\bigg(1 + \frac{1}{n+1}\bigg)^n \leq  \bigg(1 + \frac{1}{x}\bigg)^x \leq \bigg(1 + \frac{1}{n}\bigg)^{n+1}$ is true? I mean, I can say that (left side): $$ n+1 > x \implies \frac{1}{n+1} < \frac{1}{x} \implies 1 + \frac{1}{n+1} < 1 + \frac{1}{x} \\ \forall y\in\mathbb{R_+} \space n \leq x \implies y^n \leq y^x \\ \implies \bigg(1 + \frac{1}{n+1}\bigg)^n \leq  \bigg(1 + \frac{1}{x}\bigg)^x$$ and by analogy the right side but is this a proof in terms of limits?  and that's just $+\infty$ for $x \geq 1$, what do I do for $-\infty$ ?   For $x\in\langle 0, 1\rangle$, a substitution $y = \frac{1}{x}$ gives me: $$\lim_{y\to 0}\bigg(1 + y\bigg)^\frac{1}{y}$$  I'll stop here to see if I'm on the right track, any hints, suggestions, edits, comments and answers are welcome!


How to remove or change the background color of an animated GIF image? I would like to remove the background color from the attached image.

I have an gif Image like example    and I want to make its background transparent from white. I am an learner of Photoshop so please describe steps to do it. Currently I was trying to edit each and every layer of this image but its really tough to go through all the layers and I am sure there is an easier way for it


I have this sentence     There is an engine inside me that keeps saying "someone must be at the top, why isn't that you?"    Should I put that or not?  I know both ways are correct, but I am asking for the most formal way.

I have this sentence:     There is an engine inside me that keeps saying "someone must be at the top, why isn't that you?"    Should I write that or leave it out?  I know both ways are correct, but I am asking for the most most most most most formal way.


I have  been trying to get the PS Plus exclusive skin for Fortnite on my account but I don't have PS Plus. Although one of the accounts on the PS4 has PS Plus, so can I still get the skin on my account if I go to the PlayStation store or can I download it on the account that has PS Plus and it will show up on my account?

I just purchased a new ps4 and found out that PlayStation Plus is required for online gameplay. My ps4 is shared with someone else at home so I want to ask if one PlayStation Plus subscription can be shared between multiple psn accounts on the same machine?


I wasnt quite sure what to name this question, so that's what it is.  I'me working on an encryption system, and I need modulus. I already asked a question on this, , and I cannot figure out the answer to this, and I was hoping someone could explain it a little better for me? I said that it made sense, because it seemed to, but then I realized I was doing it wrong and it was too late -_-  How does d = $d^{-1} = 103$ BECAUSE $103 \cdot 7 = 721$ and $721 ≡ 1 \pmod{ 120}$?  I understand that $721 ≡ 1 \pmod {120}$ is $6$ remainder $0$, but how does that justify that $d^{-1} = 103$? and in the second part, $103 \times 7$, why is it $\times 7$?  Any help would be appreciated! Please explain this like talking to a ten year old :D

"" (number $5$).  I'm looking at this, and i'm not sure what the $\equiv$ means in this instance? I know the rest of the values, but what does $\equiv$ mean right now?  Thanks in advance!


I'm working on a bibliography. Most of the items on the list are Chinese language sources. I have translated the majority of them into English but I'm wondering if this is the correct way of going about it. The readers of the piece are highly unlikely to be able to read Chinese. Should I leave them in the source language or translate them into a language that the readers will be able to understand?

Let's say I want to cite a Russian text in my own paper which is written in English. Should I:   reference it as is, in the original Cyrillic alphabet, although the readers won't be able even to pronounce it? transliterate the authors' names, while keeping the rest as is? transliterate the names and translate the title of the work, journal name, etc. into English?


I'm soon to be co-author for a paper and I'm not too sure which name I should use for publication (like many previous users here!). I have a legal Chinese name which no-one knows me by but is on official documents (passport, my soon-to-be degree certificaet), and my English name which is what everyone calls me and is in the email I use for my CV. Unfortunately both combinations of my legal and surnames are quite popular when I search them on Google (advice I saw given by others) so I'm at a bit of a lost here of what I should do! I'd really appreciate any advice/thoughts here thank you !

I have one official first name which appears on my ID card. I have another first name which friends call me by. Is it possible to use my unofficial first name and official family name to publish scientific papers? How can I prove to someone that I am one of the authors?


How do I remove the Windows Defender Antivirus Service? See picture below. Trying to close the process in task manager.

On Windows 10 Professional, with the November update (Build 10586, Version 1511) , is there any possibility to completely remove Windows Defender ?  I don't want to just disable Windows Defender.  I want to completely uninstall from my system.


How can I activate the terminal? Is the only way to click on the icon in the far left upper corner the only way? Thanks for a shortcut, John

What is a terminal? How do I open a terminal window? How do I use the terminal?


In previous years it was possible to resize the hat easily. Now I don't know how to do it. The default size of the hat is too small, how do I make it bigger?

I just got a new hat! :D screaming with joy Looking at so many users looking all exquisite with their stunningly 'fitted' hats, I'm wondering if there's an option to resize or rotate a hat?  PS: Happy Winter Bash everyone! :)


What should I do when threatened by a moderator? Where should it be reported?

One or more of the following things happened to me on a Stack Exchange site:   My post(s) were wrongly deleted or locked by a moderator A moderator posted a wrong comment on one of my posts I was suspended, but did not do anything wrong I asked a meta question, but the question was closed and/or deleted A moderator discredited me in public ...   I think a moderator has abused their power, but I feel powerless against them.  What recourse do I have now? What can I do when I feel that a moderator has abused their power, and has been repeatedly unfair in their dealings with me?


When emitted from an atom, does a photon propagate through space-time as a sphere, in all directions, as a wave or as a directed point particle? I think it's a wave and not a directional point particle and certainly not at the same time. I think that as the Photons travel through space-time as a wave, in a spherical manner and collapses via some sort of interaction (reflection, refraction, absorption) then and only then can a directional point be determined. therefore I think the particle nature of light is simply a by-product of wave interactions, they only exist as a way to show interactions of wave functions or put in another way, light is simply the interactions of wave functions.

I am reading Berkeley Physics Course vol. 4 (Quantum Mechanics) , chapter 4 (photons). (1)  Section 46: book says: consider a typical photon emitted by  the source. It can be regarded as a a wave train of finite duration, spreading out in all directions in space and carrying a total energy $\hbar\omega$. If this is true, a photon emitted by a star which is few light years away, would have spread over a sphere of radius of few light years. Then it is not possible to "detect" that photon using a detector.  Then  why does the book say like this?  In section 47, the book gives same example of photon spreading over light years. But in this section, it says that how the people can use this as a paradox; and clarifies that paradox by saying that classical expression for "energy density" refers to a large number of photons, and not for single photon.  So does photon really spread in all directions?   (2)  In Section 38 book says: almost monochromatic photons can not be split into 2 photons of the same frequency which carry only a fraction of the energy of the original photon. While in section 48, it says (with reference to double-slit diffraction experiment) photon came through BOTH the slits.  Does a photon REALLY goes through both the slits? Doesn't it indicate that a single photon can be split into two photons of same frequency ?   Any help will be appreciated. Thanks


Test.java  public class Test {      public void go(){                System.out.println("Test go");     } }   Test2.java  public class Test2 extends Test { public void go(){            System.out.println("Test 2 go"); }  public void back(){     System.out.println("Test 2 back");     }    }  class Demo{      public static void main(String[] args) {      Test t=new Test2();     t.go(); // Output : "Test 2 go"     t.back(); //Compile time error.   }   }   I read some issues on stackoverflow regarding this but I did not understood the meaning of SuperClass s=new SubClass();. Also in output if Object of Test can access the go() method of Test2 then why it cannot access back() method.

In terms of Java, when someone asks:      what is polymorphism?   Would overloading or overriding be an acceptable answer?  I think there is a bit more to it than that.   IF you had a abstract base class that defined a method with no implementation, and you defined that method in the sub class, is that still overridding?  I think overloading is not the right answer for sure.


I was going through some old code and noticed that if I wanted to retrieve object from database I just used:  Session session=mainApp.getSessionFactory().openSession(); session.beginTransaction(); State newState=(State) session.get(State.class, state); todoHistory.setState(newState); session.update(todoHistory); session.getTransaction().commit(); session.close();   Now I would use something like:  Session sess = mainApp.getSessionFactory().openSession(); System.out.println("Session opened!"); Transaction tx = null; try {     tx = session.beginTransaction();     CriteriaBuilder builder = session.getCriteriaBuilder();     CriteriaQuery<State> query = builder.createQuery(State.class);     Root<State> root = query.from(State.class);     query.select(root);     List allStates = session.createQuery(query).list();     tx.commit(); } catch (Exception e) {     if (tx!=null) tx.rollback();     System.out.println(e);     throw e; } finally {     sess.close();     System.out.println("Session closed!"); }   Please, don't pay attention that there are no try/catch block in first code block. I'm interested if building a Criteria is needed if you want to retrieve object from database, or example from 1st block is correct? Also, if I retrieved object from database and passed it to other function can I update it there, or should retrieving and update be made only in same session?

What are the pros and cons of using  or ? The Criteria API is a nice object-oriented way to express queries in Hibernate, but sometimes Criteria Queries are more difficult to understand/build than HQL.   When do you use Criteria and when HQL? What do you prefer in which use cases? Or is it just a matter of taste?


I must have accidentally clicked on something because when I went to edit my model and tried rendering it, it won't render. It says:  "No Render Output Node In Scene"  How to fix this?

I am new to using blender and have been watching youtube videos on how to use it. I copied the steps of how to create cracks in a surface. I can see what it looks like if it gets rendered but then when I go to render it I get the message "no render output node in scene". It's not an animation, it's just a single image. Here is a screenshot of all my nodes and the error after trying to get it to render.