How can I parse multipart/form-data parameters in JSP?
How to upload files to server using JSP/Servlet?
Let $M$ be a smooth manifold and let $N$ be a manifold with boundary. If $dF_{p}$ is an isomorphism, then $F\left(p\right)\in\mbox{int}M $. In Star Trek canon, what's the range of operation of Transporters? By "range of operation" of the transporter, I mean "distance up to which it could transport" or "distance from which it could transport something to its own location". The range of operation would have increased with time without a doubt but I want to know the average range at any period. It'll be better if you provide full stats of all times. How can I wrap text around a bottom-right div? A user just posted his question a second time here on meta after the first was closed as a duplicate. I wrote a comment on the second post, explaining that the answer to his question is in the linked duplicate and that he shouldn't circumvent the closure process by asking a second identical question.  When the second post was closed as a duplicate my comment was automatically deleted. As far as I understand this is a heuristic that removes obsolete comments, which it considers every comment that contains a link to one of the duplicates.  This heuristic is too aggressive and removes comments that go beyond "Duplicate here: link". I suggest that it should be changed to only remove the default duplicate comment, and not any comment that was edited by the owner nor any free-form comment that happens to include a link to the duplicate.  This also triggers for any comment that contains the word "duplicate" and link to any question, not only the question being chosen as duplicate, which makes this much worse. Parenthesize what I have highlighted If a student needs a reference letter for graduate admissions or that sort of thing, some profs will ask the student to write a reference letter for themself before sending it off to the prof for minor edits and finalization. This seems to be a somewhat common practice given that some graduate schools ask for several letters of recommendation even when it is not reasonable for the student to have developed deep connections with that many professors, and that most professors are just too busy to write quality letters for all the students that ask them to.  Is it acceptable to write most of the reference letter and have the prof make minor edits? Do academic institutions frown upon this practice? Would it be considered an academic offense if a student wrote a reference letter for themselves and had a prof sign it? What is difference between int.class and Integer.TYPE in java? When two phrases are pronounced alike but have different spelling and meaning, can we call them homophones?  e.g. "ice-cream" and "I scream", "nitrate" and "night rate", "that's tough" and "that stuff".  Or is there another term for them?  What linguistic phenomenon distiguishes these near homophones?  I've checked the putative duplicate at  but it isn't exactly what I'm asking here. Modifying C string constants? How can I bump other users' unanswered questions? I'm looking around for answers to my questions on several Stack Exchange sites and the good boy that I am I don't want to ask duplicate questions.  Often I find that there are other people who asked the same questions, sometimes years earlier, but still don't have an answer. I'd figure I could bump these back to top, but if I don't have enough rep for a edit (or comment), how would I do that?  Or, in that case, I should just post a 'newer' version of the same question? What is the difference between IQueryable and IEnumerable? What is the difference between IQueryable&lt;T&gt; and IEnumerable&lt;T&gt;?    See also  that overlaps with this question. PostgreSQL CPU 100% after configure Wal log shipping hot standby I have configured Hight Avaliabily WAL Log Shipping Hot Standby (SSL) with one node. But after I configure, both hosts (primary and secondary) take 100% CPU usage. The most strange is because I have only one database called &quot;TESTE&quot; with one table called &quot;EXAMPLE&quot; to check if replication was OK. The replication worked perfectly but I don't understand why my CPU takes 100% usage because I don't have any application connect on my cluster. I ran HTOP command and get this results: Image 1 - Primary Server HTOP Info  Image 2 - Secondary Server HTOP info  S.O. version: No LSB modules are available. Distributor ID: Debian Description:    Debian GNU/Linux 10 (buster) Release:        10 Codename:       buster  PostgreSQL version: postgres (PostgreSQL) 12.3 (Debian 12.3-1.pgdg100+1)  Primary server postgres.conf file: max_connections = 100 SSL = on shared_buffers = 2GB work_mem = 10485kb maintenance_work_mem = 512MB dynamic_shared_memory_type = posix effective_io_concurrency = 200 max_worker_processes = 4 max_parallel_maintenance_workers = 2 max_parallel_workers_per_gather = 2 max_parallel_workers = 4 wal_level = replica wal_buffers = 16MB max_wal_size = 200MB min_wal_size = 80MB checkpoint_completion_target = 0.7 archive_mode = on max_wal_senders = 3 wal_keep_segments = 8 hot_standby = on hot_standby_feedback = on random_page_cost = 1.1 effective_cache_size = 6GB default_statistics_target = 100  pg_stat_activity info:  pg_stat_archiver info:  pg_stat_replication info:  If I stop postgres service in both servers the CPU still has 100% usage. Anyone can help me? I'm trying to understand the derivation of the equations for the logistic regression. I'm following the cs229 notes:    At some point in the derivation, in the notes we need to maximize the log-likelihood of the parameters:  ℓ(θ) = log L(θ) = y log h(x) + (1 - y) log(1-h(x))  In the notes, after the derivation we get:  $\frac{\partial}{\partial \theta_j}$ = (y $\frac 1 {h(x)}$ - (1 - y) $\frac 1 {1 - h(x)}$) $\frac{\partial}{\partial \theta_j}$h(x)  Shouldn't this be:  $\frac{\partial}{\partial \theta_j}$ = (y $\frac 1 {h(x)}$ + (1 - y) $\frac 1 {1 - h(x)}$) $\frac{\partial}{\partial \theta_j}$h(x)  I've been looking at this for a while and I can't see where this minus sign is coming from...  Thanks for your help! If a trait would be advantageous to an organism then why hasn't it evolved yet?  Conversely, if a trait is not advantageous or mildly disadvantageous, why does it exist?  In other words why does evolution not make the organism more "perfect"?    This is a general question that would be applicable for any kind of trait. Please keep the answers precise and scientific.   Read this meta post for more information: Where did Harry's parents get all of their money from? So, at the beginning of Harry Potter, Harry is found to have a large vault of gold at Gringotts. Where did all of that money come from? What did James (I assume it came from him, as Lily was muggle-born, and they were both young) do to get all of that cash? What is a "locked" post? A post can be locked.   What does it mean to lock a post? Who can lock a post? When should a post be locked? Why can a discontinuous function not be differentiable? I don't really understand why a discontinuous function cannot be differentiable.  In Stewart's Calculus, the definition of a function $f$ being differentiable at $a$ is that $f'(a)$ exists. Earlier it gives the definition of the derivative as $f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}$. It also has a theorem that if $f$ is differentiable at $a$, then $f$ is continuous at $a$. There is also a definition that a functions $f$ is continuous at a number $a$ if $\lim_{x\to a}f(x)=f(a)$.  Take for example the very simple function:  $$ f(x)=\begin{cases} x+1 &amp; x\geq0, \\ x &amp; x&lt;0.  \end{cases} $$  It is discontinuous at $x=0$ (the limit $\lim_{x\to 0}f(x)$ does not exist and so does not equal $f(0)$), but if I find the derivative using the limit above, I get the left and right limits to equal $1$. So therefore, the derivative exists.  According to the book, the function shouldn't be differentiable at $x=0$ as it has a discontinuity (continuity is a necessary condition of differentiability). What am I doing/understanding wrong? I've sometimes seen this construct, used to avoid repetitive handwriting, but I don't even know if it's proper English.  If it is, what is the name of this construct? I have no idea what to search for when looking it up...        Don't forget to buy eggs.   &emsp;"&emsp;&emsp;      "&emsp;&emsp;"&emsp;"&emsp;yogurt.   &emsp;"&emsp;&emsp;      "&emsp;&emsp;"&emsp;"&emsp;milk. Terminal not opening up after upgrading python to 3.7 I have upgraded python to version 3.7 and now my terminal is not opening up.  I followed this post   Commands I ran are as follows,  sudo apt-get install python3.7 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2 sudo update-alternatives --config python3   Entered 2 for python3.7  I can't open terminal and run commands.  My ubuntu version is, Ubuntu 18.04.2 LTS Save entire process for continuation after reboot I developed an algorithm for a fairly hard problem in mathematics which is likely to need several months to finish. As I have limited resources only, I started this on my Ubuntu 12.04 (x86) laptop. Now I want to install some updates and actually restart the laptop (the "please reboot" message is just annoying).  Is there a way to save an entire process including its allocated memory for continuation beyond a reboot?  Here is some information about the process you might need. Please feel free to ask for further information if needed.   I called the process in a terminal with the command "./binary &gt; ./somefile &amp;" or "time ./binary > ./somefile &amp;", I cannot really remember. It's printing some debug information to std::cerr (not very often). It's currently using roughly 600.0 kiB and even though this will increase, it's unlikely to increase rapidly. the process runs with normal priority the kernel is 3.2.0-26-generic-pae, the cpu is an AMD, the operating system is Ubuntu 12.04 x86. it runs since 9 days and 14 hours (so too long to cancel it ;-) )