text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
Where can I find a list of icon images for the dojo toolkit dijit widgets?. <p>Simple question I guess, but despite some googling I'm no closer to finding an answer. Does anyone know where to find a list of the icons available in the Dojo toolkit?</p>
0non-cybersec
Stackexchange
What is the expected value of this formula?. <p>Let $Π = (π_1,π_2,...,π_n)$ be a random permutation of {1, 2,..., n}.<br> What is the expected value of $$ \frac{1}{n} \sum_{i=1}^n |\pi_i-i|? $$</p>
0non-cybersec
Stackexchange
Cookie Dough Ice Cream.
0non-cybersec
Reddit
Why Should We Support the Idea of an Unconditional Basic Income? - An answer to a growing question of the 21st century.
0non-cybersec
Reddit
Not Able to FTP for Wget. <p>I am trying to do wget <a href="ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2" rel="nofollow noreferrer">ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2</a></p> <p>I am running Ubuntu Server 14.04.5 on a VM at work... I'm ssh'd into the server via PuTTY.</p> <p>When I try wget it keeps getting stuck on:</p> <pre><code>sudo wget ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2 --2017-03-27 14:36:22-- ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-4.3.2.tar.bz2 =&gt; ‘gmp-4.3.2.tar.bz2’ Resolving gcc.gnu.org (gcc.gnu.org)... 209.132.180.131 Connecting to gcc.gnu.org (gcc.gnu.org)|209.132.180.131|:21... connected. Logging in as anonymous ... Logged in! ==&gt; SYST ... done. ==&gt; PWD ... done. ==&gt; TYPE I ... done. ==&gt; CWD (1) /pub/gcc/infrastructure ... done. ==&gt; SIZE gmp-4.3.2.tar.bz2 ... 1897483 ==&gt; PASV ... couldn't connect to 209.132.180.131 port 10190: Connection timed out Retrying. </code></pre> <p>I have ufw enabled; however, I have tried to toggle on and off the ftp port to no avail.</p> <p>Right now my ufw status is allowing 22 from my company's subnet . . . thought adding a rule that allowed 209.132.180.131 would help; however, it doesn't.</p> <p>Any recommendations of what else to check?</p> <p>Thanks!</p>
0non-cybersec
Stackexchange
Alex Jones’ InfoWars terms of service makes same argument companies used to ban him..
0non-cybersec
Reddit
Elliptic Curve Group and Multiplicative Inverse of an element.. <p>Suppose $E$ be an Elliptic Curve over a field $F_q$ and $q=p^n$ where $p=$ prime. We know that the Elliptic Curve group $E(F_q)$ under addition is an Abelian/Commutative Group of order, $\#E(F_q)=q+1-t$ where $|t|\leq2\sqrt{q}$, and the structure of this group is either cyclic or almost cyclic.</p> <p>Since the point addition and doubling formulas need multiplicative inverse to be computed so how can it be proven that all the elements in $E(F_q)$ have multiplicative inverse?</p>
0non-cybersec
Stackexchange
Vulnerability on a series of D-Link routers allows remote code execution but will not be fixed !!!!.
1cybersec
Reddit
French Onion Soup (4048 X 3036).
0non-cybersec
Reddit
I want to log everything with iptables. How can I do so?. <p>I want to log everything with <code>iptables</code>.</p> <p>I have tried-</p> <pre><code>iptables -I INPUT 1 -j LOG iptables -I FORWARD 1 -j LOG iptables -I OUTPUT 1 -j LOG iptables -t nat -I PREROUTING 1 -j LOG iptables -t nat -I POSTROUTING 1 -j LOG iptables -t nat -I OUTPUT 1 -j LOG service iptables save </code></pre> <p>Also, I was wondering what all the above will log?</p>
0non-cybersec
Stackexchange
Does anyone else just kind of wish they had someone to show them how to do all the manly stuff they've never got the hang of?. Inspired by the [r/AskWomen post](http://www.reddit.com/r/AskWomen/comments/2utfnu/what_is_something_that_isnt_mentioned_about_daily/) from a few days ago.
0non-cybersec
Reddit
typical way of running clojure programs. <p>I'm new to Clojure and really confused about how I should run Clojure programs. </p> <p>My first question is whether every Clojure program is a Leiningen package? If I want to write do I start by creating a new Leiningen project? Is there a to run Clojure programs similar to Python(ie <code>python pyfile.py</code>)</p> <p>I realize this might be a stupid question, but I've been confused about this for a while and the few books/tutorials I've gone through don't seem to answer this question properly. Upto now, I've been running Clojure code just in the REPL.</p>
0non-cybersec
Stackexchange
Start with a topological group, take the meet of the two uniformities, and take the topology. Is the result again a topological group?. <p>And what else can be said, if so?</p> <p>In more detail: Say $(G,\mathscr{T})$ is a topological group. It has a left uniformity $\mathscr{L}$ and a right uniformity $\mathscr{R}$. (It also has a two-sided uniformity $\mathscr{U}$, which is the join of the two.)</p> <p>Now, uniformities on a given set form a complete lattice, so we can also consider the meet of the two, $\mathscr{V}$. However, the meet of two uniformities that yield the same topology does not necessarily again yield the same topology, so it's possible that $\mathscr{T}'$, the topology coming from $\mathscr{V}$, is coarser than our original topology $\mathscr{T}$.</p> <p>(Obviously, this does not happen if the group is balanced, i.e. $\mathscr{L}=\mathscr{R}$; it also does not happen if $\mathscr{T}$ is locally compact, since the meet of two uniformities yielding the same locally compact topology does again yield the same topology. <strike>I think it also can't happen if $G$ embeds in a locally compact group, but I didn't work out all the details there</strike>. Actually, I don't know an actual case where this does happen, so I guess a first question I can ask is, are there any actual examples of this?)</p> <p>So my question is, is $(G,\mathscr{T}')$ again a topological group? Obviously inversion is continuous, since $\mathscr{V}$ makes inversion uniformly continuous, but it's not clear what would happen with multiplication.</p> <p>If it is a topological group, then we can ask things like, how does $\mathscr{V}$ compare to $\mathscr{L}'$, $\mathscr{R}'$, $\mathscr{U}'$, and $\mathscr{V'}$? (Well, obviously it's coarser than the last of these.) And considering $\mathscr{T} \mapsto \mathscr{T}'$ as an operation on group topologies on $G$, what happens when we iterate it? When we iterate it transfinitely?</p>
0non-cybersec
Stackexchange
Redirect HTTP to HTTPS with WWW in Nginx. <p>I am using letsencrypt ssl. When i access site with domain.com, it gets redirected to <a href="https://domain.com" rel="nofollow noreferrer">https://domain.com</a> but i want <a href="https://www.domain.com" rel="nofollow noreferrer">https://www.domain.com</a> !</p> <p>I have added www as alias for domain.com in dns panel for accessing site with www. but Now i am getting double redirection. </p> <p>First redirection : domain.com to https:// domain.com, Second redirection : https:// domain.com to https:// www.domain.com </p> <p>I want to achieve this in single 301 redirection. already tried multiple solutions given in SF. but it didn't work. Anyone got idea ?</p>
0non-cybersec
Stackexchange
A general form of a matrix $A$ raised to a natural power, $A^k$.. <p>Suppose I have the $2\times 2$ matrix:</p> <p>$$A = \left( \begin{array}{cc} a &amp; b \\ c &amp; d \end{array} \right)$$ </p> <p>I want to find the general matrix $A^k$ where $k\in \mathbb{N}$.</p> <p>I.e I want to find: $$A^k = \left( \begin{array}{cc} A(a,b,c,d) &amp; B(a,b,c,d) \\ C(a,b,c,d) &amp; D(a,b,c,d) \\ \end{array} \right) $$</p> <p>I want to find $A,B,C,D$ as explicit functions of $a,b,c,d$.</p> <p>Same question for the general $n\times n$ matrices.</p>
0non-cybersec
Stackexchange
[FRESH EP] SpaceGhostPurrp - Winter's Mine 4.
0non-cybersec
Reddit
Should I use a root namespace?. <p>I'm currently working on a couple projects in Flash ActionScript, and I've been building up a small library of classes. I've been using a naming convention similar to:</p> <p><code>foo.events.Bar</code> and <code>foo.controls.Baz</code>, but I've noticed that many people have released their libraries in the <code>com</code> and <code>org</code> package/namespace (i.e. <code>com.foo.events.Bar</code> and <code>com.foo.controls.Baz</code>). I assume the meaning of <code>com</code> is <code>common</code> or <code>community</code>, and that <code>org</code> is <code>organization</code>.</p> <p>Is there a particular reason to adding an <em>additional</em> namespace?</p> <p>Is this common for namespaced languages (Java, C#, AS3,...)?</p>
0non-cybersec
Stackexchange
I am booting Ubuntu 15.10 from a Transcend Jetflash USB drive. getting kernal vesamenu.c32 not found. <p>I am booting Ubuntu 15.10 from my flash drive, and I am getting the error for kernel image vesamenu.c32 (i cant recall the exact error message. The original OS on the C:/ drive is Windows XP.</p> <p>Can I find the vesamenu.c32 on the internet, download it, and copy it to the correct directory? If so, how many places is it used? Also, if its possible, can you write me a batch (.bat) file for windows to copy it to all the right places? (Or tell me how to write one?)</p> <p>Thx</p> <p>Addition to question:</p> <p>What I am saying is 'is it possible to find the vesamenu.c32 on the internet, download it, and copy it to the appropriate directories? If so, pls tell me where</p>
0non-cybersec
Stackexchange
VSCode - close big red stack trace error box (python). <p>Using VSCode to write/test python, problem happens when in debug mode.</p> <p>Several updates ago, VSCode began showing the current stack trace error report in a big red box that inserts into the active code window. I was fine with it being down in the terminal, but here it is - and I cannot seem to close it.</p> <p>The problem is that I am in debug mode, so the current variable values are all still present and visible when hovered, and I wish to hover different variables -- but the big red box is taking most of the screen space.</p> <p>(1) Is there a way to close the box, while remaining in debug mode? <em>(It closes automatically when click the reddish square to stop debug)</em></p> <p>(2) Is there a way to turn off this new feature, perhaps in user settings? (That is, just leave the error messages down in the terminal window?)</p> <p>(3) IF NOT - does anyone know if a github issue has been opened for this? (Yes, I searched, did not see one, but perhaps this thing is not properly called a <code>big red box</code> - is there something else I should search for?</p> <p><a href="https://i.stack.imgur.com/8mPh8.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/8mPh8.jpg" alt="Big Red Box stack trace error report"></a></p>
0non-cybersec
Stackexchange
I thought this belonged here... Not my content, just a pretty cool look at linguistics in America..
0non-cybersec
Reddit
Disco Elysium - The Great Internationale Announcement and Working Class Update (More languages, improved performance, tons of bug fixes).
0non-cybersec
Reddit
How do I prove that $X^{p^n}-X$ is the product of all monic irreducible polynomials of degree dividing $n$?. <blockquote> <p>How do I prove that $X^{p^n}-X$ is the product of all monic irreducible polynomials in $\mathbb Z_p[X]$ of degree dividing $n$?</p> </blockquote> <p>Let $\bar Z_p$ be an algebraic closure of $Z_p$.</p> <p>Define $F=\{x\in \bar Z_p|x^{p^n}-x=0\}$.</p> <p>Then $X^{p^n}-X=\prod_{\alpha\in F} X-\alpha$.</p> <p>Now $S$ be the set of monic prime polynomials of $Z_p[X]$ of which degree divides $n$.</p> <p>Then, I know that $F=\bigcup_{f\in S} \{x\in \bar Z_p| f(x)=0\}$.</p> <p>With this information, how do I prove that $X^{p^n}-X$ is actually the product of all elements of $S$?</p> <p>To assure the equality, I think it must be shown that $\{x\in \bar Z_p|f(x)=0\}$ are mutually disjoint, but I don't know how to show this</p>
0non-cybersec
Stackexchange
404 error for WebResource.axd with fastcgi-mono-server4. <p>I have a simple ASP.NET WebForms app that I created in Windows and copied over to a Linux server (Ubuntu 14.04) that is running fastcgi-mono-server4 and nginx. The app runs fine on windows, but when running on mono it fails to get the <code>WebResource.axd?d=...</code> script because of a 404 error. As such, all postbacks fail because <code>WebForm_OnSubmit()</code> is undefined.</p> <p>If I remove my <code>ScriptManager</code> and all validators from the page, it runs fine on mono because <code>WebResource.axd</code> is no longer required. However, I don't want to do that because I want to use AJAX.</p> <p>I tried the solution in <a href="https://serverfault.com/questions/118184/webresource-axd-and-scriptresource-axd-404-not-found">this post</a>, but it had no effect. I also tried adding that tag to the <code>system.webServer/handlers</code> section, but that did not work either.</p> <p>I also tried following <a href="http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/" rel="nofollow noreferrer">this article</a> to use AJAX without a ScriptManager. It worked fine on windows, but failed in mono by giving me a 404 error for all of my web service requests.</p> <p>So my question is: why do I get a 404 error when trying to download <code>WebResource.axd</code>, and how do I fix it? Is there some mono or nginx configuration that I need to fix?</p> <p>EDIT: here is my nginx configuration:</p> <pre><code>server { listen 80; server_name www.example.com; access_log /var/log/nginx/example.access.log main; location / { root /var/www/www.example.com; index Default.aspx; try_files $uri $uri/ /Default.aspx; fastcgi_index Default.aspx; fastcgi_pass 127.0.0.1:9000; include /etc/nginx/fastcgi_params; fastcgi_param PATH_INFO ""; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } </code></pre>
0non-cybersec
Stackexchange
It's a Small Intestine.. It's a road of wonder, a trail of food. It's a pathway to break up the bad and good. It's a tube that digests and then sends (?) out the rest. It's a small, small intestine. It's a small intestine, isn't it? It's a small intestine, isn't it? It's a small intestine, isn't it? It's a small, small intestine It's a small, small intestine It's a small intestine, isn't it? Oh, science! This song is so gross, yet hypnotic. I think this can replace Futurama for me. EDIT: fixed per relder17
0non-cybersec
Reddit
Bluetooth Device Shows Up In Menu But Not In Preferences. <p>I have an issue where an old iPhone I no longer own shows up in the Bluetooth menu but not in the bluetooth preferences. Screenshots below. Anyone else experiencing this? How to go about removing the item "iPhone-FFFV" below?</p> <p><img src="https://i.stack.imgur.com/aYw0k.png" alt="iPhone-FFFV in menu."> <img src="https://i.stack.imgur.com/DiP3Y.png" alt="No option to remove iPhone-FFFV in preferences."></p>
0non-cybersec
Stackexchange
Law of Cosines and Heron&#39;s Formula in inequalities. <p>I had the following question:</p> <blockquote> <p>Suppose <span class="math-container">$a$</span>, <span class="math-container">$b$</span>, and <span class="math-container">$c$</span> are non-zero real numbers, and <span class="math-container">$x$</span>, <span class="math-container">$y$</span>, and <span class="math-container">$z$</span> satisfy the equations <span class="math-container">$$ bx + ay = c, cx + az = b, cy + bz = a. $$</span> Prove that <span class="math-container">$-1 &lt; x, y, z &lt; 1$</span> if and only if <span class="math-container">$a^4 + b^4 + c^4 &lt; 2 (a^2b^2 + b^2c^2 + c^2a^2)$</span>.</p> </blockquote> <p>After some thoughts, I factorized the inequality to <span class="math-container">$(a+b+c)(-a+b+c)(a-b+c)(a+b-c)&gt;0$</span>, which I believe is related to Heron's Formula of area.</p> <p>I also rewrote the three equations into <span class="math-container">$a^2=b^2+c^2-2bcx$</span>, <span class="math-container">$b^2=a^2+c^2-2acy$</span> and <span class="math-container">$c^2=a^2+b^2-2abz$</span>, which I believe is related to the Law of Cosine.</p> <p>I am guessing that <span class="math-container">$a$</span>, <span class="math-container">$b$</span> and <span class="math-container">$c$</span> are sides of triangles and <span class="math-container">$x$</span>, <span class="math-container">$y$</span>, <span class="math-container">$z$</span> are the cosine value to the angle opposite the sides. However, I wasn't able to do this without assuming the side lengths are positive. </p>
0non-cybersec
Stackexchange
Can I have a shoutout to all the designated drivers last night and this morning?. Woke up this morning with a big ass hangover. Note on a waterbottle in the side of my bed telling me to drink up. Don't remember what happened much during the new year I definitely would not have been able to get home myself. Thanks to the dude who helped me get home safely and hopefully you didn't take anything from my apartment Edit: nothing was taken holy mother of jesus christ. I need to figure out who my guardian angel is and thank him/her
0non-cybersec
Reddit
WHOLESOME SPOOKTOBER.
0non-cybersec
Reddit
How to claim bitcoin cash for Bitcoin Wallet backup created before 1st August2017?. <p>I use this bitcoin wallet for android for my bitcoins.. <a href="https://i.stack.imgur.com/KC5mu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KC5mu.jpg" alt="enter image description here"></a></p> <p>I had created backup well before 1st August 2017 from Safety>>Backup My Wallet.. The backup is encrypted with name bitcoin-wallet-backup-2017-xx-xx</p> <p>How can I claim Bitcoin Cash for these bitcoins?</p> <p>I have read about decrypting wallet using openssl but output is random symbols since the wallet is in protobuf format..</p> <p>Can you explain to me the procedure for claiming bitcoin cash in detailed steps?</p> <p>I use Ubuntu 14.04 as my OS on laptop if it is needed for decryption process..</p> <p>Also now If I move these bitcoins to another wallet, say Electruk them Can I use the other simplified process? Or I have to use that baclup Bitcoin Wallet for android?</p>
0non-cybersec
Stackexchange
...to join an antivax group..
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
Yeah, I reckon I got this (x-post /r/surpriseddogs).
0non-cybersec
Reddit
Does How to reset Gmail password @1-888-830-5278 remain active even on add hours?.
0non-cybersec
Reddit
if __name__ == &#39;__main__&#39; in IPython. <p>I have Python scripts that use the <code>if __name__ == '__main__'</code> trick to have some code only run when the script is called as a script and not when it is loaded into the interactive interpreter. However, when I edit these scripts from IPython using the <code>%edit</code> command, IPython apparently sets <code>__name__</code> to <code>'__main__'</code> and so the code gets run every time I exit the editing session. Is there a good way to make this code not run when the module is edited from IPython?</p>
0non-cybersec
Stackexchange
Export Visual Studio&#39;s &#39;Code Style settings&#39; as .editorconfig. <p>Our team works with Visual Studio 2017 Professional. </p> <p>I've been trying to unify the Code Style across the team and apparently the industry standard right now is to use .editorconfig files. Even Visual Studio in it's settings windows suggests to use that configuration file and links to a <a href="https://docs.microsoft.com/it-it/visualstudio/ide/editorconfig-code-style-settings-reference" rel="noreferrer">useful page</a> on how to write an editorconfig file. </p> <p>but I don't want to write all the settings that I already have configured in VS by hand. I would like a tool that exports those settings as a .editorconfig file to distribute them. </p> <p>I haven't been able to find any tool to do just that so I thought on righting it myself and share it with other people like me. But apparently if go to "Tools -> Import and Export Settings..." you can't download your current Code Style settings. </p> <p>Is there a way around this?</p> <p>do you know any tool to convert my settings to an editorconfig file or a way to export my current Code Style settings?</p> <h1>Edit</h1> <p>I have created my own version of the <strong>.editorconfig</strong> file based on the information found in <a href="https://docs.microsoft.com/it-it/visualstudio/ide/editorconfig-code-style-settings-reference" rel="noreferrer">here</a></p> <p>You can find it in my <a href="https://github.com/danielepo/visualstudio-editorconfig" rel="noreferrer">github repo</a></p>
0non-cybersec
Stackexchange
Compare dataframe columns to series. <p>I have a dataframe and a series, and want to compare the DF column-wise to series.</p> <p>Dataframe (df) looks like:</p> <pre><code>1 1 4 7 2 2 3 1 3 2 3 9 </code></pre> <p>Series (s) looks like:</p> <pre><code>1 3 2 4 3 2 </code></pre> <p>Want to conduct a boolean comparison (where columns values less than series values):</p> <pre><code>1 T F F 2 T T T 3 F F F </code></pre> <p>Of course I could do a loop, but there should be simpler ways to do that?</p>
0non-cybersec
Stackexchange
Share Market.
0non-cybersec
Reddit
Is the Sun white when viewed from Outer Space?. Since white light from the Sun gets split by the Earth's atmosphere, the Sun seems to be Yellow hot, and sometimes Red hot during sun set. This does beg the question what IS the true color of our closest Star? Why Isn't The Sky Purple?: http://youtu.be/R5P6O0pDyMU
0non-cybersec
Reddit
How to create a partition after installating ubuntu 14.0 LTS?. <p>i installed ubuntu 14.04 LTS . And i didn't make any partition during installation. so i want to create/make 3 partition for <strong>/</strong> root,<strong>boot</strong> &amp; <strong>Swap</strong>. How can i achieve it.</p>
0non-cybersec
Stackexchange
how to show that $\int_0^\infty \sin(x^2) dx$ converges. <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://math.stackexchange.com/questions/105107/prove-int-0-infty-sin-x2-dx-converges">Prove: $\int_{0}^{\infty} \sin (x^2) dx$ converges.</a> </p> </blockquote> <p>What test do I use to show that the following integral converges? $$ \int_0^\infty \sin (x^2) \; dx$$</p>
0non-cybersec
Stackexchange
Renaming burned CDs. <p>I'm stuck with a problem that would require a skill set a little farther than mine, I currently installed Ubuntu for the first time on a piece of hardware, but I didn't take in account that the computer that I had installed it on only had a ethernet port, and I had to use a external USB Plug and play device to get it working, after searching for a while, I noticed that I can use ndiswrapper so I can use the windows drivers. Then I came into another problem, when trying to install the drivers from the application store, it told me to stick in the original boot CD that I installed ubuntu with, but from what it seems, the CD has to be specifically named in order for the application store to use it.</p> <p>I was wondering if there is way of changing a name of a already burned CD?</p>
0non-cybersec
Stackexchange
Individual bar colors. <p>I am trying to create a bar chart where all the bars are blue apart from one but, the last bar isn't being labeled. Below is my LaTeX code, any help would be appreciated. </p> <p><a href="https://www.overleaf.com/read/xczfctmnngvs" rel="nofollow noreferrer">https://www.overleaf.com/read/xczfctmnngvs</a></p>
0non-cybersec
Stackexchange
Any clue how to solve this convolution integral?. <p>With other words: find a (closed) expression for $\;\overline{\mbox{sinc}}(x)$ . $$ \overline{\mbox{sinc}}(x) = \int_{-\infty}^{+\infty} \frac{\sin(\omega\xi)}{\omega\xi} e^{-\frac{1}{2}(x-\xi)^2/\sigma^2}\,d\xi $$</p>
0non-cybersec
Stackexchange
Would you use this toilet ?.
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
Type mismatch when writing a Functor instance for Either. <p>Following the exercises in the Typeclassopedia, I tried to implement an instance of Functor for Either. My first attempt was the following:</p> <pre><code>instance Functor (Either a) where fmap f (Right a) = Right (f a) fmap _ left = left </code></pre> <p>This raises the following compile-time error:</p> <pre><code>functor.hs:7:17: Couldn't match type ‘a1’ with ‘b’ ‘a1’ is a rigid type variable bound by the type signature for fmap :: (a1 -&gt; b) -&gt; Either a a1 -&gt; Either a b at functor.hs:6:3 ‘b’ is a rigid type variable bound by the type signature for fmap :: (a1 -&gt; b) -&gt; Either a a1 -&gt; Either a b at functor.hs:6:3 Expected type: Either a b Actual type: Either a a1 Relevant bindings include left :: Either a a1 (bound at functor.hs:7:10) fmap :: (a1 -&gt; b) -&gt; Either a a1 -&gt; Either a b (bound at functor.hs:6:3) In the expression: left In an equation for ‘fmap’: fmap _ left = left </code></pre> <p>The easiest way to solve this is to replace the second definition of <code>fmap</code> like the following:</p> <pre><code>instance Functor (Either a) where fmap f (Right a) = Right (f a) fmap _ (Left a) = Left a </code></pre> <p>Can someone explain me why the error is solved by explicitly pattern-matching in the second definition of <code>fmap</code>?</p>
0non-cybersec
Stackexchange
Unresolved reference to symbol &#39;WixComponentGroup:MyWebWebComponents&#39; in section. <p>I was following the below code which is product.wxs files.But I am facing an error as below:</p> <p><strong>Error 5 Unresolved reference to symbol 'WixComponentGroup:MyWebWebComponents' in section 'Product:{}'</strong></p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:iis="http://schemas.microsoft.com/wix/IIsExtension"&gt; &lt;Product Id="702881b5-9a64-4ab8-ab47-f3babcd950a2" Name="WixApplication" Language="1033" Version="1.0.0.0" Manufacturer="HexWireless" UpgradeCode="42b7872b-78c8-4a0b-abcd-28a30c9804ab"&gt; &lt;Package InstallerVersion="200" Compressed="yes" Platform="x64" InstallScope="perMachine"/&gt; &lt;!--&lt;Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /&gt;--&gt; &lt;!--Find the Path to the sqlcmd.exe by performing a registry search. This is hardcoded for SQL 2012. Change 110 to 100 for 2008. Might need to change the script too.--&gt; &lt;Property Id="SQLBINDIR"&gt; &lt;RegistrySearch Id="SqlBinDir" Root="HKLM" Key="SOFTWARE\Microsoft\Microsoft SQL Server\110\Tools\ClientSetup" Name="Path" Type="raw" Win64="yes"/&gt; &lt;/Property&gt; &lt;Condition Message="Microsoft SQL Server 2012 needs to be installed before this installer can run"&gt; &lt;![CDATA[SQLBINDIR]]&gt; &lt;/Condition&gt; &lt;Directory Id="TARGETDIR" Name="SourceDir"&gt; &lt;Directory Id="INSTALLLOCATION" Name="Database"&gt; &lt;Component Id="Database" Guid="a8dc2Fcd-087d-e393-b059-c67877e51b8a"&gt; &lt;File Id="DatabaseScript" Source="SQLScripts\HexWireless.sql"/&gt; &lt;RemoveFile Id ="RemoveInstall.log" Name="Install.log" On="uninstall" /&gt; &lt;/Component&gt; &lt;/Directory&gt; &lt;Directory Id="INSTALLDIR" Name="PFiles"&gt; &lt;Directory Id="WixService" Name="Service"&gt; &lt;Component Id="WixWindowsServiceComponent" DiskId="1" Guid="6f51c0f3-776c-4aec-a200-1f199352c6c3" Win64="yes"&gt; &lt;File Id="WixService.exe" Name="WixService.exe" Source="$(var.WixService.TargetDir)\WixService.exe"/&gt; &lt;ServiceInstall Id="InstallWixService" DisplayName="WixService" Name="WixService.exe" Description="WixService" Account="NT Authority\Network Service" ErrorControl="normal" Start="demand" Type="ownProcess" Vital="yes" /&gt; &lt;ServiceControl Id="ControlWixService" Name="WixService.exe" Stop="uninstall" Remove="uninstall" /&gt; &lt;/Component&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;Directory Id="INSTALLFOLDER" Name="Publish"&gt; &lt;/Directory&gt; &lt;/Directory&gt; &lt;Feature Id="ProductFeature" Title="WebApplication" Level="1"&gt; &lt;Feature Id="Database" Title="Database" Description="DatabaseScript" Level="1" Display="expand" AllowAdvertise="no" ConfigurableDirectory="INSTALLLOCATION" Absent="allow"&gt; &lt;Feature Id="WixWindowsServiceComponent" Title="Service" Description="WixService" Level="1" Display="expand" AllowAdvertise="no" ConfigurableDirectory="INSTALLDIR" Absent="allow"&gt; &lt;ComponentGroupRef Id="WixWebsiteIssConfiguration" /&gt; &lt;ComponentRef Id="Database"/&gt; &lt;ComponentRef Id="WixWindowsServiceComponent"/&gt; &lt;ComponentGroupRef Id="MyWebWebComponents"/&gt; &lt;/Feature&gt; &lt;/Feature&gt; &lt;/Feature&gt; &lt;Property Id="INSTALLDIR" Value="D:" /&gt; &lt;Media Id="1" Cabinet="WixWindowsServiceComponent.cab" EmbedCab="yes" /&gt; &lt;InstallExecuteSequence&gt; &lt;!--If the database feature is selected these actions will run to install the DB--&gt; &lt;Custom Action="Database.cmd" After="InstallFiles" &gt; &lt;![CDATA[NOT Installed]]&gt; &lt;/Custom&gt; &lt;!--Ensure this runs after the custom action to set up the properties for its cmd line--&gt; &lt;Custom Action="Database" After="Database.cmd"&gt; &lt;![CDATA[NOT Installed]]&gt; &lt;/Custom&gt; &lt;/InstallExecuteSequence&gt; &lt;UI&gt; &lt;UIRef Id="GUI"/&gt; &lt;UIRef Id="WixUI_ErrorProgressText" /&gt; &lt;/UI&gt; &lt;!--This is the sequence script. Best way to understand this is by running sqlcmd -? Use "property" Custom action to get variable substitution working--&gt; &lt;CustomAction Id="Database.cmd" Property="Database" Value="&amp;quot;[SQLBINDIR]sqlcmd.exe&amp;quot; -E -S &amp;quot;[SQLSERVER]&amp;quot; -i &amp;quot;[#DatabaseScript]&amp;quot; -o &amp;quot;[INSTALLLOCATION]HexWireless.log&amp;quot;"/&gt; &lt;!-- Note that the cmd line and args will come from a property with the same name as the custom action, this has been set by the custom action above --&gt; &lt;CustomAction Id="Database" BinaryKey="WixCA" DllEntry="CAQuietExec" Return="check" Execute="deferred" Impersonate="yes" /&gt; &lt;/Product&gt; &lt;/Wix&gt; </code></pre> <p>Thanks In Advance.</p>
0non-cybersec
Stackexchange
When monks go bad: Sex, drugs and money laundering: behind Thai Buddhism’s fall from grace.
0non-cybersec
Reddit
Colette, first ever French feminist novelist..
0non-cybersec
Reddit
Website had been showing up in Google search for my popular keyword, but today it is not. <p>One of my websites is listed in the Google index (1st page 4th position till yesterday) for the keyword "Mobile app development company".</p> <p>Today I can't see my website in the first three pages of results (30 results) for the same keyword. What may have happened? What is the reason behind it?</p>
0non-cybersec
Stackexchange
best way to travel !!! how to travel africa , travel guide frome cape town to viktoria falls.
0non-cybersec
Reddit
Probability of first success.. <p>A soccer player makes one out of every five shots on average. If we look at independent events, (1) how many shots should we expect him to take before he makes his first goal of a new season. (2) Build a 95% confidence interval.</p> <p>(1) So far I got the geometric of $(.2)(.8)^{n-1}$, but I'm not sure how to manipulate this.</p> <p>(2) I could just plug and play for an answer, but I was hoping for a more theoretically sound solution. For example I took $\Pr(X=2,3,..12) = .957$, is there a more efficient way?</p>
0non-cybersec
Stackexchange
For a Rick and Morty fan at work.
0non-cybersec
Reddit
Is direct limit created by the forgetful functor from an Eilenberg-Moore algebra. <blockquote> <p><strong>Proposition.</strong> Let <span class="math-container">$T$</span> be a monad on <span class="math-container">$C$</span> and consider the forgetful functor <span class="math-container">$$ R^T \colon C^T \to C $$</span> from the category of Eilenberg-Moore algebras to <span class="math-container">$C$</span>. This functor</p> <ul> <li>creates limits;</li> <li>creates colimits which are preserved by <span class="math-container">$T$</span> and <span class="math-container">$T^2$</span>.</li> </ul> </blockquote> <p>I have an example in mind of a functor which is created: direct limits (aka. colimits under directed diagrams) by the forgetful functor <span class="math-container">$$ U \colon \operatorname{Ring} \to \operatorname{Set}. $$</span></p> <p><strong>Question:</strong> are direct limits in Set preserved by</p> <ol> <li>the monad associated to the adjunction with Rings and its square,</li> <li>every monad and its square?</li> </ol> <p>More generally, can I expect to prove that any direct limit (aka. colimit under directed diagam) is created by the forgetful functor from any Eilenberg-Moore algebra via the above proposition?</p>
0non-cybersec
Stackexchange
How to adjust custom colormap for 3D shades based on degradation of a color tone. <p>I have this figure:</p> <pre><code>\begin{tikzpicture}[scale=1] \begin{axis}[xmin=0,xmax=1,ymin=0,ymax=1,enlargelimits=false,xlabel=$a_1$,ylabel=$a_2$] \addplot [blue!80!black,fill=blue,fill opacity=0.4] coordinates {(0., 0.) (0., 0.2629952) (0., 0.43830780032) (0.1096032496, 0.43830780032) (0.6572250048, 0.26310039808) (0.657488, 0.)} |- (axis cs:0,0) -- cycle; \end{axis} \end{tikzpicture} </code></pre> <p>I would like to use different grades (a custom colormap) for this 3 D figure:</p> <pre><code>\begin{tikzpicture} \begin{axis}[view/v=25,view/h=110,xlabel=$a_1$,ylabel=$a_2$,zlabel=$a_3$, colormap/greenyellow, xmin=0,xmax=1,ymin=0,ymax=1,zmin=0,zmax=1, grid=major] \addplot3[%xmin=0,xmax=1, opacity=0, fill opacity=0.6, table/row sep=\\, patch, patch type=polygon, vertex count=3, patch table with point meta={% % pt1 pt2 pt3 pt4 pt5 cdata 0 1 2 1. \\ 2 3 0 3. \\ 0 3 4 2. \\ 3 2 4 2.12132 \\ 2 1 4 3.53553 \\ 1 0 4 2. \\ } ] table { x y z\\ 0 0 0 \\ 0 0 0.657488 \\ 0 0.657488 0 \\ 0.657488 0 0 \\ 0.657488 0 0.657488 \\ }; \end{axis} \end{tikzpicture} </code></pre> <p>based on grades of the first plot color: <code>blue!80!black</code>. For example, how I can create colormap ranging from <code>blue!20!black</code> to <code>blue!80!black</code>, in for example 8 or 9 levels?</p> <p>Regards</p>
0non-cybersec
Stackexchange
Nothing Bad Could Happen.
0non-cybersec
Reddit
Anybody else NOT seeing the "sticky" at the top of r/fitness?. I just found out from [this post](http://www.reddit.com/r/Fitness/comments/fznty/does_anyone_know_how_we_can_copy_this_feature/) that there is supposed to be one, but it never shows up for me. Works fine in other subreddits. Checked it in Chrome, Safari, and Firefox. Same result: nothing.
0non-cybersec
Reddit
Drawing every 5e Item! (Part 1). [Imgur](http://i.imgur.com/kpGujUh.jpg) [Imgur](http://i.imgur.com/zPCf4k4.jpg) Looking for advice. My goal is to draw every item, magic item, etc. from 5th edition. I'm a couple sketches in as you can see from the picture. My plan, after this goal is complete, is to scale each drawing to fit on a 3" x 4" card. For each treasure chest that is opened by the PCs I'll allow the player that opens it to draw cards at random, the amount cards that they draw will vary depending on the treasure. I will also make several decks based on rarity to allow for variety if they find common treasures, uncommon treasures, rare treasures, or legendary treasures. I think this will make opening treasure chests more exciting for the players. What do you think? P.S. First time posting on reddit! Edit: Added some more sketches! Thank you all for the support!! :)
0non-cybersec
Reddit
What is the opposite of a derangement?. <p>A <a href="https://en.wikipedia.org/wiki/Derangement" rel="nofollow">derangement</a> is a bijection $f : A \rightarrow A$ such that $f(x) \ne x$ for all $x \in A$.</p> <p>Is there a name for a bijection $f : A \rightarrow A$ that is <em>not</em> a derangement? That is, is there a name for a bijection $f : A \rightarrow A$ where $f(x) = x$ for at least on $x \in A$?</p> <p>Thanks!</p>
0non-cybersec
Stackexchange
To eat a grasshopper.
0non-cybersec
Reddit
How do we solve $a \le b^{r}-r$ for $r$?. <p>Given two values $a$ and $b$, how should one go about solving the following inequality for $r$:</p> <p>$$a \le b^r -r .$$</p> <p>Applying $\log_b$ on both sides of the inequality doesn't help me much since that yields the following:</p> <p>$$\log_b a \le \log_b (b^r-r) .$$</p> <p>I know that </p> <p>$$\log_z x - \log_z y = \frac{\log_z x}{\log_z y} .$$</p> <p>But that doesn't help me to eliminate the exponentiation and solve for $r$. </p> <p>It's been ages that I've done algebra, and now I'm back in grad school, and I'm finding this equation in a homework. Can't remember ever seeing a rule of logarithms involving such expressions. </p> <p>The actual homework (after simplification) involves $9 \le 2^r - r$ which is trivially solvable by just eyeballing it. </p> <p>But is there a methodical way to solve $a \le b^r-r$ for $r$ given any arbitrary numbers $a$ and $b$?</p>
0non-cybersec
Stackexchange
Ever meet somebody of the oppiste sex and conversation was going well until you realized they're underage?. Pretty much just happened. Told her she carries herself well, it was a pleasure talking, excused myself and left.
0non-cybersec
Reddit
Understanding how does certificate validation work. <p>I'm using Wireshark for better understanding how is a SSL connection established. I captured the traffic of visiting three pages: reddit, facebook and this one. All HTTPS of course.</p> <p>Reddit: after the server sends the <code>Certificate</code>, it sends a <code>Certificate Status</code> with the response of the OCSP server. Why is the server sending this information? Shouldn't be the client the one who queries the OCSP for knowing the status of the server's certificate?</p> <p>Security SE: I see there is no validation at all. After the client receives the certificate, they exchange the symmetric key and the encrypted channel is established. Why there is no validation?</p> <p>Facebook: after the SSL connection is established, i.e. after the encrypted channel is created, the client queries the OCSP server. Why doesn't it query the OCSP before establishing the connection?</p> <p>PS: if someone is interested in the captures, just run Wireshark, visit those sites and use <code>ssl.handshake</code> filter.</p>
0non-cybersec
Stackexchange
Going over to the neighbor's home to see if her best friend can come out to play..
0non-cybersec
Reddit
Network experience in the government. Is it worth it to get Network experience through a job with the US government? I've heard of less then stellar practices in the government.
1cybersec
Reddit
The Hacking Dojo recommended for newbie?. Hey, want to dive into pen testing and since I don't have much IT sec background I wanted to start a full course. I read good stuff about OSCP and SANS but they are way too expensive so I found the Hacking Dojo. Only problem is that the site and the free videos look a little bit dated, so I wanted to ask if anyone took that course recently and can tell me if it's worth the money.
1cybersec
Reddit
Do PNGs compressed multiple times require multiple decompressions?. <p>If my PNGs get compressed multiple times, do they need to be decompressed the same number of times?<br> I need my PNGs to load darn fast.</p>
0non-cybersec
Stackexchange
PsBattle: 21 year old colourized Winston Churchill..
0non-cybersec
Reddit
When carrying multiple to-go meals, consolidate by backing two meals into one box, and using a separate box as a lid.
0non-cybersec
Reddit
Comparing the amount of natural vs. man-made energy in this photo, humanity might seem a bit pathetic... Hessen, Germany. (OC) (2048x1365).
0non-cybersec
Reddit
TIFU by having sex with my girlfriend at my grandparents. So first post ever, I thought i would share this with you guys, here it goes. This didn't happen today but i figured that would be okay. I'm in a branch of military service and it had been some time since i'd been home and for those of you who don't know on government holidays most of us get the day off so we get an extended weekend. So I traveled all the way home and didn't arrive until around 5:00 AM so I immediately went to sleep. My girlfriend and I had planned out that she would come wake me early in the morning and well... as a 19 year old guy who hasn't gotten laid in a while was pretty horny. She texted me as soon as she left and it woke me up and i couldn't sleep anymore from the excitement. I wont go into too much detail because i'm not sure if i should or not but anyways she came straight into my room and we start going at for a while and things are going smooth and i'm doing all my favorite positions. I decide to be the big spoon and keep going, all of a sudden a hear a knock on the door and pull the blanket over us and i'm still inside. From my grandmothers perspective it would have seemed like i just wasn't wearing a shirt (being fully naked) and my girlfriend was fully dressed (with her pants off). Anyways my grandmother walks in and doesn't expect a thing we just both smile and say hi innocently like we weren't in the middle of having sex. My grandmother pulls out her new camera and snaps a picture of us laying in bed... I was absolutely mortified. I can imagine looking in photo albums years from now and seeing our shame and sweat... And that's that. Now it seems pretty funny my girlfriend is still super embarrassed. TL;DR Went home to visit girlfriend, grandma unknowingly took picture of me and my girl friend having sex Edit: So for everyone asking did i finish? Of course I did. Also a big thank you i'm glad a lot of you liked my story and I really appreciate the advice i'll try to incorporate all of your tips into any, if at all, future stories. Oh, also its not like my grandmother let us do what ever we wanted, we've just been together for 3 years now and me being gone so frequently doesn't permit us to be together much, so my grandmother doesn't mind when we lay down together. p.s. I'll think about rewording the title next time... gross but hilarious you dyslexic folk.
0non-cybersec
Reddit
Sony Noise Cancelling Headphones WH1000XM3.
0non-cybersec
Reddit
How can I split a Windows 7 image on to multiple CDRs that I can boot from to install?. <p>Is there a way that I can do this? I'd appreciate any help / pointers.</p>
0non-cybersec
Stackexchange
ITAP of my car in a snowstorm.
0non-cybersec
Reddit
arXiv:math/0502022v1 [math.GN] 1 Feb 2005 ar X iv :m at h/ 05 02 02 2v 1 [ m at h. G N ] 1 F eb 2 00 5 NONMETRIZABLE ANR’S ADMITTING A GROUP STRUCTURE ARE MANIFOLDS ALEX CHIGOGIDZE Abstract. It is shown that a nonmetrizable ANR-space of weight τ > ω, admitting a group structure, is (topologically) an Rτ -manifold. It is well known [4, Corollary 1] that if a separable complete ANR carries a topological group structure then either this is a Lie group or the ANR is an l2-manifold. We show that in the non-metrizable case the situation, is certain sense, is simpler. Namely we prove the following result. Theorem 0.1. Let τ > ω and G be an ANR-space of weight τ admitting a group structure. Then G is an Rτ -manifold. We refer the reader to [1] for comprehensive discussion of the general (non- metrizable) theory of absolute retracts, soft maps and spectral techniques. Here all we need to emphasize is that ANR-spaces are defined as retracts of functionally open subspaces of powers of the real line and that a map p : X → Y is soft iff there is a retraction r : Y ×P → X , where P is an AR-space, such that pr = πY . Two main properties of soft maps used below are: (a) soft maps are retractions (and hence admit sections); (b) inverse images of singletons are AR’s. We begin with the following two statements needed in the proof of our result. Lemma 0.2. Let p : X → Y be a continuous surjective homomorphism of topological groups. If there exists a continuous map q : Y → X such that pq = idY , then p is a trivial fibration with fiber ker(p). More precisely there exists a homeomorphism h : X → Y × ker(p) such that πY h = p. Proof. The required homeomorphism h and its inverse t : Y × ker(p) → X are defined as follows: h(x) = ( p(x), x · q(p(x))−1 ) , x ∈ X ; t(y, a) = a · q(y), (y, a) ∈ Y × ker(p). First, note that h is well defined. Indeed, for x ∈ X we have p ( x · q(p(x))−1 ) = p(x) · p ( q(p(x))−1 ) = p(x) · (p(q(p(x))) −1 = p(x) · (p(x)) −1 = eY , 1991 Mathematics Subject Classification. Primary: 22A05; Secondary: 54C55. Key words and phrases. ANR-space, topological group, Rτ -manifold, inverse spectrum. 1 http://arxiv.org/abs/math/0502022v1 2 A. Chigogidze which shows that h(x) ∈ Y × ker(p). For each (y, a) ∈ Y × ker(p) we have h(a · q(y)) = (p(a · q(y)), (a · q(y)) · (q(p(a · q(y)))−1) = (p(a) · p(q(y)), a · q(y) · (q(p(a) · p(q(y)))−1) = ( eY · y, a · q(y) · (q(eY · y)) −1 ) = (y, a). Also for each x ∈ X we have t(h(x)) = t ( p(x), x · (q(p(x))−1 ) = x · (q(p(x))−1 · q(p(x)) = x · eX = x. In other words ht = idY×ker(p) and th = idX . Thus h is a homeomorphism. � Lemma 0.3. Let τ ≥ ω. Every ANR-group of weight τ ≥ ω is topologically and algebraically isomorphic to a closed and C-embedded subgroup of the prod- uct ∏ {Gt : t ∈ T}, where |T | = τ and each Gt, t ∈ T , is a Polish AR-group homeomorphic to Rω. Proof. This follows from [1, Propositions 6.1.4, 6.5] and [3, Proposition 4.1]. � Now we prove our main result. Proof of Theorem 0.1. First we construct a well-ordered inverse spectrum SG = {Gα, p α+1 α , τ} satisfying the following properties: (1) G is topologically and algebraically isomorphic to limSG. (2) for each α < τ , Gα is a ANR-group and p α+1 α : Gα+1 → Gα is a soft homomorphism such that ker (pα+1α ) is a non-compact Polish AR-group. (3) If β < τ is a limit ordinal, then the diagonal product △{pβα : α < β} : Gβ → lim{Gα, p α+1 α , α < β} is a topological and algebraic isomorphism. (4) G0 is a Polish ANR-group. By Lemma 0.3, we may assume that G is a closed and C-embedded subgroup of the product X = ∏ {Xa : a ∈ A}, |A| = τ , of Polish AR-groups Xa, a ∈ A. Since G is an ANR-space, there exist a functionally open subspace L of the product X and a retraction r : L → G. Choose a countable subset AL ⊆ A and an open subset LG ⊆ ∏ {Xa : a ∈ AL} such that L = LG× ∏ {Xa : a ∈ A\AL}. Next let us denote by πB : ∏ {Xa : a ∈ A} → ∏ {Xa : a ∈ B} Nonmetrizable ANR’s admitting a group structure are manifolds 3 and πBC : ∏ {Xa : a ∈ B} → ∏ {Xa : a ∈ C} the natural projections onto the corresponding subproducts (C ⊆ B ⊆ A). Let also GB denote the subspace πB(G) of the product XB = ∏ {Xa : a ∈ B} and LB = LG × ∏ {Xa : a ∈ B \ AL} for each B ⊆ A with AL ⊆ B. We call a subset B ⊆ A admissible if AL ⊆ B and the following equality πB(r(x)) = πB(x) is true for each point x ∈ π−1B (GB). We need the following properties of admissible sets. Claim 1. The union of arbitrary collection of admissible sets is admissible. Indeed let {Bt : t ∈ T} be a collection of admissible sets and B = ∪{Bt : t ∈ T}. Let x ∈ π−1B (GB). Clearly x ∈ π −1 Bt (GBt) and we have πBt(r(x)) = πBt(x) for each t ∈ T. Since B = ∪{Bt : t ∈ T} it follows that πB(x) = πB(r(x)). Claim 2. If B is an admissible subset of A, then the restriction πB|G : G → GB is a soft map (in the sense of [1, Definition 6.1.12 ]). If C and B are admissible subsets with C ⊆ B, then πBC |GB : GB → GC is also soft. Since the restriction of the projection πB onto π −1 B (GB) is a trivial fibration (with the fiber ∏ {Xa : a ∈ A\B}) whose fiber is an AR-space (recall that each Xa is an absolute retract and consequently so are their products), it follows that πB|π −1 B (GB) is soft. The admissibility of B implies that πBr|π −1 B (GB) = πB|π −1(GB). Since r is a retraction it follows that πB|G is also soft (as a retract of πB|π −1 B (GB)). The second part of the claim follows from [1, Lemma 6.1.15]. Claim 3. Each countable subset of A is contained in a countable admissible subset of A. The inverse spectrum S(G) = {clLB (GB) , π B C | clLB (GB) , C, B ∈ expω(A,AL)} is a factorizing (since G is C-embedded in X) ω-spectrum in the sense of [1, Section 1.3.2] and limS(G) = G. Similarly S(L) = {LB, π B C |LB, C, B ∈ expω(A,AL)} is also a factorizing ω-spectrum and limS(L) = L. Apply- ing [1, Theorem 1.3.6] to the map r : L → G we conclude that the col- lection expω(A,AL) contains a cofinal (and even ω-closed) subcollection Ar such that for each B ∈ Ar there exists a map rB : LB → clLB(GB) such that πBr = rBπB|L. Note that for every such B, GB is closed in LB and rB : LB → GB is a retraction. If x ∈ π −1 B (GB) and B ∈ Ar, then πB(x) = rB(πB(x)) = πB(r(x)) which shows that every B ∈ Ar is admissible. Since |A| = τ and |AL| = ω we can write A \ AL = {aα : α < τ}. By Claim 3, each aα ∈ A is contained in a countable admissible subset Bα ⊆ A. 4 A. Chigogidze Let Aα = ∪{Bβ : β ≤ α}. We use these sets to define a transfinite inverse spectrum S = {Gα, p α+1 α , τ} as follows. Let A0 be a countable admissible subset of A containing AL ∪ {a0} and G0 = GA0 . Assume that the admissible subsets Aβ ⊆ A have already been constructed for each β < α, α < τ , so that aβ ∈ Aβ for β < α, Aγ ⊆ Aβ for γ < β and the spaces Gβ = GAβ and the homomorphisms p β γ = π Aβ Aγ |Gβ : Gβ → Gγ satisfy the required properties (2) and (3). If α is a limit ordinal, then let Aα = ∪{Aβ : β < α} and Gα = GAα. If α = β + 1 then proceed as follows. Consider the fiber ker (πβ|G) of the homomorphism πβ|G : G → Gβ . This fiber is an AR-space (as an inverse image of a point under a soft map; see Claim 2). Since it is also a topological group we conclude that ker (πβ|G) is non-compact (much more general statement is true – every compact AE(4)-group is trivial [2]) – otherwise it must be a singleton in which case the homomorphism πβ : G → Gβ must be a homeomorphism. But this is impossible since w(G) > w(Gβ). Consequently there exists a countable subset C ⊆ A such that πC (ker (πβ|G)) is also non-compact. By claim 3, there exists a countable admissible subset B such that C ∪ {aα} ⊂ B. We now let Aα = Aβ ∪ B, Gα = GAα and p β+1 β = π Aα Aβ |GAα. Note that ker ( p β+1 β ) is a non-compact Polish AR-group. This completes the inductive step and the construction of the spectrum SG. Conditions (2) and (3) are satisfied by construction. Condition (1) can be insured by choosing the sets Aα so that A = ∪{Aα : α < τ} which in turn is possible since the collection of all countable admissible sets in cofinal in expω(A,AL) (see the inductive step above). The straightforward transfinite induction coupled with Lemma 0.2 shows that G is homeomorphic to the product G0 × ∏ {ker (pα+1α ) : α < τ}. Since pα+1α is a non-compact Polish AR-space for each α < τ , it follows (by [5, Theorem 5.1]) that all countable (but infinite) subproducts of the product ∏ {ker (pα+1α ) : α < τ} are homeomorphic to R ω. Thus, ∏ {ker (pα+1α ) : α < τ} ≈ Rτ and G ≈ G0 × R τ . Since G0 is a Polish ANR-space, it follows from [1, Corollary 7.3.4] that G is an Rτ -manifold. References [1] A. Chigogidze, Inverse Spectra, North Holland, Amsterdam, 1996. [2] , Compact groups and absolute extensors, Topology Proceedings 22 (1997), 63– 70. [3] , Topological AE(0)-groups, Fundam. Math. 167 (2001), 79–96. [4] T. Dobrowolski, H. Toruńczyk, Separable complete ANR’s admitting a group structure are Hilbert manifolds, Topology Appl. 12 (1981), 229–235. [5] H. Toruńczyk, Characterizing Hilbert space topology, Fundam. Math. 111 (1981), 247– 262 Nonmetrizable ANR’s admitting a group structure are manifolds 5 Department of Mathematical Sciences University of North Carolina at Greensboro, 383 Bryan Building, Greensboro, NC, 27402, USA E-mail address : [email protected]
0non-cybersec
arXiv
LeBron is just toying with the Hawks.
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
How to evaluate $S(a)=\sum_{n=1}^\infty \frac{a(a-1)\ldots(a-n+1)}{n!} $ with $a=1/2$?. <blockquote> <p>I would like to compute $$ S(a):=\sum_{n=1}^\infty \frac{a(a-1)\ldots(a-n+1)}{n!} $$ where $a=1/2$.</p> </blockquote> <hr> <p>At some point, I arrive at</p> <p>$$ S(1/2) = \sum_{n=1}^\infty \frac{(-1)^n}{2^nn!}(1)(3)\ldots(2n-1) $$</p> <p>Can this expression (if correct) be simplified further?</p>
0non-cybersec
Stackexchange
How solid is the scientific backing for anthropogenic global warming?. I hear a lot of arguments from both sides of this discussion. How much is genuine science and how much is biased noise? Is it true that some of the results of the pro-AGW side have been manipulated? Is it true that that the anti-AGW camp is mostly funded by energy interests?
0non-cybersec
Reddit
How to join unrelated entities with the JPA Criteria API. <p>Two database tables have a foreign key relationship.</p> <p>They are mapped to two entities <strong>A</strong> and <strong>B</strong> by JPA, but the join columns are manually removed from the entities, so in JPA world classes <strong>A</strong> and <strong>B</strong> are not related and you cannot navigate from one to the other through a field/property.</p> <p>Using the JPA Criteria API, is it possible to create a query which joins the two tables?</p> <p>All examples I found on internet uses the join column to achieve the goal, but, as stated above, it was removed from the code because most time I'm not interested in the relationship between <strong>A</strong> and <strong>B</strong> and I'm afraid about possible overhead.</p>
0non-cybersec
Stackexchange
What do you call someone with eight pimples?. An octopus.
0non-cybersec
Reddit
Going to the South Pacific for a year.... I recently graduated with my Bachelor's in December. My boyfriend will be graduating this May. We have both decided to take a year off of school (Sept. 2010 - Sept. 2011ish) to travel before returning for our professional degrees. We are slowly beginning to make arrangements for our adventure but would *love* any other input. We have narrowed our destination to the South Pacific and would ultimately like to visit (and stay in, if we enjoy the area) several places. Our ultimate goal is to not dig too deep in the red so we would be looking at working while we are there - where ever 'there' is. We have ruled out any 'Teach English' program as we plan to travel instead of staying grounded in one location. One of the options we have been exploring extensively is enrolling in a Dive Master Internship in SE Asia - somewhere - and ultimately working as a Dive Master - somewhere. We have also considered the Harvest Trail in New Zealand. Our schedules are open and the options endless. If anyone has any comments or suggestions, they would be greatly appreciated! Thanks!
0non-cybersec
Reddit
Prove that $\frac{[ABC]}{[XYZ]}=\frac{2R}{r}$, where $X$, $Y$, $Z$ are the points where the incircle of $\triangle ABC$ meets the sides. <blockquote> <p>Prove that <span class="math-container">$$\frac{[ABC]}{[XYZ]}=\frac{2R}{r}$$</span> where <span class="math-container">$[\,\_\,]$</span> represents area of triangle, <span class="math-container">$X,Y,Z$</span> are the points of contact of incircle with sides of triangle <span class="math-container">$ABC$</span>, <span class="math-container">$R$</span> is circumradius, and <span class="math-container">$r$</span> is inradius.</p> </blockquote> <p>The textbook proof is shown below, along with the referenced Theorem 36.</p> <blockquote> <p>The theorem requires triangles to have equal angle, but in the question I could not find equal angles. Maybe I am wrong?</p> </blockquote> <hr> <p>Here is my textbook proof:</p> <p><a href="https://i.stack.imgur.com/C72Xw.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C72Xw.jpg" alt="enter image description here"></a></p> <p>Incase you are wondering what Theorem 36 is.</p> <blockquote> <p>Theorem 36: In two triangles <span class="math-container">$A_1B_1C_1$</span> and <span class="math-container">$A_2B_2C_2$</span> we have <span class="math-container">$\angle A_1=\angle A_2$</span>. Then their areas are proportional to rectangles contained by the sides containing <span class="math-container">$\angle A_1$</span> and <span class="math-container">$\angle A_2$</span></p> </blockquote>
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
Updating tlmgr 2011 to 2012. <p>When I run </p> <pre><code># tlmgr update --self </code></pre> <p>This is the reply I get:</p> <pre><code>tlmgr: package repository ftp://ftp.riken.go.jp/pub/tex-archive/systems/texlive/tlnet /usr/local/texlive/2011/bin/x86_64-linux/tlmgr: The TeX Live versions supported by the repository (2012--2012) do not include the version of the local installation (2011). Goodbye. </code></pre> <p>Could anyone guide me on how to update tlmgr to 2012? Do I have to uninstall and install TeX Live all over again?</p> <p>Thanks in advance</p> <p>Update: I use Scientific Linux</p>
0non-cybersec
Stackexchange
Jim Al-Khalili interviews Brian Cox at the University of Surrey (90 minutes)..
0non-cybersec
Reddit
3 teens rape 12 year old, film it and post it on Facebook..
0non-cybersec
Reddit
When Normal Cupcakes Aren't Manly Enough....
0non-cybersec
Reddit
How would a &#39;dll missing&#39; error be thrown when a specific web page is loaded?. <p>I'm building a website and am working with a conversion plugin. The conversion works perfectly for me as I've tested the dependencies on my localhost, but when I moved it to my server and installed it and visit the page from a separate computer without those dependencies, I get this error:</p> <pre><code>The program can't start because MSVCP120.dll is missing from your computer. Try reinstalling the program to fix this problem. </code></pre> <p>I know how to fix the issue, but I'm curious as to how a conversion plugin installed on a Linux server was able to throw this error as a System Error popup on my Windows machine, rather than just fail in the sandboxed browser.</p> <p>To reiterate, I go to www.example.com/page and upon loading this exception is thrown on my Windows system.</p>
0non-cybersec
Stackexchange
Differentiation of logarithmic functions. <p>I'm going over my homework from calc, and am having some trouble with a few questions. It seems as if I'm just not understanding how to solve the problem:</p> <ol> <li><p>$$f(x) = \sqrt[5]{\ln x}$$</p></li> <li><p>$$f(x) = \sqrt{x}\ln x$$</p></li> <li><p>$$f(x)= \ln \dfrac{({2x+1})^3}{({3x-1})^4}$$</p></li> </ol> <p>For the first one, I'm not even sure what to do.</p> <p>As for the second question I ended up with:</p> <p>$$f'(x) = \frac{1}{2x} \ln x + \frac{1}{x}\sqrt{x}$$</p> <p>And for the last question I ended up with:</p> <p>$${(2x+1)^3\over(3x-1)^4} 3 \ln 2 - 4 \ln 3$$</p> <p>(Sorry for my poor formatting, I wasn't able to use \frac and put the numerator and denominator to the power of x.)</p>
0non-cybersec
Stackexchange
How to interpret data given from statistical software question?. <p>Hello I am trying to answer the following question. (Apologies for the image but it is perhaps clearer than me doing a table here).</p> <p><a href="https://i.stack.imgur.com/Jhnuc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jhnuc.png" alt="enter image description here"></a></p> <p>I am quite stuck on a few points and wanted some help.</p> <p>I think the distribution is a $t$ distribution with $6$ degrees of freedom. As we have $9$ countries recorded and $2$ things recorded so we get $9-(2+1)=6$.</p> <p>For b) I know the formula that $\text{Estimate} ~\div~\text{Standard Error}=\text{t-value}$ so for the second column we can figure out the standard error is $1.415$.</p> <p>Now for the top row I want to find the $t$ value corresponding to the $p$ value of $0.05$. So we want the number such that $95%$ of the distribution is less than the absolute value of that number.</p> <p>So I think this gives $P(&gt;|t|)=0.05$ so we look in the tables to find the value of $t$ that gives $0.025$ in the upper tail (since by symmetry the lower tail will contribute the other $0.025$).</p> <p>This gives the value as $2.447$ and so the corresponding standard error is $6.0073$.</p> <p>This is the main thing I am not too sure about so if anyone could help me out and explain if I am wrong what I should be doing differently that would be great.</p> <p>Oh and for c) I said yes I would agree since $0.0003&lt;0.01$. </p>
0non-cybersec
Stackexchange
Two-dimensional unital complex Banach algebras. <p>Let $A_1$ be the matrix algebra consisting of matrices of the form $$ \pmatrix{ \alpha &amp; 0 \\ 0 &amp; \beta\\ }$$ and let $A_2$ be the matrix algebra consisting of matrices of the form $$ \pmatrix{ \alpha &amp; \beta \\ 0 &amp; \alpha\\ }.$$ I want to prove that</p> <blockquote> <p>these algebras are not isomorphic and that every two-dimensional unital complex Banach algebra is isomorphic to one of them.</p> </blockquote> <p>I have proved the first part:</p> <p>If such isomorphism exists, it would have to be multiplicative and bijective. Hence, a idempotent matrix in $A_1$ would be transformed to idempotent matrix in $A_2$. But those algebras have different numbers of idempotent algebras; a contradiction.</p> <p>Sadly, I have been defeated by the second part. Anyone can help?</p>
0non-cybersec
Stackexchange
Vampire Weekend - A-Punk [Indie Rock].
0non-cybersec
Reddit
Weekly - Things my kid said - to share all the things your kids say. - October 01, 2015. This is a weekly thread where you can share the things you're kid said to you that made you laugh/cry/go on a mad rampage. If you'd like to talk daily about things your kids say, feel free to visit /r/thingsmykidsaid
0non-cybersec
Reddit
Defining a new operation (From the International Mathematical Tournament of the Towns). <p>An operation denoted by * defines, for each pair of numbers (x, y), a number x * y such that for all x, y and z the following identities hold:</p> <p>x * x = 0; x * (y * z) = (x * y) + z</p> <p>Where + denotes ordinary addition of numbers. Find 1993 * 1932</p> <p>My plan of action was to first see if I can get some identities involving 1 and 0 going. Try to see if I can isolate some kind of definition of x * y in terms of normal operations. I am unable to move beyond this point. Hint Please!</p>
0non-cybersec
Stackexchange
Bluestacks on Linux Fedora. <p>I am trying to use Bluestacks for running Android application on my Linux Fedora using Wine.</p> <p>I tried <code>wine BlueStacks-SplitInstaller_native.exe</code> from terminal. It gave me <code>Install Mono for Windows to run .NET 2.0 ...</code> error, so i downloaded Mono For Windows from <a href="http://www.go-mono.com/mono-downloads/download.html" rel="nofollow noreferrer">here</a>.</p> <p>I installed the complete package [checked all boxes including GTK etc] it using </p> <p><code>wine mono-2.10.9-gtksharp-2.12.11-win32-0.exe</code> After the installation is done. After a while it just seemed to stop executing commands. However it did not return the prompt on terminal even after waiting for a long time,so i did Ctrl-C to get back the prompt. This showed some fixeme for the console. </p> <p>Following this by,</p> <p><code>wine BlueStacks-SplitInstaller_native.exe</code> The bluestacks installer comes up and immediately gives the error dialog stating </p> <pre><code>Unhandled exception: page fault on read access to 0x7de321a8 in 32-bit code (0x100035cf). Register dump: CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b EIP:100035cf ESP:0033f57c EBP:0033f5a0 EFLAGS:00010246( R- -- I Z- -P- ) EAX:0012bd98 EBX:0033fa54 ECX:7de32160 EDX:0033f594 ESI:00000643 EDI:0033f84c Stack dump: 0x0033f57c: 0012bd98 0033f594 0033f84c 00000643 0x0033f58c: 0033fa54 00000136 00000000 00000000 0x0033f59c: 84ac8254 0033f64c 10005604 00000002 0x0033f5ac: 0012bd98 1001854a 0033f84c 0033fa54 0x0033f5bc: 0033f5d0 002206ec 00000000 00220706 0x0033f5cc: 00220706 7bc3d409 00000643 0012bd98 </code></pre> <p>and lot other details.</p> <p>The installer meanwhile continues upto 98% installation and hangs.</p> <p>What step did i do wrong?</p> <p><strong>Note:</strong> I don't want a VM for this purpose (I am not going to do anything on Windows except use Whatsapp). Any other alternatives are welcome. I have tried with <a href="https://superuser.com/questions/580320/youwave-on-wine-fedora">Youwave</a> too, but with little success.</p>
0non-cybersec
Stackexchange
Python: sorting string non lexicographically. <p>Say I have list called sort_me and want to sort with a non lexicographically ordered alphabet called special_alphabet</p> <pre><code>sort_me = ['appa', 'apple', 'orange', 'carrot'] special_alphabet = "dklmnoabctuvwxyzfghipqrsej" result = sorted(sort_me, key=?) print (result) </code></pre> <p>expected result: ['orange', 'apple', 'appa', 'carrot']</p>
0non-cybersec
Stackexchange
Champions League Play-off round.
0non-cybersec
Reddit
Sales People vs IT People...WHY?. The past positions that I have had I have started noticing that the Sales Department always has a chip on their shoulder regarding the IT Department. I know that a lot of sales people have that Superiority Complex where they think the company only is there because of them but...come on I just normally see it with Sales vs IT. I never hear the sales people talk about the accounting people or customer service people. Just the internal IT department. Now that I am now the Sys Admin of a smaller company, I am seeing it more and more. I was just wondering if anyone else has came across this, and what are some nice comebacks to the sales people when they go on ignorant rants.
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