Sending the same but modifed object over ObjectOutputStream

I have the following code that shows either a bug or a misunderstanding on my part.  I sent the same list, but modified over an ObjectOutputStream.  Once as [0] and other as [1].  But when I read it, I get [0] twice.  I think this is caused by the fact that I am sending over the same object and ObjectOutputStream must be caching them somehow.  Is this work as it should, or should I file a bug?   import java.io.*; import java.net.*; import java.util.*;  public class OOS {      public static void main(String[] args) throws Exception {         Thread t1 = new Thread(new Runnable() {             public void run() {                 try {                     ServerSocket ss = new ServerSocket(12344);                     Socket s= ss.accept();                      ObjectOutputStream oos = new ObjectOutputStream(s.getOutputStream());                     List same = new ArrayList();                     same.add(0);                     oos.writeObject(same);                     same.clear();                     same.add(1);                     oos.writeObject(same);                  } catch(Exception e) {                     e.printStackTrace();                 }             }         });         t1.start();          Socket s = new Socket("localhost", 12344);         ObjectInputStream ois = new ObjectInputStream(s.getInputStream());          // outputs [0] as expected         System.out.println(ois.readObject());          // outputs [0], but expected [1]         System.out.println(ois.readObject());         System.exit(0);     } }


Let $R$ be a ring and let $I,J,K$ be its ideals. Let $I=(0:J)=\{r\in R \mid rJ = 0 \}$. Then $I$ is called the annihilator of $J$. Now let $I=(K:J)=\{r\in R \mid rJ \subseteq K \}$. Is there a name for $I$ in this case with respect to $J$? ($I$ is ... of $J$?)


how to make an bright spot similar to a star?

how to make an bright spot similar to a star ?  i  we tried to make a sphere and add emission to it but it didn't work it only made the sphere clear bright without looking like a star  you know something similar to this image right here


Is there any rule for when it is better to use genitive case or noun as adjective? I'm not sure if there is any difference in meaning in this example:     The department of accounting       The accounting department   Can I also use both forms in situations like:     The restaurants of Paris / The Paris restaurants      The room window / The window of the room


A man enters a comatose author's dreams to wake him up

This is a short story, I think, but I might be wrong.  A man is recruited to enter an authors' dreams to try & bring him out of a coma & finds himself in a hackneyed barsoom type world where the coma victim is a muscle bound hero, it's a desert world with two suns, the damsel in distress is the typical scantily clad princess trope.  The "hero" basically spoils the authors' dreams by manifesting a pistol & simply shooting the monsters dead at one point & the author tries to write him out of the "story" by simply jumping forward several chapters & is both surprised & peeved to find him still there.  The author eventually comes out of his coma & immediately assaults the man when he recognizes him from his dreams, he tries to strangle him if I remember right.  He enters the authors' dreams with some kind of experimental dream imaging tech, basically a two ECG sort of set up linked through a computer with him put to sleep with drugs I think.


modelling the sound wave of a guitar string with an equation

Currently I'm doing a physics related coursework on guitar strings and wave. I would like to ask how I can model the sound wave of a guitar with an equation. I asked some of my teachers and they told me that I should use Fourier analysis, but after reading it from Wolfram Alpha and doing a few example questions, I still don't know how to model the sound wave of a guitar. Can someone give me some advice or tell me if I'm doing anything wrong?


I want to buy a Sigma 180mm F/2.8 EX DG Macro OS HSM Sigma.  What does EX mean?  What does DG mean?  What does OS mean?  What does HSM mean?


Should we make it a general practice to cross-dupe or migrate all technical meta-questions to Meta SE?

On the various sites I participate in, I see many users asking technical questions about how SE itself works on the site-specific metas.  The same question can be asked 60 times on various site-specific metas. In these cases, the correct answers and input are the same for all sites. Some of them may go unanswered, some of them may have a low quality answer, some of them may not have votes on the answers, etc. Often, content is copied around. But when the source of the original post gets improved or updated (or a new, better answer comes along), it won't be applied to the copies. To avoid this fragmentation, I'm suggesting a policy that all technical questions that are the same for all sites should be migrated (or cross-duped) to this Meta SE.  When these are purely about technical things that are the same for all SE sites, I'm suggesting that they be be migrated to this Meta SE (Currently, they typically are not migrated, which looking under the "support" tag on any site-specific meta shows.) Now, certainly > 95% of these questions would be closed as duplicates here on Meta SE. So, I therefore recommend @Glorfindel's suggestion of (without migration.) Yes, I know, this would have to be a new feature to be implemented. If it's not possible, then I suggest migrating and then closing as a dupe.  That way, there will be high quality answers, plenty of votes, united resources, and no fragmentation.  If this is already a policy (is it?), It's currently not being practiced very well (as I explained above.)   If implemented, mods on all sites may be notified about such a policy, and encouraged to practice it. Maybe there could even be some system to make it easy for high-rep users to participate in such migration?  Of course, not all sites have to be forced to do this. If one community was to oppose it, they could of course have their way.  I have already  to the meta of the site at which I'm the most active. Others who agree with this proposal could do the same for their respective communities.  @ShadowWizard has made a very good point by pointing out that since many users may not know about Meta SE, they may thus miss out on useful questions if this was practiced. I agree with that. I therefore feel that this suggestion needs to be coupled with some feature to highlight the existence of Meta SE to users of various sites. I already know of a , but that's just one suggestion. It could be achieved in many ways.  If questions involve particular circumstances of a particular community at all, then they should not be touched as per this suggestion. A very liberal view of what constitutes "particular circumstances" can be taken.


What do you call someone skilled in researching quickly?

Having looked through the  and come across the following definition of an investigator as a:     person who checks thoroughly    is there a word, or phrase that describes     a person who checks rapidly   without implying sloppiness or inaccuracy.


I want to show that for $n\times n$ matrices $A,B$ that $\text{det}(I-AB)=\text{det}(I-BA)$.  My thought is that since $AB$ and $BA$ have the same eigenvalues, I know they have they same minimal polynomial. If I can further show they have the the same characteristic polynomial, I'm done.  Is that true though? the characteristic polynomials for $A$ and $B$ respectively are $P_A(x)=(x-\lambda_1)^{c_1}...(x-\lambda_j)^{c_j}$ and $P_B(x)=(x-\lambda_1)^{d_1}...(x-\lambda_j)^{d_j}$ where $\lambda_q\neq\lambda_p$, $j\leq n$ and the superscripts are the dimensions of the the generalized eigenspaces. Is it true that $c_k=d_k?$


I'm on Ubuntu 14.10.   FF 35 has support form H264 and VP8, but not MSE and VP9. That is ok, and confirmed by youtube html5 page, , as you see the screen #1 here:   FF35 is the stable version installed from official ubuntu repo.   FF 37 (dev edition), downloaded, uncompressed and launched (no ppa), has support for MSE and VP9, a new feature in FF, but H264 is gone. See screen #2 here:   Is there a way to have FF37 "see" the H264 driver?  Thanks.


How to install CPAN modules on mageia 4? I am struggling to find out to achieve this.  any help is appreciated..


I lost 100 reputation and it is not shown in graph

Last December I lost 100 reputations on Music Stack Exchange as one of my answers were marked as "rude or abusive" by 6 users.  However, the graph did not lose 100 reputations.  What's the reason?


I'm really stuck on the following question. I understand logically why this makes sense, and I've read a few proofs on this site of the multiplicative property of Euler's Totient, but those all seem beyond the scope of my class. Is there a simple proof to address the following question?  Suppose a number m is the product of two distinct primes, p and q. prove that the Euler totient of m is equal to (p-1)(q-1). For instance, the Euler totient of 35 (which is 5 * 7) is equal to 4*6, or 24. But remember that when you prove a theory you need to write it in terms of variables rather  than numbers. (hint: you might want to check additive or multiplicative properties of totient function)


How to prevent VS 2008 from publishing .svn folders as part of publish process?

When publishing an asp.net web site in Visual Studio 2008, is there a way that I can force it to ignore the .svn folders in my local working copy so that my target folder does not end up with .svn files as part of the output.  Thanks,  Jason


A weird, possibly trivial, problem is happening.  After running pdflatex test with the following in the file test.tex  % -*- coding: utf-8 -*- \documentclass[11pt]{article} \begin{document} \thispagestyle{empty} We greet in Figure~\ref{myfig}.  \begin{figure}[h]   \centering\large hello   \label{myfig}   \caption{greet} \end{figure}  \end{document}   one time, I find in the file test.aux, as expected:  \relax  \newlabel{myfig}{{}{1}}   and I duly get warned that:  LaTeX Warning: There were undefined references.  LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.   But after a second run of pdflatex test, the number 1 does not appear where it should    and the warning no longer appears, suggesting all is well.  Where should I be looking?  (I've tried:   Deleting the aux file and recompiling. Using xelatex and lualatex.   )  I'm using TeX Live 2015 on El Capitan.


Charging (via USB) and using 2 Li-Ion batteries in parallel simultaneously?

I've been searching everywhere for a solution that will allow me to charge 2 Li-On batteries (3.7V) in parallel with a USB port without taking off the load/run (mechanically) of the rest of the circuit. If possible with charge balancing as well, although I would ensure similar charging levels before connecting of course. To be clear, the first part of the load is a boost circuit taking the 3.7V up to about 6.5V. I can't use a larger capacity battery due to their size (the batteries I'm using are really small).  I was thinking of using two chargers connected to a single USB port, but that might take too much current from the port, although I could adjust for that. It would also require a switching circuit that switches from running mode to charge mode if the voltage would drop below a threshold (2V?) for either battery for example, which would need some voltage regulator IC, but I have no idea where to look for this. This would also require some type of limiting circuit for simultaneously charging and using, which is what I'm aiming for. Is this setup a good idea? I imagine there might be simpler solutions.


Package Pagegrid - Change color of helpgrid

I want to put a grid in the background of every page (for use in classroom). I found the package pagegrid. I can change the color of the red/blue grid, looks beautiful, but I need to change the color of the help lines to light-gray, otherwise it's too dark to use for my students.  Another possibility would be to get rid of the helplines alltogether, but this didn't work either.   MWE:   \documentclass[a4paper,11pt]{article} \usepackage[step=5mm,firstcolor=gray,arrows=false]{pagegrid} \pagegridsetup{top-left} \begin{document} Test \end{document}


How can I stop applications and services from running?

When my phone starts up there are several application/services running in the background that I would rather not.  And when I press the Home button while using an app, that app usually goes into the background without exiting.  How can I stop these apps from running?


different representation of array element

consider following C code  int a[]={1,2,3,4}; printf("%d",2[a]);   this prints "3".How is it possible? I know in a[2] a is the base address of array.But in 2[a] what is 2? and how it accessses array a?I am totally confused with this representation of array.


how can I open a extra console and run a program in it with one command?

So I know if I type gnome-terminal or xterm, a new window will be popped out. Then I checked the man page for these two, nothing relevant found.  Then I noticed under Mac you can do it with the program open. But it seems under Linux it's not that trivial.  Does anyone have experience?


Cannot proceed with installation of Ubuntu 17.04

I'm trying to install Ubuntu 17.04 from usb, but I'm stuck on this screen    How can I fix it?  I am on Asrock UEFI?


Why is the _DEFAULT const variable updated?

I've run in to a situation that can't really explain how is this even possible.  I made a  for a demo.  THE CODE:  angular.module('test', []).controller('TestController', function($scope) {  /*   DEFAULT CONST VARIABLE */ const _DEFAULT = {   items: [],   name: 'Test',   selected: null };  /*   TEST_CASE SCOPE VARIABLE */ $scope.test_case = _DEFAULT;  console.log('ON INIT DEFAULT: ', _DEFAULT);  /*   FUNCTION */ $scope.clicked = () => {   // SET TEST_CASE.SELECTED = 1   $scope.test_case.selected = 1;    // SHOW UPDATED TEST_CASE AND _DEFAULT VARIABLE   console.log($scope.test_case, _DEFAULT); };   });  When button is clicked () we change data only in $scope.test_case so HOW is it possible that const variable _DEFAULT has the same data as $scope.test_case when _DEFAULT has never been touched or changed?   That should be impossible or am I missing something?


Should I use suggested edits to add tags, or is that too minor a change?

I recently  to  that did nothing but add a single highly relevant tag:    It scraped through with . Two reviewers voted to reject on the basis that:     This edit is too minor; suggested edits should be substantive improvements addressing multiple issues in the post.   Is using a suggested edit to add tags (or a single tag) to a post acceptable (assuming the tags are correct, obviously)? A canonical answer that can be referenced in edit descriptions by future edit suggesters (or in rejection reasons by reviewers) would be helpful.


I have a Fedora 31 system on which I am using iptables-nft. I need this because there is still a bunch of software that expects the legacy iptables command line tools.  This means that my nftables configuration has the corresponding set of tables to match the legacy configuration:  table ip filter table ip nat table ip6 filter table ip mangle table ip6 nat table ip6 mangle   I use a containerized VPN service that, prior to nftables, would enable masquerading on my primary ethernet interface by running something like this when the vpn comes up:  iptables -t nat -A POSTROUTING -s 172.16.254.0/24 -o eth0 -j MASQUERADE   Since upgrading to Fedora 31 and iptables-nft, this no longer works. The container (running alpine) does not have the iptables-nft compatability wrapper, but it does have the nft command itself.  I can't use the nft cli to add rules to the existing tables, because this will break iptables-nft. But I can create new tables. I was hoping I could just apply a configuration like this:  table ip vpn {     chain postrouting {         type nat hook postrouting priority filter; policy accept;         ip saddr 172.16.254.0/24 oifname "eth0" counter masquerade     }      chain forward {         type filter hook forward priority filter; policy accept;         ip saddr 172.16.254.0/24 counter accept     } }   ...but this doesn't appear to have any impact. By setting the chains in this table to priority 0 I was hoping they would match before the legacy nat table, but that doesn't appear to be the case.  Is there a way to make this work?


Batch convert 4 PDF pages to one PDF page

I have a PDF with 100 pages. How can I make a new PDF that displays 4 pages on one?  I know that I can do it with Chrome by printing the PDF to new PDF and change this in the options. But I want to make it for a lot of files and put it as a script.


Importance of PTR records on nameserver IP's?

I have not yet experienced any DNS failures due to a missing PTR record, but am wondering:   Is there any added value in having a valid PTR record on a nameserver IP-address?


Book about a small world which wants to communicate with a large one (humans?) on different time scales

I am looking for a book which tells the story of two worlds.   One of the worlds is very small and the other is very large (relatively to each other). The large one was I think populated with humans.  They try to communicate but the time scale in the two worlds is drastically different: a short time on the large one is orders of magnitude longer on the other one. This means that whatever is passed from one to the other will span generations.  The small world was dying I think.  There was a second book which describes the second phase of their interactions, after both sides understood the time rate difference and its implications.


I need to draw 3D grid with nodes on it using Tikz. Moreover, would it be possible to construct it simply by 3 nested loops? So that I could mark some node by hollow circle and some with solid circle... The viewpoint is also important for visual clarity.    The linked duplicate have a lot of new command and setting a lot of macros. It should not be that complicated. I want to do it with basic instruction set so that code would remain easy to understand; and easy to recall...  The other difference is that only selected nodes will be marked with solid circle, not all the nodes. The above linked answer does not help in this regard either...


Prove that, for any $n+1$ integers $a_{1},a_{2},....,a_{n+1}$, there exist two of the integers $a_{i}$ and $a_{j}$ with $i \neq j$, such that $a_{i} - a_{j}$ is divisible by $n$.  Please help me about this problem,I know there is lots of answers can find from Google, but I am not really understand them. I hope someone can give me more details explanation. I would really appreciate your help.


What is it called when the last word of a sentence is also used as the first word of the next sentence?

For example in the rhyme "" the end of each verse is linked to the next. Would these just be called puns? Or is there a more specific name when they are used in this way. Example:  Miss Susie had a steamboat, the steamboat had a bell. Miss Susie went to heaven and the steamboat went to Hell– - O, operator, please give me number nine...  The first verse ends with "Hell" which is merged into "Hello" in the next.


Is there a way to view who created a tag?

I recently created a tag and I am wondering if we can actually see who created the tag. Clicking on Tag info gives information like tagged questions,related tags,Top Askers,Top Answerers. Is there a way to see the creator of the tag?


If $f$ is a function such that $f \in L^\infty \cap L^ {p_0}$ where $L^\infty$ is the space of essentially bounded functions and $ 0 < p_0 < \infty$. Show that $ || f|| _{L^p} \to ||f || _{L^\infty} $ as $ p \to \infty$. Where $|| f||_{L^\infty} $ is the least $M \in R$ such that $|f(x)| \le M$ for almost every $x \in X$.  The hint says to use the monotone convergence theorem, but i can't even see any pointwise convergence of functions. Any help is appreciated.


Machine Learning books for CS (non-statistician) grad student

What books on machine learning are recommended for a CS graduate student without a huge background in statistics?  I do have some background in ML (and of course linear algebra, probability, etc.) but not really a great/firm background in statistics.  I saw a lot of recommendations for:   PRML:  Pattern Recognition and Machine Learning by Bishop.  ESL:  Elements of statistical Learning by Hastie et al.  MLaPP: Machine Learning - a Probabilistic Perspective by Murphy.   Which ML book is recommended for a grad student with my background? I see MLaPP is pretty new but seems to include a lot of topics including deep learning etc. - I'd love to know what did someone who read it though of it.


What is exact definition of potential energy if all forms of energy except kinetic comes under potential energy?

I need to know the exact meaning of . I AM confused what it actually means.They say all types of energy comes under 2 types kinetic and potential so what is potential energy then?  My question ask for defination


Different Definitions of Linear Functions?

Question: Does the 1st definition agree with the 2nd definition and if not, what is the form of a linear function f:R→R? 1st Definition: In elementary algebra and calculus courses, it is often said that f:R→R is linear if and only if it has the form f(x)=ax+b, where a and b are constants. 2nd Definition: Another definition is that f:X→Y is linear if f(nx+my)=nf(x)+mf(y) for all scalar n,m and for all x,y that exist in X. My work: f(nx+my)=a(nx+my)+b f(nx+my)=anx+amy+b so the definitions do not agree. However, i dont know how to find the form of the linear function f:R→R. Thanks.


Bad mask /30 for address in Router Cisco (Packet Tracer)

HQ>enable  Password:   HQ#config terminal  Enter configuration commands, one per line.  End with CNTL/Z.  HQ(config)#int s0/0  HQ(config-if)#ip add 209.165.201.3 255.255.255.252  Bad mask /30 for address 209.165.201.3  HQ(config-if)#   How can I change?


What is the correct definition for an imaginary number?

The following is taken from .     An imaginary number is a number whose square is less than or equal to   zero.   But I also heard that      An imaginary number is a number whose square is less than zero.   Which is the correct one?  Edit:  My doubt came from the fact that some mathematicians consider the imaginary numbers are on the vertical axis and the real numbers are on the horizontal axis. So the intersection point at the origin. As a result, zero is included in the imaginary number set.


Other challenging logarithmic integral $\int_0^1 \frac{\log^2(x)\log(1-x)\log(1+x)}{x}dx$


I left my company but forgot to disconnect my google drive from the company email on my macbook air.  Now I'm stuck in the login screen!  I've tried re-installing google drive and removing the following files together:  ~/Library/Application\ Support/Google/ ~/Library/Preferences/com.google* ~/Library/Google/ ~/Library/Caches/com.google.GoogleDrive   All keychain access keys associated with Google.  I've also tried removing all other files that have "google" and "drive" in the filename. I've even tried piping my connection through a remote proxy and setting up a SOCKS connection. How is Google remembering my work email?  Any help would be much appreciated.


Browse file system from PC in marshmallow

I have a LG Nexus 5 with android marshmallow OS. I used to be able to connect my phone to a PC running Windows 10 with USB cable and browse the files from the PC's file explorer. Ever since I upgraded the OS to marshmallow whenever I connect the phone to PC with USB cable, the PC detects the connected phone but when I open the phone from file explorer there is nothing shown.  After a lot of exploration I found a setting in the notification area called 'USB for charging. Touch for more options'. From there I can choose charging only, MTP, PTP, or MIDI. After selecting MTP I can browse the phone content from PC. This setting used to be in Settings - Storage - USB computer connection.  The problem is the next time the phone is connected to the PC, the setting revert back to 'charging only'.  Can I set the default to MTP like it used to be in lollipop?


80s/90s movie where boy finds out his dad's girlfriend/second wife is actually an alien/monster

To be honest, I vaguely remember this one scene from the movie (I was like 5 when I saw it I think).  The scene depicts a teenager spying on this stepmom/dad's girlfriend along with a girl (possibly girlfriend) because he has a hunch something weird is up with her and he sees her in the backyard transformed into her alien form.  The movie probably belongs to the horror-scifi genre since the alien form was scary (at least to the 5 year old me).  The movie is possibly from the late 80s/early 90s.


How does one find which tags they created?

Is there some way to tell who has created which tags, and when? If a method doesn't exist I would petition SO to add this, as I would very much enjoy seeing tags I created being used by other people.   SO must track creator meta-data on tags since a badge is awarded for creating a tag used by 50+ questions (taxidermist).


Why is a repeating decimal a rational number?

$$\frac{1}{3}=.33\bar{3}$$    is a rational number, but the $3$ keeps on repeating indefinitely (infinitely?). How is this a ratio if it shows this continuous pattern instead of being a finite ratio?    I understand that $\pi$ is irrational because it extends infinitely without repetition, but I am confused about what makes $1/3=.3333\bar{3}$ rational. It is clearly repeating, but when you apply it to a number, the answers are different: $.33$ and $.3333$ are part of the same concept, $1/3$, yet:  $.33$ and $.3333$ are different numbers:    $.33/2=.165$ and $.3333/2=.16665$, yet they are both part of $1/3$.   How is $1/3=.33\bar{3}$ rational?


Should I say "also surprised" or "surprised too"?

Is this sentence correct?  Does it sound ok for a native English speaker?       Are you also surprised?     I'm asking because I'm not a native English speaker. I'm not sure if it sounds natural.  I would use      "Are you surprised too."    instead, but I'd like to know if it sounds ok with "also" too.


This is a question, that came up whilst working on a scientific representation of a cell membrane. In the following image you can see the particle system applied to a plane:  What I now want to do is to apply that particle system to a cylinder or circular object, which will show the cross-section of a vesicle. The particles should therefore all face outwards from the origin point of the circle. In the Rotation menu of the particle system there is no option for the particle to be orientated 90° away from the surface. Here is a bad sketch of how it should look.  Q: How can I orient particles on a round object?


I have only basic knowledge of the TeX internals, so I hope what I am saying here is not complete nonsense. If I understand correctly, in TeX, horizontal positioning / line breaking is done using a rather advanced algorithm based on a paragraph-level optimization (Knuth-Plass); it allows for concepts such as glue and line break penalties, and gives considerably better results than the more naive approach of, say, MS Word.  On the other hand, I seem to understand that nothing similar is used for vertical positioning of text. Lines are shipped out as soon as they are done and pages are filled using the obvious greedy algorithm. Widows and orphans are handled using special tricks. [EDIT: this is not entirely correct, see  below --- there is an optimization algorithm involved, although it's only local optimization over a single page and not KP]  So, a question arises naturally to me:     why isn't something similar to Knuth-Plass used also for page breaks and the vertical layout of text? Are there major complications?


Usage of "any" or "some" in "Would you like ..... wine?"

I have got another test question:     Would you like ..... wine?         any   some      This test assumes that the only correct answer is 'some' and some people argue that the use of 'any' in this sentence is grammatically incorrect.  I think that both 'some' and 'any' is possible there with a difference in the meaning that with 'some' we are expecting answer 'yes' and with 'any' we are not sure if the answer 'yes' or 'no' at all.  I can imagine the following dialog:  Q. Would you like some white wine? A. No, I don't like white wine. Q. Would you like some red wine instead? A. No, I don't like red wine too. Q. Would you like any wine?


Installing QGIS3 on Ubuntu 16.04 Xenial: dependency problem

I am trying to install QGIS3 on my Ubuntu 16.04 Xenial.  Following the instructions on the  I added the following lines to my sources.list:  deb https://qgis.org/ubuntugis xenial main deb-src https://qgis.org/ubuntugis xenial main   I run  sudo apt-get update   and try to execute the installation:  sudo apt-get install qgis python-qgis qgis-plugin-grass   For each of the packages I get the answer that there are several missing packages:  python-qgis : Depends: python-qgis-common (= 1:3.0.0+24xenial-ubuntugis) but it is not going to be installed            Depends: libqgispython3.0.0 but it is not going to be installed            Depends: libqgis-analysis3.0.0 but it is not going to be installed            Depends: libqgis-core3.0.0 but it is not going to be installed            Depends: libqgis-gui3.0.0 but it is not going to be installed            Depends: libqgis-server3.0.0 but it is not going to be installed  qgis : Depends: gdal-abi-2-2-2 but it is not installable     Depends: libgdal20 (>= 1.8.0) but it is not installable     Depends: libqgis-analysis3.0.0 but it is not going to be installed     Depends: libqgis-app3.0.0 but it is not going to be installed     Depends: libqgis-core3.0.0 but it is not going to be installed     Depends: libqgis-gui3.0.0 but it is not going to be installed     Depends: qgis-providers (= 1:3.0.0+24xenial-ubuntugis) but it is not going to be installed  qgis-plugin-grass : Depends: qgis-provider-grass (= 1:3.0.0+24xenial-ubuntugis) but it is not going to be installed                  Depends: libgdal20 (>= 1.8.0) but it is not installable                  Depends: libqgis-app3.0.0 but it is not going to be installed                  Depends: libqgis-core3.0.0 but it is not going to be installed                  Depends: libqgis-gui3.0.0 but it is not going to be installed                  Depends: libqgisgrass7-3.0.0 but it is not going to be installed                  Depends: grass740 but it is not installable   Most interesting is that some packages are not installable: gdal-abi-2-2-2, libgdal20, grass740  Any idea how to solve this?


What alternatives are available to replace the purple boot splash screen?

I would love an animated splash screen, just for a bit of eye candy to replace the purple splash (with 4 dots) during the boot sequence. I know it will slow down boot time but I don't care I just want it to look good. When I show my friends how much better looking Ubuntu is than windows the splash really lets it down.   Any one know a good alternative to the existing Plymouth boot?  I could not get mine to change the splash screen (with terminal or gui apps), and it is now broken, it just shows a load of error messages at boot but still starts Ubuntu.


Can I add multiple xbox live gold cards to my account?

I received two 12 month xbox live gold cards for Christmas.  Can I add both to my Microsoft account now, and will it be good for 24 months?


Was something changed in rep calculation?

For an  I received 10 votes and 1 negative vote but my rep is 90.  I remember   Upvote means +10 Downvote means -2   In my case it     Upvote means +10 and Downvote means -10, is this a new change?  No big deal but just want to know about this behavior?


How to set a sound notification of 100% battery?

We can set low/critical battery sound notification but I don't know how to set a full  battery sound notification, Is there any way to do that?  EDIT : I agree to the point that not all laptops charge to 100%, then my question rephrases from 100% to 95%, or maybe to get a notification at some specified %age...


getting msvcr100.dll not found errors, but the file msvcr100_clr0400.dll is present in both System32 and SysWOW64

As the title says. I've tried installing and reinstalling every vc++ distribution. Haven't done a registry edit yet. On searching the two folders, I did find that variant of the file, but the error persisted. Should I go ahead and try out registry tweaks? Or is there some extra step I'm missing?  Incidentally, this was on a fresh installation of windows, so is it possible that it didn't install properly?


Why does the simple c program I've written to compare two strings count an extra same character?

I'm using turbo C++ to compile the program. The program is   main()   {      char inp1[21],inp2[21];      int nsame=0,i=0,l1,l2;      clrscr();      gets(inp1);      gets(inp2);      l1=strlen(inp1);      l2=strlen(inp2);      if(l1==l2)     {          for(;inp1[i]!='\0',inp2[i]!='\0',inp1[i]==inp2[i];i++)         {             nsame++;         }     }     if(nsame==l1)     {         puts("Same");     }     else     {         puts("Not the same");     }     getch();  }   The for loop above runs an extra time so the nsame is greater than the correct value by 1. So the program's output is correct if an extra nsame--; is added.


Fantasy series where each book takes place on a different world that overly expressed a certain element?

From what I remember their was a war between two different groups of people. The winners put the losers in a labyrinth that was constantly trying to kill them (although I think that was a mistake). One of the labyrinth people escapes and by orders goes to each individual world to reestablish a connection network(?). One the first one he comes across a crazy old man who fails a lot, who turns out to be one of the peoples who entrapped the labyrinth people. One world is nothing but forests that has elves and humans, another is and underground world where the people there bring back the dead, and another is nothing but oceans where their is a race of ultimate evil dragon/snake/eel things. What is the name of this series?


Are There Levels of Canon in Star Trek, Like in Star Wars?

Star Wars has different levels of canon and explanations for each level (movies, books, games and so on).  From what I've seen in Star Trek, there seems to be one level of canon: If it was on screen (other than the animated series), it's canon (although some people claim the 2009 movie and Star Trek: The Final Frontier don't really count).  If it's not on screen, it's not canon.  Is that it?  Or are there some games that are a second level of canon, or some books or other material considered to be a higher level than other media?  Or is there just one level of canon in Star Trek?


International Student in United Kingdom eligible to Invest

I am a International Student studying in London with a Tier 4 Student VISA. Am I eligible to invest in stocks, bonds or funds through brokers or banks in the United Kingdom?  I tried to search Home Ministry documents for information, but I can't seem to find useful information.


Is there a way to just skip $15 from the regex and rest will be considered as pattern = "this is $15 Fee will be (\$\d+\.?\d+)"

In the below example I want to take $15 as normal string and it must consider "($\d+.?\d+)" as pattern  my data is dynamic so backslash(//)$15 won't work because data could be anything.  Is there a way if it is a pattern take it a pattern if there is any value with metachr, it should consider it as a string. regex = "this is $15 Fee will be ($\d+.?\d+)" my_text = "this is $15 Fee will be $20"; Pattern pattern = Pattern.compile(regex,Pattern.CASE_INSENSITIVE); Matcher matcher = pattern.matcher(my_text); System.out.println(matcher.find()); O/p = false // op is false because it takes $ from $15 as regex pattern


My girlfriend just got a Schengen visa from France.  Is there any consequences if we do not visit France and only visit other countries?  Was planning to visit France next weekend, but the weather looks terrible. Got a Switzerland planned for April.


In Bash scripting, what's the meaning of " $! "?

If I'm assigning a variable with  temp=$!   what would it be its value?


Changing From Email Address in SharePoint Designer 2010 Workflows

For SharePoint 2007 there was a third-party addon we could install to allow the from email address to be configured in a SharePoint Designer workflow.  Does anyone know if there is something similar for SharePoint Designer 2010 workflows?  I have not been able to find one.  Thanks.


Absence of Area 51 in site list in Android App

I cannot find Area 51 in the site list in the Android app. Will this be implemented in the future?


How to edit SharePoint Designer 2010 sites from SharePoint 2013?

Can I use SharePoint Designer 2013 to edit SharePoint 2010 sites?   Couldn't find this info in the web.


My question: Is there any word in English (generically speaking) that have something like this:  In our language (Filipino), there's some words that if you subtracted or added a character to it will give you different meaning for example:  PAKANANG = Right part of 'PAKANAN' = Turn right PAKANA = Command / Mastermind PAKAN = Healt / Interest PAKA = Mollusk PAK = Wonderful PA = Father


How to remove a duplicate in a Python list

I just started learning Python and I want to learn how to remove duplicate vowels in my input in a list (I am also sorry for my poor English skills). so here's my code: vowels = ['a', 'e', 'i', 'o', 'u'] word = input("Provide a word to search for vowel >> ") found = []  for letter in word:     if letter in vowels:         found.append(letter)  for letter in found:     if found.count(letter) > 1:         found.remove(letter)  print(found)  If I typed, let's say, "aaaaa", the output is: ['a', 'a']  where it should only print: ['a']  how do I fix this code? P.S. this is my first post in stackoverflow and I'd really appreciate anyone who tried to reach out. Thank you so much!


How to write a password which contain "&" in app.config  <add connectionString="Data Source=x.x.x.x;Initial Catalog=Testing002;User Id=hello;Password=&a:;" name="ConString"/>


Closure of identity element in a topological group is the intersection of its neighborhood system

Consider a topological group $G$. I want to prove that      if $\cal{U}$ is the set of all neighborhoods of $e$ (the identity element), then $\overline{\{e\}}=\cap_{U\in \cal{U}}U$.   What I thought was:  i) If $x\in \overline{\{e\}}$, then every neighborhood $V$ of $x$ intersects $\{e\}$, hence every $V$ is a neighborhood of $e$ as well, i.e. $V\in \cal{U}$.  ii) On the other hand, if $x\in \cap_{U\in \cal{U}}U$, then $x\in U$ for all $U \in \cal{U}$, meaning every $U$ is a neighborhood of $x$ intersecting $\{e\}$.  Now, I think that the missing part is an argument justifying that there is no neighborhood of $e$ that is not a neighborhood of $x$ (part i)), and that there is no neighborhood of $x$ that is not a neighborhood of $e$ (part ii)). My idea for this is to argue that there is a homeomorphism taking $e$ to $x$, therefore the neighborhood system of one cannot have more elements that the neighborhood system of the other.  Is this correct? If not, is there a way I can fix it?


Is it unsafe to travel to Greece at this time?

Would it be unsafe to travel to Greece at this time?


Prove an inequality for positive real numbers

Prove that :- $$\frac{x^2}{y}+ \frac{y^2}{z}+\frac{z^2}{x} \geq x+y+z$$ Where $x,y,z$ are positive real numbers My attempt :- L.H.S = $\frac{x^3 z +x y^3 + y z^3 }{xyz} $ We need to show that $x^3 z + x y^3 + y z^3 \geq xyz (x+y+z) $ I tried the AM-GM $3(x^3 z + x y^3 + y z^3) \geq (xyz)^{\frac{4}{3}}$ But i could not go on any more !


Whats the penalty for withdrawing from my Roth IRA when I day trade with it?

I have 12K in my Roth IRA. I use it to day trade. Now I want to take out the 12K what is my penalty? And do I get taxed on my trades when I buy and sell?


I'd like to get an exclusive lock for a file (it's for debugging purposes).  On Linux there's flock   On BSD i've found lockf


my question is different from , because that question is related to set timeouts to curl command. But my question is not to set timeouts, I want to know default behavior of these timeouts for a curl command.   What are the default timeouts (connect-timeout and max-time) of a curl command in linux, where they are configured and can we edit them. And is there any configuration available in our local machine where we can change for all curl commands from that machine instead of setting timeouts for each and every curl command


xrandr outputs errors when I try to add a new resolution

I'm trying to add my own resolution, 1280x720 75Hz on my Nvidia card.  I've only come across this one method using xrandr, where you use cvt to get the parameters for your resolution and refresh rate, input it with xrandr --newmode, and then use xrandr --addmode to your display output. However, I get this error at the --newmode step:  $ sudo xrandr --newmode "1280x720_75.00"   95.75  1280 1360 1488 1696  720 723 728 755 -hsync +vsync X Error of failed request:  BadName (named color or font does not exist) Major opcode of failed request:  140 (RANDR) Minor opcode of failed request:  16 (RRCreateMode) Serial number of failed request:  53 Current serial number in output stream:  53   What's the problem and how can I fix it?


Example of Markov process not strong Markov

This is again a question about  (also see ).  It seems we can write this process as $$X_t := \bigl(t - \text{Exp}(1) \mathbf{1}_{\{X_0 = 0\}}\bigr)^+ + \mathbf{1}_{\{X_0 \neq 0 \}}X_0\, .$$  Where $\text{Exp}(\lambda)$ is the exponential distribution (CDF: $1-e^{-\lambda x}$) with parameter $\lambda$.  Define the stopping time $\tau := \inf \{ t\geq 0 : X_t > 0\}$.  I've read the following explanation why this is not strong Markov:  $$\mathbf{E}_0 \bigl[f((X_{\tau + t}))|\mathcal{F}_\tau\bigr] = f(t) \neq \int f(y) \kappa_t(0, dy) = e^{-t} f(0) + \int_0^t e^{-s} f(t-s)\, ds\, ,$$  but that makes no sense to me... how can it be $f(t)$? Because $t \in I$ doesn't fit into a function $f\colon E^{\otimes I}\rightarrow \mathbb{R}$ (see  for the definition of strong Markov property. For this example $E = [0, \infty)$)...


Obviously my own mail servers should be marked as "allow" in an SPF record, but I'm not so sure about mail relays (e.g. my ISP). Since other people (not related at all with my server) also send email through the same relay, it seems to me the most appropriate choice would be listing the relays as "neutral" like:   v=spf1 ip4:myserverip ?include:_spf.myisp.com -all   Is this common practice? Or is there some better option?


Find $f(1)$ from equation $\int_{0}^{x}f(t)dt = x+\int_{x}^{1}tf(t)dt$

My brother brought me this same question, also on this .   $$\int_{0}^{x}f(t)dt = x+\int_{x}^{1}tf(t)dt \tag{1}$$  When I try to solve it, I also did same thing. Differentiation leads to  $$f(x) = 1-xf(x)\\  f(x) = \frac{1}{1+x} \\ \int_{0}^{1}f(x) dx = \ln 2 $$  But try putting $x = 1$ in original equation $(1)$,  $$\int_{0}^{1} f(t) dt = 1$$  so what has happened? We get two contradictory results.  Is it still true that $f(1) = 1/2$? Where is the mistake?


A "Dark-on" opto-isolator that is normally conducting when the LED is turned off

I brought up this question in my previous question on , but there was no answer to this specific point.  Is there such thing as a "dark on" opto-isolator, that allows current to flow through pins 5 and 4 when no current flows trough pins 1 and 2, and blocks current through pins 5 and 4 when a current flows trough pins 1 and 2?  This will be like a normal opto-isolator, but it "turns on" when the LED is turned off, instead of the opposite.


The solution to the differential equation, equation 1.7.28 in Sakurai (2nd Edition)

While I know this is an extremely well known result, I was trying to derive the expression for $ \langle{x}|{p}\rangle$, as done in Sakurai. It is basically a two line equation, so our starting point is $$\langle x'|p|p' \rangle= -i \hbar \frac{\partial}{\partial x'}\langle x'|p' \rangle. $$ which then leads to $$ p'\langle x'|p' \rangle=-i \hbar \frac{\partial}{\partial x'}\langle x'|p' \rangle. $$ Now, the solution of this differential equation is given to be, $$ \langle x'|p' \rangle=N \text{exp}\Big(\frac {i p' x'}{\hbar}\Big).$$ While it's easy for me to understand the exponential bit of the solution on the RHS, as far as I remember the normalisation constant $N$ should be allowed to be a function of the momentum $p$, because the differential equation is basically of the form $$\frac{\partial f(x,p)}{\partial x}= c(p) f(x,p). $$ Did I get the math wrong or is there another reason for why $N$ is taken as a constant independent of $p$ and $x$?


Black screen while trying to install Ubuntu

I was trying to install Ubuntu.   When I pressed install Ubuntu it goes into black screen


Showing that a function is continuous for $x$

If $f(x)$ is continuous at the point $x=0$ and for all real numbers $x$ and $y$, the function $f(x+y)= f(x) + f(y)$. Show that $f$ is continuous for all values of $x$.  Not sure where to begin this problem. Any info on it would be appreciated.


I'm looking for something to provide faster X11 fowarding than ssh -X provides. I do not need a full GUI session or the ability to drop/resume user sessions. I use NX regularly, but as far as I can tell, there's no way to use it without a virtual desktop where all the graphics get painted. (See: ) VNC also seems to work only with a virtual desktop; same with X2Go.  What I want is something I can run from a terminal that will only open a graphics window and draw to it when it needs to (like ssh -X does). Does this exist? Maybe I've just missed the proper way to do it in something like NX. I've done a ton of searching--I look into this every couple months without a solution--but maybe I'm just searching for the wrong thing.  (Full use case: I'm running Sublime Text on a Linux desktop, and I connect to R running on a remote Linux server via SublimeREPL, which is more or less a terminal emulator within Sublime Text. Plotting things from R happens in a forwarded X window, and it's extremely slow using ssh -XC. I'd love to be able to send the terminal+graphics connection over NX, but NX doesn't seem to support single applications like this; it forces a full-blown user session with a virtual desktop.)


I have a pair of noise cancelling headphones which I love very much.  Putting them on during a long haul flight and keeping them on most of the time leaves me significantly less tense and more relaxed when I hit the ground.  They are the over-the-ear type which cost ~$200, and they are truly worth the investment.  The problem is...  When I travel for pleasure I like to travel light, typically only bringing a 35L backpack.  I usually bring a pair of earbud headphones, but they don't work nearly as well.  My questions are   Has anyone seen a good comparison of the in-ear noise cancelling headphones versus the over-the ear type?  Personal experience is ok, but I would be more interested in a comparison which includes some plots. I've been looking at non-headphone earplugs like the , , and .  These are made for musicians so I expect that they are effective at some frequencies, but I don't know how well the work for the low frequencies associated with flying.  Has anyone seen a comparison of these to noise-cancelling headphones?  Has anyone tried them out? Does anyone have any other recommendations for quieting the deafening roar of flying?


What is the most basic organism to respond to Classical conditioning (capable of learning)?

I have been doing some reading of  which is considered to be an indication of animal's ability to learn...  Before this I considered insects to be machine like - devoid of any sort of 'thinking' just doing things that evolution 'made' them to do to survive...  However I have found that  and even  could be conditionally trained...   Which made me wonder What would be the least complex species that respond to classical conditioning?  I have also read this question about  and I don't think that this 'cuts it'... this is nothing more than chemical response... however classical conditioning is different and in my opinion certainly does indicate ability to learn...


How to add a unix/linux user in a bash script

Here's my test bash script. I'm not able to get it to work. I'm seeing two errors:   Use of uninitialized value $answer in chop at /usr/sbin/adduser line 589. Use of uninitialized value $answer in pattern match (m//) at /usr/sbin/adduser line 590.   Here's my script:  #!/bin/bash sudo adduser myuser << ENDX password password First Last     Y ENDX exit 0   Here is the output:  me@mycomputer$ ./adduser.sh  Adding user `myuser' ... Adding new group `myuser' (1001) ... Adding new user `myuser' (1001) with group `myuser' ... Creating home directory `/home/myuser' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for myuser Enter the new value, or press ENTER for the default         Full Name []:   Room Number []:         Work Phone []:  Home Phone []:  Other []: Use of uninitialized value $answer in chop at /usr/sbin/adduser line 589. Use of uninitialized value $answer in pattern match (m//) at /usr/sbin/adduser line 590. Is the information correct? [Y/n] me@mycomputer$   This is on Kubuntu 12.04 LTS  $ bash --version bash --version GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)   Here are the lines from adduser (system script - unmodified by me) with notations of the two relevant line numbers:  for (;;) {        my $chfn = &which('chfn');     &systemcall($chfn, $new_name);     # Translators: [y/N] has to be replaced by values defined in your     # locale.  You can see by running "locale yesexpr" which regular     # expression will be checked to find positive answer.     print (gtx("Is the information correct? [Y/n] "));     chop (my $answer=<STDIN>);        <-- LINE 589     last if ($answer !~ m/$noexpr/o); <-- LINE 590 }


I want to encrypt my WPF code so when I open the EXE file with softwares like 'ILSpy' or 'IL Disassembler' I couldn't see the code.  I don't want to use with any existing software but to write the encryption myself.  Who can give me a simple code which does it? (Do I need to use the 'System.Security.Cryptography' namespace?)  Thanks...


Biblatex using shorthands and numeric style - label sizes

Current situation: I'm required to cite "normative" documents (read: standards and manuals) separately from articles and books etc. Using biblatex and biber with the numeric style I'm doing that by issuing multiple printbibliography commands like so:  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} %... lots of stuff \printbibliography[type=standard,title=Standards \& Manuals] \vskip\baselineskip \printbibliography[type=manual,heading=none] \printbibliography[nottype=standard,nottype=manual]   which gives a heading Standards & Manuals, prints a list of manuals, leaves a bit of space then the list of standards and finally, under a new heading Bibliography gives books and articles etc. Thus far everything is fine, enter:  The Problem: I'm using the shorthand field in my database for the standards and manuals which works perfect as far as output within the text is concerned and sets the shorthand as the label in the bibliography and prints the details to the right of it - problem is: my shorthands are considerably longer than the labels generated by the numeric style, but even though they're in three different \printbibliography commands, everything gets indented to the maximum width of the label, making the part for books and articles look quite ridiculous.  The following shows the problem with only two separate \printbibliography (and an obviously exaggeratedly long shorthand):   Now  what I would obviously want is for each of the \printbibliography commands to only use the indentation actually necessary to accommodate the largest label appearing within, i.e. rendering the Manuals section as above, but the Bibliography section like follows:   Can anyone help me to achieve this? Or give me some pointer where to look?  The above was produced with the following MWE on an up-to-date TeXLive 2014:  \documentclass[10pt,british]{scrbook}  \usepackage{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern}  \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @manual{HowTo,     title = {How to Make the World Go Round},     shorthand = {HowToMakeTheWorlGoRound},     publisher = {The Publisher},     year = {2000} }  @article{Article,     author = {Author, A. and Buthor, B.},     journal = {Journal Title},     pages = {113--126},     title = {The Article},     volume = {65},     year = {1900} } \end{filecontents*}  \usepackage[style=numeric,backend=biber,bibencoding=utf8]{biblatex} \addbibresource{\jobname.bib}  \usepackage[hidelinks]{hyperref}  \begin{document} \let\cleardoublepage\relax \chapter{The Document} Nothing to see here, but we refer to the \parencite{HowTo} based on a principle discovered by \textcite{Article}.  \printbibliography[type=manual,title=Manuals] \printbibliography[nottype=manual] \end{document}


Automating Buffer Wizard in ArcGIS Desktop by working in Shell

I am using ArcGIS Desktop 10.x.  I am trying to automate the Buffer Wizard since I have several large sets of the data that I need to buffer at multiple distances. Doing it by hand will take a long time and be quite tedious, but I've already compared buffer times: even arcpy scripting with the buffer tool takes longer than using the Buffer Wizard by hand.   I do not have experience working in the Shell, so I am wondering whether this is feasible?


Examples (and how to generate them) of various conceptually different datasets to throw at PCA to gain better intuition for it

I've developed a solid understanding of principal component analysis to the point where I can actually write my own implementation of it in python. I fear this is the easy part where the hard part is rigorously developing an intuition for what the results will be for running PCA on a dataset and in determining whether PCA is the best method to use on my dataset.   Because the textbooks really dont go beyond defining what PCA is – they stop before telling me how to really use it, I'm looking for some advice into how I can play around with PCA to create a deeper appreciation for all its nuances.   I'm thinking I can test it on data with various covariance characteristics, i.e. random dataset, datasets with linear relationships among variables etc., but I'm not sure how to make these vague ideas concrete. Can you provide some examples of what kinds of datasets I can throw at PCA and how I can analyze the results to determine why they are what they are?


Help with simplification when proving group $G$ is abelian

I need to prove that having group $G$ where for each $a,b\in G$ the statement $(ab)^{n}=a^{n}b^{n}$ is true for three consecutive and natural $n$ numbers then the group $G$ is abelian.  The prove in the textbook I am using reads like this:  If $m, m+1$ and $m+2$ are these three consecutive and natural numbers we know that $(ab)^{m}=a^{m}b^{m}$ and $(ab)^{m+1}=a^{m+1}b^{m+1}$.  Then the proving continues like this: $a^{m+1}b^{m+1} = (ab)^{m+1} = (ab)^{m}ab = a^{m}b^{m}ab$ and simplifying we have $ab^{m}=b^{m}a$.  How was this simplification done? How did it get from $a^{m+1}b^{m+1} = (ab)^{m+1} = (ab)^{m}ab = a^{m}b^{m}ab$ to $ab^{m}=b^{m}a$?  I can see that it removes $ab$ from both sides of $(ab)^{m}ab = a^{m}b^{m}ab$ but I can't figure out why it finally comes up with $ab^{m}=b^{m}a$.


Is there any meaningful definition to afford for $\aleph_r$ (as in cardinality) where $r\in\mathbb{R}^+$? $r\in\mathbb{C}$? What about $\aleph_{\aleph_0}$? Can we iterate this? $\aleph_{\aleph_{\aleph_{\cdots}}}$  I may be throwing in bunch of rather naive/basic questions, for I haven't learnt much about infinite cardinalities. If I am referring to bunch of stuff abundantly dealt in established areas, please kindly point out.


So recently, I got a Minecraft account and wanted to play with my sister but my sister has a demo account. So I used LAN connection but every time I connect to the LAN server it comes up with io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: And I need a solution. I used direct connect and entered this: (IP HIDDEN):(PORT) I've tried: Restarting Minecraft Disabling Firewall on my sister's device Disabling all VPN's Tried multiple times Device Specs: My Computer: Windows 10 Mac Book Pro Using Minecraft 1.16.5 Vanilla Sister's Computer: MacOS Big Sur Mac Book Air Using Minecraft 1.16.5 Vanilla Demo


How to show that $C=C[0,1]$ is a Banach space

Let $C=C[0,1]$ be the space of all continuous functions on $[0,1]$. Define $\|f \|=\max \ |f(x)|$. I want to show that $C$ is a Banach space.     Below is my attempt and I was wondering if it's ok.    I know I have to show that $C$ is a complete normed space. Clearly, $\|f\| \geqslant 0$ and $\|f\|=0 \Leftrightarrow f=0$. $\|cf \|=\max~|cf(x)|=|c|\max |f(x)|=|c| \cdot \|f\|$. $\|f+g\|=\max~|f(x)+g(x)|\leq \max~|f(x)|+\max~|g(x)|=\|f\|+ \|g\|$. So $C$ is a normed space.   Next, I show that every Cauchy sequence in $C$ is convergent. Let $\{f_n\}$ be a Cauchy sequence in $C$. Let $\varepsilon \gt 0.$ Then $\exists$ an $N_1$ such that $$ \max~|f_n(x)-f_m(x)| \lt \frac{\varepsilon}{2}$$ for $n, m \gt N_1$ and $x\in[0,1]$.  But there is a subsequence $f_{k_n} $, which converges to $f$. So $\exists$ an $N_2$ such that $$ \max~\left|f_{k_n} - f\right|\lt \frac{\varepsilon}{2}$$ for each $n\gt N_2$.  Now Let $N = \max\{N_1, N_2\}$, if $n \gt N$ then $k_n \geqslant n\gt N$. So we have $$ \max~\left|f_n(x) - f(x)\right| \leqslant \max~\left|f_n - f_{k_n}\right| + \max~\left| f_{k_n} - f\right| \lt\frac{\varepsilon}{2} + \frac{\varepsilon}{2} = \varepsilon.$$  Thus, $\|f_n-f\| \to 0$ as $n\to \infty$. $\quad \square$  Thanks.


Generated HTML and jQuery issue - ASP.NET MVC

I'm generating this HTML on .cs side :

         Product	         Price	         Destination	         Updated on

         Oranges	         100	         + On Store	         22/10

         	         120	         City 1	         22/10

         	         140	         City 2	         22/10

   And by calling the controller with Ajax I add the HTML to the page like this :   $.ajax(       url:"/MainController/HTMLGenerator",       success : function (data) {       $('#mydiv').html(data); })   I also have this JS code to toggle rows :   $(".toggler").click(function(){      $('.cat'+$(this).attr('zzz')).toggle(); });   But no matter what I do, I couldn't get the link working. I guess it happens because HTML is generated at the backend. I don't know how to solve this though. Thanks in advance.


I am new in Ubuntu. First I installed Ubuntu 12.10 on my USB stick which is of 16 GB. So, it installed with 2 partitions of 9 GB and 7 GB.   Now I want to format that USB. But when I try to format it, only ext4 one does get formatted but not the partition which is the swap memory. Now on other OS my USB shows only 8.5 GB.


i have a username and a password string. How can I compare them in Android? This is somewhat what I'm looking for:  if( user== username && pass == password){ then do this  } else if(user[does not equal to]username && pass==password{ toast (invaild username.)} else if(user==username && pass[does not equal] password{toast(invaild password)} else{ toast [invaild login]}   I know that's not correct coding but the two "else if" statements is what I'm looking for. The rest is just to give a better understanding of what I'm trying to do.   The username is what's entered into a Edittext same with the Password so they are both String when i .getText.toString right?


Victim of revenge downvoting of questions

I have recently been the victim of revenge downvoting.  I think the evidence is pretty clear:    Except for the Roslyn one, these are all ancient questions.  I don't often get downvotes on questions, but it happens from time to time.  The fact that:   They came so close together Yet were cunningly separated by a short time interval Were old questions Were questions (and therefore free to the downvoter) in contrast to answers I (and I assume most people) do not ever get questions downvoted en masse   I believe this is pernicious behavior.  I hate to even bring it up, but at the minimum, attention should be brought to tactics such as these.  Do I have any recourse?  So far, this has been about 48 hours.


Are "w/o", "w/", "b/c" common abbreviations in the US?

I remember when staying a few months in the US years ago that I saw some people using the abbreviations below. However, I can't exactly remember in which contexts I encountered them, (whether I saw my teachers using them when writing something on the board, in papers or in personal notes etc.)  So my question is: Are those abbreviations below commonly used and in which contexts is it okay to use them (e.g. formal texts, personal notes,... or better only used in personal note taking?)         w/o without   w/ with   b/c because      PS: Are there similar abbreviations that are commonly used?


I have this sentence: The best engineers optimize every aspect of their lives.   Should it be "lives" or "life"?  I'm thinking lives because engineers is plural.  Thanks


Is it possible to make this workflow happen with Triggers?

We're trying create a trigger that will fire when a new contact is added to SF (that contact is created via the Hubspot connector). Is the workflow below possible through triggers / Apex code? (I'm not specifically asking for code, just to know if this is possible. The code / error I'm currently getting is posted in )  The workflow:  When a contact is created via the Hubspot connector, this should happen:    Create a person account Associate the contact with the Person account Create an opportunity associated with the Person account   When a contact is updated via the Hubspot connector, this should happen:   Update some custom properties on the Opportunity associated with the Person account Update the first name, last name, and email on the Person account    This could be a creation of a new value, or the old value could need to be updated.  Is it possible to do this? If not fully possible, then which parts might work?


Red notification light on Nexus 4, won't power on, device unresponsive

This morning my Nexus 4 wouldn't turn on, so I plugged it in, but the white battery recharging icon doesn't show up when I press Power, and holding Power doesn't turn on the phone. Instead the notification light blinks a deep red. The screen was totally unresponsive.  Lots of websites have plenty of doom and gloom hinting that red light = device is bricked, but I see no official source for this. What does this light mean?


Increase partition size on which Ubuntu is installed?

I have Ubuntu installed on a drive. The problem is it is running low on disk space. This is installed on vmware. I expanded the virtual drive and booted into ubuntu. But when I opened gparted(sudo gparted), the move/resize option is unavailable. This is the partition Ubuntu is installed on, but I need to resize it. Any ideas? I am comfortable using command line


Not able to install the vmware-workstation in Ubuntu 20.04.2 LTS (GNU/Linux 5.8.0-54-generic aarch64)

Getting Below error in the installation Extracting VMware Installer...done. /tmp/vmis.HSyzgr/install/vmware-installer/vmware-installer: line 420: /tmp/vmis.HSyzgr/install/vmware-installer/vmis-launcher: cannot execute binary file: Exec format error


What to do when your question is marked as duplicate but you don't see how so?

I recently asked , and it was marked as duplicate by a lot of people (obviously a lot more learned than me). I don't realize how so?  I tried all the methods I could understand, but I still failed. I can't post comments, because I don't have enough of reputation. What am I supposed to do? And why is the community so unsparing (downvotes for a legitimate question!)?


"All-different hypergraph coloring" - known problem?

I am interested in the following problem: Given a set X and subsets X_1, ..., X_n of X, find a coloring of the elements of X with k colors such that the elements in each X_i are all differently colored. More specifically, I am looking at the case where all X_i are of size k. Is this known in the literature under some name?  I am looking for characterizations of colorable instances and results on complexity (P vs. NP-hard). For example, for k=2, colorable instances correspond to bipartite graphs, and thus the problem can be solved in polynomial time.


camera different position/view on render

I position my camera close to my object. In "Camera Persp" I see my object very close. This is what I want. Now when I hit F12 to render my object, but it always renders from a wrong distance/position further away.  What setting might I have accidentally enabled?


Is there any 'sudo' command for Windows?

I always work on a non-administrator account on my Windows computer. Sometimes I need to install programs which requires administrator access. As I mostly use the Windows command prompt, is there a Windows command to escalate privileges, similar to the Linux terminal command sudo?


Service host tasks consuming large amount of processor

On what appears to be every other boot of my computer, I find that three service host tasks consume a significant amount of CPU cycles.    If I let the computer sit, untouched, for 10-15 minutes, these three tasks remain the greatest consumers of cpu time.  If I reboot, however, they stop being cpu hogs:    What surprises me is that I can reproduce this behavior by simply rebooting my computer, at which point the three service host tasks will resume their place as top CPU users.  I am looking for suggestions on how to troubleshoot this issue.


I am willing to install Linux Mint or Kubuntu OS on hp 4-1105dx model laptop. Have anyone tried linux previously on this model laptop. Does linux has device drivers for this model laptop.


I have dual booted to lubuntu (with Windows XP) and everytime and then I'm getting asked for my password. How do I run everything as root and not ask a password again? Ideally I wanted to run nginx but it has permission denied issues:  apathetic@ubuntu:~$ service nginx start Starting nginx: nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied) 2012/08/03 20:06:25 [warn] 4762#0: the "user" directive makes sense only if the master process runs with super-user privileges, ignored in /etc/nginx/nginx.conf:1 nginx: the configuration file /etc/nginx/nginx.conf syntax is ok 2012/08/03 20:06:25 [emerg] 4762#0: open() "/var/run/nginx.pid" failed (13: Permission denied) nginx: configuration file /etc/nginx/nginx.conf test failed


How do i cut a black and white 2D image into a blender 3d object?

I want to cut this image   Into a 3D blender object, how do i do this?


Obvious authorship and “blind” peer peview

Need to publish results of one my research in a journal. Springer’s manuscript guidelines prompt me to make a blinded manuscript containing no author information, but links in the References section ( and to my images published with explicitly advertized authorship) quickly reveal who the author is.  Should the author  formally obey the blindness rule and ignore its silliness in the conditions given,  or replace such references (at least for the peer-review time) with some stuff included directly,  or what?  Would it be acceptable to hold the paper/preprint accessible by URL (especially with links from third-party sites) during expected peer review?


Is there a way to hide commands by a player?

I have a realm with a few of my friends and i want to play the creeper primed sound at him but i am afraid he will see the command and ignore it  Im using: /playsound minecraft:entity.creeper.primed block  Version: 1.14.2


$$\int \cos^4 x\,\mathrm dx  = \int (1 - \sin^2x)^2\,\mathrm dx.$$  I tried using $\cos^2(x) + \sin^2(x)$ = 1. This was on the integration by parts section of my textbook.  The integral I came out with is given me a hard time. I double checked my work and I feel I am on the right track but I feel stuck. I tried u substitution but there is no $\cos x$ to leverage with.


Proving $A+A'B=A+B$ without truth tables

How can I prove the Boolean algebraic rule $$A+A'B=A+B$$ without using a truth table?  With the truth table, it is easy to see that the two are equal, but how can I prove it using lesser Boolean identities?


Show that it is impossible to list the rational numbers in increasing order

This is problem #6 from Section 1.2 of Ash's Real Variables With Basic Metric Space Topology.   I am asked to show that it is impossible to list the rational numbers in increasing order.   While I know it is possible to list a finite subset of the rational numbers in increasing order, I was wondering if the reason for the impossibility in this case is because there is no least element of $\mathbb{Q}$?   I mean, it's possible to impose an ordering on $\mathbb{Q}$ (correct me if I'm wrong, but it seems possible to compare any two rationals).  But the set $\mathbb{Q}$ is of course, a subset of itself, and the Well-Ordering Principle says that a set $S$ is Well-Ordered only if any subset of $S$ contains a minimal element. Since $\mathbb{Q}$ does not contain a minimal element, it does not appear that it is a Well-Ordered set.   Is this the correct idea as to why it's impossible? If not, could somebody explain to me what the correct idea is and a strategy for proving it?  Thank you ahead of time.


What is the expected value of correct placements?

I recently watched a video by Cut on YouTube called "Guess my Zodiac Sign." It's at the following link:  So, at the end, two of the people got $4/12$ correct and it got me wondering what the expected value is. They were saying they did well, but I'm not convinced that they did better than average. I will rephrase this question. Say that I have $12$ distinct cards and $12$ pots; each card corresponds to exactly one pot. Assuming we place the cards randomly in the pots, what is the expected value of correct guesses? I have attempted this question, but, I must admit, my probability skills are very rusty. There are $12!$ ways one can place the cards in the pots. I started by trying to count the number of ways one could get 0 correct. Going to the first pot, there are $11$ incorrect choices, but then with the second pot it branches. It's possible that we put pot 2's card in pot 1, so there are again $11$ choices. It's also possible that we did not do that, so there are 10 choices. I can see how we would calculate the total number of ways to get 0 correct from there, but it seems it will be very tedious. Is there are a faster/more clever way? I feel like I'm overthinking this. It would be interesting to see this done in general as well with $n$ pots and $n$ cards, however I would be completely satisfied with the case $n=12$. Thank you!


Hidden "rollover" blockquoted text is impossible to see when using Chrome (iOS)

There is no "rollover" capability with Chrome (iOS anyway), so rollover/hidden blockquoted text (marked by >!) is impossible to view when using a browser in "full site" mode:  Eg     Normal blockquoted text is fine   but the following is inaccessible when using Chrome (on iPhone)     This is not possible to see on iPhone   The field is not clickable or highlightable (to attempt copy-paste).


ERROR 1698 (28000): Access denied for user 'root'@'localhost, on MySQL 5.7

Today I've installed MySQL 5.7 on Ubuntu 18.04 after the installation it shows ERROR 1698 (28000): Access denied for user 'root'@'localhost, how to resolve this please let me know?


When attempting to check my disk usage under / I found that root did not have access to certain virtual filesystems. I also could not check the permissions on the virtual filesystem. Why is this?       lanix ~ # du -sk / | sort -rn | head     du: cannot access ‘/proc/11983/task/11983/fd/4’: No such file or directory     du: cannot access ‘/proc/11983/task/11983/fdinfo/4’: No such file or directory     du: cannot access ‘/proc/11983/fd/4’: No such file or directory     du: cannot access ‘/proc/11983/fdinfo/4’: No such file or directory     du: cannot access ‘/run/user/1000/gvfs’: Permission denied     5851640 /     lanix ~ # cd /run/user/1000/gvfs     -su: cd: /run/user/1000/gvfs: Permission denied     lanix ~ # ls -l /run/user/1000/gvfs     ls: cannot access /run/user/1000/gvfs: Permission denied     lanix ~ # ls -ld /run/user/1000/gvfs     ls: cannot access /run/user/1000/gvfs: Permission denied   From /etc/sudoers      # User privilege specification  root    ALL=(ALL:ALL) ALL


I know there are some similar posts on adding review queues to the mobile web page. However, this is regarding the Stack Exchange Android app. I really would like to review posts and edits from the Android app, however this isn't included in the app yet. I'm not sure how it would be implemented; maybe there could be a button or something for review. Could we please see this?


Is there any difference between "Leave Open" and "Skip" in Close Votes Reviews?

I often review Close Votes in my favorite SE site ever since I got the close vote privilege and I have seen both Leave Open and Skip in the queues. What is the difference between both. From my understanding, marking it as "Leave Open" counts as a review, and "Skip" doesn't. Does marking as "Leave Open" add any reopen vote that negates a close vote or something like that?


I have three cpp file.I want test that template class declaration and definition in different file.but i got failed

this is my code snnippet  // test.cpp #include <iostream> #include "test.h" int main(){   Test<int> test = Test<int>();    test.add(1);   test.print(); }  // test.h #ifndef TEST #define TEST template <typename T> class Test{ public:   T info;   void print();   void add(T i);  }; #endif // testT.cpp #include <iostream> #include "test.h"  template<typename T> void Test<T>::print() {    std::cout << info << std::endl; } template<typename T> void Test<T>::add(T i) {   info = i; }   and i run this exec  g++ -c testT.cpp && g++ test.cpp -o a.out testT.o   i get this error  Undefined symbols for architecture x86_64:   "Test<int>::add(int)", referenced from:       _main in test-e89092.o   "Test<int>::print()", referenced from:       _main in test-e89092.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)  // in my macOS   i want to declare template class in head file and define method in other file,so i only compile the define method file not head file if i change the definition of method in template class. what should i do?


Motivation behind the definition of compact sets.

A subset $K$ of a metric space $X$ is said to be compact if every open cover of $K$ contains a finite subcover.  I want to know what's the motivation for constructing such sets?  I know, this definition leads to lots of interesting result, yet how people arrived at such construction?  And, why open cover gets the priority? I mean, particularly, why open sets are chosen?


How to find 5e DM materials online, preferably for free?

The reason I'm asking this is because of, quite simply, the Monster Manual. As a DM, I know I'm probably gonna need it, but not all the time. So instead of buying it physically, I want to see if there is a free online way to access it. If you could also find a way to get Xanathar's Guide to Everything the same way, that would be great as well. I'm not talking about campaign books by the way. Someone suggested  as a alternative question with answers, but again, I'm not talking about campaign books (yet)


I want to shuffle a few keys around with XKB. (Why? On a laptop where some keys are inconveniently located.) I currently use xmodmap:  keycode 110 = Prior keycode 115 = Delete keycode 112 = Next keycode 117 = Insert keycode 119 = End keycode 118 = Home   Instead I want to use XKB and assign different symbolic names for certain physical keys, rather than assign different keysyms to certain keycodes. ( is why.) I want keycode 110 to send PGUP instead of HOME, keycode 115 to send DELE instead of END, etc. The rest of the configuration must not be affected (so PGUP is to keep sending the keysym Prior, etc., and all other keys remain as they are).  How can I change the assignment of these specific keycodes? I'll load a file with xkbcomp somefile.xkb $DISPLAY, what do I need to put in somefile.xkb?


Can somebody spot the error in this java program

My program should check whether the input is a palindrome or not. The given program compiles and runs successfully. Program prints reverse string correctly but gives wrong output. Please help!  class Palindrome {     public static void main(String[] args)     {            String str,revStr="";         System.out.println("Enter something to check if it is a palindrome");         Scanner sn = new Scanner(System.in);         str = sn.nextLine();         for(int i=str.length()-1;i>=0;i--)         {             revStr+=Character.toString(str.charAt(i));         }         if(revStr==str)         {          System.out.println("The string "+str+" is a Palindrome");          System.out.println(revStr);         }         else         {             System.out.println("The string "+str+" is not a Palindrome");             System.out.println(revStr);         }     } }   output:  Enter something to check if it is a palindrome nitin The string nitin is not a Palindrome nitin


What does "Partial Upgrade" when installing OwnCloud client from third party repository?

I have installed owncloud-client from Ubuntu repositories. But it opens a popup on every startup, which informs about a new version. Therefor I decided to get the update from a 3rd party repository and I have added deb http://download.opensuse.org/repositories/isv:ownCloud:devel/xUbuntu_12.04/ / so my sources.  But now my Software Updater opens a dialog titled Not all updates can be installed and suggests to make an Partial Upgrade. What does that mean, what will the partial upgrade do with my Ubuntu and what consequences do I have to expect?


How was Loki able to visit Earth without using the Bifrost?

During Thor's interrogation, Agent Coulson exits the room and Loki enters and informs him that his father Odin had passed away and that he cannot undo his banishment. Not only does he communicate with Thor, but he goes to the area where Mjölnir is embedded in the rock and attempts to lift it, with SHIELD scientists and agents completely oblivious to his presence. Loki shows a similar ability when he converses with 'The Other' and when he manipulates Erik Selvig. Is this a part of Loki's illusion powers or another one of his abilities that has not been addressed? How was he able to visit Earth without using the Bifrost?


Using differentiation under integral sign evaluate $\int_{0}^{\frac {\pi}{2}} \ln (\frac {a+b\sin x}{a-b\sin x}) \cdot \frac {dx}{\sin x} $  My Attempt: Given $$\int_{0}^{\frac {\pi}{2}} \ln (\frac {a+b\sin x}{a-b\sin x}) \cdot \frac {dx}{\sin x}$$ Let, $$F(a)=\int_{0}^{\frac {\pi}{2}} \ln (\frac {a+b\sin x}{a-b\sin x}) \cdot \frac {dx}{\sin x}$$ Differentiating both sides w.r.t $a$ $$\frac {dF(a)}{da}=\int_{0}^{\frac {\pi}{2}} \frac {a-b\sin x}{a+b\sin x} \times \frac {(a-b\sin x)-(a+b\sin x)}{(a-b\sin x)^2} \times \frac {dx}{\sin x}$$ $$\frac {dF(a)}{da} = \int_{0}^{\frac {\pi}{2}} \frac {-2b\sin x}{a+b\sin x} \times \frac {dx}{\sin x}$$ $$\frac {dF(a)}{da} = -2b \int_{0}^{\frac {\pi}{2}} \frac {dx}{a+b\cdot \frac {2\tan (\frac {x}{2})}{1+\tan^2 (\frac {x}{2})}}$$ $$\frac {dF(a)}{da} = -\frac {2b}{a} \int_{0}^{\frac {\pi}{2}} \frac {\sec^2 (\frac {x}{2})}{\tan^2 (\frac {x}{2}) + \frac {2b}{a} \tan (\frac {x}{2})+1} dx$$ $$\textrm {put} \tan (\frac {x}{2}) = t$$ $$\textrm {so}, \sec^2 (\frac {x}{2}) dx = 2dt$$ $$\textrm {Also, the limit of integration becomes 0 t0 1}$$ Now, $$\frac {dF(a)}{da} = -\frac {4b}{a} \int_{0}^{1} \frac {dt}{t^2 + \frac {2b}{a} t +1 } $$ $$\frac {dF(a)}{da} = -\frac {4b}{a} \times \frac {a}{\sqrt {a^2 - b^2}} [\tan^{-1} \frac {1+\frac {b}{a}}{\sqrt {\frac {a^2 -b^2}{a^2}}} - \tan^{-1} \frac {\frac {b}{a}}{\sqrt {\frac {a^2 - b^2}{a^2}}}]$$ How do I evaluate further?


preg_replace for a template which excludes the specified set of words

I need to transform text file changing variable types by prepending them with specified namespace. But I need to skip base types such as array or string.  So the text  /**  * @param ParamType $param  * @return ReturnType  */ public function SomeFunction(ParamType $param) {    ... }  /**  * @param array $param  * @return string  */ public function OtherFunction($param) {    ... }   Should be converted to  /**  * @param \My\Namespace\ParamType $param  * @return \My\Namespace\ReturnType  */ public function SomeFunction(\My\Namespace\ParamType $param) {    ... }  /**  * @param array $param  * @return string  */ public function OtherFunction($param) {    ... }   My transformation now looks as follows  $classFileText = preg_replace(     [         '/@param\s+([A-Za-z]+)\s+\$(\w+)/',         '/@return\s+([A-Za-z]+)/',         '/@var\s+([A-Za-z]+)/',         '/\s+function\s+([A-Za-z]+)\s*\(\s*([A-Za-z]+)\s+\$(\w+)/',     ],     [         '@param \\' . $typesNamespace . '\\\\$1 $\\2 ',         '@return \\' . $typesNamespace . '\\\\$1',         '@var \\' . $typesNamespace . '\\\\$1',         ' function $1(\\' . $typesNamespace . '\\\\$2 $\\3',     ],     $classFileText );   This works, but base types are prepended as others.  I've tried to solve this using this tip:   And many others... But I failed.  p.s. I came across this, making the transformation of the WSDL schema into a set of classes to access the SOAP service


How many Dwarves are left in Middle Earth?

I read The Hobbit and the LOTR trilogy a while back, and watched the LOTR trilogy movies (but not The Hobbit movie). I don't remember ever getting a clear grasp of how large the Dwarven population in Middle Earth is. I know, from there being several full cities, that there was a substantial Elven population left, but I can't recall there being that many living Dwarves as of the fellowship of the ring.  Is there a canonical answer to how many Dwarves are left in Middle Earth during the time of the fellowship? Additionally, is there a canonical answer to how many Humans, Elves, and Hobbits were around at that time (to give me a better grasp of how large the Dwarven population was as a proportion of the total population of Middle Earth, the size and population of which I've never been entirely clear on)?


Is there any way to find comma separated string in where clause in SQL

I am looking a way to find out comma in a string in where clause. DECLARE @List VARCHAR(max) = 'Hi, going, home for now' SELECT  @List = COALESCE(@List + ',') fname   FROM [dbo].[table] where  fname IN ( @List)


I was trying to find the square root of a complex number $w=u+iv$, I assumed $z^2=(x+iy)^2=w$ Now solving this equation I got two values of $x$ and two values of $y$ in terms of $u$ and $v$. So, I get a possible of 4 solutions. But fundamental theorem of algebra says it has exactly two roots. What are these two roots?  My work $x=\pm \sqrt {\sqrt {u^2+v^2}+u}$ and $y=\pm \sqrt {\sqrt {u^2+v^2}-u}$


Old Sci-Fi Novel where man uses horn to enter another world, learns he is a "god" of sorts?

I read this one in the very early 1980s, but I believe the story is much older – 50’s or 60’s.  It’s very “pulp novel” in its themes and style – lots of action and adventure, little in the way of complex relationships or hard science.  To use a film analogy, it’s more “popcorn movie” than art house cinema.   I believe this was the first in a series of novels, but I’m not entirely sure about that point. Here’s what I can remember:  ● The protagonist - an old man - discovers a horn inside a house.  I’m not sure how he came by the horn, or if he lived in the house or was thinking about buying it.   When he plays the horn a certain way, he accidentally opens a portal to another universe.  The man, whose life is pretty miserable (nagging wife, health issues, and I think perhaps even some legal troubles) soon enters the portal.     ● Once there, he discovers a tropical beach paradise.   Everyone is healthy, young, and beautiful, natural food is superabundant, and the world has a “fountain of youth” effect on the old man.  He begins to grow younger, gradually regaining his hair, his teeth, and so on.   In a few days, he is restored to his physical peak.  ● Eventually, the man learns that he is not who he thought he was.  He learns he is part of a family or race of people that create pocket universes as their own personal playthings and rule them as god-like beings (albeit mortal ones).   The laws of science and physics in these worlds function at the whim of the creator.  Thus, in the tropical world, people do not age or get sick, being effectively immortal short of accident or violence.   The man further learns he is not only one of these creators, but this world was his own creation.  ● I can’t remember how the man came to Earth originally, but I think it was some sort of accident or mishap.  Perhaps a form of banishment by other creators.   The people who create these universes are depicted as often cruel and vain, a bit like Greek gods.  The protagonist was himself very much like that, but his time on Earth as the person he thought he was has changed his nature to one more aligned with compassion and benevolence.  ● The only other point that I can remember is, that there is a massive, infinitely tall mountain/spire in the center of the world.   The man and I believe some companions climb this spire/mountain for several days in order to reach his fortress or kingdom above the tropical paradise.  It may even be another world (not sure about that).  Any insight would be welcome!


Google Sheet conditional formatting, highlight just 1 cell in a range based on another cell

How can I highlight a cell in a range, if its value is equal to a different cell?  Example: Random numbers in range A5:A20. I want to highlight a cell in this range if it is equal to B4.       [  A  ][  B  ][  C  ]   [ 3 ] [ 4 ]         24   [ 5 ]  20   [ 6 ]  24 [ 7 ]  18   In this case I would want only cell A6 to highlight as it equals B4.  I feel like it should be easy, but can't get it to work.


Where can I find my suggested edits to a post if they were rejected in peer review?

I have .  I was curious whether my suggested edits (which I made obviously with best intentions) where accepted or not. I think they were rejected, because I cannot find them in the edit history.   I am generally aware how sugegsted edits work and have read the FAQ, but cannot find in the FAQ where my (suggested, but rejected) edits are stored now (for me to review) - if they are still stored at all.


Isomorphism $H_n(D^n, S^{n - 1};A)$ and $A$

The homomorphism $a \mapsto [[a \cdot f]]$ is supposed to be an isomorphism between $A$ and $H_n(D^n, S^{n - 1};A)$ for any homeomorphism $f: \Delta^n \to D^n$. I have proven that it is well defined and injective, but why is it surjective?  The group $H_n(D^n, S^{n - 1};A)$ is generated by elements of the form $a \cdot \sigma + b \cdot \tau + c \cdot \partial(\kappa)$ where $\sigma: \Delta^n \to D^n$, $\tau: \Delta^n \to S^{n - 1}$ and $\kappa: \Delta^{n + 1} \to D^{n + 1}$ and I do not see how an element of this form represents the same equivalence class of $[[m \cdot f]]$ for some $m \in A$. We can write $\sigma$ as $f f^{-1} \sigma$ to get $f$ in there, but I don't see that working out. Any hints?


Which characters (if any) are currently aware of Rey's origin?

After a second viewing of The Force Awakens, I noticed there are a number of scenes that cut away after one character or another asks a question about who Rey is, which made me wonder who, if anyone, knows (or seems to know) her origin, lineage, or history.   Do any of the characters recognize Rey or know of her origin, or is everyone as in the dark as the audience? Does Rey know her own origin?  For example, on Jakku,     Rey tells BB-8 that her origin, like his mission, is also "classified"   and later on Takodana,     Maz Kanata asks Han Solo who Rey is, followed by a cut. In the following scene, after Rey's lightsaber-induced vision, Maz comes down to find her and tells her that Rey "already knows the truth" that her family won't return, but that Luke Skywalker might.   and      During Kylo Ren's first tantrum, when the First Order official mentions "a girl" with Finn and BB-8 it makes Kylo Ren totally flip out, force-choking/dragging the official across the room in order to ask, "What girl?" followed by another cut.   Finally, if     Han does know her origin, and mentioned it to Leia offscreen, then that might explain Leia's reaction to Rey at their first meeting.


I want to pin a .desktop file to dock. That file opens terminal and runs the command npm start. It opens an application, so Right Click > "Add to favorite" doesn't work. Any ideas how to pin that type of file?


I have a batch file to unzip a file, the path of the zip file and destination folder is hardcoded. I want to unzip different zip files to different folders. I don't want to edit the code all the time, Please some one help on this.   @echo off  setlocal  cd /d %~dp0  Call :UnZipFile "G:\tett\" "G:\test\test.zip"  pause  exit /b   This is my batch file, here I am giving the paths of the source and destination. I want to pass the source and destination as arguments to run this batch. Thanks in Advance!


Can an analytic function on the open unit disk blow up near the boundary?

Can we have a map $f$, holomorphic on the open unit disk, such that $|f(z)|\rightarrow \infty$ as $|z|\rightarrow 1$? I think not, (at least I can't think of any such map), but I'd like to be able to prove this.


I deleted my documents and downloads folder. How can I get them back. I don't want them to be like any other folder, I would like it to be like how it used to be where it shows on the side of the filesystem. Any idea on how i can get it back like that.


Chat in Chrome on Windows suddenly doesn't scroll anymore

In the last 24-48 hours the chat in Chrome on Windows has stopped auto scrolling once it goes off the bottom of the screen.  I tried all the usual fixes after suspecting my cats had hit some key combo breaking things, until a number of other people in Root Access confirmed they were seeing the same thing, with intermittent results (it started working again for some users after they restarted Chrome - this hasn't worked for me).  I'm not seeing the same issue on Linux.


Missing space on Flash drive (USB) - Can't reformat it also

I have a flash drive which is given as a freebie. I don't know who manufactured it. It got infected by a virus. I am trying to reformat it but I am always receiving a "Windows was unable to complete the format" message. When I checked its properties, the used space and free space is 0 bytes. On disk management, it says that the flash drive has raw file system with 8mb capacity. The status of the flash drive is "Healthy (Primary Partition)". However, the real capacity of the flash disk is 1gb.  How can I recover the missing space? I tried using diskpart to clean and delete the 8gb partition, then create a new partition hoping that it will fix the problem but to no avail. Until now, I also can't reformat the flash disk. I also tried using BootIce and Active KillDisk, but it also didn't fix the problem. On the other hand, SpaceSniper claims that the location of my flash drive is not a valid path. I also tried using Lexar but the drive letter of my usb won't even appear on its list. Meanwhile, HDD Low Level Format Tool says that my device cannot be accessed because it is smaller than 65535 sectors.  I am already out of options. How can I fix my flash disk? How can I format it and reclaim the missing space? (I am using Windows 7.)  The following are displayed when I used KillDisk:  Name: Generic Flash Disk 2.0  Version: 2.10  Mode LBA: Yes  Cylinders: 1  Tracks per Cylinder: 255  Sectors per Track: 63  Total Sectors: 16384  Bytes per Sector: 512  Total Size: 8.000 MB (8388608 bytes)  (What happened to the other space? Why only 8 bytes can be seen?)


When I chat, I'll sometimes hear "I'mma ..." as in:      "I'mma go now" or "I'mma open that for you"   I am not sure how it's written, I have never gotten a precise answer when I've asked.  Where does it come from, and what does it mean?


Suppose $A$ is a complex number and $n\in \mathbb{N}$ such that $A^n = (A+1)^n= 1$, then the least value of $n$ is?   I really doubt this question is correct because if $A= A+1$ then $1=0$, which is obviously false. If it correct, I'd like to know the reason(s) and how do I begin solving the problem (full solution not needed).


Can I travel into the U.S. with nexus even though my passport has expired?

I'm looking to travel into the states for the weekend (I live in Canada). My passport has expired but I have nexus. Can I still use nexus even if my passport has expired?


How do I copy the contents of one stream to another?

What is the best way to copy the contents of one stream to another? Is there a standard utility method for this?


Difference between $\mathbb R^m\times\mathbb R^n$ and $\mathbb R^m\oplus\mathbb R^n$

I'm reading an analysis book and sometimes the author uses several denotations: $\mathbb R^{m+n}$, $\mathbb R^m\times\mathbb R^n$ or $\mathbb R^m\oplus\mathbb R^n$(for me they are essentially the same thing).  The first two spaces are homeomorphic to each other, I think when he uses $\mathbb R^m\times\mathbb R^n$ he want to emphasize  some open subsets $U\subset \mathbb R^m$ and $V\subset \mathbb R^n$. However there is another problem, these spaces are diffeomorphic? if don't, we can't say they are essentially the same in the context of real analysis.  If my reasoning is right so fat, What I really don't understand is why he uses the direct sum $\mathbb R^m\oplus\mathbb R^n$. Does he want to emphasize the underline operation between the two spaces? this is not clear in the book.   Am I right? what is the difference between  $\mathbb R^m\times\mathbb R^n$ and the external direct sum $\mathbb R^m\oplus\mathbb R^n$ in this context?


How write form validation to custom content type form?

I am using the drupal 7 content type like my form i dont know how write the form validation to that particular form.


Working in Eclipse IDE, values that should equal not equal

I am reasonably experienced with programming, but not specifically in Java. I am coming across the following error when working in eclipse. My code is the following:    I have used the debug function, and it reports that carbonPrefix is pent, but that carbon stays at 0 throughout. Like I said, I am a novice to Java and Eclipse, so I may not be using the debug function to it's full extent.   For anybody that's interested, this the start of code where you input the name of an alkane and it tells you the formula. It worked in Javascript and I'm just trying to translate it into Java.  Thank you all so much!


How to make custom reserved keywords in python3

I want to know whether I can make a normal text to have a functionality like a reserved word. For example : "and" is a reserved keyword in python and what I want to do is, give the same power as of "and" to another thing, let's say "abc". So w, i = 0,0 if w == 0 and i == 0:    print("True")  w, i = 0,0 if w == 0 abc i == 0:    print("True")  will be the same. Anyone have any idea if this is possible and how can I do that. Thank You.


Show that $\cot \frac{\pi}{2m}\cot \frac{2\pi}{2m}\cot \frac{3\pi}{2m}...\cot \frac{(m-1)\pi}{2m}=1$

Prove:     $$\cot \frac{\pi}{2m}\cot \frac{2\pi}{2m}\cot \frac{3\pi}{2m}...\cot \frac{(m-1)\pi}{2m}=1$$   This is a roots of unity problem. I managed to show a similar example for $\cos$ by the following:  $z^m-1=0$ with roots $1,e^{2\pi /m},...,e^{2(m-1)\pi /m}$ Put the roots into a polynomial with linear factors:  $(z-1)(z-e^{2\pi /m})...(e^{2(m-1)\pi /m})=z^m-1$ and divide by $z-1$ to get:  $$(z-e^{2\pi /m})...(e^{2(m-1)\pi /m})=1+z+...+z^{m-1}$$  Evaluation at $z=1$ with some complex conjugation (I multiply 2 conjugated equations) yields the result.  I'll be happy to expand on my current work if required.  Edit: Thought I'd add a similar