text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
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
Odd question. ... What is the life expectancy of pepper and eggplant?. I've got plants that I germinated about a year ago. They did their thing in the garden over summer then I brought them in and they're doing their thing in my window sill. So now I'm wondering if I can plant them out again in spring. Anyone know?
0non-cybersec
Reddit
The Arachnids That Live on Your Face.
0non-cybersec
Reddit
Thanks, Disney..
0non-cybersec
Reddit
[SPOILERS] A question about a line Ned Stark says to Jon Snow in the show.. Just as Ned Stark is about to ride south with Robert and Jon Snow is about to ride north, Jon asks about his mother and Ned Stark replies with "next time we see each other I will tell you about your mother. I'm currently about a third of the way the first book and I'm wondering does this convo happen in the books? I'm well past that point with the last thing I've read is where Jaime injures Ned. Was this a creation of the show or is it shown in flashback and I just haven't gotten there yet? Obviously having been caught up with the show and just now starting my re-read through the books, I'm trying to find every single hint and foreshadowing about the R+L=J theory
0non-cybersec
Reddit
I see your orchestra joke and here is a better one.
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
Arms like a bison.
0non-cybersec
Reddit
MRW I get painkillers from the dentist and take one too many.
0non-cybersec
Reddit
build .rpm package with all its dependencies. <p>I'm not sure if its the recommended approach or not, in case the user doesn't have web access, and my software requires, lets say: libgcc-4.3.0.0.rpm (for e.g), I would like to bundle this for the specific supported os (e.g: RHEL 5.10) and all of its dependencies in a single .rpm.</p> <p>whats the best approach for this?</p> <p>thanks,</p>
0non-cybersec
Stackexchange
Jumping spider sucking the life out of the leafhopper who was sucking the life out of my cannabis.
0non-cybersec
Reddit
When my boss tells me I'm working the entire week that I planned to take off. .
0non-cybersec
Reddit
How do I create a Set of custom objects (Swift)?. <p>For my iOS app I have a model something like</p> <pre><code>class Person { var Id: Int var Name: String init(id: Int, name: String?) { self.Id = id self.Name = name ?? "" } } </code></pre> <p>Then later on in my <code>ViewController</code> when I load data from the server I add some people to an array</p> <pre><code>class ViewController: UIViewController { var people:[Person] = [] override func viewDidLoad() { self.loadPeople() } func loadPeople() { // This data will be coming from a server request // so is just sample. It could have users which // already exist in the people array self.people.append(Person(id: "1", name: "Josh")) self.people.append(Person(id: "2", name: "Ben")) self.people.append(Person(id: "3", name: "Adam")) } } </code></pre> <p>What I am now trying todo is turn the <code>people</code> array into a <code>Set&lt;Person&gt;</code> so it will not add duplicates. Is this possible to do or do I need to change my logic?</p>
0non-cybersec
Stackexchange
Having trouble loading Unity Xcode onto phone. <p>I successfully created my first Unity program and successfully built it in Xcode, but it fails to load on my iPhone Xr. It creates the icon, the screen on my phone turns black/brown, then the app fails and I get the following message in Xcode. I tried clean and delete all derive data, but the issue persists. What am I doing wrong?</p> <pre><code>360Project004[633:99382] Error loading /var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found. Did find: /var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework' /var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: stat() failed with errno=3 /private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework' 2020-02-01 01:19:04.463850-0800 360Project004[633:99382] Error loading /var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found. Did find: /var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework' /private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework' </code></pre>
0non-cybersec
Stackexchange
Transferring files through SFTP. <p>When I try to upload files to my server I am getting a permission denied error. I am able to see all the files through filezilla and even download them but when I try to upload it doesn't let me. I also can't create directories. I have checked the file permissions and made sure port 22 is open. What would be causing me to not be able to upload the files?</p> <p>I have this setup on Google Compute Engine and implemented a LAMP system. I have also tried to put files and create directories through the ssh terminal but get the same permission denied error. However, I am able to edit files with the sudo nano command.</p> <p>I found I can only upload to a home folder that is listed, home/username. How do I add permissions for other folders like var/www?</p>
0non-cybersec
Stackexchange
Infinite matrices with a finite number of non-zero values on each row. <p>The little bit of literature on infinite matrices I've been able to find studies a general setting in which the theory is hindered by constantly having to worry about whether or not various infinite sums converge or not. However, if we require all our matrices to have a only finite number of non-zero values on each row, a lot of these difficulties disappear (for example the product of two such matrices is always well defined and satisfies the same property on its rows). The problems I'm interested in only involve matrices of this type.</p> <p>Is there any literature specifically about such matrices?</p>
0non-cybersec
Stackexchange
Debug &amp; Run Angular2 Typescript with Visual Studio Code?. <p><strong>Debug &amp; Run Angular2 Typescript with Visual Studio Code?</strong></p> <p>I am trying to debug Angular2 typescript application with VS code <a href="https://angular.io/guide/quickstart" rel="noreferrer">https://angular.io/guide/quickstart</a></p> <p>Can anyone please share steps to debug &amp; run from VS code?</p>
0non-cybersec
Stackexchange
Is the MATLAB gui creator GUIDE as awful as I think? Is there an alternative?. <p>I've been trying to put together a gui in MATLAB and have had great difficulty. Here is a little background about my program: I want to create a wizard to step users through an image analysis process. The wizard will cue users for their input and then perform an image processing action once a button labeled "Next" has been pressed, and so on. From reading the MATLAB help I believe there are two approaches to gui creation: 1. write a gui with lines of code. 2. use GUIDE.</p> <p>I figured GUIDE would have the shallowest learning curve. At first the process was straight-forward. I could drag and drop buttons and text boxes and arrange them easily. My plan was to arrange a series of panels, with the buttons and text and etc., that would sequentially become visible as the "Next" button was pressed. And it was here I became stumped.</p> <p>Once I save a panel with GUIDE, MATLAB creates a .m file and a .fig file. Reading through the .m file I see it has left room for me to write code for the callbacks, but little else. The .fig file is binary and therefore I dare not bother edit it. I am left wondering how I can control the objects, e.g. How to set the visibility of a panel? Furthermore, I had to create each panel of the wizard separately. I was hoping that I could manually combine the .m files into a wizard.m wrapper file, but I do not think this is the right approach (at least for me, because I cannot see how to do it).</p> <p>In lieu of using GUIDE I've seen examples where guis are created using the "uicontrol" function. This approach seems tedious to me, because I would have to manually code the position and size and defaults of each button. Perhaps this is the best approach, but it intimidates me.</p> <p>As a result I am unhappy with MATLAB for its seemingly clunky gui tools and I am unhappy with myself for lacking the chops to overcome this hurdle.</p> <p>I've seen some fancy guis created in MATLAB and having attempted this myself and falling way short I am baffled by their existence. Either whoever made them were exceptional MATLAB users (I am not), or I am missing something obvious and could use some help seeing. I am now questioning whether a gui is worth the effort. I do not see myself exploring something like QT, because of the additional challenge of embedding MATLAB code into other languages such as python.</p> <p>Does anyone have advice on this subject? Can anyone please point out where I am going wrong or why I am having such difficulty?</p>
0non-cybersec
Stackexchange
South Korea's Internet is highly regulated and the GOVERNMENT is planning gigabit for $27 bucks a month. Meanwhile we got our shitty "free market" internet. .
0non-cybersec
Reddit
One style for one chapter at a time. <p><em>I saw some of the questions that may not answer my question, this question is more on decoration-like aspect.</em> </p> <p>When reading some (coloured illustrated) textbooks, one may find that the chapters have different layout styles. Such as the theme colour and icons. </p> <p>If I would like to have this feature in my document. What should I do.</p> <p><em>If anyone would need a MWE, please request in comment and tell me what sort of MWE is needed. I am not good at providing MWE.</em></p> <p><em>Edit:</em> May I provide some existing examples such as the <a href="http://fdslive.oup.com/www.oup.com/oxed/look-inside/9780198392132.pdf?region=international">IB textbook published by OUP</a>, they provide a sample chapter that is coloured. What I would like is each chapter has different <em>headings</em> in different theme colours, and also different <em>page numbers</em> with the corresponding colours (which is on the bottom of the page). I don't need to be the same as the example, however.</p>
0non-cybersec
Stackexchange
Boot straight to an Application when Mac is turned on. <p>I have a client who wants to use Mac OS X and a Mac Mini to sell a software solution to end users that ALWAYS boots straight to an application when the Mac is turned on. They can't access the login screen, desktop or anywhere else (in fact they should NEVER even see it.) the only thing they would see is the grey apple screen on boot up.</p> <p>That being said, we'd also need someway of being able to get at the desktop and the rest of OS X for an Admin person (my client or myself).</p> <p>I've looked around, and everything seems to either be focused on a kiosk web browser or booting to desktop and then launching the application... both of which are NOT what the client wants to happen!</p> <p>Any ideas on how best to accomplish this action?</p>
0non-cybersec
Stackexchange
JSFiddle CSS and Result text areas squeezed. <p>I am using Chrome on OSX and have encountered an infuriating bug which makes JSFiddle unusable:</p> <p><img src="https://i.stack.imgur.com/hSRcV.png" alt="My unusable JSFiddle" /></p> <p>As the screenshot shows the CSS and Result text areas are squeezed off the screen with no handle to pull them back. <strong>How can I make them visible and usable?</strong></p> <p>It hasn't always rendered like this, but I'm not sure what has caused it.</p> <hr /> <h1>What I've tried</h1> <ul> <li>Disabling all chrome extensions</li> <li>Resizing the browser to a ridiculous width</li> <li>Clearing local, session and cookie storage for JSFiddle on Chrome</li> <li>Removing secondary screens</li> <li>Changing my screen resolution</li> </ul> <p>None of which have changed anything.</p> <hr /> <h1>Update</h1> <p>The bug is not replicated when using safari.</p>
0non-cybersec
Stackexchange
How to handle unit tests with collaborators and side effects?. <p>We're in a project that has quite a lot of code and while in general we have a good test coverage and things work out pretty well, I noticed that our tests grew more and more complex over time up to a point where the tests are more complex than the code they test.</p> <p>As a bit of background we're using Spock for testing and make ample use of it's mocking and interaction testing features - which may be part of the problem. In general we opted for white-box testing, so our test code mostly knows about the internal workings of the classes under test (which may be another contributing factor to the problem). </p> <p>Let me give you a simplified example of a less than stellar test on this method:</p> <pre><code>class SomeServiceImpl { SomeDao someDao; public void store(SomeInputForm form) { // some checks of the form here. SomeEntity entity = new SomeEntity(); // copy data from form to entity here. someDao.store(someEntity); } } </code></pre> <p>And the test:</p> <pre><code>SomeServiceImpl underTest SomeDao someDao def setup() { underTest = new SomeServiceImpl() someDao = Mock(SomeDao) underTest.someDao = someDao } def "storing something yields that stuff ends up in the database"() { setup: def form = new SomeInputForm(... with some data ...) SomeEntity result = null when: underTest.store( form ) then: 1 * someDao.store( { result = it } _ as SomeEntity ) // additional checks to verify that the entity has the same data as the form result.someProperty == form } </code></pre> <p>The intention of this test is to verify that some data that comes in via a form is stored inside the database. We mock out the DAO so we don't need a real DB here. While the test certainly works it has several problems:</p> <ul> <li>It knows very well how the service works internally. As soon as you change the implementation of the service you have to change the implementation of the test, even if the end result would be the same.</li> <li>It's hard to detect the side effect of the store method (see the complicated code for extracting the generated entity).</li> <li>If you have multiple collaborators you will have to do a lot of mocking and stacking them all together.</li> <li>The test basically repeats the code of the service in the <code>then</code> section.</li> </ul> <p>I'm currently experimenting with a more functional way of things where you have just functions getting input and producing output, e.g. like this:</p> <pre><code>class SomeServiceImpl { void verify(SomeInputForm form) { // verify and throw exception if a problem is there } SomeEntity createEntityFromForm(SomeInputForm form) { // do the conversion here } void store(SomeEntity entity) { dao.store(entity); } } </code></pre> <p>While this solves part of the testing problem, because now I can test the <code>verify</code> and <code>createEntityFromForm</code> methods without any collaborators and without knowing about the actual implementation, there still has to be a place where these three methods are called in the correct order:</p> <pre><code> service.verify(form); Entity en = service.createEntityFromForm(form); service.store(form); </code></pre> <p>Which effectively just moves the problem somewhere else (and introduces a lot of margin for error as you need to call methods in the correct order now). </p> <p>So I wonder whether there is a better way of organising the code differently to make the tests less brittle and less whitebox while still detecting the side effects (or even a way where you wouldn't need to detect the side effect but still know stuff is properly saved to the database).</p>
0non-cybersec
Stackexchange
You are given a doll version of your character that speaks when the string on its back is pulled. What are the five phrases that the doll can say?.
0non-cybersec
Reddit
Calculate 3 month future of Oil. <p>This question is from an exercise sheet for financial mathematics. </p> <blockquote> <p>Calculate the <span class="math-container">$3$</span>-month future on Oil given the following information:</p> <ul> <li>Spot Oil is trading at <span class="math-container">$90$</span> USD per barrel. </li> <li>USD interest rates are at <span class="math-container">$2$</span>%. </li> <li>Storage charges for Oil are <span class="math-container">$1$</span> USD per barrel per month. </li> <li>Insurance against Oil disasters costs <span class="math-container">$0.20$</span>c per barrel.</li> <li>A spike in demand is likely to push Oil prices up by <span class="math-container">$5$</span> USD per barrel.</li> </ul> </blockquote> <p>Last point seems to be a trick but I am not sure if I can include it somehow using a random variable that is 1 or 0 depending on whether there is a spike or not. </p> <p>The formula I have for a forward is </p> <p><span class="math-container">$Fwd = S + (\text{gains from holding currency}) - (\text{losses from not holding asset})$</span></p> <p><span class="math-container">$S$</span> is the value of the underlying asset. I think I have to do something with this to adapt is to the question but I am not quite sure what. </p>
0non-cybersec
Stackexchange
How to find the last two digits of 3^1000?. <p>So I think the problem reduces to 3^1000 mod 100. So I used the Eulers Totient to find phi(100)= 40. Then 3^1000 = (3^40)^25 = 1 mod 100. Is something wrong?</p>
0non-cybersec
Stackexchange
What happened to Cristiano Ronaldo & his freekicks?. It seems like after joining Real Madrid, his freekick taking skills and accuracy has been very mediocre (coming from a Real Madrid fan). From all the montages and compilations of his freekicks (some from ridiculous distances & angles) that I've seen when he was in Manchester United, it seems like he had far better accuracy with his freekicks when he was in red. It's really disappointing to see him get into his stance with feet wide apart, taking a deep puff of breath, only to see the ball pile-drive straight into the wall. Any thoughts?
0non-cybersec
Reddit
How can I curate questions on certain topics?. <p>Is there a way to curate content on certain topics/keywords/tags on Quora - just like Google alerts?</p> <p>I'm aware of the dropped feature called 'boards' on Quora. Is there anything else?</p>
0non-cybersec
Stackexchange
Carries out Facebook Advertisement Exceptionally Work?- Buy Permanent Facebook Likes.
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
Helping GHC unbox an Int in equality on a constant. <p>Here is a test program:</p> <pre><code>main = do n &lt;- fmap read $ getLine :: IO Int if (999999 == n) then putStrLn "equal" else return () </code></pre> <p>And here is the relevant bit of core when compiled with <code>ghc --make -O2 -ddump-to-file -ddump-simpl -dsuppress-module-prefixes -dsuppress-uniques -ddump-core-stats -ddump-inlinings</code>:</p> <pre><code>case readEither6 @ Int (run @ Int main3 ipv1) of _ [Occ=Dead] { [] -&gt; case error @ Int readEither4 of wild1 { }; : x ds1 -&gt; case ds1 of _ [Occ=Dead] { [] -&gt; case x of _ [Occ=Dead] { I# ipv2 -&gt; case ipv2 of _ [Occ=Dead] { __DEFAULT -&gt; (# ipv, () #); 999999 -&gt; hPutStr2 stdout main2 True ipv } }; : ipv2 ipv3 -&gt; case error @ Int readEither2 of wild2 { } } </code></pre> <p>I'm wondering if the case match on the literal 999999 is really the most efficient thing here, and if not how can I encourage GHC to turn this into a call to <code>==#</code> or something?</p> <p>(My actual application is more involved)</p>
0non-cybersec
Stackexchange
XerXes Demo (old).
1cybersec
Reddit
Testament - A Day of Reckoning [Thrash Metal].
0non-cybersec
Reddit
First table..
0non-cybersec
Reddit
R ggplot2: Labelling a horizontal line on the y axis with a numeric value. <p>I have a horizontal line in a ggplot and I would like to label it's value (7.1) on the y axis.</p> <pre><code>library(ggplot2) df &lt;- data.frame(y=c(1:10),x=c(1:10)) h &lt;- 7.1 plot1 &lt;- ggplot(df, aes(x=x,y=y)) + geom_point() plot2 &lt;- plot1+ geom_hline(aes(yintercept=h)) </code></pre> <p>Thank you for your help.</p>
0non-cybersec
Stackexchange
I'm a Gay Man Who Cringes at Gay Couples. [Remorse]: If you feel bad Title says it all, really. I know, it sounds terrible. I hate myself for it. I would never say it out loud to anybody of course, but it does affect me quite a bit. I think I've been single going on three years now and it really doesn't bother me on a daily basis. I have so much else going on in my life that I don't usually have to try not to think about it. I suppose the easiest way to describe it is that every time my gay friends get in a relationship, I kind of shut down away from them. Nothing upfront obviously, just little things like hiding their posts on Facebook, unfollowing them on Instagram, just to get it out of my face. To be fair, most of my friends who end up doing this become very oversharing with their personal life. You literally can't go a day without seeing a couples picture or activity. There's all these accounts on Twitter that will post up gays getting married and how that's such huge progress and ask everybody to congratulate them. Instead of feeling happy and proud, I just cringe and hide it from my feed. In real life, it's a bit tougher to hide. My friend wanted me to go to the gym for this group workout with a couple guys and their boyfriends and I straight up told him how uncomfortable I'd feel there. He didn't understand. I don't think I do either. This isn't a problem when my straight friends get married, engaged or get into a relationship and post it up everywhere. I'm like aw how cute and like all the pictures and congratulate them and all that. I know it's not rational. It's not nice. I don't want to feel this way because it's so unfair and can affect friendships. I'm an otherwise out, confident, 5'11", 175lb, white gay man from a very supportive family with a ton of supportive friends. It doesn't make any kind of sense. Hoping you guys can give me some clues on how to get rid of this. Thanks.
0non-cybersec
Reddit
renaissance faire turkey legs. I have four turkey legs to prepare for dinner tonight. How do I make them so they will have a savory taste and be tender? My boys love the legs at the Renaissance faire.
0non-cybersec
Reddit
Are projective modules over $\mathbb{Z}[x_1,...,x_m]$ free?. <p>The <a href="https://en.wikipedia.org/wiki/Quillen%E2%80%93Suslin_theorem" rel="nofollow noreferrer">Quillen-Suslin theorem</a> states that any finitely generated projective module over <span class="math-container">$\mathbb{k}[x_1,...,x_m]$</span> is free, for <span class="math-container">$\mathbb{k}$</span> a field.</p> <p>Is it known whether this statement is true in the case that <span class="math-container">$\mathbb{k}=\mathbb{Z}$</span>, rather than a field?</p> <p>Alternatively, a counter-example would be great.</p>
0non-cybersec
Stackexchange
Giuliani’s claim that Obama launched anti-police ‘propaganda’ " ... Giuliani suggested that the president actively launched and promoted anti-police rhetoric — and that is simply Four-Pinocchio false.".
0non-cybersec
Reddit
Windows 10 x64 not Recognizing USB Bluetooth Dongle. <p>I'm using a Kinivo BTD-300 Bluetooth 3.0 USB dongle so I can use my DualShock 3 controllers wirelessly. To do this, I had to replace the original driver for the device (the Bluetooth driver that come pre-installed with Windows 10) with an ScpServer driver using a program called Zadig.</p> <p>This is what I did to replace the driver: <a href="https://www.youtube.com/watch?v=RuxXUKN1vz8" rel="nofollow noreferrer">https://www.youtube.com/watch?v=RuxXUKN1vz8</a> </p> <p>It was working fine for a few weeks, but after I changed the port the controllers weren't connecting properly. So I replaced the drivers again. Then when I plugged it in I got the notification saying "USB Device Not Recognized (Code 43)" no matter which port I put it in. Once in a while it would show up in "Devices" with an error code 10 (driver error). I tried a System Restore from a few days ago, but now when I plug/unplug the dongle nothing happens. It doesn't show up in device manager and no notification pops up.</p> <p>Also, the PC won't boot with it plugged in. It'll freeze at the "Press F2 to enter BIOS" screen, and won't resume until I unplug the dongle. Also, if I'm in the BIOS and I plug it in, it freezes up until i unplug it again. However, once booted into Windows I can unplug and plug it without freezing. How can I fix this? Any assistance is appreciated!</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
known hosts deleted / login fails. <p>I deleted the known_host entries on a 1&amp;1 Virtual Server. I once had changed the original root pwd for the server. With the new pwd as of right now, I can't login any more. The 1&amp;1 support guy said the server is lost and i need to setup a new one. Now I have elaborated setup work on the server, which is not in the latest backup and want to avoid to start over the full cycle.</p> <p>Question, is there another way to gain back control over my login ?</p> <p>Regards, Frank</p>
0non-cybersec
Stackexchange
What is a comment of yours that you think did not get as much recognition as it should have?. Comments on Reddit to be specific
0non-cybersec
Reddit
Is the following subset compact?. <p>Let $E$ be a Hilbert space over $\mathbb{K}=\mathbb{R}$ or $\mathbb{C}$. For $M\in \mathcal{L}(E)^+$, we consider \begin{eqnarray*} B_M &amp;=&amp;\{x \in E;\;\;\;\langle Mx\;,\;x\rangle\leq1\}. \end{eqnarray*} Is $B_M$ compact when $E$ is finite dimensional Hilbert space? </p> <p>Thank you!</p>
0non-cybersec
Stackexchange
Tanglewood Houston Condos.
0non-cybersec
Reddit
Size of Conjugacy Classes group of order 168. <p>In preparing for a Representation Theory exam, a past question asked to complete the character table of a group $G$ using row orthogonality.</p> <p>The question however doesn't say how many elements are in each conjugacy class. The only things I know are that $|G| = 168$ and that there are 6 conjugacy classes.</p> <p>Since there's always the class of the identity element, this means that I have to solve an equation of the form $$c_2+c_3+c_4+c_5+c_6 = 167$$ where $c_i \mid 168$.</p> <p>Here I think I'm supposed to use tricks like Sylow's theorems to impose constraints on the $c_i$, but I haven't so far been able to spot the right idea. </p>
0non-cybersec
Stackexchange
"I still don't know how that fucking lion got in that tree"! - Dante - Cannabis Cup 2014.
0non-cybersec
Reddit
Is passing a reference through function safe?. <p>Is the following function safe in C++03 or C++11 or does it exhibit UB?</p> <pre><code>string const &amp;min(string const &amp;a, string const &amp;b) { return a &lt; b ? a : b; } int main() { cout &lt;&lt; min("A", "B"); } </code></pre> <ul> <li><p>Is it OK to return a reference to an object passed to the function by reference? </p></li> <li><p>Is it guaranteed that the temporary <code>string</code> object is not destroyed too soon?</p></li> <li><p>Is there any chance that the given function <code>min</code> could exhibit UB (if it does not in the given context)? </p></li> <li><p>Is it possible to make an equivalent, but safe function while still avoiding copying or moving?</p></li> </ul>
0non-cybersec
Stackexchange
Welcome to the Ballroom Anime to Have 24 Episodes.
0non-cybersec
Reddit
Put the 3/3 when placing wards red again!. Since this patch if you place wards its always blue (the text 1/3, 2/3, 3/3) I'd like to have the 3/3 red again so i dont clear my own wards without even knowing!
0non-cybersec
Reddit
getting rid of the `hwatchtvnow` virus. <p>My machine appears to be infected with the <code>search.hwatchtvnow.co</code> virus. I get popups from it regularly. Since I use <code>chrome</code>,<code>firefox</code> and <code>opera</code>, I'm not sure which browser is infected. There are lots of websites suggesting how to remove it from windows machines, but I can't find anything for linux or ubuntu. Does anybody have any suggestions? Thanks!</p>
1cybersec
Stackexchange
It Came From The Desert - Giant Ant Movie - Proof Of Concept Footage.
0non-cybersec
Reddit
Study: Religious kids are less able to distinguish fantasy from reality.
0non-cybersec
Reddit
City of Atlanta paralyzed by a ransomware attack, is it SAMSAM?.
1cybersec
Reddit
Stop telling me to go Vegan!.
0non-cybersec
Reddit
Oh hello!.
0non-cybersec
Reddit
How can I tell if the lock screen is active from the command line on OS X?. <p>I have a cron script that I want to run regularly if I am logged into my Mac. I don't want it to run if the Lock Screen is up. Is there a way to check from the command line / Terminal if the Lock Screen is activated?</p>
0non-cybersec
Stackexchange
Ubuntu on micro sd: file system frequently corrupted. <p>I installed Ubuntu 16.04 on a Micro Sd on my surface pro 3. To install it I used a Usb stick created with Unetbootin. I have a dual boot with Windows 10. There two things I do not understand: 1. In the Ubuntu bar, I have the option "Install release". Why? Isn't it already installed? I mean, I use it every day and I installed software on Ubuntu with no problem 2. Every two/three time I turn on my Surface the grub doesn't work with my keyboard and because of that I am forced to boot in Ubuntu. I think the problem is caused by a corruption of the file system since actually I cannot boot in Ubuntu but I have to run fsck on the partition of the micro sd where Ubuntu is installed. After that I reboot and everything works correctly. So, are there any issues in installing Ubuntu on a micro sd? I did something wrong or is it just a problem of my surface / micro sd / bug in Ubuntu?</p>
0non-cybersec
Stackexchange
Can&#39;t boot after grub update on Arch. <p>I did an update yesterday and didn't reboot my laptop until I had a power failure. Upon rebooting I find that I have no hard drive (or so it claims). I've tried booting into an arch live disk and I end up with rootfs. I don't know what to do here really. I was thinking of mounting the disks, but didn't know where to. I have sda,1,2,3,4 and sdb,1. Executing <code>du -h /dev/sda*</code> shows a zero at the beginning of each line. But then again <code>df -h</code> shows me as using 0% of the usb. Still, even if I got them mounted, I'm not sure what I would do, because how would I reinstall grub or gummiboot? (If that is what the problem is. I think it is because I saw a grub update).</p> <p>The error I get when booting into the live usb is</p> <pre><code>:: running early hook [udev] :: running hook [udev] :: Triggering uevents... :: running hook [memdisk] :: running hook [archiso] :: running hook [archiso_loop_mnt] :: running hook [archiso_pxe_common] :: running hook [archiso_pxe_ndb] :: running hook [archiso_pxe_http] :: running hook [archiso_pxe_nfs] :: Mounting '/dev/disk/by-label/ARCH_201409' to '/run/archiso/bootmnt' Waiting 30 seconds for device /dev/disk/by-label/ARCH_201409 ... [ 9.375197] sd 6:0:0:0: [sdb] No Caching mode page found [ 9.375197] sd 6:0:0:0: [sdb] Assuming drive cache: write through ERROR: '/dev/disk/by-label/ARCH_201409' device did not show up after 30 seconds... Falling back to interactive prompt You can try to fix the problem manually, log out when you are finished sh: can't access tty; job control turned off [rootfs /]# </code></pre> <p>I got it chrooted and now I am located at <code>[root@(none)]#</code></p> <p><strong>SOLUTION</strong></p> <p>Unetbootin seems to have problems creating Arch cd's. This took two usb's. Fallback to rootfs on sdb and plugged in usb2 for sdc. rootfs didn't have fdisk or anything so I mounted sda1,2,4 on /mnt, /mnt/boot, /mnt/home respectively. I then chrooted into /mnt (<code>[root@(none) ]#</code>). </p> <p>From there I could <strong>reformat</strong> sdc (after copying an archiso over to /home/name/wherever). Then <code>dd bs=4M if=/path/to/arch.iso of=/dev/sdc &amp;&amp; sync</code> and then rebooted. </p> <p>This gave me a normal arch boot, where I had arch-chroot and I could properly run <code>systemctl start dhcpcd.service</code> for <strong>internet access</strong> (ethernet). I tried to reinstall grub, but it didn't work. </p> <p>I went with <strong>gummiboot</strong> (following beginner's guide). Presto, system works now.</p>
0non-cybersec
Stackexchange
Package updates always download too much data. <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://askubuntu.com/questions/135818/the-size-of-apt-get-update-lists-is-too-big">the size of apt-get update lists is too big</a> </p> </blockquote> <p>When I update Ubuntu (either with <code>apt-get update</code> or using the GUI-based check for updates), it downloads a large amount of data, 19.xx MB every time, and often takes an unusually long time to to check.</p> <p>This behavior didn't exist in 11.10, or in 11.04 (or in Mint) -- in earlier versions, it seemed to check intelligently for updates, and only download what was necessary. The initial update would download the whole 19MB or so, but subsequent updates were only about 2 to 3 MB. If no packages were updated, nothing would be downloaded.</p> <p>But since upgrading to 12.04, every time I update, it downloads 19MB (meaning that it seems to start from scratch every time)....</p> <p>Is there a database or cache problem, or something else that I can check to correct this?</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
Looking for an awesome reactor sign!. Hey r/scifi, I know this might be an odd question but all my googlefu is failing me and so I thought I might ask you good people. I'm looking for an awesome sign to hang on my server room door. I was hoping for a sign that read "Reactor room" or something with a scifi flavor to it. If it doesn't exist in a form where I can purchase it I can just make the sign myself, but in that case I'm looking for some good inspiration!
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
In case you need a pick-me-up while in Rome..
0non-cybersec
Reddit
Passing Underscore To a Type Constructor. <p>I came across a method today which has a signature as follows:</p> <pre><code>def foo() : Future[_] = { /* some code */ } </code></pre> <p>My question is what does the return type mean here? Does it mean that this method returns a <code>Future</code> and I do not care what the type of the computation is? Or is it something else?</p>
0non-cybersec
Stackexchange
Ronda Rousey's pokemon forum profile when she was 16.
0non-cybersec
Reddit
True tho.
0non-cybersec
Reddit
Guy tries to impress girls on the beach by doing backflips and takes a big L..
0non-cybersec
Reddit
Issue in QT 5.2.1 app in linking libquazip.so library during making .deb package for ubuntu 14.04. <p>I am making .deb package for the QT 5 .2.1 desktop app for ubuntu 14.04 64 bit. I have installed QT 5.2.1 on Ubuntu 14.04 and made a demo app for the testing purpose in which I have used quazip library. During making the .deb package of the app I am getting the below issue.</p> <pre><code>dpkg-shlibdeps: error: couldn’t find library libquazip.so.1 needed by debian/demoapp/usr/bin/DemoApp1 (ELF format: ‘elf64-x86-64’; RPATH: ‘’) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/demoapp/usr/bin/DemoApp1 was not linked against libz.so.1 (it uses none of the library’s symbols) dpkg-shlibdeps: error: cannot continue due to the error above Note: libraries are not searched in other binary packages that do not have any shlibs or symbols file. To help dpkg-shlibdeps find private libraries, you might need to use -l. dh_shlibdeps: dpkg-shlibdeps -Tdebian/demoapp.substvars debian/demoapp/usr/bin/DemoApp1 returned exit code 2 make: *** [binary-predeb-IMPL/demoapp] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 debuild: fatal error at line 1364: dpkg-buildpackage -rfakeroot -D -us -uc failed </code></pre> <p>When I copy the <code>libquazip.so.1</code> at the path <code>/usr/lib</code> in my machine then I got the below issue .</p> <pre><code>dpkg-shlibdeps: error: no dependency information found for /usr/lib/libquazip.so.1 (used by debian/demoapp/usr/bin/DemoApp1) dh_shlibdeps: dpkg-shlibdeps -Tdebian/demoapp.substvars debian/demoapp/usr/bin/DemoApp1 returned exit code 2 make: *** [binary-predeb-IMPL/demoapp] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 debuild: fatal error at line 1364: dpkg-buildpackage -rfakeroot -D -us -uc failed </code></pre> <p>My CMakeLists.txt file as per below.</p> <pre> cmake_minimum_required(VERSION 2.8.9) project(DemoApp1) set (CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} “;/opt/Qt5.2.1/5.2.1/gcc_64/lib/cmake;”) find_package(Qt5Widgets REQUIRED) include_directories(/home/manojpatidar/Manoj/Work/QT_WORK/Linux_Package/demoapp-1.0/lib/quazip-0.5.1/quazip) link_directories(/home/manojpatidar/Manoj/Work/QT_WORK/Linux_Package/demoapp-1.0/lib/quazip-0.5.1) add_executable(DemoApp1 main.cpp mainwindow.cpp moc_mainwindow.cpp mainwindow.ui) target_link_libraries(DemoApp1 quazip z) install(TARGETS DemoApp1 RUNTIME DESTINATION bin) qt5_use_modules(DemoApp1 Widgets) </pre> <p>My Debian control file is as per below .</p> <pre> Source: demoapp Section: games Priority: extra Maintainer: Manoj Patidar Build-Depends: debhelper (>= 8.0.0), cmake, qtbase5-dev, cdbs Standards-Version: 3.9.4 Package: demoapp Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Description Description will come here </pre> <p>I think I need to add some dependencies for <code>quazip</code> at the line <code>Depends: ${shlibs:Depends}, ${misc:Depends}</code>. Is there anything I have missed?</p>
0non-cybersec
Stackexchange
How to backup a vSphere ESXi 5 production environment including VMware View 5?. <p>Given a production environment running VMware ESXi 5 and VMware View 5. Given that all components of this system run as VM's inside ESXi 5. After reviewing the VMware view <a href="http://www.vmware.com/files/pdf/techpaper/VMware-View-Backup-Best-Practices.pdf" rel="nofollow noreferrer">best practices guide</a> the following recommendation is given. </p> <ul> <li>Step 1 Back up vSphere</li> <li>Step 2 Back up View Connection Server AD-LDS datastore</li> <li>Step 3 Back up View Composer database</li> <li>Step 4 Back up vCenter database</li> </ul> <p>Is this not rather redundant since all components are themselves running on VM's inside ESXi, and will effectively have been backed up after step 1? If using NexentaStor CE, how do features like ZFS snapshots, auto-tier and auto-sync fit into the backup plan?</p>
0non-cybersec
Stackexchange
I wouldn't be able to do this again if I tried.
0non-cybersec
Reddit
Conditional Probability in a judge/suspect problem. <p>The verdict given by a judge is 90% reliable when a suspect is guilty and 99% reliable when the suspect is innocent. <strong>If the suspect is selected from a group of people of whom 5% have ever committed a crime and the judge finds him guilty</strong>, what is the probability that the suspect is innocent?</p> <p>My job: Let $I$ the event "the suspect is innocent". Then</p> <p>$\begin{eqnarray*} P(I)&amp;=&amp;P(I|\mbox{Judge is reliable})P(\mbox{Judge is reliable})\\ &amp;&amp;+P(I|\mbox{Judge is not reliable})P(\mbox{Judge is not reliable})\\ \end{eqnarray*}$</p> <p>On the other hand, I know $P(\mbox{Judge is reliable}|I^c)=0.9$ and $P(\mbox{Judge is reliable}|I)=0.99$. Now, I don't know how to use the bold hypothesis. I don't know how to proced.</p>
0non-cybersec
Stackexchange
Access other Internal Hard drives. <p> Hello,</p> <p><strong>Does anyone know if it is possible to enumerate what internal drives are available on the current Device/PC?</strong></p> <p>My app contains the following code:</p> <pre><code>var removableFolders = await KnownFolders.RemovableDevices.GetFoldersAsync(); </code></pre> <p>When run on Windows 8, this <strong>used to</strong> return any USB devices and SD cards that were connected. Also, I had a second hard drive (mapped as D: drive) which was returned.</p> <p><strong>BUT</strong> now it seems that when I run this code on my Windows 8.1 machine, my internal hard drive is no longer included in the result of the <code>await KnownFolders.RemovableDevices.GetFoldersAsync()</code> call.</p> <p>Perhaps Microsoft tightened up their code with Windows 8.1 and my D: drive is no longer a "RemovableDrive". </p> <p>Thanks for your help.</p>
0non-cybersec
Stackexchange
Disable &quot;Spring Effect&quot; when scrolling over the maximum limit. <p>I'm not sure if this is a global OS X setting or per-app implementation of an Apple API. Anyway, is it possible (specifically on Google Chrome) to disable that visual "spring effect" (I don't know how to call it) that we have on Mavericks when scrolling up/down or swipe right/left and we reach the boundaries of the page? </p> <p>I mean this one:</p> <p><img src="https://i.stack.imgur.com/woCCv.png" alt="enter image description here"></p>
0non-cybersec
Stackexchange
Amazing miniature sculptures made with the graphine in pencil's heads.
0non-cybersec
Reddit
Pentesting books. Hello, Someone can say me the best books to have for learning pentesting? Thank you 🙏🏻🙏🏻🙏🏻 Bünyamin
1cybersec
Reddit
How do I pop off the first array element with jquery?. <p>I'm iterating through an array of json data but need to remove the first element prior to the iteration. How do I remove the initial element? This is what I have so far:</p> <pre><code> $.post('player_data.php', {method: 'getplayers', params: $('#players_search_form').serialize()}, function(data) { if (data.success) { // How do I remove the first element ? $.each(data.urls, function() { ... }); } }, "json"); </code></pre>
0non-cybersec
Stackexchange
Why Donald Trump Is Winning (2016) - British documentary that analyses Trump's success..
0non-cybersec
Reddit
Dortmund's first goal on a counter attack. You'll feel sorry for the center backs..
0non-cybersec
Reddit
Simple bookkeeping software. <p>Looking for recommendations for simple bookkeeping software for Linux. Basic check register. Prefer to be able to transfer existing basic data from Quicken if possible.</p>
0non-cybersec
Stackexchange
iOS5 TabBar Fonts and Color. <p>I have customized the TabBar appearance such</p> <pre><code>UIImage *tabBackground = [[UIImage imageNamed:@"tab-bar-bg.png"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)]; [[UITabBar appearance] setBackgroundImage:tabBackground]; [[UITabBar appearance] setSelectionIndicatorImage: [UIImage imageNamed:@"activetab.png"]]; </code></pre> <p>How do I define the custom fonts and the selected and unselected text colors?</p> <p>Thanks,</p>
0non-cybersec
Stackexchange
Space-efficient underbrace. <p><a href="https://i.stack.imgur.com/9U80d.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9U80d.png" alt="enter image description here"></a> How to obtain the above right image with Tex?<br> If too difficult, you may also present a solution with straight lines.<br> If you know a better alternative, then by all means present it.<br> The solution will be used in situations where the usual underbrace leads to look that is either crammed or yields large white-space gaps.<br> The following link may be useful for a solution: <a href="https://tex.stackexchange.com/a/25513/120150">https://tex.stackexchange.com/a/25513/120150</a></p>
0non-cybersec
Stackexchange
existence of real-valued smooth function with certain properties. <p>Let $L$ be a lattice in $\mathbb{C}^{n}$. I am trying to find a a smooth function $\varphi\colon \mathbb{C}^{n}\rightarrow \mathbb{R}$ that has the following properties:</p> <p>1) $\varphi \geq 0$</p> <p>2) $supp(\varphi)$ is compact</p> <p>3) the set $\{z\in \mathbb{C}^{n}\mid \varphi(z)&gt;0\}$ includes a fundamental parallelepiped of $L$</p> <p>As of right now I struggle coming up with any ideas, so maybe you can enlighten me a little.</p>
0non-cybersec
Stackexchange
We've been selected to adopt!. first off some back story... I had started this thread in /r/AdoptiveParents with [this thread](http://www.reddit.com/r/AdoptiveParents/comments/2y5b20/we_may_have_a_match/) and a [follow up](http://www.reddit.com/r/AdoptiveParents/comments/2yg2xo/update_on_possible_match/), but as that sub is such low traffic I felt I should move it here to continue the tale. (also, sorry about the wall of text) --- I have 3 adult step kids and 1 little guy of my own (he's 5). Ive always wanted a lot of kids, and have always wanted to adopt some of them. My wife agreed and last spring we felt the time was right to begin looking. we signed up through the state agency (no way we could afford a $10k private adoption), took our classes, had our background checks, started looking. There's a charity in our state that runs adoption parties. They are at bowling lanes, ice rinks, etc. Only registered families, kids in the system, and social workers are allowed at the parties... this makes a totally safe environment for the families to have a chance to meet the kids. The idea is you are supposed to interact with any of the kids you want... if something clicks you talk to there social worker on the spot. For lack of a better term it's speed dating for the adoption process. At he party in January we met this wonderful little boy who's 8 month's younger than our son.. and looks so much like him that they could be twins. He warmed right up to us and my wife spent most of the afternoon ice skating with him. Talked to his social worker when he picked the boy up... and find out there's a soon to be 9 year old brother. This is out of the range we wanted, in both age and number of kids (we wanted one boy around our son's age)... but the little guy was so perfect we figured we'd at least meet the older brother. So March's event comes around and we got to meet him. And holy shit we would have take him home that day if we could. He is just he most amazing wonderful angel. Friendly, very smart, so much in common with both me and my wife. Before that event was even over we told their worker we wanted them. --- Flash forward to this past weekend and another one of these events. This time we came into the event planning to just hang out with them (and their worker was telling other families "those boys are already selected"), and then the biggie... They left the party with us, we got to spend several hours with just the 5 of us together to see how they did outside of the controlled environment and too see how the little guy got along with our little guy. It could not have gone any better. The little guys held hands the entire time, and the older one was watching out for both of them equally. We talked about everything... and the older one told us out of the blue he was ready to move in with us and be a family (he figured it out on his own, at this stage in the process the kids aren't supposed to know the family is looking at them... but he's really smart). We took them home and had a 2 hour conversation with the older boys current foster parents. I can't say much beyond it strengthened our resolve to adopt the brothers... and if bio-mom gets shanked in an alley I'll pay for the killer's defense lawyer myself. --- Don't get me wrong, both boys have a lot of issues.. and the little guy will need some very serious help to just be a regular kid again, but we can see the angel behind his eyes that matches his older brother.. The older boy still has the issues that go with severe neglect (his big one is he's still afraid he wont get to eat tomorrow), and that's going to take a lot of work. but we are ready and willing and want to do this... so in two or three month's time my house is going to be a much noisier place, and I expect to be posting a whole lot more "help me!" posts in this sub. Side note... yes my flair reflects my kid count ;) EDIT: holy cow, y'all killed my inbox! I will definitely post updates as things progress :)
0non-cybersec
Reddit
After getting very little production all year I finally got some hot peppers.
0non-cybersec
Reddit
I changed my domain name. How to keep my ranking and traffic?. <p>Two weeks ago I changed my Blogger domain name from "energieshow.blogspot.com" to "lifeskills-coach.com". It works and redirects perfectly. But since I was afraid of losing my ranking and traffic in Google Search, I added my new domain name to Webmaster Tools and verified it. </p> <p>Now, I don't know if I have to do this option "Change of Address" to the old domain in Webmaster (I don't know why since redirections from old to new domain work perfectly). And when I tried to do that, I stuck in step two where it says "Confirm that 301-redirects work properly -> The old site redirects to energieshow.blogspot.com, which does not correspond to the new site you chose".</p> <p>Is it necessary to do this option "Change of Address" to preserve my SEO? Please help and thank you.</p>
0non-cybersec
Stackexchange
A girl invited me to her honeymoon in front of her bf and he got mad. How I diffused the situation.. I was having a conversation with a group of people that I had just met. And we were talking about all sort of things. I had little in common with both of the guys so naturally the girl did most of the talking (We both were interested in Japanese as non-Japanese). I tried to keep the conversation going by attempting to include everyone but I was like pulling teeth. Everything was cool until the girl brought up the up in coming wedding with her bf and the honeymoon. She then told me I was invited. Her boyfriend went mental “You just invited a complete stranger to our honeymoon“ I laughed it of and said “ I am allergic to honey”. I purposely misinterpreted and kept it moving. It worked wonders and all the awkwardness vanished 😄
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
powerpoint compatibility. <p>Imagine you work in Office 2007 or 2010, you create a far-fetched presentation and save it as 'ppt'. Office 2007/2010 warns you that some effects will be lost, but you save it.</p> <p>Question: If you open that ppt file in the office version you're working with(2007/2010) will it run like on '97 or '03 with the lack of effects, no other problems?</p> <p>I'm asking so I know whether I have to install an older office so I can check compatibility.I use 2010.</p> <p>Thanks in advance</p>
0non-cybersec
Stackexchange
IAMA 26-year-old male who works at a sexshop, AMA. Here's some background: I used to work at a security company. After two years with the company I was laid off and found myself flipping burgers while I looked for something better. A few months later a former co-worker at the security firm offered me a position at the sex shop she was working at. I've been working there for 2 years now, and I've interacted with the craziest people in my city. I've even been held up (who the hell holds up a sex shop?) Oh, by the way: most of my time working there was on the graveyard shift. Ask away! Also, this rage comic might be a little relevant to the thread http://i.imgur.com/MqbwO.png (this happened today)
0non-cybersec
Reddit
TIL Harrison Ford has personally provided emergency helicopter services at the behest of local authorities multiple times, in one instance rescuing a hiker overcome by dehydration in Jackson, Wyoming.
0non-cybersec
Reddit
Instant Karma Fails & Road Rage Compilation #20.
0non-cybersec
Reddit
Weird boss quotes!. Last night when the time turned over to April 1st I was leveling a new toon in Eastern Plaguelands when I heard multiple really loud quotes being overheard in the zone. Is this some secret April fools joke by blizz? The only quote I was able to google was "Very well. Let the game begin." which is a quote by Medivh for the beginning of the chess event. Anyone else hear some crazy sounds? It scared the shit out of me last night because I generally watch twitch streams as well and I thought I was being trolled by the stream until it kept replicating itself ingame. spooky stuff
0non-cybersec
Reddit
Windows Firewall state different between Powershell output and GUI. <p>When I run <i>Get-NetFirewallProfile</i> I see that the Domain profile Enabled is set to True. However, when I go to Control Panel > Windows Firewall the Domain profile is turned off by the GPO. Also, in Windows Firewall with Advanced Settings, the Firewall state is "Off".</p> <p>I'm not sure why the powershell output is different than the GUI. Please help!</p> <p>Thanks, aB</p>
0non-cybersec
Stackexchange
Extend CentOS Parition - Already have 4 Primary Partitions. <p>I have a CentOS server, acting as my syslog server (CentOS Linux release 7.4.1708 (Core)). As my syslogs have grown in size, we've had to extend the volume a couple time. Now the main disk is 500 GB. We recently increased the size in VMWare up to 800 GB. I have been following this excellent document <a href="https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/" rel="nofollow noreferrer">https://www.rootusers.com/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk/</a>. </p> <p>Here is what my disk looks like:</p> <pre><code>fdisk -l Disk /dev/sda: 859.0 GB, 858993459200 bytes, 1677721600 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x000a207b Device Boot Start End Blocks Id System /dev/sda1 * 2048 1026047 512000 83 Linux /dev/sda2 1026048 62914559 30944256 8e Linux LVM /dev/sda3 62914560 524287999 230686720 83 Linux /dev/sda4 524288000 943718399 209715200 8e Linux LVM lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 800G 0 disk ├─sda1 8:1 0 500M 0 part /boot ├─sda2 8:2 0 29.5G 0 part │ ├─centos-root 253:0 0 447.5G 0 lvm / │ └─centos-swap 253:1 0 2G 0 lvm [SWAP] ├─sda3 8:3 0 220G 0 part │ └─centos-root 253:0 0 447.5G 0 lvm / └─sda4 8:4 0 200G 0 part └─centos-root 253:0 0 447.5G 0 lvm / sr0 11:0 1 1024M 0 rom </code></pre> <p>When attempting to create a new partition, I receive the following error message:</p> <pre><code>If you want to create more than four partitions, you must replace a primary partition with an extended partition first. </code></pre> <p>It appears that I have reached the limit of 4 primary partitions, so now I'm trying to figure out my options. Is there a way to extend onto this new 300 GB without formatting the drive? Can I convert one my current primary partitions to an extended partition without destroying my data? Any help would be greatly appreciated!</p> <p>Cheers</p>
0non-cybersec
Stackexchange
ColdFusion https connection failure. <p>I have an API that runs fine on one of my two web servers but not on the other one or on my local machine, instead I get a connection failure when I send https requests as part the login process.</p> <p>The requests are very simple and works without a problem on one of the three servers it is being run on. The first one is as follows:</p> <pre><code>&lt;cfhttp url="https://accounts.ea.com/connect/auth?response_type=code&amp;client_id=EASFC-web&amp;state=59c5a8f1c4e7a991c1da0b54504c38e45f4d8d78&amp;redirect_uri=http%3A%2F%2Fwww.easports.com%2Ffifa%2Ffootball-club%2Flogin_check&amp;locale=uk&amp;scope=basic.identity+basic.persona+signin+offline " method="GET" result="Stage2" redirect="false"&gt; &lt;cfhttpparam type="header" name="Accept" value="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" /&gt; &lt;cfhttpparam type="header" name="Accept-Encoding" value="gzip, deflate" /&gt; &lt;cfhttpparam type="header" name="Accept-Language" value="en-US, en;q=0.5" /&gt; &lt;cfhttpparam type="header" name="Connection" value="keep-alive" /&gt; &lt;cfhttpparam type="header" name="Host" value="accounts.ea.com" /&gt; &lt;cfhttpparam type="header" name="User-Agent" value="Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36" /&gt; &lt;/cfhttp&gt; </code></pre> <p>I've had a look and this seems to be a common issue but <a href="http://forum.hostek.com/showthread.php?709-Fix-for-CFHTTP-Connection-Failures-over-HTTPS">this fix</a> provided no joy.</p> <p>I'm assuming there's some security setting that I am perhaps overlooking? I'm able to hit the page and login within the browser on my local machine if that helps.</p> <p>Does anyone have any advice?</p> <p>This is what is returned in a CFDUMP:</p> <pre><code>Debugging Information ColdFusion Server Developer 9,0,0,251028 Template /CraigTest/FUT/FIFACPB/logInSearchAccount17.cfm Time Stamp 09-Dec-13 11:40 AM Locale English (UK) User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 Remote IP 127.0.0.1 Host Name 127.0.0.1 ________________________________________ Execution Time Total Time Avg Time Count Template 608 ms 608 ms 1 C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\logInSearchAccount17.cfm 5 ms 5 ms 1 CFC[ C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\Application.cfc | onRequestStart(/CraigTest/FUT/FIFACPB/logInSearchAccount17.cfm) ] from C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\Application.cfc 1 ms 1 ms 1 CFC[ C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Player.cfc | init([complex value]) ] from C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Player.cfc 0 ms 0 ms 1 CFC[ C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Bid.cfc | init([complex value]) ] from C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Bid.cfc 0 ms 0 ms 1 CFC[ C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Club.cfc | init([complex value]) ] from C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Club.cfc 0 ms 0 ms 1 CFC[ C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Connect.cfc | init([complex value]) ] from C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Connect.cfc 0 ms 0 ms 1 CFC[ C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Search.cfc | init([complex value]) ] from C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\Search.cfc 0 ms 0 ms 1 CFC[ C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\doLogin.cfc | init([complex value]) ] from C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\cfcs\doLogin.cfc 4 ms STARTUP, PARSING, COMPILING, LOADING, &amp; SHUTDOWN 617 ms TOTAL EXECUTION TIME red = over 250 ms average execution time ________________________________________ Scope Variables CGI Variables: AUTH_PASSWORD= AUTH_TYPE= AUTH_USER= CERT_COOKIE= CERT_FLAGS= CERT_ISSUER= CERT_KEYSIZE= CERT_SECRETKEYSIZE= CERT_SERIALNUMBER= CERT_SERVER_ISSUER= CERT_SERVER_SUBJECT= CERT_SUBJECT= CF_TEMPLATE_PATH=C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\logInSearchAccount17.cfm CONTENT_LENGTH= CONTENT_TYPE= CONTEXT_PATH= GATEWAY_INTERFACE= HTTPS= HTTPS_KEYSIZE= HTTPS_SECRETKEYSIZE= HTTPS_SERVER_ISSUER= HTTPS_SERVER_SUBJECT= HTTP_ACCEPT=text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_ENCODING=gzip, deflate HTTP_ACCEPT_LANGUAGE=en-US,en;q=0.5 HTTP_CONNECTION=keep-alive HTTP_COOKIE=cf_debug_general=block; cf_debug_template_stack=block; CFID=15108; CFTOKEN=12249080; CFAUTHORIZATION_cfadmin=YWRtaW4NRTg5NzE2OTdCODczMUI0MDVBM0UxRTZCMjI2N0I1MDA5M0QzQkE4MQ1jZmFkbWlu; CFADMIN_LASTPAGE_ADMIN=%2FCFIDE%2Fadministrator%2Fdebugging%2Findex%2Ecfm HTTP_HOST=127.0.0.1:8500 HTTP_REFERER= HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0 PATH_INFO= PATH_TRANSLATED=C:\Services\web\wwwroot\CraigTest\FUT\FIFACPB\logInSearchAccount17.cfm QUERY_STRING=reinit=1 REMOTE_ADDR=127.0.0.1 REMOTE_HOST=127.0.0.1 REMOTE_USER= REQUEST_METHOD=GET SCRIPT_NAME=/CraigTest/FUT/FIFACPB/logInSearchAccount17.cfm SERVER_NAME=127.0.0.1 SERVER_PORT=8500 SERVER_PORT_SECURE=0 SERVER_PROTOCOL=HTTP/1.1 SERVER_SOFTWARE= WEB_SERVER_API= Cookie Variables: CFADMIN_LASTPAGE_ADMIN=/CFIDE/administrator/debugging/index.cfm CFAUTHORIZATION_cfadmin=YWRtaW4NRTg5NzE2OTdCODczMUI0MDVBM0UxRTZCMjI2N0I1MDA5M0QzQkE4MQ1jZmFkbWlu CFID=15108 CFTOKEN=12249080 cf_debug_general=block cf_debug_template_stack=block Session Variables: biddingaccountloggedin=0 biddingaccountloginattempts=0 cfid=15108 cftoken=12249080 mainaccountloggedin=0 mainaccountloginattempts=0 pricingaccountloggedin=0 pricingaccountloginattempts=0 searchaccount10loggedin=0 searchaccount10loginattempts=0 searchaccount11loggedin=0 searchaccount11loginattempts=0 searchaccount12loggedin=0 searchaccount12loginattempts=0 searchaccount13loggedin=0 searchaccount13loginattempts=0 searchaccount14loggedin=0 searchaccount14loginattempts=0 searchaccount15loggedin=0 searchaccount15loginattempts=0 searchaccount16loggedin=0 searchaccount16loginattempts=0 searchaccount17gamertag=ZappyShrimp8 searchaccount17loggedin=0 searchaccount17loginattempts=0 searchaccount18loggedin=0 searchaccount18loginattempts=0 searchaccount19loggedin=0 searchaccount19loginattempts=0 searchaccount1loggedin=0 searchaccount1loginattempts=0 searchaccount20loggedin=0 searchaccount20loginattempts=0 searchaccount21loggedin=0 searchaccount21loginattempts=0 searchaccount22loggedin=0 searchaccount22loginattempts=0 searchaccount23loggedin=0 searchaccount23loginattempts=0 searchaccount24loggedin=0 searchaccount24loginattempts=0 searchaccount25loggedin=0 searchaccount25loginattempts=0 searchaccount26loggedin=0 searchaccount26loginattempts=0 searchaccount27loggedin=0 searchaccount27loginattempts=0 searchaccount28loggedin=0 searchaccount28loginattempts=0 searchaccount29loggedin=0 searchaccount29loginattempts=0 searchaccount2loggedin=0 searchaccount2loginattempts=0 searchaccount30loggedin=0 searchaccount30loginattempts=0 searchaccount3loggedin=0 searchaccount3loginattempts=0 searchaccount4loggedin=0 searchaccount4loginattempts=0 searchaccount5loggedin=0 searchaccount5loginattempts=0 searchaccount6loggedin=0 searchaccount6loginattempts=0 searchaccount8loggedin=0 searchaccount8loginattempts=0 sessionid=FIFAAUTOBUYER_15108_12249080 urltoken=CFID=15108&amp;CFTOKEN=12249080 URL Parameters: reinit=1 Debug Rendering Time: 21 ms </code></pre> <p>CFDUMP STAGE2:</p> <pre><code>struct Charset [empty string] ErrorDetail I/O Exception: peer not authenticated Filecontent Connection Failure Header [empty string] Mimetype Unable to determine MIME type of file. Responseheader struct [empty] Statuscode Connection Failure. Status code unavailable. Text YES </code></pre>
0non-cybersec
Stackexchange
Moving Windows Server to Azure Virtual Machines. <p>We have standalone Windows Server 2008 and we would like to move it to <strong>Azure Virtual Machines</strong>.</p> <p>What is the best way to do this?</p> <p>It's possible to upload VHD image to Azure. But how to create it from existing server we have only remote access to?</p>
0non-cybersec
Stackexchange
How to have html display a link, but open a javascipt function instead?. <p>I have an html page, and I need a link to show that the user would be going to 'example.html', when really, the link goes to 'javascipt:ajaxLoad(example.html);'.</p> <p>EDIT: I went over to stackexchange, and their solution worked. The html would go from this: Example to this: Example</p> <p>The solution, is if javascript is enabled, the 'return false;' will cancel going to the link on the page, and load the javascript. If not, then it will go to the page in the href</p>
0non-cybersec
Stackexchange
Understanding a proof of concept. <p>I found this report about a <a href="https://www.exploit-db.com/exploits/39882/" rel="nofollow noreferrer">buffer overflow vulnerability </a> in <code>websocify</code>. I do not understand how this line</p> <pre><code>$ curl http://example.com/$(python -c 'print "A"*5000') </code></pre> <p>triggers the vulnerability. I think the address will be expanded to <code>http://example.com/AAAAAA...</code>. I do not know how <code>websockify</code> relates to this.</p>
1cybersec
Stackexchange
Unusual Animal Friendship..!!.
0non-cybersec
Reddit