text
stringlengths 3
1.74M
| label
class label 2
classes | source
stringclasses 3
values |
---|---|---|
CCleaner Professional İndir – Türkçe Full. | 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 |
Goodbye grass, hello 25sqft. | 0non-cybersec
| Reddit |
Iowa looks good tonight. Iowa is looking food against Georgia Tech right now. Ricky Stanzi looks like a real solid quarterback the likes of which TCU and Boise State wish they could have had last night. | 0non-cybersec
| Reddit |
Lp gains broken?. Was playing yesterday and getting 20+ lp per win this morning won 2 and got 10-11 lp per win? Anyone know why.
[https://cdn.discordapp.com/attachments/501585954100871186/694710608762896384/unknown.png](https://cdn.discordapp.com/attachments/501585954100871186/694710608762896384/unknown.png)
[https://cdn.discordapp.com/attachments/501585954100871186/694702234457473074/unknown.png](https://cdn.discordapp.com/attachments/501585954100871186/694702234457473074/unknown.png)
[https://oce.op.gg/summoner/userName=ShutenNG](https://oce.op.gg/summoner/userName=ShutenNG) | 0non-cybersec
| Reddit |
Three independent events. <p>Let $A$ and $B$ be independent events and let $P(A),P(B) \in (0,1)$.
Let $C$ be the event $A \cup B \setminus A \cap B$.
Prove that if $A,C$ are independent and $B,C$ are independent then $P(A)=P(B)$.</p>
<p>We have that
$$P(A \cap B) = P(A)P(B) \\ P(A \cap C) = P(A)P(C) \\ P(B \cap C) = P(B)P(C)$$</p>
<p>and I suppose that $$P(C) = P((A \cap B^c) \cup (A^c \cap B)) = P(A \cap B^c) + P(A^c \cap B)=P(A)P(B^c) + P(A^c)P(B)$$</p>
<p>but I have no idea how can I solve this problem. </p>
| 0non-cybersec
| Stackexchange |
My 32/f, husband (32/m) just announced how much pussy he got in Thailand before we met to a group of our friends. UPDATE: He apologized a few times throughout the night, and again this morning. I kind of ignored it and just kept sleeping, he left to go to an appointment and was gone until this afternoon and I did not reach out.
He returned home this afternoon with a big bouquet of flowers, multiple apologies and his tail between his legs. He is clearly very embarrassed and said he feels horrible, and that he drank way too much. I explained to him that it was not okay, disrespectful and can't happen again and I do feel like he took that in.
Edit: He was hammered. Then when his friend pointed out it was slightly rude he turned to his engaged friend and said "see how much you have to look forward to?"
I feel like this was rude AF and crossed a line. How would you all feel and what shd I do tomorrow | 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 |
(AH) Ep. 4 The Origins of the Pony Car. | 0non-cybersec
| Reddit |
Is there an environment that imitates align but displays `textstyle` math?. <p>I'm currently typing a mathematical document which counts many <code>sum</code> symbols. I frequently use the <code>align</code> environment to render equations, although the default behaviour of this environment is to render the equations in <code>displaystyle</code>, which in my opinion wastes vertical space. I therefore have added <code>\textstyle</code> at the beginning of each line of math in this environment, but I'm looking for a more convenient solution. </p>
<p><strong>So is there an environment that is similar to <code>align</code> with the exception it displays <code>textstyle</code> math by default ?</strong> Thank you.</p>
| 0non-cybersec
| Stackexchange |
Euclidean norms in quadratic fields. <p>I'm currently reading a set of lecture notes of Number Theory, and there's a small part I'm having trouble understanding. </p>
<blockquote>
<p>A norm $N: R \rightarrow \mathbb{N} $ is Euclidean if it satisfies: for all $a \in R, >b \in R $, there exists $q, r \in R$ such that $a = qb + r$ and $N(r) < N(b)$.</p>
<p>Consider the norm given by $N(a + b \sqrt{D}) = |a^2 - Db^2| $</p>
<p>Now, we consider the quadratic field $\mathbb{Z}[\sqrt{-1}]$: to show that this is a Euclidean norm, we must show that for all $\alpha \in \mathbb{Q}(\sqrt{-1})$ there exists $\beta \in \mathbb{Z}(\sqrt{-1}) $ with $N( \alpha - \beta ) < 1 $</p>
</blockquote>
<p><em>My question is</em>: <strong>Why</strong> is $\alpha \in \mathbb{Q}(\sqrt{-1})$ if we are considering $\mathbb{Z}[\sqrt{-1}]?$ </p>
<p>For the notes I'm using, see: <a href="http://math.uga.edu/~pete/4400quadrings.pdf" rel="nofollow">http://math.uga.edu/~pete/4400quadrings.pdf</a> page 5.</p>
| 0non-cybersec
| Stackexchange |
TIL you can graft trees together as long as they are the same genus. This tree is growing 40 different fruits.. | 0non-cybersec
| Reddit |
I cut my finger off and I love it!!!. | 0non-cybersec
| Reddit |
File Binary vs Text. <p>
Are there some situation where I have to prefer binary file to text file? I'm using C++ as programming language?
</p>
<p>
For example if I have to store some large text file is it better use text file or binary file?
</p>
<p><b> Edit </b></p>
<p>
The file for the moment has no requirment to be readable from human. Are some performance difference, security difference and so on?
</p>
<p><b> Edit </b></p>
<p>
Sorry for the omit other the requirment (thanks to Carey Gregory)
</p>
<p>
<ul>
<li>The record to save are in ascii encoding </li>
<li>The file must be crypted ( AES ) </li>
<li>The machine can power off any time. So I've to try to prevents errors.</li>
<li>I've to know if the file change outside the program, I think I'll use a sha1 digest of the file. </li>
</ul>
| 0non-cybersec
| Stackexchange |
Developing pages in MVC website that will be specifically used as an iframe by another website. <p>I have a website where I'm going to be partnering with another website. They want to view one specific page of mine, in their [WordPress] website. They aren't developers, so I looked into how to do this.</p>
<p>At first glance, it appears as though the WordPress iFrame plugin is the easiest route. My next thought is, they'll probably still want to show their own header and footer in their page, while showing the content of my page in the iFrame. No big deal.</p>
<p>I'm thinking of developing a View on my [MVC 4] website that will be used ONLY for their iFrame purposes. Since they'll probably want their own headers, I'll probably design a page that uses no layout, and just a custom header and/or footer that shows that the information is coming from MY website.</p>
<p>Here are my questions:
1) The page that will be displayed contains MANY anchor tags, if that's embedded in an iFrame, what happens if the user on THEIR website clicks the link in the iFrame? Does the iFrame page change, or does their ENTIRE page change?</p>
<p>2) Depending on the answer to #1, should I just disable all hyperlinks/anchor tags in the iFrame page on my site so it doesn't cause any funkyness on their site?</p>
<p>3) What if I WANT some hyperlinks on the iFrame page so they come visit my website? Is that a matter of telling them to put a real link on their site to my own?</p>
<p>4) What security concerns do I have with allowing a page of my own to be accessible via iFrame from another site? Should I only allow traffic to my iFrame page when it's from their site? If it's not from their site, then re-direct to my "real" page?</p>
<p>Thanks all!</p>
| 0non-cybersec
| Stackexchange |
How to have subsubsection without new line. <p>I want to have a term and explained it like in the picture below. I tried using something like </p>
<pre><code>\subsubsection*{Foo}
</code></pre>
<p>but without the new line.</p>
<p><a href="https://i.stack.imgur.com/WhzgA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WhzgA.png" alt="enter image description here"></a></p>
| 0non-cybersec
| Stackexchange |
Grigori Rasputin.. | 0non-cybersec
| Reddit |
ssh, telnet to AWS EC2 instance time out. <p>I can't connect to my AWS EC2 Ubuntu instance. I appear to have the address and user right, the security group allows connections on all ports, and I'm using the right key pair. SSH and telnet keep timing out, though. I don't know what I'm doing wrong. Suggestions? I'm quite new to AWS.</p>
| 0non-cybersec
| Stackexchange |
Btrfs Quotas for Hierarchy in Filesystem. <p>I want to implement a hierarchy of quotas in my filesystem. I will show you an example:</p>
<pre><code>Folder A has Folder A1 and A2.
A
/ \
A1 A2
</code></pre>
<p>A should have a quota(limit) 10GB<br>
A1 should have a quota(limit) 10GB<br>
A2 should have a quota(limit) 5GB </p>
<p>So I want that my system doesnt allow me to put more data into A1 and A2 than A can handle, for example A2=5GB and A1=6GB should not be allowed and the quotas for the lower levels should be working as well.
It could also be that we only have a limit for A and for A2. So A1 can be as big as it needs to be but not bigger than A allows it.</p>
<p>After hours of research my filesystem is not working how I wanted it too. If I list my subvolumes, everything is at level 5, I dont know if this is correct or not. </p>
<p>Can someone show me an example how you can do this or how should I proceed.</p>
<p>Best regards Eugen</p>
| 0non-cybersec
| Stackexchange |
Hard disk won't spin after minor laptop milk spill. <p>A week ago I stupidly split a small quantity of milk on my laptop's keyboard.</p>
<p>I followed <a href="https://superuser.com/questions/11995">common sense</a> and now the laptop works... except the hard disk.<br>
Booting a Live-CD works, but the hard disk is not shown.<br>
Even if I plug the hard-disk into a hard-disk-to-USB device, it won't start spinning.</p>
<p>Could milk enter the hard disk, while leaving the rest of the laptop intact?<br>
Would you suggest hiring a professional to get back the content of the disk (a few months' pictures, not the end of the world) ?</p>
| 0non-cybersec
| Stackexchange |
Add page break after match of certain class on div with mpdf. <p>I am converting a report (in html)to pdf using mPDF library, but is putting all pages into one. I want to add a page break after a certain but I haven't been successful.</p>
<p><strong>html</strong></p>
<pre><code> <div class='text my_form' style='margin:0px 0 0 0; padding:0px 0 0 0; border-style:dotted; border-color:white;'>
</code></pre>
<p>I'm passing this to the php as $html</p>
<p><strong>PHP</strong></p>
<pre><code> require_once ("./libraries/MPDF57/mpdf.php");
$mpdf=new mPDF("", "Letter", "", "", 10, 10);
</code></pre>
<p>I want to add a page break after it finds the div shown above </p>
<pre><code> preg_match_all("/((\<div\s)(class='text\smy_form'[\s\w\s]*border-color:white)(.+?)(\>)/", $html, $matches, PREG_SET_ORDER);
foreach($matches as $value) {
$html= $mpdf->AddPage();
}
$mpdf->WriteHTML($html);
$filename = "documentx.pdf";
$mpdf->Output($fileName, 'F');
</code></pre>
<p>However, is not working, please help me go through the right track :)</p>
| 0non-cybersec
| Stackexchange |
Apprehensive about Ranked Play. So, I've been playing LoL since the beta on and off again. I hit 30 about a month ago after the time Ranked Play was introduced. Since I've hit 30 however, I haven't ventured into the world of ranked play yet because I'm worried about running into that "Elitist Attitude" I hear about. I know that this attitude is less prevalent in LoL than in other games like DotA and HoN, but how big of an issue is it in LoL ranked play? I do not have a problem with the odd shit-talking QQer in normal games, but is the problem any worse/better in ranked play? | 0non-cybersec
| Reddit |
I don't know if I'm hurting myself.. My ex [18m] broke up with me [18f] 2 months ago because he didn't love me anymore and our relationship had become unhealthy for us. I tried to change his mind many times but man, unfortunately you can't get anyone to love you. We had sex, then he disappeared for another month, absolutely no contact, no texting, nothing; I started to get better mentally but I still loved him. A week ago we casually met and we talked normally for 10 minutes and then he texted me that he was glad for that little talk, so we went on talking and we ended up having sex again. The inner me is crying tears of joy but I know for sure that he isn't in love with me, he just cares about me and wants to be my friend, he even proposed to hang out as friends. I accepted but of course I ruined everything because I kept cuddling him after sex, and when I show that I'm crazy in love with him I know that a part of him feels pleased and satisfied with it. I also asked him if he was still into me and if he was interested in coming back together in the future, and he said not in the following months, but maybe in a few years.
Okay, I know that this is absurd and that will never happen, and I don't care about the following years but I care about the following months because I'll probably move in another town for university. So... PLEASE, help me and I'll try to figure out if I'm doing something wrong, tell me if we share a similar situation, what I'm supposed to do? | 0non-cybersec
| Reddit |
Composition of simplicial approximation is again simplicial approximation. <p>If $s:|K^m|\to |L|$ is a simplicial approximation to $f:|K^m|\to |L|$ and $t:|L^n|\to |M|$ is a simplicial approximation to $g:|L^n|\to |M|$. Is $t\circ s: |K^{m+n}|\to |M|$ necessarily a simplicial approximation to $g\circ f:|K^{m+n}|\to |M|?$</p>
<p>I'm sure answer is yes. But i don't know how to prove this. This is one of the question in final exam but i didn't do. Most probably it again comes in my qualifying exam so please I seek the help. Your help will be appreciated. Thanks in Advance.</p>
| 0non-cybersec
| Stackexchange |
Added the 4th monitor today. | 0non-cybersec
| Reddit |
ODBC Driver "Oracle in OraClient11g_home1" required but can't seem to get it on Windows 10. <p>Not sure if this was the right StackExchange for this. My job recently upgraded their machines to Windows 10 and I thought setting them up would be a breeze, but I can't for the love of me figure out how to get the correct ODBC drivers on it. I've tried every download I could find and it isn't giving me the right driver.</p>
<p><a href="https://i.stack.imgur.com/GNUxa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GNUxa.png" alt="Drivers list"></a></p>
<p>Not sure where to get the drivers I need. I thought it'd be simple but I just can't find it anywhere after hours of searching. I don't know enough about database connections to know if I can just utilize one of these drivers and somehow translate the configuration from before onto them (old driver just had main entries for Data Source Name, Description, TNS Service Name, and User ID - that's all I enter to make the connection work.)</p>
| 0non-cybersec
| Stackexchange |
Wtf is this shit?. | 0non-cybersec
| Reddit |
Prolog - learning resources.. Hi. I am looking for some good (preferably online) resources for beginner to intermediate Prolog programming.
Is there something similar to [Learn you a Haskell for great good](http://learnyouahaskell.com)? It was very entertaining and provided a rather rich source of information, so It would be great if something like that existed for Prolog.
Any advice to kick-start me would be much appreciated. | 0non-cybersec
| Reddit |
Ireland's president Michael D. Higgins at a Bob Dylan concert at Slane Castle in 1984. | 0non-cybersec
| Reddit |
The force is strong with this Dog. | 0non-cybersec
| Reddit |
[B&A] I got bored and did guy makeup, just for fun. Thought you MUAers might get a kick out of it.. | 0non-cybersec
| Reddit |
Hilbert Symbols, Norms, and p-adic roots of unity. <p>Let $p$ be an odd prime number,
let $\mathbb{Q}_p$ be the field of $p$-adic numbers,
and let $\overline{\mathbb{Q}_p}$ be an algebraic closure of it.
For a primitive $p$-th root of unity $\zeta_p \in \overline{\mathbb{Q}_p}$,
set $K = \mathbb{Q}_p(\zeta_p)$.</p>
<blockquote>
<p>Is it true that for every $a \in K^*$ there exists a power $q$ of $p$ such that $(a, \zeta_p)_q = 1$?</p>
</blockquote>
<p>Here $(,)_q$ is the $q$-th power Hilbert symbol (norm-residue symbol) in $K(\zeta_q) = \mathbb{Q}_p(\zeta_q)$.</p>
| 0non-cybersec
| Stackexchange |
Macing a Pregnant Lady #seriously. | 0non-cybersec
| Reddit |
How can I share my website's source files without leaking the API Keys?. Hey, guys just finished my first decently sized project and it's a coronavirus tracker! How can I share it with you guys without leaking the api-key? | 0non-cybersec
| Reddit |
[WP] He knew he would never win her love. So he decided on the next best thing.. | 0non-cybersec
| Reddit |
My local toy store sells a few broken sticks for $10.. | 0non-cybersec
| Reddit |
This blew my mind. | 0non-cybersec
| Reddit |
This lad actually blew a deer. Madness!. | 0non-cybersec
| Reddit |
My first raspberry pi program.. So i just got my first Raspberry Pi today as part of the CanaKit B+ Ultimate kit or whatever its called. I quickly got everything set up and started playing around. I quickly wired up an LED and then managed to write a script that pings the local ip address for my phone and if it responds turns the light on and if not it turns the light off and amazingly it worked.
Obviously I know this is stupid simple but its exciting to make things work. Anyone have any other simple (I mean can be way more complex than what I did.) project ideas that would use things from the Canakit? I'm just excited and want to try new things.
Eventually I think I want to write a program and use the raspberry pi to control a smoker I have and monitor all the temperatures etc and maybe integrate that with some sort of smartphone app. Thats obviously way down the road. | 0non-cybersec
| Reddit |
What's the purpose of multiplying by 1024x1024?. <p>I'm working with an old C module that was originally ran on Power PC architecture and compiled with gnu 3.0.6 </p>
<p>I'm porting it to run in a VS2012 project on Intel hardware. </p>
<p>The module creates a 3D model of a storm cloud based on a bitmap file and other IO. </p>
<p>I keep seeing signed magnitudes (x- and y-coords, -differentials) being multiplied by 1024*1024 and I don't see why. These quantities are stored in signed ints. </p>
<p>Whenever one of these quantities is output from the module, it's right-shifted by 20, which apparently cancels the multiplication by 1024*1024. </p>
<p>Does anyone know what's going on here? </p>
<p>Thanks </p>
<p>EDIT:
One case is where x- and y-differentials of a line embedded in a 256x256 grid are used to iterate across it. Here we have a ray defined by some angle theta and a given starting point (x,y) within the grid. The starting point coordinates are products of 1024*1024, as well</p>
<pre><code>#define KINT 1024*1024
float x_disp, y_disp;
int x, y, dx, dy;
//initializing code
x = (int)(KINT*x_disp);
y = (int)(KINT*y_disp);
//as theta ranges across [-pi/2, pi/2], itheta ranges over [0, 720]
dx = (int)(KINT*sin_table[itheta]);
dy = (int)(KINT*cos_table[itheta]);
</code></pre>
<p>Come to think of it, I'm not sure why there isn't a (-1) in front of
sin_table(itheta). </p>
<p>The line embedded inside the 256x256 grid is traversed by computing the
coordinates as follows:</p>
<pre><code>for (int i = 0; i < 256; i++)
{
int posx = (x>>20);
int posy = (y>>20);
if((posx|posy)&0xffffff00 == 0)
{
char val = grid[x][y];
//do something with val
}
x += dx;
y += dy;
}
</code></pre>
| 0non-cybersec
| Stackexchange |
Do you have houseplants?. It recently dawned on me that most people do not have any plants their house. Why is this? They help clean the air and look nice, etc. | 0non-cybersec
| Reddit |
Prove the norm of operator derived from orthogonal projections is less or equal to 1. <p>Suppose <span class="math-container">$H$</span> is a Hilbert space. We have two orthogonal projections <span class="math-container">$P_1: H\rightarrow A_1$</span> and <span class="math-container">$P_2: H\rightarrow A_2$</span>. Here <span class="math-container">$A_1$</span> and <span class="math-container">$A_2$</span> are two closed subspace of <span class="math-container">$H$</span>. Prove that
<span class="math-container">$$
\lVert P_1 - P_2\rVert \le 1
$$</span></p>
<p>Any hints may help. Thank you.</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 |
Flexible Basis Functions. <p>What are the most flexible basis functions ?</p>
<p>The most commonly used basis function is the polynomial function;
$\begin{pmatrix} 1,x,x^2\end{pmatrix}$</p>
<p>However when the function is complex it seems that we need a high order polynomial to model it accurately. This aspect greatly increases the number of parameters in our regression matrix that we need to estimate. Thus more data is needed. For instance given in linear regression if we use a polynomial of degree 6 then the expectation becomes $$f^{t}(x)\boldsymbol\beta=\beta_{1}+\beta_{2}x+\beta_{3}x^2+\beta_{4}x^3+\beta_{5}x^4+\beta_{6}x^5+\beta_{7}x^6$$</p>
<p>This implies that 7 hyperparameters $\boldsymbol\beta$ need to be acquired</p>
<p>What alternative basis functions require less hyper parameters and pose similar flexibility to high order polynomials</p>
| 0non-cybersec
| Stackexchange |
How to enable network with a raspberry pi emulated on qemu?. <p>I'm trying to emulate a raspberry pi on my ubuntu 13.04. I installed qemu and it works well except for the network.</p>
<p>I followed <a href="http://sebpiq.github.io/rpi-workshop-instructions/index.html" rel="noreferrer">this procedure</a>. On the virtual machine, the file <code>/etc/network/interface</code> looks like this</p>
<pre><code>auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.20.106 # your IP
gateway 192.168.20.1 # IP of the Router
netmask 255.255.255.0 # Network mask
</code></pre>
<p>I launch qemu like this <code>sudo qemu-system-arm -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -append "root=/dev/sda2" -hda 2013-09-25-wheezy-raspbian.img -kernel kernel-qemu -redir tcp:5022::22</code>.</p>
<p>On ubuntu, when I do a <code>ifconfig</code>, I have this result :</p>
<pre><code>br0 Link encap:Ethernet HWaddr 8e:0f:b1:ad:1c:18
inet adr:10.10.10.2 Bcast:10.255.255.255 Masque:255.0.0.0
adr inet6: fe80::8c0f:b1ff:fead:1c18/64 Scope:Lien
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:8 erreurs:0 :8 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:792 (792.0 B) Octets transmis:5092 (5.0 KB)
eth0 Link encap:Ethernet HWaddr 90:2b:34:39:b4:1d
UP BROADCAST MULTICAST MTU:1500 Metric:1
Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:65536 Metric:1
Packets reçus:12770 erreurs:0 :0 overruns:0 frame:0
TX packets:12770 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
Octets reçus:2121321 (2.1 MB) Octets transmis:2121321 (2.1 MB)
wlan1 Link encap:Ethernet HWaddr ac:f1:df:79:01:80
inet adr:192.168.20.106 Bcast:192.168.20.255 Masque:255.255.255.0
adr inet6: fe80::aef1:dfff:fe79:180/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Packets reçus:5283 erreurs:0 :48 overruns:0 frame:0
TX packets:5252 errors:0 dropped:5 overruns:0 carrier:0
collisions:0 lg file transmission:1000
Octets reçus:2806386 (2.8 MB) Octets transmis:1461531 (1.4 MB)
</code></pre>
<p>on the virtual machine, <code>ping 192.168.20.106</code> works because it is the local address but <code>ping 192.168.20.1</code> does not works. I also tried to set a different address for real and virtual machine.</p>
<p>Whan can I do?</p>
| 0non-cybersec
| Stackexchange |
What is the first moment of an isosceles right triangle about the vertex of the right angle?. <p>What is the first moment of an isosceles right triangle about the vertex of the right angle?</p>
<p>I was thinking to look at it as </p>
<p>$$\int_{-\pi/4}^{\pi/4} \int_{0}^{\sec(\theta)} r^2drd\theta.$$</p>
<p>Does that make any sense?</p>
| 0non-cybersec
| Stackexchange |
During the 1975 Apollo-Soyuz mission, to help USA/USSR relations, astronauts and cosmonauts played smuggled audio recordings of glasses clinking, laughter, and many female voices. Houston radioed to ask what’s going on. "Oh nothing,” they said. “We finished work, just having a party up here.". | 0non-cybersec
| Reddit |
Finding the marginal density function limits of integration. <p>If $f(x,y) = \frac{12}{5x (2-x-y)}$ for 0 < x and y < 1, compute the marginal density function $f_Y(y)$</p>
<p>I know that I have to integrate the joint density function with respect to x, but how I figure out the limits of integration? Also, if the bounds were 0 < y < x < 1, what would the limits be then? </p>
<p>Thanks :D </p>
| 0non-cybersec
| Stackexchange |
Solving equations by taking square roots. <p>I am confused with solving equations by taking square roots. I have a math problem below as an example of what I am confused with.</p>
<p>$12x^2-154=0$</p>
<p>So first I believe you are supposed to move the constant to one side so it would be </p>
<p>$12x^2=154 $</p>
<p>After that I believe we need to divide by $12$, however $154$ is not divisible by $12$ nor do any perfect squares fit. I am aware they both share the greatest common factor of $2$, however I am not sure what to do with that or if it is needed. I am not sure.</p>
| 0non-cybersec
| Stackexchange |
This girl tried to climb the tree, got stuck, then tried to get unstuck for the next 5 minutes while everybody laughed.. | 0non-cybersec
| Reddit |
A strong relationship between $\mathrm{ad}(X)$ and $1-\mathrm{Ad}_g$ when $\mathrm{Ad}_gX=X$. <p>Let $G$ be a linear algebraic semisimple group over $\mathbb{C}$ with Lie algebra $\mathfrak{g}$, and let $(g,X)\in G\times\mathfrak{g}^{\operatorname{reg}}$ be such that $\mathrm{Ad}_gX=X$ (where $X\in\mathfrak{g}^{\operatorname{reg}}$ means that $Z_{\mathfrak{g}}(X)$ has minimal dimension).</p>
<blockquote>
<p><strong>Conjecture.</strong> We have
$$\operatorname{im}(1-\mathrm{Ad}_g)\subseteq\operatorname{im}\mathrm{ad}(X), \quad\text{and}\quad\ker\mathrm{ad}(X)\subseteq\ker(1-\mathrm{Ad}_g).$$</p>
</blockquote>
<p>I already know that the second identity is true. Indeed, using the accepted answer to <a href="https://mathoverflow.net/q/253456/90299">this</a> question, $Z_G(X)$ is abelian and hence $Z_G(X)\subseteq Z_G(g)$. Passing to Lie algebras gives that $\ker\mathrm{ad}(X)\subseteq\ker(1-\mathrm{Ad}_g)$.</p>
<p>I believe the first identity is also true. At least, it is true when $G=\mathrm{SL}(2,\mathbb{C})$, as I verified it by brut force. It also seems true for $G=\mathrm{SL}(n,\mathbb{C})$, as I verified the identity in many cases using a symbolic mathematical computation program. But I don't have any conceptual reason for why this happens.</p>
<p>I would be interested to know if the conjecture is true, or if we can determine a subclass of the linear algebraic semisimple groups for which it holds (for all pairs $(g,X)$).</p>
| 0non-cybersec
| Stackexchange |
Firing from a bicycle. | 0non-cybersec
| Reddit |
Upgrading 16 GB to a 4 GB iMac i5 2011 doesn't work with all modules loaded [SOLVED]. <p>I don't know if it is only my issue. I have a 2011 iMac i5 with 2x2GB RAM modules.</p>
<p>Recently I bought 2x8GB RAM modules. If I add the 2x8GB to the default 4GB RAM, the computer doesn't start. I hear only the sound of DVD slot but the screen remains blank.<br>
If I remove the 2x2GB ram modules and I use only the 2x8GB RAM modules, everything is fine and the iMac shows correctly the 16GB. I have also tried to change the order, putting the 8GB modules as first, but same problem.</p>
<p>If I put 2x2GB with the 2x8GB together, iMac doesn't turn on.</p>
<p>Original RAM: 2x Elpida 2 GB PC3-10600s-9-10-f1<br>
Upgraded RAM: 2x Hynix 8 GB DDR3 Dream 1333mhz SO-DIMM (sold as Apple iMac 2011 compatible) </p>
<p>The original RAM was mounted on top 2 slots.</p>
| 0non-cybersec
| Stackexchange |
Connecting Laptop to Monitor while it is switched on. <p>Is it ok to connect a laptop to a monitor via a VGA cable while the laptop is on? Normally I shutdown my laptop before doing so - but is this necessary? </p>
<p>I am using Windows 8.</p>
| 0non-cybersec
| Stackexchange |
ITAP of a street in Tokyo. | 0non-cybersec
| Reddit |
For $\Bbb K^{n \times n}$ matrices $A$ and $B$, $\exists p[p(A)=B] \implies \exists p[p(B)=A]$?. <p>For $\Bbb K^{n \times n}$ matrices $A$ and $B$, is it true that if there exists a matrix polynomial $p$ such that $p(A)=B$, then there exists another matrix polynomial $p$ (not necessarily the same) such that $p(B) = A$?</p>
<h3>My attempt</h3>
<p>Let $B = \displaystyle \sum_{k=0}^{n-1} a_k A^k$, where $a_k \in \Bbb K$.</p>
<p>From the <a href="https://en.wikipedia.org/wiki/Cayley%E2%80%93Hamilton_theorem" rel="nofollow noreferrer">Cayley-Hamilton theorem</a>, there exists a polynomial $p$ of degree $n$ such that $p(A) = O$, so $A^m$ where $m \ge n$ can be expressed as linear combination of $\left\{ A^k \ | \ 0 \le k < n\right\}$.</p>
<p>So, we can express $B^m = \displaystyle \sum_{k=0}^{n-1} a_{mk} A^k$, where $a_{mk} \in \Bbb K$.</p>
<p>If $\{I, A, A^2, \cdots, A^{n-1}\}$ form a basis, then we can express a polynomial in $B$, $\displaystyle \sum_{k=0}^{n-1} b_k B^k$, as:</p>
<p>$$\begin{pmatrix}
a_{00} & a_{10} & a_{20} & \cdots & a_{(n-1)0} \\
a_{01} & a_{11} & a_{21} & \cdots & a_{(n-1)1} \\
a_{02} & a_{12} & a_{22} & \cdots & a_{(n-1)2} \\
\vdots & \vdots & \vdots & \vdots & \vdots \\
a_{0(n-1)} & a_{1(n-1)} & a_{2(n-1)} & \cdots & a_{(n-1)(n-1)} \\
\end{pmatrix}
\begin{pmatrix}
b_0 \\ b_1 \\ b_2 \\ \vdots \\ b_{n-1}
\end{pmatrix}$$</p>
<p>Since we want the polynomial to equal $A$, we would need to solve:</p>
<p>$$\begin{pmatrix}
a_{00} & a_{10} & a_{20} & \cdots & a_{(n-1)0} \\
a_{01} & a_{11} & a_{21} & \cdots & a_{(n-1)1} \\
a_{02} & a_{12} & a_{22} & \cdots & a_{(n-1)2} \\
\vdots & \vdots & \vdots & \vdots & \vdots \\
a_{0(n-1)} & a_{1(n-1)} & a_{2(n-1)} & \cdots & a_{(n-1)(n-1)} \\
\end{pmatrix}
\begin{pmatrix}
b_0 \\ b_1 \\ b_2 \\ \vdots \\ b_{n-1}
\end{pmatrix}
=
\begin{pmatrix}
0 \\ 1 \\ 0 \\ \vdots \\ 0
\end{pmatrix}$$</p>
<hr>
<p>Until now I have transformed the problem into a problem in linear algebra, but is utterly useless. Firstly, $\{A^k \ | \ 0 \le k < n\}$ may not even be linearly independent.</p>
| 0non-cybersec
| Stackexchange |
Tangent to a circle. <blockquote>
<p>The positive value of <span class="math-container">$\lambda$</span> for which the straight line <span class="math-container">$4x-3y+\lambda=0$</span> touches the circle <span class="math-container">$x^2+y^2-4x+6y-3=0$</span> is <span class="math-container">$4/3/5/8$</span>?</p>
</blockquote>
<p>My attempt: center is <span class="math-container">$(2,-3)$</span>. Radius is <span class="math-container">$\sqrt{4+9+3}=4$</span>. So, distance of the center from the tangent should be equal to radius.<span class="math-container">$$\implies \frac{8+9+\lambda}{5}=4$$</span><span class="math-container">$$\implies 17+\lambda=20$$</span><span class="math-container">$$\implies\lambda=3$$</span> I think this is correct. But when I do it with a different method, I don't get the answer. The equation of the given line can be written as <span class="math-container">$3y=4x+\lambda$</span>, or, <span class="math-container">$y=\frac43x+\frac\lambda3$</span>. And the equation of tangent to circle with slope <span class="math-container">$m$</span> is <span class="math-container">$y=mx\pm4\sqrt{1+m^2}$</span>. On comparing the two equations, I get <span class="math-container">$m=\frac43$</span>. <span class="math-container">$$\implies4\sqrt{1+(\frac43)^2}=\frac\lambda3$$</span><span class="math-container">$$\implies\lambda=20$$</span> What am I doing wrong?</p>
| 0non-cybersec
| Stackexchange |
Anyone heard of 'tank tracking'?. <p>Someone I know told me about some seriously cutting edge blackhat SEO that he called 'tank tracking'. He said that it is some sort of code (he believes written in Python) that 'sits' around the outside perimeter of your visible webpage and listens for an incoming search spider. when a spider enters the page, it traps it in this weird wormhole, making it loop through, I don't know, certain keywords or something.... the result is that a SE like google would consequently give the page a full 100 rating (this person told me Google bestows some sort of scoring app once you've passed a certain number of their exams). A quick google search on 'tank tracking seo', 'tank tracking blackhat seo' and 'tank tracking google' yielded zero results.<br>
Let me backtrack a bit and say that I am not interested in utilizing blackhat techniques. I'm just astonished that something like this might be out in the world. Anyone heard of this? </p>
<p><strong>UPDATE</strong> I have tried googling "seo honeypot" and "search engine honeypot" and "search engine wormhole" and I cannot find anything anywhere about this. Either the hackers who are doing this stuff aren't commenting about it at all online or it just doesn't exist in the way I was told it exists. I appreciate your helpful answers. </p>
| 1cybersec
| Stackexchange |
What is the difference between meaning and denotation?. <p>In programming language semantics, it is often heard that people talking about <strong>meaning</strong> and <strong>denotation</strong>. They seem not to be the same. What is the difference? Is the former associated with operational semantics while the latter with denotational semantics? Thanks.</p>
| 0non-cybersec
| Stackexchange |
Django — async_to_sync vs asyncio.run. <p>We can use both functions to run any async function synchronously:</p>
<pre><code>import asyncio
from asgiref.sync import async_to_sync
asyncio.run(asyncio.sleep(1))
async_to_sync(asyncio.sleep)(1)
</code></pre>
<p>What is the difference? Can we <em>always</em> use <code>asyncio.run</code> instead of <code>async_to_sync</code>? </p>
| 0non-cybersec
| Stackexchange |
How to keep width of SELECT Element small but OPTIONs flexible. <p><strong>Problem:</strong></p>
<p>My dropdown is loaded dynamically has some options that are quite long and this is messing up my page layout. I'd like the size of the <code>select</code> element to be small but when expanded, allow the user to see all the long <code>options</code>. To do this I have set the <code>width</code> of the <code>SELECT</code> to a fixed value e.g <code>width:200px;</code> </p>
<p><strong>Expected/Desired Behavior (Works in Chrome)</strong></p>
<p><img src="https://i.stack.imgur.com/pmS4S.jpg" alt="enter image description here">
<strong>Actual Behavior in IE8</strong></p>
<p><img src="https://i.stack.imgur.com/Or9jW.jpg" alt="enter image description here"></p>
<p><strong>What I have tried:</strong></p>
<pre><code>select{
overflow:show;
}
option{
overflow:show;
width:1000px;
}
</code></pre>
<p><strong>SIMPLIFIED FIDDLE:</strong></p>
<p><a href="http://jsfiddle.net/gCbhq/2/" rel="noreferrer">http://jsfiddle.net/gCbhq/2/</a></p>
| 0non-cybersec
| Stackexchange |
It do be like that tho. | 0non-cybersec
| Reddit |
fucking cold med tina. | 0non-cybersec
| Reddit |
How to solve this integral that comes out to have iota and sinh-1??. <p>This is an integral which I'm unable to solve till now. </p>
<p>$$\int \sqrt{ x + \frac1x}\text{d}x $$</p>
<p>I thought if Wolfram|Alpha solved it I would get some idea of how to solve it, but it gave a really complicated answer for it: <a href="http://www.wolframalpha.com/input/?i=integral+(x%2B(1%2Fx))%5E0.5" rel="nofollow">http://www.wolframalpha.com/input/?i=integral+(x%2B(1%2Fx))%5E0.5</a></p>
<p>Maybe a substitution so that the squareroot vanishes (i.e. a squared substitution), but that didn't help me either. Any hints on how to solve it? I'd like to try to solve it first before knowing the solution.</p>
<p>Thanks!</p>
| 0non-cybersec
| Stackexchange |
outline image over entire page width. <p>I am probably not the first to ask this question but I have tried every answer I could find before asking it here.
The problem is that I want an image (eps) be on the top of the page.</p>
<p>I want to add a header on the top of the page starting at an inch from the top and starting at the side of the page (no margin).
I have tried \noindent , raisebox & makebox, outlining it to the left.... All the answers I could find. </p>
<p>However, I keep getting this.
I want it to be higher and starting from the left side of the paper.</p>
<p><img src="https://i.stack.imgur.com/4kBTF.jpg" alt="enter image description here"></p>
<p>Code:</p>
<pre><code>\documentclass[11pt]{article}
\usepackage{graphicx}
\usepackage[a4paper]{geometry}
\usepackage{epstopdf}
\begin{document}
\begin{titlepage}
\begin{center}
\raisebox{100pt}{\includegraphics[width=\paperwidth]{figures/eb.eps}}
\end{center}
\end{titlepage}
\end{document}
</code></pre>
<p>Thank you in advance!</p>
| 0non-cybersec
| Stackexchange |
fstab parse error when adding mhddfs entry. <p>Having zero luck getting mhddfs to boot automatically. Also tried the rc.local addition to no avail. Here is my fstab. Let me know if there's anything else I can do to help figure this out.</p>
<pre><code># <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=dd3d249f-6912-4979-88c0-ee02c72c1875 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=44B0-FDB4 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sdb3 during installation
UUID=e6b9121b-a133-4222-a547-65c3fb652d2b none swap sw 0 0
mhddfs#/media/andrew/WD60EZRZ,/media/andrew/8TB,"/media/andrew/Seagate Expansion Drive" /Storage fuse allow_other,nofail,defaults 0 0
</code></pre>
<p>How can I add my <code>mhddfs</code>?</p>
| 0non-cybersec
| Stackexchange |
$x_1$ such that given sequence $(x_n)$ converges. <p>Let <span class="math-container">$(x_n)_{n \in \mathbb N}$</span> be a sequence in <span class="math-container">$\mathbb R$</span> such that <span class="math-container">$|4-x_{n+1}|<q|4-x_n|^2$</span>, <span class="math-container">$\ q>0$</span></p>
<p>Under what circumstances for the initial value <span class="math-container">$x_1$</span> can we guarantee that <span class="math-container">$(x_n)_{n\in \mathbb N}$</span> converges?</p>
| 0non-cybersec
| Stackexchange |
This brand new box of 500 envelopes. | 0non-cybersec
| Reddit |
when update composer guzzle abandoned error. <p>When composer update this error occur</p>
<pre><code>Package guzzle/guzzle is abandoned, you should avoid using it.
Use guzzlehttp/guzzle instead.
</code></pre>
<p>How can I fix that?</p>
| 0non-cybersec
| Stackexchange |
Saw this recently and have been smiling since, hope it does the same for you guys and gals. | 0non-cybersec
| Reddit |
What are some books you read growing up that most likely are the reason you got hooked on books?. My younger brother (13) isn't down with reading, yo. I'm trying to put together a shopping list to pique his interest.
I thought I'd start with Calvin and Hobbes, throw in "Where the Red Fern Grows" somewhere in there. A little bit of "The Outsiders". Can I get a "The Boy in the Striped Pajamas".
Anyways, I'd love to hear what you all read when you were growing up, why it was so great.
Thanks!
Thank you all for taking the time to reply. This list is getting really awesome! | 0non-cybersec
| Reddit |
[USA][MN] Left turn from right lane. | 0non-cybersec
| Reddit |
To track clicks on a div using google analytics. <p>I have multiple DIVs with unique IDs. Each DIV onclick slides down and shows some content below it.</p>
<p>I would like to track the clicks on each DIV to know which DIV is being clicked the most.</p>
<p>How do I do this with google analytics?</p>
| 0non-cybersec
| Stackexchange |
Columbia Pictures's 1934 photograph in protest of the Hays Code. | 0non-cybersec
| Reddit |
Can't Change the default python to 3.7 in ubuntu 19.10?. <p>I am not very experienced at Linux but I recently installed Ubuntu 19.10 and I am trying to use Python 3 and the default is Python 2. I spent a lot of time reading how to configure Ubuntu to run Python 3 but I felt to do it. Can anyone please help me? I used these commands but nothing works...</p>
<pre class="lang-bash prettyprint-override"><code>sudo update-alternatives --list python
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7
</code></pre>
| 0non-cybersec
| Stackexchange |
I somehow made our linux box's "CP" command act differently than the default, how can I revert it back to default?. <p>Title explains it;</p>
<p>Somehow in installing the 'z' directory jumper, I made our linux machines CP command act strangely (for example: it no longer prompts for overwrites, it auto-forces it whether we want it or not) - does anybody know how to revert my linux box's CP command back to its default setting?</p>
| 0non-cybersec
| Stackexchange |
I've lost 47 pounds since May and was feeling pretty discouraged after not seeing any progress (stats and pics inside). That was until I looked at a picture from before my journey! For starters, I am about 6', 19 years old, and used to weigh 315 pounds. This morning before work I weighed in at 268, and was feeling pretty proud of myself so I took a selfie at work. Here are my before and after pics:
http://imgur.com/a/bRQFT
The before pic is in May, weeks before I started calorie counting and walking everyday. Oddly enough I was wearing the same shirt in both pictures which is actually was made me think to check the other picture and compare the two.
I usually go for a 1-3 mile run/walk 2 or 3 days a week, in addition to going the gym 3 or 4 times a week for strength training. Progress could be a little faster, but I'll admit, I do slip often when it comes to staying under my calorie goal. (I'm a foodie what can I say)
Just looking at the difference is astounding. If I can do it, anyone can do it. I still have quite a ways to go (final goal weight is about 180), but I'm confident that I'm on the right track. Thank you to everyone in this sub for your kind words and loads of motivation - you guys are pushing me through this! | 0non-cybersec
| Reddit |
Cushioned running shoes or barefoot/minimalist shoes? Both sides claim fewer running injuries. Where does the scientific consensus lie?. | 0non-cybersec
| Reddit |
This is (maybe?) the best destiny story you will read.. Year one player here. Before this game, I had never raided in a video game. The vault of glass was the most jaw dropping experience, and this game has meant alot to me for the last two years.
For those two years, I played on my girlfriend's account, which was actually her brother-in-law's xbox profile. Three months ago, he cheated on his wife, and decided to change his password. I couldn't ask him for it back, because it would be wrong for me to talk to the guy in a nasty custody battle. All of my thousands of hours in the game were lost. ToM, sleeper, all my nostalgic year one shaders. Gone forever.
So I grind my way back to LL334, because I am in love with this game. In two years, I had never gone to the light house. Pickup groups for a raid are always a treat for me. I work in customer service, so squeakers and rage don't phase me. But pickup for trials with no credentials? Absolute nightmare. People asking you for money. Must have gone flawless before. Salt. Booted. I killed skolas in year one, and ran hardmode KF back when we were all 308, but I was always saving trials for something I would get to eventually, to complete my destiny experience.
Today, I gave it a whirl. Rage filled kids, people asking me for money, getting booted with the second best performance. Always willing to learn, follow, and communicate.
I posted "looking for chill run" and got an invite. These incredibly polite Scotsmen and I had the strangest good luck. They knew more and less than i did, and were incredibly chill and polite, just trying to have fun and enjoy the game. We racked up four wins, and then they realized my card had no boones so we went back to start a fresh cards with all boons together. That should have been my first clue..
At 7 wins we got beaten by some pros. On the ninth, a rematch. We went flawless. My personal destiny moments of triumph was complete. Only then did they reveal that they were streamers on twitch, that they had thousands of runs together and they had been secretly committed to getting my ass to Mercury, posing as casuals. They knew the opposition that held the keys to our perfect run, but they couldn't talk about adjusting their strategy to guarantee success because it would've ruined the illusion. They gave me a tour, and I was almost crying with joy. They complimented me, gave me pointers and praise for my contribution. They said the toxicity of the lfg community with regard to trials is unfortunate, and they help people like me from time to time, with a true love for the game, and that I couldnt pay them if I wanted to. The last three months of grinding back to the end game before the next dlc, so perfect, so poetic with this experience to top it all off.
I am humbled and eternally grateful to these champion guardians, these truly beautiful people. I won the destiny lottery and met two destiny Santa Claus/Jesus sherpas who gave me the best video game experience I've ever had.
Thank you gentlemen.
Tldr: poetic justice exists, and there are some really, really good people in the world. Some of them play destiny.
*minor edits for accuracy | 0non-cybersec
| Reddit |
How do I setup an Endpoint URL with a Path Parameter within API Gateway?. <p>I'm trying to setup an API Gateway in front of my existing setup. Whenever I try to add an endpoint with a parameter, I get an error.</p>
<pre><code>Invalid mapping expression specified: Validation Result: warnings : [], errors : [Invalid mapping expression parameter specified: method.request.querystring.type]
</code></pre>
<p>Here are screenshots:</p>
<p><a href="https://i.stack.imgur.com/9FFFq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9FFFq.png" alt="enter image description here"></a></p>
<p><a href="https://i.stack.imgur.com/aN7I2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/aN7I2.png" alt="enter image description here"></a></p>
<p>What am I doing wrong?</p>
| 0non-cybersec
| Stackexchange |
Index sets and extensional many-one reductions. <p>Let <span class="math-container">$\varphi_0,\varphi_1,\varphi_2,\dots$</span> be an acceptable programming system. A function <span class="math-container">$f$</span> is extensional if, for all <span class="math-container">$x$</span> and <span class="math-container">$y$</span>, <span class="math-container">$\varphi_x=\varphi_y$</span> implies that <span class="math-container">$\varphi_{f(x)}=\varphi_{f(y)}$</span>. Now, let <span class="math-container">$A$</span> and <span class="math-container">$B$</span> index sets such that <span class="math-container">$A\leq_{m}B$</span> (<span class="math-container">$A$</span> is many-one reducible to <span class="math-container">$B$</span>). Is there an extensional function <span class="math-container">$f$</span> such that <span class="math-container">$f$</span> is an <span class="math-container">$m$</span>-reduction from <span class="math-container">$A$</span> to <span class="math-container">$B$</span>? </p>
| 0non-cybersec
| Stackexchange |
Number mhchem reactions and create a \listofreactions. <p>Is there a way to create an environment for reactions defined with mhchem that behaves similarly to equation in terms of numbering the reactions (including a \nonumber command)? Can I get a list of those reactions?</p>
<pre><code>\documentclass{article}
\usepackage[version=3]{mhchem}
\newcounter{rxnum}
\newenvironment{reaction}{
\refstepcounter{rxnum}
\noindent
%???
}{
%???
\par\noindent
}
\begin{document}
\begin{reaction}
\ce{X + Y -> XY}
\end{reaction}
\begin{reaction}
\ce{XX + YY -> X2Y2} \\%<- newline just like in equation
\ce{A + B -> C}
\end{reaction}
\end{document}
</code></pre>
<p>This is a two part question. The first part is about creating an environment that behaves similarly to equation, but for reactions defined in mhchem. I had a look in source2e in the definition of equation (around l. 293 in source2e) but couldn't quite figure out how to transfer that onto my new environment.</p>
<p>The second part is about how to create a list of those reactions containing the reaction number, the page they occur on and optional a description that is only printed in the \listofreactions.</p>
<p>For example:</p>
<p>In the code I write</p>
<pre><code>\begin{reaction}
\ce{X + Y ->XY}\descriptionforlist{XY formation reaction}\\
\ce{A +B -> C}
\ce{G + H -> J}\nonumber
\end{reaction}
</code></pre>
<p>Then in the list it should appear as</p>
<p><strong>List of reaction</strong></p>
<pre><code>R 1: XY formation reaction 6
R 2: 6
</code></pre>
| 0non-cybersec
| Stackexchange |
Gran Canaria Holiday!. | 0non-cybersec
| Reddit |
See all items sorted by price on Newegg?. So I've got a 5$ gift card on NewEgg and I'd like to buy some cheap stuff but I can't figure out a way to have all the items that they sell sorted by price.
Anyone knows how? | 0non-cybersec
| Reddit |
Why does $t^{i\lambda}=\cos(\lambda \ln(t))+\sin(\lambda \ln(t))$?. <p>My equation was
<span class="math-container">$$tf''(t)+f'(t)+\frac{\lambda^2}{t}f(t)=0$$</span>
where <span class="math-container">$\lambda \in \mathbb{R}$</span>. I set <span class="math-container">$f(t)=t^{m+1}$</span> and solve from there to obtain <span class="math-container">$m=\pm i\lambda$</span>. The general solution then is <span class="math-container">$$f(t)=c_1 \cos(\lambda \ln(t)) + c_2 \sin(\lambda \ln(t))$$</span>
which I obtained via a table in the my book for Euler-Cauchy method. </p>
<p>Can anyone tell me why <span class="math-container">$t^{i\lambda}=\cos(\lambda \ln(t)) + i \sin(\lambda \ln(t))$</span>? I've been trying to figure this out for a few hours, and it has been awfully unsuccessful. :(</p>
| 0non-cybersec
| Stackexchange |
Friend asked me to design her a tree tattoo.. | 0non-cybersec
| Reddit |
[Spoilers] Re:Zero Episode 19 Preview. | 0non-cybersec
| Reddit |
To the last drop.. | 0non-cybersec
| Reddit |
There's got to be a better place to put this. *FIX*. | 0non-cybersec
| Reddit |
Following the post from the woman asking about sex positions with her heavy boyfriend, I think it was really good for people in this sub to hear from those of us who have fat partners or are fat and in a happy, sexy relationship, so.... I think now would be a really good time for the folks of this sub to speak up about their beloved heavier partners. It sucks that there's this constant stereotype of no one ever being attracted to heavier people, and usually the only posts we see on this are things like "my girlfriend/boyfriend is gaining weight and I'm not into it". It would be nice to have more of a dialogue in which we acknowledge that fatter folks can and often do have fulfilling love and sex lives.
Someone asked about my own experiences, so:
I'm about 5'4" and my weight fluctuates but generally sits around 78kgs. My boyfriend is 6' and around 115kgs and I think he's completely and utterly gorgeous. We were actually friends with benefits for a really long time because even though dating initially seemed like a bad idea, we simply couldn't keep our hands off each other. I don't love his body despite his weight; his shape and size are part of the appeal. He loves my body as part of a very wide range of body types he can be attracted to (his joke is that his type is "women"). It just makes me so so sad to hear from folks who say they hate themselves and consider themselves unworthy of love because they're fat, and I wanted to make the thread because reading and hearing that from friends and from strangers on the Internet just breaks my heart. | 0non-cybersec
| Reddit |
What is a reasonable manufactured solution to test finite difference method?. <p>What is a reasonable manufactured solution to test the following equation against its finite difference approximation? I want it to look like a Cosine function about $0$, rotated about $Z$ axis (basically not varying about $\theta$) such that $f$ turns out to be a not so bad function in terms of $r,\theta$</p>
<p>$$u_{rr} \;+\; \frac{1}{r} u_r \;+\; \frac{1}{r^2} u_{\theta\theta}\;+\; Cu \;=\; f(r,\theta)$$</p>
| 0non-cybersec
| Stackexchange |
How does a new node know where to connect to initially?. <p>Is there a default (centralized) set of IPs that a node connects to when it's just starting up for the first time, in order to get the list of other nodes' Ips? What happens if these initial IPs are down, blocked or banned?</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 |
This workplace safety video takes itself a little too seriously. | 0non-cybersec
| Reddit |
For me I think the sooner Fight corona virus bam shirt . The better that you tell them my children always knew that there was no Santa Claus or Easter Bunny or fairy talecreatures. Because I never wanted to lie to them.. | 0non-cybersec
| Reddit |
What is the name and location of the Nginx config file (htaccess equivalent)?. <p>There are many <a href="http://hiteshjoshi.com/linux/secure-nginx-and-codeigniter-configuration.html" rel="noreferrer">tutorials</a> on how to write Nginx rewrite rules to mimic Apache's .htaccess file but I can't confidently say I know what the name or location of this so-called Nginx config file actually is. I'm specifically looking for the Nginx config file that allows you to write server path and PHP directives. I'm using Ubuntu 12 linux and Codeigniter as my PHP framework.</p>
<p>Here's what I know so far:</p>
<ol>
<li>This file: <code>/etc/nginx/nginx.conf</code> despite its enticing name is apparently not the place for server directives.</li>
<li>This file: <code>/etc/nginx/sites-available/default</code> seems like what I need (i'm able to generate php errors specific to my app) but I can't get the Codeigniter-specific path routing correct. First of all, is this the "config" file/.htaccess equivalent everyone speaks of?</li>
</ol>
| 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 |
Citing multiple references in ACM template. <p>I used ACM <a href="http://www.acm.org/publications/article-templates/acm-latex-style-guide" rel="nofollow">small standard format</a>, it seems when I have a citation like</p>
<pre><code>\cite{ref1, ref2}
</code></pre>
<p>The second reference is not shown in the output and a question mark is shown in its place.</p>
| 0non-cybersec
| Stackexchange |
Contacts in new look Gmail 2018. <p>I've turned on the <a href="https://www.blog.google/products/gmail/stay-composed-heres-quick-rundown-new-gmail/" rel="nofollow noreferrer">new Gmail</a>, and now notice that my Contacts button has disappeared. It used to be above Compose. Does anyone know where it has gone to?</p>
| 0non-cybersec
| Stackexchange |
how to. | 0non-cybersec
| Reddit |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.