Isometric embedding of embedding of Schwarzchild metric

I am reading through this article   about the special case of the positive mass theorem in general relativity. I do not understand the section below:  In particular what does it mean to isometrically embed an $n$-dimensional Riemannian manifold $(M,g)$ in a higher dimensional space, and where does the embedding given for the  $n=3$ Schwarzschild metric come from? I assume we are referring to the standard definition of isometric embeddings using pullbacks of covariant tensor fields. I assume the author refers to the map between Riemannian manifolds $f: \mathbb{R}^3-B_{2m}\to\mathbb{R}^4$ given by $f(x,y,z)=(x,y,z,\sqrt{8m(r-2m)})$. I have tried to check if the Schwarzchild metric on $\mathbb{R}^3$ is the pullback of the flat metric on $\mathbb{R}^{4}$, however this doesn't appear to be true...


I would like to have that Materials in unity as well, but they are grayed out in there, what should I do?


Why is there a difference in Energy required to raise the velocity of an object by one unit when it is fast than when it is slow

Why would i need more energy to raise the velocity of an object from 2 m/s to 3 m/s, than raising the velocity of the same object from 1 m/s to 2 m/s. Note: I am not talking about the math related to this question, I am talking about the physical intuition.  Thank you in advance.


What i'm trying to do is create a new model that will have certain features:  public class GenericGoal {     public int _id { get; set; }     public List<String> Type_of_Goal { get; set; }     public DateTime Date { get; set; } }   my quick and small question would be, how would I prepopulate the Type_of_goal field?


Have I correctly calculated my takehome pay?

In some months, I'll start working in the United States. I come from a country where calculating the net salary is REALLY complicated, and where the various taxes are paid at multiple stages (e.g.: some are paid by my employer before the money arrives into my bank, others are paid by me at the end of the year, ...).  The system of income tax in the U.S. looks to me really simple, and I wanted to be sure that I correctly understood it, so here I am.  Suppose that my gross salary (as specified on the contract) is 100k USD. The standard deduction is 6,300 USD. The taxable income is 100k - 6,300 = 93,700 USD. Suppose I don't qualify for any exemption.  This puts me in the 28% tax bracket. I'm single, so I have to pay a federal tax consisting of 18,481.25 + (93,700 - 90,750) * 28% = 19,307.25 USD (the numbers come from ).  That's all I have to pay. I'm not interested in knowing whether the numbers are exact, rather I'm interested in knowing if there are other taxes that I have to pay (e.g. state taxes).  Also, an important question: I will personally pay the federal tax every year and my employer will send me the gross salary, right?


Ubuntu 17.10 kernel panic not syncing: VFS: unable to mount root fs on unknown-block(0,0)

I am getting a kernel panic "not syncing: VFS: unable to mount root fs on unknown-block(0,0)" with kernel 4.13.0-43 on Ubuntu 17.10. I can boot just fine with 4.13.0-41. After a successful boot using 4.13.0-41 I can get 4.13.0-43 to boot if I boot in text mode and remove the quiet and splash options. Anyone have any ideas as to what is happening? My disk drive is a 250Gb disk with one partition (I accepted the default options when I installed the system).


Transit visa requirement for Kenya citizen going trough Switzerland to US

I am Kenyan going to U.S do I need transit visa in Switzerland?


Comprehensive list of activation functions in neural networks with pros/cons

Are there any reference document(s) that give a comprehensive list of activation functions in neural networks along with their pros/cons (and ideally some pointers to publications where they were successful or not so successful)?


Algebraic dual of $\mathbb{R}^{\mathbb{N}}$

As in the title, my question is: What is the algebraic dual space of $\mathbb{R}^{\mathbb{N}}$ - the space of all $\mathbb{R}$-valued sequences. I think that it should be the direct sum $\bigoplus_{\mathbb{N}} \mathbb{R}$, via the natural duality, but I cannot proof it.


How to integrate the product of two or more polynomials raised to some powers, not necessarily integral

This question is inspired by my own answer to a  which I tried to answer and got stuck at one point.     The question was:     HI DARLING.      USE MY ATM CARD, TAKE ANY AMOUNT OUT, GO SHOPPING AND TAKE YOUR FRIENDS FOR LUNCH.      PIN CODE: $\displaystyle \int_{0}^{1} \frac{3x^3 - x^2 + 2x - 4}{\sqrt{x^2 - 3x + 2}} \, dx $      I LOVE YOU HONEY.      Anyone knows? Are we gonna get an integer number?     My attempt:  Does this help?     $$\frac{3x^3-x^2+2x-4}{x-1}=3x^2+2x+4$$   (long division)   \begin{align*} I&=\int\frac{3x^3-x^2+2x-4}{[(x-1)(x-2)]^{1/2}} dx = \\ &=\int\frac{(3x^2+2x+4)(x-1)^{1/2}}{(x-2)^{1/2}} dx = \\ &=\int 3(u^4-4u^2-4)(u^2+1)^{1/2}du \times 2 \end{align*}   after the substitution   \begin{gather*} (x-2)^{1/2}=u\\ du=\frac1{2(x-2)^{1/2}}dx\\ u^2=x-2\\ (x-1)^{1/2}=(u^2+1)^{1/2} \end{gather*}   Update:  may help us proceed.    I tried to proceed:     $$6\int (u^4-4u^2-4)(u^2+1)^{1/2} du = 6\int ((t-3)^2-8)t \frac{dt}{2u}$$   after $u^2+1=t$ and $dt=2udu$   \begin{align*} u^4-4u^2-4 &= (u^2+1)^2-(6u^2+5) \\ &= (u^2+1)^2-6(u^2+1)+1 \\ &= ((u^2+1)-3)^2-8 \end{align*}   I wonder whether this question can be solved from here?    Update:   This has been getting a lot of views, and I think most people came for the sort of problem mentioned in the title (where I got stuck) rather than the original problem itself.  Keepin this in mind, I'm reopening the question and here's the kind of answers I expect — Solutions to the original problem are good, but I'd prefer solutions that continue from the part where I got stuck — the polynomial in $u$ — that's the sort of problem mentioned in the title.


Vector Ruggedness Measure (VRM) tool does not add output map to display?

I'm trying to use Vector Ruggedness Measure (VRM) tool with ArcMap 10.2.2 an the tool runs somewhat smoothly, but the output raster won't show in the chosen folder. Tool creates slope and aspect rasters and the output raster shows in the result window, but when I click add to display from result window, nothing happens.   Any ideas what I'm doing wrong? Is there any way to fix this?


When I go to view questions on Stack Overflow I find that there are many questions with tags that I know nothing about. So of course I start filtering the questions by tags from my favourites.  It would be nice if I could set my default questions page to only show questions which contain at least one of my favourite tags.  I realise there's an advanced search facility that I could use but I don't think it accepts any kind of 'or' like syntax. For example, a search for tags , ,  will only return questions that have all three of those tags. What I really want is to see all questions which contain one or more of those tags, and to be able to set this as my default 'Questions' page.


counting the number of elements in a conjugacy class of $S_n$

I want to know if there is some systematic way (using some combinatorial argument) to find the number of elements of conjugacy classes of $S_n$ for some given $n$.  For example, let's consider $S_5$. If the representative for the conjugacy class is an $m$-cycle then Dummit and Foote gives a formula on how to compute the number of elements in the conjugacy class. This is not a problem. But what about when the representative is not an $m$-cycle. As an example we can consider the conjugacy class that gives rise by the partition $2+3$ of $5$. A representative for the conjugacy class would be $(1 2)(3 4 5)$. How can I find the number of such elements?.  Question?:      Does $ {5\choose 2}\cdot { 3 \choose 3}\cdot 2$ give me what I want?   Reasoning: For the first parenthesis I need to choose $2$ elements out of $5$ and for the second set of parenthesis I need to choose $3$ out of the remaining $3$ (noting that they can't be repeats). Finally we can permute these two parenthesis in two ways, thus giving me the above number.   Is this reasoning correct?. If not how does one find the number of elements of such conjugacy classes.  As always, any help is greatly appreciated.


Unwanted space when scaling down an iframe

I'm just trying to scale down an iframe:   <iframe src="http://www.swpc.noaa.gov/rt_plots/kp_3d.html" scrolling="no"  width="600" height="500"             style="padding: 0px; margin: 0px; zoom: 0.25; -moz-transform: scale(0.25); -moz-transform-origin: 0 0; -o-transform: scale(0.25); -o-transform-origin: 0 0; -webkit-transform: scale(0.25); -webkit-transform-origin: 0 0;"> </iframe>right content<br>bottom content   Scaling itself works fine but my problem is that after scaling the iframe still requires the original space. Setting margin and padding to 0 did not help. Firebug selects the scaled area only when I hover the iframe element. How can I remove the space at the right and at the bottom? What I really want to is to keep the original size but only scale down the content so that it still fills the space. But obviously it's not possible to access the CSS of the iframe's content. Any advice is appreciated. Best regards - Ulrich


How to understand the use of the semicolon in the sentence?

Men, particularly, spend hours of their leisure time installing their own fireplaces, laying out their own gardens; building garages and making furniture.   I do not understand the use of the semicolon (";") after "gardens" in the sentence above, could someone help?   Thanks


While using the "defrag /c" command in cmd, does Windows also defragment SSDs?

While using the "defrag /c" command in cmd, does Windows also defragment an ssd? Defrag /c will defragment all hardrive in the system, however I am not sure if it includes SSDs. Any help would be greatly appreciated!  thanks


What are the odds of getting heads 7 times in a row in 40 tries of flipping a coin?

I know if you flip a coin $7$ times, the odds of getting $7$ heads in a row is $1$ in $2^7$ or $1$ in $128$.  But if you flip a coin $40$ times, what are the odds of getting $7$ heads in a row in those $40$ tries? I only want to know the first time there are $7$ heads in a row and not count duplicates. Thanks.


I have a scene with an object I modelled and UV-mapped. When rendering, the object is very dark. The light in the scene doesn't seem to have any effect, either in rendered, shaded or solid mode. Here's what I tried:  adding sun, spot and other light types with no success. changing the light strengh to millions or other values moving the light all around adding a simple cube and it don't behave differently  I'm a beginner to the subject so I must be missing something very obvious. Here is the scene in material preview:  render:  Any pointers ? EDIT: don't why it was closed, the linked question doesn't help at all ? EDIT2: closing and reopening the file solved the problem, no idea why it behave like this.


If $F(0,0)=0$ and $F(x,y)= \frac{xy}{x^2+y^2}$ for $(x,y)\neq (0,0)$ then $F$ is differentiable at $(0,0)$?

Let $F:\mathbb{R^2}\rightarrow \mathbb{R}$ be a function, such as : $$F(x,y)=\begin{cases}        0 & (x,y)=(0,0) \\       \frac{xy}{x^2+y^2} & (x,y)\neq (0,0)    \end{cases}$$      Is $F$ differentiable at $(0,0)$?   My attempt :  Consider the limit, $\lim_{(x,y)\rightarrow (0,0)} F(x,y)$ along the line $y=x$. The limit equals to $\frac{1}{2}$. However, $F(0,0)=0$. Hence $F$ is not continuous at $(0,0)$ which implies that $F$ isn't differentiable as well.  Is this approach okay ?


About Abel's Theorem about power series.

I am reading "Introduction to Analysis Vol. 1" by Sin Hitotumatu.    There is the following theorem in this book.       Theorem:           $f(z) := \sum_{n=0}^\infty a_n z^n$.     The radius of convergence of $f(z)$ is $1$.     $\sum_{n=0}^\infty a_n = f(1)$ converges.     $\alpha \in (0, \frac{\pi}{2})$.     $A := \{z \in \mathbb{C} | |z| < 1\} \cap \{z \in \mathbb{C} | -\alpha \leq \arg(1-z) \leq \alpha\}$.           Then, $\lim_{z \in A, z \to 1} f(z) = f(1)$.     Let $B := \{z \in \mathbb{C} | |z| < 1\}$.    Please tell me an example such that $\lim_{z \in B, z \to 1} f(z) \ne f(1)$.


I am using \IfStrEqCase to choose between various options within an environment. In the MWE below, if the line with the actions to be performed for any non-recognised option (\ifqsbreak{}.....\fi) is commented out, everything works fine. If I include the line, I get an error message (Missing number, treated as zero). I have tried replacing \IfStrEqCase with a simple \if statement, and it works as I would expect it to.      \documentclass[a4, 11pt]{article}     \newcommand{\Docform}{TQ}      \newcounter{question}     \newcounter{subquestion}     \newif\ifqsbreak     \usepackage{xstring}      \newenvironment{SubQuestion}[1][nobreak]% The optional argument determines whether the question should be kept as a block     {%       \refstepcounter{subquestion}       \IfStrEqCase{\Docform}       {         % Question format for TQ         {TQ}         {\subsection*{Q\thequestion.\thesubquestion}}%       }       % All other options       [         \ifqsbreak{}\else\begin{minipage}[t]{\linewidth} !In a minipage \fi       ]     }     %-----------------------------------------------------------     % This is the closing statement for the SubQuestion environment     %-----------------------------------------------------------     {       \IfStrEqCase{\Docform}       {         {TQ}         {}       }       % Closing statement for all other options       [         \ifqsbreak{}\else\end{minipage}\fi       ]     }      %------------------------------------------------------      \begin{document}      Some opening text      \begin{SubQuestion}       Some text in the sub-question     \end{SubQuestion}      \end{document}   I guess that there is some interference between \IfStrEqCase and the \begin{minipage} because if i remove the \begin{minipage} there is no problem. But I don't see why the \begin{minipage} should even be invoked, given that the code should skip over everything within the [...].


sub- and superscripting together in text mode

I want to use sub- and superscript together in text mode. I've found this macro to solve the problem  \def\textsubsuperscript#1#2{\rlap{\textsubscript{#1}}\textsuperscript{#2}}  But it doesn't works well when the subscript is long. In that case the subscript overlaps with the following character.  What could be the macro to  enable sub- and superscripting in all cases?


How do I 'ToString()' an enum in C++? In Java and C# I would just call ToString. enum Colours {     Red =0,     Green=1,     Blue=2 };  I need to create a string like: "Invalid colour '" + colour + "' selected."


Cardinality of set of strict total orders on the reals

I'm revising for an exam - two questions:  i) What's the cardinality of the set of strict total orders on $R$?  This is a subset of the power set of $R$ (because $|R|=|R.R|$), so I know its cardinality is less than this - but I can't find a way to show its cardinality is equal to this, i.e. an injection from the power set into the set of strict total orders.  ii) What is the cardinality of the set of countable subsets of F, where F is the set of functions from $R$ to $R$?  Cardinality of F is same as cardinality of power set of $R$ (one way given by reasoning above, and the other way by the fact that $|P(R)|=|2^R|=|R^R|$. The set of countable subsets of this I am not sure how to calculate though.


What is the dimension (or units) of a CDF and PDF?

Given a continuous random variable $X$, what are the units of the PDF and CDF of $X$?


Converting input to int gives an incorrect number

With the code below, when I write what the input is to the console, it returns 54 if I enter 6. I'm not sure why this is happening, and I would like to know.  namespace VariablePractice {     class Program     {         static void Main(string[] args)         {             Console.WriteLine("Hello, World.");             int input = Convert.ToInt32(Console.Read());             Console.WriteLine("You entered: " + input);             Console.ReadKey();         }     } }


I've installed windows 10 on a new pc, with a secondary hard disk containing my onedrive folder, taken from my old pc. I've configured onedrive in order to use that folder, and it's working fine.  The problem is that when I open Explorer I can see two onedrive icons on the sidebar, both of them pointing at the same folder.  How can I remove the duplicated onedrive entry from the sidebar?


Question: How to pop-up alert to a user when he/she navigate away from page without saving the Records in custom visual force page?  Details:  I have a custom visual force page i.e. "My Members" that have the following code:  <apex:page Controller="MyMember" > <script>  function mytest() {  if (!confirm('Are you sure to naviagte without saving Records?')) {   }  else {return true;} }  window.onbeforeunload = mytest(); </script> <apex:form id="form">    <apex:pageblock title="Member List" >  <apex:pageBlocktable value="{!CheckSelectedList}" var="memLst" > <apex:column title="Select" > <apex:inputCheckbox value="{!memLst.checked}" ></apex:inputcheckbox> </apex:column> <apex:column headerValue="Name" > <apex:actionRegion > <apex:outputField value="{!memLst.KeepSelected.Name}" > <apex:inlineEditSupport event="ondblClick" showOnEdit="btnSave,btnCancel" hideOnEdit="btnAddSession" /> </apex:outputField> </apex:actionRegion> </apex:column>  </apex:pageBlocktable>  <apex:pageblockButtons> <apex:commandButton value="Save" action="{!save}" id="btnSave"  style="display:none" />  <apex:commandButton value="Cancel" action="{!cancel}" id="btnCancel"  style="display:none" reRender="PanelId" /> </apex:pageblockButtons>   </apex:pageblock> </apex:form> </apex:page>   In my VF Page, I have a in-line edit support enable.  The issue is:  Whenever, I want to alert user when they edit records and navigate without saving the record using JavaScript (Please see above the JavaScript code I was trying). It doesn't seem to be working. Am I missing anything? Is it possible to do this using only JavaScript in Customer Visual Force Page? Need: I want when user edit the Record and leave the page without saving my function will execute and show the pop-up message.   My thoughts:  I was also thinking to execute my JavaScript function by using apex class? Should it be possible? Or any other technique how to invoke popup when the user navigate without saving the Edit records?


I am a programmer with little mathematical background who started to study statistics/ML recently. I quickly stumbled upon the random variable term and it was hard for me to understand why in statistics it is called random. For me a truly random variable must be impossible to predict, in other words it must have uniform distribution. If a variable is not uniformly distributed we can somewhat predict it. In fact in programming a random number generator is considered bad if distribution of it's generated values is not quite uniform. So I was surprised to see that we can build a good model and predict "random variables" in statistics. Looks like terminology clash to me.  I just want to check if my understanding of the random variable is correct. So my questions are:   Is it true in statistics that any variable which values cannot be precisely predicted is called random variable regardless of it's distribution? If we have a good (but not perfect) model for predicting a random variable $Y$ is it still random? Or let me try to say it more formally. if we have some dependence $Y = f(X) + \epsilon$ and a model $\hat{y} = \hat{f}(x)$ which has little but non-zero error on both test and training samples is $Y$ still a random variable? Here the $\hat{y}$ is a predicted (but not observed) value of the variable $Y$; $\hat{f}$ is an approximation of $f$; $x$ is any value of independent variable $X$ and $\epsilon$ is an irreducible error variable which depends on some unknown events (basically the deviation of $Y$ around the $f(X)$).   Thank you.


ctrl+alt+f8 pulls blank screen. What is this for?

Ctrl+Alt+f1 through Ctrl+Alt+f6 will pull up terminals and Ctrl+Alt+f7 pulls up the xserver.   But Ctrl+Alt+f8 pulls a blank screen with a blinking cursor.   I can't type anything. Does this serve a purpose?


Should moderators only delete when comments specifically break rules?

I am probably going to get massively downvoted for this but I feel strongly about it.  First a bit of background:  As a modern programmer you frequently work in a collaborative environment, not in a dark, dank broom closet. In this environment you get questioned about your tactics and methods continuously and are expected to always produce meaningful, constructive advice in return, even if the other individual imposing a question has flawed logic.  This is why I refuse to downvote on SO stating that I would rather talk to the OP/answerer and tell them what I see as wrong and work it out with them, concluding that downvoting creates an environment where knowledge is not passed on in a constructive manner. That is my own personal opinion and I expect no one else to share it.  However, back to the point:  Questioning and providing feedback has been going on fairly well for about the last 1 1/2  years until about now when moderators seem to be deleting my comments to a certain individual who basically finds my comments either non-constructive, offensive or spam.  I am not going to beat around the bush about this and instead just come out with it, this is a follow up to this:  and the entire situation that surrounds it.  I seem to have a misunderstanding of what exactly is constructive.  You see a couple of times today I have commented on answers by this guy asking about his logic, i.e.  I asked him why he said that distinct() was out dated without documented reason and why the aggregation framework was better despite distinct() being able to use indexes while $group in the aggregation framework not.  And here:  where I reasoned that the answerer did not truly read the question properly and that the OP was looking for a specific scenario.  In the end both of these threads were moderated, essentially (I believe) because I was able to prove my point so instead of launching into verbal abuse he just got a moderator to delete the comments.  He, however, didn't flag when he proved me wrong and questioned my logic on this question:   In all fairness I flagged his comments on that question asking the moderators why he was allowed to flag my comments, get them deleted but then do it to me.  I didn't flag them because I was offended or found the comments non-constructive. I wanted to show that this is part of SO.  But even here:  he seems to think he is right to do it while others are wrong to question him.  At the end of the day I feel as though sometimes moderators should tell people that if a comment is not specifically offensive, spamming or non-constructive it should be left alone.  I could have just downvoted and not told the guy nothing what was wrong, but I didn't. I decided to reason with him and for it I am the one being moderated?


Viewed links on Hot Network Questions unclear

When you visit a Hot Network Question, if the question appears in the list again, the link is styled differently to show that the question link has been previously visited. However, when visiting the different SE sites, they are styled differently from one another. I understand each site is styled differently, however it is difficult to know which questions have already been viewed depending on what site you're currently on. On codegolf, for example, viewed links are darkened so in the image below I have viewed the first 3 questions, but not the next 2. On worldbuilding, it is the other way round - viewed links are made lighter meaning, in the image below, I have viewed the first 6 questions, but not the next 6. Other sites also have different styles; sometimes the viewed link has been changed so little, it is difficult to distinguish between a itself and a non-viewed link. At a glance, this makes it difficult to see which questions are new, as it depends on what site you're currently on to determine what styling you should be looking for. My question is, is there anything that can be done to the styling across all sites to ensure consistency? codegolf  worldbuilding


Who's got the other end of this unix socketpair?

I want to determine which process has the other end of a UNIX socket.   Specifically, I'm asking about one that was created with socketpair(), though the problem is the same for any UNIX socket.  I have a program parent which creates a socketpair(AF_UNIX, SOCK_STREAM, 0, fds), and fork()s.  The parent process closes fds[1] and keeps fds[0] to communicate. The child does the opposite, close(fds[0]); s=fds[1].  Then the child exec()s another program, child1.  The two can communicate back and forth via this socketpair.  Now, let's say I know who parent is, but I want to figure out who child1 is.  How do I do this?   There are several tools at my disposal, but none can tell me which process is on the other end of the socket. I have tried:    lsof -c progname lsof -c parent -c child1 ls -l /proc/$(pidof server)/fd cat /proc/net/unix   Basically, I can see the two sockets, and everything about them, but cannot tell that they are connected. I am trying to determine which FD in the parent is communicating with which child process.


Unable to boot in to Ubuntu after Windows fall creator updates

I have been booting in to Ubuntu 16.04 from the bios successfully that is until the windows 10 fall creator updates now prevents me doing so. My BIOS mode is UEFI and my Boot options are as follows:  Boot Option Menu  OS boot Manager  Ubuntu <TOSHIBA MQ01ABF050>  ubuntu <TOSHIBA MQ01ABF050>  Boot From EFI File   Selecting the first Ubuntu in the BIOS shows the following error msg and opens Windows which is not what I want. Selecting the second ubuntu just opens Windows. Please note this error message was only viewable for a second at least and disappeared so I took a video and copied details down.  Malformed binary after Attribute Certificate Table datasize: ? SumOfBytesHashed ? SecDir->Size: hashsize: ? SecDir->VirtualAddress : 0x00000068 Failed to loadimage : Invalid Parameter start_image() returned invalid Parameter   Windows works fine in normal startup.   I have read many posts/answers such as this one  but am really not sure what I should do for my particular system.  This is my system partition after windows updates.   This my UEFI Boot order in BIOS system configuration.  UEFI Boot Order OS boot Manager Internal CD/DVD ROM Drive USB Diskette on Key/USB Hard Disk USB CD/DVD ROM Drive ! Network Adapter   I tried re-ordering with Secure Boot Disabled but no luck.  I do understand I may have to either reinstall Grub and Ubuntu but some professional advice would be greatly appreciated. Thank you.


javascript when click other place close the box

How to write a javascript like this website on top menu bar, left button 'StackExchange'. When i click it, will show a box. When i click other place, the box will be closed.  $('html').click(function() {  `var display_value = document.getElementById("message_box").style.display;`  `if(display_value == "block")`      `document.getElementById("message_box").style.display = "none";`   });  function show_message_box(){     document.getElementById("message_box").style.display = "block"; }  Thank you!


What methods are there to make the Linux filesystem case-INSENSITIVE ?  I have asp.net applications developed on Windows, but there are always issues with capitalization/spelling on mono when putting it on Linux.  One way is to mount a localhost SMB share to /var/www. Are there any others ?


I often add pictures to my questions. Most of the time they come out the right size. Well, that used to be OK always, up until I started posting screenshots taken by my mobile. For example, this one:  This way, I'm sure you'll agree it is huge, decidedly too big, it takes up the whole body of the question, I mean. At present, the only way I have to resize it is the following code: (Click image to enlarge)  [][1]  which I do not remember, and always have to recover from . Is there a simpler, less HTML-hacky (and, I'd expect, more Markdown-based) way of resizing it? PS The output of the above code is: (Click image to enlarge)


How much gigabytes of space will windows 7 32 bit version take after installation on the hard disk?

I want to know how much space (in gigabytes) will a clean installation of windows 7 32 bit version take after installation.


In a multicore cable, what is the nylon "string"?

I am using 4 core shielded cable. However, there is a strand of what I assume is nylon running parallel to the conductors. A bit like this   ()  What is it for?


Chaining multiple obj files and make them as a movie

I am trying to using blender to do scientific visualization. Currently, I have the obj files that changing over time (around 250 obj files).   I want to change them in to a movie, so that each frame will have one obj file that showed and the whole movie will have 250 frames.  Anyone know how to do it with blender?  ****UPDATE****  The solution with obj files posted in the link is no longer able to work since my version is 6.74. And it only works for 6.62 and the solution script is also removed, so I am not able to work with the solution anymore. It would be nice if someone can provide me the script here.


What does things all went south mean in the following paragraph?  The app has been available in the Google Play store since November 12, apparently with Google's blessing, and Cyanogen says "hundreds of thousands" of users have installed it already. But things all went south on Wednesday, when the Cyanogen team apparently received an email from the Chocolate Factory informing them that the CyanogenMod Installer violated Google Play's terms and conditions. --   I'm really confused by what this idiom means. Kindly help me out.


Should papers under review be listed in CV?

First, I know this question has been asked already  but was never answered. I am applying for an assistant professorship position (in CS) and due to overloaded teaching duties over the last years, I did not produce many papers. Currently, I am trying to compensate for this by submitting a lot of papers, which are under review. In my CV, I want to show the selection committee that I am actively working on research and actively submitting papers by listing these papers but I am not sure how they will be considered. If you were a member of the committee, how would you receive this?


What are recursive triggers? How can recursive triggers be controlled?

What are recursive triggers? How can we control them, or prevent infinite recursion?  Are these any risks inherent in them, and any limits that we should be aware of?  Please explain with an example.


How may I reference the script tag that loaded the currently-executing script?

How can I reference the script element that loaded the javascript that is currently running?  Here's the situation. I have a "master" script being loaded high in the page, first thing under the HEAD tag.  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <script type="text/javascript" src="scripts.js"></script>   There is a script in "scripts.js" which needs to be able to do on-demand loading of other scripts. The normal method doesn't quite work for me because I need to add new scripts without referencing the HEAD tag, because the HEAD element hasn't finished rendering:  document.getElementsByTagName('head')[0].appendChild(v);   What I want to do is reference the script element that loaded the current script so that I can then append my new dynamically loaded script tags into the DOM after it.  <script type="text/javascript" src="scripts.js"></script> loaded by scripts.js--><script type="text/javascript" src="new_script1.js"></script> loaded by scripts.js --><script type="text/javascript" src="new_script2.js"></script>


Common practice for references to articles with different spellings of author's names

It quite known that the transliteration of names of non-latin-based languages is quite ambiguous: a known example is Chebyshev (where at least 8 different transliterations are accepted, not counting incorrect spellings).  Now suppose that I want to cite three works by the same author: one published in French in one spelling (call it SP1), another in English in another spelling SP2, and the third was published only in his native language (the correct transliteration of the name, according to the current rules, would be SP3).  What is the common practice in this case?  If I preserve the historical spelling of these articles, then it seems that they were written by three different authors.  If I choose one spelling for all three references (I'm tempted to choose SP3), then it historically inaccurate and could lead to problems with finding the referenced article (not all search engines use flexible enough to take into account different spellings).  Any advice would be welcome.


Do I need dual video card to use my computer and TV monitors at the same time?

I use my TV monitor to stream video while I'm working on my computer screen. My computer is about to crap out.  Do I need to purchase a dual video card in order to make this work or will just one video input and one HDMI port be enough to run them at the same time? I don't care if they show the same or separate images...I can always work split screen, I just need to be able to SEE them both at the same time.


I have built a little daemon in Java and I would like to run it as a service under Unix (e.g. Debian 5). I have read that there is a possibility of using a Java wrapper, but isn't there any other option which is easier to implement? Can't I just use a Unix command such as xxx java -jar program.jar?


Where is the "provide a link from the web" for image uploads gone?

Previously, I could give links to images on the web and they would be uploaded as shown in the old UI screenshots in this answer:   However as of 2018-11-8, the link from "You can also provide a link from the web" part is gone:    Is there some workaround? That was a very good feature.  Chromium 70 Ubuntu 18.04.


Why isn't the derivative of $e^x$ equal to $xe^{(x-1)}$?

When we take a derivative of a function where the power rule applies, e.g. $x^3$, we multiply the function by the exponent and subtract the current exponent by one, receiving $3x^2$. Using this method, why is it that the derivative for $e^x$ equal to itself as opposed to $xe^{x-1}$? I understand how the actual derivative is derived (through natural logs), but why can't we use the original method to differentiate? Furthermore, why does the power rule even work? Thank you all in advance for all of your help.


Configuring LaTeXila to build with PdfLaTex and Biber

How do I go about setting up LaTeXila to be able to run Biber, and how do I set up the PdfLaTeX/Biber/PdfLaTeX(x2)/View Pdf cycle in LaTeXila?  I tried to set up LaTeXila adapting the solutions I found  on stackexchange, and  and  on youtube, but I did not manage to. Following these instructions, I  only managed to set up TexMaker and TexStudio to build my thesis with PdfLateX and biber, but the GUI of both editors has problems with scaling and hi-dpi monitors on linux.


Using Plane Mesh as LightSource/Hide in Render?

I am Trying to make an Intro Sequence with Plane Meshes to Light my Text. Is there a possibility to restrict the rendering of these lighting planes, and yet still use them as a Light Source?


App for making interactive mockup or GUI on ipad?

Are there any apps for iPad that let me construct a graphical user interface either wysiwyg or otherwise and play with it interactively (obviously without any application logic or data)?  There are a couple apps that let me construct "linked mockups" where tapping a certain region on a slide takes me to another slide, but I'm looking for something more advanced that has various GUI widgets, and I am happy to do programming, as long as it is done 100% on iPad.   Web app suggestions are welcome too as long as they work excellently on iPad.


How to define the tensor product via an initial morphism?

I am just getting to know some category theory.   My understanding of the "universal property" (based on  Wikipedia article) is that it is characterized in terms of an "initial morphism" or "terminal morphism". As an example, suppose $\mathcal{B}\in \text{Set}$, $\text{Vect}$ the category of vector spaces over some field, $\mathcal{F}:\text{Vect} \to \text{Set}$ the forgetful functor, and $V_{\mathcal{B}}$ a complex vector space with basis $\mathcal{B}$. Then the fact that a vector space is free over its basis implies that given $W\in \text{Vect}$, there is a unique $\tau \in \text{Hom(Vect)}$ such that the following diagram commutes:  $$\begin{array}{c} \mathcal{B} & \overset{g}{\longrightarrow} & \mathcal{F}(V_{\mathcal{B}})& V_{\mathcal{B}}\\ & \searrow_{f} & \downarrow_{\mathcal{F}(\tau)} & \downarrow{\tau} \\ &&\mathcal{F}(W) & W \end{array}$$  Similarly, we can define the direct sum of vector spaces by the below diagram, where $\Delta: \text{Vect} \to \text{Vect}\times \text{Vect}$ is the diagonal map:  $$\begin{array}{c} U,V & \overset{g_1, g_2}{\longrightarrow} & \Delta(U\oplus V )& U \oplus V\\ & \searrow_{f_1, f_2} & \downarrow_{\Delta(\tau)} & \downarrow{\tau} \\ &&\Delta(W) & W \end{array}$$  In learning about the tensor product recently, I learned that it is defined via a universal property with respect to bilinear maps. But I am not able to nail down what the relevant functor is. In a diagram like:  $$\begin{array}{c} U\times V & \overset{\iota}{\longrightarrow} & \mathcal{F}(U\otimes V )& U \otimes V\\ & \searrow_{f} & \downarrow_{\mathcal{F}(\tau)} & \downarrow{\tau} \\ &&\mathcal{F}(W) & W \end{array}$$  $f$ and $\iota$ should be bilinear maps somehow, but what category does $U\times V$ belong to, and what is the functor $\mathcal{F}$?


Isn't the Big Bang contradictory with the existance of singularities in black holes?

So it's my understanding that the current models predict that a super massive object will collapse beyond the event horizon into a singularity of infinite density.  My question is the following: isn't such a prediction contradicted by the observable universe, since we observe expansion from the Big Bang? How could a singularity form if at some point in time there was a much more massive and dense object (the Universe) that did not remain or achieved singularity but inflated ?  edit 1: Or in other words, as Tom B. suggested [but see edit 2]:      IF the universe was inside of its own event horizon, which seems   reasonable given its huge mass and tiny size just after the big bang,   how did it escape?   edit 2 [edited a bit the initial question, comments below]: I believe this question is different from  question, because I'm not suggesting that the forces leading to black hole formation would counteract the Big Bang.   I'm indicating that there are two potential instances  of singularity in the Universe, the Big Bang t0, and black-hole singularities. The Big Bang singularity (if it ever existed) is not stable and can be observed to have degraded into inflation.  Similarly, shouldn't this observation lead one to think that a black-hole singularity, if formed, would lead to a similar inflation? I understand that the black-hole environment is not homogenous whereas the big-bang conditions were mostly homogenous, but from both singularities' referentials would that matter?


How do modern CPUs treat memory operations?

How does a modern CPU treat memory reads and writes on the hardware level? With old 8-bit architectures all memory locations are read and written to one byte at a time, but how do modern CPUs that have much wider data buses treat 8-bit memory? What would a modern CPU like an x86 or ARM based CPU do if it needs to read and write a value in memory which width is less than it's data bus width? AFAIK modern architectures read and write memory in chunks, so would it read and write several memory locations at a time then?


What is the difference between exception and exemption?

This has been asked before but apparently the thread is shut down.  I did review this question at:    However, what about when someone says, "I will make an exception for ....".  They don't say they will make an exemption which this thread implies would the correct use.  Example:  "I normally charge $20 to get in, but I will make an exception for you since you are so nice."


How to get a random number in a specific range

I know it is asked many times, but all of them are mixed with another questions that make it hard to understand. However I want to use Math.random to get a random number in 0-10.  In fact the random number will be used as index number of a list.  What I have done so far:   int random = Math.random(0,9); // Obviously does not work


Purpose of the optional argument of \linebreak[]

What is the purpose of the optional argument of \linebreak? What is the difference between \linebreak and \linebreak[1]?  MWE:  \documentclass{article}  \begin{document}  test\linebreak test   test\linebreak[1] test  \end{document}


I am attempting to create a Quick Action using LWC without using Aura however I am getting a error. I was reading the documentation  When I change the js-meta.xml for action Type <?xml version="1.0" encoding="UTF-8" ?> <LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> <apiVersion>52.0</apiVersion> <isExposed>true</isExposed> <targets>    <target>lightning__RecordAction</target> </targets> <targetConfigs> <targetConfig targets="lightning__RecordAction">  <actionType>Action</actionType> </targetConfig> </targetConfigs> </LightningComponentBundle>   Error Invalid element name:  actionType  One of the following is expected:  hasStep objects property propertyType supportedFormFactors  Error indicated by: {http://soap.sforce.com/2006/04/metadata} with code:xml(cvc-complex-type.2.4.a)


Is Azkaban the Only Prison in the Magic World?

The only prison that I can remember being mentioned in Harry Potter is Azkaban.  Some simple research indicates one person was imprisoned for owning Sphinxes and Hagrid was sent there, apparently as a precautionary measure, after the re-opening of the Chamber of Secrets.  This implies that even though living in Azkaban is a terrible ordeal, that it's possible to be sent there for smaller crimes.  Are there other prisons in the magical world, or is Azkaban the only one?  And if there are, has JKR ever made any comments about why one would be sent to Azkaban as opposed to another prison?  Are there also prisons that might be more like a "minimum security" setup without dementors for lesser crimes?


I was wondering what is the purpose of piping the downloaded file by curl into sudo -E bash - in the following shell:   curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -


Which Details Are Required For Style.css File Header?

Which theme details are absolutely required for your style.css file header?  I'm developing my first theme for personal use, so do I really have to include things like a license, license uri, author, author uri, etc.  WordPress Docs just give an example, but they don't reference what's required. Does anyone know?  /* Theme Name: Twenty Thirteen Theme URI: http://wordpress.org/themes/twentythirteen Author: the WordPress team Author URI: http://wordpress.org/ Description: The 2013 theme for WordPress takes us back to the blog, featuring a full range of post formats, each displayed beautifully in their own unique way. Design details abound, starting with a vibrant color scheme and matching header images, beautiful typography and icons, and a flexible layout that looks great on any device, big or small. Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready Text Domain: twentythirteen  This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */


The installation of Ubuntu 14.04.5 server was successfully finished. I type my username and then hit Enter. At the next row Ubuntu requests the password but it doesn't take any input except Return and new row.  I am new on Ubuntu and grateful for any help.


How prove this $x^3<\sin^2{x}\tan{x},x\in\left(0,\dfrac{\pi}{2}\right)$

show that     $$x^3<\sin^2{x}\tan{x},x\in\left(0,\dfrac{\pi}{2}\right)$$ have nice methods? Thank you    my try: $$\Longleftrightarrow \cos{x}\cdot x^3<(\sin{x})^3$$  let $$f(x)=\cos{x}\cdot x^3-(\sin{x})^3$$ $$\Longrightarrow f'(x)=-\sin{x}\cdot x^3+3\cos{x}\cdot x^2-3(\sin{x})^2\cos{x}$$


When is it best to use the stack instead of the heap and vice versa?

In C++, when is it best to use the stack? When is it best to use the heap?


How to make cut in cylindrical shape without braking up roundness?

I'm recently start learning blender and i have a trouble with crating cuts in cylinder with subsurf modifier without breaking up roundness. Anyone have a idea how to model this kind of piece(picture 1)?


Reputation is not updated when merging chat accounts

I had 2 accounts, e.g:  Account 1 having : 1000 reputation. Account 2 having : 50 reputation.    After merging these two: the reputation while on the Stack Overflow site shows the updated Reputation i.e. 1050, whereas in chat it shows reputation as: 1000.


Redirect www.domain.com to sub.domain.com

I'm trying to redirect www.domain.com to sub.domain.com except when url is www.domain.com/something and in that case keep it that way. I couldn't find any solution on the google and anytime I try to implement this in my own, I get www.www.domain.com. Thanks in advance!  Options +SymLinksIfOwnerMatch Options -Indexes  RewriteEngine on RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]


Number of solutions of an arithmetic function's equation

Say, an equation is given below \begin{equation} 2\pi(x) - \pi(2x)=\omega(x) \end{equation}  where $x$ is a positive integer, $\pi(x)$ is the prime-counting function, and $\omega(x)$ is the number of distinct prime factors of $x$.  I would like to know if this equation holds for finitely many values of $x$ or infinitely many.  If one uses asymptotic formula (from number theory) it can be written that \begin{equation} \omega(x) \sim \ln x / \ln \ln(x) \end{equation} (from )  and  \begin{equation} \pi(x) \sim x/\ln(x), \end{equation} so the above equation can be rewritten (after simplification) as \begin{equation} 2x\ln(2)=\ln(x)\ln\ln(x)\ln(2x) +f(x) \end{equation}  where $f(x)$ is an error term.  If  I plot left side (which is linear, supposed to be a straight line) and right side(a curve),assuming $ f(x) $ is 100% accurate, then the equation implies(?!) that the right will intersect left side. Since line can intersect a curve ($ln  $ function) finite times, so there are finite intersection point. So, can I say that there are only finitely many values of $x$?  graph example-   here f(x) is assumed as x + sinx  without the f(x)-


What is the Relationship between the Rank and the Number of Eigenvalues?

for (a) it says it can't be rank 1 because there is only one non zero eigenvalue? I understand it can't be 0 or 3 but I don't understand how you can conclude we have 2 just by knowing how many eigenvalues we have.


Is there a proper place to let people know about software related Kickstarter projects

I am currently backing an open source JavaScript presentation framework that I use and believe is one of the best available.  I am leaving out the name here on purpose as I don't know what proper etiquette or the rules are about this.  I am not the creator, author, nor am I associated with this project in any way other than I am currently using the framework.  I would really like to see the project get funded as it will accelerate development of this project to even better functionality and will enable the group behind the framework to create a series of learning videos.  Is there a proper way to point the vast StackOverflow community to this project as I believe there would be a very large group of developers who would be interested and could use this open source software.


Grep -H not always returning file path when two matches are on the same line

I am using grep to recursively look through files and pull out all strings matching a pattern. I want to print the file path: matched string.   -H should print the file path for each entry  -o should print just the matched string, omitting everything else on the line I don't want  -r recursive search.   I run:  grep -Hro [pattern] .   Most of the matches print with the filename, however a few just print the matched string. Are -H and -o mutually exclusive in that -o is trimming the filename?  Sample Output:   ./path/foo.txt: foo ./path/bar.txt: foo ./path/baz.txt: foo foo ./path/baz.txt: foo   The 4th foo match should also have a file associated with it, but it is not being printed.   I am getting behavior similar to this , however I am using the -H flag, and the "/dev/null" solution does not work either.  $ grep --version grep (BSD grep) 2.5.1-FreeBSD   EDIT:  After further exploring each match where the regex was not getting the file name, they all occur when two strings are matched on the same line.  For example this text file  foo foo sometext foo foo   Outputs  ./path/foo.txt: foo ./path/foo.txt: foo foo ./path/foo.txt: foo   Anyone know a solution to get both matches to print a filename?


plateaus and local minima in deep learning

Why training deep learning models is more likely to suffer from plateaus than local minima?   Could anyone illustrate it.


How can a written language develop with unspoken letters?

English is a language in which you write quite a few letters that you do not pronounce, or you write letters in one order and pronounce it in another.   For example, centre. It is pronounced /ˈsɛn.tə(r)/, so you say e before r, but you write it the other way around. Or Google: /ˈɡuːɡəl/; you say e before l, and then you write it the other way around.  One example of a letter written but not spoken would be practically. You say practic-ly.  There are quite a few examples of that. But I don't see why those things seem to develop.  I am a German, and (most of the time, with a few exceptions) we speak all the letters written (or at least significantly change the pronunciation of the other letters at some points).


socket is not connected Android to pc tcp

I'm at a loss here.  I have an Android client trying to connect a server on my pc.  It is an actual device not emulated. On sending data I am getting SocketExceptions.  I am connected to the same network as the pc and the port is forwarded. I'm not sure where the issue is now. heres the stacktrace   07-05 11:20:06.876 21128-21587/com.apklegion.pcnotetest W/System.err:  java.net.SocketException: Socket is not connected 07-05 11:20:06.877 21128-21587/com.apklegion.pcnotetest W/System.err:     at  java.net.Socket.getOutputStream(Socket.java:921) 07-05 11:20:06.878 21128-21587/com.apklegion.pcnotetest W/System.err:     at  com.apklegion.pcnotetest.MainActivity$sendData.doInBackground(MainActivity. java:80)        at  com.apklegion.pcnotetest.MainActivity$sendData.doInBackground (MainActivity.java:61)     at android.os.AsyncTask$2.call(AsyncTask.java:304)     at java.util.concurrent.FutureTask.run(FutureTask.java:237)     at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)     at     java.util.concurrent.ThreadPoolExecutor.runWorker  (ThreadPoolExecutor.java:1133)     at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607) 07-05 11:20:06.879 21128-21587/com.apklegion.pcnotetest W/System.err:     at  java.lang.Thread.run(Thread.java:761)   here is the code for the app    private static String ip = "10.0.0.3"; private static int port = 5555;    @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);          el = (EditText)findViewById(R.id.text);          button = (Button)findViewById(R.id.button);          button.setOnClickListener(new View.OnClickListener() {              @Override              public void onClick(View v) {                      message = el.getText().toString();               SendData sd = new sendData();              sd.execute(message);                   Toast.makeText(getApplicationContext(),"Data  Sent",Toast.LENGTH_LONG).show();  Toast.makeText(getApplicationContext(),message,Toast.LENGTH_LONG).show();              }          });  }  class SendData extends AsyncTask<String, Void, Void> {    @Override  protected Void doInBackground(String... voids) {       String message = voids[0];     try {         Log.i(TAG, "Attempting to send...");         s = new Socket();         s.connect(new InetSocketAddress(ip,port));         Log.i(TAG,"Socket connected...");     }     catch (IOException e) {   e.printStackTrace();      }        try {      pr = new PrintWriter(s.getOutputStream());          Log.i(TAG,"Get Outstream...");      error here-->     pr.write(message);          Log.i(TAG,"writing message...");          pr.flush();           Log.i(TAG,"flushing...");          pr.close();       } catch (IOException e) {           e.printStackTrace();      }              Log.i(TAG,"closing...");      try {          s.close();          Log.i(TAG,"socket closed...");      } catch (IOException e) {           e.printStackTrace();      }       return null;  }     }  }   and last but not least the server code on the pc side  public class Testtcp2 {     private static  ServerSocket ss; private static Socket s; private  static BufferedReader bufferedreader; private static InputStreamReader isr; private static String message;    public static void main(String[] args) {     try{         ss = new ServerSocket(5555);            while(true){               s = ss.accept();               isr = new InputStreamReader(s.getInputStream());               bufferedreader = new BufferedReader(isr);               message = bufferedreader.readLine();                System.out.println(message);          }            }  catch (IOException ex) {             Logger.getLogger(Testtcp2.class.getName()).log(Level.SEVERE, null,  ex);        }   } }


Does the punctuation work in these specified ranges?

As a matter of style, could these pass muster to you in terms of conciseness and punctuation - yes or no? I think they are clear and uncluttered.   5-10 year olds  5-10 year old prodigies  10-15 year mortgage  1-2 inch laceration  $2-3 million a year contract  $5-10,000 per year savings


So I just installed Ubuntu 18.10, but I can't add a guest account. there aren't any buttons for it.


If I drive a car and ride a motorcycle, what do I do with a boat?

Once we have specific verbs to refer to the action of operating a vehicle, my question is:  What verb should I use to "drive" a boat/ship?


I have just launched an EC2 machine, in the frankfurt region. The locale is corrupted:  ubuntu@myhost:~$ locale locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LANGUAGE= LC_CTYPE="en_US.UTF-8" LC_NUMERIC=de_DE.UTF-8 LC_TIME=en_US.UTF-8 LC_COLLATE="en_US.UTF-8" LC_MONETARY=de_DE.UTF-8 LC_MESSAGES="en_US.UTF-8" LC_PAPER=de_DE.UTF-8 LC_NAME=de_DE.UTF-8 LC_ADDRESS=de_DE.UTF-8 LC_TELEPHONE=de_DE.UTF-8 LC_MEASUREMENT=de_DE.UTF-8 LC_IDENTIFICATION=de_DE.UTF-8 LC_ALL=   How can I correct the issue?


Script to find number of zip file in folder

I need a script that counts the number of .zip (zip files ends with monday_abc.zip) files in a folder on windows 2008 server.  Is it also possible to find the last modified zip files and the number of files in the last modified zip file ?


Developer not identified error when logging in Oracle Instantclient on Catalina

I have the Oracle Instantclient installed (PHP needs it for the oci extension to work), the install directory is /opt/instantclient_19_3 and every time I log in after a reboot I get the following error messages which read translate to     libclntsh.dylib.18.1 cannot be opened because the developer can't be verified.    libclntshcore.dylib.19.1 cannot be opened because the developer can't be verified   I had the same errors popup when using Terminal and Hyper but since I've allowed those apps full disk access everything works fine. Still, after logging in I get both error messages, so I assume something needs permissions but I can't figure it out. Any hints?


"convert to" is not there in my blender 2.8 version

In my blender 2.8 version the "convert to", which is present in Search option is not there.  What should I do?


Abelian group of order $p^m$ having only one subgroup of order $p^{m-1}$

Let $G$ be an abelian group such that $|G|=p^m$ for some $m\geq 1$ where $p$ is a prime. Assume that $G$ has only one subgroup of order $p^{m-1}$.  How to prove that $G$ is cyclic ?


Recieving errors when using setOnAction with ToggleButton

I'm trying to write a simple music play in Java. I'm attempting to use toggle button to make the music play or pause, depending on whether the player is playing currently. Here's what my codes looks like right now:   public class Client extends Application { private boolean isPlaying = false;  public static void main(String[] args) {     launch(args); }  public void start(Stage primaryStage) throws Exception {     Parent root = FXMLLoader.load(getClass().getResource("clientUI.fxml"));      ToggleButton toggleButton = (ToggleButton) root.lookup("toggleButton");     File song = new File("Shed.mp3");     Media media = new Media(song.toURI().toURL().toExternalForm());     MediaPlayer mp = new MediaPlayer(media);      toggleButton.setOnAction(new EventHandler<ActionEvent>() {         @Override         public void handle(ActionEvent e) {             if (isPlaying()) {                 mp.pause();             } else {                 mp.play();             }         }     });      Scene s = new Scene(root);     primaryStage.setScene(s);     primaryStage.setResizable(false);     primaryStage.setTitle("Noisey");     primaryStage.show();  }  public boolean isPlaying() {     return isPlaying; }   } Upon running, however, this error is recieved:  `  Exception in Application start method java.lang.reflect.InvocationTargetException     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(Unknown Source)     at com.sun.javafx.application.LauncherImpl.launchApplication(Unknown Source)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)     at java.lang.reflect.Method.invoke(Unknown Source)     at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source) Caused by: java.lang.RuntimeException: Exception in Application start method     at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(Unknown Source)     at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException     at application.Client.start(Client.java:32)     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(Unknown Source)     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(Unknown Source)     at com.sun.javafx.application.PlatformImpl.lambda$null$173(Unknown Source)     at java.security.AccessController.doPrivileged(Native Method)     at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(Unknown Source)     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)     at com.sun.glass.ui.win.WinApplication.lambda$null$148(Unknown Source)     ... 1 more Exception running application application.Client   Something tells me this lineCaused by: java.lang.NullPointerException     at application.Client.start(Client.java:32) is the problem.


Is there a reason for using PostGIS functions such as ST_Area and ST_Length when there are already functions/operators for doing the same thing in PostgreSQL (area and @-@)


Strange garbage charachters in terminal, when typing Devanagari and some other Asian scripts

If I try to enter devangari or some other asian characters in the terminal, I get some strange circle characters after (or before?) some of them.  For example:  that is how the text looks like in my browser:    And that is how it looks like if I copy it in the terminal:    As you can see, it is displayed completely wrong.  You can check if you have this problem also: just open hi.wikipedia.org and copy the text in a terminal (gnome-terminal for example).  At the same time, there is no problems with Japanese, Chinese, Russian, Arabic and some other (even doublewide) scripts.  Update 1. I see that it works in konsole. It is the only terminal that I've found (to the moment), which supports Indian fonts (at least Devanagari).  Are there any ways how I could setup/reconfigure/ other terminals so that they support such scripts?


If $\Re(f)$ is bounded then f is constant.

I have to solve following problem     If $\Re (f)$ is bounded above or below for a function $f$ holomorphic on $\mathbb{C}$ then $f$ is constant.   My attempt: If there is $M$ such that $\Re(f) \le M$, then $\|e^{f}\|=e^{\Re(f)}\le e^{M}$. From Liouville's theorem the entire function $e^f$ is constant, that is $0=(e^f)'=f' e^f$. This means $f' =0$, so $f$ is constant. If $\Re(f)$ is bounded below, we consider $e^{-f}$ and proceed the same way.  Am I correct? Is there a solution using maximum modulus principle?


This is an exercise from Kunen - An introduction to independence proofs that I have hard time to solve.  In $ZF$, $AC$ is equivalent to $\forall \alpha (\mathscr P(\alpha)$ can be well-ordered)  Any advice would be welcomed!


Just started running my computer off of Ubuntu and I'm trying to download some software that will enable me to watch netflix. I hit Ctrl+Alt+T and typed in the commands I found :  sudo apt-add-repository ppa:ehoover/compholio && sudo apt-get update sudo apt-get install netflix-desktop   It then asks for my password and has a cursor but will not type anything. Not sure what to do next.  Thank you!


How do I connect to a USB webcam in .NET?

I want to connect to a USB Webcam in .NET, specifically using C#. Being new to .NET I don't know what kind of support there is in the standard libraries for doing so. I found one example on the web that copies bitmaps through the clipboard, but that seems very hacky (and probably slow). Is there a better way?


Show that $(L^{p},\|\|_{p})$ is a Banach space.  My approach: I prove the statement for $(L^{1},\|\|_{1})$, of the following way, first all, is easy show that $\|\|_{1}$ is a norm. So,  $(L^{1},\|\|_{1})$ is vector space. To show that is a Banach space, note that  Prop. 1: Let $(f_{n})_{n\in\mathbb{N}}\subset\mathcal{L}^{1}$ (where $\mathcal{L}^{1}=\mathcal{L}^{1}(X,\tau,\mu)$ is the space of all integrals function), such that $\sum_{i}{\|f_{n}\|}_{1}<\infty$, then the sequences $\left(\sum_{n=1}^{N}{f_{n}}\right)_{n\in\mathbb{N}}$ converges almost everywhere to the integral function, that we called $\sum_{n\in\mathbb{N}}{f_{n}}$. Furthermore $$\sum_{n\in\mathbb{N}}{\int{f_{n}d\mu}}=\int{\sum_{n\in\mathbb{N}}{f_{n}d\mu}}\quad\lim_{N\to\infty}{\|\sum_{n=1}^{N}{f_{n}}-\sum_{n\in\mathbb{N}}{f_{n}}\|_{1}}=0$$ Prop. 2: Let $(E,\|\|)$ a normed vector space. Then $E$  is a Banach space if and only if for all $(e_{k})_{k\in\mathbb{N}}\subset E$ such that $\sum_{k\in\mathbb{N}}{\|e_{k}\|}<\infty$, $\left(\sum_{k=1}^{n}{e_{k}}\right)_{n\in\mathbb{N}}$ converges in $E$  We take the proposition 2. Let $(f_{n})_{n\in\mathbb{N}}\subset L^{1}$ such that $\sum_{n}{\|\hat{f}_{n}\|_{1}}<\infty$. Let $f_{n}\in\hat{f}_{n}$, then $\|f_{n}\|_{1}=\|\hat{f}_{n}\|_{1}$ and then $\sum_{n}{\|f_{n}\|_{1}}<\infty$, by prop. 1, there exist $F\in\mathcal{L}^{1}$ such that $\|\sum_{n=1}^{N}{f_{n}-F\|_{1}}\to 0$, and then $\|\sum_{n=1}^{N}{\hat{f}_{n}-F\|_{1}}\to 0$. Finally note that $\hat{F}\in L^{1}$ is a Banach space. This was my answer for  $L^{1}$ space, but how I prove the general statement for $L^{p}$ (I want to do a similar response). Edit: I'm stuck in the problem, any idea or hint is appreciated.Thanks!!


Prove that a even number + odd number = odd number  Let $x$ be the even number, let $y$ be the odd number.   From the definition of odd numbers, $y + 1$ is even.   Let:  $$x + y = z$$  Suppose $z$ is even.   $$x + y = z$$  It follows that:  $$x = x + y - y = z - y$$  But I cant think of any other contradiction here. The issue is with the assumption I suppose. Any help is appreciated!


If a magnet exerts force on a iron block (opposite and EQUAL), does a iron block also exerts force on magnet (via Newton's third law)? If yes then what magnetic property does it has to produce equal and opposite force on magnet considering that its not a ideal environment? If no then is it not the violation of newton's third law?


I have applied for visa to UK on 28th June, 2016. I have to travel on 17th July, 2016. But still my visa request is pending. Who can be requested to expedite my application? What can someone do in situations like these?


Do Xbox Live subscriptions stack duration?

I have one month of Xbox live. If I register my 1 year subscription, will it stack? Never tried, just wondering, don't want to waste my money.


How do I ensure that pita forms a nice big, even pocket when baking?

I have the opposite problem as Amir's question about . Whenever I make pita, it's nice and thick and fluffy, but the pocket is small or nonexistent. I would like to use my pita for sandwiches, so the pocket part is important.  Normally when I make pita, I get a pocket forming on one side of the bread, but the other side stays flat. I end up with a lopsided pita that has a pocket too small to stuff anything into. Every once in a while, I get one with a perfect pocket that evenly puffs up the whole pita, but I don't know why it happens sometimes and not others. Could this be caused by uneven heat in my oven? Or is there something about the technique of rolling out the dough that I'm not doing consistently?


What would Voldemort have done had he won?

This might sound like speculation, but can it be reliably predicted from canon what Voldemort would have done after he won, were he successful in defeating Harry and the Order?  Would he just rule over the wizard world and keep up the masquerade, or would he try to take over the whole Earth by starting a (dark-)wizard vs. muggle war?


Root index.html file of a multi-language website

I have a multi-language website and according to the , I should keep the two or more versions of my website in two different subfolders, like:   www.example.com/en www.example.com/it   So far so good. This way the crawler will properly index the two versions of the website and it will present search results based on the user local language.  But what should I do with the root of the website? I mean, what index.html should I put straight into   www.example.com   Is it required to have an index.html? Should I put a small PHP script that redirects users to the appropriate localized website? (e.g. user goes to www.example.com and gets redirected to www.example.com/en). It looks like most websites implement this automatic redirect.


I was installing drupal commons on xampp server i got this error, PHP Max Execution Time 30 Your PHP execution time is too low, please set it greater than or equal to 120 seconds. How do i adjust the php execution time so that i can proceed with the installation?


How do I measure a voltage greater than 5 V with Arduino?

I want to measure a varying voltage with an Arduino and real time data plotting has to be done.  But the supply voltage will be 10 V and the Arduino is not supposed to have more than 5 V.  Is there a way I can solve this problem? Do you have any recommendation for the circuit design?         – Schematic created using


How do I disable root password reset via GRUB edit?

I want to completely disable resetting root password! Is it possible? If yes, then how?


How do I make a script for adding modifiers?

I have made a script for adding VertexWeightMix modifers to a selected mesh. However, when I run the script, it adds tons of modifers, but only changes the first one it adds. How can I fix this? I don't want to apply them immediatly once a modifier is created.  for vertex_b in namelist:     vertex_a = "bone_01D2"     vertexA = bpy.context.object.vertex_groups.get(vertex_a)     vertexB = bpy.context.object.vertex_groups.get(vertex_b)     if vertexA is None:         print("Vertex " + vertex_a + " Does not Exist!")         continue     if vertexB is None:         print("Vertex " + vertex_b + " Does not Exist!")         continue     bpy.ops.object.modifier_add(type='VERTEX_WEIGHT_MIX')     bpy.context.object.modifiers["VertexWeightMix"].vertex_group_a = vertex_a     bpy.context.object.modifiers["VertexWeightMix"].vertex_group_b = vertex_b     bpy.context.object.modifiers["VertexWeightMix"].mix_mode = 'ADD'     bpy.context.object.modifiers["VertexWeightMix"].mix_set = 'B'   Edit: I figured out that if you declare a variable i = 0, then you can convert it to a string, append it to the name, then increase it. However, if I ran it again, it would not work.


Riemann theorem for complex infinite sums

We know that if a sum is convergent, but it's not convergent absolutely, then we can arrange it's terms so that it converges to any real number.  For complex numbers similar theorem does not hold i. e. if a sum is convergent  and not convergent absolutely, then it can happen so that we can't obtain every complex number (which is pretty obvious because for example we can't obtain non-real complex numbers from a sum of real numbers). However there exist sums that have this property, for example $\sum \frac{i^n}{n}$.  My question is, what are the criteria for which a complex sum that converges but doesn't converge absolutely can be rearranged so that it converges to any number on the complex plane.  Question source is my own curiosity. By criteria I mean any sort of necessary or sufficient condition, within reason of course.


Why do products of nuclear decay have a lower mass than the original nucleus, when the sum of the mass of its nucleons is larger?

I've just started covering the topic of binding energy in Year 13 at school (final year before University). The definition we've been given of binding energy is that it is the work done when separating a nucleus into its constituent nucleons. Alright so far.  We've also covered nuclear decays, and an example of that we've been given is    where the mass of the Thorium isotope and the alpha particle (constituent parts) is less than the mass of the Uranium isotope (I've checked this - it's true). We were told this was due to the combined binding energy of the products being less than the binding energy of the uranium isotope.  However, this seems to contradict examples I've found on the internet, such as the formation of an alpha particle from 2 protons and 2 neutrons (see ), where the mass of the constituent parts is higher - energy must remain constant, and the alpha particle has a higher binding energy, so the mass-energy must necessarily be lower. This makes sense.  If someone is able to give a clear explanation of why both of these things are true, I'd be very grateful!  Thanks


Are Intel Processors' GHz really matter?

It has been confusing me for a long time.  Say, an Intel 4th Gen dual-core i5-4200U which clocks at 1.6 GHz and up to 2.6 GHz and an Intel 4th Gen dual-core i3-4160 which clocks at 3.6 GHz. As I see that they are both 4th Gen (Haswell), dual-core processors. Can I judge their processing speed based on the GHz given? I was told that i5 would be faster than i3, but it wasn't explained in detailed. Each of the core of i5 has a maximum of 1.3 GHz while each of the core of i3 has a speed of 1.8 GHz. If they can't represent the precise speed, what are they for?


I want to create a bell curve with some explanatory text around it. However I am unable to add linebreaks to the notes, and also failed to get the two texts about life expectancy in latex. My own code so far is below as well.  Thanks!  EDIT: The problems with the linebreaks are solved! However, I still dont understand how to get the arrows below the graph with Increasing/Decreasing life expectancy below them    \documentclass{article} \usepackage{pgfplots} \begin{document}  \pgfmathdeclarefunction{gauss}{2}{%   \pgfmathparse{1/(#2*sqrt(2*pi))*exp(-((x-#1)^2)/(2*#2^2))}% }  \begin{tikzpicture} \begin{axis}[   no markers, domain=0:10, samples=1000,   %axis lines*=left,   axis y line=none,   axis x line*=bottom,   %xlabel=$x$, ylabel=$y$,   every axis y label/.style={at=(current axis.above origin),anchor=south},   every axis x label/.style={at=(current axis.right of origin),anchor=west},   height=6.25cm, width=15cm,   xtick=\empty, ytick=\empty,   enlargelimits=false, clip=false, axis on top,   grid = none   ]   \addplot [fill=cyan!20, draw=none, domain=6:7] {gauss(5,1.1)} \closedcycle;  % \addplot [very thick,cyan!50!black] {gauss(4,1)};   \addplot [very thick,cyan!50!black] {gauss(5,1.1)};   \draw [yshift=-0.6cm, latex-latex](axis cs:4,0) -- node [fill=white] {Value of liabilities} (axis cs:6,0); \draw[cyan!35] (axis cs:5,0) -- (axis cs:5,0.4);  \node[coordinate,pin=45:{Attachment point}] at (axis cs:6,0.2399) {}; \node[coordinate,pin=45:{Detachment point}] at (axis cs:7,0.06945) {}; \node[coordinate,pin=180:{Expected value \\ of liabilities}] at (axis cs:5,0.39) {};   \end{axis}  \end{tikzpicture} \end{document}


How to get Drivers for Lenovo Essential E4325

I have Windows 8 installed on my Lenovo E4325 Laptop... I want to install Ubuntu as a dual boot... Please anyone let me know do i need to install any additional drivers or are the drivers comes with the OS after installing the Ubuntu version...If Yes, How?


Is it possible to remove/hide Windows title bars?

I'm very used to my Linux desktop, but in my new job I'm forced to use Windows. For efficiency, I'm veeery used to minimize/maximize using keyboard shortcuts and move/resize windows using alt+mouse. Thus, window titlebars and borders are useless, and I can remove them using Compiz.  My question is: is this remotely possible to be done in Windows Vista? I could manage to quite reduce the borders and title font (minimum is still big, 17pt), but the titlebars still bother me. I also found that Win+M minimizes a window, and I think that would help with the shortcuts also.  No, I'm not looking for a way to hide a titlebar when needed, as explained in the said duplicated question "". I want to preferently remove all titlebars and frames, from all windows, at once. Furthermore, AHK is quite hackish, since I need to write a full blown script to make that work. Isn't there any better solutions in Windows? That's the reason of this question.  As a help to understand how I'm used to live, here's a completely normal [reduced] window of my home computer:


I've added the ppa here  When I run sudo apt-get update, the software sources aren't found. I figured maybe they hadn't updated their repos to the newest version, so I changed the distro in Software Center to natty. Now when I try to install handbrake-gtk I get the message  handbrake-gtk : Depends: libnotify1 (>= 0.5.0) but it is not installable Depends: libnotify1-gtk2.10 but it is not installable  It looks like the only packages starting with libnotify are libnotify0.4-cil libnotify-bin libnotify-dev libnotify4 libnotify-cil-dev libnotify-doc  The only relevant one seemed like libnotify4, which is already installed. The CLI version installs fine. How can I install Handbrake?


How can I see the history of file labels - who and when set them?  Right now SELinux reports that my /etc/resolv.conf with content # Generated by NetworkManager is mislabeled. It is now unlabeled_t and should be net_conf_t.  However, I am not sure if it is right or wrong. There might some race condition between some programs trying to set their labels on that file. Looking at history of changes to it may help me to understand what is going on.


Why does minimizing the MAE lead to forecasting the median and not the mean?

From the , specifically :     A forecast method that minimizes the MAE will lead to forecasts of the   median, while minimizing the RMSE will lead to forecasts of the mean   Can someone give an intuitive explanation of why minimizing the MAE leads to the forecasting the median and not the mean? And what does this means in practice?  I have asked a customer: "what is more important for you to make mean forecasts more accurate or to avoid very inaccurate forecasts?". He said that to made mean forecasts more accurate have higher priority. So, in this case, should I use MAE or RMSE? Before I read this citation I believed that MAE will be better for such condition. And now I doubt.


if it rains 75% of days, i take a sample of n=30 days, what is the probability of rain for 20+ days

I have found the z score by taking the square root of pqr (30).5.5 =sq rt of 7.5.  z score = 1.15 and using tables probability = 23.27% chance of rain more than 20 of the 30 days we checked.  Is this correct?


Given an associative $F$-algebra do there necessarily exist elements $a_1,a_2 \in K$ satisfying $a_1*a_2=a$?

Let $F$ be a field and let $(K,*)$ be an associative $F$-algebra which, as a vector space, is finitely generated over $F$. Given an element $a\in K$, do there necessarily exist elements $a_1,a_2 \in K$ satisfying $a_1*a_2=a$?  I'm not sure how to go about this. Since we have an associative $F$-algebra we know that $v*(w*y)=(v*w)*y$ for all $v,w,y \in K$.


Behaviour of free electron with constant velocity

Can a free electron with a constant velocity V то move eternally at this rate in the inertial frame? The question arises from the fact that a moving charge creates near its trajectory varying electric and magnetic fields. Whether kinetic energy of electron is spent for it?


If i have these 2 arrays :  $tables=array('name','phone','alias');  $values=array('Jhon','55543232','johny25');   How can convert to this kind of array   $values=array('name'=>'Jhon','phone'=>'55543232','alias'=>'johny25');   I try different ways for transform but i donñt know how i can do , my idea itñs convert this in the fly for automatic process and i think this kind of array are more easy for manage   Thank´s , Regards


What are the technical challenges to store electricity from lightning strikes?

I ask myself that question every time I watch a Tesla documentary.  So, let's get some answers down so the smart ones can think about it and we can clean-up our environment.  There is free electricity all around us for crying out loud ;)  If the question is too broad, then here is my simplified idea based on my limited electrical/electronics naval training which can be critiqued:  Erect a, possibly very tall, tower completely grounded to earth.  Connect one terminal of a possibly very large capacitor to the tower.  A current detection circuit is connected to the tower-to-earth circuit which, upon a lightening strike, switches the current from flowing to ground to flowing to the capacitor and charging it.  After the current ceases, the current detector switches back to ground the tower.  Then, draw current from the capacitor as needed.


How to get time difference as minutes in Excel?

I have time values in two cells in an Excel sheet and I need the difference of the times in minutes.  The cells in the Excel are like below:     A        B        C 1  6:38     8:23     1:45:00   A is the start time B is the end time C is the time difference (B1-A1) which is displayed in hh:mm:ss format  A and B cols are formatted as custom hh:mm and cell C is formatted as custom hh:mm:ss.  But I need to get in the value in cell C1 as 105 instead of 1:45:00.  Could you please help in displaying time only in minutes and giving the right format?


Why are newly-created files under /root not executable even though /root is and umask is 022? Is this the default on CentOS?

I am building a small set of utility bash functions and aliases that will live on a special /root partition. I've noticed that whenever I touch aFile or vim aFile, the result is aFile with the permissions -rw-r--r--.  This is highly undesirable if your goal is to run some shell scripts, and that's kind of what I thought the whole point of /root was.  My /root directory permissions are dr-xr-x--- and my umask is 0022. As I understand, I should expect new files to be 0755... but they aren't.   Why? Is this the default? How can I make new files executable?


Converting/Parsing an Enumeration to a String More Generically

This is an extension of .  So, using the answer from the previous question I mentioned, I am able to make a generic utility that would convert/parse an Enumeration to a String.  Now the only problem I have with my solution is, I can't seem to refactor the code to my liking. It works the way I want it to, but it is a tad more on the code heavy side than I had hoped for. I was curious if there was a design pattern (or any other way to code it) to help solve this issue. I am thinking there is a creational design pattern that will help in this case. I would be easy if I had lambda expression but, Apex is not quite there yet ;).  The code I use has kind of patterns dug into it already. It uses the Strategy, Factory, and Template(ish) pattern I believe. I have the resources to find something to solve this issue (my favorite Design Pattern books), but nothing I can think of jumps out at me.  Here is the code for my utility for just one enumeration:  private interface EnumerationToStringHelper {     List<Object> ProvideEnumerationValues();     Boolean CompareEnumerationToString(String possibleEnumeration, Object enumerationValue); }  private class ExampleEnumToStringHelper implements EnumerationToStringHelperExampleEnum {     public List<Object> ProvideEnumerationValues(){ return (List<Object>)ExampleEnum.values(); }     public Boolean CompareEnumerationToString(String possibleEnumeration, Object enumerationValue)     {         return  ((ExampleEnum)enumerationValue).name().equalsIgnoreCase(possibleEnumeration);     } }  private static Map<Type, EnumerationToStringHelper> TypeToEnumerationMap;  private static void PopulateTypeToEnumerationMap() {     TypeToEnumerationMap = new Map<Type, EnumerationToStringHelper>     {         Type.forName('ExampleEnum') => new ExampleEnumToStringHelper()     }; }  public static Object ConvertStringToEnumeration(Type enumerationType, String possibleEnumeration) {     if(possibleEnumeration == null) return null;     if(TypeToEnumerationMap == null)         PopulateTypeToEnumerationMap();      EnumerationToStringHelper conversionAction = TypeToEnumerationMap.get(enumerationType);      if(conversionAction == null)         throw new EnumerationToStringException('The Type you enter is either a) not an enumeration or b) not a supported enumeration.');      for(Object particalarEnumValue : conversionAction.ProvideEnumerationValues())         if(conversionAction.CompareEnumerationToString(possibleEnumeration, particalarEnumValue))             return particalarEnumValue;     return null; }   public class EnumerationToStringException extends Exception { }   Now in order to use the utility, it is exactly what I hoped for.  return (ExampleEnum)RT_GeneralUtilities.ConvertStringToEnumeration(Type.forName('ExampleEnum'), 'Testing');   It is a little long, but it beats having the entire for loop for 12 or more different Enum types. That is why I wanted to build the utility - essentially for better readability and test coverage purposes.  The downside with this is I have to make a helper for every single Enum type. So it makes it kind of an eyesore maintainability-wise.    I was hoping there was a pattern I could implement to assuage that eyesore and make it appealing on both sides. Any suggestions?


What am I doing wrong here?  A_B_NAME="something" X=A Y=B  RESULT=`echo \${X}_\${Y}_NAME` echo ${RESULT}   and I'm always getting A_B_NAME as a result, but want "something"  Thanks! Michael


Number of Divisors Given a Prime Factorization

This could be a classic problem or my wording might be totally off, but I can't seem to find an answer to this problem:  Given $n\in\mathbb{Z}$ with prime factorization $n=p_1^{q_1}\dots p_m^{q_m}$, how many integers divide $n$?  For the sake of this problem, let's ignore $1$ and $n$ until the end.  First off, we have that there are at least $q_1\dots q_n$ divisors, since there are $q_1$ divisors made up of $p_1$ (namely $p_1,p_1^2,\dots,p_1^{q_1}$), thus the same holds for $p_2,\dots,p_n$  I've never done much with combinatorics, so I'm not quite sure how to begin counting unique divisors by mixing and matching distinct primes.  Any thoughts?


Can I install Ubuntu desktop OS on an android tablet? Is it possible to replace android and have Ubuntu as the only OS. If yes, then how do I install it onto my tablet? Do I need to backup my Android? What are the hardware requirement for that?


Is it possible to display virtual clock on screen?

Is there any clock widget available? In Windows, I can show a clock on my screen.  Please suggest any widget/package/software that can do this.


Problem with greek letters in Computer Modern Unicode

I've tried to use Computer Modern Unicode (version 0.7.0) with XeLaTeX to write greek letters.  However, using the following code in TeXLive 2012 or 2014, the shapes of "βγλθωχ" seem different with those provided in the document   \documentclass{article} \usepackage{fontspec} \setmainfont{CMU Serif} \begin{document} βγλθωχ \end{document}     Bottom: greek letters provided in the document  But I got the shapes same with those in the document, using the following code with polyglossia.  \documentclass{article} \usepackage{polyglossia} \setmainlanguage{greek} \setmainfont{CMU Serif} \begin{document} βγλθωχ \end{document}   I cannot figure what I am doing wrong.


Prove that every function that verifies $|f(x)-f(y)|\leq(x-y)^2$ for all $x,y$ is constant.

Let $f\colon \mathbb{R} \rightarrow \mathbb{R}$ be a function. In order to prove that every function that verifies $\lvert f(x)-f(y)\rvert \leq(x-y)^2$ for all $x,y$, is constant, I have considered on applying the Lagrange's theorem. There exists some $c\in[x,y]$ for which:  $$\frac{\lvert f(x)-f(y)\rvert}{x-y}=f'(c)\leq (x-y)$$  Which would certainly lead to success if I'm able to prove that that is $0$, the problem is I don't know how to proceed with the proof. Any help appreciated.


How to change color of operators (lim, log, etc.)?

How can I change the color of operators like "log", "lim" or the root symbol of \sqrt command?


Elementary Lie theory : proving that the Lie bracket is a vector field? (well defined)

Most proofs i checked are written with a local coordinate patch, is there a simple coordinate independent formulation on how to verify that [X, Y] (f) is indeed a vector field? My teacher didn't bother to write it down.  Also i understand how we get to the double sum expression of the bracket (thanks to the leibniz rule among other things) but why do the second derivatives cancel out at the end?  Thanks.


If JavaScript objects passed by reference, why update property value won't update local variable

Objects are passed around by reference. They are never copied. I have code segment as following:  var person={firstname:'John', lastname:'Smith'} var anotherPerson=person anotherPerson.nickname='Curly' console.log(person.nickname) "Curly" var fname=person.firstname console.log(fname) "John" person.firstname = 'Tom' console.log(anotherPerson) Object {firstname: "Tom", lastname: "Smith", nickname: "Curly"} console.log(fname) "John" <-- fname is not updated   My question is after I updated the object person's firstname to 'Tom', why local varialbe fname is not updated?


The Fourier transform of $ \begin{cases} 1 & |x|<1\\ 0 & else \end{cases} $ where $x \in \mathbb R^3$ is an elementary function?

Consider the following function  in $\mathbb{R}^3$ $$ \begin{cases} 1 & |x|<1\\ 0 & \text{else} \end{cases}$$ How can we calculate its Fourier transform (again, in $\mathbb{R}^3$). I tried to use spherical coordinates in order to calculate $$ \intop_{\left\{ x\in\mathbb{R}^{3}:|x|<1\right\} }e^{-i \langle \omega,x \rangle}\text{  }\,dx $$ But it seems impossible to finish the calculations. I would like to see the right way to calculate this integral (because Im pretty sure using spherical coordinates is not the way although it seems the natural choice for a radial function in $\mathbb{R}^3$). EDIT: Followed up question: As I understand from the post in the comments, there is no elementary solution for general $ n$. But, can we find an elementary solution (which does not involve Bessel's functions?)


How prove that the elementary operations don't change the rank of a matrix

One considers certain operations, called elementary row operations, that are applied to a matrix $A$ to obtain a new matrix $B$ of the same size. These are the following:  exchange rows $i_1$ and $i_2$ of $A$ (where $i_1\neq i_2$); replace row $i_1$ of $A$ by itself plus the scalar $c$ times row $i_2$ (where $i_1\neq i_2$); multiply row $i$ of $A$ by the non-zero scalar $\lambda$.  Naturally this operations can be implemented on a column and so we would call the analogous operations on the columns "elementary column operations". Theorem If $B$ is the matrix obtained by applying an elementary row/column operation to $A$, then these two matrix has the same rank. Unfortunately I'm not able to prove the previous theorem, so could someone help me, please?


join multiple queries in one query mysql

I have multiple queries like this:  select id,name from phonebook WHERE (name='') AND (Tag ='') AND Country= '';  select id,name from phonebook WHERE (name='') AND Country= ''; select id,name from phonebook WHERE (tag='') AND Country= '';   I want to join them in one query (in this order).  EIDT  I want put order by in each query (not for all):  select id,name from phonebook WHERE (name='') AND (Tag ='') AND Country= '' order by points;    so who get higher points in each query will be first


How to draw lines over a matrix to represent Sarrus’s rule

I am trying to make this matrix with the lines over it, as the image:    I know the matrix environment but I don’t know how to do this. Thanks.


To get to my machine in my office, at the moment I am doing this:  me@home:~$ ssh unix.university.com me@unix:~$ ssh unix.department.univeristy.com me@unix.department:~$ ssh office-machine.department.university.com me@office-machine:~$ echo "This is very annoying"   Is there an easy way of automating this process, perhaps a single command that I can use at my end?


How to disable loop playback of animation?

Is there a way to stop looping playback in the timeline? I want to avoid sending additional animation data from blender by stopping the animation at the end frame and in another case to prevent recording of animation from the end to start frame.


sizeof(); returns double the value that of specified array in embedded C

[image of an executed code in keil]    I've written above code to move an array( msg[ ] ) to Port 0(I'm using Keil µvision), in which 'unsigned int y' gets the size of the array and displays it to Port 1(Port-1 output is shown in the image, whereas Port-0 output is not)  Question:   Why am I getting double the value of the specified array?


Can someone explain these rules for a specific user and a VPN in iptables?

I used a script from  to setup rules that make sure user transmission-daemon can only send traffic via the VPN i use. At least that's what the author says. I have troubles understanding the following output. For example, what does the line tcp spt:9091 owner GID match debian-transmission  mean? Why is there no traffic on that rule? Hint: My ethernet port is enp3s0 (like eth0). $ sudo iptables -L -v Chain INPUT (policy DROP 0 packets, 0 bytes)  pkts bytes target     prot opt in     out     source               destination            436 35225 f2b-sshd   tcp  --  any    any     anywhere             anywhere             multiport dports ssh  1085  221K ACCEPT     all  --  tun0   any     anywhere             anywhere              2913  923K ACCEPT     all  --  enp3s0 any     anywhere             anywhere               112 12221 ACCEPT     all  --  lo     any     anywhere             anywhere              Chain FORWARD (policy DROP 0 packets, 0 bytes)  pkts bytes target     prot opt in     out     source               destination              0     0            all  --  any    any     anywhere             anywhere              Chain OUTPUT (policy ACCEPT 4540 packets, 1267K bytes)  pkts bytes target     prot opt in     out     source               destination              0     0 ACCEPT     tcp  --  any    enp3s0  anywhere             192.168.100.0/25     tcp spt:9091 owner GID match debian-transmission     0     0 ACCEPT     udp  --  any    enp3s0  anywhere             192.168.100.0/25     udp spt:9091 owner GID match debian-transmission  2263  202K ACCEPT     all  --  any    tun0    anywhere             anywhere             owner GID match debian-transmission    12  2581 ACCEPT     all  --  any    lo      anywhere             anywhere             owner GID match debian-transmission     0     0 REJECT     all  --  any    any     anywhere             anywhere             owner GID match debian-transmission reject-with icmp-port-unreachable


Is there an app that allows me to remotely access and play my hard drive's music files?

Is there an program that allows me to remotely access and play my hard drive's music files?  I found and downloaded a program called 'sockso' that would have worked, if it was still supported, at least it would have allowed me to access and play music off of my hard drive through an open port.  I simply want to set up a program on my laptop (accessible via wifi) and access it from my phone or tablet.   I desire an program that remotely either plays my hard drive resident songs randomly or allows me to set up a play list.   There are probably a million ways to do similar things using other techniques, but:   I want the files to be physically on my laptop's hard drive and  Accessible remotely (a resident program running on the laptop is OK).


Photoshop: How to make image clearer when print out

I have below image. This is a scan paper, and when print out, it's too blur.    I want to use Photoshop for editing this image, so printer print out will be clearer. I don't know this question is suitable on on this site or not. If not, I don't know which tutorial online help me do this work. Please tell me.   Thanks :)


Read/Write 'Extended' file properties (C#)

I'm trying to find out how to read/write to the extended file properties in C# e.g. Comment, Bit Rate, Date Accessed, Category etc that you can see in Windows explorer.  Any ideas how to do this? EDIT: I'll mainly be reading/writing to video files (AVI/DIVX/...)


Investing in low cost index fund -- does the timing matter?

I'm a young person with some money to start investing. I do believe in the superiority of low cost index fund over actively managed fund. But I still freeze up a bit about the timing of when to start my first buy in.  Sure, I understand that there's no way to time the market. But even if I only buy-and-hold instead of day trading, wouldn't the timing of my first investment still matter greatly? For example, a person who started to invest during the 2007 bubble only regained his net worth 6 years later in 2013.  Is this the case of something that does matter but I have no control over so I should not worry about? Or does the timing NOT matter since I'm supposed to invest part of my paycheck every month no matter the economic condition?


Number of possible roots for a finite degree polynomial.

I know that polynomial (in a single variable) over any field has at most $n$ roots where $n$ is degree of the polynomial and in $\mathbb C$ it has exactly $n$ roots.  Now if coefficients are in any ring not a field, then any $n$ degree can have more than $n$ roots may have more roots, example $x^2=I_2$ in $M_2(\mathbb R)$ has $4$ roots  \begin{bmatrix}1&0\\0&1\end{bmatrix} \begin{bmatrix}-1&0\\0&1\end{bmatrix}\begin{bmatrix}-1&0\\0&-1\end{bmatrix} \begin{bmatrix}1&0\\0&-1\end{bmatrix}     Now my question is whether there exists a ring in which a finite degree polynomial has infinitely many roots.


adavantages and/or disadvantages oof mutable and immutable classes

I have read many articles comparing muable and immutable classes in java. I have also read that immutable classes are easier to understand than mutable once (to the user of course).  Why it is so..? Actually I think that mutable classes show real problems more precisely than immutable once and developer does not have to carry an overhead of creating new objects every time.  please help me with that  Thanks in advance


Why are my low-poly models rendering smoothly?

Sorry about the probably silly question, in advance. This is my first time using blender, and I want to get into low-poly stuff, which has been great so far!    I thought I'd make some trees next. However! Everything was going well until I rendered the models. The "rendered" viewport shading mode brought the result I was looking for (below).   Yet, when I properly rendered the models, they appeared rounded.   Did I click something accidentally? Thank you so much!