text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
Exsitence of element of a certain order in an infinite abelian group. <p>I came up with the following question reading this(<a href="https://math.stackexchange.com/questions/1357205/finite-abelian-groups-question">Finite Abelian Groups question</a>).</p> <p>Let $G$ be an abelian group. Suppose there is an integer $n \ge 1$ such that $nG = 0$. Let $m$ be the smallest integer $\ge 1$ such that $m G = 0$.</p> <blockquote> <p>Is there an element in $G$ of the order $m$?</p> </blockquote>
0non-cybersec
Stackexchange
INSANE Perspective Illusions.
0non-cybersec
Reddit
Perl for matching with regular expressions in Terminal?. <p>I'm trying to familiarize myself a little with <a href="http://en.wikipedia.org/wiki/Perl" rel="noreferrer">Perl</a> to use for <a href="http://en.wikipedia.org/wiki/Regular_expression" rel="noreferrer">regular expression</a> searches in <a href="https://en.wikipedia.org/wiki/Terminal_%28OS_X%29" rel="noreferrer">Terminal</a> (Mac). Now, I'm not really looking to learn Perl rigourously, just trying to find out how to do some simple regular expressions.</p> <p>But I can't figure out how to do this in Terminal:</p> <p>I'd like to be able to match expressions over several lines, and I'll take <a href="http://en.wikipedia.org/wiki/HTML" rel="noreferrer">HTML</a> tags as an example. PLEASE NOTE, that the HTML tag is just an example of something to match, and specifically something that goes over multiple lines. Whether matching HTML with regular expressionS is a good idea or not is not the issue. I just want to understand the syntax of matching with Perl on the command line!</p> <p>Say I want to match the entire <a href="http://en.wikipedia.org/wiki/HTML_element#Lists" rel="noreferrer">ul</a> tag here:</p> <pre><code>&lt;ul&gt; &lt;li&gt;item 1&lt;/li&gt; &lt;li&gt;item 2&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>I would like to:</p> <ol> <li>Be able to match this in a file and output the match to the stdout (don't ask why, I would just want to to understand how it works :-))</li> <li>Be able to replace it with something else.</li> </ol> <p>For matching, I found something like this (using 'start' and 'end' as an example here from a simple text file when I was testing, but please give the example for the <code>ul</code> tag instead:</p> <pre><code>perl -wnE 'say $1 if /(start(.*?)end)/' test.txt </code></pre> <p>This matches a part, but only on one line. Surprisingly, adding the s at the end didn't work to make it "dotall" or "single-line mode", it still just matched one line...</p> <p>For replacing, I tried something like this:</p> <pre><code>perl -pe 's/start(.*?)end/replacement text/'s test.txt </code></pre> <p>This didn't work either...</p>
0non-cybersec
Stackexchange
ITAP of Lily the Asian Shorthair cat.
0non-cybersec
Reddit
Vue 2 hook ready. <p>Vue 2, Is there a lifecycle hook that actually refers to "finished rendering"? I want to put a loading screen when entering a page and it fades away and show the page content once Vue is finished loading everything, but I have tried most of the lifecycle hook but not working. Here is something I would try to do if <code>updated</code> refers to "finished rendering":</p> <pre><code>updated(){ this.loaded() }, methods:{ loaded(){ var vm = this; this.loading = false; } } </code></pre> <p>If there is not such a lifecycle hook, what would you suggest me to do instead? Thanks</p>
0non-cybersec
Stackexchange
Python HTTPS/SSL error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version. <p>I'm attempting to make a simple HTTPS connection to a REST API using python from CentOS 6.5. Installed is python-2.6.6-52.el6.x86_64 and openssl-1.0.1e-16.el6_5.7.x86_64. </p> <pre><code>#!/usr/bin/env python import httplib, json, urllib, urllib2 # Gets the session ID to host c = httplib.HTTPSConnection("10.10.1.1") c.request("GET", "/services/rest/V2/?method=authenticate&amp;username=myusername&amp;password=mypasswd&amp;format=json") response = c.getresponse() data = json.loads(response.read()) session_id = data['session_id'] print "Session Created. Session ID: " + session_id </code></pre> <p>However, its giving me this error:</p> <pre><code>Traceback (most recent call last): File "./test3.py", line 7, in &lt;module&gt; c.request("GET", "/services/rest/V2/?method=authenticate&amp;username=myusername&amp;password=mypasswd&amp;format=json") File "/usr/lib64/python2.6/httplib.py", line 914, in request self._send_request(method, url, body, headers) File "/usr/lib64/python2.6/httplib.py", line 951, in _send_request self.endheaders() File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders self._send_output() File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output self.send(msg) File "/usr/lib64/python2.6/httplib.py", line 739, in send self.connect() File "/usr/lib64/python2.6/httplib.py", line 1116, in connect self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file) File "/usr/lib64/python2.6/ssl.py", line 342, in wrap_socket suppress_ragged_eofs=suppress_ragged_eofs) File "/usr/lib64/python2.6/ssl.py", line 120, in __init__ self.do_handshake() File "/usr/lib64/python2.6/ssl.py", line 279, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [Errno 1] _ssl.c:492: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version </code></pre> <p>Is this an openssl/python compatibility issue? I've already got the latest python and openssl RPMs I can find and I'd rather not venture off the RPM reservation by compiling the latest tarball manually.</p>
0non-cybersec
Stackexchange
How freakin' large do I have to buy a button-down shirt before it stops pulling open at the chest?!? Tell me the answer and your own clothing woes here!. Seriously, I'm not even super large chested.
0non-cybersec
Reddit
My Name is Ian and I Hate Starbucks.
0non-cybersec
Reddit
Kurashiki, the beautiful Japanese Amsterdam of Okayama. [xpost /r/japanpics] [OC].
0non-cybersec
Reddit
Best in Show - Christopher Guest mockumentary about the zany world of dog shows..
0non-cybersec
Reddit
Did ancient humans lose their hearing as much as modern day humans?. Hearing loss in the modern day is sped up by the amount of noise for hear on a daily bases from cars, music, home appliances etc. Ancient humans and modern day tribes living in remote parts of the world don't have these. Was the rate of hearing loss significantly lower in ancient humans or is it lower in modern day tribes?
0non-cybersec
Reddit
Ignore non-existant DocumentRoot in httpd. <p>My server is located on a VM, and the folder <code>/srv/http</code> resolves to a symlinked shared folder at <code>/mnt/hgfs/sandbox.dev/site</code>. Is there a way to either tell <code>httpd</code> to ignore this OR to fix it to where the warning does not generate, so the VMHGFS client can connect the shared drive?</p> <p>I am using ArchLinux</p>
0non-cybersec
Stackexchange
Fifa 11 Opening Gold Premium Packs.
0non-cybersec
Reddit
Reviving Mike and Ike by Tearing Them Apart.
0non-cybersec
Reddit
Manatee jerk trying to lift canoe..
0non-cybersec
Reddit
Pika pika pi?.
0non-cybersec
Reddit
My Swiss cheese has one hole.
0non-cybersec
Reddit
Hands.
0non-cybersec
Reddit
He loves empty shelves. If it fits it sits. My 5 year old “toddler cat” Marley James.
0non-cybersec
Reddit
Best of /r/europics.
0non-cybersec
Reddit
#1 - City Under Water !! A rare Phenomenon ..
0non-cybersec
Reddit
High kworker CPU usage on Ubuntu 18.04 (tried multiple things with no results). <p>A fresh 18.04 Ubuntu install on a Windows Surface Book 2 dual-booting Windows 10. The <code>kworker/0:0+kac</code> process never goes below 80% CPU. </p> <p><a href="https://i.stack.imgur.com/Wy37I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Wy37I.png" alt="enter image description here"></a></p> <p>I tried this <a href="https://askubuntu.com/questions/176565/why-does-kworker-cpu-usage-get-so-high">Why does kworker cpu usage get so high?</a> but I don't have any interrupts above 10, and when I disabled those ones it fixed nothing.</p>
0non-cybersec
Stackexchange
My friend’s Halloween haul.
0non-cybersec
Reddit
How do I get the Ubuntu loginscreen etc back after installing Xubutu-Desktop?. <p>I wanted to test out XFCE, so I installed Xubuntu-Desktop, but unfortunately, it's changed my logonscreen, and all those other types of pre/post session screens. How do I return them to the Gnome defaults? I can't find any options within Gnome itself, like I could in my brief fling with KDE.</p> <p>Thanks for your time.</p>
0non-cybersec
Stackexchange
Why insist on rolling out an MSI package?. <p>I have created a program in Autohotkey, which creates a few shortcut keys that a whole company with 400 people wants to have installed permanently. The way I imagine the program to work is that a shortcut to the program is added to the Start menu under the Startup folder, so it is automatically and transparently started when the computer is started. The program will keep running all day.</p> <p>I am a freelancer with no access to the IT department, but indirectly I have seen emails that they insist on that I have to create an MSI file in order to roll the program out onto all these computers. The first issue I have with creating an MSI package is that I do not know how an MSI file can be created based on an .EXE file. The second is that they say that it is very costly for them to create such a file (I believe that means that it costs something like 20.000$ to get it done), therefore they do not want to make frequent updates, while I believe it is essential to be able to quickly adjust the program to new needs and fix bugs.</p> <p>On Wednesday, I will have a meeting with them, and I would therefore like to know what kind of arguments they might have for using MSI packages, and why they could not simply create a shortcut to my .EXE file on all these computers (this should not be too hard, should it?). The shortcut should point to the .EXE file, which is located on a file-server so one can simply replace it to update the program (the computers always have access to the file-servers, meaning that there are no laptops).</p> <p>What could their arguments be?</p>
0non-cybersec
Stackexchange
Why is height:auto not working on 2 floating elements?. <p>The <code>div#inner1</code> and <code>div#inner2</code> are inside the <code>div#outer</code>, but still the height of <code>div#outer</code> shows as 0px with <code>height:auto</code>.</p> <p>How do I get the height of the child elements for the outer div?</p> <p>This is my code:</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-css lang-css prettyprint-override"><code>#outer { width: 300px; height: auto; background: #ccc; } #inner1 { float: left; width: 100px; height: 100px; background: #f00; } #inner2 { float: left; width: 100px; height: 100px; background: #0f0; }</code></pre> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="outer"&gt; &lt;div id="inner1"&gt;&lt;/div&gt; &lt;div id="inner2"&gt;&lt;/div&gt; &lt;/div&gt;</code></pre> </div> </div> </p>
0non-cybersec
Stackexchange
Why does a recurrence of $T(n - 1) + T(n - 2)$ yield something in $\Omega(2^{\frac{n}{2}})$?. <p>I am trying to analyze the running time of a bad implementation of generating the $n$th member of the fibonacci sequence (which requires generating the previous 2 values from the bottom up).</p> <p>Why does this algorithm have a time complexity of $\Omega(2^{\frac{n}{2}})$? Where does the exponent come from?</p>
0non-cybersec
Stackexchange
Play Puzzle Bobble.
0non-cybersec
Reddit
And she was serious..
0non-cybersec
Reddit
How to clean & care for vintage jewelry.
0non-cybersec
Reddit
Primefaces Chips Web Component. <p>I have a CRUD and I want to change the inputTexArea:</p> <pre><code>&lt;p:inputTextarea id="tags" value="#{myController.selected.tags}" /&gt; </code></pre> <p>To the new Primefaces <b>chips</b> component:</p> <pre><code>&lt;p:chips id="tags" value="#{myController.selected.tags}" /&gt; </code></pre> <p>An entity class excerpt:</p> <pre><code>@Lob @Size(max = 2147483647) @Column(name = "tags") private String tags; //GETTER AND SETTER OMITTED </code></pre> <p>The <strong>get</strong> method works fine, because the tags are displayed in the field as expected:</p> <pre><code>public List&lt;String&gt; getTags() { return Arrays.asList(tags.split(",")); } </code></pre> <p>But the <strong>set</strong> method is not, because when I click on Save, occurs an Exception:</p> <pre><code>public void setTags(List&lt;String&gt; tags) { this.tags = String.join(",", tags); } java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.CharSequence at org.hibernate.validator.internal.constraintvalidators.SizeValidatorForCharSequence.isValid(SizeValidatorForCharSequence.java:33) at org.hibernate.validator.internal.engine.constraintvalidation.ConstraintTree.validateSingleConstraint(ConstraintTree.java:281) </code></pre> <p>Can someone help me, please ?</p> <p>Thanks in advance.</p> <p>ps.: I've already asked this to Primefaces team (<a href="https://forum.primefaces.org/viewtopic.php?f=3&amp;t=51091" rel="nofollow noreferrer">https://forum.primefaces.org/viewtopic.php?f=3&amp;t=51091</a>), and a Primefaces core developer (Thomas Andraschko) orientated me to ask Hibernate validator team.</p>
0non-cybersec
Stackexchange
Death is never perfect. (Fan Art). http://imgur.com/a/QRoRa __________ "They were cursed, wicked, misguided, and violent. Some say the bullets that ended their lives cleansed away the darkness that had already consumed them. But every life is riddled with much complexity, and they were no exception. Despite this darkness, they have filled their lives with friends, rivals, family, and partners. Death, no matter how sparkly, cannot cleanse away darkness, only spread it. And so, Death may never be beautiful, and it may never be perfect." __________ #[Source](http://imalsoabignerd.tumblr.com/) [Higher Res!](http://imgur.com/a/5Ak6E#Lpl0Znm) ty /u/Gakioni ___________ Damn it I don't deserve gold! I cant even draw stick figures! Q_Q
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
51% of Americans strongly favor "gays and lesbians" in the military; only 34% strongly favor "homosexuals" in the military..
0non-cybersec
Reddit
Best iPhone 6 case with clear back?. I'm currently using Incipio NGP case, it is thin and somewhat protective (i already dropped my phone 4x, and survived from any scratches/dents with this case). What is lacking from this case is the premium feel and transparent back. Can anyone recommend me a case that has the following features? - clear back - not bulky, but still have enough lip to survive from occasional drops - premium feel - cover the bottom of the iphone
0non-cybersec
Reddit
unmet dependencies with linux-tools-common. <p>When i try to install a (random) package i got the following error.</p> <pre><code>The following packages have unmet dependencies: linux-tools-3.2.0-24 : Depends: linux-tools-common but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). </code></pre> <p>I tried :</p> <pre><code>apt-get -f install </code></pre> <p>And i got the following error message :</p> <pre><code>The following extra packages will be installed: linux-tools-common The following NEW packages will be installed: linux-tools-common 0 upgraded, 1 newly installed, 0 to remove and 36 not upgraded. 2 not fully installed or removed. Need to get 0 B/69.3 kB of archives. After this operation, 183 kB of additional disk space will be used. Do you want to continue [Y/n]? Y (Reading database ... 183468 files and directories currently installed.) Unpacking linux-tools-common (from .../linux-tools-common_3.2.0-25.40_all.deb) ... dpkg: error processing /var/cache/apt/archives/linux-tools-common_3.2.0-25.40_all.deb (--unpack): trying to overwrite '/usr/share/man/man1/perf.1.gz', which is also in package linux-base 3.4ubuntu2 Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/linux-tools-common_3.2.0-25.40_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre> <p>What should I do next?</p> <hr> <p><strong>EDIT:</strong></p> <p><a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1008713" rel="nofollow">https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1008713</a></p> <p><strong>EDIT2:</strong></p> <p>I manage to remove the error rebooting ubuntu in the recovery mode and i ran dpkg Repair broken Package</p>
0non-cybersec
Stackexchange
Cooks of Reddit: what one food or Ingredient do you absolutely hate?. I know as cooks/chefs we like to try and be open-minded about new dishes and flavors, but for each of us, some items will be an eternal non-starter? What's yours? Mine is olives. No olive bar in the world would ever be able to convince me otherwise. Add on!
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
John Turturro Is Currently Filming a Big Lebowski Spin-Off.
0non-cybersec
Reddit
Is there a way to search r/fullmoviesonyoutube for a specific movie title?.
0non-cybersec
Reddit
Cotangent sheaf of a blow up. <p>It's well known that for a nonsingular variety $X$ and a nonsingular subvariety $Y$ with $\text{codim}(Y,X) \ge 2$, we can compute the canonical sheaf of $\widetilde{X}$ (the blow up of $X$ along $Y$) as the pullback of $\omega_{X}$ tensored with a power of the invertible sheaf associated to the preimage of $Y$ under the blowup map. </p> <p>My question is the following: Are there situations where $\Omega^{1}_{\widetilde{X}}$ can be related to the pullback of $\Omega^{1}_{X}$ via a similar isomorphism, and if not, why?</p>
0non-cybersec
Stackexchange
show last number in x-axis data on pgfplot. <p>How can I get the last number on the x-axis (in this case 40^7) to show up on the plot also? </p> <p>Here is my code:</p> <pre><code>\documentclass[11pt]{book} \usepackage{graphicx} \usepackage{tikz} \usepackage{float} \usepackage{pgfplots,pgfplotstable, booktabs} \pgfplotsset{compat=1.8} \begin{filecontents*}{nano.csv} 100 -79.374 101.801 -79.858 103.634 -78.587 105.501 -79.077 107.401 -78.735 109.335 -81.799 111.304 -82.298 34884753.53 -150.333 38828202.58 -152.993 39527488.85 -154.021 40000000 -153.788 \end{filecontents*} \pgfplotsset{minor grid style={dashed,red}} \pgfplotsset{major grid style={dotted,green!50!black}} \begin{document} \begin{figure}[H] \begin{center} \begin{tikzpicture} \begin{semilogxaxis}[xmin = 100, xmax = 40e6, scale = .75, width=20cm,height=10cm, title = {\emph{(a) $P_{T}$ over different samples}}, x tick label style={ /pgf/number format/fixed, /tikz/.cd }, xlabel={\emph{Offset Frequency (Hz)}},ylabel={\emph{Phase Noise (dBc/Hz)}}] \addplot [blue]table[x index=0,y index=1,col sep=space] {nano.csv}; \end{semilogxaxis} \end{tikzpicture} \caption[Plot showing (a) position ${\mathbf{P_{T}}}$.]{Plot showing position ${\mathbf{P_{T}}}$.}\label{noise} \end{center} \end{figure} \end{document} </code></pre>
0non-cybersec
Stackexchange
How to set boolean variable on compile time using go build -ldflags. <p>I have a go program <code>test.go</code></p> <pre><code>package main import "fmt" var DEBUG_MODE bool = true func main() { fmt.Println(DEBUG_MODE) } </code></pre> <p>I want to set the <code>DEBUG_MODE</code> variable on the <a href="http://jaytaylor.com/notes/node/1373561889000.html" rel="noreferrer">compile</a> time to <code>false</code></p> <p>I've tried:</p> <pre><code>go build -ldflags "-X main.DEBUG_MODE 0" test.go &amp;&amp; ./test true kyz@s497:18:49:32:/tmp$ go build -ldflags "-X main.DEBUG_MODE false" test.go &amp;&amp; ./test true kyz@s497:18:49:41:/tmp$ go build -ldflags "-X main.DEBUG_MODE 0x000000000000" test.go &amp;&amp; ./test true </code></pre> <p>It doesn't work, but it works when <code>DEBUG_MODE</code> is a <code>string</code></p>
0non-cybersec
Stackexchange
The moment he sees it.
0non-cybersec
Reddit
Matrix congruence. <p>In the answer of to the question <a href="https://math.stackexchange.com/questions/811387/characterization-of-positive-definite-matrix-with-principal-minors#">Characterization of positive definite matrix with principal minors</a> I saw such assertion: <span class="math-container">$Ak=LkDkL∗k \implies Ak$</span> is congruent to Dk . Tell me please, why is it right? Matrices are similar when <span class="math-container">$A=LDL^-1$</span>, not <span class="math-container">$L*$</span>, isn't it? And, regarding to another answer, why "if hermitian matrix A is not positive definite, it must possess at least two(???) negative eigenvalues"? Why not only 1? It has some connection with complex field? </p>
0non-cybersec
Stackexchange
[SEASON 5] Placement Matches Megathread. Rules: - What was your ending SR in Season 4? - Post your Season 5 placements record - What SR did you get placed at?
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 send characters to a virtual serial port in Windows 8.1. <p>Microsoft is very unhelpful, as per <a href="http://windows.microsoft.com/en-gb/windows/what-happened-hyperterminal#1TC=windows-7" rel="nofollow noreferrer">this link</a>.</p> <p>However one method is the command:</p> <pre><code>echo abcdefghijklmnopqrstuvwxyz &gt; COM3 </code></pre> <p>And as per a question here <a href="https://stackoverflow.com/questions/14870490/windows-prompt-read-and-send-text-by-com-port">here</a>, another option is:</p> <pre><code>SerialSend /baudrate 56000 "Send this text" </code></pre> <p>However I'm encountering a bug where not all the data is sent. By playing with the amount of text sent and the chosen baud rate, I've come to the conclusion that while the text is being added to a buffer/queue character by character, the buffer begins being emptied into the serial port, but once the buffer has been filled, the remaining un-sent characters in the buffer are discarded and the command returns.</p> <p>So I'd like some sort of hyper-terminal equivalent that can send data to the virtual serial port - which hopefully will not have this bug. Can anyone recommend any?</p> <p>Thanks </p> <p>Update: <code>Putty</code> works, but I cannot output a continuous stream of characters, rather it sends them as I type, one character at a time.</p>
0non-cybersec
Stackexchange
Entity Framework Code First - Defining Relationships/Keys. <p>I am designing my database using code first and I need a little help I think.</p> <p>I am getting this error:</p> <blockquote> <p>Introducing FOREIGN KEY constraint 'SalesOrder_Invoices' on table 'Invoices' may cause cycles or multiple cascade paths. Specify ON DELETE NO ACTION or ON UPDATE NO ACTION, or modify other FOREIGN KEY constraints.<br> Could not create constraint. See previous errors.</p> </blockquote> <p>I am trying to have the following relationships/keys:</p> <pre><code>--&gt; = 1 to Many Relationship </code></pre> <ol> <li>Customer --> CustomerLocation<br></li> <li>CustomerLocation --> SalesOrder<br></li> <li>SalesOrder --> Invoice<br></li> <li>SalesRep --> SalesOrder<br></li> <li>PaymentTerm --> Customer<br></li> <li>PaymentTerm --> SalesOrder<br></li> <li>PaymentTerm --> Invoice<br></li> </ol> <p>I am trying to define them by the standard of:</p> <pre><code>&lt;ClassName&gt;&lt;PrimaryKeyID&gt; </code></pre> <p>Example: <code>Customer</code> has <code>ID</code> property, so in <code>CustomerLocation</code> i define the foreign key like so:</p> <pre><code>Public Property CustomerID AS Integer </code></pre> <p>All I have to do is define the foreign key correct? Do I also have to have navigation properties for each key I define?</p> <p>And, can I not have multiple foreign keys on the same primary key of an object?</p> <p><strong>Updated</strong></p> <p>So to define a relationship, do you use the <code>ClassName.PrimaryKeyProperty</code>? or do you use navigation properties? Or both? Confused!!</p> <p><strong>Update 2</strong></p> <p>So to make a relationship work you have to define both sides... I think.</p> <pre><code>Public Class Customer Public Property ID AS Integer Public Overrideable Property Locations AS ICollection(OF CustomerLocation) End Class Public Class CustomerLocation Public Property ID AS Integer Public Property CustomerID AS Integer End Class </code></pre>
0non-cybersec
Stackexchange
A Trigonometric Equation with different frequencies. <p>I have come across a system of trigonometric equations in <span class="math-container">$t$</span>, with parameters <span class="math-container">$x$</span> and <span class="math-container">$y$</span>. Though I know the first is not analytically solvable, my hope was to solve the second, and then substitute into the first. However, I am unable to solve the second equation, though I think it may be possible. Without further ado, the equations are: <span class="math-container">$$\left\{\begin{array}{l}\sin(t)\cos(t)-y\sin(t)-t+x=0\\\cos(2t)-y\cos(t)-1=0\end{array}\right.$$</span> Indeed, if one considers the first and second left hand sides, one can observe that the second is the derivative of the first with respect to <span class="math-container">$t$</span>. Not sure if that helps.</p> <p>Thanks a lot, and any help is appreciated.</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Update on Man of Steel Sequel: Ben Affleck will help write the script and has signed a multi-picture deal..
0non-cybersec
Reddit
An informal anti-virus comparison.
1cybersec
Reddit
induced homomorphism. <p>I found the following in section 8.14 of Munkres <em>Topology, a first course</em>.</p> <p>"Now suppose we have a fixed path-connected space $B$ and a fixed base $b \in B$. Let $p: E \rightarrow B$ be a covering map, where $E$ is path connected. If we choose a point $e$ in $p^{-1}(b)$ as a base point for $E$, then we have an induced homomorphism $p_*: \pi_1(E,e) \rightarrow \pi(B,b)$."</p> <p>How is this homorphism induced? I can get a surjection between the first fundamental group of a base space space at a point to the fiber over that point, but since it might not be injective I can't necessarily invert it.</p>
0non-cybersec
Stackexchange
Is it a good practice to have an endpoint URL with path parameter accepting different type of values according to an indicator in the HTTP header?. <p>Assume a resource URL in the context of REST API:</p> <p><code>/sites/&lt;site id or site code&gt;/buildings/&lt;building id or building code&gt;</code></p> <p>The value of the two path parameters, <code>&lt;site id or site code&gt;</code> and <code>&lt;building id or building code&gt;</code>, can be either <em>id</em> or <em>code</em> as the name indicates. Implicitly it means:</p> <p>for instance, there is a building with <code>1</code> as building id and <code>rake</code> as building code, and it is located in the site with <code>5</code> as the site id and <code>SF</code> as the site code, then the following endpoint URL should retrieve the same result:</p> <ul> <li>/sites/5/buildings/1</li> <li>/sites/5/buildings/rake</li> <li>/sites/SF/buildings/1</li> <li>/sites/SF/buildings/rake</li> </ul> <p>In order to reduce the <em>ambiguity</em>, a hint is added into the <em>HTTP header</em>, e.g. <code>path-parameter-type</code> with value as <code>CODE</code> or <code>ID</code>, indicating the type of the given values of the <em>path parameters</em>. As a result, only two types of requests are allowed with the given example:</p> <ul> <li>/sites/5/buildings/1 with <code>CODE</code> as <code>path-parameter-type</code> in the http header</li> <li>/sites/SF/buildings/rake with <code>ID</code> as <code>path-parameter-type</code> in the http header</li> </ul> <p>Even though, the implementation of such resource endpoint contains a couple of <code>if</code> conditions due to two different type of <em>path parameters</em>. However, from the end-user's aspect, this seems to be handy.</p> <p>My <strong>question</strong> is <strong>whether such endpoint design is a good practice or a typical bad practice albeit the fact that there is a type indicator in the <em>HTTP header</em></strong>?</p>
0non-cybersec
Stackexchange
Testing websites on devices such as iPhones?. <p>I'm aware of many sites that you can use for cross-browser testing and I was wondering if anyone knows any free sites that you can use to test sites on an iPhone?</p>
0non-cybersec
Stackexchange
Instant Past.
0non-cybersec
Reddit
Program type already present: com.folder.servicehelper.BuildConfig. <p>I am developing an Android library. So, I have a module that will be the .aar file.</p> <p>This is the Graddle file of this module:</p> <pre><code>apply plugin: 'com.android.library' android { compileSdkVersion 28 defaultConfig { minSdkVersion 16 targetSdkVersion 28 versionCode 1 versionName "1.0" multiDexEnabled true testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') implementation 'com.esri.arcgis.android:arcgis-android:10.2.9' implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.android.support:appcompat-v7:28.0.0-rc02' implementation (name:'offending_library_2.0.0', ext:'aar') testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' } </code></pre> <p>Aside, I have another module (app module) which I use to test this library, asa dummy app. I have that library loaded here too, since if I don`t have it it will not compile, This is the Graddle of the app module:</p> <pre><code>apply plugin: 'com.android.application' android { compileSdkVersion 28 defaultConfig { applicationId "com.my.company.domain" minSdkVersion 16 targetSdkVersion 28 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } packagingOptions{ exclude 'META-INF/LGPL2.1' exclude 'META-INF/LICENSE' exclude 'META-INF/NOTICE' } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar']) implementation 'com.esri.arcgis.android:arcgis-android:10.2.9' implementation 'com.squareup.okhttp3:okhttp:3.11.0' implementation 'com.android.support:appcompat-v7:28.0.0-rc02' implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation (name:'offending_library_2.0.0', ext:'aar') implementation project (':arcgislibrary')&lt;----- This is the other module testImplementation 'junit:junit:4.12' androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' } </code></pre> <p>This way, I am having the error Program type already present: com.folder.servicehelper.BuildConfig Message{kind=ERROR, text=Program type already present: com.folder.servicehelper.BuildConfig, sources=[Unknown source file], tool name=Optional.of(D8)}</p> <p>The BuildConfig class is inside the offending_library of my graddle files.</p> <p>I tried to delete the .aar file of the libs folder of the app module, but that way it doesn't compiles. Tried to do</p> <pre><code>implementation (name:'offending_library_2.0.0', ext:'aar'){ exclude group:'com.folder.servicehelper' } </code></pre> <p>but the result is the same.</p> <p>Any idea of how could I get rid of that error?</p> <p>Thank you.</p>
0non-cybersec
Stackexchange
GPU (Specifically NVidia) Cloud Computing Centres. <p>In the CPU computing world, you have giant cloud providers like Microsoft Azure, Amazon EC2 and Rackspace. You have also smaller companies that provide dedicated hosting services.</p> <p>Amazon EC2 has limited support for GPU computing with Tesla, as:</p> <ol> <li>They are using an old Tesla</li> <li>They only support that in one centre in US.</li> </ol> <p>Otherwise, they would have been a good choice for me.</p> <blockquote> <p>What I am looking for is a GPU hosting provider, located, in order of preference, in:</p> <pre><code>1 - UK 2 - West Europe 3 - USA </code></pre> <p>They should also have modern NVidia Tesla K20 or Tesla K20X GPUs and support Windows hosting and interested in a start up.</p> </blockquote>
0non-cybersec
Stackexchange
Guy posts picture of his puppy on Facebook. Someone didn't like it..
0non-cybersec
Reddit
Important applications of the Uniform Boundedness Principle. <p>There's like three applications of the <a href="http://en.wikipedia.org/wiki/Uniform_boundedness_principle" rel="noreferrer">uniform boundedness principle</a> in wikipedia:</p> <p>1) If a sequence of bounded operators converges pointwise to an operator, then the limit operator is also bounded, and the convergence is uniform on compact sets.</p> <p>2) Any weakly bounded subset of a normed space is bounded.</p> <p>3) A result in pointwise convergence of Fourier series.</p> <p>I am just asking if there's more interesting applications of the uniform boundedness principle.</p>
0non-cybersec
Stackexchange
How to enable WPA/WPA2 in NetworkManager?. <p>I just reinstalled ArchLinux on my Thinkpad. I am a bit puzzled that the <code>network-manager-applet</code> only supports WEP encryption for wifi networks.</p> <p><a href="https://i.stack.imgur.com/suwIA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/suwIA.png" alt="network-manager-applet"></a></p> <p>I already installed <code>wpa_supplicant</code> and <code>wireless_tools</code> as <a href="https://evilshit.wordpress.com/2012/09/15/how-to-make-networkmanager-and-network-manager-applet-work-on-arch-linux-with-gnome3/" rel="nofollow noreferrer">suggested elsewhere on the internet</a>.</p> <pre><code>0 ✓ user@alcor ~ $ pacaur -Qs network local/libnm-glib 1.4.4-1 NetworkManager library local/network-manager-applet 1.4.2-1 Applet for managing network connections local/networkmanager 1.4.4-1 Network connection manager and user applications local/nm-connection-editor 1.4.2-1 NetworkManager GUI connection editor and widgets </code></pre> <p>I'm running ArchLinux with kernel 4.8.13-1-ARCH and the classic Mate Desktop environment in GTK-2 version.</p> <p>How to enable WPA and WPA2 for the Network Manager Applet?</p>
0non-cybersec
Stackexchange
Idiot runs bike into pool.
0non-cybersec
Reddit
Faster Upload Speeds with AWS EC2 Instance. <p>I've got a t2.medium instance with an EBS volume and EFS in the U.S. West (Oregon) availability region.</p> <p>Users (often out of California) can upload image files using a javascript file uploader, but no matter how fast the user's connection is, they can't seem to upload any faster than ~500kb/s.</p> <p>For example, if a user speed-tests their upload rate at 5mb/s, and then uploads a 5MB image file, it will still take nearly 11 seconds to complete.</p> <p>I get similar results when using FTP to upload files.</p> <p>My initial thought was that I should change my instance to something with better Network Performance — but since I'm uploading directly to the EFS and not an amazon bucket or something else, I wasn't sure networking was my problem.</p> <p>How can I achieve faster upload rates? Is this a limitation of my instance?</p>
0non-cybersec
Stackexchange
Monster Truck go brrt.
0non-cybersec
Reddit
He's always getting in the dryer.
0non-cybersec
Reddit
Force Ubuntu Installer to use only MBR -- no EFI. <p>I have a UEFI-capable 64 bit system, but the existing Windows 7 is MBR. I want to dual-boot with either Ubuntu 18.04 or 19.10 (don't care which). The GUI install (bootable DVD) works fine in legacy mode, but installs Ubuntu such that it will boot only EFI.</p> <p>I bought AOMEI Partition Assistant Pro, hoping to convert the Windows 7 system to EFI non-destructively, as they claim it will do. The "non-destructive" conversion destroyed all boot capability. I had to restore from backup. (I do not have a W7 installation disk; The machine was bought "refurbished".)</p> <p>Can the Ubuntu installer be forced to install an MBR/legacy bootable version? If so, how? (I also have a support request in to AOMEI to see if I can actually make the W7 system EFI bootable.)</p>
0non-cybersec
Stackexchange
Made some pork roast today. Pre-roasting pic. [NSF Vegetarians].
0non-cybersec
Reddit
Recurrence Substitution Method of $T(n)=T(n/2)+T(n/3)+n$. <p>I need to prove $$T\Big(\frac{n}{2}\Big)+T\Big(\frac{n}{3}\Big)+n \leq cn,$$ by induction where $$T(n) \leq \frac{cn}{2} +\frac{cn}{3}+n=n\Big(\frac{c}{2}+\frac{c}{3}+1\Big).$$ Everything in the parenthesis is a constant, but I can't just ignore the constant in an induction proof. The book says: "Mathematical induction does not work unless we prove the exact form of the inductive hypothesis" (CLRS introduction to Algorithm, 3rd edition, page 85), so I can't say that $(c/2+c/3+1)$ is just a constant. What am I missing? I've tried to figure out the answer by looking at the subtracting constant technique on the same page of CLRS (<a href="https://math.stackexchange.com/questions/1867203/clrs-substitution-method-subtracting-constant-technique">CLRS substitution method &quot;subtracting constant&quot; technique</a>), but as far as I can see it only works with added constants and not multiplication.</p>
0non-cybersec
Stackexchange
How to manage my private key for signing .NET assemblies?. <p>I write open source .NET class libraries as a hobby and thought about signing them. I can get Visual Studio to generate me a password protected public/private key pair and save it as a .pfx file, but I don't think I should do this for <em>each and every</em> project. One key pair should be enough, right?</p> <p>Obviously I'm not going to put my .pfx file with the source code in my online public repository: only the assemblies I release should be signed with my key pair. Other people can use their own keys if they want.</p> <p>So I'm left with some .pfx file that supposedly contains my public/private key pair.</p> <ul> <li>How do I manage my key pair effectively?</li> <li>Where do I store it?</li> <li>Do I have to import it somewhere?</li> <li>How can I use it on both my PC and my laptop?</li> <li>How do I prevent the <a href="https://stackoverflow.com/q/2815366/146622">key pair hell</a> when switching from PC to laptop?</li> </ul>
0non-cybersec
Stackexchange
Unique values in Excel?. <blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://superuser.com/questions/264949/how-can-i-display-only-the-unique-values-in-one-column-in-excel">How can I display only the unique values in one column in Excel?</a> </p> </blockquote> <p>I want remove equal words, not simply duplicate words, EQUAL words:</p> <p><img src="https://i.stack.imgur.com/yvtBh.png" alt="enter image description here"></p>
0non-cybersec
Stackexchange
std::set has duplicate entry. <p>I have a set of tuples of 3 integers and I don't want any duplicates. That is, I don't want 2 entries with the same 3 values.</p> <p>And here is my code.</p> <pre><code>struct Key{ unsigned a; unsigned b; unsigned c; public: Key(unsigned _a, unsigned _b, unsigned _c) : a(_a), b(_b), c(_c) {} bool operator&lt;(const Key&amp; rhs) const { if (a &lt; rhs.a) { return true; } if (b &lt; rhs.b) { return true; } if (c &lt; rhs.c) { return true; } return false; }; }; std::set&lt;Key&gt; myset; </code></pre> <p>But I see duplicates in <code>myset</code> sometimes. I can't catch exactly what sequence causes the duplicate entry to be added. It doesn't always happen. My question is this, is there something intrinsically wrong with my <code>operator&lt;</code> function? </p>
0non-cybersec
Stackexchange
Is it safe to make every resource public in a Google Cloud Storage bucket?. <p>I'm developing a business web application for my client, in which he can upload images (e.g. floor plans, photos of object etc.) and documents of different objects (word, excel etc.). The images should be displayed when someone logs in the website and selects an object.</p> <p>I'm using the Google Cloud Storage platform as the file storage and I made the bucket in what I'm storing the images available to the public Internet. The url is something like this:</p> <p><a href="https://storage.googleapis.com/mitulat-bati-bucket/%7Bguid%7D.jpg" rel="nofollow noreferrer">https://storage.googleapis.com/mitulat-bati-bucket/{guid}.jpg</a> (every file has a guid as the name)</p> <p>So it's only available if one knows the full URL including the GUID (the filename).</p> <p>My question is: is it safe enough and can go forward with this approach? And <strong>is there any potential hazard apart from guessing out the guid?</strong></p> <p>(the other approach would be to initiate a request from the client to my backend server that downloads the file from the cloud (with authentication) and sends back the image to the client that displays it)</p>
0non-cybersec
Stackexchange
Is it weird to just ask a hair dresser to do whatever they think looks good?. I've never really loved my hair and I don't really know what to ask for. I've gone through a lot of pictures but feel like I'd just like something different. Is it weird to just go into a hair salon and tell them to do whatever they want?
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
Share a printer between Windows and Linux. <p>I have a <code>Canon LBP2900</code> printer. I have connected the printer with my desktop PC running windows xp and shared it. I have Ubuntu in my laptop and connected to the local network. Is there any easy way to print from ubuntu?</p>
0non-cybersec
Stackexchange
Explain dating like I'm five. Seriously, get super basic.. So basically, I'm mildly autistic. I'm a totally normal guy otherwise; the issue here is that I have a hard time handling social interaction. Social cues are just naturally hard for me to read, which complicates things. I can handle a *normal* situation pretty well, but dating/relationships are a *COMPLETELY* different scenario, and I'm not sure how they work. The last couple dates I've been on have all gone pretty well. But I kind of get the feeling that they think I'm going for a "friend date" kind of thing, because I have no idea how to do it differently. I guess my question is, how do I show romantic intent, and/or other stuff that I should probably know how to do?
0non-cybersec
Reddit
Yellow-Light Crusader Fined for Doing Math Without a License.
0non-cybersec
Reddit
Can I bring together all packages in one \usepackage{} command?. <p>I have many <code>\usepackage{}</code> commands in the preamble of <code>Thesis.tex</code>. Can I bring them together into one <code>\usepackage{}</code> command. Is there any limitation for the number of packages in case of such usage? Also may a conflict occur when one uses packages together?</p>
0non-cybersec
Stackexchange
BaronReplays 2.10 Camera Rotation Release. Hello everyone: We have released version 2.10. The main change is camera rotation. Watch the demo video below. [Demo Video](https://www.youtube.com/watch?v=auhTol9PRug) Other changes are listed below. **Added**: Camera rotation **Added**: Arabic language interface **Added**: Featured gamed mode display **Fixed**: Record when start with windows **Fixed**: Garena region custom game recording(CUSTOM GAME Only) Now, we are going to teach you how to use camera rotation system. Use move your mouse when right button down to rotate screen angle and use numeric keypad to control the camera movement numeric keypad 7, 9: look left or right numeric keypad 2, 4, 6, 8: move camera position numeric keypad 5: return to original perspective We also develop a special mode named "Spotlight mode". Set camera mode to a player when you watch a match. Press * on numeric keypad. The camera will sightly adjust angles to view. Just like watch an 3D movie. You can press / to disable Spotlight mode. Camera rotation enabled only when match start by BaronReplays, like: Replay matches, Featured games, Command analyzer Finally, we start a new plan try to let everyone can make their own montage. See the details on kickstarter. [BaronReplays at Kickstarter](https://www.kickstarter.com/projects/905284405/baronreplays)
0non-cybersec
Reddit
It has long been thought that dolphins produce sounds by means of "whistles," but a new analysis has revealed that instead, they make sounds by means of tissue vibrations, similar to the way humans use vocal cords..
0non-cybersec
Reddit
Sensu: A modern open-source monitoring framework..
0non-cybersec
Reddit
I gave it a go!.
0non-cybersec
Reddit
I've been waiting for months. Finally, here is cousin's reaction to SoS [Huge Spoiler Alert!] (sorry for the shitty editing, it's not my forte).
0non-cybersec
Reddit
Medieval European child custody law.
0non-cybersec
Reddit
Is there a typical way to pass a password to a Systemd Unit file?. <p>I would like to start a service using a systemd unit file. This service requires a password to start. I don't want to store the password in plaintext in the systemd unit file, because it is world-readable. I also don't want to provide this password interactively. </p> <p>If I were writing a normal script for this, I would store the credentials in a file owned by root with restricted permissions (400 or 600), and then read the file as part of the script. Is there any particular systemd-style way to do this, or should I just follow the same process as I would in a regular shell script?</p>
0non-cybersec
Stackexchange
How use generic T inside a method in java?. <p>We can do this in C#:</p> <pre><code>private T getData&lt;T&gt;(Context context, String url, PostModel postModel) throws ApiException, IOException, ConnectionException { Response response = new CallApi&lt;T&gt;(Connection.getApiUrl(context)) .Post(url, postModel); if (response.code() != 200) throw new ApiException(context,response); Gson gson = new GsonBuilder() .setLenient() .create(); T obj = gson.fromJson(response.body().charStream(), new TypeToken&lt;T&gt;() { }.getType()); return obj; } </code></pre> <p>To call: </p> <pre><code>EmployeeModel model = getData&lt;EmployeeModel&gt;(context, url, null); </code></pre> <p>As you can see we declare <code>T</code> as in method signature and inside the method, it replaced with <code>EmployeeModel</code> in <code>CallApi&lt;T&gt;</code> and <code>new TypeToken&lt;T&gt;</code> and it will return <code>EmployeeModel</code> object as the result.</p> <p>In Java(Android) when I want to use this generic, I have:</p> <pre><code>private &lt;T&gt; T getData(Context context, String url, PostModel postModel){...} </code></pre> <p>But it returns me a <code>LinkedTreeMap</code> object and not an <code>EmployeeModel</code>! When I move &lt; T > from method signature to the class itself result is same too.</p> <p>I search the web and StackOverflow for finding this type of using but articles are just about how to cast <code>T</code> to a model or how to pass it as a parameter. </p> <blockquote> <p>Please consider that I don't pass <code>T</code> into a method as a parameter and I don't need to cast <code>T</code> to anything. T is used as the <strong>type</strong> on other generic methods type!</p> </blockquote> <p>So how can I implement this method in Java?</p>
0non-cybersec
Stackexchange
Name for property of mixed characteristic DVR: admits regular local homomorphism from DVR with finite residue field. <p>Does anybody happen to know if there is already a name in the literature for the following property of a mixed characteristic DVR: that there exists a local homomorphism that is regular into the specified DVR where the domain is a DVR whose residue field is a finite field? </p> <p>Since the fraction field has characteristic $0$, the "regular" hypothesis is equivalent to asking that the image of the maximal ideal of the source DVR (the one with finite residue field) in the target DVR generates the maximal ideal of the target DVR.</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
How to debug freezing Xorg?. <p>At the very beginning, I am aware that I can provide very little info on my problem (and actually I'm ashamed about it). Thus, although I'd like to fix it, I'm asking first on how to get to the root of said problem.</p> <p><strong>System</strong> is few years old PC with Debian (3.10-3-amd64) jessie/sid, X and xfce running. Graphics is Nvidia Geforce 8300.</p> <p><strong>Symptoms</strong> are: system freezes with good deal of randomness. Usually screen displays some quick shakes followed by lots of colorful horizontal lines, followed by full screen filled with single color. At this point keyboard and mouse are useless (tried ctrl-alt-f1234... to get console, num/caps lock LEDs stop reacting) and I'm forced to hard reset.</p> <p>I'm not entirely sure, but it looks it's connected to graphic acceleration: I can work for some time in xfce console and use opera without freezes, then freeze occurs at random moment when I'm using chromium or firefox, or after short time playing openarena. Glxgears didn't crash yet :)</p> <p><strong>Lately</strong> the system was upgraded via dist-upgrade, I've also done some cleanup in packages (perhaps I unknowingly deleted something important?). During upgrade both X packages and nvidia kernel were updated. <strong>[edit]</strong> the problem shown only after upgrade, previously everything was fine.</p> <p><strong>So far</strong> I've tried removing nvidia drivers, which seemingly helped (not entirely sure, freezes are random - system worked for quite short time, no freezes occured), but on default X config framerate drops on anything graphic intensive, so I tried to get nvidia back. Installed nvidia-kernel, settings, xconfig. Did not help, acceleration works, freezes still occur.</p> <p>[Edited] The problem seems not to occur on old Windows 7 installation on the same machine. It works less fluent and more HD-intensive than Debian, but haven't frozen while playing HD video from youtube and during benchmark test from <a href="http://novabench.com" rel="nofollow noreferrer">http://novabench.com</a> Therefore I doubt it is hardware related, but this is still possible, computer has his age.</p> <p>Also, to repeat, before upgrading Debian the problem didn't occur.</p> <p>What else should I try? What additional information might be useful and how to get it?</p>
0non-cybersec
Stackexchange
Can&#39;t install kernel or configure dpkg. <p>I have always had problems with cleaning my kernels, but somehow I've always managed to do it. This time I don't ! I can't seem to remove any old kernel.</p> <p>Now here is what happens when I try <code>sudo apt-get install 4.4.0-53-generic</code> </p> <pre><code>Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'linux-signed-image-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-cloud-tools-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-image-extra-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-tools-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-headers-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-image-4.4.0-53-generic' for regex '4.4.0-53-generic' linux-cloud-tools-4.4.0-53-generic is already the newest version. linux-headers-4.4.0-53-generic is already the newest version. linux-image-4.4.0-53-generic is already the newest version. linux-image-extra-4.4.0-53-generic is already the newest version. linux-signed-image-4.4.0-53-generic is already the newest version. linux-tools-4.4.0-53-generic is already the newest version. The following packages were automatically installed and are no longer required: linux-image-4.4.0-47-generic linux-image-extra-4.4.0-47-generic Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up linux-image-extra-4.4.0-53-generic (4.4.0-53.74~14.04.1) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic update-initramfs: Generating /boot/initrd.img-4.4.0-53-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.4.0-53-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-4.4.0-53-generic (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-generic-lts-xenial: linux-image-generic-lts-xenial depends on linux-image-extra-4.4.0-53-generic; however: Package linux-image-extra-4.4.0-53-generic is not configured yet. dpkg: error processing package linux-image-generic-lts-xenial (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: linux-image-extra-4.4.0-53-generic linux-image-generic-lts-xenial E: Sub-process /usr/bin/dpkg returned an error code (1) odermy@elda:~$ sudo apt-get install 4.4.0-53-generic Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'linux-signed-image-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-cloud-tools-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-image-extra-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-tools-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-headers-4.4.0-53-generic' for regex '4.4.0-53-generic' Note, selecting 'linux-image-4.4.0-53-generic' for regex '4.4.0-53-generic' linux-cloud-tools-4.4.0-53-generic is already the newest version. linux-headers-4.4.0-53-generic is already the newest version. linux-image-4.4.0-53-generic is already the newest version. linux-image-extra-4.4.0-53-generic is already the newest version. linux-signed-image-4.4.0-53-generic is already the newest version. linux-tools-4.4.0-53-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up linux-image-extra-4.4.0-53-generic (4.4.0-53.74~14.04.1) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic update-initramfs: Generating /boot/initrd.img-4.4.0-53-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.4.0-53-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-4.4.0-53-generic (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-generic-lts-xenial: linux-image-generic-lts-xenial depends on linux-image-extra-4.4.0-53-generic; however: Package linux-image-extra-4.4.0-53-generic is not configured yet. dpkg: error processing package linux-image-generic-lts-xenial (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: linux-image-extra-4.4.0-53-generic linux-image-generic-lts-xenial E: Sub-process /usr/bin/dpkg returned an error code (1)</code></pre> <p>or</p> <p>I also tried <code>sudo dpkg --configure -a</code></p> <pre><code>Setting up linux-image-extra-4.4.0-53-generic (4.4.0-53.74~14.04.1) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic update-initramfs: Generating /boot/initrd.img-4.4.0-53-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.4.0-53-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-4.4.0-53-generic (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-generic-lts-xenial: linux-image-generic-lts-xenial depends on linux-image-extra-4.4.0-53-generic; however: Package linux-image-extra-4.4.0-53-generic is not configured yet. dpkg: error processing package linux-image-generic-lts-xenial (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: linux-image-extra-4.4.0-53-generic linux-image-generic-lts-xenial </code></pre> <p>and <code>sudo apt-get -f install</code></p> <pre><code>Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-image-extra-4.4.0-53-generic (4.4.0-53.74~14.04.1) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic update-initramfs: Generating /boot/initrd.img-4.4.0-53-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.4.0-53-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-4.4.0-53-generic (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-generic-lts-xenial: linux-image-generic-lts-xenial depends on linux-image-extra-4.4.0-53-generic; however: Package linux-image-extra-4.4.0-53-generic is not configured yet. dpkg: error processing package linux-image-generic-lts-xenial (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: linux-image-extra-4.4.0-53-generic linux-image-generic-lts-xenial E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre> <p>And here is my <code>/etc/default/grub</code></p> <pre><code># If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. # For full documentation of the options in this file, see: # info -f grub -n 'Simple configuration' GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" # Uncomment to disable graphical terminal (grub-pc only) #GRUB_TERMINAL=console # The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' #GRUB_GFXMODE=640x480 # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_RECOVERY="true" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1"</code></pre> <p>I don't know how much of my quotes help but I've tried to post everything that was asked in similar cases.</p> <p>Thanks in advance and sorry if my problem comes from my stupidity !</p> <p>EDIT :</p> <p>I forgot to post what happens when I try to remove older kernels, for instance <code>sudo apt-get remove linux-image-3.13.0-92-generic</code> gives</p> <pre><code>Reading package lists... Done Building dependency tree Reading state information... Done Package 'linux-image-3.13.0-92-generic' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up linux-image-extra-4.4.0-53-generic (4.4.0-53.74~14.04.1) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-53-generic /boot/vmlinuz-4.4.0-53-generic update-initramfs: Generating /boot/initrd.img-4.4.0-53-generic gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-4.4.0-53-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-4.4.0-53-generic (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of linux-image-generic-lts-xenial: linux-image-generic-lts-xenial depends on linux-image-extra-4.4.0-53-generic; however: Package linux-image-extra-4.4.0-53-generic is not configured yet. dpkg: error processing package linux-image-generic-lts-xenial (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: linux-image-extra-4.4.0-53-generic linux-image-generic-lts-xenial E: Sub-process /usr/bin/dpkg returned an error code (1) </code></pre>
0non-cybersec
Stackexchange
Integrating the bivariate normal distribution. <p>Let $X$ and $Y$ have the bivariate normal density function,</p> <p>$$ f(x, y) = \frac{1}{2 \pi \sqrt{1 - p^2}} \exp \left\{ - \frac{1}{2(1 - p^2)} (x^2 - 2pxy + y^2) \right\} $$</p> <p>for fixed $p \in (-1, 1)$. Let $Z = (Y - pX)/\sqrt{1 - p^2}$. I have already proven that $X$ and $Z$ are independent $N(0, 1)$ variables. Now I want to determine $\mathbb{P}(X &gt; 0, Y &gt; 0)$. I know that this can be written as $$ \mathbb{P} (X &gt; 0, Z &gt; -pX / \sqrt{1 - p^2} ) $$ I thought about using the Jacobian variable change thing, with $$ u = x^2 + z^2, v = x / (x^2 + z^2) $$ such that the inverses are given by $$ z = uv, ~~~ x = \sqrt{u - u^2v^2} $$ (note that $x &gt; 0$, so the $-\sqrt{\phantom{x}}$ solution of $x$ is irrelevant). However, the (double) integral I then get is an integral I still cannot compute. Also, I don't know to where $u$ and $v$ map the set $$ \{(x, z) \in \mathbb{R}^2 : x &gt; 0, z &gt; -px / \sqrt{1 - p^2} \} $$ which I need to know in order to know the boundaries for the new (double) integral.</p> <p>Is this even the right approach? If yes, how should I proceed? If no, what is the right approach?</p> <p>Thanks in advance!</p>
0non-cybersec
Stackexchange
How to use Task Scheduler to open an elevated Powershell window and run SFC and DISM in Windows 10. <p>I have a scheduled Task where an Admin Command Prompt opens up and runs SFC and DISM. Here are the actions I entered in the "Action" tab of Task Scheduler:</p> <p><strong>Program/script:</strong> <em>%windir%\system32\cmd.exe</em></p> <p><strong>Add Arguments (optional)</strong> <em>/k Dism.exe /online /Cleanup-Image /StartComponentCleanup&amp;&amp;sfc/scannow&amp;&amp;Dism /Online /Cleanup-Image /RestoreHealth&amp;&amp;sfc/scannow</em></p> <p>Below is the exported XML file from my scheduled task:</p> <p> 2015-08-13T22:47:14.859563 RAT-COMPUTER\RAT Performs a complete system file check with SFC and DISM twice. \System File Check &amp; Repair 2015-08-17T12:00:00 true 1 S-1-5-21-4275024122-2477020419-317910845-1001 InteractiveToken HighestAvailable IgnoreNew false true true true true true false true true false false false true true PT72H 7 PT5M 3 %windir%\system32\cmd.exe /k Dism.exe /online /Cleanup-Image /StartComponentCleanup&amp;&amp;sfc/scannow&amp;&amp;Dism /Online /Cleanup-Image /RestoreHealth&amp;&amp;sfc/scannow </p> <p>I tried to run exactly the same scheduled task now on Powershell but with no luck. What do I need to do to "translate" this from command prompt into powershell in the Task Scheduler?</p>
0non-cybersec
Stackexchange
For Sale or For Trade posts. Can we make it a rule to post pics with FS/FT and reminders that make sure they put a user tag in there and there's decent images of the actual item. This'll help because 1. Nobody will trust you if you don't post YOUR OWN image. 2. Nobody wants to have to google the damn item you're supposedly selling. edit: **[Look at this example](http://www.reddit.com/r/streetwear/comments/1x0k5o/looking_for_a_quick_sale_cheap_prices/)** for how it should look. Obviously much more simple if you're selling 1 or 2 items.
0non-cybersec
Reddit
TIL some indigenous people are known to have deciphered bird language and used it to locate predators that birds were warning other birds about.
0non-cybersec
Reddit
Load balancing 2x IIS Webservers, across subnets. <p>Morning chaps,</p> <p>Currently we've got one virtual webserver, and if it goes down, nobody can login or access our Intranet.</p> <p>To resolve this I've installed two test servers (2012 R2), one on our first site (x.x.1.x) and one on our second site (x.x.2.x).</p> <p>I'd like to put in a solution whereby everything is pointed to an address of webcluster, which is shared between site1-webserver, and site2-webserver.</p> <p>Without purchasing hardware, I'm looking for the best way forward. NLB doesn't seem to quite fit the bill (due to multiple subnets), and while URL re-write in IIS does seem to fit the bill, it does look as if it'd require a third server in the mix, which would become a single point of failure.</p> <p>I was looking at IIS hosted on Azure, but I don't think Azure plays too nicely with AD integration just yet (please correct me if I'm wrong).</p> <p>Suggestions on the best way forward? </p> <p>Thanks, Ben.</p>
0non-cybersec
Stackexchange
Cauchy&#39;s Integral Formula and Delta Functions. <p>As we know from complex analysis, Cauchy's integral formula states:</p> <p>$f(z_o)=\frac{1}{2\pi i}\int_\gamma{\frac{f(z)}{z-z_o}dz}$ for a closed contour $\gamma$.</p> <p>However there is also the result from other areas of maths that states:</p> <p>$f(x_o)=\int_R{f(x)\delta(x-x_o)dx}$ for some region $R$</p> <p>Given the similarity in the results, is there any significance in comparing $\delta(x-x_o)$ to $\frac{1}{2 \pi i (x-x_o)}$ since basically integrating a function over them always gives the function's value at $x_o$</p> <p>(Apologies in advance if this question may seem silly but I haven't found any satisfactory answers in my search so I thought I'd ask)</p>
0non-cybersec
Stackexchange
"my dad said he was proud of me and it was surprising".
0non-cybersec
Reddit
Week 6 meal prep! Pork Loin, Kale Salad, and Red Quinoa. $2.06 per meal, 562 calories, and 61g of protein..
0non-cybersec
Reddit
Science Channel Refuses To Dumb Down Science Any Further.
0non-cybersec
Reddit