text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
[OC] I was lucky enough to be able to display my life-sized papercraft at today's performance of Pokemon: Symphonic Evolutions!.
0non-cybersec
Reddit
Bariatric surgery?. 26 yo/M/5'4/240lb struggling with weight loss. Should I consider weight loss surgery?
0non-cybersec
Reddit
Its amazing they have made it this far in life.
0non-cybersec
Reddit
Accessing Nuget Official Package Source behind company proxy. <p>I am trying to use Nuget in VS2010 at work. When I try and download packages from the official feed it always fails with a 403.</p> <p>I've read that Nuget will use the same proxy settings as IE, which is unfortunate for me as my IE is locked down. I can't change the proxy.</p> <p>I have fiddled the feedservice urls that are getting bounced, in IE I get an error, in Firefox (with a local proxy.pac defined) the urls resolve fine and I can see the feeds.</p> <p>Is there any way to manually configure Nuget not to use IE's settings?</p>
0non-cybersec
Stackexchange
Best insect repellent?!. Hello, im planning a trip to SE Asia next month and i'm wondering which is the best anti mosquito spray to take. My plans are pretty fluid, i am just flying into Bangkok and will take it from there but plan to head north and then to Cambodia/Loas/Vietnam and then the islands. So chances are I will encounter large clouds of them in the jungle or whatever. Also, should i take anti malerial pills too?
0non-cybersec
Reddit
Changing direction of D3 animation / transition?. <p>I've recently built a small heatmap whose individual cells appear through a fade-in one after another after the page is loaded:</p> <p><a href="https://codepen.io/ChrisBean/pen/KKwpmjb" rel="nofollow noreferrer">https://codepen.io/ChrisBean/pen/KKwpmjb</a></p> <p>The fade-in animation is triggered by setting the initial opacity value of the cells to 0 </p> <pre><code>squares.transition() .duration(1000) .delay((_d, i) =&gt; i * 200) .style('opacity', 1); </code></pre> <p>As of now, <em>the cells fade in from the bottom to the top column by column</em>. I <strong>want them to fade in from left to right, row by row.</strong> This is the succession that I'm aiming at, quickly visualized with a pen drawing on a thinkpad: </p> <p><a href="https://i.stack.imgur.com/CQQv4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CQQv4.jpg" alt="enter image description here"></a></p> <p>Can anyone push me in the right direction of what to change in the transition trigger to change the direction?</p>
0non-cybersec
Stackexchange
Why does QuickTime&#39;s screen recorder make my MacBook Air very slow while recording?. <p>On Snow Leopard (10.6), the screen recorder on QuickTime Player worked just fine. However, since I have upgraded to Mountain Lion (10.8) QuickTime screen recorder has been making my 2010 MacBook Air extremely slow/laggy while recording the screen but once I stop recording my computer is no longer slow/laggy.</p> <p>Is there a way to fix this annoying problem? My computer is pratically unusable while recording so I can't use QuickTime to record the screen until it is fixed.</p>
0non-cybersec
Stackexchange
If $\beta$ is a zero of $f(x)=x^2+x+2$ over $\mathbb{Z}_3$, find the other zero. <p><em>If $\beta$ is a zero of $f(x)=x^2+x+2$ over $\mathbb{Z}_3$, find the other zero.</em></p> <p>What I tried:</p> <p>Suppose $B$ is a zero of $f(x)$, so $f(\beta)=\beta^2+\beta+2=0$. I know that $f(x)$ is irreducible in $\mathbb{Z}_3$. Any idea how to proceed?</p>
0non-cybersec
Stackexchange
A justification for remote code use is required. - Chrome Extenstion. <p>My Extension is not getting published because of 2 error</p> <ul> <li>A justification for remote code use is required.</li> <li>The single purpose description is required.</li> </ul> <p>Here's my manifest:</p> <pre><code>{ "name": "Spotlight", "icons": { "128": "icon_128.png", "96": "icon.png" }, "description": "Spotlight - Browse open tabs, search history, bookmarks, downloads, and do much more!", "version": "1.19", "manifest_version": 2, "permissions": [], "update_url": "https://clients2.google.com/service/update2/crx", "homepage_url": "https://usespotlight.co", "optional_permissions" : [ "&lt;all_urls&gt;", "tabs", "bookmarks", "history", "downloads", "storage" ], "background": { "scripts": ["background.js"], "persistent": false }, "browser_action": { "default_icon": "icon.png" }, "commands": { "toggle-feature": { "suggested_key": { "default": "Ctrl+M", "mac": "Command+M" }, "description": "Toggle spotlight" } } } </code></pre>
0non-cybersec
Stackexchange
How much do you like to know about your partner’s sexual history?. I (23F) am pretty open when it comes to my sexual past, which is pretty vanilla at that. In my last 2 relationships, I had a fairly good idea of my partners’ sexual history, e.g how many people they’d slept with and personal kinks that they’ve acted on with past sexual partners. However, I’ve recently been dating someone who revealed something today about their sexual past that I kinda wish that I didn’t know about. Ignorance is bliss, and all that. I never ask people to share their personal history with me, but I think my own openness encourages them to do the same. I guess what they’ve told me has kind of tainted my view of our relationship... only because I’m an insecure person myself. I don’t judge them for their past, of course, I just wish that I’d been blissfully unaware so I didn’t have insecurities now ruminating in my head. So, I guess the question is... how much do you like to know about your partner’s sexual history? Do you like to have an idea of their past life or would you rather be in the dark when it comes to that kind of thing?
0non-cybersec
Reddit
Here we have bitcoins, purportedly a quasi-anonymous, crypto-currency that is intended to bypass any and all government interference. Yet suddenly, as soon as an exchange faces trouble, the site administrator thinks he should take the case to the FBI?.
0non-cybersec
Reddit
Anyone else hoping that, with the return of Prison of Elders, Variks will be back with more ridiculously hilarious dialogue?. I love all of the stuff he says now, some of it is downright hilarious. Hopefully Bungie updates his dialogue with more hilarious phrases.
0non-cybersec
Reddit
Algebraic Independence of Functions in Several variables. <p>If we have $n$ algebraic numbers $x_1,x_2,...,x_n$ $\in$ $\bar{\mathbb{Q}}^d$ which are linearly independent over $\mathbb{Q}$. How do we show that the $n$ functions </p> <p>$f_i(z_1,z_2,...,z_d)= e^{{x_i}.\bar{z}} $ , $1 \leq n$ </p> <p>are algebraically independent over $\mathbb{Q}$.</p> <p>Note that here product ${x_i}.\bar{z}$ is sum of the $d$-tuple after taking product component wise.</p>
0non-cybersec
Stackexchange
Client for Microsoft Networks service under network adapter no longer needed to access file shares?. <p>I was troubleshooting a Wi-Fi connectivity issue today when I decided to disable the Client for Microsoft Networks service on the Wi-Fi adapter.</p> <p>I expected NOT to be able to access the mapped network drive after I disabled it, but for some reason I can still access it.</p> <p>Does anyone know why?</p> <p>My network drive (drive letter Z:) is mapped to a file share on my domain controller using the FQDN, and my DNS server resolves to the domain controller correctly.</p> <p>I am not using NetBIOS over TCP/IP (NBT). I am using Windows 10.</p>
0non-cybersec
Stackexchange
Why search for the right place to make a 180?.
0non-cybersec
Reddit
When do I need to use CBC and HMAC?. <p>As I know CBC does not provide integrity for the message, thus HMAC is used to provide integrity for CBC message. Also, I hear about CBC-MAC which can provide integrity and confidentiality. Which one is better CBC-MAC or CBC with HMAC? And when do I need to use CBC and HMAC?</p>
0non-cybersec
Stackexchange
When your Czech friend changes their profile pic and everyone tries to act like they speak Czech.
0non-cybersec
Reddit
I do parkour.
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
The Global Offensive.
0non-cybersec
Reddit
Inquiry about operator algebra. <p>I've just began studying some quantum mechanics, and I'm not sure why certain rules in operator algebra are correct. For instance, in this <a href="http://www.goldbart.gatech.edu/PostScript/MS_PG_book/bookmaster.pdf" rel="nofollow">book</a> it is stated that</p> <p>$$\left(\frac{d}{dx}+v(x)\right)\left(\frac{d}{dx}+w(x)\right)= \frac{d^2}{dx^2}+\frac{dw}{dx}+(v(x)+w(x))\frac{d}{dx}+vw.$$</p> <p>when I try to work it out</p> <p>$$\left(\frac{d}{dx}+v(x)\right)\left(\frac{d}{dx}+w(x)\right)= \frac{d}{dx}\left(\frac{d}{dx}+w(x)\right)+v(x)\left(\frac{d}{dx}+w(x)\right)$$</p> <p>$$=\frac{d^2}{dx^2}+\frac{dw}{dx}+v(x)\frac{d}{dx}+v(x)w(x)$$</p> <p>Why is the result cited in the book true but mine not?</p>
0non-cybersec
Stackexchange
Drawing is tough.
0non-cybersec
Reddit
/u/Macfrogg on why Aliens is one of the best chick flicks of all time..
0non-cybersec
Reddit
Teenagers trying to keep themselves busy during quarantine.
0non-cybersec
Reddit
43 Facts About Human Brain.
0non-cybersec
Reddit
Patient says, "Doctor I have pain in my eye whenever I drink tea". Doctor says, "Take the spoon out of your mug"
0non-cybersec
Reddit
Girl finds out her adoption went through.
0non-cybersec
Reddit
i'll just dive into this snow.
0non-cybersec
Reddit
Drip,me, procreate and iPad Pro, 2019.
0non-cybersec
Reddit
issues with Ansible and vars precedence with dependencies. <p>I'm having issues with vars precedence, hope you can help me here.</p> <p>I'm currently using geerlingguy.ansible-role-postgresql as a dependency of my own postgresql role. Is define as a dependency in meta and I'm using import_role on my main task.</p> <p>I was using vars/main.yml on my own role to override the defaults but now I need to extend my own role a bit like defining diferent variables depending from which group is the server in the inventory.</p> <p>For this I use group_vars but with the vars/main.yml hack is impossible to override.</p> <p>What would be the best practice here?</p>
0non-cybersec
Stackexchange
Sort array first by length then alphabetically in Java. <p>How can I sort an array first by length, then alphabetically?</p> <p>I have a list of things with numbers on them, and I am currently getting:</p> <p>Something1 Something10 Something2 Something3</p> <p>Whereas I want to get:</p> <p>Something1 Something2 Something3 Something10</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
How does $y=|x+3|+4$ become $y=\frac{1}{2}|2x+3|+4$ (compositions and translations). <p>Today, I had a test question that was bothering me because my friend and I had different answers to it. It's a grade 12 math question. </p> <p>It's telling us to explain the changes that were made to the first function $y = |x + 3| + 4$ to get the second function $y = {1\over4}|2x + 3| + 4$. </p> <p>What my friend said was that $y = {1\over4}|2x + 3| + 4 \Rightarrow y = {1\over4}|2(x + {3\over2})| + 4$ so there was a vertical stretch of ${1\over4}$, a horizontal stretch of ${1\over2}$, and a horizontal shift of ${3\over2}$ units right. </p> <p>However, I had a slightly different answer. </p> <p>I set the first equation as $f(x)$ instead of $y$. So $f(x) = |x + 3| + 4$. </p> <p>Then: </p> <p>$f(2x) = |2x + 3| + 4$ </p> <p>$\Rightarrow {1\over4}f(2x) = {1\over4}|2x + 3| + 1$ </p> <p>$\Rightarrow {1\over4}f(2x) + 3 = {1\over4}|2x + 3| + 4$</p> <p>This means that ${1\over4}f(2x) + 3$ is exactly same as the second equation $y = {1\over4}|2x + 3| + 4$. This implies that the first graph was vertically stretched by ${1\over4}$, horizontally stretched by ${1\over2}$ and vertically shifted up by 3 units.</p> <p>Since we did not get the same answer, I'm assuming at least one of us are wrong. I'm pretty confident I'm right but so is my friend. I just wanted to see who made the error assuming one of us are right.</p> <p>Thank you in advance.</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
I can&#39;t not run python tex in my document. <p>His code not run</p> <pre><code>\documentclass{article} \usepackage{pythontex} \begin{document} This is my code. \begin{pycode} a='andrey' print('Hi es ',a) \end{pycode} \end{document} </code></pre>
0non-cybersec
Stackexchange
Find the row associated with maximum date after groupby in Pandas. <p>I have a pandas DataFrame with 3 columns containing a PERSON_ID, MOVING_DATE AND PLACE as follows:</p> <pre><code>df = pandas.DataFrame( [[1,datetime.datetime(2018, 1, 1), 'New York'], [1, datetime.datetime(2018, 1, 20), 'Rio de Janeiro'], [1, datetime.datetime(2018, 2, 13), 'London'], [2, datetime.datetime(2017, 6, 12), 'Seatle'], [2, datetime.datetime(2016, 10, 10), 'New Mexico'], [3, datetime.datetime(2017, 9, 19), 'Sao Paulo'], [3, datetime.datetime(2015, 12, 11), 'Bangladesh']]], columns=['PERSON ID', 'MOVING DATE', 'PLACE'] ) PERSON ID MOVING DATE PLACE 0 1 2018-01-01 New York 1 1 2018-01-20 Rio de Janeiro 2 1 2018-02-13 London 3 2 2017-06-12 Seatle 4 2 2016-10-10 New Mexico 5 3 2017-09-19 Sao Paulo 6 3 2015-12-11 Bangladesh </code></pre> <p>I would like to find the place where the person is based on its last movement date (MOVEMENT_DATE).</p> <p>Is it possible to get the result with the <strong>groupby</strong> method?</p> <p>So far, I've tried:</p> <pre><code>df = df.sort_values(['PERSON ID', 'MOVING DATE']) df.groupby(['PERSON ID', 'MOVING DATE']).agg( {'MOVING DATE': max, 'PLACE': 'last'} ) </code></pre> <p>but it didn't work out. Any help would be appreciated.</p> <p>Thanks in advance,</p> <p>Rhenan</p>
0non-cybersec
Stackexchange
Class of languages recognizable by single-tape 3-state TMs. <p>I have for a while been curious about Turing Machines with exactly one tape and exactly 3 states (namely the start state $q_0$, the accept state $q_{accept}$, and the reject state $q_{reject}$). Note that I allow arbitrary (finite) tape alphabets (i.e., the tape alphabet is not restricted to equal the input alphabet).</p> <p>For convenience, call the class of languages recognizable by such TMs $C_3$. I have several questions about this class:</p> <ol> <li>Has $C_3$ previously been studied? </li> <li>Is $C_3$ known to equal any other complexity/computability classes of interest?</li> <li>Is the class $C_3$ robust to changes in model. For example, if the TMs used are allowed to stay in place during a single transition (as opposed to always moving either left or right) or if the tape is made to be infinite in both directions instead of just to the right, does the class of languages recognizable by 3-state 1-tape TMs change?</li> <li>How does $C_3$ relate to the class of regular languages, $Regular$? (In particular, is every regular language in $C_3$?)</li> </ol> <p>A (rather cursory) search brought up only <a href="https://cs.stackexchange.com/questions/75161/does-every-turing-machine-have-an-equivalent-single-state-n-tape-turing-machin">this cs.stackexchange post</a> which is relevant but doesn't answer my questions and <a href="https://hal.archives-ouvertes.fr/inria-00074105/document" rel="noreferrer">this paper</a>, which I haven't read in enough detail to be sure that it concerns exactly the class $C_3$ rather than a similar but different class (the paper claims to prove that (1) every language in $C_3$ is decidable and (2) that $C_3$ and $Regular$ are distinct classes with non-empty intersection). As pointed out in the comments of the cs.stackexchange post, these kinds of TMs can be thought of as very particular cellular automata, so maybe someone who knows the literature on cellular automaton theory could help.</p>
0non-cybersec
Stackexchange
Stumblin' Along.
0non-cybersec
Reddit
Django rest framework : Do not return array but list of objects with id as key. <p>Django rest framework returns the following output at an API endpoint</p> <pre><code> [ { "id": "QFELD_2.3.2.QF1", "siteuxid": "VBKM02_Abschlusstest", "section": 2, "maxpoints": 4, "intest": true, "uxid": "KA0", "points": 0, "value": 0, "rawinput": "", "state": 3 }, { "id": "QFELD_2.3.2.QF2", "siteuxid": "VBKM02_Abschlusstest", "section": 2, "maxpoints": 4, "intest": true, "uxid": "KA1", "points": 0, "value": 0, "rawinput": "", "state": 3 }, ... </code></pre> <p>Is it possible to return the data in an list object format like:</p> <pre><code> { "QFELD_2.3.2.QF1" : { "siteuxid": "VBKM02", "section": 2, "maxpoints": 4, "intest": true, "uxid": "KA0", "points": 0, "value": 0, "rawinput": "", "state": 3 }, "QFELD_2.3.2.QF2" : { "siteuxid": "VBKM02", "section": 2, "maxpoints": 4, "intest": true, "uxid": "KA1", "points": 0, "value": 0, "rawinput": "", "state": 3 }, ... </code></pre> <p>My Serializer is:</p> <pre><code>class ScoreSerializer(serializers.ModelSerializer): id = serializers.CharField(required=False, allow_blank=True, max_length=100, source='q_id') class Meta: model = Score fields = ('id', 'siteuxid', 'section', 'maxpoints', 'intest', 'uxid', 'points', 'value', 'rawinput', 'state') </code></pre> <p>And View is:</p> <pre><code>class ScoreViewSet(viewsets.ModelViewSet): serializer_class = ScoreSerializer </code></pre>
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
Finding the variance of the sum of weighted normal distributions. <p>I'm trying to find the variance of the PDF of a "center of mass" calculation, where every (discreet) node has a normal distribution, as:</p> <p>$\frac{\sum_{i=-\frac{N}{2}}^{\frac{N}{2}} i\mathcal{N}(S_i,\sigma^2)}{\sum_{i=-\frac{N}{2}}^{\frac{N}{2}} S_i}$</p> <p>I first tried to perform the calculation by treating the i's as constants, changing the variance as: $\sigma^2 \Rightarrow i^2 \sigma^2$ but this means that the location of the node changes its variance, which does not make sense. Furthermore, the variance of the sum should be $\sigma^2=\sum_{i=-\frac{N}{2}}^{\frac{N}{2}}i^2 \sigma^2$, but this gives me results for the variance that are quite different than what my simulations of this scenario yield.</p> <p>so my question is what am i missing, and how will this new PDF look like?</p>
0non-cybersec
Stackexchange
Inserting a quote as an exhibit in LyX. <p>I would like to insert a quote into the LyX document that stands out from the rest of the text and is displayed as a display formula would be (on a separate line with space around it). For example:</p> <pre><code>Hello, this is some random text that I have. Hello, this is some random text that I have also. Hello, this is some random text that I have again. Hello, this is some random text that I have. Hello, this is some random text that I have also. Hello, this is some random text that I have again. Some famous quote Hello, this is some random text that I have. Hello, this is some random text that I have also. Hello, this is some random text that I have again. Hello, this is some random text that I have. Hello, this is some random text that I have also. Hello, this is some random text that I have again. </code></pre>
0non-cybersec
Stackexchange
Another shin tattoo from Moth and Rose tattoo in Athens, Greece by Chris Papadakis.
0non-cybersec
Reddit
$\phi(m)/m$ is minimal. <p>I am working on a number theory exam and this question seems quite interesting. How do I really approach it?</p> <p>Determine the element $n_k$ of the set {$m \in N: w(m)=k$} for which $\phi(m)/m$ is minimum. Here $w(m)$ denotes the number of distinct prime factors of $m$.</p> <p>What is lim sup $\phi(m)/m$ for $m \in N$?</p>
0non-cybersec
Stackexchange
cygwin: &quot;no such file or directory&quot; when trying to install something. <p>I've installed 32 bit cygwin on a virtual machine running Win 7 32 bits. Since I'm trying to install expect-lite there, during the installation I selected packages TCL and Expect. I did this before on a 64-bit Win 10 machine (a host, not a VM) and everything went on smoothly. But now I'm getting a "no such file or directory" error when running <code>./install setup.sh</code>.</p> <p>This is what happens:</p> <p><a href="https://i.stack.imgur.com/htMbN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/htMbN.png" alt="cygwin screenshot"></a></p> <p>These are the packages I have:</p> <pre><code>$ cygcheck -c Cygwin Package Information Package Version Status _autorebase 001005-1 OK adwaita-icon-theme 3.22.0-1 OK adwaita-themes 3.22.2-1 OK alternatives 1.3.30c-10 OK base-cygwin 3.8-1 OK base-files 4.2-4 OK bash 4.4.12-3 OK binutils 2.25-2 OK bzip2 1.0.6-3 OK ca-certificates 2.11-1 OK coreutils 8.26-2 OK csih 0.9.9-1 OK cygutils 1.4.15-2 OK cygwin 2.8.0-1 OK cygwin-devel 2.8.0-1 OK damageproto 1.2.1-1 OK dash 0.5.9.1-1 OK dbus 1.10.12-1 OK dbus-x11 1.10.12-1 OK dejavu-fonts 2.37-1 OK desktop-file-utils 0.23-1 OK diffutils 3.5-2 OK dri-drivers 17.0.3-1 OK editrights 1.03-1 OK expect 5.45-3 OK file 5.25-1 OK findutils 4.6.0-1 OK fixesproto 5.0-1 OK gamin 0.1.10-15 OK gawk 4.1.4-3 OK gcc-core 5.4.0-1 OK gcc-g++ 5.4.0-1 OK gdk-pixbuf2.0-svg 2.40.16-1 OK getent 2.18.90-4 OK gnome-menus 3.13.3-3 OK grep 3.0-2 OK groff 1.22.3-1 OK gsettings-desktop-schemas 3.22.0-1 OK gtk-update-icon-cache 3.22.10-1 OK gtk2.0-engines-pixmap 2.24.31-1 OK gzip 1.8-1 OK hicolor-icon-theme 0.15-1 OK hostname 3.13-1 OK info 6.1-2 OK ipc-utils 1.0-1 OK kbproto 1.0.7-1 OK less 481-1 OK libargp 20110921-3 OK libatk1.0_0 2.22.0-1 OK libatomic1 5.4.0-1 OK libattr1 2.4.46-1 OK libautotrace3 0.31.1-17 OK libblkid1 2.25.2-2 OK libbz2-devel 1.0.6-3 OK libbz2_1 1.0.6-3 OK libcairo2 1.14.8-1 OK libcdt5 2.40.1-2 OK libcgraph6 2.40.1-2 OK libcom_err2 1.42.12-2 OK libcroco0.6_3 0.6.11-1 OK libcrypt0 1.4-1 OK libcurl4 7.52.1-1 OK libdatrie1 0.2.8-1 OK libdb4.8 4.8.30-1 OK libdb5.3 5.3.28-1 OK libdbus1_3 1.10.12-1 OK libedit0 20130712-1 OK libEGL1 17.0.3-1 OK libEMF1 1.0.8-1 OK libexif12 0.6.21-1 OK libexpat-devel 2.2.0-0 OK libexpat1 2.2.0-0 OK libfam0 0.1.10-15 OK libffi6 3.2.1-1 OK libfftw3_3 3.3.6-pl1-1 OK libfontconfig-common 2.12.1-1 OK libfontconfig-devel 2.12.1-1 OK libfontconfig1 2.12.1-1 OK libfontenc1 1.1.3-1 OK libfpx1 1.3.1.4-1 OK libfreetype-devel 2.6.5-1 OK libfreetype6 2.6.5-1 OK libgc1 7.2d-1 OK libgcc1 5.4.0-1 OK libgd3 2.2.4-1 OK libgdbm4 1.12-1 OK libgdk_pixbuf2.0_0 2.36.5-1 OK libgif4 4.1.6-10 OK libGL-devel 17.0.3-1 OK libGL1 17.0.3-1 OK libglapi0 17.0.3-1 OK libglib2.0_0 2.50.3-1 OK libgmp10 6.1.2-1 OK libgnome-menu3_0 3.13.3-3 OK libgnutls28 3.3.17-1 OK libgomp1 5.4.0-1 OK libgraphite2_3 1.3.8-1 OK libgs9 9.19-1 OK libgssapi_krb5_2 1.14.4-1 OK libgtk2.0_0 2.24.31-1 OK libgts0.7_5 20121130-1 OK libguile17 1.8.8-3 OK libguile2.0_22 2.0.14-1 OK libgvc6 2.40.1-2 OK libharfbuzz0 1.3.4-1 OK libhogweed2 2.7.1-1 OK libICE6 1.0.9-1 OK libiconv 1.14-3 OK libiconv2 1.14-3 OK libidn11 1.29-1 OK libidn2_0 0.11-1 OK libintl8 0.19.8.1-2 OK libisl13 0.14.1-1 OK libjasper1 1.900.22-1 OK libjbig2 2.0-14 OK libjpeg8 1.5.0-1 OK libk5crypto3 1.14.4-1 OK libkrb5_3 1.14.4-1 OK libkrb5support0 1.14.4-1 OK libLASi1 1.1.1-2 OK liblcms2_2 2.8-1 OK libllvm3.8 3.8.1-1 OK libllvm3.9 3.9.1-1 OK libltdl7 2.4.6-4 OK liblzma5 5.2.2-1 OK liblzo2_2 2.08-1 OK libMagickC++6_6 6.9.5.7-2 OK libMagickCore6_2 6.9.5.7-2 OK libMagickWand6_2 6.9.5.7-2 OK libmcpp0 2.7.2-2 OK libming1 0.4.7-2 OK libmpc3 1.0.3-1 OK libmpfr4 3.1.5-1p2 OK libncursesw10 6.0-10.20170325 OK libnettle4 2.7.1-1 OK libnghttp2_14 1.14.0-2 OK libnspr4 4.13-1 OK libnss3 3.27.1-1 OK libopenjp2_7 2.1.2-1 OK libopenjpeg1 1.5.2-3 OK libopenldap2_4_2 2.4.42-1 OK libopenssl100 1.0.2k-1 OK libp11-kit0 0.22.1-1 OK libpango1.0_0 1.40.4-1 OK libpaper-common 1.1.24-2 OK libpaper1 1.1.24-2 OK libpathplan4 2.40.1-2 OK libpcre1 8.40-2 OK libpipeline1 1.4.0-1 OK libpixman1_0 0.34.0-1 OK libplotter2 2.6-5 OK libpng-devel 1.6.28-1 OK libpng16 1.6.28-1 OK libpng16-devel 1.6.28-1 OK libpoppler-glib8 0.52.0-1 OK libpoppler62 0.45.0-2 OK libpoppler66 0.52.0-1 OK libpopt-common 1.16-2 OK libpopt0 1.16-2 OK libpsl5 0.17.0-1 OK libpstoedit0 3.70-2 OK libquadmath0 5.4.0-1 OK libreadline7 7.0.3-3 OK librsvg2_2 2.40.16-1 OK libsasl2_3 2.1.26-9 OK libsigsegv2 2.10-2 OK libSM6 1.2.2-1 OK libsmartcols1 2.25.2-2 OK libsqlite3_0 3.16.2-1 OK libssh2_1 1.7.0-1 OK libssp0 5.4.0-1 OK libstdc++6 5.4.0-1 OK libtasn1_6 4.9-1 OK libthai0 0.1.26-1 OK libtiff6 4.0.6-1 OK libtxc_dxtn 1.0-1.20151227gitf6ec862 OK libunistring2 0.9.6-1 OK libuuid1 2.25.2-2 OK libvtv0 5.4.0-1 OK libwebp5 0.4.4-1 OK libWINGs3 0.95.6-3 OK libwraster5 0.95.6-3 OK libX11-devel 1.6.4-1 OK libX11-xcb-devel 1.6.4-1 OK libX11-xcb1 1.6.4-1 OK libX11_6 1.6.4-1 OK libxapian22 1.2.24-1 OK libXau-devel 1.0.8-1 OK libXau6 1.0.8-1 OK libXaw7 1.0.13-1 OK libxcb-composite0 1.12-1 OK libxcb-devel 1.12-1 OK libxcb-ewmh2 0.4.1-1 OK libxcb-glx-devel 1.12-1 OK libxcb-glx0 1.12-1 OK libxcb-icccm4 0.4.1-1 OK libxcb-image0 0.3.9-1 OK libxcb-render0 1.12-1 OK libxcb-shm0 1.12-1 OK libxcb-util1 0.3.9-1 OK libxcb1 1.12-1 OK libXcomposite1 0.4.3-1 OK libXcursor1 1.1.14-1 OK libXdamage-devel 1.1.4-1 OK libXdamage1 1.1.4-1 OK libXdmcp-devel 1.1.2-1 OK libXdmcp6 1.1.2-1 OK libXext-devel 1.3.3-1 OK libXext6 1.3.3-1 OK libXfixes-devel 5.0.3-1 OK libXfixes3 5.0.3-1 OK libXfont1 1.5.2-1 OK libXfont2_2 2.0.1-1 OK libXft-devel 2.3.2-1 OK libXft2 2.3.2-1 OK libXi6 1.7.8-1 OK libXinerama1 1.1.3-1 OK libxkbfile1 1.0.9-1 OK libxml2 2.9.4-2 OK libXmu6 1.1.2-1 OK libXmuu1 1.1.2-1 OK libXpm4 3.5.12-1 OK libXrandr2 1.5.1-1 OK libXrender-devel 0.9.9-1 OK libXrender1 0.9.9-1 OK libXss-devel 1.2.2-1 OK libXss1 1.2.2-1 OK libXt6 1.1.5-1 OK libzip2 0.11.2-2 OK login 1.11-1 OK luit 20130217-1 OK make 4.2.1-2 OK man-db 2.7.5-2 OK mcpp 2.7.2-2 OK mingw64-i686-binutils 2.25.0.1.23f238d-1 OK mingw64-i686-gcc-core 5.4.0-4 OK mingw64-i686-gcc-g++ 5.4.0-4 OK mingw64-i686-headers 5.0.2-1 OK mingw64-i686-runtime 5.0.2-1 OK mingw64-i686-windows-default-manifest 6.4-1 OK mingw64-i686-winpthreads 5.0.2-1 OK mintty 2.7.5-0 OK ncurses 6.0-10.20170325 OK openssl 1.0.2k-1 OK p11-kit 0.22.1-1 OK p11-kit-trust 0.22.1-1 OK perl 5.22.3-1 OK perl_autorebase 5.22.3-1 OK perl_base 5.22.3-1 OK pkg-config 0.29.1-1 OK poppler-data 0.4.7-1 OK publicsuffix-list-dafsa 20170206-1 OK rebase 4.4.2-1 OK renderproto 0.11.1-1 OK run 1.3.4-2 OK scrnsaverproto 1.2.2-2 OK sed 4.4-1 OK setxkbmap 1.3.1-1 OK shared-mime-info 1.7-1 OK tar 1.29-1 OK tcl 8.6.6-1 OK tcl-db 5.3.28-1 OK tcl-db4.8 4.8.30-1 OK tcl-devel 8.6.6-1 OK tcl-itcl 4.0.3-1 OK tcl-itcl-devel 4.0.3-1 OK tcl-itk 4.0.1-1 OK tcl-itk-devel 4.0.1-1 OK tcl-iwidgets 4.0.1-3 OK tcl-ming 0.4.7-2 OK tcl-sqlite3 3.16.2-1 OK tcl-tcldot 2.40.1-2 OK tcl-tix 8.4.3-3 OK tcl-tk 8.6.6-1 OK tcl-tk-devel 8.6.6-1 OK tcl-togl 2.0-4 OK tcl-togl-devel 2.0-4 OK tcl-xapian 1.2.24-1 OK terminfo 6.0-10.20170325 OK tzcode 2017a-1 OK tzdata 2017b-1 OK util-linux 2.25.2-2 OK vim-minimal 8.0.0542-1 OK w32api-headers 5.0.2-1 OK w32api-runtime 5.0.2-1 OK wget 1.19.1-1 OK which 2.20-2 OK WindowMaker 0.95.6-3 OK windows-default-manifest 6.4-1 OK xauth 1.0.9-1 OK xcursor-themes 1.0.4-1 OK xdg-user-dirs 0.15-1 OK xextproto 7.3.0-1 OK xf86-video-dummy 0.3.8-1 OK xf86-video-nested 0.1.0-8.20160719git OK xinit 1.3.4-14 OK xkbcomp 1.3.1-1 OK xkeyboard-config 2.19-1 OK xmodmap 1.0.9-1 OK xorg-server 1.19.2-1 OK xorg-server-common 1.19.2-1 OK xorg-x11-fonts-dpi75 7.5-3 OK xorg-x11-fonts-misc 7.5-3 OK xproto 7.0.31-1 OK xrdb 1.1.0-1 OK xterm 327-1 OK xwin-xdg-menu 20170321-1 OK xz 5.2.2-1 OK zlib-devel 1.2.11-1 OK zlib0 1.2.11-1 OK </code></pre> <p>Am I missing some package?</p> <p>Thanks.</p>
0non-cybersec
Stackexchange
Autogrow. Primary vs additional data files. <p>My databases all use autogrow, which grows the primary MDF file on a percentage. But one of the databases, from a third party application grows by adding additional .NDF files.</p> <p>Where is this option set? When I look at autogrow settings, there is the option to grow or not, by percentage or by xMB, and an option for limited or unlimit growth. But I see nothing that tells it whether to grow the primary MDF, or grow by adding additional NDFs.</p> <p>And, is there a way to combine these NDF files back into the primary MDF?</p> <p>Thanks!</p> <p>RZ</p>
0non-cybersec
Stackexchange
Summation with Zeta function. <p>I'm currently studiyng Zeta function and I don't understand this identity:</p> <p>$$\sum_{n=1}^\infty x \sum_{p=0}^\infty \frac{x^{2p}}{(n\pi)^{2p+2}} = \sum_{p=1}^\infty \pi^{-2p}\zeta(2p)x^{2p-1} $$</p> <p>I think the authors are switching the sum symbols but everything I try fails. Thanks for your help.</p>
0non-cybersec
Stackexchange
How to reinstall conjure-up?. <p>After trying to get a local kubernetes cluster running with <code>conjure-up kubernets-core</code> on Ubuntu 16.04.3, I wanted to reinstall everything and start over from scratch since my configuration did not succeed.</p> <p>Basically killing juju applications and doing <code>snap remove conjure-up</code> and <code>snap remove lxd</code>. Once again I installed it with <code>snap install conjure-up --classic</code>. But now <code>conjure-up kubernetes-core</code> only displays "aws" in cloud list options, no other clouds and no localhost option that was there on first install. Also nothing happens when trying to proceed with "aws".</p> <p>I've tried removing all caches and configuations that I can find, such as ~/.cache, ~/.config, ~/.local without success.</p> <p>What's the proper way to really purge and re-install this?</p> <p><strong>edit</strong></p> <p>I scrapped the conjure-up/juju/lxd and went for kubeadm instead. It was a much simpler approach for a local cluster with less dependencies, configuration and overhead.</p>
0non-cybersec
Stackexchange
Not allowing to Install any packages. <p>While Trying to install through command line, I am facing this error</p> <pre><code>E: The package mysql-workbench-community needs to be reinstalled, but I can't find an archive for it. </code></pre>
0non-cybersec
Stackexchange
How to get the row and column number on Google Sheets?. <p>I have a DataEntry Form and I need to get the row and column number where is a value given by the form.</p> <p>For example, from the form I get "test" and that value is on the column 5(E) and row (10), so the script has to return those values, in any order.</p>
0non-cybersec
Stackexchange
How do I use collection literals in Java 7?. <p>I've tried the following line:</p> <pre><code>Map&lt;Character, Color&gt; map={new Character('r'):Color.red,new Character('b'):Color.black}; </code></pre> <p>But Netbeans 7 rejects this, with the error message <code>'{' expected, ';' expected</code>.</p> <p>I've set the Source/Binary format as 'JDK 7'and the platform to 'JDK 1.7', is there anything else I need to do?</p>
0non-cybersec
Stackexchange
Siouxsie and her permanent RBF wish you a Happy New Year!.
0non-cybersec
Reddit
Cpufrequtils available frequencies. <p>/etc/init.d/cpufrequtils has the following comment</p> <pre><code> and which limits to set. Both MIN_SPEED and MAX_SPEED must be values listed in: cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies a value of 0 for any of the two variables will disabling the use of that limit variable. </code></pre> <p>But the file /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies does not exist for me? Do you have it? Where could I get a fitting frequency?</p> <p>Best regards</p>
0non-cybersec
Stackexchange
Semisimple complex Lie Algebra and decomposition into weight spaces.. <p>So I was wondering why a semisimple complex Lie Algebra $L$ is a direct sum of its weight spaces.</p> <p>Given a Cartan Subalgebra of $H$ of $L$ then since $L$ is a semisimple complex Lie Algebra, then every element of ad(H) is semisimple (diagonalizable) . And since H is abelian, then all elements of H can be simultaneously diagonalised w.r.t some basis $x_1, \ldots , x_n$</p> <p>But then consider $\alpha _i: H \rightarrow \mathbb{K}$ where $\alpha _i(h)$ specifies the $i^{\text{th}}$ diagonal element of $ad_h$.</p> <p>Then for $L_{\alpha _i} := \{x\in L\space | \space ad_h(x) = \alpha _i(h)x \space \forall h \in H\}$ we know that $x_i \in L_{\alpha _i}$.</p> <p>So if L is indeed a direct sum of it's weight spaces $L_{\alpha _i}$, then it must be the direct sum of these. Implying each weight space has dimension $1$. But this implies inturn that $H$ has dimension $1$ as $H$ = $L_{0}$. Which surely is false!?</p> <p>What exactly have I done wrong?</p>
0non-cybersec
Stackexchange
Disk Partition not showing up. <p>I feel I'm obliged to say that I'm a total Linux/Ubuntu newbie. I have always been a Windows user and the whole Ubuntu system is completely new to me. I have a 1 Tb hard disk which under Win7 was separated into 3 partitions -C (system part), D and E. I keep my movies, music and files on D, used C for installed programs and Kept E completely free. When I installed Ubuntu 15.04 I selectedd E partition as Linux' system dir. After installation however, that E partition completely disappeared. I can still see my C and D, but E is not visible on neither Win nor Linux. In win's disk manager it is displayed as unattached? space, while on Linux it shows as Linux filesystem. I can't understand what's going on and will be really thankful for any replies :) P.S Here's a screenshot if it helps somehow. <a href="http://prikachi.com/images.php?images/600/8372600z.png" rel="nofollow">http://prikachi.com/images.php?images/600/8372600z.png</a></p>
0non-cybersec
Stackexchange
Should a use utf-8 or &quot;utf-8&quot; as a charset value in an email header?. <p>When sending an email to an Outlook.com with forwarding turned on, I find that the forwarded mail is rejected.</p> <p>On examining the sent mail and the mail sitting in Outlook's inbox. I find that Microsoft have essentially re-written parts of the mail body.</p> <p>For example</p> <pre><code>This is a multi-part message in MIME format. --=_5226908e44ebc0462f06052400644d2f Content-Type: multipart/alternative; boundary="=_926d2a45bc543e1972443c87118fa61a" --=_926d2a45bc543e1972443c87118fa61a Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=utf-8 SGF2aW5nIGFub3RoZXIgZ28gYXQgZm9yd2FyZGluZyBhbiBlbWFpbCB2aWEgT3V0bG9vay4NCg0K DQo= --=_926d2a45bc543e1972443c87118fa61a Content-Transfer-Encoding: base64 Content-Type: text/html; charset=utf-8 </code></pre> <p>Becomes as follows; note the quotes around the <code>charset</code> value:</p> <pre><code>--=_5226908e44ebc0462f06052400644d2f Content-Type: multipart/alternative; boundary="=_926d2a45bc543e1972443c87118fa61a" --=_926d2a45bc543e1972443c87118fa61a Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8" SGF2aW5nIGFub3RoZXIgZ28gYXQgZm9yd2FyZGluZyBhbiBlbWFpbCB2aWEgT3V0bG9vay4NCg0K DQo= --=_926d2a45bc543e1972443c87118fa61a Content-Transfer-Encoding: base64 Content-Type: text/html; charset="utf-8" </code></pre> <p>Now aside from the fact that the mail RFC’s specifically forbid modifying the body anyway (which breaks the DKIM signature) I have to ask which is the correct way to write <code>charset=utf-8</code> in an email header?</p>
0non-cybersec
Stackexchange
Seen 30 minutes ago.
0non-cybersec
Reddit
Mom Who Murdered Son on Halloween “Prayed About It” First.
0non-cybersec
Reddit
Power Supply Information. <p>Is it possible to view power supply information of a remote Windows (2008) server? It's a Dell Poweredge R720</p> <p>The physical server is in a remote location and I only have RDP access. I can't see anything looking at the system information.</p> <p>Ideally I don't want to install any additional software.</p> <p>Maybe this isn't possible?</p>
0non-cybersec
Stackexchange
Find general solution. <p>I want to find the general solution for the following :<br> $$t(n)=t(\frac{n}{4})+\sqrt{n}+n^2+n^2log_{8}n $$ Note: $n=4^k$<br> $t(n)=t(4^k)=t_{k}$<br> $$t_{k}=t_{k-1}+2^k+16^k\cdot \frac{2}{3}k$$ $$\rho(x)=(x-1)(x-2)(x-16)^2$$<br> There is problem to find the coefficients, any advice? thanks</p>
0non-cybersec
Stackexchange
What is up with me_irl getting "invaded" by the dutch and the Netherlands me_irl?. [here's an example] (https://www.reddit.com/r/me_irl/comments/cnik3a/me_irl/?utm_medium=android_app&utm_source=share). I just woke up and I'm really confused
0non-cybersec
Reddit
Text in math mode: inherit bold but not italics. <p>Can I define a macro <code>\foo</code> so that <code>$\foo$</code> produces:</p> <ul> <li>bold sans-serif "foo", if the surrounding text is bold</li> <li>normal sans-serif "foo" otherwise.</li> </ul> <p>In particular, "foo" should never be typeset in <em>italics</em>.</p> <p>MWE that does not quite work:</p> <pre><code>\documentclass[a4paper]{article} \usepackage{amsmath,amsthm} \newtheorem{theorem}{Theorem} \newcommand{\foo}{\textsf{foo}} \begin{document} \section{This should be bold: $\foo$, \boldmath$2^\foo$} This should be normal: $\foo$, $2^\foo$. \begin{theorem}This should be normal: $\foo$, $2^\foo$.\end{theorem} \end{document} </code></pre> <p>Here I get slanted text in the theorem environment; otherwise it looks good. If I try e.g.:</p> <pre><code>\newcommand{\foo}{\textnormal{\textsf{foo}}} </code></pre> <p>then it is always in normal font, not bold.</p> <p>Can I just somehow "turn off italics" without "turning off bold"?</p>
0non-cybersec
Stackexchange
Found this on a beach in California..
0non-cybersec
Reddit
Why does this system of equations result in an always-positive output?. <p>I have two variables, M and P, whose relationship is described by the following two equations:</p> <pre><code>[1] P = 50.5 * M / ( M - 50) [2] M = C * P </code></pre> <p>where C is a positive constant. I've arbitrarily designated M to be the output.</p> <p>In equation 2, M will be positive as long as P is positive. If P is negative, M will be negative. However, if we substitute in P from equation 1 into equation 2 we get:</p> <pre><code>[3] M = 50.5 * C + 50 OR M = 0 </code></pre> <p>Now M is guaranteed to be non-negative.</p> <p>Why is this? I've graphed the equations and noticed that they only intersect in quadrant I. It makes sense that equation 3 would reflect this. But I still feel like there's something mysterious about the whole thing. The phenomenon (M suddenly being only positive) just seems to pop out randomly when looking at it as equations rather than graphically. Is there a fact or concept that will help me demystify the equation side of things?</p>
0non-cybersec
Stackexchange
Should isometries be linear?. <h1>Question</h1> <p>Suppose $V$ is a (finite-dimensional) vector space over $F$ ($\operatorname{char }F\neq2$, due to user1551) equipped with a non-degenerate quadratic form $Q$, and $T$ is a distance-preserving operator on $V$, viz. $Q(Tu-Tv)=Q(u-v)$ for each $u,v\in V$. Is it true that $T$ is <del>linear</del> affine (due to user1551)?</p> <h1>Background</h1> <p>I'm thinking about the mathematical derivation of Lorentz transformation from the principles of special relativity. In the context, $F=\mathbb R$, $V=F^4$ and $Q$ is the Lorentz quadratic form. The original problem might be with condition that $T$ acts on the space $\mathbb R^3$ as a translate (since they are inertial frames of reference), but $Q(Tu-Tv)=Q(u-v)$ only when $Q(u-v)=0$, which means that the operator preserves light cones.</p> <p>On condition that $F=\mathbb R$ and $Q$ is positive definite the answer is true. It follows from a standard derivation: Suppose $\langle x,y\rangle=(Q(x+y)-Q(x)-Q(y))/2$, then by definition $\langle\circ,\circ\rangle$ is a positive definite bilinear form. Note that $\langle Tu,Tv\rangle=\frac12(Q(Tu)+Q(Tv)-Q(Tu-Tv))=\frac12(Q(u)+Q(v)-Q(u-v))=\langle u,v\rangle$, we have $Q(Tcv-cTv)=\langle Tcv-cTv,Tcv-cTv\rangle=0$ and $Q(T(u+v)-Tu-Tv)=\langle T(u+v)-Tu-Tv,T(u+v)-Tu-Tv\rangle=0$ follows, which implies that $T(u+v)=Tu+Tv$ and $Tcv=cTv$.</p> <p>From the preceding argument, $T(u+v)-Tu-Tv$ and $Tcv-cTv$ are generally isotropic, but I don't know whether they must be zero.</p> <p>Any idea? Thanks!</p>
0non-cybersec
Stackexchange
Best college classes for a foundation in programming?. I want to learn a bit about programming and how to do some basic programming. Other than being computer literate and knowing how to use functions in excel I know next to nothing about programming. In other words I likely don’t even know what I don’t know. I’m a middle aged professional in another field and will likely only do this as a hobby and to assist what I already do with statistics and spreadsheets. I have up to 4 free classes that I won at a local community college. What are the best classes/ types of classes to look at taking to learn to program and to provide a good foundation for doing so? -intro to computer science, intro to programming and logic, intro to scripting language, programming 1, etc? I personally learn best in a class room setting so online/ learn on my own options will be secondary to any in class options Thanks for any advice!
0non-cybersec
Reddit
PsBattle: Shibe mastering oranges.
0non-cybersec
Reddit
Serves him right.
0non-cybersec
Reddit
Intersection (\cap) for ASL-abstract. <p>For my submission of an abstract using the required abstract template of the Association of Symbolic Logic (<a href="http://aslonline.org/abstractresources.html" rel="nofollow">http://aslonline.org/abstractresources.html</a>) I do not get the intersection sign properly. Here is my minimal example, but the asl.cls-file provided by the link is needed for compilation: </p> <pre><code>\documentclass[bsl,meeting]{asl} \usepackage [greek, english]{babel} %\usepackage{amssymb} %\usepackage[utf8]{inputenc} %\usepackage[T1]{fontenc} %\usepackage{textcomp} %\usepackage{amsmath} %\usepackage{amsfonts} \AbstractsOn \pagestyle{plain} \def\urladdr#1{\endgraf\noindent{\it URL Address}: {\tt #1}.} \newcommand{\NP}{} \usepackage{verbatim} \usepackage{teubner} \begin{document} $\cap$ \end{document} </code></pre>
0non-cybersec
Stackexchange
Portable N64.
0non-cybersec
Reddit
A continuous function $f:[1, \infty)\to \mathbb{R}$ such that $2xf(x^2)=(x+1)f(x)$, $\forall x\ge 1$. <p>Let <span class="math-container">$f:[1, \infty)\to \mathbb{R}$</span> be a continuous function such that <span class="math-container">$2xf(x^2)=(x+1)f(x)$</span>, <span class="math-container">$\forall x\ge 1$</span>. Find <span class="math-container">$f$</span>.<br> The official solution considers the auxiliary function <span class="math-container">$g$</span> such that <span class="math-container">$f(x)=\frac{x-1}{x\ln x}g(x), \forall x &gt;1$</span> and shows that it has the property that <span class="math-container">$g(x^2)=g(x)$</span>, <span class="math-container">$\forall x&gt;1$</span>. Then the solution is really easy and straightforward. But how would one come up with such an auxiliary funcion?</p>
0non-cybersec
Stackexchange
It all makes sense now...
0non-cybersec
Reddit
The first 3..any thoughts?.
0non-cybersec
Reddit
I didn’t make it.... but that’s what a $9,000 door looks like..
0non-cybersec
Reddit
Eating too much?.
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
bash - merging 2 files using 2 common columns and add up the values of the 3rd column. <p>I am new to the use of the bash shell and all the unix commands. So I hope my question is not too stupid, I could not find anything in the previously asked questions to help me solving my problem.</p> <p>I created a file that looks like this:</p> <pre><code>apple:::NN \t garden:::NN \t 5 garden:::NN \t great:::Adj \t 1 nice:::Adj \t a:::DT \t 2 etc </code></pre> <p>Now I have another file:</p> <pre><code>apple:::NN \t garden:::NN \t 15 house:::NN \t nice:::Adj \t 1 garden:::NN \t great:::Adj \t 5 etc </code></pre> <p>I need to combine the files, so the merged output file would look like this:</p> <pre><code>apple:::NN \t garden:::NN \t 20 garden:::NN \t great:::Adj \t 6 nice:::Adj \t a:::DT \t 2 house:::NN \t nice:::Adj \t 1 </code></pre> <p>The problem is that the lines are not the same in both files, so I cannot iterate through the files line by line. I can split the lines of course, however I have to consider column 1 and column 2 as a unit to be able to add the numbers if column 1 and column 2 are the same in both files. Lines that are just found in 1 file have to go to the output file as they are.</p> <p>I can do it manually using 'awk' or 'grep' but is it possible to also do that in a loop? If someone has a hint to solve the 'line' problem, that would help me a lot already!</p> <p>The closest solution I could get to, is the following <a href="https://askubuntu.com/questions/707843/merge-files-using-a-common-column">Merge files using a common column</a> However, I could not get the join command using 2 columns plus adding up the values of the 3rd column.</p> <p>I really appreciate any help!</p>
0non-cybersec
Stackexchange
The BBC Microcomputer and me, 30 years down the line.
0non-cybersec
Reddit
TIL the theme song "Ashokan Farewell" made famous by the Ken Burns documentary "Civil War", is commonly mistaken for a civil war song but was actually composed in 1982..
0non-cybersec
Reddit
Melodious Tasty Recipe of Rabri Faluda | My Amazing Beautiful India.
0non-cybersec
Reddit
Debian - What is the purpose of splitting root folder into separate partitions?. <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://serverfault.com/questions/61284/sell-partitioning-to-me">Sell partitioning to me</a> </p> </blockquote> <p>Actually, my whole / folder is into a single partition.</p> <p>So what is the purpose of putting, for instance, the /var/log folder or the /home folder into an other partition on the same hard drive?</p> <p>Are there any performance gains, or is this just for maintenance purposes?</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
Two quadratic equations, more than two solutions?. <p>It's clear that a system of two quadratic equations can have none, one or two solutions. </p> <p>For example: $y = x^2 + 2$ and $y = - x^2 + 1$ have none. $y = x^2$, $2x^2 - 8x + 8$ and $y = - x^2 + 8x - 8$ have $4$ as common solution. And $2x^2 - 8x + 8 = x^2 - 4x + 5$ have $1$ and $3$ as solutions.</p> <p>Is it also possible to have more solutions? Intuitively I'd say that two is the max number of solutions, but where is the proof of this?</p> <p>Note (I found it after asking the question, and receiving answers): the question <a href="https://math.stackexchange.com/questions/186569/on-the-number-of-possible-solutions-for-a-quadratic-equation">On the number of possible solutions for a quadratic equation.</a> is strongly related to this question.</p>
0non-cybersec
Stackexchange
How to install Internet Explorer 9 on Windows 7 with IE11 installed?. <p>I'm developing a website and it's experiencing issues on IE9 (so I've been told). To debug the site, I need to uninstall IE11 and install IE9 (Windows does not allow one to have two versions installed simultaneously).</p> <p>I already downloaded IE9 and then removed IE11 by going to Programs and Software in Windows 7, followed by choosing "Uninstall Windows Features", disabling "Internet Explorer 11", and rebooting my system.</p> <p>However, even after uninstalling IE11, the IE9 installer will complain that "Internet Explorer 9 is already installed on this system.", which is definitely not true.</p> <p>Is there any way for me to install Internet Explorer 9 on Windows 7 with IE11 installed?</p>
0non-cybersec
Stackexchange
Python savetxt header. <p>I want to add a header to my text file when I'm writing an array to it:</p> <p><code>np.savetxt('output.txt', array, header = str(dimension))</code></p> <p>but it looks like by default Python adds <code>#</code> in front of the header. Is there anyway I can get rid of that?</p>
0non-cybersec
Stackexchange
tc show output explanation. <p>I've found useful run watch along tc, for example:</p> <pre><code>[root@router ~]# watch -dc tc -p -s -d qdisc show dev eth0 Every 2,0s: tc -p -s -d qdisc show dev eth0 Sat Oct 19 21:22:26 2013 qdisc prio 1: root refcnt 2 bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1 Sent 130714882 bytes 1107132 pkt (dropped 20379, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 qdisc sfq 30: parent 1:2 limit 127p quantum 1514b flows 127/1024 Sent 775116 bytes 1466 pkt (dropped 0, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 qdisc tbf 20: parent 1:3 rate 100000bit burst 1600b/8 mpu 0b lat 70.0ms Sent 30679 bytes 119 pkt (dropped 170, overlimits 0 requeues 0) rate 0bit 0pps backlog 0b 0p requeues 0 </code></pre> <p>I've wonder why rate in all cases is 0.... why? Please could you recommend me some documentation that explains tc show output?</p> <p>Also, the show output is somewhat cryptic, please could you recommend me some documentation that explain something like: backlog, </p>
0non-cybersec
Stackexchange
Macro to store the length of a paragraph&#39;s last line. <p>Based on an answer here, I've defined a macro that should store the last line of the current paragraph without producing any output. But the code below produces the expected result only the first time the macro is used. Why?</p> <pre><code>\documentclass{article} \usepackage{lipsum} \makeatletter \def\setindent{% {\abovedisplayshortskip\z@\abovedisplayskip\z@ \belowdisplayshortskip\z@\belowdisplayskip\z@ $$\global\dimen\@ne\predisplaysize \xdef\tmp{% \predisplaysize\the\predisplaysize \prevgraf\the\prevgraf\relax}% $$\vskip\dimexpr-\parskip-2\baselineskip\relax}\tmp } \begin{document} \lipsum[1] \setindent \noindent \hskip\dimen\@ne \lipsum[2] \lipsum[3] \setindent \noindent \hskip\dimen\@ne \lipsum[4] \end{document} </code></pre> <p><a href="https://i.stack.imgur.com/QREjC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QREjC.png" alt="enter image description here"></a></p>
0non-cybersec
Stackexchange
Mocking extensions from Continuation. <p>I want to mock <code>resume</code> and <code>resumeWithException</code> from the standard library <code>Continuation</code> class. Both are extension functions.</p> <p>Here's my JUnit setup function:</p> <pre><code>@MockK private lateinit var mockContinuation: Continuation&lt;Unit&gt; @Before fun setup() { MockKAnnotations.init(this) mockkStatic("kotlin.coroutines.ContinuationKt") every { mockContinuation.resume(any()) } just Runs every { mockContinuation.resumeWithException(any()) } just Runs } </code></pre> <p>However this does not work, throwing the following exception at the mocking of <code>resumeWithException</code> function:</p> <pre><code>io.mockk.MockKException: Failed matching mocking signature for SignedCall(retValue=java.lang.Void@5b057c8c, isRetValueMock=false, retType=class java.lang.Void, self=Continuation(mockContinuation#1), method=resumeWith(Any), args=[null], invocationStr=Continuation(mockContinuation#1).resumeWith(null)) left matchers: [any()] at io.mockk.impl.recording.SignatureMatcherDetector.detect(SignatureMatcherDetector.kt:99) at io.mockk.impl.recording.states.RecordingState.signMatchers(RecordingState.kt:39) at io.mockk.impl.recording.states.RecordingState.round(RecordingState.kt:31) at io.mockk.impl.recording.CommonCallRecorder.round(CommonCallRecorder.kt:50) at io.mockk.impl.eval.RecordedBlockEvaluator.record(RecordedBlockEvaluator.kt:59) at io.mockk.impl.eval.EveryBlockEvaluator.every(EveryBlockEvaluator.kt:30) at io.mockk.MockKDsl.internalEvery(API.kt:92) at io.mockk.MockKKt.every(MockK.kt:104) at com.blablabla.data.pair.TestConnectSDKDeviceListener.setup(TestConnectSDKDeviceListener.kt:26) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) </code></pre> <p>And this is the code for <code>resumeWithException</code> which is very similar to <code>resume</code>:</p> <pre><code>/** * Resumes the execution of the corresponding coroutine so that the [exception] is re-thrown right after the * last suspension point. */ @SinceKotlin("1.3") @InlineOnly public inline fun &lt;T&gt; Continuation&lt;T&gt;.resumeWithException(exception: Throwable): Unit = resumeWith(Result.failure(exception)) </code></pre>
0non-cybersec
Stackexchange
Ari Aster, Robert Eggers, and Jordan Peele Are Healing with Horror.
0non-cybersec
Reddit
Flatlist getItemLayout usecase. <p>Why we use getItemLayout in flatlist ,how it help to improve performance of a flatlist .check the react-native docs but didn't find a satisfying answer. </p> <pre><code> getItemLayout={(data, index) =&gt; ( {length: ITEM_HEIGHT, offset: ITEM_HEIGHT * index, index} )} </code></pre> <p>what is offset here ,what it does?</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
Sudan woman who faced death over faith lands in US.
0non-cybersec
Reddit
[ART] I made some sneakers concept based on the classic Nike Air Force one silhouette, let me know what you think..
0non-cybersec
Reddit
Thanks Bill!.
0non-cybersec
Reddit
Every sperm is sacred.
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
Tonight I am streaming Hardcore Minecraft until I die, pass-out or reach the #1 spot in the minecraft catagory!.
0non-cybersec
Reddit
In Angular, What is &#39;pathmatch: full&#39; and what effect does it have?. <p>In here it is use pathmatch as full and when i delete this pathmatch it doesn't even load the app or run the project</p> <pre><code>import { NgModule } from '@angular/core'; import { BrowserModule } from '@angular/platform-browser'; import { HttpModule } from '@angular/http'; import { RouterModule } from '@angular/router'; import { AppComponent } from './app.component'; import { WelcomeComponent } from './home/welcome.component'; /* Feature Modules */ import { ProductModule } from './products/product.module'; @NgModule({ imports: [ BrowserModule, HttpModule, RouterModule.forRoot([ { path: 'welcome', component: WelcomeComponent }, { path: '', redirectTo: 'welcome', pathMatch: 'full' }, { path: '**', redirectTo: 'welcome', pathMatch: 'full' } ]), ProductModule ], declarations: [ AppComponent, WelcomeComponent ], bootstrap: [ AppComponent ] }) export class AppModule { } </code></pre>
0non-cybersec
Stackexchange
My completed battlestation! Designation: RAID-R.
0non-cybersec
Reddit
got to dissect a sheep brain today.... i love college.
0non-cybersec
Reddit