Complexity in accessing a shared public static variable from more than 2 different projects
How to share variable between two c# projects
How to remove selected commit log entries from a Git repository while keeping their changes? I would like to remove selected commit log entries from a linear commit tree, so that the entries do not show in the commit log.  My commit tree looks something like:  R--A--B--C--D--E--HEAD   I would like to remove the B and C entries so that they do not show in the commit log, but changes from A to D should be preserved. Maybe by introducing a single commit, so that B and C become BC and the tree looks like.  R--A--BC--D--E--HEAD   Or, ideally, after A comes D directly. D' representing changes from A to B, B to C and C to D.  R--A--D'--E--HEAD   Is this possible? if yes, how?  This is a fairly new project so has no branches as of now, hence no merges as well. Windows 10 default programs keep changing Since the fall update last month, Windows 10 automatically keeps changing the default apps for certain types (mostly browser,pdf,mp3,jpg). I have tried changing them back from the Settings app as well as the Control Panel.  I have observed that this happens mostly while unzipping files using WinZip. Windows changes the default programs back to Microsoft recommended programs such as Edge, Photos, Groove etc.  Is there a way to restrict this from happening? Has anybody else encountered a similar situation? I couldn't find similar question anywhere so I'm asking this here. I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version.  Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation. Using Newton's Law of Universal Gravitation to find distance, with the question not giving sufficient information to substitute into the equation. Problem:  $F = \frac{(G m_1 m_2)}{r^2}$  An object of unknown mass is placed directly between the Earth and the Moon such that the forces of gravity acting on the object are equal from both the Earth and the Moon. The distance from the Moon to the object is exactly one-tenth of the distance from the Moon to Earth. Using the above formula, determine the distance from the Moon to the Earth.  Given is:  The factor $G≈6.67∙10−11\mathbf{N(\frac{m^2}{kg^2})}$ is a universal constant.  Mass of Earth $≈5.972∙10^{24}\mathbf{kg}$   Mass of the Moon as $≈7.348∙10^{22}\mathbf{kg}$  Mass of unknown object = $m$  My solution:  $F = \frac{(6.67 *10^-11) m (7.348*10^{24})}{R^2}$  $F = \frac{(6.67 *10^-11) (5.92* 10^22) m}{10R^2}$  As gravitational force acting on the object is equal   $\frac{(5.92\cdot 10^22)}{100r^2} = \frac{(7.348*10^{24})}{r^2}$  $R = 1.24 \cdot 10^4 KM$  Is this a viable solution to the problem? Please provide feedback. Thank you! Here's a question I've been asked;  Given distinct primes $p,q,r$, show that any group $G$ of order $pqr$ is not simple.   So far, my idea has been to individually check each possible proper subgroup, since by Lagrange there are only $$\dbinom{3}{2} + \dbinom{3}{1} + 1$$ of them, and show that at least one of them other than the trivial group is normal. Surely there is a smarter way, since generalizing this approach wouldn't work so well if I wanted to show similar results for groups who's order is a product of $n$ distinct primes.  Is there some other approach? Thanks for any insights Localizing Dynamic Plural Noun messages (e.g. "5 Items Processed") on iPhone using Objective-C The polar of a convex body $C$ is defined as:  For a convex body $C$, its polar $C^*$ is given by $$C^* = \{x\in\mathbb{R}^n: \langle x,c\rangle \le 1, \forall c\in C\}$$  If I start with an orthonormal basis $(e_i)_1^n$, positive constants $(\alpha_j)_1^n &gt; 0$ and the ellipsoid $$\varepsilon = \left\{x\in\mathbb{R}^n: \sum\limits_{j=1}^n \frac{\langle x,e_j\rangle^2}{\alpha_j^2} \leq 1  \right\}$$ how do I show that its polar ellipsoid is $$\varepsilon^* = S_1 = \left\{y\in\mathbb{R}^n: \sum_{j=1}^n \alpha_j^2 \langle y,e_j\rangle^2 \le 1\right\}$$ Using the definition, I saw that $$\varepsilon^* = S_2 = \{z\in\mathbb{R}^n: \langle z,x\rangle \le 1, \text{for all }x\in \varepsilon\}$$ Also, $\langle z,x\rangle = \sum_i\langle z,e_i\rangle\langle x,e_i\rangle$ I used Cauchy Schwartz to do one side of the proof, i.e. $S_1\subseteq S_2$: $$\left(\sum_i\langle y,e_i\rangle\langle x,e_i\rangle\right)^2 \leq \left(\sum_i\alpha_i^2 \langle y,e_i\rangle^2\right)\left(\sum_i \frac{\langle x,e_i\rangle^2}{\alpha_i^2}\right) \le 1 \implies \langle y,x\rangle \le 1$$ I need help with the other direction, i.e. $S_2\subseteq S_1$. Which other inequality might help? FFmpeg get duration of video file without meta data I got a video file which has no meta data.  If I do this for example:  ffmpeg -i test.m2v   I get these values:  Duration: N/A, bitrate: N/A   Is there still a way to get the duration of the video / .m2v file ?  Edit:  The full console output:  ffmpeg version 2.8.4 Copyright (c) 2000-2015 the FFmpeg developers   built with gcc 5.2.0 (GCC)   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfr eetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enab le-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib   libavutil      54. 31.100 / 54. 31.100   libavcodec     56. 60.100 / 56. 60.100   libavformat    56. 40.101 / 56. 40.101   libavdevice    56.  4.100 / 56.  4.100   libavfilter     5. 40.101 /  5. 40.101   libswscale      3.  1.101 /  3.  1.101   libswresample   1.  2.101 /  1.  2.101   libpostproc    53.  3.100 / 53.  3.100 Input #0, mpegvideo, from '.\Test.m2v':   Duration: N/A, bitrate: N/A     Stream #0:0: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 7000 kb/s, 25 fps, 25 tbr, 1200k tbn, 50 tbc What are the light blue lines on my imported objects check if "it's a number" function in Oracle I just installed Dufour on my Windows 7 Lenovo ThinkCentre desktop. When I open 2.0.1 I get this error window:    And when I try to add the 'Add Delimited Text Layer' plugin I get this message:    When I click 'OK' the program closes.   Any help is greatly appreciated - thanks. For example:   For an MVC architecture, should I prefer Ruby on Rails or PHP [closed] Gmail: What is a jQuery selector for incoming mail senders only? How to work with highly compressed and nested CSS in general? [closed]   Better to convert to   [closed] For an MVC architecture, should I prefer Ruby on Rails or PHP [closed] Gmail: What is a jQuery selector for incoming mail senders only? How to work with highly compressed and nested CSS in general?   I should first read the title and sometimes open the question to understand if the question is closed.  I think the [closed] mark  should be at the beginning of the title, not in the end, where I won't ever be if the title is long.  Also coloring will be a good improvement (via @Shadow Wizard). Evaluate $\lim_{n\rightarrow\infty} \int_0^1 f(x^n) dx$ Let $f$ be a real, continuous function defined for all $0\leq x\leq 1$ such that $f(0)=1$, $f(1/2)=2$, and $f(1)=3$. Show that  $$\lim_{n\rightarrow\infty} \int_0^1 f(x^n) dx$$  exists and compute the limit.  Attempt:   Since $f$ is real-valued continuous on $0\leq x\leq 1$ and the boundaries $f(0)=1$ and $f(1)=3$, $f$ is bounded on the interval  and the integral $\displaystyle\int_0^1 f(x^n)dx$ exists for any positive $n$. Thus, we can interchange the limit and the integral and compose the limit, \begin{align*} \lim_{n\rightarrow\infty} \int_0^1 f(x^n)dx&amp;=\int_0^1\lim_{n\rightarrow\infty}f(x^n)dx\\ &amp;=\int_0^1 f\left(\lim_{n\rightarrow\infty} x^n \right)dx\\ &amp;=\int_0^1 f(0)dx=1. \end{align*}  Questions: So, my first question concerns whether interchanging the limit and the integral is correct. It seems it would be justified by the dominated convergence theorem, where $f(x^n)$ is dominated by a function $g(x)=\displaystyle\sup_{0\leq x\leq 1} f(x^n)$ and $f_n(x^n)$, on $0\leq x\leq 1$, converges pointwise to a function $f$ that takes value 1 for $x\neq 1$ and 3 for $x=1$.  My next question is whether the interchange between the limit and composition of the function is allowed. Since the function is continuous and the limit exists at that point, it seems the interchange would be justified. Construct ideals in $\mathbb Z[x]$ with a given least number of generators How does the Comma Operator work How does the comma operator work in C++?  For instance, if I do:  a = b, c;     Does a end up equaling b or c?   (Yes, I know this is easy to test - just documenting on here for someone to find the answer quickly.)  Update:  This question has exposed a nuance when using the comma operator.  Just to document this:  a = b, c;    // a is set to the value of b!  a = (b, c);  // a is set to the value of c!   This question was actually inspired by a typo in code.  What was intended to be  a = b; c = d;   Turned into  a = b,    //  &lt;-  Note comma typo! c = d; Let $A ∈ M_{m\times n}(\mathbb{Q})$ and $B ∈ \mathbb{Q}^m$. Suppose that the system of linear equations $AX = B$ has a solution in $\mathbb{R}^n$. Does it necessarily have a solution in $\mathbb{Q}^n$?  Where do I start?    I feel I can use this to :  $$x_i=\frac{1}{a'_{ii}}\left(b'_i - \sum_{j=i+1}^{k} a'_{ij} x_j \right).$$    Here is a thought that just crossed my mind, but I'm not sure if this is legal:  Suppose $Y\in \{\mathbb{R}\setminus \mathbb{Q}\}^n$ and $Y'\in\mathbb{Q}^n$ are solutions to $AX=B$. Then $AY=AY'=B$, or $A(Y-Y')=A(Y+(-Y'))=0$, but  addition between $\{\mathbb{R}\setminus \mathbb{Q}\}^n$ and $\mathbb{Q}^n$ is . . . A lot of my scripts stopped working after installing Ubuntu 15.10 and I have trouble remembering this new name as I was used to ethx and wlanx for years. Is there a reason for this change? Do I have to get used to this or can I just rename it and go back to good old eth0?  $ ifconfig  enp0s25   Link encap:Ethernet  HWaddr 77:5a:5e:a6:86:d5         inet addr:192.168.31.239  Bcast:192.168.31.255  Mask:255.255.255.0       inet6 addr: fe80::725a:b6ff:fea6:86d7/64 Scope:Link       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       RX packets:4833 errors:1332 dropped:0 overruns:0 frame:666       TX packets:5589 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1000        RX bytes:3266446 (3.2 MB)  TX bytes:1046654 (1.0 MB)       Interrupt:20 Memory:d3500000-d3520000 How to merge cells vertically Is it possible to create a table like this one?    The usual structure of tables I use looks like this:  \begin{table}[H]     \begin{adjustbox}{width=\textwidth,center}     % \begin{adjustbox}{center}         \begin{tabular}{lll}             \hline             \multicolumn{1}{l}{\head{XXX}} &amp; \multicolumn{1}{l}{\head{XXX}} &amp; \multicolumn{1}{l}{\head{XXX}} \\             \hline             \ttfamily xxx &amp; \ttfamily xxx &amp; \ttfamily xxx \\             \hline         \end{tabular}     \end{adjustbox}     \vspace{ - 05 mm}     \caption{xxx}     \label{tab:xxx} \end{table} "The ones" or "those"? I recently corrected  &quot;ghettos, such as the ones found...&quot; to &quot;ghettos, such as those found...&quot;  Was I correct, or are both versions right? Is the force which throws a body on a rotating disk outwards centrifugal force? If some object is kept in a radial groove made on a disk and the disk is rotated with say constant angular velocity.   Now as we know that the object moves outwards ie away from the centre of the disk. I want to know which force is it which throws the object outwards.   As centrifugal force is a pseudo force and hence when the observer is in ground frame it shouldn't be present so which force exactly pulls it out.