text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
Two different types of pull ups. During my 1~ish year of bodyweight training and surfing various blogs and sites about calisthenics, gymnastics, and bodyweight training, I realized that there are **two** types of pull ups that different people seem to advocate.   The first is the hollow pull-up. [like this](https://www.youtube.com/watch?v=p2nUfCQi0Vw) The one where it feels like your shoulder ball is rotated into the socket and your abdominal + lats are rock solid. At the top of the pull up, the shoulder blades are pretty neutral and depressed. Also, you seem to pull your body *around* the bar rather than under it.   The second resembles the gironda pull up. [like this](https://www.youtube.com/watch?v=XB_7En-zf_M) There is more of a puffed chest, and you pull from under the bar until your chest touches the bar. At the top of the pull up motion, there is a near complete retraction of the scapula. When I do this version, I feel a burn near the low trap/rhomboid area.   All this time, I have been doing the hollow pull up version, and recently I tried doing the second version, where your scapula is completely retracted. It was incredibly difficult, and could only do around 5 with proper form until I would return to doing hollow pull ups.   Is this a bad thing? Which is the correct version? Is the second version worth pursuing?
0non-cybersec
Reddit
ITAP of a jellyfish. I took this at the Mote Marine Lab and Aquarium in Sarasota, FL. Some other photos from the aquarium/sarasota: [Albino (high as fuck) sea turtle](http://imgur.com/FlUO9.jpg)[2](http://imgur.com/QtYg9.jpg) [Flamingos - I was as close as my 50mm 1.4 would focus to these guys. As I was leaving they started fighting all around me. They didn't mess with me (or the camera) luckily.](http://imgur.com/EPtsT.jpg) [2](http://imgur.com/8ZARC.jpg) [Sea shells in super white sand](http://imgur.com/FlUO9&EPtsT&8ZARC&k6NBol&QtYg9) [Alligator - not a great picture. The other people at the park this was at thought I was fucking insane to get that close (10-12 feet) to the gator. The parker rangers said I could get as close I felt comfortable, so I did.](http://imgur.com/krv5J.jpg) EDIT: Fuck! Here's the jellyfish picture: http://i.imgur.com/vDkFa.jpg
0non-cybersec
Reddit
A special day. Today, 1 year ago my friend introduced me to reddit. He dragged me out of the depressing memes of instagram and showed me what actual memes are. 1 year later i am here making this post. Thank you P.s i have more karma than you bitch
0non-cybersec
Reddit
Car Rental Website Design & Development Services - Webetutorial.com.
0non-cybersec
Reddit
iOS VoiceOver &quot;Heading not found&quot;. <p>I have a UITableView where each UITableViewCell has 2 UILabels: 1 header and 1 content. The AccessibilityTrait of the header is set to "header". I'm able to see the trait set correctly when inspecting the simulator screen with Accessibility Inspector. But on the actual device, when I switch the rotor to "Headings", it only finds the navigation bar header, but does not find the headers in the UITableViewCells.</p>
0non-cybersec
Stackexchange
How to organise a Show layout in React Admin using a Material UI Grid. <p>I've created a number of Show views in a new React-Admin project. Rather than have the fields just form a single column I would like to use Material UI's Grid component to arrange them into a more efficient and helpful layout. Unfortunately this stops React Admin's ...ShowLayout components from rendering the Field components inside them properly.</p> <p>I was hoping to be able to do something like this:</p> <pre><code>&lt;Show {...props}&gt; &lt;SimpleShowLayout&gt; &lt;Grid container&gt; &lt;Grid item&gt; &lt;TextField source="firstName" /&gt; &lt;/Grid&gt; &lt;Grid item&gt; &lt;TextField source="lastName" /&gt; &lt;/Grid&gt; &lt;/Grid&gt; &lt;/SimpleShowLayout&gt; &lt;/Show&gt; </code></pre> <p>I've also had a go at creating wrapper components to try to ensure the right props get passed along to the Field components, to no avail. How can I better arrange the fields in a layout? Do I have to fall back to "manually" styling the contents of a show layout using custom styles? If so that seems a shame given that RA uses MUI so heavily for rendering and it already provides a framework for doing this.</p>
0non-cybersec
Stackexchange
How can I force VM&#39;s to use the machine host proxy settings?. <p>I have various types of VM's running that I'd like to use my local host machine's proxy settings. This way any browser activity from the VM would go through the host proxy even if the VM's proxy settings are turned off. But they seem to ignore the settings and just go straight out to the internet bypassing the proxy. I'd like the same response from smart phone emulators installed on the host. But they ignore the host settings as well. How can they even do that in the first place???</p> <p>Help?</p>
0non-cybersec
Stackexchange
How to prevent over-engineering from Developers?. <p>What are some techniques that you can use to prevent over-engineering among the Software Developers? Meaning, how do you keep them focused on creating solutions of only the current requirements? Without trying to anticipate all future changes.</p>
0non-cybersec
Stackexchange
Holomorphic function on the unit disc. <p>Let $D=\{z \in \mathbb{C} \mid |z| &lt; 1 \}$ be the unit disc. Let $g: D \to D$ be a holomorphic function with $g(0)=0$. Let $h = \dfrac 1{1-g}$, and assume that $$ h(z) = \sum_{k=0}^{\infty} a_k z^k ,|z|&lt;1 $$</p> <p>Show that $|a_n|&lt;1(n = 1,2,3,\cdots)$.</p> <p>Equivalently, let $f:D \to F$ be a holomorphic function with $f(0)=1$, where $F = \{ z \in \mathbb{C} \mid \mathrm{Re} z &gt; \dfrac12\}$ and $$ f(z) = \sum_{k=0}^{\infty} a_k z^k ,|z|&lt;1 $$</p> <p>Show that $|a_n|&lt;1$ $(n=1,2,\ldots)$</p>
0non-cybersec
Stackexchange
Congruence relationship used for primitive residue classes modulo n result. <p>I'm trying to understand a proof for a theorem that states conditions under which the group of primitive residual classes modulo $n$ is cyclic. This proof uses the following result attributed to Gauß: $$ (1 + p)^{p^{\nu - 1}} \equiv 1 \pmod {p^\nu},\qquad(1 + p)^{p^{\nu - 1}} \not\equiv 1 \pmod {p^{\nu + 1}}, $$ where $p$ is an odd prime and $\nu \in \mathbb{N}$.</p> <p>This result is used to derive without further explanation the following incongruence $$ (1 + p)^{p^{\nu - 2}} \not\equiv 1 \pmod {p^{\nu}} $$ where $\nu \geq 2$.</p> <p>Can somebody explain how one can obtain the second incongruence from the first one? It's probably something simple, but I'm just not seeing it at the moment. Thanks.</p>
0non-cybersec
Stackexchange
Had my first night(s) away from my kid since birth and...it. Was. Amazing.. My little is 1.5 yo and we sent her to Gma/Gpa’s farm for the weekend. I didn’t know how badly I needed this time away from her. Being alone with my husband felt like we were young again- not mama and dada with serious responsibilities/obligations. We did nothing special but have loved every minute. Slept in, went for out for every meal (nothing fancy) without planning ahead, took our dog for long walks to the park. Want to take a nap? Why yes I do! Want to get lunch somewhere and not shovel our food in before the toddler time-bomb goes off? Yes please! Let’s get mani/pedis after lunch! Another nap? Ok! The only unfortunate thing is I couldn’t indulge in wine with lunch because I’m pregnant again. Another reason my husband and I really needed this time quality time though. I’m disappointed I waited this long to take a breather from our 1st. It’s easier said than done but we need to do this once a quarter. I felt like myself today- the girl who has few cares in the world and enjoys sitting quietly in the sun well after we’re done eating- just relaxing and talking about nothing of consequence. Can’t wait to spend one more slow morning with coffee in bed before she comes home. I love her with everything I have but I forgot how much I like my life sans kid. I’ve gotta be better to myself and my relationship with my husband.
0non-cybersec
Reddit
I watched my girlfriend play Journey a few years ago, she was moved to tears after a random player helped her all the way through to the end and sent this message. This game is beautiful..
0non-cybersec
Reddit
X-POST from r/funny "Dad?".
0non-cybersec
Reddit
Selenium C# Webdriver How to detect if element is visible. <p>Is there a way in the latest version of Selenium DotNet Webdriver (2.22.0) to check to see if an element is visible before clicking/interacting with it?</p> <p>The only way I've found is to try to handle the ElementNotVisible exception that occurs when you try to send keys, or click on it. Unfortunately this only occurs after an attempt to interact with the element has been made. I'm using a recursive function to find elements with a certain value, and some of these elements are only visible in certain scenarios (but their html is still there no matter what, so they can be found).</p> <p>It's my understanding that the RenderedWebElement class is deprecated as well other variants. So no casting to that.</p> <p>Thanks.</p>
0non-cybersec
Stackexchange
iPhone 6 Wifi Grayed out - How should I fix?. My Iphone 6 wifi disables itself after a few hours and I was wondering if anyone had success replacing the wifi antenna to fix this issue? I believe it is a hardware issue! A simple restart is a temporary fix and it gets frustrating when my phone restarts itself and then it gets disabled again Thanks !
0non-cybersec
Reddit
What's something you wished your SO knew but would never want to tell them?.
0non-cybersec
Reddit
Men, if your significant other was on tinder would you want your friend to tell you? Also if your Mayeus significant other was on tinder do you tell him?... Might not be the right subreddit for this give me a shout if it's not.
0non-cybersec
Reddit
Is it possible to rewrite url (with extra parameters) with a Chrome extension. <p>I am trying to append few extra parameters to the url that user typed (before the page gets loaded). Is it possible to do?</p> <p>For example, if user types <code>www.google.com</code>, I would like to append <code>?q=query</code> to url (final: <code>www.google.com?q=query</code>.</p> <p>Thanks</p>
0non-cybersec
Stackexchange
How to reset the look of .htm file icon?. <p>My htm/html files saved on the desktop in Windows 8 looked like this:</p> <p><img src="https://i.stack.imgur.com/30lzS.png" alt="enter image description here"></p> <p>Now when I upgraded to Windows 8.1 they look like this:</p> <p><img src="https://i.stack.imgur.com/AhAhE.png" alt="enter image description here"></p> <p>How can I return their previous look?</p> <p>PS. I went as far as tried to see if there's anything mixed up in the registry and here's what I got:</p> <p><img src="https://i.stack.imgur.com/p9gdY.png" alt="enter image description here"></p>
0non-cybersec
Stackexchange
Feels good.
0non-cybersec
Reddit
Bash variables: case sensitive or not?. <p>Is bash shell scripting case sensitive? </p> <p>Is variable <code>date</code> the same as <code>DATE</code>?</p>
0non-cybersec
Stackexchange
wpf xaml binding to object created in code behind. <p>Just to start off I am quite new to C# and xaml.</p> <p>I have watched, checked tutorials, about binding, but most of what I have seen create an object in the xaml. However I want to create the object in the code and then bind to it's properties. Furthermore I will have several objects defined in code later on. In general I want to bind to text boxes.</p> <p>In general my code looks something like this:</p> <p><strong>MainWindow.xaml.cs</strong> </p> <pre><code>public partial class MainWindow : Window { MyTestObject myTestObject; public MainWindow() { myTestObject= new MyTestObject (); this.DataContext = this; InitializeComponent(); } } </code></pre> <p><strong>MyTestObject .cs</strong> </p> <pre><code>class MyTestObject : INotifyPropertyChanged { public MyTestObject () { } private string testString = "Test"; public string TestString { get { return testString; } set { if (value == testString) return; testString = value; this.OnPropertyChanged("TestString"); } } public event PropertyChangedEventHandler PropertyChanged; protected void OnPropertyChanged(string propertyName) { if (PropertyChanged != null) this.PropertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); } } </code></pre> <p>Eventually I will have quite a lot of (numerical) properties, which will be displayed in several text boxes, because the software is intended as an interface to an external hardware component that sends measured data. I have tried several ways of binding but I have not succeeded yet. I would be most grateful for an example how to bind the previously mentioned property to a <code>TextBox</code>.</p>
0non-cybersec
Stackexchange
My lil white lion.
0non-cybersec
Reddit
Hi. I just got home and saw Corona beers in my fridge. It got me thinking. So, is there a correlation with Corona beer and this outbreak? Just checking..
0non-cybersec
Reddit
Identity involving zonal polynomials and $\operatorname O(N)$ irrep dimensions. <p><span class="math-container">$\DeclareMathOperator\U{U}\DeclareMathOperator\O{O}$</span>Schur functions <span class="math-container">$s_\lambda(x)$</span> with <span class="math-container">$\lambda\vdash n$</span> are simultaneously the irreducible characters of the unitary group <span class="math-container">$\U(N)$</span> and proportional to Jack polynomials <span class="math-container">$J_\lambda^{\alpha}(x)$</span> with parameter <span class="math-container">$\alpha=1$</span>, <span class="math-container">$J_\lambda^1(x)=\frac{n!}{\chi_\lambda(1)}s_\lambda(x)$</span>, where <span class="math-container">$\chi_\lambda$</span> are the irreducible characters of the permutation group <span class="math-container">$S_n$</span>. As a function of <span class="math-container">$N$</span>, <span class="math-container">$p_\lambda^{\U}(N)=J_\lambda^1(1^N)$</span> is a monic polynomial.</p> <p>Two important relatives of the Schur functions are the irreducible characters of the orthogonal group <span class="math-container">$\O(N)$</span>, call them <span class="math-container">$o_\lambda(x)$</span>, and the zonal polynomials <span class="math-container">$Z_\lambda(x)$</span>, which are Jack polynomials with parameter <span class="math-container">$\alpha=2$</span>. Both <span class="math-container">$p_\lambda^{\O}(N)=\frac{n!}{\chi_\lambda(1)}o_\lambda(1^N)$</span> and <span class="math-container">$p_\lambda^Z(N)=Z_\lambda(1^N)$</span> are monic polynomials in <span class="math-container">$N$</span>.</p> <p>I have been led to conjecture the following relation between the reciprocals of these polynomials: <span class="math-container">$$ \sum_{\lambda \vdash n}\frac{\chi_{2\lambda}(1)G_{\lambda\gamma}}{p_\lambda^Z(N)}=\frac{(2n)!}{2^nn!}\frac{\chi_\gamma(1)}{p_\gamma^{\O}(N)},$$</span> where <span class="math-container">$2\lambda=(2\lambda_1,2\lambda_2,\dotsc)$</span> and <span class="math-container">$$ G_{\lambda\gamma}=\sum_{\mu\vdash n}C_\mu \omega_\lambda(\mu)\chi_\gamma(\mu).$$</span> Here <span class="math-container">$C_\mu$</span> is the size of the conjugacy class in <span class="math-container">$S_n$</span> of elements with cycle type <span class="math-container">$\mu$</span>, and <span class="math-container">$\omega_\lambda(\mu)$</span> are zonal spherical functions of <span class="math-container">$S_{2n}$</span> with respect to the hyperoctahedral group.</p> <p>This conjectured relation appeared in connection with immanants of random elements from <span class="math-container">$\O(N)$</span> (<a href="https://arxiv.org/abs/2002.08112" rel="nofollow noreferrer">Oliveira and Novaes - On the immanants of blocks from random matrices in some unitary ensembles</a>) and also with commutators of random elements from <span class="math-container">$\O(N)$</span> (<a href="https://arxiv.org/abs/2004.09266" rel="nofollow noreferrer">Palheta, Barbosa, and Novaes - Commutators of random matrices from the unitary and orthogonal groups</a>).</p> <p>It is easy to prove that this relation holds for large <span class="math-container">$N$</span>, but it seems to be true for every finite <span class="math-container">$N$</span>.</p> <p>Is this relation known? If not, any idea how to prove it? (Something similar holds for the symplectic analogues, but I omit it for simplicity.)</p>
0non-cybersec
Stackexchange
Proof that a random measure with orthogonal increments is a measure. <p>Let me first state what I mean by a random measure with orthogonal increments.</p> <blockquote> <p>Definition: A random measure with orthogonal increments $Z$ is a collection $\left(Z(B): B \in \mathcal{B}_{(-\pi,\pi]}\right)$ of zero-mean, complex random variables $Z(B)$ indexed by the Borel sets $\mathcal{B}_{(-\pi,\pi]}$ defined on some probability space $(\Omega,\mathcal{U},P)$ such that for some finite measure $\mu$ on $(-\pi,\pi]$ $$\mathrm{cov}(Z(B_1),Z(B_2))=\mu(B_1\cap B_2) \quad \forall{B_1,B_2}\in \mathcal{B}_{(-\pi,\pi]}$$</p> </blockquote> <p>Honestly, I don't think I understand this definition. If $Z$ is a measure then it must be true that $Z(\emptyset) = 0$. How does this follow from the definition above exactly? Do I take $B_1 = B_2 = \emptyset$ and argue that given $\mathrm{cov}(Z(B_1),Z(B_2))=\mu(B_1\cap B_2) = 0$ and $E[Z(B)] = 0$ for any $B \in \mathcal{B}_{(-\pi,\pi]}$, $Z(\emptyset) = 0$ $\ P$-almost surely?</p> <p>Next I would like to show that $Z(\cup_j B_j) = \sum_jZ(B_j)$ in mean square whenever $B_1,B_2,\ldots$ is a sequence of pairwise disjoint Borel sets. I am not sure what the mathematical formulation of this result is. My guess is $$E[\lvert Z(\bigcup_j B_j) - \sum_jZ(B_j)\rvert^2] = 0$$ as this would imply $Z(\cup_j B_j) = \sum_jZ(B_j)$ $\ P$-almost surely, which I think is the most you can expect from a <em>random</em> measure. (If it were an ordinary measure, we would insist on algebraic equality.)</p> <p>Assuming that my guess is right I proceed. From the definition I have (after a few steps) $$\mathrm{var}\left(Z\left(\bigcup_j B_j\right)\right) = \mathrm{var}\left(\sum_jZ(B_j)\right) $$</p> <p>I don't know how to continue from this point on. I would really appreciate some help. Thanks.</p>
0non-cybersec
Stackexchange
Solution as a quadratic equation. <p>If I know that $y$ is a solution to $f(x) = x^3 + 3x + 1$ in the complex numbers, I want to find $1/(1+y^2)$. I have expressed this as $-y/(2y+1)$, but I think this can be simplified further to obtain a quadratic equation. How would I do this?</p>
0non-cybersec
Stackexchange
Expressing $\sum_{n=0}^{\infty} (\frac{z}{1+z})^n$ as a power series. <p>I'm basically given the following task:</p> <blockquote> <p>Express the series:</p> <p><span class="math-container">$$\sum_{n=0}^{\infty} \left(\frac{z}{1+z}\right)^n$$</span></p> <p>as a power series for all <span class="math-container">$z \in \mathbb{C}$</span> where the series converges.</p> </blockquote> <p>So, I know I need to get the above series in the form <span class="math-container">$$\sum_{n=0}^{\infty} a_n(z)^n$$</span> where the <span class="math-container">$a_n$</span> are constants.</p> <p>I've tried my best to algebraically manipulate the summand to no success! I know that <span class="math-container">$$\frac{z}{1+z} = \frac{1}{1+\frac{1}{z}} = \frac{1}{1-(-\frac{1}{z})} = \sum_{j=0}^{\infty} (-1)^j\left(\frac{1}{z}\right)^j$$</span></p> <p>but plugging any of these into the summand of the given series only seems to make things worse!</p> <p>I've tried to expand out the original series:</p> <p><span class="math-container">$$\sum_{n=o}^{\infty} \left(\frac{z}{1+z}\right)^n = 1 + \frac{z}{1+z} + \frac{z^2}{(1+z)^2} + \ldots $$</span></p> <p>but I don't see a pattern.</p> <p>Any suggestions?</p>
0non-cybersec
Stackexchange
Add text to PowerPoint slide during a presentation. <p>I'd like to add text to selected slides during my presentation. The text is based on audience feedback and is "throw-away", intended just to help with discussion and learning at the moment. The text does not need to integrate with the rest of the slide in any particular way.</p> <p>I'd like a solution that works for PowerPoint 2010 or later on Windows.</p>
0non-cybersec
Stackexchange
in maple how to find the asymptotic curve of $\frac{x}{lnx}$. <p>In maple how can i find the asymptotic curve of $\frac{x}{lnx}$</p> <p>I'd appreciate if one can tell me what's the output as well.</p> <p>thanks.</p>
0non-cybersec
Stackexchange
This is why you shouldn't kill spiders.
0non-cybersec
Reddit
intra ethernet interface of a router. <p>Please I need some clearification. Is it possible to ping from one interface of a router to another interface of thesame router ? Assuming router R1 with LAN interfaces e1 and e2. can i ping e2(destination) interface from e1(source).</p>
0non-cybersec
Stackexchange
Day Becomes Night.
0non-cybersec
Reddit
Is it safe to upgrade appstream if APT has kept it back?. <p>I ran <code>apt upgrade</code> the other day, and got this:</p> <pre><code>The following packages have been kept back: appstream </code></pre> <p>According to a related question somewhere on this site, appstream is safe to even remove.</p> <p>How do I know if upgrading it is safe, and what will the upgrade actually change in my system? I'm assuming apt has kept it back for a reason, so I wanted to play safe before I run <code>dist-upgrade</code>.</p> <p>Here's what <code>changelog</code> has to say:</p> <pre><code>appstream (0.10.6-1~ubuntu16.04.1) xenial-backports; urgency=medium * Backport to 16.04, with one change: - Lower the required Qt version to 5.4 -- Iain Lane &lt;[email protected]&gt; Wed, 01 Feb 2017 12:02:22 +0000 </code></pre> <p>I'm assuming this won't brake anything? </p> <p><code>apt-get -s dist-upgrade</code> (even with <code>sudo</code>), as proposed by @muru, yielded nothing new, except the same old message that <code>appstream</code> has been kept back.</p> <p>Here's the output of <code>apt-get -s install appstream</code>:</p> <pre><code>The following packages were automatically installed and are no longer required: gnome-software-common libgtkspell3-3-0 libsnapd-glib1 snapd-login-service Use 'apt autoremove' to remove them. The following packages will be REMOVED gnome-software ubuntu-software The following packages will be upgraded: appstream </code></pre>
0non-cybersec
Stackexchange
My favorite Morgan Freeman (aka God) clip..
0non-cybersec
Reddit
Thursday - Understanding In a Car Crash [Post-Hardcore].
0non-cybersec
Reddit
My first attempt at a cheeseboard!!.
0non-cybersec
Reddit
What is the difference between &quot;(not set)&quot; and &quot;(not provided)&quot; in the Google Analytics keywords?. <p>In Google Analytics, I noticed that I have quite a few people coming in with a search keyword of <strong>(not set)</strong>. I'm assuming this is simply when they came directly to my site without the help of a search engine.</p> <p>But I've also noticed the keyword <strong>(not provided)</strong>. What does that mean? Where's the difference?</p>
0non-cybersec
Stackexchange
Yum cannot find any packages on RHEL. <p>I have two servers, both running RHEL 7, with very similar setup. Recently any package I try to find on server A fails like this:</p> <pre><code>[user@serverA ~]$ sudo yum install openldap-servers openldap-clients Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager No package openldap-servers available. No package openldap-clients available. Error: Nothing to do </code></pre> <p>But the same command on server B finds the package just fine.</p> <p>I looked further into this, and it seems to be because some time ago, I tried to uninstall <code>pyOpenSSL</code>, which caused erasing the following packages:</p> <pre><code>Sep 27 18:12:14 Erased: rhn-check-2.0.2-17.el7.noarch Sep 27 18:12:14 Erased: yum-rhn-plugin-2.0.1-9.el7.noarch Sep 27 18:12:14 Erased: rhn-setup-2.0.2-17.el7.noarch Sep 27 18:12:14 Erased: rhnsd-5.0.13-7.el7.x86_64 Sep 27 18:12:14 Erased: abrt-console-notification-2.1.11-48.el7.x86_64 Sep 27 18:12:14 Erased: abrt-cli-2.1.11-48.el7.x86_64 Sep 27 18:12:14 Erased: abrt-addon-vmcore-2.1.11-48.el7.x86_64 Sep 27 18:12:14 Erased: rhn-client-tools-2.0.2-17.el7.noarch Sep 27 18:12:14 Erased: abrt-tui-2.1.11-48.el7.x86_64 Sep 27 18:12:14 Erased: abrt-addon-pstoreoops-2.1.11-48.el7.x86_64 Sep 27 18:12:14 Erased: abrt-addon-python-2.1.11-48.el7.x86_64 Sep 27 18:12:14 Erased: rhnlib-2.5.65-4.el7.noarch Sep 27 18:12:15 Erased: abrt-addon-kerneloops-2.1.11-48.el7.x86_64 Sep 27 18:12:15 Erased: abrt-addon-ccpp-2.1.11-48.el7.x86_64 Sep 27 18:12:15 Erased: abrt-addon-xorg-2.1.11-48.el7.x86_64 Sep 27 18:12:15 Erased: abrt-dbus-2.1.11-48.el7.x86_64 Sep 27 18:12:15 Erased: abrt-python-2.1.11-48.el7.x86_64 Sep 27 18:12:15 Erased: abrt-2.1.11-48.el7.x86_64 Sep 27 18:12:15 Erased: libreport-plugin-rhtsupport-2.1.11-38.el7.x86_64 Sep 27 18:12:15 Erased: redhat-access-insights-1.0.13-2.el7.noarch Sep 27 18:12:15 Erased: pyOpenSSL-0.13.1-3.el7.x86_64 </code></pre> <p>I tried to download the rpm for all these packages using <code>yumdownloader</code> on Server B, move them to Server A, and reinstall all of them. But I still get the same error.</p> <p>Any idea how I can fix this?</p>
0non-cybersec
Stackexchange
Native iOS/android application to Windows Phone. <p>I have an iPhone application (with an android counterpart), developed in Xcode and written in Objective-C. It is a classical native iOS app, already working and uploaded in the App Store. Similarly, the android version is built with Java and linked with the android SDKs. It's uploaded to the market place.</p> <p>I was asked to port the app to Windows Phone. Is this possible without modifying the code? I am not familiar with Windows Phone dev, however it looks like that is a completely separate ecosystem for developing apps (different programming language, different IDE, different app store etc).</p> <p>Can I go from Android to Windows Phone or from iOS to Windows Phone? </p> <p>PhoneGap - or similar platforms - are not options since the code is already written in Objective-C and Java. </p>
0non-cybersec
Stackexchange
Another Day of Grace: The Lost Grils - A Book Review.
0non-cybersec
Reddit
Me and my son.
0non-cybersec
Reddit
evolving trippy spiral.
0non-cybersec
Reddit
Charges won't be filed against Judge Willam Adams.
0non-cybersec
Reddit
Perhaps a fin? Found on Tybee Island, Georgia.
0non-cybersec
Reddit
Got dad joked at Guitar Center and it was beautiful!. So i made a pit stop at ol' GC to kill off a gift card from Xmas. I needed one of those little plastic egg shakers (musicians will know) and some drum sticks. The two gentlemen were very rad & we stood around shootin' the shit for a bit. Then the one who had my plastic shaker in his hand went to exhibit its shaker-y-ness only for it to fly out of his hands (on accident of course) and nail me in the chest. The other gentleman responded with "That's not what he meant by drum throne!" I swear I heard angels singing as they descended down a badly played Stairway to Heaven.
0non-cybersec
Reddit
MRW I'm trying to salvage our relationship but the girlfriend starts rattling off my fuck-ups.
0non-cybersec
Reddit
Swift - Directions to Selected Annotation from Current Location in Maps. <p>My app currently has a local search which adds annotations for the search results. I want to set it up where when you select the annotation and click the call out button, it will open in the Maps application with directions to the annotation from the current device location. I'm having a few problems with this.</p> <p>First of all, my call out button on the annotation does not appear. Secondly, I don't think I am detecting the selected annotation correctly.</p> <p>Here is my code for the search and selected annotation:</p> <pre><code>func performSearch() { matchingItems.removeAll() let request = MKLocalSearchRequest() request.naturalLanguageQuery = searchText.text request.region = mapView.region let search = MKLocalSearch(request: request) search.startWithCompletionHandler({(response: MKLocalSearchResponse!, error: NSError!) in if error != nil { println("Error occured in search: \(error.localizedDescription)") } else if response.mapItems.count == 0 { println("No matches found") } else { println("Matches found") for item in response.mapItems as! [MKMapItem] { println("Name = \(item.name)") println("Phone = \(item.phoneNumber)") self.matchingItems.append(item as MKMapItem) println("Matching items = \(self.matchingItems.count)") var annotation = MKPointAnnotation() var coordinates = annotation.coordinate annotation.coordinate = item.placemark.coordinate annotation.title = item.name self.mapView.addAnnotation(annotation) } } }) } func mapView(mapView: MKMapView!, annotationView view: MKAnnotationView!, calloutAccessoryControlTapped control: UIControl!) { if self.mapView.selectedAnnotations?.count &gt; 0 { if let selectedLoc = self.mapView.selectedAnnotations[0] as? MKAnnotation { println("Annotation has been selected") let currentLoc = MKMapItem.mapItemForCurrentLocation() let mapItems = NSArray(objects: selectedLoc, currentLoc) let launchOptions = [MKLaunchOptionsDirectionsModeKey: MKLaunchOptionsDirectionsModeDriving] MKMapItem.openMapsWithItems([selectedLoc, currentLoc], launchOptions: launchOptions) } } } </code></pre> <p>Any help will be appreciated, thanks in advance.</p>
0non-cybersec
Stackexchange
Purchasing Manager Index Manufacturing.
0non-cybersec
Reddit
Determining A Formula Based On Known Variables. <p>I have a list of numbers that will result in a number, however I don't know the formula in which the number is created.</p> <p>In what ways could I go about solving this. For example</p> <ul> <li>214, 49, 244 = 13 </li> <li>215, 49, 214 = 13 </li> <li>216, 49, 55 = 13 </li> <li>217, 49, 16 = 13</li> <li>425, 48, 38 = 13</li> </ul>
0non-cybersec
Stackexchange
Using a variable for BIBER DATE value produces blank date in output. <p>I'm using MikTex with biber</p> <pre><code>\usepackage[backend=biber,natbib=true,style=numeric,sorting=none]{biblatex} </code></pre> <p>and I want to use a variable for the date value, but it does not provide any output. I set up the biber category and variables as below in file <code>QMSbiblatex.tex</code></p> <pre><code>\addtocategory{MILinternal}{ref__MIL_QAM_QualityAssuranceManual} \newcommand{\RepsSopQualityAssuranceManualNumber}{MIL-QAM-9001} \newcommand{\RepsSopQualityAssuranceManualTitle}{REPS Quality Assurance Manual - ISO 9001} \newcommand{\RepsSopQualityAssuranceManualDate}{2017-07-13} </code></pre> <p>then define the reference in <code>references.bib</code> as</p> <pre><code>@Electronic{ref__MIL_QAM_QualityAssuranceManual, author = {\RepsSopQualityAssuranceManualNumber}, organization = {{\RepsCitationOrganization}}, title = {{\RepsSopQualityAssuranceManualTitle}}, date = {\RepsSopQualityAssuranceManualDate}, } </code></pre> <p>which does NOT include the date in the reference but</p> <pre><code>@Electronic{ref__MIL_QAM_QualityAssuranceManual, author = {\RepsSopQualityAssuranceManualNumber}, organization = {{\RepsCitationOrganization}}, title = {{\RepsSopQualityAssuranceManualTitle}}, date = {2017-07-13}, } </code></pre> <p>outputs the reference with the date as expected.</p> <p>Any thoughts on why using a variable does not work in the DATE field but is fine in the other fields?</p>
0non-cybersec
Stackexchange
How to resolve option clash for package xcolor?. <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://tex.stackexchange.com/questions/51488/option-clash-with-xcolor-and-tikz">Option clash with xcolor and TikZ</a> </p> </blockquote> <p>The following is my MWE:</p> <pre><code>\documentclass{article} \usepackage{tikz} \usepackage[table]{xcolor} \begin{document} Hi! \end{document} </code></pre> <p>The document compiles fine if I just remove the <code>xcolor</code> package. If I include it (as shown in the MWE) I get the error <code>Option clash for package xcolor</code>. How should I resolve this issue? What might be the options settings that will remove the conflict?</p>
0non-cybersec
Stackexchange
Proving convexity of a function in $R^2$ with parameters. <p>The question I am posting today relates to convexity analysis of a function. Specifically, proving that a function is convex in $\mathbb{R}^2$ definition. Namely, that a function f, is convex if for all $t \in [0,1]$ and $a,b \in \mathbb{R}^2$, if $f((1-t)a+tb)\leq (1-t)f(a)+tf(b)$.</p> <p>I have the following function: \begin{equation} x^2+2xy+y^2+\beta x+\beta y \end{equation} where $\beta$ is a parameter value. </p> <p>Now, I've done the leg work (correctly I believe) to simplify the two components of the definition properly.</p> <p>Namely, if $f((1-t)a+tb)$ is (1) and $(1-t)f(a)+tf(b)$ is (2) then I've got the following equations: (1) \begin{equation} =\beta((1-t)(a_1+a_2)+t(b_1+b_2))+(1-t)^2(a_1^2+a_2^2)+t^2(b_1^2+b_2^2)+ \\(2t-2t^2)(a_1b_1+a_2b_2) \end{equation}</p> <p>(2) \begin{equation} =\beta((1-t)(a_1+a_2)+t(b_1+b_2))+(1-t)(a_1^2+a_2^2)+t(b_1^2+b_2^2)+\\ 2((1-t)(a_1a_2)+t(b_1b_2)) \end{equation}</p> <p>Now, in terms of proving that (1) $\leq$ (2), I think my strategy has been corect. I've shown that the first term of (1) and (2) are the same, and that then second term of (1) $\leq$ (2) because the $(1-t)^2$ and (t^2) mean that for t $\in$ (0,1) that number will be less than (1-t) and t respectively. </p> <p>It's also true that the second terms of (1) and (2) are equal when t=0 or t=1.</p> <p>However my problem is the third term. I can't reduce that third term down such that \begin{equation}(2t-2t^2)(a_1b_1+a_2b_2)\leq2((1-t)(a_1a_2)+t(b_1b_2))\end{equation}</p> <p>This is a problem because I'm sure it means I haven't proven (1)$\leq$(2). I wrote a program in matlab to check if that third term would in practice be problematic and it was for $(a_1,b_1)&lt;0$ or $(a_2,b_2)&lt;0$. Any exceptions defy the definition of convexity so there's got to be some mistake that I've made but I can't seem to find it.</p> <p>I would really appreciate some advice about moving forward here in terms of the proof. Either there's some mistake in my algebra, or in the way I've interpreted how to do this proof or some next step I can use to show that (1)$\leq$(2).</p> <p>Thank you all in advance.</p> <p>Note: I have tried to show the convexity with a Hessian matrix but I'm not sure that's allowed in terms of the specific requirement to show convexity in $\mathbb{R}^2$</p>
0non-cybersec
Stackexchange
How do I apply a manifest from a Puppet Master server to a Puppet Agent node server?. <p>I installed Puppet Agent on a CentOS 7 server. I installed Puppet Master on a different CentOS 7 server. I'm using the free version of Puppet on both servers. The Puppet Agent server requested a certificate. I signed it on the Puppet Master server. There is no software firewall on either server. There is no firewall between the servers. I temporarily enabled port 8140 with SSHD. I used SSH to verify port 8140 was open. I then reverted SSHD to only listen on port 22. Port 8140 wasn't blocked. nslookup on the IP addresses and ping against the domain names shows that both servers have correct networking information about the other server. These are new servers. Puppet has never worked on them before. I created a simple manifest. I applied it to the Puppet Master server locally. It worked without errors. I then tried to apply it to the Puppet Agent server. It didn't work.</p> <p>From the Puppet Master server, I ran this:</p> <p>puppet agent neat.pp --server hostNameOfPuppetAgentServer --verbose</p> <p>There were no errors on the Puppet Master server after I pressed enter. There was no output at all. This produced no logs on the Puppet Agent server. There was no evidence it worked on the Puppet Agent server. I checked, and the effects were not performed.</p> <p>On the Puppet Master server I ran this:</p> <p>puppet agent --server hostNameOfPuppetAgentServer --test</p> <p>The results included "Connection refused -- connect (2)." What is wrong? I expect the manifest to work on a Puppet Agent node.</p>
0non-cybersec
Stackexchange
Soldier salutes funeral procession in pouring rain.
0non-cybersec
Reddit
[VERY INCOMPLETE] Particles - Fireblade Yasuo. https://www.youtube.com/watch?v=FPc7CWdWlCQ This skin is far from complete, but more than half the particles are done; the model and texture are in progress. MODEL PREVIEW: http://imgur.com/jQ6pl22
0non-cybersec
Reddit
Why it doesn&#39;t spin in a circle? And how to fix it?. <p>I'm not sure what the name of the shape that is being created, but I think is a combination of circle and square or maybe is similar to a cylinder. You can run the code to see what shape it makes. And could you suggest a site where I can learn to code a game (algorithms behind the basic games)? I hope you understand what I mean because I'm not good at English.</p> <pre><code>import pygame import sys import math pygame.init() width = 640 height = 480 screen = pygame.display.set_mode((width,height)) img = pygame.Surface((50,50)) img.set_colorkey((255,0,0)) angle = 0 clock = pygame.time.Clock() c_list = [] x = 100 y = 100 vel = 5 def draw_line(surface, color, pos1, pos2): pygame.draw.line(surface, color, pos1, pos2) while True: screen.fill((122,122,122)) keys = pygame.key.get_pressed() angle -= 3 if angle % 360 &lt; 90: x -= math.sin(angle/180*math.pi)**2*vel y -= math.cos(angle/180*math.pi)**2*vel elif angle % 360 &lt; 180: x -= math.sin(angle/180*math.pi)**2*vel y += math.cos(angle/180*math.pi)**2*vel elif angle % 360 &lt; 270: x += math.sin(angle/180*math.pi)**2*vel y += math.cos(angle/180*math.pi)**2*vel else: x += math.sin(angle/180*math.pi)**2*vel y -= math.cos(angle/180*math.pi)**2*vel if (x,y) not in c_list: c_list.append((x,y)) for i in range(len(c_list)-1): draw_line(screen,(0,0,0),c_list[i],c_list[i+1]) clock.tick(60) for event in pygame.event.get(): if event.type == pygame.QUIT: sys.exit(-1) img_copy = pygame.transform.rotate(img, angle) screen.blit(img_copy,(x-int(img_copy.get_width()/2),y-int(img_copy.get_width()/2))) pygame.display.flip() </code></pre>
0non-cybersec
Stackexchange
Tom Brady taking a shot at Peyton Manning on his Instagram story.
0non-cybersec
Reddit
Is there a free way to monitor a serial port on Windows 7 x64?. <p>I've looked around quite a bit, but I have yet to find a free way to monitor a serial port (without opening or blocking it from other applications), that works on Windows&nbsp;7 64-bit.</p> <p>Even Microsoft's own Portmon does not work. A few posts have talked about running it in compatibility mode, but it doesn't work for me. I've tried compatibility mode for Windows&nbsp;XP service pack 2 and 3 (the only ones available on the drop-down list), and neither allow it to function.</p> <p>So yeah, is there any way of monitoring a serial port for Windows&nbsp;7 64-bit?</p>
0non-cybersec
Stackexchange
Nesting My Own Frameworks with Carthage. <p>I'm having problems trying to realize the following dependency setup between two frameworks and an app, all developed by me:</p> <p><a href="https://i.stack.imgur.com/Mg4MT.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Mg4MT.png" alt="enter image description here"></a></p> <ol> <li><p><strong>Util</strong> containts a bunch of low-level utilities and extensions to <code>Foundation</code> types such as <code>String</code>, <code>Date</code>, etc.</p></li> <li><p><strong>UI</strong> contains a bunch of custom <code>UIView</code> and <code>UIViewController</code> subclasses, class extensions for <code>UIColor</code>, <code>UIImage</code>, etc..</p></li> </ol> <p>The app and each framework has its own repository on GitHub.</p> <hr> <p>The <strong>UI</strong> framework is set up to depend on the <strong>Util</strong> framework, using Carthage:</p> <ol> <li><p>The project's <strong>Cartfile</strong> contains a reference to the <strong>Util</strong> repo:</p> <p><code>github "MyOrganization/Util.git"</code></p></li> <li><p>Util is listed in "Linked Frameworks and Libraries", but <strong>not embedded</strong> (because <strong>UI</strong> is a <em>framework</em> project, <em>not an app</em>).</p></li> <li><p>The <em>Framework Search Paths</em> build setting contains <code>$(PROJECT_DIR)/Carthage/Build/iOS</code> in addition to <code>$(inherited)</code></p></li> <li><p>The .gitignore file is configured to ignore the whole <code>Carthage</code> directory (not just <code>/Build</code>)</p></li> <li><p>I am <strong>not</strong> using git submodules, and I don't intend to (I have enough headaches already).</p></li> </ol> <hr> <p>If I clone the UI framework and run <code>carthage update</code>, Carthage fetches/builds Util and I can embed it manually to build the UI framework. </p> <p><em><strong>So far so good.</strong></em></p> <hr> <p>But if I clone the <strong>App</strong> framework and run <code>carthage update</code>, Carthage fetches the <strong>UI</strong> repo, but it fails to build:</p> <ol> <li><p>The directory <code>App/Carthage/Checkouts</code> contains the checked-out copy of the UI project, as expected. However, there is no further Carthage directory for the nested framework (I assume it should be <code>App/Carthage/Checkouts/UI/Carhage/Checkout/Util</code>).</p></li> <li><p>Navigating to <code>App/Carthage/Checkouts/UI</code> opening the workspace there with Xcode and building it also fails, obviously. The reference to <code>Util.framework</code> is broken. </p></li> </ol> <p>From what I've read, Carthage should fetch the recursive dependency; What am I missing here?</p> <p>I tried adding both framework URLs the the <strong>App</strong> Cartfile, but xcode still fails to build the <strong>UI</strong> framework. </p> <p>The bottom part of the log pointed to by the carthage output says:</p> <pre><code>/Users/me/Projects/App/code/App/Carthage/Checkouts/UI/code/UI/UI/MyClass.swift:10:8: error: no such module 'Util' import Util ^ ** ARCHIVE FAILED ** The following build commands failed: CompileSwift normal arm64 CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler (2 failures) </code></pre> <hr> <h3>Update</h3> <p>I put together a <a href="http://nicolas-miari/NestedFrameworkDemo-A" rel="noreferrer">minimal reproducible example</a> on GitHub. The app and frameworks make up this dependency graph:</p> <pre><code>A -&gt; B -&gt; C // (and also A -&gt; C, but that's not relevant now) </code></pre> <p>(C is the app, B and C are frameworks).</p> <p>When running <code>carthage update</code> on the <strong>A</strong> project, it fetches both framework repos, checks out both, starts to build <strong>B</strong> first and fails, just as above (<code>import</code> directive).</p> <p>The checked out copy of <strong>B</strong> has the right Cartfile, along with all the source files, but there is no nested <code>Carthage/</code> directory, let alone the necessary copy of <strong>C</strong> within it. </p> <p>I guess I need to somehow make the build process refer to <code>A/Carthage/Builds/C.framework</code> instead of <code>A/Carthage/Checkouts/B/Carthage/Builds/C.framework</code>, but don't know how to set up the B project for that to work out... </p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Lisbon -> Madrid, Plane vs Car. Hey everyone, Me and 2 friends are going to Japan late August. Our flight departs from Madrid, and we're from Lisbon. We're wondering what would be best, fly to Madrid or take a car there? From our research the car is about 50€ cheaper, our biggest problem is where to park, any advice? Thanks :)
0non-cybersec
Reddit
IPSec - Is it possible to have remote access clients (road warriors) all behind the same NAT device?. <p>This is a topic that I find mixed information on. Is it possible to have two IPSec road warriors that are behind the same NAT, even with an ASA as the VPN endpoint? I have been trying with Libreswan w\ XAUTH+PSK and IKEV2+certs to no avail. I am starting to wonder if this is an IPSec limitation.</p>
0non-cybersec
Stackexchange
How to get Outlook 2013 to encrypt using AES and not 3DES. <p>In my company we are exchanging emails with a government authority once a month and they require us to encrypt those emails with encryption algorithm <strong>AES-128, AES-192 or AES-256</strong>. For the purpose we did purchase an <strong>email digital id</strong> from <a href="https://ssl.trustwave.com/email-digital-id" rel="nofollow noreferrer">Trustwave</a></p> <p>The computer from which we are sending the emails is running <strong>Windows 7</strong> and using <strong>Outlook 2013</strong> as email client.</p> <p>The authority sent us their certificates and I did install them and attached them to their contact in Outlook. Then I did import our newly purchased certificate in Outlook from <strong>Options > Trust Center > Email Security</strong> and setup the required algorithm (AES-128).</p> <p>All looks fine and now we try to send email to the authority but the email explicitly gets encrypted with <strong>3DES</strong> algorithm ...</p> <p>Then I send encrypted email with the same settings to my colleague and the email is encrypted with the right algorithm - AES-128 ...</p> <p>I am not able to solve this problem in the last two weeks, I tried multiple times to reinstall all the certificates, to setup all possible different settings related to email encryption in Outlook, tried using <a href="https://www.ritlabs.com/en/products/thebat/" rel="nofollow noreferrer">The Bat</a> email client but nothing solves the problem. <strong>Emails get explicitly encrypted with 3DES</strong> and the authority is not accepting our emails ...</p> <p>I decided to ask here so I am open to suggestions how to approach this problem...</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Multicolumn and xintfor. <p>This is my first time asking a question on Stack Exchange, although I'm a frequent reader.</p> <p>I tried to build a tabular that generates a sort of array, with indexes displayed above. This is the code:</p> <pre><code>$A = $ \raisebox{10pt}{ \setcounter{N}{5} \begin{tabular}{|*{5}{c|}} \xintFor* #1 in {\xintSeq{1}{\value{N}}}\do{\xintifForFirst{\tiny #1}{&amp; \mc{\tiny #1}}}\\ \hline $1$ &amp; $3$ &amp; $5$ &amp; $7$ &amp; $8$\\ \hline \end{tabular} } </code></pre> <p>where <code>\newcommand\mc[1]{\multicolumn{1}{l}{#1}}</code>.</p> <p><a href="https://i.stack.imgur.com/QNqs7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QNqs7.png" alt="enter image description here"></a></p> <p>I would like it to be exactly the way it is now, but without the first two vertical lines in the indexes row. If I use <code>\mc</code> in the first block of <code>\xintifForFirst</code> (as I did successfully for the second block) it doesn't compile and I can't understand why. The error I get is <code>! Misplaced \omit. \multispan -&gt;\omit \@multispan</code></p> <p>Thanks in advance :-)</p> <p><strong>Edit:</strong> As suggested by Andrew I'm writing an example of the error I get:</p> <pre><code>\documentclass{article} \usepackage{tabularx} \usepackage{xinttools} \newcounter{N} \newcommand\mc[1]{\multicolumn{1}{l}{#1}} \newcommand{\myarray}[2]{ \raisebox{8pt}{ \begin{tabular}{|*{#1}{c|}} \setcounter{N}{#1} \xintFor* ##1 in {\xintSeq{1}{\value{N}}}\do{\xintifForFirst{\mc{ \tiny ##1}}{&amp; \mc{\tiny ##1}}}\\ \hline #2\\ \hline \end{tabular} } } \begin{document} $B = $\myarray{11}{$0$ &amp; $0$ &amp; $1$ &amp; $0$ &amp; $1$ &amp; $0$ &amp; $0$ &amp; $1$ &amp; $0$ &amp; $1$ &amp; $0$} \end{document} </code></pre>
0non-cybersec
Stackexchange
How to specify dynamic tab in a sumifs formula. <p>I'm trying to get the below <code>SUMIFS</code> formula to update the worksheet it looks at depending a month referenced in some other cell, say A1. I have sales data from each month in a separate worksheet so the below formula is summing the data in worksheet'02.13' if it matches each of the criteria specified. I'd like to have it reference a specific cell to know which worksheet to reference in the <code>SUMIFS</code> formula. </p> <pre><code>=SUMIFS('02.13'!E:E,'02.13'!A:A,Dashboard!L8,'02.13'!D:D,Dashboard!M6) </code></pre> <p>So if A1 has my worksheet name or reference, I need it to function as:</p> <pre><code>=SUMIFS('A1'!E:E,'A1'!A:A,Dashboard!L8,'A1'!D:D,Dashboard!M6) </code></pre> <p>I've looked around in several forums and have found some similar questions but I'm having difficulty deciphering the formulas and applying for my specific need. I think I need to use an <code>INDIRECT</code> formula but can't figure it out.</p> <p>Any help would be greatly appreciated.</p> <p>Thanks! </p>
0non-cybersec
Stackexchange
Once in while it rains on Bonaire (Dutch Caribbean). The dogs in the animal shelter love it!.
0non-cybersec
Reddit
Keyboard and mouse not working Win 8.1 X64 , SSD, asus mb. <p>Following a critical win update 2 days ago, the mouse and keyboard no longer work on win 8.1, X64 with SSD though mouse and keyboard work in bios, i have tried the following:</p> <p>I can get into the troubleshooting by hitting F8 on startup and selecting recovery disk</p> <p>Recovery stick: no option to get into safe mode</p> <p>Sys restore: will not restore - mssg anti virus needs to be disabled (obviously i cannot disable as mouse and keyboard do not work in win 8.1)</p> <p>Refresh - will not verify recovery stick or win 8.1 install disk</p> <p>Cannot figure out how to get to safe mode, tried bcedit from cmd prompt on recovery drive, x:windows\system32 as per web instructions however received mssg bc edit is not recognized......</p> <p>seems like my only option is to reinstall, My data is safe as i save it to a separate drive, however i need to get the .pst mail file and a couple of other files off</p> <p>Can anyone assist? Frustrated and need help, thanks.</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Vector space question with linear forms. <p>If I have vector space of $n$ degree polynomials with real coefficients and $f(0) = 0$ and $f(1) = 0$, and inner product $\langle f,g \rangle = \int_0^1 f'(x) g'(x) dx$, how do I show that there is unique $f$ such that $-\int_0^1 f''(x)g(x)dx = g(1/2)$ for all $g \in V$?</p> <p>For the left hand side, if I apply integration by parts, I get $-\int_0^1 f''(x)g(x)dx=\int_0^1 f'(x)g'(x)dx$ and if I integrate by parts again, I get the expression $\int_0^1 f''(x)g(x) - f(x)g''(x) = 0$. The integrand is $\frac{d}{dx} ( f'g - g'f)$ but I dont know if this is on the right track? Do I need a brute force approach and assume $f(x) = a_nx^n + ... a_1 x$ and try to do something with coefficients?</p>
0non-cybersec
Stackexchange
Align subscripts in math mode. <p>Is there an easy way (maybe provided by <code>mathtools</code> that aligns normal subscripts)? </p> <p>I know that I can do this manually with <code>\vphantom</code>, but I was looking for a better way.</p> <pre><code>\documentclass{article} \usepackage{mathtools} \begin{document} \noindent Looks pretty bad: \[ T_\theta T_\theta^{-1} = \begin{pmatrix*}[r] \cos\theta &amp; -\sin\theta\\ \sin\theta &amp; \cos\theta \end{pmatrix*}\begin{pmatrix*}[r] \cos\theta &amp; \sin\theta\\ -\sin\theta &amp; \cos\theta \end{pmatrix*} = \begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix} = I \] adjustlimits doesn't work: \[ \adjustlimits T_\theta T_\theta^{-1} = \begin{pmatrix*}[r] \cos\theta &amp; -\sin\theta\\ \sin\theta &amp; \cos\theta \end{pmatrix*}\begin{pmatrix*}[r] \cos\theta &amp; \sin\theta\\ -\sin\theta &amp; \cos\theta \end{pmatrix*} = \begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix} = I \] vphantom does work \[ T_\theta^{\vphantom{-1}} T_\theta^{-1} = \begin{pmatrix*}[r] \cos\theta &amp; -\sin\theta\\ \sin\theta &amp; \cos\theta \end{pmatrix*}\begin{pmatrix*}[r] \cos\theta &amp; \sin\theta\\ -\sin\theta &amp; \cos\theta \end{pmatrix*} = \begin{pmatrix}1&amp;0\\0&amp;1\end{pmatrix} = I \] \end{document} </code></pre> <p><a href="https://i.stack.imgur.com/zvyzl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zvyzl.png" alt="enter image description here"></a></p>
0non-cybersec
Stackexchange
Shovel Knight Plague of Shadows trailer.
0non-cybersec
Reddit
Nginx simple redirect of products from old to new category. <p>I'm making redirects of products from old to new category.</p> <p>I've managed to make it work with following rule:</p> <pre><code>rewrite ^/old-category/(.*) /new-category/$1; </code></pre> <p>But I want to know when should I use "end line" sign $ and what's the difference with it or without it in my case. For example:</p> <pre><code>rewrite ^/old-category/(.*)$ /new-category/$1; </code></pre> <p>Also I want to redirect users if they simply write old category name (without products), should I create a new rule just for category redirect or I can edit the current rule above to work in both cases.</p> <p>Thank you for your answers in advance.</p>
0non-cybersec
Stackexchange
Webpack loaders vs plugins; what&#39;s the difference?. <p>What is the difference between loaders and plugins in webpack? </p> <p>The <a href="https://webpack.github.io/docs/using-plugins.html">documentation for plugins</a> just says:</p> <blockquote> <p>Use plugins to add functionality typically related to bundles in webpack.</p> </blockquote> <p>I know that babel uses a loader for jsx/es2015 transforms, but it looks like other common tasks (copy-webpack-plugin, for example) use plugins instead.</p>
0non-cybersec
Stackexchange
The Hidden Beauty of Pollination.
0non-cybersec
Reddit
[OC] My gut microbiome over a 3-year Period.
0non-cybersec
Reddit
Landing gear turbulence visualized..
0non-cybersec
Reddit
How to change Azure VM Spot Priority. <p>I recently deployed Azure VMs using spot instances (capacity and I would like to change it to regular VMs. I tried running the following command under azure cli:</p> <blockquote> <p>az vm update -n TESTVM -g TEST --priority Regular</p> </blockquote> <p>I encountered the following error under azure cli:</p> <blockquote> <p>Changing property 'priority' is not allowed.</p> </blockquote> <p>How do I change my spot VMs to regular VMs?</p> <p>Thanks</p>
0non-cybersec
Stackexchange
Startup Application Preferences - SSH Key Agent. <p>I am Using Ubuntu 18.04 and i am new. I would like to know what is this SSH Key Agent and what will happen if i remove it?</p> <p><a href="https://i.stack.imgur.com/z3g4t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z3g4t.png" alt="enter image description here"></a></p>
0non-cybersec
Stackexchange
Pc not turning on. Sorry for the bad cables. It worked fine earlier before i started to rebuild it..
0non-cybersec
Reddit
Looking for guidance for my father.. My dad is 70 years old, in very good health (but is also 70) and very active. Recently, my mother passed away from uterine cancer and my father, myself, and my sister have been helping him to pick up the pieces of a relatively precarious financial situation. We have paid off all debt tied to him, and we are trying to decide what the best course of action for the remaining balance which is currently a little over 35k, he will eventually be getting repaid an additional 40,000--as soon as my brother who borrowed from him sells the properties he rehabbed (long story, brother stretched himself a bit thin on some property flips). I am by no means a financial expert, and am in fact only getting my own stuff in order myself from my youth of bad spending, however given his age--what is the best way to put his money to work? Given his age, I'm inclined to think just a high interest savings account to get a little back and still remain accessible for emergencies? It is still worth mentioning he is still working full time and earning a decent income. &#x200B; Any advice would be appreciated, thank you.
0non-cybersec
Reddit
Remove files that are listed in a text file. <p>I have a file that exported a bunch of file names that need to be removed. I need to know how to go about removing each file without having to issue it one at a time at the command line.</p> <p>I've thought about just cating it inside a <code>for</code> loop, which would probably work, but wanted to know if there was an easier, or even a better solution to doing this.</p> <p>Thanks.</p>
0non-cybersec
Stackexchange
Unfortunate layout from the London Evening Standard Online.
0non-cybersec
Reddit
Value of experimentation on decision analysis problem?. <p>The following table represents a decision analysis problem (in units of a thousand dollars)</p> <p><a href="https://i.stack.imgur.com/aVbFe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aVbFe.png" alt="enter image description here"></a> </p> <p>Suppose you can obtain information which will tell you, with certainty, whether or not state 1 (S1) will occur. What is the maximum amount you would be ready to pay to obtain the information about S1? (Using Bayes' Rule)</p> <p>I already calculated the expected payoffs of each Alternative w/o the perfect information which is E[A1] = $33,000 E[A2] = $29,000 E[A3] = $39,000. </p> <p>Not really sure how to calculate the expected total payoff with or without the S1 information, or how to determine it's worth? Thank you.</p>
0non-cybersec
Stackexchange
Zoe loves hiking in the Blue Ridge Mountains.
0non-cybersec
Reddit
Better not piss off sam.
0non-cybersec
Reddit
Is there an algorithmic complexity measure that strikes a balance between regularity and randomness of a string?. <p>If my understanding is correct, Kolmogorov complexity would assign the highest value (description length) to a totally random string, such as:</p> <blockquote> <p>abewdwflkweoasfksalsfnlka</p> </blockquote> <p>the lowest value to a completely regular string, such as:</p> <blockquote> <p>aaaaaaaaaaaaaaaaaaaaaaaaa</p> </blockquote> <p>and a middle value to: </p> <blockquote> <p>abbbceaxxdabbbceaxxdabbb</p> </blockquote> <p>But it seems to me that although the 1st string cannot be perfectly described by any string shorter than itself, it can be more less characterized by a random distribution, i.e. its lack of any structure makes it in a sense less complex than the 3rd string. </p> <p>Is there any information theoretic or algorithmic measure of complexity that would assign low values to the 1st and 2nd strings while assigning a high value to the 3rd string and strings that have long description length, but do display some structure and regularity? </p>
0non-cybersec
Stackexchange
windows 7 randomly shuts down. where do I find related log? so that i can identify the error. <p>during the normal use, windows 7 shuts down. sometimes it happened when I start google chrome and few times during system update. </p> <p>after it shuts down, I turn it back on and I get to the screen, where windows asks me if I'd like a safe or normal start. the shutdown happens regardless if i'm on a battery or cord</p> <p>is there a log that can tell me where the error is? it can help me to further identify the solution.</p> <p>my setup: I run windows 7 on thinkpad x201 tablet. i have upgraded hard drive that worked fine for the last 6 months. the system is dual boot with ubuntu. I have installed some software recently, may be that can be the problem but sophos anti-virus cannot find anything. updates are all up to date.</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Return to Editor not working on Kile. <p>Supposedly <kbd>Ctrl</kbd> + <kbd>E</kbd> is supposed to return from Okular to Kile, but when I press it nothing happens, even though I see that <kbd>Ctrl</kbd> + <kbd>E</kbd> is indeed listed as the shortcut for this command.</p> <p>I am working with Kile 2.9.60.</p>
0non-cybersec
Stackexchange
Woke up this morning after forgetting to take out my contacts....
0non-cybersec
Reddit
Firewall rule to only allow Postfix to send email through SMTP on port 25. <p>As suggested in <a href="https://serverfault.com/questions/13844/how-do-you-detect-a-spambot-on-your-network">How do you detect a spambot on your network?</a> how can I setup firewall rule to allow only Postifx to send emails using SMTP on port 25 and disallow all other applications to send on port 25?</p> <p>I want to control email server of single machine.</p> <p>Something related is being talked <a href="http://www.abuseat.org/nat.html" rel="nofollow noreferrer">here</a> but not sure of the Iptables rules.</p>
1cybersec
Stackexchange
Nier: Automata director Yoko Taro’s newest game is a dark fairytale on mobile.
0non-cybersec
Reddit
How do I get Wireshark to filter for a specific web host?. <p>I'm using Wireshark on OSX, but I can't make any sense out of the filtering system.</p> <p>I have this filter set up:</p> <p><img src="https://i.stack.imgur.com/9HNMU.png" alt="enter image description here"></p> <p>But when I hit that server, I don't see anything show up in the capture log. If I remove the filter, I see all sorts of network traffic. The network request I am doing is to</p> <p><a href="https://lowdown.secure.omnis.com" rel="nofollow noreferrer">https://lowdown.secure.omnis.com</a></p> <p>from an iOS application in the iOS simulator. The service receives the request, and I get a response. But I don't know how to filter these out of all the noise in Wireshark.</p>
0non-cybersec
Stackexchange
Been feeling really good about myself for a couple of weeks...change that.
0non-cybersec
Reddit
QT 5.3 Mac Full Screen. <p>I'm trying to set my application to full screen and back in Qt 5.3, but I'm running into some issues on Mac. When I use <code>showFullScreen()</code>, it goes into full screen as expected. It uses the standard Mac full screen mode where it opens in a separate desktop/space. However, when I call <code>showNormal()</code> to return from full screen mode, the application window just disappears and I'm left with a gray background. I need to swipe in order to return to the regular desktop where the application is. </p> <p>Is this a bug in Qt or am I doing something wrong? I'm on OS X 10.9.3.</p>
0non-cybersec
Stackexchange
Why would you want to be a Reddit mod?. I can’t think of any real upside
0non-cybersec
Reddit
Is there universal way to check mac&amp;ip for multiple printers?. <p>As in title, is there any good way to check mac and ip addresses on multiple printers without connecting to all the printers.</p> <p>Running Windows 7 on my workstation.</p>
0non-cybersec
Stackexchange
How to have the same background image on each each side?. <p>I when looking at the options for background images I cant find an option of the <code>CSS</code> <code>background-repeat</code> property which fits my desired design. My desired design is like this:</p> <p><a href="https://i.stack.imgur.com/KPLNJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KPLNJ.png" alt="enter image description here"></a></p> <h2>Question:</h2> <p>My desired design is exactly 2 images like this which are a similar distance the window. Is there any way to achieve this in CSS and still keeping the images as a background and not putting them in <code>&lt;img&gt;</code> tags?</p> <p>Here is a code snippet you can use to apply the <code>CSS</code> to:</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-css lang-css prettyprint-override"><code>.content{ height: 300px; width: 1000px; background-color: grey; background-image: url("https://lh4.ggpht.com/mJDgTDUOtIyHcrb69WM0cpaxFwCNW6f0VQ2ExA7dMKpMDrZ0A6ta64OCX3H-NMdRd20=w300-rw") }</code></pre> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="content"&gt; &lt;/div&gt;</code></pre> </div> </div> </p>
0non-cybersec
Stackexchange