text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
1/2 off Banana Republic Sweater, No Codes Needed. Stackable w/ 25% Email Discount.
0non-cybersec
Reddit
My husky Ozzie awaits my father's return.
0non-cybersec
Reddit
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
Is iphone purchased from Canadian online Apple Store factory unlocked?. <p>I could not find iphone stack exchange site so I am posting here. On Canadian Apple store iphone 4 is available for $659. Is this iphone 4 is the same iphone as factory unlocked new iphone 4 being sold on ebay for over $800? I am confused about the price difference if they are exactly same phones. Also would this iphone work with any GSM carrier in USA or other countries?</p>
0non-cybersec
Stackexchange
Adding HDD with data on it. <p>I installed Ubuntu server 14 on a machine with a small SSD. I have a large HDD full of data from an old Fedora install. When I install the data drive and turn on the Ubuntu box, the HDD shows up and the data is all accessible. gparted says it is an ext4 file system. The mount point is /media/username/long_number_or_random_digits. fstab does not seem to know about the drive.</p> <p>I gather it is mounted as a removable drive. How to I make it permanent? I'd like to access it by going to /mydrive</p>
0non-cybersec
Stackexchange
How much space will iCloud Photo Library use on my devices?. <p>I am considering to use iCloud Photo Library to store a growing number of family photo albums, shared to web or set of AppleIDs.</p> <p>I dont need to keep original photos on iDevices for 99.9% of photos.</p> <p>How much space will be used on the photo-originating set of devices (iOS, OS X, Windows)? I.e. what (roughly) is the function from the original size and number of photos, device storage space available, any other variables?</p>
0non-cybersec
Stackexchange
My first house on my friend's survival server! What do y'all think?.
0non-cybersec
Reddit
The story unfolds based on your comments - The Blind Samurai loses her sword....
0non-cybersec
Reddit
NSV: Beach photos, then and now: Same location, different me, separated by 3.5 years and 130 pounds. .
0non-cybersec
Reddit
Suppose $f_n(x)=x^n - x^{2n}$ , $x \in [0,1]$. Dose the sequence of functions $\lbrace f_n \rbrace$ converge uniformly?. <p>Suppose $f_n(x)=x^n - x^{2n}$ , $x \in [0,1]$. Dose the sequence of functions $\lbrace f_n \rbrace$ converge uniformly?</p> <p>I try to show that the sequence is Cauchy. But I get stuck.</p> <p>Suppose $n&gt;m$. Then $|f_n(x)-f_m(x)|=|x^n-x^{2n}-(x^m-x^{2m})| \leq |x^n -x^m|+|x^{2n}-x^{2m}|=|x^n(1-x^{m-n})|+|x^{2n}(1-x^{2(m-n)})|$</p> <p>After that, I try to use definition of uniform convergence. Clearly the sequence of functions converges pointwise to $0$.</p> <p>$|x^n-x^{2n}|=|x^n(1-x^n)| \leq |x^n| \leq \epsilon$</p> <p>Since $x$ cannot be eliminated, the convergence is not uniform. </p> <p>Does this proof work?</p>
0non-cybersec
Stackexchange
There Is No Such Thing As Information Security Risk.
1cybersec
Reddit
Compiling Qt 5, getting warning &quot;The build will most likely fail.&quot;. <p>I'm following <a href="http://qt-project.org/wiki/Building_Qt_5_from_Git">this tutorial</a> on compiling Qt 5 on Windows, using Visual Studio 2008 as the compiler.</p> <p>When running <code>configure.bat</code> I get a warning - <code>The build will most likely fail.</code></p> <p>This is the complete command:</p> <pre><code>configure -developer-build -opensource -nomake examples -nomake tests </code></pre> <p>This is an excerpt of configure.bat's output:</p> <pre><code>Running configuration tests... WARNING: The DirectX SDK could not be detected: There is no Direct X SDK installed or the environment variable "DXSDK_DIR" is not set. Disabling the ANGLE backend. WARNING: Using OpenGL ES 2.0 without ANGLE. Specify -opengl desktop to use Open GL. The build will most likely fail. </code></pre> <p>What should I do to avoid this warning? Should I specify <code>-opengl</code>, or should I install Direct X SDK?</p> <p><strong>Edit</strong></p> <p>The build (I ran <code>nmake</code>) did fail complaining that <code>GLES2/gl2.h</code> is missing:</p> <pre><code>c:\workspace\qt5source\qt5\qtbase\include\qtgui\../../src/gui/opengl/qopengl.h(82) : fatal error C1083: Cannot open include file: 'GLES2/gl2.h': No such file or directory </code></pre>
0non-cybersec
Stackexchange
What is an interpretation of the matrix exponential?. <p>I just read about the existence of the "matrix exponential"</p> <p>$$e^X := \sum_{k = 0}^\infty\frac1{k!}X^k$$</p> <p>Is there a simple way to interpret this? I understand the analog between real number exponentials as infinite Taylor expansions. However, I have no easy way of interpreting in the case of a matrix.</p> <p>I've read that it relates to linear ODE's</p>
0non-cybersec
Stackexchange
Generating RSS Feeds Automatically?. <p>I am running a static PHP website for the past 3 months. It's not a CMS but just simple PHP files (no database) in to which I add content. I am struggling to manually create RSS feeds as it is very time consuming. Can someone suggest me ways to save time creating RSS feeds? I am also looking to automate the process of RSS feed creation, maybe using variables? Please suggest.</p>
0non-cybersec
Stackexchange
Hollywood comes to the high court for Johnny Depp face-off.
0non-cybersec
Reddit
If $A$ be a subset of the set of real numbers containing none of its limit points then must $A$ be countable ?. <p>Let $A$ be a subset of the set of real numbers containing none of its limit points i.e. $A \cap A'=\phi$ where $A'$ is the set of all limit points of $A$ ; then must $A$ be countable ? </p>
0non-cybersec
Stackexchange
Always Encrypted column validation. <p>How can I validate a SSN column that is encrypted in a table using AE without passing one by one value as a parameter? I have to validate if the SSN is formatted properly and numbers and '-' etc.</p> <p>I tried inserting the SSN column values into a #table to perform the validations on the decrypted values but that fails.</p> <p>This is being implemented in a stored procedure which does all validations on the encrypted table in bulk and fails for SSN. Any suggestions that can help me perform this task?</p> <p>I understand that validation has to be done by app. The requirement is that a third party tool loads a file to the DB which has SSN in it and they don't do any validation for the file upfront before loading it into the table. We have encrypted the column on the table and then after we want to validate the ssn to check if it's 10 digits or not etc. How do we achieve this? It's not defeating the purpose as anyone who has the master key can perform required actions as per the need.</p>
0non-cybersec
Stackexchange
ELI5: How does the silencer on a gun work?.
0non-cybersec
Reddit
Fresh Prince Fans Getting Emotional Over Uncle Phil Tribute During Will Smith Snapchat Reunion.
0non-cybersec
Reddit
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
What's the most chew-proof squeaky toy ever?. My pooch LOVES squeaky toys, but she wholeheartedly believes that they're meant to be viciously and systematically de-squeaked as quickly as possible. The longest lifespan i've gotten was 2 days, out of one of these [Kong ball things.](http://www.amazon.com/KONG-Squeezz-Ball-Large-Colors/dp/B004YCJPT2/) She really loves murdering squeaky toys. Are there any that might put up a bit more of a fight?
0non-cybersec
Reddit
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
Going to Nuzlocke on Black. It hurts to delete a file after so much time..
0non-cybersec
Reddit
Just turn off the camera mom.
0non-cybersec
Reddit
???? files in ls -l output. <p>I see ghost files in red colour inside some of my directories:</p> <pre><code>[drey@cyan|23:54|~/downloads]ls -la ls: cannot access teamviewer9_linux.deb: No such file or directory total 1318096 drwxrwx--- 1 root plugdev 8192 Sep 30 23:32 . drwxrwx--- 1 root plugdev 4096 Sep 25 14:06 .. drwxrwx--- 1 root plugdev 4096 Aug 6 15:04 fl -rwxrwx--- 1 root plugdev 1329594368 Sep 2 00:24 linuxmint-17-mate-32bit-v2.iso -rwxrwx--- 1 root plugdev 20118938 Sep 30 23:32 skype-debian_4.3.0.37-1_i386.deb -????????? ? ? ? ? ? teamviewer9_linux.deb [drey@cyan|23:54|~/downloads]ls -la teamviewer9_linux.deb ls: cannot access teamviewer9_linux.deb: No such file or directory [drey@cyan|23:54|~/downloads] </code></pre> <p>I think it can be some type of disk failure, should I use <code>fsck --force</code>? </p> <ul> <li>How did I create them? </li> <li><p>How can I get rid of them?</p> <p>$ smartctl -a /dev/sda</p></li> </ul> <p>didn't show any serious failure symptoms (5,197,198,199 all equal zero).</p> <p><strong>P.S.:</strong> I've tried <code>touch /forcefsck</code> and reboot. Now I have unreadable downloads dir:</p> <pre><code>[drey@cyan|18:44|~]ls -l ~/downloads lrwxrwxrwx 1 drey drey 16 Feb 8 2013 /home/drey/downloads -&gt; /data/downloads/ [drey@cyan|18:45|~]ls -l ~/downloads/ ls: reading directory /home/drey/downloads/: Input/output error total 0 </code></pre> <p><code>/data</code> is NTFS partition:</p> <pre><code>/dev/sda3 on /data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) </code></pre> <p>NTFS check gone good:</p> <pre><code>[drey@cyan|18:52|~]sudo ntfsfix /dev/sda3 Mounting volume... OK Processing of $MFT and $MFTMirr completed successfully. Checking the alternate boot sector... OK NTFS volume version is 3.1. NTFS partition /dev/sda3 was processed successfully. </code></pre>
0non-cybersec
Stackexchange
Sampling Method to Calculate Result of High Dimension Integral. <p>I need to calculate the average outputs ($Y_j$) from a non-linear simulation model ($M_j$) which takes a large number of possible input strings ($B_i$). </p> <p>$$Y_j = E(M_j(B_i))$$</p> <p>Each $B_i=(b_{i,1},b_{i,2},...,b_{i,N})$ where $N \ge 12$, and the $b_{i,k}$ are the possible values of a Poisson random variable with known mean. </p> <p>The calculation of $M_j$ is very expensive so I want to find a way to subsample the $B_i$ to get an accurate estimate of $Y_j$ without having to calculate it too exhaustively (something in the spirit of Latin Hypercube Sampling or Gaussian Quadrature or Sparse Grid method perhaps). </p> <p>I think $M_j$ is monotonic on $b_{i,k}$ but the $B_i$ are not ordered. </p> <p>Any ideas?</p>
0non-cybersec
Stackexchange
Russell Wilson bought his whole offense xbox ones for chirstmas.
0non-cybersec
Reddit
Placing Wireless-AP and DECT VoIP Base Station side by side - will they disturb each other?. <p>I need to place a <code>wireless access point</code> and a <code>DECT VoIP base station</code> into an office. Now there is a perfect location in the center of the room, which is why I am thinking about to assemble both devices directly beside each other at this position.</p> <p>Will they disturb each other? Are there any disadvantages to be expected when assembling a wireless AP and a DECT base directly beside each other?</p> <p><strong>Edit:</strong> Seems to be the same question like <a href="https://superuser.com/questions/1315667/will-a-dect-phone-wireless-signal-interfere-with-a-wifi-access-point-signal/1315703#1315703">this one</a>.</p>
0non-cybersec
Stackexchange
Big Decorative Quotes. <p>I want to make some definition in my thesis very clear, by putting it in its own line, with stylish, decorative (or whatever you call it) quotes. How can I do that in Latex?</p>
0non-cybersec
Stackexchange
Word interop PDF/A type export. <p>I would like to export PDF/A type from Word document. Like if I woud go Export> Create PDF/XPS> Options > Tick PDF/A Compilant. Right now I have working code:</p> <pre><code>doc.ExportAsFixedFormat($@"{docPath2}\{InputBox}.PDF", Word.WdExportFormat.wdExportFormatPDF); </code></pre> <p>But how can I define a Type of PDF? Or it is not possible?</p>
0non-cybersec
Stackexchange
Cannot stop having erections. 17m - I cannot stop getting erections when I am with my girlfriend in public. It makes me feel awkward when I am sitting here with my girlfriend and then she kisses me and now I have a full straight ahead erection. I enjoy having erections, but I need to figure out something because I can't really handle being this awkward because everytime my girlfriend hugs, holds or kisses me. I get harder and harder. I recently started a nofap challenge after being a chronic masturbator for over 5 years. Which I think may hold some relevance. ...help.
0non-cybersec
Reddit
Record and display Kinect audio and video via avconv. <p>I'm trying to record audio and video from a Kinect using avconv but I seem to have trouble specifying the right options.</p> <pre><code>avconv -f video4linux2 -video_size 640x480 -c:v h264 -c:a ac3 -i /dev/video1 test.mp4 </code></pre> <p>results in:</p> <pre><code>avconv: /build/buildd/libav-extra-0.8.3ubuntu0.12.04.1/libav/libavutil/mathematics.c:79: av_rescale_rnd: Assertion `c &gt; 0' failed. Aborted (core dumped) </code></pre> <p>Cheese is perfectly happy recording the audio and video from the Kinect, so it's not a setup issue. For added fun, I also need to display the video at the same time.</p>
0non-cybersec
Stackexchange
On 18.04 the notification is flashing. <p>Suddenly I have an issue with 18.04 that the notification flashing for a split-second. It goes away so fast that I am not able to see what is triggering the notification OR what is in the text message there. But it is super annoying and distracting. When I am working or looking at other screen the constant flashing of the notification pop up makes it impossible to concentrate.</p> <ul> <li>Is there a way that I can see past notifications to figure out what is causing the notification ?</li> </ul> <p>I am mostly just using what came out of the box and haven't done many customizations. I do have the tweaks installed though, but not the notification-osd.</p> <p>I have been using the same config for over 3 months and the problem started happening today.</p> <p>EDIT: It seems like it is the 'Ubuntu is Ready' notification.</p> <p>EDIT2: I was wrong earlier. It is a <code>Connection failed</code> message.</p>
0non-cybersec
Stackexchange
I feel like biting the bullet by buying a EVGA GPU through eBay. What do you suggest?. I've seen various GPUs being auctioned off - either brand new or used. I know there are liars on eBay, and what to check for [vendor reputation, description quality, etc.], but I don't feel like waiting so long. Some vendors claim that their card was used for a short time before they upgraded or some such explanation, but I'm still wary. EVGA has a great customer service rep, and I've heard stories about the warranty for a card still useable even if the card switches owners. Maybe I can buy a decent 1070 for just over $400, I don't know. Try to convince me otherwise, please.
0non-cybersec
Reddit
Maven archetype properties with default value artifactID. <p>I want to make an archetype that use a parameter to be created...nut I don't know if is right a parameter made in this way:</p> <pre class="lang-xml prettyprint-override"><code>&lt;requiredProperties&gt; &lt;requiredProperty key="appName"&gt; &lt;defaultValue&gt;${artifactId}&lt;/defaultValue&gt; &lt;/requiredProperty&gt; &lt;/requiredProperties&gt; </code></pre> <p>It's not working for me...i've a failure on the integration-test </p> <pre> [INFO] --- maven-archetype-plugin:2.0:integration-test (default-integration-test) @webapp-archetype --- [ERROR] Archetype test.archetype:webapp-archetype:1.0-SNAPSHOT is not configured Property appName is missing. org.apache.maven.archetype.exception.ArchetypeNotConfigured: Archetype test.archetype:webapp-archetype:1.0-SNAPSHOT is not configured Property appName is missing. </pre>
0non-cybersec
Stackexchange
Plants vs. Zombies Garden Warfare: Garden Variety DLC out tomorrow for Free.
0non-cybersec
Reddit
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
HTML Coding an email?. Okay, so I've used HTML to edit email templates for sending out. Now, as part of a job interview, I need to code an email from scratch. Anyone have any good ideas on how best to get started with coding this email? I really want to learn how to do this. It's a simple email with hyperlinks and a table, image and caption aligned to the right. Nothing too fancy, no major headers or anything. Just to add, this is not a programming job. It's a digital fundraising job.
0non-cybersec
Reddit
[Fred Katz] Steven Adams on if he'll miss seeing Tim Duncan on the other bench: "He will be missed. That’s my boy.".
0non-cybersec
Reddit
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
Just a nice little reminder that tomorrow, March 2, B: The Beginning will be on Netflix.. And for March, Netflix has a new ''Netflix original'' anime for every week of the month. March 2 : B: The Beginning March 9 : A.I.C.O.: Incarnation March 16 : Children of the Whales (for the people who waited to watch legally and with a dub) March 23 : Sword Gai The Animation And yes, it his going to be like Devilman: Crybaby: all episodes in one go. Are you hyped for something ? B: The Beginning looks good and its an original. I'm always down for originals. Mysteries can be amazing but they can also fall on their face pretty damn hard so... idk. We'll see.
0non-cybersec
Reddit
Prime Minister Cameron Rejects Call For Britain To Take More Refugees.
0non-cybersec
Reddit
Question about the proof of consistency iff satisfiability of a theory. <p>In pretty much any Model Theory or Logic textbook you will find the following claim, where $T$ is a theory (a set of $\mathsf{L}$-sentences),</p> <blockquote> <p>$T$ is consistent if and only if $T$ is satisfiable.</p> </blockquote> <p>Sometimes it is proved and sometimes it is not, I have read the proof from a few books and I have tried to shorten it as much as possible to what follows,</p> <blockquote> <p>Assume to the contrary that there exists a theory $T$ such that $T$ is consistent and $T$ is not satisfiable. Since $T$ is not satisfiable, there does not exist any models $\mathcal{M}$ of $T$. So, any $\mathsf{L}$-structure which attempts to model $T$ is a model of $\perp$. Then, $T \vDash \perp$ so by the Completeness Theorem, $T \vdash \perp$; yet this contradicts the assumption that $T$ us consistent. Therefore, $T$ is consistent if and only if $T$ is satisfiable.</p> </blockquote> <p>My question is as to why we can make the jump from "there does not exist any models of $T$", to "every model of $T$ is a model of $\varphi \wedge \neg \varphi$."</p> <p>I thought I understood this stuff, but I am reviewing Godel's Completeness Theorem, the Compactness Theorem, and a couple related corollaries and found myself confused on this point. I'm sure it is very simple, but I thought I'd ask. Thanks.</p> <p>EDIT: In some of the comments it has been indicated that the proof is circular because it uses the completeness theorem but is attempting to prove that direction. I will literally quote exactly from David Marker's, "Model Theory: An Introduction"</p> <blockquote> <p>Corollary: $T$ is consistent if and only if $T$ is satisfiable.</p> </blockquote> <p>Proof:</p> <blockquote> <p>Suppose that $T$ is not satisfiable. Because there are no models of $T$, every model of $T$ is a model of $(\phi \wedge \neg \phi )$. Thus, $T \vDash (\phi \wedge \neg \phi)$ and by the Completeness Theorem $T \vdash (\phi \wedge \neg \phi)$</p> </blockquote> <p>What is the difference between Marker's proof than the one I gave?</p>
0non-cybersec
Stackexchange
How can I pause animated GIFs in Messages.app on OS X?. <p>I have a group message where my friends and I enjoy sharing animated GIFs. Sometimes, when one of these stays on screen for a long time, it will eat my CPU and cause my fan to spin up/make noise.</p> <p>I enjoy the GIFs, but in order to keep my fan quiet, I often delete them, which reduces the CPU usage. <strong>I have a hunch that if I could pause the animation, it wouldn't use as much processor power. Is there any way I can do this?</strong></p> <p><em>I'm currently on OS X Yosemite (10.10.3) and using Messages 8.0 (4752)</em></p> <p><em>Edit by Tetsujin Aug '17</em><br> The bounty I'm offering isn't for the same reason as the OP, i.e. CPU, but merely the irritation factor of watching them go round &amp; round &amp; round ... &amp; round...</p>
0non-cybersec
Stackexchange
Print list without brackets in a single row. <p>I have a list in Python e.g.</p> <pre><code>names = ["Sam", "Peter", "James", "Julian", "Ann"] </code></pre> <p>I want to print the array in a single line without the normal " []</p> <pre><code>names = ["Sam", "Peter", "James", "Julian", "Ann"] print (names) </code></pre> <p>Will give the output as;</p> <pre><code>["Sam", "Peter", "James", "Julian", "Ann"] </code></pre> <p>That is not the format I want instead I want it to be like this;</p> <pre><code>Sam, Peter, James, Julian, Ann </code></pre> <p>Note: It must be in a single row.</p>
0non-cybersec
Stackexchange
What are those pairs of cables I sometimes drive over on the road?. It's usually a set of two and on secondaries. This morning the pair was separated by a few feet, but sometimes they are farther apart.
0non-cybersec
Reddit
[USA][MD][OC] Reversing onto Road - Near Miss.
0non-cybersec
Reddit
Reading in a SQL file and Using Count Vectorizer to get word occurences. <p>I wanto to read a <code>SQL</code> file and use <code>CountVectorizer</code> to get word occurences.</p> <p>I have the following code so far:</p> <pre><code>import re import pandas as pd import numpy as np from sklearn.feature_extraction.text import CountVectorizer df = pd.read_sql(q, dlconn) print(df) count_vect = CountVectorizer() X_train_counts= count_vect.fit_transform(df) print(X_train_counts.shape) print(count_vect.vocabulary_) </code></pre> <p>This gives an output of <code>'cat': 1, 'dog': 0</code></p> <p>It seems that it is taking just the name of the column <code>animal</code> and counting from there.</p> <p>How do I get it to access the full column and get a chart that shows every word in the column and its frequency?</p>
0non-cybersec
Stackexchange
In Windows Server 2008 R2 how can I tell if my drives are SSD or not?. <p>I am not that experienced with Windows, but I need to use a Windows server for my FileMaker server, so now have an instance of Windows Server 2008 R2 at a hosting site.</p> <p>It's supposed to come with 120 GB of SSD storage, and I want to confirm that the drive is really SSD. I've searched around trying to find an answer, but haven't found one yet. There seems to be checks for this for Windows 10, but they don't apply to Windows Server 2008 R2.</p> <p>In the Server Manager, Drive C: is just listed as Simple, Basic, NTFS, Healthy.</p> <p>In the Device Manager the drive appears as VMWare Virtual Disk SCSI disk device. That is what first got me to thinking because I haven't used SCSI connectors for years.</p> <p>If I control-click on the drive and check the properties, there are various tabs (General, Tools, Harware, etc.) but none of them give a drive type or model number or anything like that.</p> <p>Under the Tools tab I see options for Error Checking, Defragmentation and Backup. I understand for Windows 10 there would also be an Optimize option here which would show the drive type, but that doesn't appear on this server.</p> <p>Windows PowerShell is also installed, and if there is some command line query I can use for this it would be nice to know.</p> <p>Everything is working, I would just like to know about the drive type, which is supposed to be enterprise grade SSD.</p> <p>Thanks.</p>
0non-cybersec
Stackexchange
Wario’s Dilemma (x-post from /r/gaming).
0non-cybersec
Reddit
Civilization fans attempt to vote Gandhi into new Super Smash Bros. game..
0non-cybersec
Reddit
Winding number of closed 1-form. <p>This problem is from Guillemin and Pollacks "Differential Topology" (p. 192, 2):</p> <blockquote> <p>Let $\gamma$ be a closed curve in $\mathbb{R}^2-\{0\}$ and $w$ any closed $1$-form on $\mathbb{R}^2-\{0\}$. Prove that \begin{equation} \oint_{\gamma} w=W(\gamma,0)\int_{S^1} w, \end{equation} where $W(\gamma,0):=\text{deg}(\gamma/|\gamma|)$ is the winding number of $\gamma$ with respect to the origin. </p> <p>In particular conclude that \begin{equation} W(\gamma,0) = \frac{1}{2\pi }\oint_{\gamma} d\text{ arg}. \end{equation}</p> </blockquote> <p>I am quite sure that one must use the degree formular proven in the previous section given by \begin{equation} \int_X f^*w = \text{deg}(f)\int_Y w \end{equation} for $f:X\rightarrow Y$ a smooth map, $Y$ connected, $X$ and $Y$ compact and oriented.</p> <p>However, the task seems strange to me because in the book the definition of the circular integral is given by \begin{equation} \oint_{\gamma} w := \int_{S^1}\gamma^* w \end{equation} where $\gamma:S^1\rightarrow Z$ for some manifold $Z$. So if $w$ is a 1-form on $Z=\mathbb{R}^2-\{0\}$, then the last expression, $\int_{S^1}w$, is not even well defined. Is there an error in the task and the result should actually be $W(\gamma,0)\int_{S^1}h^*w$ where $h$ is some parameterisation of $w$ around $S^1$? And if so, I am not sure how to create an expression of the form $\int_{S^1}(\gamma/|\gamma|)^*h^*w$ to use the degree formular. Thanks a lot.</p> <p>PS: I know that <a href="https://math.stackexchange.com/questions/1302195/the-integral-of-a-closed-form-along-a-closed-curve-is-proportional-to-its-windin">this</a> is a possible double but there are many errors in the OP's question and the answer below only corrects some of them and does not provide a satisfactory/complete solution. In particular the well-definedness of the last expression is not discussed.</p>
0non-cybersec
Stackexchange
Why does the binding update without implementing INotifyPropertyChanged?. <p>I created a ViewModel and bound its property to two textboxes on UI. The value of the other textbox changes when I change the value of first and <em>focus out of the textbox</em> but I'm not implementing INotifyPropertyChanged. How is this working?</p> <p>Following is XAML</p> <pre><code>&lt;Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="clr-namespace:WpfApplication1" Title="MainWindow" Height="350" Width="525"&gt; &lt;Window.DataContext&gt; &lt;local:ViewModel /&gt; &lt;/Window.DataContext&gt; &lt;StackPanel&gt; &lt;TextBox Text="{Binding Name}" /&gt; &lt;TextBox Text="{Binding Name}" /&gt; &lt;/StackPanel&gt; &lt;/Window&gt; </code></pre> <p>And following is my ViewModel</p> <pre class="lang-cs prettyprint-override"><code>class ViewModel { public string Name { get; set; } } </code></pre>
0non-cybersec
Stackexchange
The best split screen or couch co op PS4 games?. Wanna have some games to play with me buds, but sadly good split screen games on PS4 are few and far between.
0non-cybersec
Reddit
How do you split reading a large csv file into evenly-sized chunks in Python?. <p>In a basic I had the next process.</p> <pre><code>import csv reader = csv.reader(open('huge_file.csv', 'rb')) for line in reader: process_line(line) </code></pre> <p>See this related <a href="https://stackoverflow.com/questions/312443/how-do-you-split-a-list-into-evenly-sized-chunks-in-python">question</a>. I want to send the process line every 100 rows, to implement batch sharding.</p> <p>The problem about implementing the related answer is that csv object is unsubscriptable and can not use len.</p> <pre><code>&gt;&gt;&gt; import csv &gt;&gt;&gt; reader = csv.reader(open('dataimport/tests/financial_sample.csv', 'rb')) &gt;&gt;&gt; len(reader) Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; TypeError: object of type '_csv.reader' has no len() &gt;&gt;&gt; reader[10:] Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; TypeError: '_csv.reader' object is unsubscriptable &gt;&gt;&gt; reader[10] Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; TypeError: '_csv.reader' object is unsubscriptable </code></pre> <p>How can I solve this?</p>
0non-cybersec
Stackexchange
What is wrong with my code?. <p>In a long document I am writing, I wrote</p> <pre><code>$$\left\{ \Gamma_Y: \mathcal{L}_\mathbb{K} (C_\hat{L}(Y)) \longrightarrow \mathcal{L}_\K (C_G(Y), e^{C_G(Y)})) \right\}_\{Y \in X\}$$ </code></pre> <p>It does not compile, giving </p> <pre><code>Missing { inserted. &lt; to be read again &gt; \gdef l.228 ...amma_Y: \mathcal{L}_\mathbb{K} (C_\hat{L} (Y)) \longrightarrow \math... </code></pre> <p>I do not understand why it doesn't work, especially because it does work on online compilers.</p>
0non-cybersec
Stackexchange
SQL Find difference between previous and current row. <p>I am trying to find the difference between the current row and the previous row. However, I am getting the following error message: </p> <blockquote> <p>The multi-part identifier "tableName" could not be bound.</p> </blockquote> <p>Not sure how to fix the error.</p> <p>Thanks!</p> <p>Output should look like the following:</p> <pre><code>columnOfNumbers Difference 1 NULL 2 1 3 1 10 7 12 2 .... .... </code></pre> <p>Code:</p> <pre><code>USE DATABASE; WITH CTE AS (SELECT ROW_NUMBER() OVER (PARTITION BY tableName ORDER BY columnOfNumbers) ROW, columnOfNumbers FROM tableName) SELECT a.columnOfNumbers FROM CTE a LEFT JOIN CTE b ON a.columnOfNumbers = b.columnOfNumbers AND a.ROW = b.ROW + 1 </code></pre>
0non-cybersec
Stackexchange
Top 10 Best INCEST Anime.
0non-cybersec
Reddit
Rescued Dogs See Sun and Grass for the First Time After A Life in the Laboratory - This will make you cry.
0non-cybersec
Reddit
.NET core 2.1 base href tag on Angular template. <p>I'm building a template for our team on top of the .NET Core 2.1 + Angular 5 template included in the latest release of core 2.1, we deploy applications into virtual folders, for example /it/myapp, or /aa/myotherapp</p> <p>On the 2.0 template the base href property would be set automatically, I'm assuming because it was built with razor, like this:</p> <pre><code>&lt;base href="~/" /&gt; </code></pre> <p>However this is not true for the 2.1 template, I'm assuming it's because the template actually only uses static files, with the new app.UseSpa()</p> <p>Any ideas on how I could automatically populate the base href tag?</p> <p>Thank you</p>
0non-cybersec
Stackexchange
Prove this partition of the plane is not a foliation. <p>Let us define a partition of the plane as follows: for the points <span class="math-container">$(x_0,y_0)$</span> with <span class="math-container">$y_0\leq0$</span> we have leaves that are straight lines (<span class="math-container">$y=y_0$</span>) and for <span class="math-container">$y_0&gt;0$</span> we have leaves <span class="math-container">$e^{x+\operatorname{ln}y_0-x_0}$</span>. This is indeed a partition. But I am being asked whether it is a foliation.</p> <p>A rank <span class="math-container">$k$</span> foliation is a collection <span class="math-container">$\{L_\alpha\}_{\alpha\in A}$</span> of leaves of a connected immersed submanifold such that it forms a partition of that manifold and for every point of the manifold there exists a chart <span class="math-container">$(U,\phi=(x_1,\ldots,x_n)$</span> such that <span class="math-container">$U\cap L_\alpha$</span> is a countable union of slices <span class="math-container">$\{x_{k+1}=\text{ constant},\ldots,x_n=\text{ constant}\}$</span> or empty.</p> <p>Now I do not believe the given partition is a foliation and that the problem lies on the <span class="math-container">$y=0$</span> line. When we take a chart around <span class="math-container">$(x_0,0)$</span> we have leaves which are lines and leaves which are exponential curves, which will contradict the continuity of <span class="math-container">$\phi$</span> the homeomorphism of the chart, I think. But I do not know how to rigorously prove this. </p> <p><strong>edit:</strong> The Frobenius theorem tells us that there exists a bijection between foliations and involutive distributions which maps a foliation to a distribution <span class="math-container">$D$</span>, where <span class="math-container">$D_p := T_pL_\alpha$</span> for all <span class="math-container">$p\in \mathbb{R}^2$</span>, where <span class="math-container">$L_\alpha$</span> is the leaf through <span class="math-container">$p$</span>. A distribution on <span class="math-container">$\mathbb{R}^2$</span> is a subbundle of <span class="math-container">$T\mathbb{R}^2$</span>. Lemma 10.32 of Lee gives us a good criterium for subbundles. It says that in our case, we have a subbundle if and only if for every <span class="math-container">$p\in \mathbb{R}^2$</span> there exists a neighborhood <span class="math-container">$U$</span> on which there exists sections <span class="math-container">$\sigma_1,\ldots,\sigma_m: U\rightarrow T\mathbb{R}^2$</span> with the property that <span class="math-container">$\sigma_1(q),\ldots,\sigma_m(q)$</span> form a basis for <span class="math-container">$D_q$</span> at each <span class="math-container">$q\in U$</span>.</p> <p>The tangent space to a leaf at a point <span class="math-container">$(x,y)$</span> will be a straight line with slope <span class="math-container">$y$</span> if <span class="math-container">$y&gt;0$</span> and slope <span class="math-container">$0$</span> if <span class="math-container">$y\leq 0$</span>. They are linear spaces of dimension <span class="math-container">$1$</span>. What we wanted to show is that for a neighborhood around <span class="math-container">$(0,0)$</span> (or some other point on <span class="math-container">$y=0$</span>), there is no smooth section such that the above property holds. I believe a continuous section always exists, but I am not sure how to show whether it is smooth or not.</p>
0non-cybersec
Stackexchange
My little gardening oasis.
0non-cybersec
Reddit
Baron Hans von und zu Aufseß, Founder of the Germanic National Museum in Nuremberg, Posing in a 15th Century Suit of Armour, 1864. [1453x2362].
0non-cybersec
Reddit
Kubuntu will start with a black screen. <p>When I tried installing Kubuntu desktop environment, I get a black screen when starting it.</p> <p>I can see it load, but once it is done loading, it is just a black screen. </p> <p>Is there a way that I can fix this, and get the actual environment to start?</p> <p>Thanks!</p>
0non-cybersec
Stackexchange
[WDYWT] Chinatown new white list here :).
0non-cybersec
Reddit
AMD media foundation hardware decoders and encoders. <p>I use the K-lite mega codec pack. I guess AMD's are the same as k-lite, but I'm truly really unsure. Should I install it together with K-lite? Sincerely, I don't know what is it. </p> <p>I have searched at AMD.com, and it doesn't come with anything. I have googled around and there's just possibly one or two direct answers about it, but they are vague enough to not consider them.</p> <p>Bonus: There's another option in their setup, AMD drag and drop transcoding. How do I use this, is it worth it?</p>
0non-cybersec
Stackexchange
Is there a way to get files modified after and/or before a certain time without using PowerShell?. <p>Without using PowerShell or other scripts, and only using built-in Windows command-line programs, I'm trying to find files modified after a certain date and time, but I'm having trouble. This is the command I'm using:</p> <blockquote> <p>wmic datafile where &quot;drive='c:' and path='\path\to\folder\' a nd lastmodified&gt;'201905141200'&quot; get name</p> </blockquote> <p>I've also tried various combinations without quotes around the lastmodified value, however, I keep getting:</p> <blockquote> <p>ERROR:</p> <p>Description = Invalid query</p> </blockquote> <p>Is it not possible to query the 'lastmodified' field with WMIC? Again, I'm trying to do this outside of PowerShell and without scripts -- purely command-line syntax.</p>
0non-cybersec
Stackexchange
Odd white pumpkins. Help!? (details in comments).
0non-cybersec
Reddit
Does anyone know what flower this is?? I was expecting snap dragons...
0non-cybersec
Reddit
[NO SPOILERS] Finally finished Games of thrones cross stitch!.
0non-cybersec
Reddit
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
What would be the best way to bring about cycling of an enzyme at regular and controllable intervals?. I'm an undergrad working on a project and I've got an issue where I want an enzyme I'm inserting to be expressed in regular bursts with varying intervals to test which interval produces the desired result. The intended intervals will be between 10-60 minutes and the enzyme will be acting on a large pool of precursor. I was originally planning to use a circadian promoter of some kind and then add a ubiquitin-associated domain to ensure quick degradation. However I'm now thinking that circadian proteins don't cycle as often as I'd need them to. Does anyone know of an alternative method of regular gene expression?
0non-cybersec
Reddit
Patient doggo gets his fish.
0non-cybersec
Reddit
What's with the lack of punctuation on Tumblr?. To me, most Tumblr posts I see look like [this one](http://imgur.com/XdVrpcq) where they're basically just streams of consciousness with SOME REALLY EXCITABLE LOOKING BITS ALL IN CAPITALS! What is this about? Where's the grammar and punctuation? Is this the cool way to talk on Tumblr? Or is this just what all the kids are doing now? Why?
0non-cybersec
Reddit
blursed_chat.
0non-cybersec
Reddit
[FRESH[ Zane Lowe Feature Interview - Earl Sweatshirt by BBC Radio 1.
0non-cybersec
Reddit
Unable to get back to bash prompt after strange command. <p>I was messing about with different wildcards and ran the following command:</p> <pre><code>ls testdir/!(*/) </code></pre> <p>after which I was completely unable to get back to the bash prompt. None of ^C, ^D, or even ^Z worked: they just printed those literal characters.</p> <p>Update: I discovered that simply typing:</p> <pre><code>ls !() </code></pre> <p>had the same effect. Removing my .bash_history did not help.</p> <p>So, two questions:</p> <ol> <li><p>Is it possible to recover from that command?</p></li> <li><p>What exactly did I tell bash to do and what's it waiting for?</p></li> </ol> <p>Notes:</p> <p>If I just run <code>!(*/)</code> it just says "event not found"</p> <p>If I run <code>ls !(*/)</code> or <code>echo !(*/)</code> then it does the same as above </p> <p>The bash processes are in the list at 100% CPU, but not <code>ls</code> </p> <p>Running the same command on an lxc container just gives "event not found" My bash options are pretty much stock Ubuntu 14.04. Nothing weird.</p> <p>Using <code>set -x</code> before the <code>ls</code> command doesn't echo anything.</p> <p>Notes2: Output from shopt</p> <pre> autocd off cdable_vars off cdspell off checkhash off checkjobs off checkwinsize on cmdhist on compat31 off compat32 off compat40 off compat41 off compat42 off complete_fullquote on direxpand off dirspell off dotglob off execfail off expand_aliases on extdebug off extglob on extquote on failglob off force_fignore on globstar off globasciiranges off gnu_errfmt off histappend on histreedit off histverify off hostcomplete off huponexit off interactive_comments on lastpipe off lithist off login_shell off mailwarn off no_empty_cmd_completion off nocaseglob off nocasematch off nullglob off progcomp on promptvars on restricted_shell off shift_verbose off sourcepath on xpg_echo off </pre> <p>Output from set +o</p> <pre> set +o allexport set -o braceexpand set -o emacs set +o errexit set +o errtrace set +o functrace set -o hashall set -o histexpand set -o history set +o ignoreeof set -o interactive-comments set +o keyword set -o monitor set +o noclobber set +o noexec set +o noglob set +o nolog set +o notify set +o nounset set +o onecmd set +o physical set +o pipefail set +o posix set +o privileged set +o verbose set +o vi set +o xtrace </pre>
0non-cybersec
Stackexchange
Does anyone feel up to starting a DnD party through reddit?. I can't seem to find a local DnD group, so I was wondering if it would be possible for us to start one online through this subreddit. Please leave suggestions in the comment section
0non-cybersec
Reddit
best Movies with NBA players?. obviously Space Jam and like Mike, but any others?
0non-cybersec
Reddit
iTunes won&#39;t sync song. <p>I have my iTunes library on my external hdd and added a track to an playlist.</p> <p>Everything goes and works fine in iTunes, I can play the whole song from begin to end (also in other applications on MAC/Windows), but it get's stuck and prompts me the error that the file is not readable when I want to sync the song with my iPhone.</p> <p>I tried to copy &amp; paste the file from the hdd to my laptop's hdd and this works fine. Why can't iTunes copy the file to my iPhone?</p>
0non-cybersec
Stackexchange
Algebraic Multiplicity and Geometric Multiplicity. <p><strong>Problem</strong><br> Let <span class="math-container">$V$</span> be a finite dimensional vector space over <span class="math-container">$\mathbb{C}$</span> and suppose the linear transformation <span class="math-container">$T:V\rightarrow V$</span> has eigenvalue <span class="math-container">$\lambda_0$</span> with algebraic multiplicity <span class="math-container">$n_0=3$</span>. </p> <p><span class="math-container">$(a)$</span> Show that the geometric multiplicity <span class="math-container">$d_0$</span> of the eigenvalue <span class="math-container">$\lambda_0$</span> satisfies <span class="math-container">$d_0\leq 3$</span>. </p> <p><span class="math-container">$(b)$</span> Suppose <span class="math-container">$\lambda_0$</span> is the only eigenvalue of <span class="math-container">$T$</span>. Is it possible that <span class="math-container">$\dim V=4$</span>? </p> <p><strong>Attempt</strong> </p> <p><span class="math-container">$(a)$</span> I know that the geometric multiplicity can't exceed the algebraic multiplicity however I do not know how to show this for a <span class="math-container">$n\times n$</span> matrix.</p> <p><span class="math-container">$(b)$</span> If there is only one eigenvalue then the dimension of the matrix is equal to the algebraic multiplicity. Therefore <span class="math-container">$\dim V$</span> can not be equal to <span class="math-container">$4$</span>.</p> <p>Could any shed some light on this for me. Any help would be greatly appreciated.</p>
0non-cybersec
Stackexchange
Assassin's Creed Rogue HD rated for PS4, Xbox One in Korea - Gematsu.
0non-cybersec
Reddit
When you order 20 McNuggets and get one pack.
0non-cybersec
Reddit
Dude gets stream sniped while playing Call of Duty on live stream and completely loses it.
0non-cybersec
Reddit
Exploiting the Starcraft 1 EUD Bug.
1cybersec
Reddit
Samuel Reshevsky, age 8, defeating several chess masters at once in France, 1920 [1600x1220].
0non-cybersec
Reddit
They’re just going out on a limb 🦿.
0non-cybersec
Reddit
Restricting in word 2010. <p>I have a 2010 word document that is a questionnaire form. I want to lock the form and allow anyone to enter their answers. Most of it is in a table format. How do I do that? </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
How to setup WIndows 2008 as a NFS server for clonezilla. <p>This sounded like an easy task to me, use clonezilla to image a laptop to a windows 2008 R2 NFS server. </p> <p>I got the clonezilla Live CD to boot on the Laptop. I got into the command line. I was able to ping the Win2008 box; but I can't mount the windows NFS drive.</p> <p>I added the NFS role to windows 2008 made a folder called "home" and gave it "Allow Anonymous access" and file permissions ALL Machines ANSI Read-Write Root Access Allowed. I also turned off the windows firewall.</p> <p>From the clonezilla command line I typed sudo mount 10.0.0.143:/home /home/partimag mount.nfs: access denied by server while mounting (null)</p> <p>I don't use linux much so it hard for me to debug this problem; any help welcome. :)</p>
0non-cybersec
Stackexchange
How to use two mouse separately (two different pointers). <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/45268/mpx-multi-pointer-x-on-10-04-and-beyond">(MPX) Multi Pointer X on 10.04 and beyond?</a> </p> </blockquote> <p>I have two monitors and two mice. There is only one mouse pointer which both mice control. But I want two different controls for the two different mice, hence two different pointers. Is there any solution available?</p> <p>It is okay if one pointer works on only one monitor.</p>
0non-cybersec
Stackexchange
How to Install Free Lets Encrypt SSL Certificate on GoDaddy Managed WordPress Hosting?. <p>I'm posting this question here along with an answer for reference in case anyone else is wondering how to install free SSL certificates from Let's Encrypt on GoDaddy Managed WordPress plans. The answer below is not 100% complete as I was unable to get it working 100% at the very end with certificate generation most likely because I was trying this on a Windows machine. You may have better luck working through the steps on a linux machine.</p>
0non-cybersec
Stackexchange
Is L a context free langauge? context-free grammar?. <p>Is $L = \{ a^{(i)} b^{(i)} c^{(j)} \mid i \le j\}$ a context-free language? </p> <p>Would i just create a context free grammar for this?</p>
0non-cybersec
Stackexchange
I never downtoke an idea....
0non-cybersec
Reddit
What are semaphores and how are they caused?. <p>I recently started having the problem that my Apache crashed and could not be restarted. The hosting company then told me that it has to do with 'semaphores' and sent me this snipped with which they solved the problem:</p> <pre><code>/usr/bin/ipcrm sem $(/usr/bin/ipcs -s | grep www-data | awk '{print$2}') </code></pre> <p>Now that's nice to have a command to execute that solves my problem but then again I have no clue what this is all about.</p> <p>What are semaphores and who the heck puts them, where they are and how do they crash my apache?</p> <p>I'd be really glad for some general explanations!</p>
0non-cybersec
Stackexchange
My two extra teeth that are growing on the roof of my mouth..
0non-cybersec
Reddit
TIFUpdate by shaving my pubes in the shower.. This may be the first TIFU with a happy ending. [For any who have not seen my original post](https://www.reddit.com/r/tifu/comments/aqg09x/tifu_by_shaving_my_pubes_in_the_shower/) In summary, I attempted to shave my pubes in the shower, but they started to clog the drain. I suspected that my semen from jerking off had built up with the pubes that were quickly coming off my body. I ended up with only 1/3 of a shave and a drain that was constantly overflowing. Because of the odd design, I could not figure out how to pull off the drain plug and see what was happening. Since then, I haven't stopped my meat beat mania when I enter the shower. Unfortunately, my lack of self-control when it comes to my phallic friend is apparent, and I just love my shower sessions. Obviously, each time I nut there's a bit of guilt. With each nut all I can see is bundles of hair built up like a dam becoming sturdier with each wave of jack jelly that flows in. Today, over two weeks later, I decided to do my best and fix the problem if I could. Many in the comments suggested I use Drano to clear out the clog. While this very well could have worked, the use of chemicals is new to me and I don't have a reliable way of obtaining any without alerting my parents. That said, I do have hydrogen peroxide, and I figured that may be able to do something. I found out that pouring baking soda into a drain and then pouring hydrogen peroxide can eat away at clogs, so I tried that. I don't know if it helped, but I'd like to think it did. After I begin pouring the baking soda, I realize that the drain is getting in the way. [The drain is one of these annoying designs where you twist and pull to open it.](https://imgur.com/a/7BxClOv) The small opening between the drain cover and the drain itself proved to be a challenge for me to stuff all of the baking soda in, so I decided it was time to pull the weed by its source and figure out how to get this cover off. YouTube and Google weren't great helps, but after some fancy wiggling and a bit of witchcraft I finally managed to get the cover off. I packed the drain full of baking soda and was so happy to pour in the hydrogen peroxide. I let it sit for roughly 7 hours until I came back home. I turned on the shower and washed out any remaining baking soda, and that's when I could finally see the problem; [Just as I suspected, my pubes and cum had built up inside of the drain and got caught, blocking off water in large amounts.](https://imgur.com/a/Kzy4fqt) Finally, I can see the problem, but now I need a solution. At first, I simply tried pulling out the hairs with a tissue. I pulled out some hairs, but really it was just a few. I found my savior: a toothbrush that, for some reason, lacked bristles. I dug away with my plastic stick and went to town. After about 15 minutes of digging, I unearthed about all I could. [This is the result.](https://imgur.com/a/uRgbx0G) I've never been happier to see a mass of my own special sauce gluing together my own failed pubic shavings. After running the water once more, [I finally have a cleared drain.](https://imgur.com/a/QBdoyVR) I'm not sure that I've learned my lesson, but at least I can handle this if it happens again. I'm going to leave the cover off in the hopes of giving my penis punch a bit of breathing space. TLDR: Tried to shave in the shower, ended up with a mixture of cum and pubes, finally managed to clear it after two weeks.
0non-cybersec
Reddit
Singaporean police car. Abandoned 2018.
0non-cybersec
Reddit
How can I completely remove Apple&#39;s Java 6 and make Oracle&#39;s Java 7 default for everything?. <p>I would like to completely remove Apple's Java 6 and make Oracle's Java 7 default for every program. For example, with Eclipse I had to fiddle with eclipse.ini to specify JAVA_HOME for Java 7, and the same for TunnelBear. No luck for Aptana, though (it still wants Apple's Java) Is there a way to make Oracle's Java default in terms of PATH?</p>
0non-cybersec
Stackexchange
Remove all meta-data from Outlook Email File (MSG). <p>I need to forward an email in Outlook as attachment.</p> <p>But, the recipient is not supposed to know from whom I received the email in the first place. This, information, plus many more, are visible when opening an Email in Outlook, then clicking, 'File', 'Info', 'Properties', reading under 'Internet headers'.</p> <p>Actually, I want the receipient to have no metadata at all.</p> <p>The formating and the attachments of the email need to be preserved.</p> <p>I could not find a way to remove this 'Internet headers' or any other metadata.</p>
0non-cybersec
Stackexchange