Alernative investments to cash with house purchase on the horizon

My wife and I have been expecting to buy a house for the past two years (currently living in a condo worth around 400K with no mortgage). Because of this, we have pretty much all our investments in cash (1200K) with only a small amount in stocks (200K). (We have and continue to max out our retirement contributions which both have employer matching.) The problem is that we never seem to be able to find a house; the current market in our area has very low inventory. (We expect to pay 1400K or so, but there is a wide margin here as well) If a house we like comes on the market tomorrow we will immediately buy it. But we are worried that our search might drag on for a few more years and that cash (with today's rates) are not a very good investment.  Are there any alternative investements to cash we should consider with a house purchase possibly coming up in the near future?  If I had to guess, I would place the probability we buy in the next 12 months as 50%, and the probability we buy in the next 24 months at 75%. To me, it feels like the stockmarket over the next 12 months is going to be highly dependent on whether a vaccine for COVID becomes available, and this potential volatility makes it seem very risky for a short-medium term investment. On the other hand, I would guess this same volatility would bleed into other investments as well, leaving us with cash making only 1%. We are not adverse to risk in general, but the fact that predicting the cost of the house we end up buying (it might be anywhere from 1000K to 1600K) adds an extra complication. EDIT: unlike in this question:  we are definitely OK with some risk, but I was thinking there might be intermediate options between cash and a 6-12 month market investment at the current time. For example, one suggestion might be to invest 200-400K in the market with a view to holding it medium-long term and then taking a small mortgage if necessary. Maybe there are other financial instruments which are intermediate between index funds and cash.


How to compute $\operatorname{Ker}(\phi )$ and $(\phi )(25)$ for $(\phi ):Z\rightarrow Z_{7}$ such that $\phi(1)=4$?

I understand I must find some element that map to identity but what condition  $\phi(1)=4$ is related ? and how to compute $(\phi )(25)$? I must find mapping from 25 to $Z_{7}$ isn't it ? is that 4 ?


Does anyone know a good book about generalized linear models. I am a practitioner and need to master the concepts of generalized linear model, but also my experience tells me that knowing about the background math equations will also be a great help. So to sum it up I am looking for a book (or books) which gives a great intuition about the concepts and also I am looking for a book which explains the equations from A to Z. Below I have written my agenda from most important to least. Please if you know a good reference for each, tell me. Thanx   Generalized linear models' concepts Generalized linear models' equations Alternatives for logistic regression for correlated data (equations, concepts and everything!)


lollipop update for hp 7 voice tab 1351ra

i am using hp 7 voice tab  1351ra  i am not getting update of lollipop operating system  if you are interested to give the update from other external sources please give me or else please tell me might hp give update for this tablet?


When evolving Pokemon, how is the evolved CP calculated?

If I have two of the same Pokemon but with different CP but the same progress on their CP bars and I decide to evolve both, do they both receive the same CP boost directly from the evolution or does it vary by it's original CP?


Filling voids in DEM SRTM 1-arc second using QGIS by resampling and inserting another DEM

I'd like to use the DEM SRTM 1-arc second (Version 4, 30m) from USGS for Europe. Unfortunately there are some voids. My idea is to fill those voids using the void-filled version 3 (90m) by resampling it to 30m and inserting the missing data in the version 4 DEM.  As I'm new to QGIS I don't know the proper steps. I already got a 30m map by reprojecting the dimensions times three but I'm not sure if that's the right thing to do and I have no idea how to fill the voids afterwards.


What is the maximum range of Torbjorn's turret, if any?

I have seen conflicting sources on this - some claiming the turret range is infinite, or at least functionally so, while others have held that the range was 25 or 40 metres.  Does anyone have verified post launch data on this, or maybe a video of a character being at a safe distance from the turret?  Specifically, I'm looking for post launch information; the pre launch question I've seen on here is one of the conflicting sources I mentioned.


Is there a fix or workaround for the this platformResourceLoader error

I'm trying to make use of a 3rd javascript library in my LWC. The LWC is on a record page and shows this error when trying to load the page    If I add the component to an app page, it loads without a problem. The component class looks like this  import { LightningElement } from 'lwc'; import chartsJS from '@salesforce/resourceUrl/charts'; import { loadScript } from 'lightning/platformResourceLoader';  export default class Illustration extends LightningElement {     connectedCallback() {         loadScript(this, chartsJS);     } }   Using the debugger I can see the error is coming from the platformResourceLoader because the ownerDocument is undefined  function getDocument(cmp) {   // Detect LWC type via duck-typing.   if (cmp && cmp.template && cmp.template.host && cmp.template.host.ownerDocument) {     const doc = cmp.template.host.ownerDocument;     return doc;   }    throw new TypeError('The first parameter of loadScript() and loadStyle() must be an LWC component.'); }


Is Quantum spin greater than $1$ possible?

I know that fermions have a spin of half of and bosons have a spin of 1 but at many places I have seen that their is written that spin for a boson can be 0,1,2.... Is there any physical meaning of spin greater than 1 or is it just a pridiction as to what possible spin magnitude can be.


What was the take off time of west jet flight number ws2 on June 23 2016 from Gatwick airport. I want to claim compensation and can't remember what time we departed.


Work done changes between reference frames?

(This is not homework; a friend shared with me this puzzler and neither of us can figure it out.) Suppose you are in a plane traveling at velocity $v_1$ relative to the ground. The flight attendent pushes a cart of mass, say, $m$, accelerating it from rest to $v_2$, relative to the plane (so relative to the ground, its velocity goes from $v_1$ to $v_1+v_2$). From your perspective, the work done is then $$W = \Delta E = \dfrac{1}{2}mv_2^2$$ but from the perspective of the ground, the work done is $$W = \Delta E = \dfrac{1}{2}m(v_1+v_2)^2 - \dfrac{1}{2}mv_1^2 = \dfrac{1}{2}mv_2^2 + mv_1v_2.$$ Why are these quantities unequal?  I've seen some similar problems, like a body colliding with a wall in different reference frames, but I don't have the physics experience to tell if that question is analogous to this one. So, my apologies if this is a duplicate. :)


Quotienting $\mathbb Z[x]$ by a maximal ideal gives a finite field.

Let $R = \mathbb Z[x]$, a polynomial ring over $\mathbb Z$, and $\mathfrak m$ be any maximal ideal of $R$. How do we show that $R / \mathfrak m$ is a finite field? I know that the fact that it is a finite field directly follows, but not sure about the finite part.


How can I cancel a single transaction log quickly?

First of all I'm trying to disaster scenario for our db. My DB Recovery model is FULL now. And I have full backup. I can do recover from a time point or TransactionID. But I wanna cancel or undo only one TransactionID on SQL Server. How I can do this without third party software? Thanks in advance.


Valid un-stamped Dutch tourist visa, do I need Airport Transit Visa (ATV) for France? - Pakistan Passport

So I already have a valid Schengen tourist visa issued from Dutch embassy on my valid Pakistan passport. However, I have not yet traveled on it to Holland so it is still un-stamped by the immigration in Holland.  Now I have to make a trip to US through Air France (tickets purchased). Since I will be transiting through Paris CDG, will I need to apply for a separate Airport Transit Visa for Paris,France?  My understanding is that a new Schengen tourist visa is not issued (from other Schengen nation) as long as there is a valid Schengen tourist visa from another state.  Is this also applicable in case of Transit Visa?


Remove rows that are exact duplicates of each other

In Excel 2013, how can I remove rows that are exact duplicates of each other (while keeping only one)?  That is, if there are two or more rows where every column has exactly the same value, only one row should remain after the operation.  I would expect Excel to be able to do this task off the bat, but I don't mind using some script if necessary.


How can I take hundreds of smaller images and create one big tiled image?

I have 251 images that are 128x128 in size; I need to create one big image that includes them all tiled together.  The image will be 32128x32128 in size if all goes well (Paint.NET says it will be 3.8GB in size, fun times)  I need to do this systematically, with a tool or a script since I might have to do this a few times - it's very tiresome to do by hand. I have programming skills, so if the solution requires that, then no problem.  If your idea does not work for such a big image but would work with a part of the images, then I'd like to hear about it anyway.


Device management not showing up on iOS 9.2.1

I truly don't know where to find this when I look it up under the search for settings it brings me to the general settings then leaves me there. I've tried to restart my iPhone but nothing seems to work and I've looked up numerous ways to try and fix it but I can seem to do it.


I've got a good deal and bought a new bike with full Shimano XT groupset and 2x Drivetrain which I am not fully satisfied with, it has 34/24 and 11-42 setup.  I would prefer 1x more but not going to invest in transformation at the moment.  My question is - as it's not a good general practice to combine lowest-lowest and highest-highest rings (I'm coming from Roadies world), will it be bad to use 34T in front in combination with 42T on rear?  I'd rather not to use the front derailleur at all (would be happier with dropper instead).


Parameters pass by value vs parameters as local variables in Javascript

Say for example you have a function like below  var value = 1; function test(myVar) {   myVar = 2 } test(value) console.log(value) //prints out 1   Now, I have read that there are two things that happen in JS functions.   1) Javascript passes primitives by value. When "value" is passed as an argument to test(), a copy is created that is separate from the global variable "value". Therefore the "myVar" is a separate variable from "value"  2) Parameters in JS functions are really just local variables to the function. So, the "myVar" parameter has scope only inside of the test() function.  I know both statements are true, but which one of these statements causes console.log(value) to print out 1


How is time measured in the galaxy far far away?

I understand that the galaxy has a synchronized form of keeping time. It's almost always referred to as standard time. A standard day, week, year etc. They would need that since a a day, week, or year will vary from planet to planet. So my question is, What is the Galactic Calendar Synced to?  I thought it might be the rotation of Courescant since it's the capital of the Republic and the Empire, but I'm not sure.  I would also like to know when the Galactic Calender was established.


How to have one code to be typeset both as final and as source code

I'm very limited in writing Latex code and I could not find how to solve my problem searching in the forum ou googling around.  My problem: I have to write a document with many algorithms and show both the source code and the final typesetting.  This is a MWE of the result I want:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{algpseudocode} \begin{document} The code \begin{verbatim} \If{$a > b$}     \State $c \gets a$ \Else     \State $c \gets b$ \EndIf \end{verbatim}  is typeset as  \begin{algorithmic}     \If{$a > b$}         \State $c \gets a$     \Else         \State $c \gets b$     \EndIf \end{algorithmic} \end{document}   However, I don't want to replicate the code of each algorithm, as it makes hard to maintain and leads to inconsistencies.  I'd like to know if there is a way to define a code and render it as an algorithm and as a source code.  Here is an M(non)WE of what I'd like to have:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{algpseudocode} \begin{document}  \newsamplecode{\ExampleOne}{     \If{$a > b$}         \State $c \gets a$     \Else         \State $c \gets b$     \EndIf }  The code  \begin{Verbatim}     \ExampleOneCode \end{Verbatim}  is typeset as  \begin{algorithmic}     \ExampleOneAlg \end{algorithmic} \end{document}   So far, I'm trying to store the source code and make it available as two distinct macros. It's obviously not working and I'm running out of ideas. Here is what I got:  \newcommand{\newsamplecode}[2]{%     \expandafter\def\csname sc#1\endcsname{#2}     \expandafter\newcommand\csname sc#1verb\endcsname{\verb|#2|} }   This successfully works:  \newsamplecode{codigodez}{     \State Input $s$     \If{$s$}         \State \textbf{say} \textit{ok}     \EndIf }  \begin{algorithmic}     \sccodigodez \end{algorithmic}   But I'm not able to render the source code in any way. I tried to use the xstring package to convert the argument to verbatim and/or to replace \ with \textbackslash. Until now, the internal commands (like \State) seems to be evaluated before any processing I try to apply.  If anyone could point me to a solution, I appreciate.    Edit with my solution  I created a new environment, which saved the code as is, and new commands to input the saved file in distinct context: to typeset as algorithm and to show it verbatim.  \documentclass{article}  \usepackage{algorithm} % numbered algorithms \usepackage{algpseudocode} % algorithmic typeset  \usepackage{tcolorbox} % to save verbatim \usepackage{fancyvrb} % to load verbatim preserving tabs  % environment and commands \newenvironment{definecode}[1]{\begingroup\tcbverbatimwrite{\jobname_code_#1.tmp}}%     {\endtcbverbatimwrite\endgroup} \newcommand{\algcode}[1]{\input{\jobname_code_#1.tmp}} \newcommand{\sourcecode}[1]{\VerbatimInput{\jobname_code_#1.tmp}}  \begin{document}  % a code to be stored \begin{definecode}{mycode} \State $x \gets 1$ \While{$x < 10$}     \State $x \gets x-1$ \EndWhile \end{definecode}   % using the stored code See Alg~\ref{alg:my}.  \begin{algorithm}     \caption{My algorithm.}     \label{alg:my}     \begin{algorithmic}[1]         \algcode{mycode}     \end{algorithmic} \end{algorithm}  And this is the source for Alg~\ref{alg:my}:  \sourcecode{mycode}  \end{document}   I opted to use the commands to detach an "algorithm name" in the code from its actual file name. I know that if I use the same name the file will be overwritten, but I can manage it manually for now.


Keyboard Layout indicator doesn't display current layout in Ubuntu 18.04 (empty drop down box)

I see an empty drop down box where the language code of the  should be.  To reproduce the bug: Lock screen or log out and log in again.    I also get the same behavior on the lock screen at the time when I try to log in with my password:    After I tried the workaround (below) the language code on the login screen disappeared as soon as I typed the first character of my password.  Workaround (not permanent): Switching with keyboard (Super+space) or mouse.  System info: Ubuntu 18.04.1 LTS, GNOME 3.28.2.    Please  if also affects you.


How to show that $3^x+4^x=5^x$ has only one solution? Thanks in advice.


When/why would you use a Zener diode as a flywheel diode (on the coil of a relay)?

I have just been cogitating on the tutorial at , and in the discussion of flywheel diodes it includes this sentence without further elaboration:     As well as using flywheel Diodes for protection of semiconductor components, other devices used for protection include RC Snubber Networks, Metal Oxide Varistors or MOV and Zener Diodes.   I can kind of see how an RC network might be needed if it is a large device and therefore the coil could be kicking back more current than you want to dissipate through a single diode. (Please correct me if that's not the reason.)  I don't have a clue what an MOV is so for the moment I'll ignore that one. :-)  I have read a bit about Zener diodes, but I don't understand why their lower reverse breakdown voltage might be desirable here?  Edit: I'm also puzzled by the following diagram from the tutorial above:    Wouldn't this take any flyback voltage and dump it into the Vcc net? Would it not be a better idea to have the relay coil be between TR1 and ground, and the diode dissipating the flyback voltage to ground?


Algorithm pseudo code not published beyond one page

My algorithm pseudo code is not being published beyond one page though there is no syntax error. The PDF  produced via LaTeX is of only one page but my entire algorithm requires more than one page. So only one page of my algorithm is published in PDF, rest of the matter is truncated. Why is there a limit of one page? Please suggest remedies.  \documentclass{article} \usepackage{amsmath} \usepackage{algorithm} \usepackage[noend]{algpseudocode}  \makeatletter \def\BState{\State\hskip-\ALG@thistlm} \makeatother  \begin{document} \begin{algorithm} \caption{My algorithm}\label{euclid} \begin{algorithmic}[1] \Procedure{MyProcedure}{} \State $\textit{stringlen} \gets \text{length of }\textit{string}$ \State $i \gets \textit{patlen}$ \BState \emph{top}: \If {$i > \textit{stringlen}$} \Return false \EndIf \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \EndProcedure \end{algorithmic} \end{algorithm} \end{document}


Non-Windows NTFS Partition still "locked" by Windows

So, today I thought it would be clever to take some leftover free space from my hard drive and create a partition I could share between Linux and Windows, as I know that Windows is "protective" of it's system partition due to the Fast Startup system.  However Windows apparently had a different idea in mind.  The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda4': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.   While I know this may be remedied by disabling , I would like to avoid doing so.  By using nftsfix I was able to get the partition mounted in RW mode.  Long Story Short:  Is it possible to prevent Windows from keeping a disk's Metadata in it's cache?   If not, how can I setup Linux to run nftsfix on the partition then mount it (preferably with fstab), and would any data be lost using this method?  EDIT: The main reason I wish to keep Fast Startup in tact is due to Startup times. I need to be able to switch to Windows and back quickly in my work setting, sometimes several times in an hour.


Overcoming depression and getting back on rails with PhD work

I'm a first year PhD student (computer science), and I've felt that I lost this year up to now due to some life difficulties. I'm getting no financial support and I was forced to teach to get some money and pay my expenses. I have another personal problems that took me to a state of depression, where I've spent some months completely stuck in my work.  I want to "be back on the rails" and continue to work on this, but I'm feeling lost. I need to go back to the very beginning and find what a PhD is, and what I must do to advance the state of art with my current (weak) capabilities. At the same time I must to show some results to my advisor with what I already have in my hands.  I know that my "question" is pretty obscure, but I need some advices on how to proceed, from people with some experience in this situation. How can I overcome depression and 'get back on the rails' with my PhD?  IMPORTANT EDIT:  Some years later I finally got my PhD. I cannot believe I made it. At the time that I wrote this post it seemed utterly impossible to achieve this. If you are in the middle of a PhD you may try to endure and fight until the end. But if you are wondering about starting a PhD, please make sure YOU ABSOLUTELY LOVE your topic, otherwise you'll end like me when I wrote this. I didn't like my research area and the topic I choose. Everything else seemed to be way more interesting. I wanted to do everything instead of reading papers and conducting my own research. I felt unproductive and useless, and at some point my advisor started to complain about my lack of results. It was my fault since the beginning since I didn't followed a research area that I could have joy with it. I should have choose something that matched my abilities and preferences, for instance, I'm pretty good with programming, but my math skills aren't great, and yet I tried to enter a field that is dominated by math and advanced statistics. I couldn't do what I do the best, neither I was able to catch up with the involved math.


On , we got a new question about 1996's film . We are using the tag  for it but I tried to make it more accurate by making it  by synonym method. When I suggested that new tag synonym, it appeared as two different tags   in individual tag synonym section but looked perfectly fine on synonym page (-- /tags/synonyms).  So I approved it and swap/merge it but its working quite weirdly, whenever I click on this tag from question itself, it take me to the page  and url redirection making it into two tags and breaking the link to the older question belongs to same tag. Similarly if I try to edit any question with that tag, it break it into two tags.  So it seems like + is not a supported sign for tag but then why it's even allowed to be entered during synonymization?


i have two lists: 1 is id list, the second is names list. both have the same amount of values. i want to iterate over those two lists using an index, and create tabs.  i dont know how to access the lists using index.  The code is an idea of what i want to implement, i know its incorrect syntax wise, i just dont know how to write it:  <aura:component implements="forceCommunity:availableForAllPageTypes,flexipage:availableForAllPageTypes,force:hasRecordId,force:appHostable,force:hasSObjectName">         <aura:attribute name="reportIdsList" type="String[]" />         <aura:attribute name="reportNamesList" type="String[]" />          <aura:handler name="init" value="{!this}" action="{!c.doInit}" />        <lightning:tabset class="slds-tabs_card slds-tabs_default">            <aura:if isTrue="{!v.reportIdsList != null}">                  <aura:iteration items="{!v.reportIdsList}" var="item" indexVar="index">                                              <lightning:tab class="slds-tabs_default__item">                         <aura:set attribute="label">                          {!v.reportNamesList[index]]}                         </aura:set>                         <iframe src="https://varonis--dev.lightning.force.com/apex/PowerBIReportA?repId={!v.reportIdsList[index]}" width="100%" height="900" style="overflow: hidden;"/>                      </lightning:tab>                 </aura:iteration>              </aura:if>     </lightning:tabset>    </aura:component>


Javascript - removing undefined fields from an object

Is there a clean way to remove undefined fields from an object?  i.e.  > var obj = { a: 1, b: undefined, c: 3 } > removeUndefined(obj) { a: 1, c: 3 }   I came across two solutions:  _.each(query, function removeUndefined(value, key) {   if (_.isUndefined(value)) {     delete query[key];   } });   or:  _.omit(obj, _.filter(_.keys(obj), function(key) { return _.isUndefined(obj[key]) }))


I don't understand the function of the option -f added to the tail command.  I know that tail views the "last" part of a file. The manual says that     -f outputs appended data as the file grows   But I don't really understand what that means. I know the meaning of each word in the previous quotation, but I don't understand the meaning of the whole sentence.


Testing two raters' time-point data for interrater reliability

My data consists of two raters interpreting one specific phenomenon to occur at different points in time (the observations are not paired, the raters actually identified different amounts of observations). I have two questions:  1) What do I call these data? "Time-series data" seems too general and usually refers to metric data changing continuously over time (while I have just points of data along the time line). Under "time-point data" I don't find problems of the kinds described in question (2).  2) What indices for interrater reliability can I use (in R)? (If an index requires defining how much offset is tolerated, that could be 0.120 seconds.)  example data (in seconds)  rater1:  181.23   181.566  181.986  182.784  183.204  191.352  193.956  195.426  197.568  197.82   198.576  202.02   205.8    206.136  208.53   209.034  216.216  220.08   220.584  230.706  238.266  238.518  239.442  241.5    241.836  244.398    rater2:  181.902  182.784  183.204  193.956  195.384  197.694  197.82   198.576  199.5    202.146  205.8    206.136  208.53   216.258  219.576  220.542  222.096  222.558  226.002  228.312  229.11   230.244  230.496  230.832  231.504  232.554  238.266  238.518  238.602  238.938  241.5    241.836  244.272   I asked about a different part of this problem already . But I guess that was not the ideal community and I supplied insufficient data.


Unity plugin is swalling SUPER+P keybindings

I am trying to bind a custom command to the key binding SUPER+P. I found that it doesn't work when the Unity plugin is enabled in the CompizConfig settings manager, but it does work when Unity is disabled.  All the keybindings listed in the Unity plugin settings are disabled. But it seems as though SUPER+P is being bound regardless.   Does anyone have suggestions on how I can get SUPER+P to run my command without disabling Unity plugin?


Suppose u is a harmonic function in disc $|z|<1$, and u can be extended continuously to boundary, what about its harmonic conjugate v? Can it also be extended continuous to boundary?  I know v can be represented by integral use the boundary value of u, but I don't think this can help.  Can anyone prove it or give a counterexample? Thank all of you.


If $f$ is analytic then $|f|$ is not constant unless $f$ is constant

Let $f$ be analytic in a domain (open connected set of the domain of definition) (that is, every point of that domain is such that $f'$ exists in that point and also in a neighborhood of radius $r>0$ of that point). Show that his absolute value $|f|$ can't be constant unless $f$ is constant too.   Firstly, I'm a little confused about the statement. I must prove $|f|$ is constant $\Rightarrow f$ is constant?  Assuming that's what I must show, here's my attempt: if $f$ and $\overline{f}$ are both analytic then $f$ is constant so if $f$ is not constant and $f$ is analytic we have that $\overline{f}$ is not analytic at some point $p$. But $|f| = \sqrt{f\overline{f}}$ so $|f|$ is also not analytic at the point $p$ so it can't be constant because constant functions are analytics at all points of their domain.  Is my attempt correct? Thanks in advance.


Is it legal to study while on a tourist Schengen visa?

If, say, you acquired a 90-day tourist Schengen visa, would it be legal to use it for the purpose of visiting a language course or a university class? Or do you have to apply for a special education visa if you have such intents?  Answers linking to official EU pages on that matter would be highly appreciated :)


Biblatex ieee incorrect display of volume and issue number

When compiling a tex file including references (by Texstudio editor and Miktex distribution) using biblatex with bibtex backend and ieee style, the results of the displayed references in the output pdf is messed up at the "volume" and "issue number" entries as follows:   The volume label "vol." is missing (Ref. 1 & 2 in the given example below). The numeric issue number "3" is missing (Ref. 1 in the given example). The issue number label "no." is displayed although NO input entry was being given (Ref. 2 in the given example).   If it helps, this behavior was noticed after the recent update of Miktex on March 11, 2017, including  package (ver. 1.2a 2017-03-02). As before which, everything was going fine!  So is this issue noticed by someone else? Is there any idea about the reason of such strange act by biblatex?  \documentclass{article} \usepackage{filecontents} \begin{filecontents}{reference.bib}     @article{author1,         author  = "George Green",         title   = "Basic latex",         year    = "2000",         journal = "Sharelatex Journal",         volume  = "10",         number  = "3",         pages   = "100--101"     }     @article{author2,         author  = "Carol White",         title   = "Basic studio",         year    = "2010",         journal = "Club Journal",         volume  = "20",         pages   = "200--201"     } \end{filecontents} \usepackage[backend=bibtex, style=ieee]{biblatex}  \addbibresource{reference.bib} \begin{document}     Hi there! \\     Ref 1 Green \cite{author1}. \\     Ref 2 White \cite{author2}.     \printbibliography  \end{document}   The output is as follows:


Multivariate log-normal probabiltiy density function (PDF)

The Multivariate Gaussian pdf is given by  $$(2\pi)^{-\frac{K}{2}} \det(\Sigma)^{-\frac{1}{2}} \exp({-\frac{1}{2}}(X-\mu)' \Sigma^{-1} (X-\mu)) $$  The wikipedia for multivariate Gaussians is    However I could not find a pdf for the multivariate lognormal distribution. Does it exist? If so, what is it?


Adding a "C" wire for a wireless theromstat

I have a heat only system with two wires leading to the thermostat - red and white - and am wanting to add a wireless thermostat.  The new thermostat however requires a "C" wire.  Can I add a C wire?


Work out friction coefficient using the two material's properties

For a physics engine I am working on, I need to know two object's friction coefficient (for bouncing, collision detection, friction in general etc.). Since this physics engine will have lots of different materials, it would be inefficient to have a list of every pair of materials, with their friction coefficient. So, I would like to know if there is any value I can assign to each material, which would mean I could work out the friction coefficient between the two objects, using the two material's values.


Indefinite integral $\int(\sin x)^2/(x\cdot\cos x-\sin x)^2\,dx$

How to find the antiderivative of $\dfrac{(\sin x)^2}{(x\cdot\cos x-\sin x)^2}$? I know that series theory can solve the problem. But I wish to solve the problem by the antiderivative way. The numerator and denominator divide the $x^2$ at the same time, don't they?


Need SciFi book title: kidnapped human (hitman), Neanderthal

Juvenile Sci-Fi novel, at least 30 years old, trying to resurrect based on a fond memory.  An Earthman, hitman I believe, is captured by an alien. The hitman sneaks "tapes" for machine based learning (card playing, martial arts, operation of alien machines eg Mark V hovercar?), outsmarting the unsuspecting alien while becoming incredibly intelligent.  He then goes to the stars and some mayhem ensues. Ending involves him determining that his "helper" is a previously kindapped (Neanderthal) Earthling, finding out that he had unknowingly split his intelligence into two halves, and reuniting both halves of his intellect.   Any ideas? Google was not helpful despite numerous attempts. Thanks!


What cardinals can provably not occur as the cardinality of a power set? I know that $\mathbb N$ and natural numbers that are not powers of two are such cardinals. What else is out there?


Switch command output language from native language to english

How can I switch the command output language from my native language to English, so I can post my Ask Ubuntu question with English command output (error messages)?


BMO2 1995 Question 1 - Solve the equation for positive integers (a,b,c)

Find all triples of positive integers (a, b, c) such that  $$ \left( 1 + \frac{1}{a} \right)\left( 1 + \frac{1}{b} \right)\left( 1 + \frac{1}{c} \right) = 2 $$  I tried to expand, yielding $ a+b+c+ab+bc+ca+1 = abc $, but I couldn't go anywhere from here.   This problem clearly involves using the fact that $a, b, c$ are positive integers, since there are three variables and only one equation. It would be great if someone also addressed this condition and maybe tried to solve the problem for other requirements, like when $a, b, c$ are positive or negative integers.  Finally - can anyone post or link other such problems which involves a mix of algebra manipulation and number theory. I would really appreciate it.  (Here is the full paper: )


Do all the enemies rise again in the blood moon?

When there is a blood moon in The Legend of Zelda: Breath of the Wild fallen enemies are resurrected. Are there any that don't?


Finding $\lim_{n \to \infty} 1+ 1/2 + 1/3 +\dots +1/n - \log n$.

$$x_n = 1 + 1/2 +\dots +1/n- \log n$$  Then -  $1.$ Is the sequence increasing?  $2.$ is the sequence convergent?  For $(1)$, $\sum 1/n$ is increasing and $\log n $ is also increasing. First few terms are increasing, but i don't know about later terms.  $(2)$ $n^{th}$ term of the sequence can be written as $a_n = (\sum_{i=1}^{n}) - \log n$  So, $\lim_{n\to \infty} a_n = \lim_{n \to \infty} \sum 1/n -\lim_{n \to \infty} \log n$  Neither first part nor second is convergent here. so i could not conclude anything.  How to solve?


Is the word "empty" in set theory different from the word "empty" in ordinary language?

I skimmed over this question , and I'm currently under the impression that it's a widespread belief that the empty set contains itself. But a contradiction seems to arise: if the empty set contains itself, then it's NOT empty. After all, if we call a set non-empty just because it contains the empty set, then why should we treat the empty set itself differently?  Then it occurred to me that maybe mathematicians define "empty" differently in set theory. Maybe by "empty set" they mean a "set that contains only itself", instead of a "set that contains absolutely nothing".  Is my surmise correct?


I have accounts in Stack Overflow, Programmers, Unix & Linux and Area 51. I don't want to continue my Area 51 account, so I planned to delete my Area 51 account. I have performed the following steps to delete my account, but I couldn't!  Case 1     If your account has votes or posts do the following steps:         Edit the "About Me" section of your profile to say “please delete me”.   Contact the SE support to request deletion.      I edited my "About Me" section to "please delete me". When I contacted SE Support to delete my account, I couldn't make a request. I am getting the following error:  This operation is incomplete. please do it in main site.   For deleting Area 51 account, when I do it main site, in link for deletion column I gave the Area 51 link. It says that:  it is not valid link!   Case 2     If the account has not interacted with the site yet (votes or posts), click on the delete button on your user page next to the edit link.   I am not eligible for this case!  Then how to delete my Area 51 account? Any help is appreciated!


Notification window placement on Mavericks

I would prefer my notifications to pup up in the middle of my screen so that I will be sure to notice them. Is there a Pref somewhere to do this? If not, is there an app equivalent to the previous iCal which will do this? Thanks.


When does the normality of the family of derivatives imply that the family itself is normal?

Let $\mathcal{F}$ be a family of analytic functions in a domain $G$. Denote by $\mathcal{F}':=\{ f' \mid f \in \mathcal{F}\}$. It does not suffice to know that $\mathcal{F}'$ is normal to ensure that $\mathcal{F}$ is normal (namely take $\mathcal{F} = \{ n \mid n \in \mathbb{N}\}$ as a counterexample) but someone assured me that if you assume at some fixed point $z_0 \in G$, if you know that $f(z_0) = 0$ for all $f \in \mathcal{F}$ and that $\mathcal{F}'$ is normal, then $\mathcal{F}$ is normal. But I can't see how to do it.   A friend tried something with line integrals to show that the $f$ are locally bounded on compact subsets, but he only considered compact sets that were the image of a path, which I don't think is sufficient. Which characterization of normality should I try (local boundedness? convergence in the space of functions?)? Does anyone have an idea?


I am writing a ADnroid app, and when i pass a string at this point, I get a nullpointer ...Does someone know why?  Code          Elements titles = doc.select("h3 a");         String[] titlelist = null;         Bitmap[] bitmaps = null;         outputText = "";         int i = 0;         for (Element title : titles) {             titlelist[i] = title.text(); // <--- here comes the NullPointer             i = i + 1;         }   Log:  08-18 17:17:54.522  26470-26470/de.m4lik.somesampleapp E/AndroidRuntime﹕ FATAL EXCEPTION: main Process: de.m4lik.somesampleapp, PID: 26470 java.lang.NullPointerException         at de.m4lik.somesampleapp.MainActivity$TheTask.onPostExecute(MainActivity.java:95)         at de.m4lik.somesampleapp.MainActivity$TheTask.onPostExecute(MainActivity.java:68)         at android.os.AsyncTask.finish(AsyncTask.java:632)         at android.os.AsyncTask.access$600(AsyncTask.java:177)         at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)         ...   The doc.select part is jsoup code where i select headings from a website.


How can I check if a command exists in a shell script?

I am writing my first shell script. In my script I would like to check if a certain command exists, and if not, install the executable. How would I check if this command exists?  if # Check that foobar command doesnt exist then     # Now install foobar fi


Does each season of Game of Thrones roughly equal a book?

Does each current Game of Thrones season roughly equal one A Song of Ice and Fire book? And do we know which future seasons will cover which books?  I am planning to read the first book after the TV show has finished depicting the events in the first book. I would like to know if after each TV season ends I can expect to be able to read a book covering the events depicted on screen?


Not understandable nullpointer exception

private void calculateTotalValue() {     DefaultTableModel dtm=(DefaultTableModel) tableDetail.getModel();     double total=0;     for(int i=0;i<dtm.getRowCount();i++){         total =total+(double)dtm.getValueAt(i, 4);     }     totallbl.setText(Double.toString(total)); }   total =total+(double)dtm.getValueAt(i, 4); this line throws the NullPointerException  But I can't understand why it is happening?


Field extensions isomorphic to subfields of each other

Suppose $K_1,K_2$ are field extensions (not necessarily finite) of a field $F$ and that $K_1$ is $F$-isomorphic to a subfield of $K_2$ (i.e. there is a field homomorphism $K_1 \to K_2$ which injects $K_1$ into $K_2$ and is the identity on $F$) and $K_2$ is $F$-isomorphic to a subfield of $K_1$.  Is this enough to say that $K_1$ and $K_2$ are isomorphic as fields?


Prove $\bigcup_{t \in I}P(A_t) \subseteq P(\bigcup_{t \in I}A_t) $

Obviously $ \{A_t\}_{t\in I} $ is basically a family of desired set. I believe the proof must have something to do with the definition of unions and also the power sets. I had previously proved a similar problem with almost the same structure where instead of unions, intersections were used. However, nothing came to my mind for this one. $$\bigcup_{t \in I}P(A_t) \subseteq P(\bigcup_{t \in I}A_t) $$


Adding Class to Default Wordpress Gutenberg Blocks?

I tried to search for the best way to add classes to default Gutenberg blocks and was unable to find anything. What I need to do is add a class that I can target on each default block that Gutenberg comes preinstalled with. So for the blocks that are just paragraph text, headings, etc. I would need to add the same class to all of those blocks.


CPU governor changes automatically to "performance" under load

I have a Lenovo T570 with Xubuntu 18.04 LTS. My current issue is that my cpu speed stepping is kind of going nuts and does what ever it thinks its best.  Sample: when I run my IDE and cpu load increases during build time, the governor changes automatically. I caught the moment during compiling my project with the following call:  martin@martin-ThinkPad-T570:~$ while cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor; do sleep 1; done powersave powersave performance performance   cpufreq-info tells me this:  martin@martin-ThinkPad-T570:~$ cpufreq-info  cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0:   driver: intel_pstate   CPUs which run at the same hardware frequency: 0   CPUs which need to have their frequency coordinated by software: 0   maximum transition latency: 4294.55 ms.   hardware limits: 400 MHz - 3.50 GHz   available cpufreq governors: performance, powersave   current policy: frequency should be within 3.50 GHz and 3.50 GHz.                   The governor "performance" may decide which speed to use                   within this range.   current CPU frequency is 3.25 GHz. analyzing CPU 1:   driver: intel_pstate   CPUs which run at the same hardware frequency: 1   CPUs which need to have their frequency coordinated by software: 1   maximum transition latency: 4294.55 ms.   hardware limits: 400 MHz - 3.50 GHz   available cpufreq governors: performance, powersave   current policy: frequency should be within 3.50 GHz and 3.50 GHz.                   The governor "performance" may decide which speed to use                   within this range.   current CPU frequency is 3.36 GHz. analyzing CPU 2:   driver: intel_pstate   CPUs which run at the same hardware frequency: 2   CPUs which need to have their frequency coordinated by software: 2   maximum transition latency: 4294.55 ms.   hardware limits: 400 MHz - 3.50 GHz   available cpufreq governors: performance, powersave   current policy: frequency should be within 3.50 GHz and 3.50 GHz.                   The governor "performance" may decide which speed to use                   within this range.   current CPU frequency is 3.26 GHz. analyzing CPU 3:   driver: intel_pstate   CPUs which run at the same hardware frequency: 3   CPUs which need to have their frequency coordinated by software: 3   maximum transition latency: 4294.55 ms.   hardware limits: 400 MHz - 3.50 GHz   available cpufreq governors: performance, powersave   current policy: frequency should be within 3.50 GHz and 3.50 GHz.                   The governor "performance" may decide which speed to use                   within this range.   current CPU frequency is 3.36 GHz.   Please take a look at     current policy: frequency should be within 3.50 GHz and 3.50 GHz.       The governor "performance" may decide which speed to use   Afterwards to go back to powersave I use my little script:  martin@martin-ThinkPad-T570:~$ cat cpu_freq_save.sh  #!/bin/bash sudo cpufreq-set -g powersave -c 0 --min 400MHz sudo cpufreq-set -g powersave -c 1 --min 400MHz sudo cpufreq-set -g powersave -c 2 --min 400MHz sudo cpufreq-set -g powersave -c 3 --min 400MHz   Which resets the min frequency and the governor but as soon as I compile again with my IDE every time the governor and the min frequency changes again.  Any idea how I can disable that automatic change?  PS: If you need more details, just tell me where to find them and I will provide them


Does the age of the universe depend on the way it is defined?

I was reading some earlier posts on this question in stack exchange. These posts give me the impression that the age of the universe is defined in a certain way following prescriptions such as that:   you should be co moving with the galaxy avoid strong gravitational fields choose the longest proper time recorded in all the frames   Defined this way we get the feeling that the age of the universe is not quite objective. Because we will get a different age if we change the definition. To highlight this arbitrariness, let us consider two space-time travellers A and B equipped with rockets and enough fuel who start at the same space point after setting their respective clocks to zero. Let us say that they started long time ago and took very different space-time paths and meet now and compare their clock readings T(A) and T(B). Each one can in principle claim that his clock showed the age of the universe. One may go a bit further and send a large number of travellers and collect all their clock readings at the end and declare the longest reading as the age of the universe. In this case we can say that the traveller who did not fire his rocket is the winner.  The implication in accepting this definition is that the time shown in this clock is the objective or absolute time of the universe while the times recorded in the other clocks are subjective. This way this definition will bring in a preferred reference frame and make the age of the universe an absolute time and not relative. In relativity theories we have not so far invoked preferred reference frames or absolute time concepts. Should the age of the universe be an exception?     I see that my post has some overlap with some earlier posts.However the important difference is that, as agreed by all who responded to my post,the earlier posts did not indicate that the age of the universe could be as arbitrary as the choice of a reference frame and no reference frame has any privileged status compared to the others.If any one wants to use a particular frame for some reason or another we can not question him.But one can not and should not object to the use of a different frame which computes a much younger universe, say an universe only 2000 years old !!! Lo and Behold! 2000 years can not be true as we know that we existed from much earlier days onwards. Hence the interesting question is: what may be a more realistic lower bound for the age of the universe?


How do I set angular velocity/torque so that it's pointing to velocity/direction?

Right now, when I spawn a shootable object, it goes like this:    Because I just set it's angle to this:  float aimAngle = (float) Math.atan2(velocity.y, velocity.x); bullet.setBodyAngle(aimAngle);   I want it to be like this:    I think I should use angular velocity or torque, but I have no idea how. I can't just set it's angle like in previous code every frame, because it makes physics collisions glitch.


if $a\mid x$ and $b\mid x$ and $\gcd(a,b) = 1$, prove $a\cdot b\mid x$

if $a\mid x$ and $b\mid x$ and $\gcd(a,b) = 1$, prove that $a\cdot b\mid x$  Well, I've started by saying that $x = q_1a$ and $x = q_2b$, and I know that $a,b$ are prime numbers. And, I'm not sure how to proceed from here.  Edit: The answer here is better than in the posts listed here


How do I establish peace between the Geth and the Quarians?

Legion is cool. Tali is also cool. I don't want to pick between them.  In ME2, I told the Quarians to not go to war, but they did so anyway.  It seems that it's not possible to stop the war from starting in ME3, but is there any way to end it in a way that doesn't involve total annihilation of one of the sides? I like Quarian Engineers AND Geth Infiltrators.  How do I unite the Geth and the Quarians against the Reapers?


How can I write a cross-site Data Explorer query that joins databases on linked accounts?

to  implies that you can write cross-site Data Explorer queries, but the sample query doesn't appear to do what I think it should.  SELECT TOP 1 *     FROM [StackOverflow.Exported]..[Users] u1     INNER JOIN [ServerFault.Exported]..[Users] u2 ON u1.Id = u2.Id   I had assumed that this would find a linked account between Stack Overflow and Server Fault, but as far as I can tell user IDs are not preserved across the Stack Exchange network. Is it possible to write a query that joins linked accounts across Stack Exchange sites?


How is the best split point determined/predictor calculated in a regression random forest?

In a regression tree (I am particularly interested in random forest regression, but it seems like this can be generalised to regression trees as a whole) a number of random variables is selected at a root node of the tree and the best variable split is selected in order to split the node into two daughter nodes. This continues until a set of criteria is fulfilled. My questions here are: How is the best variable split determined at each tree point in a regression tree? What are the criteria to stop?  As far as I understand the default for random forest regression is that the best variable split should produce lowest mean squared error (a mean squared error of what exactly?) and the stopping criteria are either mean squared error is lower than the entire dataset (somehow I don’t think that is entirely correct) or the resulting leaf size would contain less than 5 variables.   Once it is completed, the algorithm outputs an ensemble of trees. The prediction can then be made. My other question here is; How is the final prediction made at each leaf in a regression tree?  Of course the prediction is an average of the ensemble of the trees, but an average of what exactly? I think in the simplest case (called a constant estimate) it simply is the mean value of variables in that leaf averaged over all trees(?). Or is it a linear regression computed within that leaf averaged over an ensemble?


Why doesn't dark matter interact with a black hole or get pulled in by it's gravity?

I know that dark matter rarely interacts with itself and with ordinary matter. but black holes produce a gravitational field strong enough to curve and drag space-time so shouldn't dark matter also get sucked in being a part of space-time.


For better battery backup whether we have to start charge the laptop when battery about to drain?

I  recently purchased a laptop ,I have  get suggestions from so many people that we should start charging laptop when battery is about to drain and the reason I am getting is battery will last for years if i do that. Is it true.?


I want to download Ubuntu for a laptop that cannot connect to the Internet. Is there any way to do that?


How to return many values in java in this example?

I have a method to find the day after but I don't know how to return all 3 values day,month,year.Please help me. Any help is appreciated.Thanks in advance.  public int dayInMonth(int day,int month,int year){     //....     return day; }  public int theDayAfter(int day, int month, int year) {     day++;     int max=dayInMonth(day,month,year);     if(day>max)     {         month++;         if(month>12)         {             year++;             month=1;             day=1;         }     }     return ; }


Changing object keys inside the array with nested for loops

I am facing a problem with JS object manipulation. I guess I know where is the problem but I cannot find a solution. I am trying to change the keys inside the objects from camel case to snake case (API requires snake case) by iterating over all of them inside the array. But when I change it, it makes a copy of it and does not affect the real object (console.log outside the loops). I hope it is clear, here is the code: for(user of allUsers) {                 for(key in user) {           key = changeCase.snakeCase(key)           console.log(key) //here it shows changed keys         }       }  console.log(allUsers) // no changes in keys here


Show that $\int\nolimits^{\infty}_{0} x^{-1} \sin x dx = \frac\pi2$

Show that $$\int^{\infty}_{0} x^{-1} \sin x dx = \frac\pi2$$ by integrating $z^{-1}e^{iz}$ around a closed contour $\Gamma$ consisting of two portions of the real axis, from -$R$ to -$\epsilon$ and from $\epsilon$ to $R$ (with $R > \epsilon > 0$) and two connecting semi-circular arcs in the upper half-plane, of respective radii $\epsilon$ and $R$. Then let $\epsilon \rightarrow 0$ and $R \rightarrow \infty$.   [Ref: R. Penrose, The Road to Reality: a complete guide to the laws of the universe (Vintage, 2005): Chap. 7, Prob. [7.5] (p. 129)]  Note: Marked as "Not to be taken lightly", (i.e. very hard!)   Update: correction: $z^{-1}e^{iz}$ (Ref: )


In Java, is there a way to have a window that is "Always on top" regardless if the user switches focus to another application?  I've searched the web, and all of the solutions lean to some sort of JNI interface with native bindings.  Truly this can't be the only way to do it?.. or is it?


Symbol for "defined to be logically equivalent" (:⇔)

Is there a way to typeset the symbol ":⇔" correctly in LaTeX (i.e. with the right alignment and spacing)?  I know that using :\Leftrightarrow or :\Longleftrightarrow gets me the symbol I'm looking for (more or less), but the spacing doesn't look right to me. Constructions using \iff or \colon didn't really seem to do the trick, either.   Do I have to define such a symbol myself (if so: how?), or is there a package proving this? Unfortunately, I did not find anything myself (especially because I don't know what to search for exactly; I got the description "defined to be logically equivalent" from Wikipedia, since I didn't even know the correct name).


Link of "modified" should refers to answer in case of modification by deletion

In case when user has deleted his answer the "modified" link on the main page  instead of to the deleted answer:        I think it should refers to the deleted post itself. Because users with 10k+ reputation can see deleted posts (and will be needed to scroll to the post), others will be redirected to the question in any case.  Seems that here is forgotten ?lastactivity suffix for such links.


What do we mean by the term "Number of things"?

I am reading the book    I have some problems with the the first article: "Number".   The author has confined the concept of number of things to the groups which have all distinct elements, that is the number of letters in a group having elements A,B,C is $3$ iff $A,B,C$ all are distinct.           What is the definition and explanation, that is what is the meaning of the term number of things in general English.      Why Professor Fine has confined  this term only for those groups which have all the distinct things.     How the modern Mathematics defines the term Number of things$^{2}$.            My personal understanding is as:    "Thing" refers to both "abstract object" and "concrete object". The "group" of Fine's book is not the "Set" of our modern language. When I say I have 3 coins in my pocket I mean that I have three different "concrete objects" in my pocket. I understand that in real life we do count multiple "abstract objects" of same type as a single one. I am still doubtful on my understanding. It  appears to me that the modern mathematics does not explain the term Number of things when the things under consideration are concrete objects. Read my comment  for my confused mind. I do not have enough knowledge of modern math(especially set theory). There might be some explanation of the term Number of things given by the modern set theory.    ${}^2$ Things may refer to both "abstract objects" and "concrete objects".


how to write syntax in sql like that ? because i have an error in this. (with php)

SELECT * FROM posts ORDER BY `posts`.`postid` DESC WHERE postid < ".$_POST['last_video_id']." LIMIT 8 ;


How to use `find` command with a directory starting with special characters

I am writing a script which takes a directory name from user, then find files inside it. The script may fail if the user use some special characters with their directory name.  $ var="-foobar"; $ find "$var"; find: unknown predicate `-foobar'   For a lot of commands, it is easy to avoid the problem by giving -- to indicate that it is an end of options. But it does not with with find:  $ find -- "$var"; find: unknown predicate `-foobar'   What should I do to handle directory with unpredictable characters?


Test of Equal Proportions with exact p-values

The question "" showed me that using a test of equal proportions with very low or very high numbers of successes doesn't give an accurate p-value. Below is an example where I'm testing if three independent experiments have the same probability of success ($H_0: p_1 = p_2 = p_3$), for $n_1 = n_2 = n_3 = 10$ and $f_1 = f_2 = 0$ and $f_3 = 1$ (zero successes out of 10 trials in two of the three experiments, one success in the third experiment).  prop.test(c(0,0,1), c(10,10,10))$p.value ## [1] 0.3554102 ## Warning message: ## In prop.test(c(0, 0, 1), c(10, 10, 10)) : ##   Chi-squared approximation may be incorrect   The same with $f^\prime = n - f$:  prop.test(c(10,10,9), c(10,10,10))$p.value ## [1] 0.3554102 ## Warning message: ## In prop.test(c(10, 10, 9), c(10, 10, 10)) : ##   Chi-squared approximation may be incorrect   How to compute exact p-values in these cases?


How to get the tiles on the tileload event and store it locally ?

I am using openlayers3 to make a small mapping demo , now what i want to do is when the user visits the map demo the first time , ofcourse the tiles are loaded from over the internet , so the 1st time around i would really like to store the map tiles locally , so that when the user visits the map the secound time aronnd the tiles are loaded from the localstorage of the users device rather than from over the internet . So far i have made  demo .   Below is how i am initilizing the map:  var map = new ol.Map({     layers: [         new ol.layer.Tile({             source: new ol.source.OSM()         })     ],     target: 'map',     controls: ol.control.defaults({         attributionOptions: /** @type {olx.control.AttributionOptions} */ ({             collapsible: false         })     }),     view: view });   Below is how i get notified, everytime a tile is loaded,   var source = map.getLayers().item(0).getSource();  source.on('tileloadend', function (evt) {     console.log('loaded ...');     console.log(source.getUrls());     //console.log(tileUrlFunction(evt.tile.getTileCoord(), 1, ol.proj.get('EPSG:3857'))); });   If you check the url i have posted , you will see  console.log('loaded ...'); in the console.  But now what function/method do i use to get the tile , so that i can store it locally ? I.E. store the tile locally ?


Re-calling/re-printing a theorem from an external document

For a manuscript I need to include theorem proofs as supplementary material. So I mention the theorem in the main file and I need to re-print the theorem in the supplementary material with the same theorem number and then provide the proof.  For this purpose I define the theorem in the main.tex file as follows:  \begin{restatable}{thm}{firsttheorem} \label{thm:first}   Sample theorem.  \end{restatable}  \begin{proof}   Refer to supplementary material. \end{proof}   Then in my supplementary material file supp.tex I use the xr package and refer to my main document as  \usepackage{xr} \externaldocument{../main}   But I am not able to refer to the theorem as such  \firsttheorem*   It gives the following error message  Undefined control sequence. \myfirsttheorem


Installing Ububtu on an older smartphone

Is it possible to install Ubuntu on my phone Walton Primo D1?  These are some of the important specs of my phone:  Chipset   MediaTek MTK 6575M   CPU   1GHz cortex A9   GPU   PowerVR SGX 531   Sensors   Proximity sensor, Accelerometer sensor(3D), Orientation sensor, Compass   Internal Memory   ROM: 512 MB RAM: 256 MB   Extra Storage   MicroSD: up to 32 GB   If possible, then how can I install Ubuntu on my phone?


Identify VMWare Guest from within Linux Guest

Is there somewhere from a Linux guest that will show me if the VM is running on VMWare's hypervisor?   Ideally a method that doesn't require vmware tools to be installed... maybe something in /proc or /sys?


Does Mercy's damage boost apply to turrets?

Torbjorn's turret is his main feature. It provides area denial and slows down offensive pushes. As a Mercy, if I damage boost Torbjorn, does his turret also see this benefit, or only his rivet gun? Same goes for Symmetra, are her sentries impacted by damage boost or not?


I would like to display only the teaser view of nodes

I hope someone can help me. Here's my issue:   I'd like to create a content type - let's call it News Story.   Amongst its other attributes, this content type will have a taxonomy field.   I would like to be able to create a number of views around my site to display a subset of the News Story content, based on its taxonomy value.   However, I do not want the News Story to generate a standalone node/page - I only want the news stories to appear in views of news stories.   Have you done this before? How did you do it?   I'd be really grateful for your help.   Thanks


How to compress / reduce the size of JPEG photos for archiving?

I have 50,000 high resolution JPEG photos, where a couple of them might occasionally be needed, about once a year.  I wanted to zip them to save disk space, except that zipping gives no space benefit - so trying to reduce the images disk usage using winzip, winrar or 7zip was not successful.  Is there any software or algorithm similar to zip to compress image size on hard disk for storage without loosing any image information?


Well, Monday night i went out to hangout with some friends and my iphone 5s cellular internet was working fine, midway into the night a few hours after hanging out my cellular data internet completely shut off, I usually have LTE but now not a single icon was in place of where the LTE one originally was. Is there a way to fix this? and no i havent went over my data plan. It does work on wifi as well.


Why is the speed of light a limit? and why is it just $3×10^8\,\text{m/s}$?

Why does light travel with speed $3×10^8\,\text{m/s}$? and why not more?


I was wondering if someone could explain the subtle difference between these sentences:  1) Monday should be fine.  2) Monday would be fine.  This is in the context of someone asking if they could help me out on Monday instead of on Sunday. I am a little confused about the difference between the usage of 'should' and 'would' here. Both seem to fit. I personally seem to prefer 'should' but I can't explain why. Any help would be appreciated.  Thanks.


Why human hair is losing its color over time?

Human hair is losing its color over time, that's a known fact.  I would like to know why, meaning what biological processes are involved in this?  Also, is it part of the DNA somehow, i.e. the exact rate of losing the color is known when one is born?


Given  $n \in \mathbb{Z}$  Is $y^3 + ny + 1$  is  reducible  over $\mathbb{Z}$  for infinitely many $n $?  Yes/NO  My attempt  :  I thinks yes  Every  odd degree  polynomial has atleast one roots   Is its  true ?


Cycles Flame in Smoke Simulation not Rendering

I am trying to make an explosion in Blender.  I am having a problem with the smoke simulation with the Cycles rendering engine. More specifically, I have been able to render smoke, but flames do not show up. In the viewport however, everything looks perfectly fine.  The render looks like this:    But in the viewport, it is clear that there are flames. Does anyone have any idea what is going on?     This is NOT a duplicate of  because I have Flame Rate set to 1.0


NullPointerException trying to populate array from JNI

I receive a null pointer exception when I call setTimeStamp method from JNI.I want to populate the array on JNI side .(Array is Array of custom objects)   DataAvailable  public class DataAvailable { String timestamp; public void setTimeStamp(String timestamp) {     System.out.println("Timestamp is "+timestamp);     this.timestamp = timestamp; }   JNIWrapper.java  public native int pax_store_get_data_avail_info(DataAvailable[] stats_array);   JNI Code  JNIEXPORT jint JNICALL Java_demo_JNIWrapper_pax_1store_1get_1data_1avail_1info   (JNIEnv *env, jclass jclass1, jobjectArray jobj){  jclass dataClass=(*env)->FindClass(env,"demo/DataAvailable");//Get the java class   for(i=0;i< 2;i++)     {                 jobject j=(*env)->GetObjectArrayElement(env,jobj,i); jmethodID meth=(*env)->GetMethodID(env,dataClass,"setTimeStamp","(Ljava/lang/String;)V");//this gets the method id present in the class                   if(meth==NULL){                 printf("Method set is null");                 }  jstring x =  (*env)->NewStringUTF(env,"2013-12");         (*env)->CallObjectMethod(env,j,meth,x);//This is where I get Null Pointer  }   (*env)->DeleteLocalRef(env, dataClass);  return 0;  }


A property of divisibility by an odd prime $p$

Note that for $(x+1)(x+2)$ the coefficient of the linear term is divisible by $3$. Prove that in general for $$f(x)=(x+1)(x+2)(x+3)\cdots(x+p-1)$$ the coefficient of $x$ is divisible by $p$ where $p$ is an arbitrary odd prime.


Proving that $\lim\limits_{x\to\infty} xf(x) = 0$ given certain conditions

Suppose $f$ is a continuous decreasing function on $[0, \infty)$ and $\int^{\infty}_0 f(t)\ \mathrm {d} t$ converges. Prove that $\lim\limits_{x\to\infty} xf(x) = 0\ $. I am currently preparing for my final calculus examination and this question appeared in last semester's paper. I have been staring at it for hours but have no idea how to even approach it. Any hints/intuitions on how to work this will be greatly appreciated :) P.S. I am only taking an introductory calculus module in college, so please do not provide solutions which require "heavy machinery" :)


Prove I know a value $v$ in a Pedersen Commitment without revealing it

Given a Pedersen Commitment:  $P = aG + vH$  Where $G$ and $H$ are points in some group. $a$ is a blinding value/mask and $v$ is the value I wish to commit to.  Is there a way to prove I know $v$ without revealing it?


Proper File Name Conventions for File Indexes

I have a subdomain set up as an online file index. However, I am interested in the best practices for filenames. For example, all of my directories are lowercase, but some of my files contain uppercase letters. Is this standard practice? If not, what are more acceptable options?


Best way to get started as a young engineer student trying to get into the financial world

to start of with I want to explain my situation. I'm a young student in my early twenties in my last year to finish my bachelor in engineering. I have literally searched for months now on Google and on forums (especially this forum) on the best ways to get introduced to the financial world. I have learned a lot and got a whole good advice (and bad advice) in this subject, still it's kinda hard to know what is good and what is bad since I don't have any experience in the field.  My question is as many others on this forum, how can I get started and not end up in the wrong/slow direction?   specifies it good, but still the book that has the top comments is in the end about investing and putting money into Roth IRA's and long investing plans. I have no problem with these, it's just that I live in Sweden (and that's the reason for my English) and I don't know if these investing and saving methods work the same here. I can't find the correspondent to a Roth IRA here, we have something else I think.  What tax-advantaged retirement savings options might be available for me in Sweden?  Is there any book, website, blog that would be the best start for me to get knowledge and then later on develop investing strategies?   Some feedback that I have received for going through all websites/comments is that a lot of people suggest the book "" by Benjamin Graham. I bought this book and got through 50 pages till I got enough because I didn't know the terms, and they said this was the best first book to start with!   Some more about my background is that I have probably 1000$ to invest at the moment (It's not much, I know) and I will surely do an internship this summer before my master studies begin. I have a lot of free time to learn, that's why I need and want this.   All comments and feedback on good literature and websites will be much appreciated! Again, I know there are a lot threads about this matter, but can't get a specific answer from it regarding my case.  Thanks in advance


Set Theory: Equivalency of Axiom of Choice and Choice Function

This is the first part of the first half of the a proof in the Axiom of Choice. The proof that the Axiom of Choice is equivalent to the choice function. REsources: Keith Devlin's Joy of Sets: pg. 58. F.R. Drake and Singh Intermediate Set Theory: pg. 110).   I am confused on proving disjointness and will ask further questions of proof once I get this first part v. clear for myself.   AC1: Let $\mathcal F$ be a family of pairwise disjoint, non-empty sets. Then there is a set $\mathcal M$ that consists of precised one element from each member of $\mathcal F$  AC2: For every family $\mathcal F$ of non-empty sets, there is a choice function $\mathcal f$. (I.e. $\mathcal f(X)$ is a member of X, for each X in $\mathcal F$.   Disjointness: Two sets are disjoin if Q $\cap$ R = $\emptyset$. Meaning that they have zero elements in common. These sets do not overlap.   Show: AC1 $\leftrightarrow$ AC2   (1) ($\rightarrow$) Let $\mathcal F$ be a set of nonempty sets.   (2)For each X $\in$ $\mathcal F$, let $X^*$ = (X $\times$ {X}) = {(x, X) | x $\in$ X})  (3) Show Disjointness.  An outline of how book proves  disjointness:  (a) if u = {(X $\times$ {X}) | x $\in$ X} then u is of the form $\lt  z, t \gt$ where z = X and t=x, i.e. x $\in$ X.   (b) then if u $\in$ ({X} $\times$ x) $\cap$ ({Y} $\times$ Y) $\rightarrow$ u = $\lt z, t \gt$ with z = X and z=Y, i.e. X=Y. Which means ({X} $\times$ x) = ({Y} $\times$ y).  Questions: (1) Apparently we cannot prove disjointness in $\mathcal F$ but must prove in a different set. If so, why is that?  (2) why is the case that if u $\in$ ({X} $\times$ X) $\cap$ ({Y} $\times$ Y) then z =X and z=Y? I am not following that step at all.   (3) why does the axiom of choice have to do with ordered pairs? Why are we setting X $\in$ $\mathcal F$, let $X^*$ = (X $\times$ {X})?    Thank you!


I'd like to know how I can a Chapter title into a color box and change the style and personalize it. The only thing I could do, at the moment, is...    What I like to do is change the style of the title, putting into a box, etc. Thanks for all your ideas!


I've rendered about 300 frames for a short clip. The frames look fine, but when I compile into a movie all I get is a black screen. I haven't been able to find anything to solve this problem. The individual frames are well lit, capture what I want them to, look great. Just creating the AVI or MPEG results in a clip that has nothing but black.


Referencing a template from an inner class

I have the following code   template<typename VP,bool b>   class ValueProcessor{     template<typename Access,typename X> void processValue(X& x){}   };     template<typename VP>   class ValueProcessor<VP,true>{   public:     template<typename Access,typename X> void processValue(X& x);   };    template<typename VP>     template<typename Access,typename X>    void ValueProcessor<VP,true>::processValue(X& x){     class Updater{       ValueProcessor<VP,false> valPro;       X x;     public:       void operator()(){         valPro.processValue<Access,X>(x);       };     };   }  but it fails with this error     source>: In member function 'void ValueProcessor<VP, true>::processValue(X&)::Updater::operator()()': <source>:23:32: error: expected primary-expression before ',' token    23 |      valPro.processValue<Access,X>(x);       |                              ^  How can I refer to Access from the inner class?


How to partition a disk for installing Ubuntu?

Currently I'm running Vista on my laptop but it's getting slower each day, so I decide to install an Ubuntu on my laptop, while for some reason I still need to keep the Vista.  Right now I have two disks under Vista: C:/ for the Vista system and installed software,  D:/ for my personal data, e.g, music, movie, photo.   I want to keep some of the personal data and delete something unnecessary to spare about 50GB space.  So my question is this: is there a way to 'cut' the free 50GB into a independent disk, say E:/, so I can install Ubuntu on it, while not affecting my Vista system?


How can I show that $\sum\limits_{n=1}^\infty \frac{z^{2^n}}{1-z^{2^{n+1}}}$ is algebraic?

Show that $$\sum_{n=1}^\infty \frac{z^{2^n}}{1-z^{2^{n+1}}}$$ is algebraic.   More specifically, solve this and get exact values.   Then use the result to evaluate $$\sum_{n=0}^\infty \frac{1}{F_{2^n}}$$ where $$F_n=\frac{\alpha^n-\beta^n}{\alpha-\beta}$$  and $\alpha=\frac{1+\sqrt{5}}{2}$  and $\beta=\frac{1-\sqrt{5}}{2}$.


I have 12.04LTS installed on my laptop. I want to upgrade it to 14.04LTS. I tried to find a method but didn't succeed. I read somewhere that I can directly upgrade from one LTS to other but how?


Suppose $R$ and $R '$ are $ 2 \times 3$ row-reduced echelon matrices and that the system $Rx=0$ and $R'x=0$ have exactly the same solutions. Prove that $R=R'$.  In general, is it true that any 2 $m \times n$ matrices that have the same solution must be row-equivalent?


Runge-Kutta fourth order with negative stepsize

I am solving an ODE using the Runge-Kutta method 4th order and the integration is backward i.e step size ($h$) is negative. All the references that I have seen consider the positive step size.  Is it ok to change $h$ to $-h$ in Runge-Kutta method or is there any change in sign in $K$ values?


Where can I find records about German military records from World War II?

I am looking for information pertaining to German soldiers during World War II. My significant other's great grandparents were from Germany during the second world war. His great-grandfather was in the Nazi youth program, and fought as a soldier in Italy. He was captured by the Americans in 1941 or 1942 in Italy. I was wondering what kind of records can I find surrounding german POW's or german records.


When I download a package in Ubuntu, what files does it install on my system and where?  I'm just curious about the package structure in general (I searched and it doesn't look like anyone's asked this on here before).  It will obviously differ to some extent from package to package, but I'm guessing there must be some 'standard' guidelines that are followed?  Also, are the packages in the Software Center the same as the packages that are available through apt-get?  If not, how can I see what packages are available in apt-get and what they do?


Are 'begin' and 'start' interchangeable? Both "This is a new start" and "This is a new beginning" work, right? Then during games, they say "Let's start", but I never heard "Let's begin". So is there supposed to be a difference? And then one guy said this "They could not begin to start a conversation". What is this supposed to mean? Is it correct?


What to do if predatory journal won't withdraw paper after acceptance?

Last year, I’ve started an independent research in hopes to be published one day. Fast forwarding a year (a couple of weeks ago in fact), I have finished my manuscript in which I was planning to submit it to an open access journal called Journal of Emerging Infectious Disease with OMICS. At the time, I did not know that OMICS was a predatory journal (after seeing Beall's list) and I’m at the final stages before it get published.   To clarify, my manuscript has been accepted for publishing BUT during that time, I found out that it was a predatory journal and requested that I retract my manuscript from this journal.  I did not sign anything or pay anything to OMICS. What happened was that they sent me the acceptance letter saying my manuscript got accepted for publishing. They gave me 48 hours to request any changes to the final project of the manuscript before publishing. In that 48 hours, I found out that they were a predatory journal and messaged them accordingly. At this point, I did not sign anything entailing that I sent copyrights to them or payed any fees and it's not published yet.  They advised me that they have made the DOI and it is impossible for them to retract. At this point, I did advise them that I will not approve anything going forward and that they appreciate my request to retract from the journal.   Given the story that was mentioned above, I was wondering if you have any advise on going forward and if possible, see if there is a possibility that my manuscript will not be published in this predatory journal? I was extremely shocked that these type of practices by journals existed and extremely glad I caught this before accepting anything to be published. I greatly appreciate any advise you will give and hope to hear from you soon.


When does realisation of velar nasal /ŋ/ as alveolar nasal [n] happen along with tensing of the preceding vowel (/ɪ/ to [i])?

I have observed some English speakers in North America who seem to produce this assimilation in words like running /ˈrʌnɪŋ/ (as [ˈrʌnin]) or winning /ˈwɪnɪŋ/ (as [ˈwɪnin]). I'm specifically interested in when the final vowel becomes [i] or [iː] and not /ɪ/ (as in some Southern American English accents, which produce [ˈrʌnɪn] and [ˈwɪnɪn]). Is this a regional accent? I found some additional anecdotal discussion at the following links:   (a site for English learners)


I am not able to drag and drop a docx file from desktop to Trash. And there is no application running in background. What couls be reason for this?


Hello everyone!  I do not know how to create a bar chart with a persoalization with pgfplots. I have questions with the command and settings. I tried to make some additions with ycomb and scatter, but to no avail.  Thank you and awaiting.  Follow de code:     \documentclass{article} \usepackage{pgfplots} \usepackage{file contents} \pagestyle{empty}      \begin{document}          \begin{tikzpicture}             \begin{axis}[%             ycomb,         legend style={             at={(0.5,-0.15)},             anchor=north,legend columns=-1},         scatter/classes={%             a={blue},%             b={red},%             c={yellow}}]         \addplot[         scatter,         scatter src=explicit symbolic]%         table[meta=label] {             x  y label             1.0 1 a              1.1 1 c              1.2 1 a              1.3 1 a              1.4 1 b              1.5 1 c              1.6 1 b              1.7 1 a              1.8 1 b              1.9 1 c              2.0 1 b              2.1 1 c         };         \legend{a,b,c}         \end{axis}         \end{tikzpicture} \end{document}   marsupilam  Friend, good afternoon.  You really are right. I tried to make an adaptation with the scatter, through my readings, I managed to put the "ycomb" to create a line. However, I could not fit the category color line.  After your comment, I realized that what I wanted to do is what you said. The histogram from the categories.  I do not know where to post the comments.  Am I on the right path?  I'm sorry, my friend, I used the translator.  I want to make a bar graph (histogram) with the scatter features. That is, the bars will have colors from the category. I've tried setting up a few things from web searches. The closest I got was the image I posted. The colored circles from the category and the line in black color.  Thank you and waiting for your help.


Refresh the whole service console from visualforce page

I want to refresh the entire service console on clicking of the save button on the visual force page. The button is an inline visual force page. Any ideas?  <apex:includeScript value="/soap/ajax/26.0/connection.js"/> <apex:includeScript value="/support/console/26.0/integration.js"/> <script type="text/javascript"> function focusAndSave() {     document.getElementById('focusMe').click(); }     </script>     <apex:form >     <apex:pageBlock id="pb">         <apex:pageMessages id="errMsgsId"></apex:pageMessages>         <input type="text" id="focusMe" style="display:none" />         <apex:pageBlockTable id="table" value="{!candidateMap}" var="c">             <apex:column value="{!candidateMap[c].Contact__r.Name}"/>             <apex:column value="{!candidateMap[c].Submitted_at__c}"/>             <apex:column value="{!candidateMap[c].Interview_Availability__c}"/>             <apex:column value="{!candidateMap[c].Notice_Available__c}"/>             <apex:column headervalue="Stage">                 <apex:outputfield value="{!candidateMap[c].Stage__c}">                     <apex:inlineEditSupport event="ondblclick"/>                 </apex:outputfield>             </apex:column>             <apex:column headervalue="Ideally looking for">                 <apex:outputfield value="{!candidateMap[c].Ideally_looking_for__c}">                     <apex:inlineEditSupport event="ondblclick"/>                 </apex:outputfield>             </apex:column>             <apex:column headervalue="Action">                 <apex:commandLink value="Save" action="{!saveCandidate}" rerender="errMsgsId,table" onclick="focusAndSave()" oncomplete="testGetFocusedPrimaryTabId()">                     <apex:param name="candidateId" value="{!candidateMap[c].Id}" assignTo="{!candidateId}"/>                 </apex:commandLink>             </apex:column>         </apex:pageBlockTable>         <apex:panelGrid columns="7" style="margin: 0 auto;">             <apex:outputLabel value="{!noOfRecords} records found"></apex:outputLabel>             <apex:commandButton status="fetchStatus" reRender="pb" value="|<" action="{!first}" disabled="{!!hasPrevious}" title="First Page"/>             <apex:commandButton status="fetchStatus" reRender="pb" value="<" action="{!previous}" disabled="{!!hasPrevious}" title="Previous Page"/>             <apex:commandButton status="fetchStatus" reRender="pb" value=">" action="{!next}" disabled="{!!hasNext}" title="Next Page"/>             <apex:commandButton status="fetchStatus" reRender="pb" value=">|" action="{!last}" disabled="{!!hasNext}" title="Last Page"/>             <apex:outputLabel value="Page {!pageNumber} of {!pagecount}"></apex:outputLabel>         </apex:panelGrid>     </apex:pageBlock> </apex:form>


How would I edit a sprite on an SNES rom?

I want to take the game Shaq Fu and change one of the sprites for my own. How would I go about doing it?


Primary Fermentation Only Cuased Bubbles for 2 Days

I think the area I fermented in was too warm for my Brewers Best Weizenbier.  About 75 degrees instead of the recommended 68-72.  Bubbles were flowing though my airlock for a couple of days, but then stopped. The instructions with the kit said it'd bubble for 4-6 days. I'm assuming it's done fermenting, but afraid it did so too fast and not sure if that's a bad thing.   Advice of next steps?  Go ahead and bottle?  Reyeast?


What causes this kind of sensor spots, and how do I clean it?

I get this spot in my images, on Sony A7III  shot data: 0,8" second, F/36, ISO3200. Focused at closest point.  Full Frame:    Frame crop:    As seen here, the spot is caused by dirt on the sensor:    I tried internal autocleaning, then using an air blower w/ camera pointing downwards, but it's been useless. What kind of dirt causes this particular spot? And what cleaning technique would be the appropiate for it?


What is the value of this Infinite Product of prime numbers expression?

What is the value of:  $$\prod_1^\infty \frac{p_i^2}{p_i^2 -1 }$$ Where $$p_i$$ are the prime numbers: 2, 3, ...


Given a shuffled poker deck, if we draw one card at a time from the top and stop when we draw an ace, and denote $X$ as the number of cards we have drawn, what is $P(X=10)$?   I am thinking $P(\text{ace})$, which is $\frac{18472}{54145}$ but the system does not accept it.  Can someone please help me understand the questions even?


Is there any way to list all .pkg packages that I have installed?

Just wondering if there is any Terminal command to do this, because I think my OSX was already messed up with some incompatible .pkg installations. Thanks.


In my D&D 5e campaign I'm playing a Barbarian that I've focused on grappling and pulling enemies around the battlefield. Can I grapple multiple enemies at once, one in each hand for example? If I can, can I force drag both at the same time? Is it still half speed or a quarter if I can do that? I've found multiple sources contradicting whether it does or doesn't work.


How to customize the auto-generated user of a DX scratch org

I am using SFDX to develop an app for German users. My tests assume the test-running users has EURO as default currency. Therefore my tests fail as the admin user auto-created with a scratch org uses US dollars.  Is there any way I can modify this admin user?  I know that I can create additional scratch org users using   sfdx force:user:create --definitionfile config/user-def.json   but making one of those additional users the admin that logs in on force:org:open or runs tests seemed to be really complicated.


How to inherit from templated class when the constructor requires the templated parameter?

I'm getting an undefined reference error when attempting to inherit from a class that uses a template.  Is there a way to pass the base class an instance of the templated parameter?  template <typename T> class Property {     T  _value;  public:     Property(const T& initValue);     ~Property();      virtual QString propertyId() = 0;      virtual T value() { return _value; }     virtual void setValue(const T& value) { _value = value; } };  template<typename T>  Property<T>::Property(const T& initValue)     :_value(initValue) { }   template<typename T>  Property<T>::~Property() { }  class PropertyReal : public Property<qreal> {     static const QString ID;  public:     PropertyReal();     virtual ~PropertyReal();      QString propertyId() override { return ID; } }; const QString PropertyReal::ID = "real";  PropertyReal::PropertyReal()     :Property(0.0) { }  PropertyReal::~PropertyReal() { }   I'm getting an error at the constructor of the PropertyReal::PropertyReal():  D:\longpath\PropertyReal.cpp:10: error: undefined reference to 'Property<double>::Property(double const&)' D:\longpath\PropertyReal.cpp:14: error: undefined reference to 'Property<double>::~Property()'


How do I enable Bluetooth in my Nikon D3400?

The option to turn on Bluetooth (and location) in my Nikon D3400 is greyed out, and an error pops up that says, "this option is not available at current settings or in the camera's current state".  I have searched the manuals and there is nothing about enabling Bluetooth. How do I turn it on?


Unable to install ubuntu snap in 16.04 LTS

I'm unable to install snap in Ubuntu 16.04, instead, I get the error shown below:  dheer@dheer-Inspiron-3558:~$ sudo snap install notes   [sudo] password for dheer:  *********  error: cannot perform the following tasks: - Fetch and check assertions for snap "ubuntu-core" (423) (Get https://assertions.ubuntu.com/v1/assertions/snap-revision/7sS9MbzjeZ87E4IVq3ByrAO8t1YqriNlaX4r7eT5AHYZjzRCa7twTmWU53e6falH: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)) dheer@dheer-Inspiron-3558:~$    Please help?


Changing Excel file to shapefile for use in QGIS?

I have my data in an Excel sheet.   How do i convert it to CSV and shapefile for use in QGIS?


When talking about decades, is it correct to write "90's" with an apostrophe?

When referring to decades such as the nineties, is it correct to write 90's with an apostrophe?


Problem with Infinite number of iterated integrals

I have been working on a problem from a past high school Math Competition and I have been stumped. I am asked to compute $$\lim_{n\rightarrow\infty} \int_{0}^{1}\int_{0}^{1}\cdot\cdot\cdot\int_{0}^{1}\frac{x_{1}^{505}+x_{2}^{505}+...+x_{n}^{505}}{x_{1}^{2020}+x_{2}^{2020}+...+x_{n}^{2020}}\,dx_{1}\,dx_{2}\,...\,dx_{n}$$ At first I tried a lot of direct evaluations of the integral to find a simplification i.e. solving the general integrals $$\int_{0}^{1}\frac{x^{505}+a}{x^{2020}+b}\,dx$$ but this really only complicated the matter, so I began to look for more clever manipulations. I noticed for $x_i \in [0,1]$ that we would have the integrand $$ f(x_1,x_2,...,x_n) = \frac{\frac{1}{n}}{\frac{1}{n}}\cdot\frac{\sum_{i=1}^{n}x_{i}^{505}}{\sum_{i=1}^{n}x_{i}^{2020}}$$ which can be seen as a Riemann sum so at infinity, $$\lim_{n\rightarrow\infty}f(x_1,x_2,...,x_n)=\frac{\int_{0}^{1}x^{505}\,dx}{\int_{0}^{1}x^{2020}\,dx}=\frac{2021}{506}$$ My thought process was that the region in $\mathbb{R}^n$ being integrated over is the unit cube, so I could try to view the integral as the product of the volume of the region by some average value of the function in the region, which would maybe approach a constant value because of the Riemann sum? I was just unsure if any of this can be justified, especially when the number of integrals approaches infinity. Any help or advice is appreciated.


Can we automate detection of cross-posting?

How difficult would it be to detect cross-posts when the relevant questions have identical titles and content, and are posted by the same user? As an example:        If this is technically possible,  I'm not sure what the best response would be?   Notify the user when asking the question that . For off-topic cross-posts (e.g. the above example): Let the question be closed as off-topic, and then automatically block or flag the question as an exact duplicate during migration. For on-topic cross posts (eg a game programming question on SO and gamedev): Not sure what the process is for flagging/closing cross-posts, but whatever it is, can we automate some aspect of that? Something else?   (Edited to remove request for auto-detecting same-site re-posting, which has already been implemented since the example I listed occurred)


How much memory can a 32 bit process access on a 64 bit operating system?

On Windows, under normal circumstances a 32 bit process can only access 2GB of RAM (or 3GB with a special switch in the boot.ini file). When running a 32 bit process on a 64 bit operating system, how much memory is available? Are there any special switches or settings that can change this?


In my Ubuntu 16.04 , 64 bit OS, I tried the following   * * * * * export DISPLAY=:0.0 && notify-send Hey "How are you"   And  * * * * * export DISPLAY=:0.0 && /usr/bin/notify-send Hey "How are you"   But, unfortunately, it is not working.  I found in other threads that the above command works.   How to run it on my machine?  The command notify-send Hey "How are you" works on the terminal.  Also the command * * * * * echo "trying to notify at $(date)" >> /home/user/Desktop/test.txt works fine from crontab file  The output of $ echo $DISPLAY is :0  also  $ who -u cosmicraga   tty7         2016-11-07 06:45 06:12        2524 (:0) cosmicraga   pts/1        2016-11-07 12:54   .          6333 (:0) cosmicraga   pts/17       2016-11-07 12:50 00:02        6333 (:0)


Any experience in working with aged emeritus supervisors?

Recently, a graduate position, supervised by an emeritus faculty member has been offered to me. The aforementioned professor is one of the most famous contributors of his field on the planet for over 3 decades, but his age is over 75...  Some people just advise that the old faculty members would not capable of the active research and support of the graduate students and one better tries to inhibit cooperation with them.  The others asserts that the worthy and coherent experience and cumulative knowledge of such people shall be grabbed by graduate students by working with them!!!  I just struggled to contact with his current and former students to know his code of ethics, specifically, but they refrain from answering me.  Does someone have any experience to pass graduate studies under supervision of such aged emeritus faculty members?


How to save SSH options and connections in Ubuntu?

I have at this time two remote machines to which I am connecting. For one I am using private key with passphrase, and another one I am using root password.   Now, when I want to connect to machine with root password authentication, first ssh asks me for passphrase for machine which private key is inside my ~/.ssh directory,and then when I enter correct passphrase let me enter password for machine to which I am connectign with root password.   Is there any way to save sessions, and connection options, for example like in Putty?


How to match a string in URI with regular expression?

In my Apache config httpd.conf, I wish to setup a rule like below  SetEnvIfNoCase %{QUERY_STRING} ^.*(getBook+)$ no-gzip dont-vary   I am hoping to do no-gzip when my URL looks like  http://myurl.fake.com/book/getBook3?id=234  http://myurl.fake.com/book/getBook1?id=xxx   I am not sure if I can do that by setting up something like the above in httpd.conf..  The reason I do query string is because the url  myurl.fake.com/book/getBook3 was mod_rewrite from  myurl.fake.com/index.php?controller=book&action=getBook3  Thanks!


Who can identify this mysterious indicator that appeared after upgrade to 16.10?

After upgrading to 16.10 I now have a mysterious indicator that I can't get rid of.  Here is a screenshot:    As you can see, there is an indicator with an empty menu next to my network indicator.  It looks to me to be more in KDE style.  I don't think it's any of these:  => ps -ef |grep indicator xxx       2917  2805  0 Oct17 ?        00:04:21 /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service xxx       2934  2805  1 Oct17 ?        00:09:42 indicator-multiload xxx       3013  2471  0 Oct17 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-messages/indicator-messages-service xxx       3014  2471  0 Oct17 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-bluetooth/indicator-bluetooth-service xxx       3015  2471  0 Oct17 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-power/indicator-power-service xxx       3019  2471  0 Oct17 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-keyboard/indicator-keyboard-service --use-gtk xxx       3032  2471  0 Oct17 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service xxx       3034  2471  0 Oct17 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-printers/indicator-printers-service xxx       3035  2471  0 Oct17 ?        00:00:00 /usr/lib/x86_64-linux-gnu/indicator-session/indicator-session-service xxx       3483  2805  0 Oct17 ?        00:00:00 telepathy-indicator   Does anyone know what this might be, and how to get rid of it?


Converting Double to NSNumber in Swift Loses Accuracy

For some reason, certain Doubles in my Swift app are giving me trouble when converting to NSNumber, while some are not. My app needs to convert doubles with 2 decimal places (prices) to NSNumbers so they can be stored and retrieved using Core Data. For example, a few particular prices such as 79.99 would evaluate to 99.98999999999999 unless specifically formatted using NSNumber's doubleValue method.   Here selectedWarranty.price = 79.99 as shown in debugger  // item.price: NSNumber?        // selectedWarranty.price: Double?    item.price = NSNumber(double: selectedWarranty.price!)   I programmed some print statements to show how the conversion works out  Original double: 79.99 Converted to NSNumber: 79.98999999999999 .doubleValue Representation: 79.99   Can somebody explain if there is a reason why the initializer cannot surely keep 2 decimal places for every number? I would really like to store the prices in Core Data like they should be. Formatting every time it is displayed doesn't sound very convenient.    UPDATE: Converted Core Data object to type NSDecimalNumber through data model, 79.99 and 99.99 no longer a problem, but now more manageable issue with different numbers...  Original double: 39.99 Converted to NSDecimalNumber: 39.99000000000001024


If given a REST or SOAP webservices URL, how can we find the method it offers.  For ex: http://ipAddress:port/projectName/services