text
stringlengths 36
35k
| label
class label 2
classes | source
stringclasses 3
values | tokens_length
int64 128
4.1k
| text_length
int64 36
35k
|
---|---|---|---|---|
Is encryption possible for simplex (one-directional) TCP/IP, and if so, how?. <p>As explained in <a href="http://tcpipguide.com/free/t_SimplexFullDuplexandHalfDuplexOperation.htm" rel="nofollow noreferrer">the TCP/IP Guide</a>, it is possible to configure TCP/IP to operate in simplex mode and this mode is utilized, among other things, in communication from satellites.</p>
<p>One consideration with TCP/IP is however that, in itself, it "lacks even the most basic mechanisms for security, such as authentication or encryption", as <a href="http://www.linuxsecurity.com/resource_files/documentation/tcpip-security.html" rel="nofollow noreferrer">explained in this article</a>.</p>
<p>According <a href="https://security.stackexchange.com/questions/39109/is-there-an-alternative-to-tcp-ip-that-encrypts-end-to-end">to this other question</a>, IPSec can be used to provide encryption for IP, but as can be read <a href="https://en.wikipedia.org/wiki/IPsec" rel="nofollow noreferrer">at Wikipedia</a>, IPSec is used to establish <strong>mutual</strong> authentication and <strong>exchange</strong> of encryption keys.</p>
<p>Neither mutual authentication nor an exchange of keys should be possible in fully simplex mode (or maybe it is but I am missing something?).</p>
<p>Anyway, the question I wanted to ask is: if TCP/IP is actually ever operated in simplex mode, what are the options for encrypting the data?</p>
| 0non-cybersec
| Stackexchange | 407 | 1,419 |
PRTG - Windows IIS Application sensor fault. <p>I have two sensors that are giving me the same alarm. </p>
<blockquote>
<p>WMI: No result set (code: PE016) -- PerfCounter: No data to return.
(Performance Counter error 0x800007D5)</p>
</blockquote>
<p>I can't for the life of me figure out what is causing this or how to resolve it. I have checked the PRTG Knowledge base and have tried the fixes on here.</p>
<p>It points towards being some kind of WMI fault.</p>
<p><a href="https://kb.paessler.com/en/topic/3713-i-have-tried-a-lot-of-things-to-fix-my-wmi-what-else-can-i-try-to-avoid-reinstalling-windows" rel="nofollow noreferrer">https://kb.paessler.com/en/topic/3713-i-have-tried-a-lot-of-things-to-fix-my-wmi-what-else-can-i-try-to-avoid-reinstalling-windows</a></p>
<p>I've checked and restarted the WMI service and all the dependencies. I'm at a bit of a loss. I've been googling hard but can't seem to find anything that works.</p>
<p>If anyone has any ideas I would love to hear them.</p>
| 0non-cybersec
| Stackexchange | 355 | 1,009 |
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 | 349 | 1,234 |
Adding space between divs in flexbox. <p>I want to ask about good practive in making spacing between two divs which have flexbox. For example: </p>
<p><a href="https://i.stack.imgur.com/OZ8cp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OZ8cp.png" alt="enter image description here"></a></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>header {
background-image: radial-gradient(circle, #72d6c9, #54d1ed, #7ac5ff, #bcb2fe, #f29cd9);
height: 80px;
}
.menu-section {
display: flex;
}
.nav-logo {
color: #e00986;
font-size: 25px;
margin: 0;
padding-left: 15px;
line-height: 80px;
}
nav ul {
list-style-type: none;
padding: 0;
margin: 0;
text-align: center;
}
nav ul li {
display: inline-block;
width: 150px;
position: relative;
}
nav ul li a {
text-decoration: none;
line-height: 80px;
padding: 0 10px;
display: block;
color: #e00986;
}
nav ul li a:hover {
color: #FFF;
transition-duration: 2s;
}</code></pre>
<pre class="snippet-code-html lang-html prettyprint-override"><code><header>
<nav class="menu-section">
<h1 class="nav-logo">Love &#9825 Cookies</h1>
<ul>
<li><a href="#">Strona główna</a></li>
<li><a href="#">Ciastka</a>
<ul>
<li><a href="#">Torty</a></li>
<li><a href="#">Babeczki</a></li>
<li><a href="#">Bezy</a></li>
<li><a href="#">Ciasta</a></li>
</ul>
</li>
<li><a href="#">Kontakt</a></li>
</ul>
</nav>
</header></code></pre>
</div>
</div>
</p>
<p>Of course I can give margin-left: 550px to nav ul and it will be okay, but I don't think so that is the good practice. What's your opinion in this topic?</p>
| 0non-cybersec
| Stackexchange | 889 | 2,134 |
Closed Form for Factorial Sum. <p>I came across this question in some extracurricular problem sets my professor gave me: what is the closed form notation for the following sum:</p>
<p>$$S_n = 1\cdot1!+2\cdot2!+ ...+n \cdot n!$$</p>
<p>I tried computing some terms, and the only "vague" thing I noticed was that maybe I should be subtracting a term, but I'm really not sure. I went around looking on StackExchange's archives for a closed form of $S_n = 1!+2!+ ...+ n!$ but that didn't help me with my problem much. </p>
<p>Any pointers?</p>
| 0non-cybersec
| Stackexchange | 169 | 543 |
Retrieving Data from database within the last 7 days using linq. <p>I have a <code>view</code> with data and I need to retrieve data only from the last 7 days. I know there is a function for this if I was using sql query. but I'm using Linq. </p>
<p>here is my code:</p>
<pre><code> try
{
var query = (from bwl in mg.BarcodeWithLocation
select new
{
RequestID = bwl.RequestID,
Barcode = bwl.Barcode,
adrid = bwl.AdrID,
name = bwl.Name,
street = bwl.Street,
houseno = bwl.HouseNo,
postal = bwl.Postal,
city = bwl.City,
country = bwl.Country,
latitudetxt = bwl.Latitude == "" ? "Location Unknown" : "View Map Location",
latitude = bwl.Latitude,
longitude = bwl.Longitude,
date = bwl.ReceivedDate
});
this.Grid.DataSource = query;
this.Grid.DataBind();
}
catch (Exception exception)
{
Console.WriteLine("ERROR in GetNoLocationScan() method. Error Message : " + exception.Message);
}
</code></pre>
<p>can anyone tell me how I do this in Linq ?</p>
| 0non-cybersec
| Stackexchange | 374 | 1,629 |
How to assign from a function with multiple outputs?. <p>Is there a way to output e.g. 2 objects without using <code>list()</code>?</p>
<pre><code>my.fun=function(vector, index)
{
a=fun.a(vector, index)
b=fun.b(vector, index)
output=list(a,b)
}
</code></pre>
<p>Or to output 2 lists of objects? Considering that I could also have:</p>
<pre><code> c=fun.a(vector, index)
d=fun.b(vector, index)
</code></pre>
<p>And wanted <code>list(a,b)</code> and another <code>list(c,d)</code> for the same function.</p>
<p>This is just a small example for what I am looking for, my function is applied to large objects and I export them as a list, however I would like to export also an intermidiate calculation. One option would be to merge all in the same list, but I would like to know if there is another solution to this.</p>
| 0non-cybersec
| Stackexchange | 274 | 870 |
How to troubleshoot "CancellationTokenSource has been disposed" error?. <p>I am seeing a number of these errors in the logs for a .NET Core 2.2.x web app:</p>
<pre><code>Connection ID ""13546832108852449106"", Request ID ""80018f57-0407-bc00-b63f-84710c7967bb"": An unhandled exception was thrown by the application.
System.ObjectDisposedException: The CancellationTokenSource has been disposed.
at System.Threading.CancellationTokenSource.ThrowObjectDisposedException()
at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContext.<>c__DisplayClass314_0.<AbortIO>b__0(Object t)
</code></pre>
<p>As you can see, the error occurs in the .net core framework rather than my code. </p>
<p>I looked up the specific Request Id mentioned in the error and it seems to have processed just fine. The error appears in the log about a second after the request has processed and returned data. I also checked the Event Viewer and there wasn't anything suspicious around the time frame of the error.</p>
<p>How can I troubleshoot this issue?</p>
<p>The Windows 2016 server has .NET Core 2.2.6 runtime installed. </p>
| 0non-cybersec
| Stackexchange | 341 | 1,138 |
Trying to decide what to learn that I could potentially do freelance one day. I've ready the sidebar and I'm still not sure.. Hey all. I'm 30 years old and I work in IT, however I'm not happy with the direction my career is going or with life in general, and I've always wanted to learn to program, but never took the plunge outside of learning some basic HTML and JS in a college course.
The two langues I've narrowed it down to that I may want to learn (and maybe learn both eventually, but to start out with and try to master) is Java and the necessary things for making websites and such (HTML, JS, CSS, etc). I'm not saying I'm opposed to working for a company, but I'd like to one day work for myself and do freelance coding.
I know there are a TON of Java jobs out there, but is it possible to work for yourself doing Java coding?
As far as web development goes, I'm pretty sure it's possible to freelance and work for yourself by building websites and such. Does anyone here do this, and do you have any advice?
I appreciate any advice!
Edit: ~~getting downvoted. Ouch :(~~ You guys are fucking awesome. Thank you for all of the advice and information! | 0non-cybersec
| Reddit | 279 | 1,166 |
How do setup DHCP in in Linux?. <p>I can't change the default ip address of my linux box. I tried</p>
<pre><code>dhcpcd -k
</code></pre>
<p>I got a dhcpcd: command not found</p>
<p>I tried to do a:</p>
<pre><code>install dhcpcd
</code></pre>
<p>but I can't install dhcpcd because I don't have internet at the moment. The device I'm working with starts with a default static IP.</p>
<p>I also tried </p>
<pre><code>dhclient eth1 -v
</code></pre>
<p>I get
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit <a href="https://www.isc.org/software/dhcp/" rel="nofollow noreferrer">https://www.isc.org/software/dhcp/</a></p>
<pre><code>Listening on LPF/eth1/00:90:e8:00:f9:d7
Sending on LPF/eth1/00:90:e8:00:f9:d7
Sending on Socket/fallback
DHCPREQUEST of 10.13.2.109 on eth1 to 255.255.255.255 port 67
DHCPACK of 10.13.2.109 from 10.13.1.1
RTNETLINK answers: File exists
bound to 10.13.2.109 -- renewal in 42817 seconds.
</code></pre>
<p>I type in {ifconfig}</p>
<p>and I still get:</p>
<pre><code> eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.4.127 netmask 255.255.255.0 broadcast 192.168.4.255
inet6 fe80::290:e8ff:fe00:f9d7 prefixlen 64 scopeid 0x20<link>
ether 00:90:e8:00:f9:d7 txqueuelen 1000 (Ethernet)
RX packets 134834 bytes 17025152 (16.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2265 bytes 140834 (137.5 KiB)
</code></pre>
<p>How do I install dhcp if I have no internet?</p>
<p>PSsst...I'm a newb when it comes to linux. </p>
<p>I'm on debian 9.0 btw.</p>
<p><strong>Edit</strong></p>
<p>If I type in ip addr I get</p>
<pre><code> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:90:e8:00:f9:d7 brd ff:ff:ff:ff:ff:ff
inet 192.168.4.127/24 brd 192.168.4.255 scope global eth1
valid_lft forever preferred_lft forever
inet 10.13.2.109/22 brd 10.13.3.255 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::290:e8ff:fe00:f9d7/64 scope link
valid_lft forever preferred_lft forever
</code></pre>
<p>I see where it says inet 10.13.2.109. I guess what's throwing me off is it also states my inet is 192.168.4.127. ELI5?</p>
| 0non-cybersec
| Stackexchange | 955 | 2,359 |
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 | 349 | 1,234 |
Strategy to isolate multiple nginx ssl apps with single domain via suburi's?. <p>Warning: so far I have only learnt how to use nginx to serve apps with their own domain and server block. But I think its time to dive a little deeper.</p>
<p>To mitigate the need for multiple SSL certificates or expensive wildcard certificates I would like to serve multiple apps (e.g. rails apps, php apps, node.js apps) from one nginx server_name. e.g. rooturl/railsapp rooturl/nodejsapp rooturl/phpshop rooturl/phpblog </p>
<p>I am unsure on ideal strategy. Some examples I have seen and or thought about:</p>
<ol>
<li><p>Multiple location rules, this seems to cause conflicts between the individual app config requirements, e.g. differing rewrite and access requirements</p></li>
<li><p>Isolated apps by backend internal port, is this possible? Each port routing to its own config? So config is isolated and can be bespoke to app requirements.</p></li>
<li><p>Reverse proxy, I am little ignorant of how this works, is this what I need to research? is this actually 2 above? Help online seems to always proxy to another server e.g apache</p></li>
</ol>
<p>What is an effective way to isolate config requirements for apps served from a single domain via sub uris?</p>
| 0non-cybersec
| Stackexchange | 336 | 1,263 |
Why is Netbeans suggesting I "Flip operands of the binary operators" in my Java code. <p>Netbeans frequently suggests that I "flip operands of the binary operator" when I'm doing mathematical calculations. For example, in the following line of code:</p>
<pre><code> change = 100 - price;
quarters = change / 25;
dimes = change % 25 / 10;
nickels = change % 25 % 10 / 5;
pennies = change % 25 % 10 % 5;
</code></pre>
<p>Netbeans makes the suggestion for every mathematical symbol (so it does it three times in the 'pennies' line.</p>
<p>I'm not sure I understand why it's making the suggestion. If I were to flip the operands while performing division I would get a different result (if "flip" means what I think it does, which is switch the order of the two values). Why does it suggest this?</p>
| 0non-cybersec
| Stackexchange | 229 | 830 |
getLinks method returns deleted Entities, how to prevent it?. <p>Below is my code to get the list of <code>Entity</code>'s linked. It works but the problem is that even the deleted <code>Entity</code> is returned, although the <code>Entity</code> is already emptied out and it is the only property set. Is there a way to not return the deleted entities at all? Or is there a way to filter it out? </p>
<pre><code>EntityId idOfEntity = txn.toEntityId(entityId);
Entity txnEntity = txn.getEntity(idOfEntity);
EntityIterable result = txnEntity.getLinks(Arrays.asList(new String[] {linkName}));
for (Entity entity : result) {
}
</code></pre>
| 0non-cybersec
| Stackexchange | 189 | 639 |
Line breaks for items while wrapping images with a list. <p>I am trying to create a list with figure on the right side in beamer but the sentence breaks at unusual places.</p>
<pre><code> \begin{frame}{Protocol}
\begin{wrapfigure}{R}{0.2\textwidth}
\centering
\includegraphics[width=0.1\textwidth]{Schematic_coating}
\end{wrapfigure}
\noindent
\begin{itemize}
\item Prepare 0.6 M NaCl solution in a 10 mM Tris-HCl (pH 8.5) solution
\item Clean the glass substrate using ultrasonication with water and acetone or ethanol.
\item Leave the substrate for 8 h into the solution for coating.
\item Rinse extensively with ultrapure water and dry under a stream of nitrogen.
\end{itemize}
\end{frame}
</code></pre>
<p><a href="https://i.stack.imgur.com/X6XO4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X6XO4.png" alt="Image showing line break" /></a></p>
| 0non-cybersec
| Stackexchange | 291 | 1,014 |
Is there the equivalent of next in Pry?. <p>I don't see a way of just going to the next line when using pry as a debugger. All I can find is to edit the method and move binding.pry to the next line. Is there such a feature?</p>
<pre><code>22: def scan path
23: @last_line_had_text, @files_read, @hands_read = nil, 0, 0
24: Find.find(path){ |file_name|
=> 25: binding.pry
26: read_file(file_name) if file_name.include?(".txt")
27: }
28: end
</code></pre>
| 0non-cybersec
| Stackexchange | 174 | 513 |
Proof of validity of predicate logic axioms?. <p>I am having a very hard time grasping the proof of the validity of the predicate logic axiom PC1: <span class="math-container">$\forall P \rightarrow P[B/a] $</span> (where P[B/a] is the result of replacing each free occurrence of a with B, and assuming no occurrence of a occurs within the scope of an occurrence of <span class="math-container">$\forall B$</span>). </p>
<p>Beforehand, I have shown: </p>
<p>1/ that if the variable assignments g and h agree on the free variables in P, Vg(P)=Vh(P)</p>
<p>2/ if [a]g=[B]g, then Vg(P)=Vg(P(B/a))</p>
<p>Doing a proof by reductio, it seems obvious that Vg(<span class="math-container">$\forall xP$</span>)=1 contradicts Vg(P[B/a])=0 but I have no idea how to write out the semantic argument correctly. It also seems like I should be using the above, but again I have no idea how to establish the antecedents.</p>
<p>Any help would be appreciated-it would be great if I could get this proof down to be able to refer back to it!</p>
| 0non-cybersec
| Stackexchange | 322 | 1,033 |
Ubuntu is getting stuck at pruple boot screen. <p>My Ubuntu was working all fine but suddenly it got shutdown and now it is not getting past the purple boot screen. I tried using the recovery mode but i get presented with some error logs. What could be wrong in this case? I have attached the image below.</p>
<p>I also tried doing <code>fsck</code> but i got that <code>fsck is not installed</code>. Unfortunately i do not backups of many important files on the system. I would like to know if there is any option of recovery.</p>
<p><a href="https://i.stack.imgur.com/lueST.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lueST.jpg" alt="here is the image of logs"></a></p>
| 0non-cybersec
| Stackexchange | 198 | 697 |
Conformity of $r^λ(\cos(λθ),\sin(λθ))$ for $λ∈\Bbb C$, $(r,θ)$ standard polar coordinates. <p>Welcome everybody :)</p>
<p>I have problems to solve the following task:</p>
<hr>
<p>Let $\lambda∈\Bbb C$.</p>
<p>Define $$(r,\theta ) = r^λ (\cos(λ\theta ),\sin(λ\theta ))$$ Here $(r,\theta )$ are the standard polar coordinates in $\Bbb R^2 = \Bbb C$.</p>
<p>a) Show that $\phi$ is a conformal map on the slit plane $\{(r,\theta ) \mid r>0, -π<\theta <π\}$.</p>
<p>b) For which $λ$ does $\phi$ extend to a conformal map on $\Bbb R^2\setminus\{0\}$?</p>
<p>c) For which $λ$ does $\phi$ extend to a conformal map on $\Bbb R^2$?</p>
<hr>
<p>From my knowledge:
$f$ is a conformal map $:\iff$ $f$ is orientation- and angle-preserving</p>
<p>My approach/idea was the following:</p>
<p>$f$ is $C^1$ and Cauchy-Riemann DE holds ⇔ $f$ is holomorphic </p>
<p>$f$ holomorphic on $D$ and $f'(z₀) ≠ 0 \quad \forall z_0 \in D$ (Domain) $\iff$ $f$ is conformal.</p>
<p>But the main problem first:</p>
<p>If one has $\phi(r,\theta ) = r^λ (\cos(λ\theta ),\sin(λ\theta ))$ how can I identify this with
a function from lets say $\Bbb C \to \Bbb C$?
Is it correct to say $\phi(r,\theta ) = r^λ (\cos(λ\theta ) + i \sin(λ\theta )$?</p>
<p>Normally I see it like this (correspondence of $\Bbb C$ with $\Bbb R^2$)</p>
<p>$f = u + iv \iff f = (u,v)$ with the standard basis ${(1,0),(0,i)}$ and $u,v$ functions from $\Bbb R \to \Bbb R$. (real and imaginary part of $f$)</p>
<p>Furthermore, if my way of seeing this is correct, I would then show the CR-DE for polar-coordinates $u_\theta = -r v_r ∧ v_\theta = r u_r$ (where $u_r$ stands for the partial derivative)</p>
<p>Then I write out $r^λ$ as $\exp(λ\cdot Ln(r))$ and since I use the main-branch so
$\exp(λ\cdot (\ln|r| + i arg(r) + 2kπi)) ⇒ \exp(λ\cdot \ln|r|) = \exp(λ\cdot \ln(r))$ correct?</p>
<p>Furthermore by setting $λ ≔ a + ib$ with $a,b ∈ ℝ$ one can simplifies
$$\cos(λ\theta ) = \cos((a+ib)\theta )
= \cos(a\theta ) \cosh(b\theta ) - \sin(a\theta ) i\cdot \sinh(b\theta ) \sin(λ\theta )
= \sin(a\theta ) \cosh(b\theta ) + i\cdot \cos(a\theta ) \sinh(b\theta )
then \cos(λ\theta ) + i\cdot \sin(λ\theta ) = [\cos(a\theta ) + i\cdot \sin(a\theta )] [\cosh(b\theta ) - \sinh(b\theta )] = \exp(ai\theta )\cdot \exp(-b\theta )$$</p>
<p>$⇒ r^λ\cdot (\cos(λ\theta ) + i \sin(λ\theta )) = \exp(a\cdot \ln(r)) \cdot \exp(ib\cdot \ln(r)) \cdot \exp(ai\theta ) \cdot \exp(-b\theta )$</p>
<p>and from this I get:</p>
<p>$u(r,\theta ) = \exp(a\cdot \ln(r) - b\theta ) \cdot \cos(b\cdot \ln(r) + a\theta )$
$v(r,\theta ) = \exp(a\cdot \ln(r) - b\theta ) \cdot \sin(b\cdot \ln(r) + a\theta )$</p>
<p>Then I can check if the CR-DE holds.
They are true.</p>
<p>Now my questions are:</p>
<p>i) Can I use the Jacobian of $ϕ$ (as a map $ℝ^2 → ℝ^2$) with the partial derivatives from the given u and v from above?</p>
<p>ii) Can I then say for checking the Jacobian of $ϕ$ (lets say J for this matrix)
$f' = J$ ?
Normaly $f'$ is a $ℂ-linear$ differntial from $ℂ → ℂ$ I know.</p>
<p>iii) Therefore I would check that $J(z₀) ≠ (0,0)$ for every point $z₀$ given in my domain? (here $ℂ⁻$)</p>
<p>iv) For the questions a,b,c I think the conformal mapping is destroyed if we extend $ℂ⁻$ to $ℝ^2$/{0} since $r^λ = \exp(λ\cdot \ln(r))$ but $\exp(λ)$ isn't an injective function for $λ∈ℂ$, right?
So I would say $λ$ has to be $λ∈ℤ$ to getting a unique power (required for conformal mapping).
Furthermore if the domain if $ℝ^2$ then by defining $0^0 ≔ 1$ I think $λ=0$ is the only way to get out of trouble?</p>
<p>v) The problem with the continuity is the main reason to restrict our domain, right?</p>
<p>vi) Do you understand $f$ conformal $\iff$ bijectiv $∧ f,f^{-1}$ are both holomorphic?</p>
<p>Does my teacher understand conformity (deduced from the task) as
$f$ locally conformal $\iff$ $f$ angle- and orientation preserving?</p>
<p>Thank you very much for your help. We are 4 people working together and nobody has a clue how to solve this task. I hope my ideas are not entirely wrong :-}
This is a very cool site and I can use unifont directly from my keyboard, WOW :)</p>
<p>Greetings,</p>
<p>Poly</p>
| 0non-cybersec
| Stackexchange | 1,677 | 4,169 |
Can´t locate libgsl.so.23 even though installed. <p>I am trying to run molflow on my computer (ubuntu 16.04.5 unity DE) and I have installed all the dependencies that are required. Even so when trying to start the program I get the following error:</p>
<pre><code>user@computer:~/molflow_linux_debian_2.7.3$ ./molflow
./molflow: error while loading shared libraries: libgsl.so.23: cannot open shared object file: No such file or directory
</code></pre>
<p>I have looked into the available packages using apt-get and I have tried looking for it online but I can´t seem to find where to get this library. Help is much appreciated.</p>
<p>Thanks in advance</p>
| 0non-cybersec
| Stackexchange | 191 | 667 |
Why does Dropbox consume CPU cycles even when paused?. <p>Today I noticed that Dropbox consumes nearly as much as half of CPU time consumed by <code>kernel_task</code> on OS X 10.8.3, which is a pretty decent amount of CPU usage. So I paused it and see what would happen.</p>
<p>Surprisingly, even after I paused syncing, Dropbox takes roughly the same amount of CPU (and nothing is being changed).</p>
<p>So, Dropbox keeps on indexing even if I instruct it to "pause"? Then the "pause" only applies to network usage? This seems pretty dumb?</p>
| 0non-cybersec
| Stackexchange | 149 | 548 |
How to unzip a file in Ruby on Rails?. <p>I'm uploading a file to the server in Ruby on Rails</p>
<p>Normally, it's a text file and I save it in the model as a 'file' field in a Submission ActiveRecord with other fields such as title of submission.. etc.</p>
<p>However, the user can also submit a zip file. In this case the zipfile should unzipped and for each file in the zip a new Submission should be created with the same text fields, but current file.</p>
<p>How can I accomplish this?</p>
<p>I looked at unzip examples on the net, but most use a directory to unzip the files to. I'm not sure if I need that as in the current create method of SubmissionsController, a file object is received and I presume the path to save the file to is automatically generated when the Submission save method is called. So I was thinking that maybe I should unzip the zipfile in memory to get an array of file objects and then create a new Submission with each file object but same fields and then let ActiveRecord generate the file paths for each one when it saves them to the database.
I might be wrong here, because I'm kind of new to Rails and Ruby.</p>
| 0non-cybersec
| Stackexchange | 292 | 1,153 |
[Spoilers] Cardcaptor Sakura Episode 29 REWATCH Discussion Thread. **Episode Title:** Sakura's Sweet Cooking
***
The schedule will be daily, and will include the movies 1 (after season one ends, episode 35) and 2 (when the show ends), followed by a two days hiatus after each of them.
***
**[MyAnimeList](http://myanimelist.net/anime/232/Cardcaptor_Sakura)**
**[Hummingbird](https://hummingbird.me/anime/cardcaptor-sakura)**
**[AnimeNewsNetwork](http://www.animenewsnetwork.com/encyclopedia/anime.php?id=126)**
**[Crunchyroll](http://www.crunchyroll.com/cardcaptor-sakura)**
***
**Previous episodes:**
[^(Episode 1: 5th October)](https://www.reddit.com/r/anime/comments/3nia6v/spoilers_cardcaptor_sakura_episode_1_rewatch/)
[^(Episode 2: 6th October)](https://www.reddit.com/r/anime/comments/3nmql9/spoilers_cardcaptor_sakura_episode_2_rewatch/)
[^(Episode 3: 7th October)](https://www.reddit.com/r/anime/comments/3nrpru/spoilers_cardcaptor_sakura_episode_3_rewatch/)
[^(Episode 4: 8th October)](https://www.reddit.com/r/anime/comments/3nwkkm/spoilers_cardcaptor_sakura_episode_4_rewatch/)
[^(Episode 5: 9th October)](https://www.reddit.com/r/anime/comments/3o0gb8/cardcaptor_sakura_episode_5_rewatch_discussion/)
[^(Episode 6: 10th October)](https://www.reddit.com/r/anime/comments/3o5ihe/cardcaptor_sakura_episode_6_rewatch_discussion/)
[^(Episode 7: 11th October)](https://www.reddit.com/r/anime/comments/3o9jhf/spoilers_cardcaptor_sakura_episode_7_rewatch/)
[^(Episode 8: 12th October)](https://www.reddit.com/r/anime/comments/3odqvt/spoilers_cardcaptor_sakura_episode_8_rewatch/)
[^(Episode 9: 13th October)](https://www.reddit.com/r/anime/comments/3oi0m5/spoilers_cardcaptor_sakura_episode_9_rewatch/)
[^(Episode 10: 14th October)](https://www.reddit.com/r/anime/comments/3on9me/spoilers_cardcaptor_sakura_episode_10_rewatch/)
[^(Episode 11: 15th October)](https://www.reddit.com/r/anime/comments/3osvtl/spoilers_cardcaptor_sakura_episode_11_rewatch/)
[^(Episode 12: 16th October)](https://www.reddit.com/r/anime/comments/3ox3ct/cardcaptor_sakura_episode_12_rewatch_discussion/)
[^(Episode 13: 17th October)](https://www.reddit.com/r/anime/comments/3p2q31/spoilers_cardcaptor_sakura_episode_13_rewatch/)
[^(Episode 14: 18th October)](https://www.reddit.com/r/anime/comments/3p5r1q/spoilers_cardcaptor_sakura_episode_14_rewatch/)
[^(Episode 15: 19th October)](https://www.reddit.com/r/anime/comments/3p9y97/spoilers_cardcaptor_sakura_episode_15_rewatch/)
[^(Episode 16: 20th October)](https://www.reddit.com/r/anime/comments/3pehq4/spoilers_cardcaptor_sakura_episode_16_rewatch/)
[^(Episode 17: 21st October)](https://www.reddit.com/r/anime/comments/3pjwao/spoilers_cardcaptor_sakura_episode_17_rewatch/)
[^(Episode 18: 22nd October)](https://www.reddit.com/r/anime/comments/3poqp9/spoilers_cardcaptor_sakura_episode_18_rewatch/)
[^(Episode 19: 23th October)](https://www.reddit.com/r/anime/comments/3ptxf7/spoilers_cardcaptor_sakura_episode_19_rewatch/)
[^(Episode 20: 24th October)](https://www.reddit.com/r/anime/comments/3py2xf/spoilers_cardcaptor_sakura_episode_20_rewatch/)
[^(Episode 21: 25th October)](https://www.reddit.com/r/anime/comments/3q357h/spoilers_cardcaptor_sakura_episode_21_rewatch/)
[^(Episode 22: 26th October)](https://www.reddit.com/r/anime/comments/3q7nnx/spoilers_cardcaptor_sakura_episode_22_rewatch/)
[^(Episode 23: 27th October)](https://www.reddit.com/r/anime/comments/3qdazr/spoilers_cardcaptor_sakura_episode_23_rewatch/)
[^(Episode 24: 28th October)](https://www.reddit.com/r/anime/comments/3qhimf/spoilers_cardcaptor_sakura_episode_24_rewatch/)
[^(Episode 25: 29th October)](https://www.reddit.com/r/anime/comments/3qmmgj/spoilers_cardcaptor_sakura_episode_25_rewatch/)
[^(Episode 26: 30th October)](https://www.reddit.com/r/anime/comments/3qrpg9/spoilers_cardcaptor_sakura_episode_26_rewatch/)
[^(Episode 27: 31st October)](https://www.reddit.com/r/anime/comments/3qwi5p/spoilers_cardcaptor_sakura_episode_27_rewatch/)
[^(Episode 28: 1st November)](https://www.reddit.com/r/anime/comments/3r0ryj/spoilers_cardcaptor_sakura_episode_28_rewatch/)
**Please, no untagged spoilers beyond this episode** | 0non-cybersec
| Reddit | 1,711 | 4,170 |
soft link to non existant server?. <p>I inherited a bunch of xls files and a dts that imports them all into sql.
the server the dts is looking for no longer exists (FS1)</p>
<p>Any kind soul knows a way to make that any petition to FS1(non existant) is somewhat redirected to new server (NEWFS)? (without renaming NEWFS)
if not I guess I will have to replace paths in dts but I was hoping to avoid that.</p>
<p>Thank you in advance</p>
| 0non-cybersec
| Stackexchange | 129 | 438 |
"collapse all" all nodes in one click in firefox or chrome. <p>Any way to "collapse all" all nodes in one click in firefox or chrome and then able to search a node's name and then quickly see its path/tree of parent nodes? First collapse not just top node, but all child nodes, and when I search for a node then it opens only that tree of nodes. I want this because I search a node in a big xml file. The node is present many times under different paths of parent nodes and I need to see the path of the node where ever it appears. Right now I have to manually traverse whole file and collapse many times to find all paths of that node that is present many times in a file. Any quick way of doing it?</p>
| 0non-cybersec
| Stackexchange | 169 | 715 |
Room error: Not sure how to handle insert method's return type. <p>I don't get it, I though this is the way to get the id of newly inserted row.</p>
<p><strong>DAO</strong></p>
<pre><code>@Dao
public interface AlarmDao {
.....
@Insert(onConflict = OnConflictStrategy.REPLACE)
long insertAll(AlarmEntity...alarms); //used long instead of void
}
</code></pre>
<p><strong>ENTITY</strong></p>
<pre><code>@Entity(tableName = "tb_alarm")
public class AlarmEntity {
@PrimaryKey(autoGenerate = true)
private long id;
...
public long getId(){
return this.id;
}
}
</code></pre>
<p>but building is failed and I'm getting error which is pointing into my <code>Dao</code> class and the error is: </p>
<blockquote>
<p>error: Not sure how to handle insert method's return type.</p>
</blockquote>
<p>What did I missed about it?</p>
| 0non-cybersec
| Stackexchange | 291 | 874 |
SV/NSV Feats of the Day - Wednesday, 02 November 2016: Today, I conquered!. #The habit of persistence is the habit of victory!
Celebrating something great? **Scale Victory, Non-Scale Victory, Progress, Milestones** -- this is the place! **Big or small, long or short**, please post here and help us focus all of today's awesomeness into an inspiring *and informative* mega-dose of greatness! (**Details are appreciated!!** *How are you losing your weight?*)
* Did you just change your flair? pass a milestone? reach a goal?
* Did you log for an entire week? or year?
* Did you take the stairs? walk a mile? jog for 3? set a new personal record?
* Fit into your old pair of jeans? throw away your fat clothes? fit into your college outfit?
Post it here! This is the *new, improved* place for recording your **acts of awesomeness!**
Due to space limitations, this may be an announcement (sticky) only occasionally. **Please find it daily and keep it the hottest thing on /r/loseit!**
***
On reddit [your vote means, "I found this interesting!"](https://www.reddit.com/wiki/voting) Help us make this daily post the *most read, most used, most interesting* post on /r/loseit by reading, commenting, and participating often!
***
| 0non-cybersec
| Reddit | 339 | 1,245 |
Python strange multiprocessing with variable name. <p>a simple example:</p>
<pre><code>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import multiprocessing
class Klass(object):
def __init__(self):
print "Constructor ... %s" % multiprocessing.current_process().name
def __del__(self):
print "... Destructor %s" % multiprocessing.current_process().name
if __name__ == '__main__':
kls = Klass()
</code></pre>
<p>run with error when do <code>current_process</code> in <code>__del__</code>:</p>
<pre><code>Constructor ... MainProcess
Exception AttributeError: "'NoneType' object has no attribute 'current_process'" in <bound method Klass.__del__ of <__main__.Klass object at 0x7f5c34e52090>> ignored
</code></pre>
<p>if I change a variable name:</p>
<pre><code>als = Klass()
</code></pre>
<p>it get the right result:</p>
<pre><code>Constructor ... MainProcess
... Destructor MainProcess
</code></pre>
<p>and I tried many variable name, some ok, some error.</p>
<p>Why different instance name, will cause multiprocessing module be None in <code>__del__</code>?</p>
| 0non-cybersec
| Stackexchange | 370 | 1,112 |
Java DriverManager.getConnection hangs when called with wrong parameters. <p>I have a Java application with multiple concurrent threads. In a particular situation, I find that the call <code>java.sql.DriverManager.getConnection</code> hangs and waits indefinitely causing the whole system freeze.
I suspect I have given the URL wrong, where there is no ORACLE server listening to this call, but there is another DB listener which is not returning back to the socket call. That could be the reason of this hang. When I changed the URL to a wrong value, e.g. jdbc:oracle:thin:@xx:21050:DB, where no DB listener (oracle or non-oracle) is running, <code>getConnection</code> call comes out with <code>java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection</code>.</p>
<p>Is there any other API through which I may check at runtime if the URL is having an ORACLE server listener running out there? My problem for this hang is because I have some other DB (non-ORACLE) listener running there and my <code>getConnection</code> hangs. Is there any remedy or workaround?
The thread dump shows me the following:</p>
<pre><code>"AWT-EventQueue-0@3511" prio=6 tid=0x15 nid=NA runnable
java.lang.Thread.State: RUNNABLE
at sun.nio.ch.SocketDispatcher.read0(SocketDispatcher.java:-1)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:43)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:197)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
- locked <0x459c> (a java.lang.Object)
at oracle.net.nt.TimeoutSocketChannel.read(TimeoutSocketChannel.java:144)
at oracle.net.ns.NIOHeader.readHeaderBuffer(NIOHeader.java:82)
at oracle.net.ns.NIOPacket.readNIOPacket(NIOPacket.java:252)
at oracle.net.ns.NSProtocolNIO.negotiateConnection(NSProtocolNIO.java:118)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:317)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1438)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:518)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:688)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:39)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
</code></pre>
<p>I found a similar problem discussed as: <a href="https://stackoverflow.com/questions/23868433/oracle-jdbc-drivermanager-getconnection-hangs">Oracle JDBC DriverManager.getConnection() hangs</a> But my question is even if I supply some wrong parameters (URL, userid and password), why the call never comes back with a timeout? Can I add a timeout here or exception that I may handle in this call? Please help me out.</p>
| 0non-cybersec
| Stackexchange | 869 | 2,957 |
Computer completely freezing when performing actions - What should I check?. <h1>Issue:</h1>
<p>Whenever I try to run anything on this computer (start a program - or pretty much anything) it hangs up for about a second - the GUI becomes unresponsive and any terminals stop taking inputs (keyboard input doesn't show up on screen until after it becomes responsive again, so it <em>is</em> buffering). </p>
<h1>Context:</h1>
<p>This issue is happening on my laptop which has the following configuration:</p>
<ul>
<li>HP 15.1 Inch Notebook (Model 15-ay066ne)</li>
<li>Intel i3-6006U</li>
<li>4 Gigs of RAM</li>
<li>500 GB 5400 rpm SATA HDD</li>
<li>Running Linux Mint 19.1 (Tessa)</li>
</ul>
<p>I bought this machine about 5 months ago - it came preinstalled with Windows 10 Home Version but I reformatted the drive and put in Linux Mint. It was having similar issues (though not exactly the same) with windows 10 as well so the issue is probably something to do with the hardware.</p>
<h1>What I've done:</h1>
<p>Since the issue was only happening when I was trying to run something (i.e. load something from the HDD) - I thought that it may have to do with the HDD. I installed <code>smartmontools</code> and looked at the SMART data using <code>smartctl</code>. The status returned all OK:</p>
<pre><code>=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
</code></pre>
<p>I then ran a short self-test but that completed successfully as well</p>
<pre><code>SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 679 -
</code></pre>
<p>Not sure if running more thorough tests would yield anything - since it's just testing all the HDD sectors - and I don't think I'm dealing with bad sectors. I'm not yet convinced however that the issue isn't with the HDD so I searched online to find a way to monitor the HDD usage itself using <code>sysstat</code>by using the command <code>iostat -dx /dev/sda 5</code>.</p>
<p><a href="https://i.stack.imgur.com/ECvhZ.png" rel="nofollow noreferrer">I started GIMP and noted when the computer hanged (Click for screenshot)</a></p>
<p>So I don't think it's the hard-drive anymore. I don't really know what else to test. From what I can tell through the built in system monitor in Mint - the issue doesn't seem to be the Processor or the Main Memory, their utilization remains normal during hangs. Any ideas on what to test and maybe what logs to look at would be appreciated. </p>
| 0non-cybersec
| Stackexchange | 745 | 2,637 |
Find real roots of equation $ x^5-5x^2+2 = 0 $. <p>Find all real roots of equation $ x^5 - 5x^2 + 2 = 0 $.
I have a solution to this problem (It's not long but tricky) but I don't like it.
I put hint for this tricky solution:</p>
<blockquote class="spoiler">
<p> At the beginning we want to change it into product. It's not by chance that
$ x^{\textit{5}}-\textit{5}x^{\underline{2}} + \underline{2} $
(five-five, two-two repetition)</p>
</blockquote>
<p>But it's only my interpretation (heuristic) of first equations. If it's not clear what I mean:</p>
<blockquote class="spoiler">
<p> $ x^5-5x^2+2 = (x^5-x^4-x^3) + (x^4-x^3-x^2) + 2(x^3-x^2-x) - 2(x^2-x-1) = ... = (x^2-x-1)(x^3+x^2+2x-2) $ </p>
</blockquote>
<p>Second hint:</p>
<blockquote class="spoiler">
<p> We want to solve $ x^3+x^2+2x-2=0 $.
Substitution $ y = x + \frac{1}{3} $</p>
</blockquote>
<p>At end:</p>
<blockquote class="spoiler">
<p> $$y^3-\frac{5}{3}y-\frac{70}{27}=0$$.
Substitution $$ y = \frac{\sqrt{5}}{3} (z-\frac{1}{z}) $$ which leads to
<br>
$$z^3 - \frac{1}{z^3} = \frac{14}{\sqrt{5}} $$</p>
</blockquote>
<p><em>Added after edition</em></p>
<blockquote class="spoiler">
<p> How to understand this implication.
If $$z^3-\frac{1}{z^3} = \frac{14}{\sqrt{5}}$$ then
$$z - \frac{1}{z} = \sqrt[3]{\frac{7+\sqrt{69}}{\sqrt{5}}} - \sqrt[3]{\frac{\sqrt{5}}{7+\sqrt{69}}} $$</p>
</blockquote>
<p>Answer</p>
<blockquote class="spoiler">
<p> $$ \frac{1+\sqrt{5}}{2},\quad \frac{1-\sqrt{5}}{2},\quad \frac{\sqrt{5}}{3} \left ( \sqrt[3]{\frac{7+\sqrt{69}}{\sqrt{5}}} - \sqrt[3]{\frac{\sqrt{5}}{7+\sqrt{69}}} \right ) - \frac{1}{3}$$</p>
</blockquote>
<p>Questions</p>
<ol>
<li><p>Nice solution for this problem?</p></li>
<li><p>In this type problems only tricks can lead to a solution? (this is magic for me)</p></li>
</ol>
<p><strong>I would like to apologize for naive questions.</strong> But for me it is important to understand substitutions I wrote in hideboxes. Could you please explain this in way that i could see mathematical reasoning, not tricks?</p>
| 0non-cybersec
| Stackexchange | 837 | 2,069 |
Prove or give a counterexample for semi positive defined matrices. <p><span class="math-container">$\newcommand{\lg}{\langle}$</span> <span class="math-container">$\newcommand{\rg}{\rangle}$</span>
A matrix <span class="math-container">$A \in \mathbb{R}^{n \times n}$</span> is semi positive defined if <span class="math-container">$\langle x, Ax \rangle = x^{T}Ax = \sum_{i,j=1}^{n} x_{i}A_{ij}x_{j} \ge 0$</span> for all <span class="math-container">$x \in \mathbb{R}^{n}$</span>. Prove or give a counterexample </p>
<p>a)Let <span class="math-container">$v_{1},v_{2}, \ldots, v_{n}$</span> a basis of <span class="math-container">$R^{n}$</span>. If <span class="math-container">$v_{j}^{T}Av_{j} \ge 0$</span> for all <span class="math-container">$1\le j \le n$</span> then <span class="math-container">$A$</span> is semi positive defined. </p>
<p>b) If <span class="math-container">$A \in \mathbb{R}^{n \times n}$</span> and <span class="math-container">$B \in \mathbb{R}^{n \times n}$</span> and satisfy <span class="math-container">$x^{T}Ax=x^{T}Bx$</span> for all <span class="math-container">$x\in \mathbb{R}^{n}$</span> then <span class="math-container">$A=B$</span>. </p>
<p>c)If <span class="math-container">$A\in \mathbb{R}^{n \times n}$</span> is semi positive defined and symmetric then <span class="math-container">$\sqrt{A_{ii}A_{jj}} \ge |A_{ij}|$</span> for any <span class="math-container">$1\le i, j \le n$</span>.</p>
<p>For a), is <strong>false</strong>. In <span class="math-container">$\mathbb{R}^{2}$</span>, let <span class="math-container">$v_{1}=(1,0)$</span> and <span class="math-container">$v_{2}=(0,1)$</span> the canonical basis, and let <span class="math-container">$$A= \begin{equation}
\begin{pmatrix}
0 & 2 \\
-3 & 0
\end{pmatrix}
\end{equation} $$</span>
Then <span class="math-container">$v_{1}^{T} A v_{1}=0$</span> and <span class="math-container">$v_{2}^{T}Av_{2}=0$</span>, but <span class="math-container">$(1,1) A \begin{equation}
\begin{pmatrix}
1 \\
1 \\
\end{pmatrix}
\end{equation} = -1 <0$</span>.</p>
<p>b) <strong>false</strong> In <span class="math-container">$\mathbb{R}^{2}$</span>, let <span class="math-container">$A=\begin{equation}
\begin{pmatrix}
1 & 1 \\
-1 & 1
\end{pmatrix}
\end{equation}$</span> and <span class="math-container">$B=\begin{equation}
\begin{pmatrix}
1 & -1 \\
1 & 1
\end{pmatrix}
\end{equation}$</span>, is easy to see thar for all <span class="math-container">$x\in \mathbb{R}^{2}$</span>, <span class="math-container">$A$</span> and <span class="math-container">$B$</span> satisfy <span class="math-container">$x^{T}Ax=x^{T}Bx$</span> but <span class="math-container">$A \neq B$</span>. </p>
<p>c) I think is true, but I don't know how to prove it, it seems kind obvious but I don't see it. </p>
| 0non-cybersec
| Stackexchange | 1,056 | 2,814 |
Create Folders and Move Respective file into them. <p>I have around 100 pdf files in a folder with name structure like:</p>
<ul>
<li>Credit Report - Google Inc </li>
<li>Credit Report - BP Plc</li>
<li>Credit Report - Apple Inc</li>
<li>Credit Report - Saipem spa</li>
</ul>
<p>So on and so forth.</p>
<p>Is there a command through which I new create new folders with names like : </p>
<ul>
<li>Google Inc</li>
<li>BP Plc</li>
</ul>
<p>and move the respective pdfs </p>
<ul>
<li>Credit Report - Google Inc</li>
<li>Credit Report - BP Plc</li>
</ul>
<p>into them.</p>
<p>Thanks</p>
<p>(PS: I am a first time user and struggling with text formatting on the forum, so please excuse any strange format)</p>
| 0non-cybersec
| Stackexchange | 256 | 716 |
Prove that $r^3\rho=2R \rho_1\rho_2 \rho_3$. <p>Let $ABC $ be an acute-angled triangle.
Let $D$, $E$, $F$ be the feet of the perpendiculars from $A $, $B$, $C $ on the opposite sides $BC $, $CA $, $AB $. Let $\rho,\rho_1,\rho_2 ,\rho_3$ be the radii of the circles inscribed in the triangles $DEF$, $AEF$, $BFD$, $CDE$.</p>
<p>Prove that $r^3\rho=2R \rho_1\rho_2 \rho_3$.</p>
<p>Here, $r $ is the radius of the incircle of triangle $ABC$, and $R$ is the circumradius of $ ABC$.</p>
| 0non-cybersec
| Stackexchange | 199 | 484 |
\part Not Appearing in Table of Contents (Memoir). <p>In the <code>memoir</code> class, I want to include <code>\part</code> in my book. I have used the code from p.78 of the Memoir manual, tweaked slightly, to change the look of the <code>\part</code> title. However, something is causing the <code>\part</code> information to not be included in the Table of Contents. The code between the <code>%</code> seems to be the problem. So, how do I get the formatting I want in the text for part titles, and still get the parts included in the table of contents?</p>
<pre><code>\documentclass[letterpaper]{memoir}
\usepackage[utf8]{inputenc}
\usepackage{lipsum}
%%%%%%%%%%%
\renewcommand{\part}[1]{%
\cleardoublepage % start a new recto page
\beforepartskip % space before Name and Number
\midpartskip % space after Name and Number
\renewcommand*{\parttitlefont}{\centering\HUGE\normalfont}
\printparttitle{#1} % print the title
\partpageend
} % finish off
%%%%%%%%%%%
\renewcommand{\partpageend}{%
\afterpartskip
\normalsize
}
\begin{document}
\tableofcontents
\part{Test Part 1}
\chapter{Name}
\lipsum*[1]
\part{Test Part 2}
\lipsum*[1]
\end{document}
</code></pre>
| 0non-cybersec
| Stackexchange | 381 | 1,208 |
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 | 349 | 1,234 |
Partial derivatives - polyniomial. <p>I need help proving that each mapping $f: \mathbb{R}^2 \rightarrow \mathbb{R}$ such that $\forall a,b \in \mathbb{R} \ : \ f_a(y):= (a,y), \ f_b (x):=(x,b)$ are polynomials, is a polynomial with two variables.</p>
<p>It is obvious that partial derivatives of a polynomial are polynomials, but I don't know how to deduce that the function must be a polynomial if the partial derivatives are polynomials.</p>
<p>Could you help me?</p>
<p>Thank you.</p>
| 0non-cybersec
| Stackexchange | 153 | 492 |
How to prevent auto-backup of an Android app?. <p>I face very weird situation on certain device (Nexus 5x with Android 7): when I clean its data and uninstall it, then install it with Studio, the app is not unitialized but it uses data from 24th january! I tried the same procedure with a tablet and the app has no data.</p>
<p>I have repeated this procedure many times, I cleaned my project, rebuilt it multiple times and it always starts with 24th january data (both database and shared prefs).</p>
<p>I even tried adb shell and run as to clean up data:</p>
<pre><code>bullhead:/data/data/lelisoft.com.lelimath.debug $ ls -l databases/
total 232
-rw-rw---- 1 u0_a259 u0_a259 98304 2017-02-05 11:03 lelimath.sqlite
-rw------- 1 u0_a259 u0_a259 16928 2017-02-05 11:03 lelimath.sqlite-journal
</code></pre>
<p>I deleted them and the app seemed empty - until I deleted it and installed again - 24th january was back.</p>
<p>This is a log how it starts:</p>
<pre><code>$ adb shell am start -n "lelisoft.com.lelimath.debug/lelisoft.com.lelimath.activities.DashboardActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
Waiting for application to come online: lelisoft.com.lelimath.debug | lelisoft.com.lelimath.debug.test
I/InstantRun: Instant Run Runtime started. Android package is lelisoft.com.lelimath.debug, real application class is lelisoft.com.lelimath.helpers.LeliMathApp.
D/l.c.l.h.LeliMathApp: onCreate()
D/l.c.l.h.BalanceHelper: Current points balance: 234
</code></pre>
<p>This is a location of a database, got from a debugger:</p>
<pre><code>/data/user/0/lelisoft.com.lelimath.debug/databases/lelimath.sqlite
</code></pre>
<p>Gradle:</p>
<pre><code>android {
signingConfigs {
}
compileSdkVersion 24
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "lelisoft.com.lelimath"
resValue 'string', 'app_name', 'LeliMath'
minSdkVersion 16
targetSdkVersion 24
versionCode 300
versionName '3.0.0'
resValue "string", "app_build_number", getDate();
resValue "string", "app_version", versionName;
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
applicationIdSuffix ".debug"
resValue 'string', 'app_name', 'LeliMath DEV'
}
}
</code></pre>
<p>Manifest portion:</p>
<pre><code><application
android:name=".helpers.LeliMathApp"
android:allowBackup="true"
android:fullBackupContent="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
</code></pre>
<p>I do not want o factory reset my phone to get rid off this data. I do not think that this data is in my build. I have not added them and the app in the tablet was empty when installed.</p>
| 0non-cybersec
| Stackexchange | 961 | 2,878 |
Php executes with different results in command line than when browsed to in Apache. <p>I setup a CentOS 7 vm webserver with the LAMP stack. Over the last few days I have been trying to get an LDAPS connection working to my Windows Server 2008 R2 Domain Controller.</p>
<p>I have been able to connect to my DC with: <code>ldapsearch -H "ldaps://server.ad.com" -D "domain\user-name" -W</code> for a couple days. I am also able to use the <code>openssl s_client -connect server.ad.com -prexit</code> command to verify the SSL cert (as I am using a self-signed cert).</p>
<p>However, whenever I browse to my PHP webpage in the /var/www/html/test/index.php I always receive "Can't contact LDAP server" errors when trying to <code>ldap_bind()</code>. Yesterday I tried running the PHP file from command line: <code>php /var/www/html/test/index.php</code> and found that my PHP ldap_bind() works every time when using the command line.</p>
<p>Searching on the internet, I have found that often the PHP-CLI and PHP Apache will use different php.ini files, but running the <code>php --ini</code> command only shows me a single php.ini file located in /etc/php.ini.</p>
<p>I am trying to figure out why PHP executes correctly from the command line but not when browsed to/run through Apache. Any info/ideas to help solve this would be greatly appreciated, thank-you!</p>
| 0non-cybersec
| Stackexchange | 387 | 1,365 |
Reload of page after rebuild is very slow. <p>I recently went from css to scss instead. </p>
<p>Suddenly afterwards my project is very slow for loading the page after a rebuild. (30-50 seconds) </p>
<p>I literally did nothing else than added scss instead of css. Just changed the files and changed the settings in .angular-cli to use scss instead. </p>
<p>Let me know if i can share some more to help troubleshooting.</p>
<p>I have no idea why this is the case.</p>
<p>Terminal: </p>
<pre><code>webpack: Compiling...
Hash: 528351f97868ee9f6cc1
Time: 1857ms
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 178 kB {4} [initial]
chunk {1} main.bundle.js, main.bundle.js.map (main) 46.1 kB {3} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 26.6 kB {4} [initial]
chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.2 MB [initial]
chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry]
webpack: Compiled successfully.
webpack: Compiling...
Hash: b4d9b9ae09285a8f41b1
Time: 350ms
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 178 kB {4} [initial]
chunk {1} main.bundle.js, main.bundle.js.map (main) 44.9 kB {3} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 26.6 kB {4} [initial]
chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.2 MB [initial]
chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry]
webpack: Compiled successfully.
webpack: Compiling...
Hash: 3da1ef8d97c8d4dafca1
Time: 323ms
chunk {0} polyfills.bundle.js, polyfills.bundle.js.map (polyfills) 178 kB {4} [initial]
chunk {1} main.bundle.js, main.bundle.js.map (main) 44.8 kB {3} [initial] [rendered]
chunk {2} styles.bundle.js, styles.bundle.js.map (styles) 26.6 kB {4} [initial]
chunk {3} vendor.bundle.js, vendor.bundle.js.map (vendor) 4.2 MB [initial]
chunk {4} inline.bundle.js, inline.bundle.js.map (inline) 0 bytes [entry]
webpack: Compiled successfully.
</code></pre>
<p><a href="https://i.stack.imgur.com/ZZttD.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ZZttD.png" alt="Network description"></a></p>
| 0non-cybersec
| Stackexchange | 809 | 2,366 |
Add custom method to string object. <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/4698493/can-i-add-custom-methods-attributes-to-built-in-python-types">Can I add custom methods/attributes to built-in Python types?</a> </p>
</blockquote>
<p>In Ruby you can override any built-in object class with custom method, like this:</p>
<pre><code>class String
def sayHello
return self+" is saying hello!"
end
end
puts 'JOHN'.downcase.sayHello # >>> 'john is saying hello!'
</code></pre>
<p>How can i do that in python? Is there a normally way or just hacks? </p>
| 0non-cybersec
| Stackexchange | 212 | 669 |
Examples of commutative ring spectra with graded-artinian coefficients?. <p><strong>Question:</strong> What are some ring spectra <span class="math-container">$E$</span> satisfying the following conditions?</p>
<ol>
<li><p>The coefficients <span class="math-container">$E_\ast = \pi_\ast(E)$</span> are graded-commutative;</p></li>
<li><p>There is a Kunneth spectral sequence <span class="math-container">$E_\ast(X) \otimes_{E_\ast} E_\ast(Y) \Rightarrow E_\ast(X \wedge Y)$</span> for finite spectra <span class="math-container">$X,Y$</span>;</p></li>
<li><p>The coefficients <span class="math-container">$E_\ast$</span> form a graded-artinian ring (i.e. satisfies the descending chain condition for homogeneous ideals).</p></li>
</ol>
<p>Clearly there is a canonical sequence of examples <span class="math-container">$E = H\mathbb Q, K(1), K(2), \dots, H \mathbb F_p$</span>. More generally, if <span class="math-container">$E_\ast$</span> is a graded field then <span class="math-container">$E$</span> is an example -- but this essentially reduces to the examples listed.</p>
<p>I'm particularly curious if the telescope <span class="math-container">$T(n)$</span> is (can be chosen to) satisfy (1,2,3).</p>
| 0non-cybersec
| Stackexchange | 380 | 1,213 |
My (17M) parents (45F) and (48M) bent me over their knees and spanked me for getting a bad grade on a quiz.. I don’t even know where to start unpacking this bullshit. Or if this is the right sub for this.
My parents have always been on the crazier side. Super strict military type dad, mom who blindly follows my dads rule. His word is equivalent to that of God’s and if it’s not followed all hell breaks loose.
So I’m typically an A-/B+ type student. Nothing great but not bad. Science (chemistry) has kicked my ass this year so far. It’s never been my best subject so whatever. I’ve gotten by. But I’ve never gotten less than a B- and even then my parents grounded me for two weeks. but this past quiz I got a C+. I got it Friday afternoon and told them about it Saturday morning. You’d have thought I came to tell them I’d murdered someone. Dad screaming, mom crying, threats to kick me out, promises I’d amount to nothing. The whole nine yards.
But then they really went off the deep end. My mom was sitting on the couch when all this was happening and my dad was standing to my right. All of a sudden he grabs me (he’s 6’2 and muscular, I’m 5’10 and have a runners build, I’m strong but not like him) and pushes me down over my moms lap and starts spanking me. She does nothing, just sits there. He probably hits me about fifteen times before pushing me off her lap onto the ground. He stormed out. My mom continued being a spineless twit on the couch and my ass was stinging like hell.
Wtf do I do here? This was inappropriate and disgusting. The idea of even being in the same room as them again disgusts me. | 0non-cybersec
| Reddit | 418 | 1,623 |
Beginner Routine and YAYOG (Newb Questions). Hello everyone long time lurker here, I profoundly apologise if the questions have been answered before but here it goes.
I started the bwf about 3 months ago, did yoga before that for about 2 months, and I was following YAYOG, You're Your Own Gym by Mark Lauren. Having some knowledge on this subreddit, I was using the warm-up routine before following the set exercises on YAYOG and it was all good and well up until this week.
I started the programme on YAYOG -using the book by the way- with the Basic Programme and went through it like a hot knife through butter and started to have some problems come the Week 5&6 of the 1st Class Programme. The 'pull' section of the programme wants me to do 5 pull ups and that is where I failed. I could do 2 with ease another one with the form dissipating and not one more.
So this got me thinking if I should check the beginner routine on the sidebar and help myself by following the Pull Up progression there. Right now, I can do 4 sets of 5 negative pull ups with about 4 secs of letting myself down and taking 45 secs of rest between each set. I've also followed the dipping progression there and can do the 3*5-8 as instructed- 45 secs of rest.
So as of now I'm still following the programme on YAYOG tho just put a hold on the 'pull' days and replaced it the pull up and dipping progression as well as the handstand progression. And for my question, should I completely drop the YAYOG programme and stick with the beginner programme, change anything with my current method of doing things and whatnot, so suffice to say I'm looking for a general advice on how to progress from there on now.
Oh before I forget, male 21 y/o, 66kg -which is 145lb as google tells me- 172cm - 5'6 is the conversion I think.
| 0non-cybersec
| Reddit | 433 | 1,809 |
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 | 349 | 1,234 |
(M)e 37 someone slap sense into me in regards to my girlfriend (f)33 of 1 year. TLDR girlfriends a liar but I want to believe her
where do I even begin with this? If you love someone you will do anything for that person you will put aside your own wants for a time for that person right? You will make time to spend with that person you will make time to talk to that person. You will make plans and follow through with them. You wouldn't lie you wouldn't always cancel plans not be able to talk basically do the exact opposite of what a person who wants to be with another person does.
So why do I continue with it? Why should I continue with it? Why do we do this to ourselves? Even now I want to defend her I want to believe her when she says she does want a life with me and I can, that's what gets me. That's why I am a miserable wreck. That's why I am allowing my heart to be hurt. I want a life with her. I want to trust her to believe her but I don't think I can anymore. I told her that I can't believe her that at this point me and her are over but she said she doesn't want to lose me that she wants to be with me that she loves me. She wants to talk to me to explain it to me. I want her to be able to explain it am I wrong for that?
| 0non-cybersec
| Reddit | 305 | 1,248 |
SASS (gulp) failing. <p>My <code>gulp</code> is failing. It's a clean install. Installed as non-superuser and using as non-superuser.<br>
I am in <code>/X/</code> when running <code>gulp</code>.
It works straight from install on other machines.
I have done a <code>ls -l $(du|grep 'node')|grep 'root'</code> to try find any incorrect permissions, but I've found none.</p>
<pre><code>╰─ gulp
[00:20:14] Using gulpfile /X/gulpfile.js
[00:20:14] Starting 'cleanJs'...
[00:20:14] Starting 'cleanCss'...
[00:20:14] Starting 'cleanImg'...
[00:20:14] Finished 'cleanJs' after 31 ms
[00:20:14] Finished 'cleanCss' after 21 ms
[00:20:14] Finished 'cleanImg' after 19 ms
[00:20:14] Starting 'cleanAll'...
[00:20:14] Finished 'cleanAll' after 104 μs
[00:20:14] Starting 'buildFromScratch'...
[00:20:14] Starting 'styles'...
[00:20:15] 'styles' errored after 145 ms
[00:20:15] Error: /X/node_modules/node-sass/vendor/linux-x64-47/binding.node: failed to map segment from shared object: Operation not permitted
at Error (native)
at Object.Module._extensions..node (module.js:423:18)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/X/node_modules/node-sass/lib/index.js:16:15)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
[00:20:15] Finished 'buildFromScratch' after 156 ms
</code></pre>
| 0non-cybersec
| Stackexchange | 573 | 1,530 |
Speeding Up Angular Material Autocomplete or Alternatives. <p>I am using Angular Materials autocomplete to allow a user to search a string of the format: "[ID #] - [Textual Description]".
The data is pre-retrieved at the very beginning of the page loading and holds approximately 39,000 strings.</p>
<p>My HTML code is:</p>
<pre><code><md-input-container>
<input mdInput placeholder="TSN Search" [mdAutocomplete]="auto" [formControl]="TSN_Ctrl">
</md-input-container>
<md-autocomplete #auto="mdAutocomplete">
<md-option *ngFor="let tsn of filtered_TSNs | async" [value]="tsn">
{{ tsn }}
</md-option>
</md-autocomplete>
</code></pre>
<p>And my typescript code is:</p>
<pre><code>TSN_Ctrl: FormControl = new FormControl();
filtered_TSNs: any;
constructor(){
this.filtered_TSNs = this.TSN_Ctrl.valueChanges
.startWith(null)
.map(val => val ? this.filter_TSNs(val) : this.dataService.tsnTitles.slice());
}
private filter_TSNs(val: string) {
return this.dataService.tsnTitles.filter(option => new RegExp(`^${val}`, 'gi').test(option));
}
</code></pre>
<p>I am essentially using the standard code from the Angular Materials example, with a slight adaptation.</p>
<p>The autocomplete function is incredibly slow and essentially non-responsive. I understand there are a lot of options (39k strings) but it is pre-retrieved and locally stored.</p>
<p>Is there something I can do to speed this up or are there simply too many strings in the list? If I modify the filter method and strings to only contain the ID field, could that speed up the process? Do I need to use an entirely different library (i.e. if Angular Materials Autocomplete is known to be slow)?</p>
| 0non-cybersec
| Stackexchange | 547 | 1,760 |
Selenium python Error: element could not be scrolled into view. <p>I am working on automating the IdentiGO application for my company, and I'm getting the following error:</p>
<pre><code>Internal Server Error: /identigo
Traceback (most recent call last):
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "/Users/jane/Code/maynard_env/maynard/employee/views.py", line 63, in post
driver.main(employee)
File "/Users/jane/Code/maynard_env/maynard/employee/driver.py", line 31, in main
WebDriverWait(driver, 1000000).until(EC.presence_of_element_located((By.XPATH, '/html/body/div[5]/div[3]/div/button/span'))).click()
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 80, in click
self._execute(Command.CLICK_ELEMENT)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.ElementNotInteractableException: Message: Element <span class="ui-button-text"> could not be scrolled into view
</code></pre>
<p>Here is my code, with the scripts leading up to this page omitted since they aren't relevant to my problem.</p>
<pre><code>from selenium import webdriver
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
WebDriverWait(driver, 1000000).until(EC.presence_of_element_located((By.XPATH, '/html/body/div[5]/div[3]/div/button/span'))).click()
</code></pre>
<blockquote>
<p>On the page prior to this code, where the user selects an appointment date and time; I want the script to wait for the "Go" button to be pushed, then click on "Continue" in the following screenshot:</p>
</blockquote>
<p><a href="https://i.stack.imgur.com/9YYqk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9YYqk.png" alt="enter image description here"></a></p>
<p>If you would like to see the exact page, go to <a href="https://tn.ibtfingerprint.com/" rel="noreferrer">this</a> url, then you will have to make a series of POST requests using the following info:</p>
<ul>
<li>click schedule a new appointment</li>
<li>other</li>
<li>vendors and contractors (children)</li>
<li>tnvc00047</li>
<li>37204</li>
<li>make random appointment date</li>
</ul>
<p>Any advice would really be appreciated!</p>
<h2>Update</h2>
<p>Here is a JS Fiddle with the html of the page:</p>
<p><a href="https://jsfiddle.net/khf4tym3/" rel="noreferrer">https://jsfiddle.net/khf4tym3/</a></p>
<p>When I click "view page source", the popup html doesn't show in the source code, so I assume that it is generated with JS.</p>
<pre><code><div class="ui-dialog-buttonset">
<button type="button" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" role="button" aria-disabled="false">
<span class="ui-button-text">Continue</span>
</button>
</div>
</code></pre>
<h2>Update 2</h2>
<p>If I change the line <code>WebDriverWait(driver, 1000000)</code> to <code>WebDriverWait(driver, 30)</code>, I get the following error instead:</p>
<pre><code>Internal Server Error: /identigo
Traceback (most recent call last):
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/django/views/generic/base.py", line 97, in dispatch
return handler(request, *args, **kwargs)
File "/Users/jane/Code/maynard_env/maynard/employee/views.py", line 63, in post
driver.main(employee)
File "/Users/jane/Code/maynard_env/maynard/employee/driver.py", line 34, in main
element=WebDriverWait(driver,30).until(EC.element_to_be_clickable((By.XPATH,"//div[@class='ui-dialog-buttonset']/button[@class='ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only']/span[contains(.,'Continue')]")))
File "/Users/jane/Code/maynard_env/env/lib/python3.7/site-packages/selenium/webdriver/support/wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
</code></pre>
<h2>pythonfiddle</h2>
<p>code for the project so far, so you can skip the forum entry.</p>
<p><a href="https://jsfiddle.net/93k5s2xg/1/" rel="noreferrer">https://jsfiddle.net/93k5s2xg/1/</a></p>
<p>The working solution:</p>
<pre><code>WebDriverWait(driver, 20).until(expected_conditions.element_to_be_clickable((By.XPATH, "//div[starts-with(@aria-describedby, 'ui-id-')]//span[@class='ui-button-text' and text()='Continue']"))).click()
</code></pre>
| 0non-cybersec
| Stackexchange | 2,253 | 6,551 |
Getting shared_ptr refs to appear in doxygen collaboration diagrams. <p>I've done enough Googling to know that if I have something
like</p>
<pre><code>class SubObject {
public:
//blah blah blah
};
class Aggregate {
public:
boost::shared_ptr<SubObject> m_ptr;
};
</code></pre>
<p>I can get Doxygen to create the "correct" collaboration diagram
if I have a dummy declaration like</p>
<pre><code>namespace boost { template<class T> class shared_ptr { T *dummy; }; }
</code></pre>
<p>in my header file.</p>
<p>My question is: how do I get that to work over all my projects
and all my headers, without having to actually include that line
in every file?</p>
| 0non-cybersec
| Stackexchange | 222 | 681 |
jQuery: show an element from select drop down, hide it when other option selected. <p>I've tried looking around and there are similar problems, but mine is way more simple, but yet, I can't find a solution within these forums.</p>
<p>While learning jQuery, I'm trying to show a DIV when an item/option from a select drop down is selected, and hide that same DIV when any other option in the select drop down is selected.</p>
<p>select HTML:</p>
<pre><code><select name="source" id="source">
<option value="null" selected="selected">&mdash;Select&mdash;</option>
<option value="s1">Source 1</option>
<option value="s2">Source 2</option>
<option value="sother">Other</option>
</select>
</code></pre>
<p>DIV I need to show when 'Other' is selected:</p>
<pre><code><div id="specify-source">Other source here...</div>
</code></pre>
<p>When any other option in the select menu is selected, the above DIV shouldn't be visible.</p>
<p>I've tried this jQuery but of course it doesn't work properly:</p>
<pre><code>$(function() {
$.viewMap = {
'sother' : $('#specify-source')
};
$('#source').change(function() {
// hide all
$.each($.viewMap, function() { this.hide(); });
// show current
$.viewMap[$(this).val()].show();
});
});
</code></pre>
<p>Any help you can give me, I'd greatly appreciate it.</p>
<p>Thanks,</p>
| 0non-cybersec
| Stackexchange | 482 | 1,432 |
Can length extension attacks be avoided by a single bit flip?. <p>It always seemed to me that length extensions are possible simply because no special operation is performed after the last operation - for instance in a Merkle-Damgård construction. Basically the MD construction makes sure that the hash state is secure after processing each block, and therefore the hash state can be directly used as the output of the hash function.</p>
<p>All the bits in the state should depend on all the input bits. That should mean that it will be as hard to find a hash with a short Hamming distance to an existing hash value as to find a hash with a much larger Hamming distance.</p>
<p>So if this reasoning is correct then <em>any</em> operation that:</p>
<ol>
<li>doesn't affect the security of the hash;</li>
<li>cannot be reduced to the operation performed on each block;</li>
</ol>
<p>should be able to turn a hash that allows length extension attacks to a hash that doesn't allow length extension attacks.</p>
<p>Questions:</p>
<ol>
<li>Any problem with my reasoning? Is any bit flip enough for the full output of the hash (see note below)?</li>
<li>If it is that simple, is there any reason why it hasn't been performed on SHA-2? Were length extension attacks unknown or not seen as a problem?</li>
<li>Would such a stupidly simple construction be an viable alternative to HMAC (with <span class="math-container">$K \| M$</span> as input message and a static size of <span class="math-container">$K$</span>)? </li>
</ol>
<p>Note: Flipping a single bit could do the trick if my reasoning is correct, but it has the drawback that partial hashes may not be affected. Flipping every bit - to get the complement of the hash value - should work as well - I think.</p>
| 0non-cybersec
| Stackexchange | 455 | 1,767 |
Ran my GF's first D&D session. Gnome bullying and Fox catching details inside.. **Background:**
Yesterday I ran a short session (45 minutes) for my GF. She'd been hounding me to show her this game I'm obviously obsessed with. I didn't think she was serious but she kept reminding me so I finally prepped a one-shot session. The adventure was as basic as you can possibly make it. An inn with some rats in the basement.
She doesn't play video games aside from Mario or Sonic and the only board games she knows are Monopoly and Cards Against Humanity from "one time at a party". I knew I'd lose her if she had to make a character but a pre-gen wouldn't capture how it feels to play something that's *yours*.
I decide to keep character creation simple and to do the calculations for her (modifiers, attack bonuses and damage). We end up with a Half-Elf Sage fighter (Bow) with the standard array. I ask her to put the stats where she wants them. I point out the 8 will be something she was terrible in. Strength 8 it is because who needs Strength anyway!
**The session:**
To kick things off I describe what she'd been up to until then: She's a somewhat renowned hero and occasionally hears ballads about her exploits. Her last quest's reward was spent which means now she's out looking for more trouble. The adventure kicks off on a small road in the forest. It's getting late when she notices a sign marking the village of Parvus only 3 miles away. At this point I think I've set the scene properly and ask: What would you like to do?
She freezes up for a second. I'd never realized how daunting it can feel to have unlimited choices. She could do *anything* and the story would go on. She tells me she stays on the path and walks at a brisk pace to Parvus.
I tell her she'd been walking for about an hour when she crests a hill and sees the tiny little village. It's a few minutes further but I prompt her again: What do you do?
She jokingly tells me she wants to look around for a cat-lion (She'd shared this (Warning: graphic!) [video](https://www.youtube.com/watch?v=w0MueLc68zU) that day) so I ask for a Perception check. No cat-lions in sight. I describe the smoking chimneys in the village and a nearby fox holding a dead mouse observing her. She's curious about the fox but goes to the village.
I set up Parvus with a few amenities where the NPCs direct her to the inn. I hadn't given her any money because I wanted her to figure out how to pay for her stay. She catches on quickly and looks for work. She tries a random house first and I roleplay a 3 foot Halfling.
As a DM, I try to do voices. Usually, it helps immersion. Not this time. My squeaky Halfling voice gets her laughing. "You're so cute!" I try to stay in character and reply "Oh...err...I guess. Thanks?"
The Halfling and the Dwarf Blacksmith she talks to after that direct her to the inn. There, she talks to the owner who is eager to complain about his good-for-nothing son who can't get the basement rat infestation under control.
Now, she's playing a pretty badass character. Any of us playing would have stormed into that basement hacking and slashing until the cellar was wet and bloody. Not her. Without pausing, she tells me she's going to get some foxes to deal with the rats. *Blindsided!*
I run the fox-hunting like a skill challenge. First she needs a location (Nature), then she looks for signs of the creature (Survival) and finally she attempts to tame the fox (Animal Handling). Her surprisingly good rolls carry her through and she travels back to Parvus with a curious fox in tow.
They enter the basement from behind the inn. I describe gnawing sounds coming from the darkness. Her Half-Elf eyes adjust and she decides, being the Hero she is, to go down first. The fox follows but the rats are hiding. A Strength check has her knock over a barrel and we jump to initiative.
First, she faces a rat on her own. The creature is completely outmatched and I make sure to include a few gory details of its demise. Then, her attention turns to the less heroic fox. It's fighting a rat but another one is sneaking up behind it! She practically yells "I KILL THE RAT!" but she can't. "It's not your turn yet."
I didn't know people's eyes could shoot venom. "I swear, if you tell me the fox dies...!". I make a few rolls. The fox gets bitten but its plot armor holds up and it kills a rat before her turn comes up again.
She repeats "I kill the rat." and attacks. The creature dies and the basement falls quiet. She immediately asks about the fox and I inform her it looks injured and whimpers at her touch. She grabs it and runs outside to look for a way to treat it. I ask for a quick check to look around reveals the Gnomish potion-maker is closing up shop for the night. She approaches and asks to make a purchase. "Oh, I'm closed for the day. Come back tomorrow!" She's not a happy camper. The fox needs help now!
Out come the Intimidate rolls. The Gnome is bullied into letting her inside and the fox is given treatment. For free, too! Would you look at that...threats of violence are extremely convincing when coming from an armed madwoman. A small pot of aloe-scented paste stabilizes the fox and I end the session. I'm pretty happy happy with how it played out. Then she tells me to hold onto her character sheet! I have to continue her story! Critical success.
I've introduced a few people to D&D. Some stuck around, some didn't. For some reason, this time gave me some warm n fuzzies. I thought I'd share.
Note: This happened last week. I started writing this post and got busy. I could only finish it now. It's all true unless she happens to read this in which case the part about the fox's plot armor is 100% fabricated and false. Foxes don't have plot armor that ensure boyfriends don't sleep on the couch.
**TL:DR Fighter goes into basement. Kills rats.** | 0non-cybersec
| Reddit | 1,448 | 5,871 |
Improper convergent integral with interior singularity. <p>For $a$ and $b$ real numbers, $a<b$, I'm looking for an example of a function $f(x)$ that has an infinite discontinuity at some $c$ satisfying $a<c<b$ (i.e. $c$ is in the interior of the domain of integration) and such that</p>
<p>$$\int_a^bf(x)dx$$</p>
<p>is finite. I tried $\int_{-1}^{1}\frac{e^x}{e^x-1}$ but did not work (integral diverges). Thanks.</p>
| 0non-cybersec
| Stackexchange | 154 | 429 |
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 | 349 | 1,234 |
Evaluating $\cos^{-1}(\sin(-17))$. <p>I had this question on my test I took today, and I'm confused if my answer's right. </p>
<p>I had to find the value of </p>
<p>$$\cos^{-1}(\sin(-17))$$</p>
<p>Okay, first, I drew a triangle. And, after, I let a and b for each line related to sin -17, so that we can say sin (-17) is b/a. And then, I realized cos ^(-1)(b/a) is the other angle than -17 and the right angle. I said the answer was 73, subtracting 17 from 90, since I thought -17 was an way of expressing that the triangle is in the third or fourth quadrant, and the actual angle is 17. However, I heard these kids saying that the answer's 107, since the angles should add up to 90, and 107+(-17) =90. I'm simultaneously confused and frustrated. What's the answer?</p>
<p>any help would be appreciated. </p>
| 0non-cybersec
| Stackexchange | 246 | 813 |
Given a vector subspace $W$, there exist a functional f such that $W= \ker(f)$?. <p>Given $V$ a vector space of finite dimension over a field $F$, and given a subspace of $V$, say, $W\leq V$, I want to find a functional $f\colon V \rightarrow F$ such that $\ker(f) = W$ I don't know how to construct such a functional or if this is possible. </p>
<p>Any help would be appreciated.</p>
<p>Thanks in advance.</p>
| 0non-cybersec
| Stackexchange | 129 | 413 |
continuous curve homotopic to smooth curve. <p>Assume that <span class="math-container">$\gamma : [0,1] \to M$</span> is a continuous curve with initial and endpoint <span class="math-container">$a$</span> and <span class="math-container">$b$</span> respectively and <span class="math-container">$M$</span> is a differentiable manifold. The very well known Approximation Whitney's theorem states that is <span class="math-container">$\gamma$</span> is continuous and differentiable in <span class="math-container">$A = \{0,1\}$</span> we can find a smooth curve <span class="math-container">$\sigma$</span> joining <span class="math-container">$a$</span> and <span class="math-container">$b$</span> such that <span class="math-container">$\gamma$</span> and <span class="math-container">$\sigma$</span> be relative homotopic to <span class="math-container">$A$</span> (its extremes).</p>
<p>What happens if <span class="math-container">$\gamma$</span> is not smooth in <span class="math-container">$A$</span>? I have though the next argument. Let <span class="math-container">$(U,\varphi)$</span> be a chart centered in <span class="math-container">$\gamma(0) = a$</span> such that <span class="math-container">$\varphi(U)$</span> is a disk. For simplicity I am going to assume that <span class="math-container">$M$</span> is 2-dimensional. If <span class="math-container">$\gamma$</span> was simple (without self-intersection) its easy to see that <span class="math-container">$\gamma :[0,\varepsilon] \to \varphi(U)$</span> is homotopic (relative to <span class="math-container">$\gamma(0)$</span> and <span class="math-container">$\gamma(\varepsilon)$</span>) to the segment that joins both points.</p>
<p>What happens if its not possible to obtain a neighborhood of the point <span class="math-container">$a$</span> such that <span class="math-container">$\gamma :[0,\varepsilon] \to \varphi(U)$</span> is not simple? I mean the set of point self-intersection points of <span class="math-container">$\gamma$</span> could have <span class="math-container">$a$</span> like an accumulation point...</p>
| 0non-cybersec
| Stackexchange | 609 | 2,104 |
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 | 349 | 1,234 |
Template specialization with enable_if. <p>I'm trying to create a template function taking a typename. I want to specialize this templates for some basic types like <code>int</code>, <code>long</code>, <code>string</code> and <code>double</code>. For all others types, i need to have a specialized code for class/struct, and a default code for others types.</p>
<p>My current code is this one :</p>
<pre><code>// Declaration
template <typename T, typename enable_if<is_class<T>::value>::type = 0>
void test(T& value);
template <typename T, typename enable_if<!is_class<T>::value>::type = 0>
void test(T& value);
template <> // What am i supposed to write here ?
void test<int>(int& value);
// Definition
template <typename T, typename enable_if<is_class<T>::value>::type = 0>
void test(T& value) {
cout << "Class/struct test" << endl;
}
template <typename T, typename enable_if<!is_class<T>::value>::type = 0>
void test(T& value) {
cout << "Other types test" << endl;
}
template <>
void test<int>(int& value) {
cout << "int test" << endl;
}
</code></pre>
<p>This code won't compile. I can't figure what am i suppoed to write in the <code>int</code> specialized template.</p>
<p>I'm trying to use <a href="https://en.cppreference.com/w/cpp/types/enable_if" rel="nofollow noreferrer">the examples from this documentation</a>, but i'm unable to make it work.</p>
| 0non-cybersec
| Stackexchange | 546 | 1,537 |
Let $\alpha= f\,dx_1 \wedge \cdots\wedge dx_n$; where $f$ is continuous on $A$. Show that $\int_ \Phi \alpha =\int_ \Phi f$. <p>Let $A \subset \mathbb{R}_k$ be a rectangle (or box), and let $\Phi:A\to\mathbb{R}_k$, be the identity mapping.</p>
<p>Let $\alpha= f \, dx_1 \wedge \cdots \wedge dx_n$; where $f$ is continuous on $A$.</p>
<p>Show that</p>
<p>$$\int_ \Phi \alpha =\int_ \Phi f$$</p>
<p>I'm not sure what the formal way to proceed is, if we just go back to the formal definitions of $\alpha(\Phi)$ and $f(\Phi)$ I know what to do in the case of $\alpha$ but I'm not sure what to do for $f$ because it's a $0$-form.</p>
<p>So by looking at the definition, there is no jacobian to calculate for $f$ and for $\alpha$ the jacobian has to be one because we have an identity mapping? I'm not sure how to write this properly.</p>
<p>Thank you for your help as always!</p>
| 0non-cybersec
| Stackexchange | 308 | 881 |
If $a_{n+1}=\frac{10}{a_n}-3$ and $a_1=10$, find $\lim_{n \to \infty} a_n$. <blockquote>
<p>Let <span class="math-container">$a_{n+1}=\dfrac{10}{a_n}-3$</span>, <span class="math-container">$a_1=10$</span> then find the limit <span class="math-container">$\lim\limits_{n \to \infty} a_n$</span></p>
</blockquote>
<p>My Try :</p>
<p><span class="math-container">$$a_2=-2 \ \ ,a_3=-8 \ \, a_4=-4.25 \ \ a_n <0$$</span></p>
<p>thus visthe monotone convergence theorem <span class="math-container">$$\lim\limits_{n \to \infty}=l$$</span></p>
<p>so: <span class="math-container">$$l=\dfrac{10}{l}-3 \to l^2+3l=10 \to l=2 , -5 $$</span></p>
<p>it is right ?</p>
| 0non-cybersec
| Stackexchange | 296 | 666 |
how I could pass variable inside awk match?. <p>I have an awk command.
I need to use <code>i</code> variable but my command does not work when I do.</p>
<pre>
"fechaName": "1","firstName": "gdrgo", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "lastName": "222",dfg
"fechaName": "2","xxxxx": "John", "firstName": "beto", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "lastName": "111","xxxxx": "John",
"fechaName": "4","xxxxx": "John", "firstName": "beto", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "lastName": "111","xxxxx": "John",
"fechaName": "4","xxxxx": "John", "xxxxx": "John", "firstName": "beto2", "xxxxx": "John","lastName": "555", "xxxxx": "John","xxxxx": "John",
"fechaName": "5","xxxxx": "John", "xxxxx": "John", "firstName": "beto2", "xxxxx": "John","lastName": "444", "xxxxx": "John","xxxxx": "John",
"fechaName": "4","firstName": "gdrgo", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "xxxxx": "John", "lastName": "222",dfg
"fechaName": "7","xxxxx": "John", "xxxxx": "John", "firstName": "beto2", "xxxxx": "John","lastName": "444", "xxxxx": "John","xxxxx": "John",</pre>
<p>When I use 5 instead of <strong>"i"</strong> it works</p>
<pre><code>awk -v OFS='"' -v FS='Name": "' '{ for( i=2; i<=7; i++ ) if( match($2, /5"/) ) print $0 }' sumacomando
</code></pre>
<p>this is my command </p>
<pre><code>awk -v OFS='"' -v FS='Name": "' '{ for( i=2; i<=7; i++ ) if( match($2, /**i**"/) ) print $0 }' sumacomando
awk -v OFS='"' -v FS='Name": "' '{ for( i=2; i<=7; i++ ) if( match($2, /i"/) ) print $0 }' sumacomando
</code></pre>
| 0non-cybersec
| Stackexchange | 712 | 1,695 |
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 | 349 | 1,234 |
Can I verify on my server that a user paid for an Android app through the Google Play Store?. <p>There appears to be a <a href="https://developer.android.com/google/play/billing/gp-purchase-status-api.html#subscriptions_api_overview" rel="noreferrer">Subscriptions and In-App Purchases API</a> to verify in-app purchases, but as far as I can tell there is no way to do the same for the app itself through the Google Play Store.</p>
<p>There is an Android API for <a href="http://developer.android.com/google/play/licensing/index.html" rel="noreferrer">verifying licensing</a>, but it appears to be on-device only. I'd like to do the verification against their server from my server, not my app.</p>
<p>With iOS, I can use the <a href="https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html#//apple_ref/doc/uid/TP40010573-CH104-SW1" rel="noreferrer">Receipt Validation API</a> to determine both if an app was purchased on the App store and any in-app purchases. The app sends the receipt to my server, and my server verifies the receipt with Apple's servers. Is there something analogous for Android?</p>
| 0non-cybersec
| Stackexchange | 336 | 1,170 |
Factorisation of repunits and determination whether a number is prime. Are these two questions linked?. <p>Let $R(n)$ denote a repunit in decimal number system of $n$ digits. With the exception of $2,3$ and $5$ (which have easy divisibility tests), its factors can only be of two types:</p>
<ol>
<li>Positive integers of the form $nm+1$ where $m$ is a
natural number.</li>
<li>The divisors of $R(k)$, where $k$ is a factor of $n$.</li>
</ol>
<p>(So for the first type of factors, the smallest factor of $R$(n) can be $n+1$ and the largest, the number itself.)</p>
<p>Firstly i wanted to ask is this a well established and documented result?</p>
<p>Secondly has this way of factoring a repunit been used in factoring a number or more importatnly in forming a primality testing algorithm? </p>
| 0non-cybersec
| Stackexchange | 243 | 799 |
Debian Buster, 'ip a' command doesn't list my wireless card. <p>I've recently finished a Debian 10 install on my old PC with the XFCE environment. I've been running off of ethernet so far and I intend to use my broadcom wireless card instead, so I installed wicd as well as the broadcom drivers for my card as per these instructions: <a href="https://wiki.debian.org/bcm43xx" rel="nofollow noreferrer">https://wiki.debian.org/bcm43xx</a>.</p>
<p>However, wicd didn't see my wireless card, so I ran <code>ip a</code> and it brought back this: </p>
<pre><code>1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 1c:6f:65:41:0d:c2 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.228/24 brd 192.168.1.255 scope global dynamic enp2s0
valid_lft 86018sec preferred_lft 86018sec
inet6 fe80::1e6f:65ff:fe41:dc2/64 scope link
valid_lft forever preferred_lft forever
</code></pre>
<p>When I run <code>lspci</code> I get this:</p>
<pre><code>00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde XT [Radeon HD 7770/8760 / R7 250X]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
03:06.0 Network controller: Broadcom Limited BCM4306 802.11b/g Wireless LAN Controller (rev 03)
03:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
</code></pre>
<p>So clearly my card is visible to it. What am I doing wrong?</p>
| 0non-cybersec
| Stackexchange | 1,394 | 3,960 |
QCOW2 virtual size lowering. <p>I'm trying to get the virtual size of a <code>qcow2</code> container down so that it can fit in a openstack flavor with 10GB disk.</p>
<pre><code>root@node-10:~# qemu-img info zztop.qcow
image: zztop.qcow
file format: qcow2
virtual size: 80G (85899345920 bytes)
disk size: 2.6G
cluster_size: 65536
Format specific information:
compat: 1.1
lazy refcounts: false
</code></pre>
<p>I follow the guide <a href="https://www.jamescoyle.net/how-to/323-reclaim-disk-space-from-a-sparse-image-file-qcow2-vmdk" rel="noreferrer">here</a> and fill the end of the disk with zeros then run <code>qemu-img convert -O qcow2</code>.
The resulting qcow2 however retains the same disk size and virtual size.</p>
<p>How do I lower the virtual size of a qcow2 so that it can fit in a openstack flavor smaller than 80GB?</p>
| 0non-cybersec
| Stackexchange | 298 | 838 |
What laws are the standard Haskell type classes expected to uphold?. <p>It's well-known that <code>Monad</code> instances ought to follow the Monad laws. It's perhaps less well-known that <code>Functor</code> instances ought to follow the Functor laws. Nevertheless, I would feel fairly confident writing a GHC rewrite rule that optimizes <code>fmap id == id</code>.</p>
<p>What other standard classes have implicit laws? Does <code>(==)</code> have to be a true equivalence relation? Does <code>Ord</code> have to form a partial order? A total order? Can we at least assume it's transitive? Anti-symmetric?</p>
<p>These last few don't appear to be specified in the Haskell 2010 report nor would I feel confident writing rewrite rules taking advantage of them. Are there any common libraries which do, however? How pathological an instance can one write confidently?</p>
<p>Finally, assuming that there is a boundary for how pathological such an instance can be is there a standard, comprehensive resource for the laws that each type class instance must uphold?</p>
<hr>
<p>As an example, how much trouble would I be in to define</p>
<pre><code>newtype Doh = Doh Bool
instance Eq Doh where a == (Doh b) = b
</code></pre>
<p>is it merely hard to understand or will the compiler optimize incorrectly anywhere?</p>
| 0non-cybersec
| Stackexchange | 342 | 1,319 |
Resolving the location/registration of an executable in the system?. <p>I am on Ubuntu 11.04, Gnome 2. I had at a certain point installed Adobe Reader (<code>acroread</code>), however "off-tree" (at a non-standard location) - and I just noticed something weird about this executable. </p>
<p>First, <code>which</code> reports:</p>
<pre><code>$ which acroread
/media/mydisk/AdobeReader/Adobe/Reader9/bin/acroread
</code></pre>
<p>Ok, so it is on a different partition than the system root <code>/</code>; in this case, I'd expect a symlink to this <code>acroread</code> to be present somewhere in the <code>$PATH</code>, e.g. in <code>/usr/bin</code>. So let's try <code>locate</code>:</p>
<pre><code>$ locate acroread
~/.icons/All-blacks/scalable/apps/acroread.png
/usr/lib/pymodules/python2.7/orca/scripts/apps/acroread
/usr/lib/pymodules/python2.7/orca/scripts/apps/acroread/__init__.py
/usr/lib/pymodules/python2.7/orca/scripts/apps/acroread/__init__.pyc
/usr/lib/pymodules/python2.7/orca/scripts/apps/acroread/script.py
/usr/lib/pymodules/python2.7/orca/scripts/apps/acroread/script.pyc
/usr/share/app-install/desktop/acroread.desktop
/usr/share/app-install/icons/acroread.png
/usr/share/pyshared/orca/scripts/apps/acroread
/usr/share/pyshared/orca/scripts/apps/acroread/__init__.py
/usr/share/pyshared/orca/scripts/apps/acroread/script.py
/usr/share/scribus-trunk/icons/acroread16.png
/usr/share/scribus-trunk/icons/acroread22.png
/usr/share/scribus-trunk/icons/acroread32.png
</code></pre>
<p>Weird - nothing here seems related, except for <code>acroread.desktop</code>. I recall in Gnome, one can "register" an application by placing a <code>.desktop</code> file in a respective system directory; but if I check <code>acroread.desktop</code>:</p>
<pre><code>$ cat /usr/share/app-install/desktop/acroread.desktop
[Desktop Entry]
X-AppInstall-Package=acroread
X-AppInstall-Proprietary=true
X-AppInstall-Channel=natty-partner
X-AppInstall-LicenseUri=/usr/share/app-install/channels/natty-partner.eula
X-AppInstall-Architectures=i386,amd64
Encoding=UTF-8
Name=Adobe Reader 9
Icon=acroread.png
Terminal=false
Type=Application
Categories=Application;Office;Viewer;
StartupNotify=true
</code></pre>
<p>... there's nothing in there about <code>/media/mydisk</code> location ?! Actually, this <code>.desktop</code> file looks like a pre-prepared icon, which would start the installer if you click it?!</p>
<p>So how come <code>which</code> finds this executable -- on a partition other than the system one? Maybe it's my <code>.bashrc</code>?:</p>
<pre><code>$ grep 'acro\|Adobe' ~/.bashrc
$
</code></pre>
<p>Nope, nothing there. </p>
<p>So - how does the system know, that when I type <code>acroread</code> in the terminal, it should run <code>/media/mydisk/.../acroread</code> - and yet there is no symlink in system path, no mention in <code>~/.bashrc</code>, and not even any relevant Gnome <code>.desktop</code> files in the root filesystem, either?</p>
<p>EDIT: The shell I use is <code>bash</code> , and <code>type</code> reports:</p>
<pre><code>$ type acroread
acroread is hashed (/media/mydisk/AdobeReader/Adobe/Reader9/bin/acroread)
</code></pre>
<p>I've also tried this:</p>
<pre><code>$ while read line; do if [ -f "${line}" ]; then grep -rH 'acroread' "${line}"; fi; done < <(locate applications)
/usr/share/application-registry/gnome-vfs.applications:acroread
/usr/share/application-registry/gnome-vfs.applications: command=acroread
</code></pre>
<p>but the <code>gnome-vfs.applications</code> doesn't contain much about the location:</p>
<pre><code>$ grep -A7 acroread /usr/share/application-registry/gnome-vfs.applications
acroread
command=acroread
name=Adobe Acrobat Reader
can_open_multiple_files=true
expects_uris=false
requires_terminal=false
mime_types=application/pdf
applix
</code></pre>
<p>EDIT2: as @MichaelHomer noted, the reason the shell can call this executable is that the directory was in the <code>$PATH</code>:</p>
<pre><code>$ for path in ${PATH//:/ }; do echo "$path" | grep 'Adobe\|acro'; done
/media/mydisk/AdobeReader/Adobe/Reader9/bin
</code></pre>
<p>However, the weird thing now is - how did this directory end up in <code>$PATH</code>? As mentioned earlier, certainly not by being added to my <code>.bashrc</code> - or for that matter, in any <code>bashrc</code>:</p>
<pre><code>$ while read fnline; do if [ -f "${fnline}" ]; then echo "...(${fnline})..."; grep -rH 'acro\|Adobe' "${fnline}"; fi; done < <(locate bashrc)
...(/etc/bash.bashrc)...
...(/etc/skel/.bashrc)...
...(~/.bashrc)...
...(~/.bashrc-orig)...
...(~/.bashrc_mine)...
...(/home/aaa/.bashrc)...
...(/home/bbb/.bashrc)...
...(/usr/share/base-files/dot.bashrc)...
...(/usr/share/doc/adduser/examples/adduser.local.conf.examples/bash.bashrc)...
...(/usr/share/doc/adduser/examples/adduser.local.conf.examples/skel/dot.bashrc)...
</code></pre>
<p>... so the question now is: how did this directory end up in path?</p>
| 0non-cybersec
| Stackexchange | 1,768 | 4,983 |
Access query with "last" and display the rest too. <p>I have an Access DB about measuring tools.</p>
<p>I have 2 tables: <code>tblTools</code>, which countains the details of the device, the <code>tblCalibration</code> contains when each device was calibrated.</p>
<pre><code>tblTools: tool_ID; tool_Name
tblCalibration: calibration_ID; tool_ID ;calibration_Date
</code></pre>
<p>I wrote a query to get the last calibration date, but it only shows the devices which have a calibration date. I need the results to show all devices, not just those that have been calibrated.</p>
<p>Is there any solution for a query that will list all of the devices plus the last calibration date if one exists?</p>
| 0non-cybersec
| Stackexchange | 199 | 714 |
Format of /etc/hosts on Linux (different from Windows?). <p>Pasted below this question is a sample of a <code>/etc/hosts</code> file from a Linux (CentOS) and a Windows machine. The Linux file has two tabbed entries after the IP address (that is localhost.localdomain localhost) and Windows has only one. If I want to edit the hosts file in Windows to have the machine name (etest) instead of localhost, I simply replace the word localhost with the machine name I want. The machine need not be part of a domain.</p>
<p>In a Linux machine, the two entries <code>localhost.localdomain</code> and <code>localhost</code> seems to indicate that I will need the machine to be part of a domain. Is this true?</p>
<p>Can I simply edit both entries to <code>etest</code> so that it will read:</p>
<pre><code>127.0.0.1 etest etest
</code></pre>
<p>or is it required that I substitute one entry with a domain name?</p>
<p>Additionally, please let me know what the second line of the <code>/etc/hosts</code> file on the Linux machine is for.</p>
<pre><code>::1 localhost6.localdomain6 localhost6
</code></pre>
<p><code>hosts</code> file on a Linux machine:</p>
<pre><code># Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
</code></pre>
<p><code>hosts</code> file on a windows machine:</p>
<pre><code># Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhost
</code></pre>
| 0non-cybersec
| Stackexchange | 619 | 2,182 |
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 | 349 | 1,234 |
Differential Geometry in Hamiltonian Mechanics. <p>I have following question about the Hamiltonian mechanics from differential geometrical viewpoint:</p>
<p>We start with a physical system parametrized by generalized (position) coordinates <span class="math-container">$(q^i)$</span> providing under given restrictions the configuration space <span class="math-container">$Q$</span> or more precisely a (smooth) <strong><em>manifold</em></strong>. </p>
<p>The <strong><em>tangent bundle</em></strong> <span class="math-container">$TQ$</span> over <span class="math-container">$Q$</span> provides for the fixed coordinates <span class="math-container">$q^i$</span> the corresponding velocities <span class="math-container">$\dot q ^j$</span>. Geometrically the velocities <span class="math-container">$\dot q ^j$</span> at <span class="math-container">$q^i$</span> belong to the tangent space <span class="math-container">$TQ_{q_0}$</span> at fixed point <span class="math-container">$q_0^i$</span> of <span class="math-container">$Q$</span>.</p>
<p>So <span class="math-container">$q^i$</span> and <span class="math-container">$\dot q ^j$</span> provide parameters for the Lagrangian <span class="math-container">$L[q(t), \dot q(t)]$</span>, a function on <span class="math-container">$TQ$</span>.</p>
<p>On the other hand it's known that the Hamiltionian <span class="math-container">$H[q(t), p(t)]$</span> can be interpreted as a function on the <strong><em>cotangent bundle</em></strong> <span class="math-container">$T^*Q$</span> where for fixed <span class="math-container">$q_0^i \in Q$</span> the momenta <span class="math-container">$(p_0)_j$</span> are living in cotangent space <span class="math-container">$T^*Q_{q_0}$</span>.</p>
<p>My question is why (mathematically) the phase space spanned by position <span class="math-container">$q^i$</span> and momentum coordinates <span class="math-container">$p_j$</span> come from the <strong><em>cotangent bundle</em></strong> <span class="math-container">$T^*Q$</span> while the position <span class="math-container">$q^i$</span> and velocity coordinates <span class="math-container">$\dot q_j$</span> come from tangent bundle ?</p>
<p>Or in other words why the cotangent space <span class="math-container">$T^*Q_{q}$</span> corresponds to momenta while the tangent space <span class="math-container">$TQ_{q}$</span> to velocities from viewpoint of differential geometry?</p>
<p>Remark: I know that elemenary physical approach always associates the velocity to the tangent space of the position but this doesn't answer concretely why the momenta spaces should belong exactly to the cotangents. </p>
<p>Intuitively I guess that the velocities and momenta should behave differently under transformations in sense of co- and contravariant coordinates but I'm not sure if this is the real reason for the problem above...</p>
| 0non-cybersec
| Stackexchange | 845 | 2,886 |
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 | 349 | 1,234 |
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 | 349 | 1,234 |
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 | 349 | 1,234 |
The package linux-headers-4.13.0-37 needs to be reinstalled, but I can't find an archive for it. <p>I would like to ask one solution regarding update and upgrade process. I am using Ubuntu 16.04 LTS xenial version. I found one problem statement:</p>
<blockquote>
<p>E:The package linux-headers-4.13.0-37 needs to be reinstalled, but I can't find an archive for it.</p>
</blockquote>
<p>when I try to update. I am not able to open my synaptic. Please suggest me to get rid of the problem.</p>
| 0non-cybersec
| Stackexchange | 153 | 500 |
How often do you encounter men that get easily ofended?. Idk why, but this friend of mine gets so easily ofended. I don´t think he necessasrily gets things personally, and he cleraly forgets fast, but he clearly gets butt hurt when you´re mildly direct with him, and he makes sure you know it...
This isn´t common in my family (Mainly men). We treat each other with respect, but I guess, part of respecting others is sometimes being direct, and even a little rude if the situation warrants it. I am not even direct with people (which is something I try to work on) I am too agreeable, but it doesn´t help when others (specially close friends) get easily offended. Don´t get me wrong, it´s harsh when people are honest, but it´s no reason to get offended.
EDIT: I Don´t mean necessarily in politics, I mean on small stuff, like day to day interactions you have with people that don´t necessarily revolve around politics, although if you want to share your political experiences that´s fine too! | 0non-cybersec
| Reddit | 241 | 995 |
Show that for all vector, directional derivative is zero. <p>Consider the following function:
<span class="math-container">$
f(x,y) =
\begin{cases}
1 & \text{if $y=x^2$, $x \neq 0$} \\
0 & \text{otherwise}
\end{cases}
$</span></p>
<p>Show that for any vector <span class="math-container">$ v \neq 0$</span>, <span class="math-container">$D_vf(0,0)$</span>, the directional derivative, is <span class="math-container">$0$</span>.</p>
<p>So I mark <span class="math-container">$ v = [v_1, v_2]$</span>.
By definition:</p>
<p><span class="math-container">$D_vf(0,0) = \lim\limits_{t \to 0} \frac{f((0,0) + tv) - f(0,0)}{t} = \lim\limits_{t \to 0} \frac{f(tv_1, tv_2)}{t}$</span></p>
<p>since t goes to 0, and the vector is not the zero vector, I can assume <span class="math-container">$ x = tv_1 \neq 0 $</span>, which means the limit <span class="math-container">$ \frac{1}{t} $</span> as <span class="math-container">$t \to 0$</span> does not exist , and I get stuck.</p>
<p>How to solve this?</p>
| 0non-cybersec
| Stackexchange | 394 | 1,014 |
Mauviel 250c vs E.Dehillerin "extra thick". I've been buying Mauviel 250c pots & pans one by one over the years & recently was looking into getting a 3.2qt sauté pan. They seem few & far between as far as availability goes and also the price has increased a bunch since last time i checked. Anyone know if Mauviel has just discontinued this line altogether (250c)? Are pans directly from E.Dehillerin basically the same? (i read here & there that Mauviel makes them, not sure if thats actually the case though). | 0non-cybersec
| Reddit | 134 | 512 |
Solve $3^x \equiv 43 \pmod {97}$ using Pohlig-Hellman. <p><strong>Problem</strong>: Solve $3^x \equiv 43 \pmod 97$ using Pohlig-Hellman.</p>
<p>Here is my solution, but the problem is that I don't get it right at the end.</p>
<p>First of all, I calculate $\phi(97) = 96 = 2^5 \cdot 3$.</p>
<p>Now, let $x=a_0 + 2^5a_1=a_0+32a_1$. Then
$$ {3^{(a_0+32a_1)}}^3 \equiv 43^3 \pmod{97}$$
$$27^{a_0} \equiv 64 \pmod {97}.$$</p>
<p>Trial and error yields $a_0 = 6$. So now we have $x = 6 + 32a_1$, meaning $x \equiv 6 \pmod {32}$.</p>
<p>Now, let $x=b_0 + 3b_1$. Then
$$ {3^{(b_0 + 3b_1)}}^{32} \equiv 43^{32} \pmod{97}$$
$$35^{b_0} \equiv 35\pmod {97}.$$</p>
<p>Obviously, $b_0=1$. So now we get $x = 1 + 3b_1$, meaning $x \equiv 1 \pmod {3}$.</p>
<p>Using CRT, we can now solve:
$$x \equiv 6 \pmod {32}$$
$$x \equiv 1 \pmod {3}.$$</p>
<p>Solving the first equivalence:</p>
<p>$$3x_1 \equiv 6 \pmod {32}.$$</p>
<p>The multiplicative inverse of $3$ modulo $32$ is $11$.</p>
<p>$$11 \cdot 3x_1 \equiv 11 \cdot 6 \pmod {32}$$
$$x_1 \equiv 11 \cdot 6 \equiv 2 \pmod {32}.$$</p>
<p>Now for the second one:</p>
<p>$$32x_2 \equiv 1 \pmod {3}$$
$$2x_2 \equiv 1 \pmod {3}$$
$$x_2 \equiv 2 \pmod 3.$$</p>
<p>And at last:</p>
<p>$$x_0 = 3 \cdot 2 + 32 \cdot 2 = 70 \equiv 70 \pmod {96}.$$</p>
<p>Now $3^{70} \pmod {97}$ is not $43$, and I cannot find where is my error.
But, if I got $a_0=22$, then I would get $x_1 \equiv 18 \pmod {32}$ and $x_0 \equiv 22 \pmod {96}$, and that would be correct answer.</p>
| 0non-cybersec
| Stackexchange | 667 | 1,506 |
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 | 349 | 1,234 |
Would these go well together?. http://www.moss.co.uk/images/extraextralarge/965655117_01.jpg?lg-inline
http://www.moss.co.uk/images/extraextralarge/965724309_01.jpg?lg-inline
Reason being, I've already bought the trousers, however I don't want to buy a generic suit blazer with it as I already have a suit and I need something to go with this trouser, if you don't think the blazer/jacket goes well with the trouser, could you recommend something that does?
Thanks | 0non-cybersec
| Reddit | 143 | 467 |
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 | 349 | 1,234 |
So many people say that wow is dying, but what they really mean is that its dead for them. So many people quit this game and say they are never coming back. Without even thinking about it they say that the game is dead. I'm one of those people that has said this in the past. I never really thought too much into what I meant about it but it just felt dead. So I started to think about it. What does it mean when people say this game is dying or dead?
It's the excitement. When you have played a game for 10 years straight, and a vast majority of the game is comprised of things that you have already done for years and years on end, when you've done just about everything that there is to do and you've done it to death, it's just not new and exciting anymore. Of course wow is not dying. New people come to the game all the time. But for these new people, the game is new, fresh, and exciting. For us old timers, we've been doing this for a really long time. So it's not new and exciting to us. But we can go play some other MMO that isn't as a successful like ESO and all of a sudden it feels like it's vibrant and teeming and filled with life. When you say that it game is dead or dying and compare it to another game, it's an abstraction. Because you really have no idea how many people actually play either game. Sure there are some areas where the game will be dead. Not a lot of people running around in red Ridge Mountains these days. But how many people can you actually see in one day in WoW? Like 100? 200? So what if there is 10 million people or five million or 1 million or 300,000 people playing this game? It's not like you're going to notice the difference either way. At most you're only going to see a couple hundred people per day all across the world. It's not like we can see all 10 million people that play the game in one place to see how truly big it is like we would if we were in New York City and so how truly populous the city was.
But games like Elder Scrolls feel so populated because they are new to us and again, you'll see the exact same amount of people there because of phasing. You'll see at a maximum 300 people all throughout. Maybe more because they have mega shards. But people that say this game is dying are wrong. We have just played it to death, and sometimes, it feels like we have worn it out | 0non-cybersec
| Reddit | 540 | 2,345 |
Toddler (2y) chews up foods and spits them out. My son has a strange habit of chewing up foods for a few minutes and eventually spitting the mashed up food all over his plate/the table/his shirt. He's good at trying a lot of foods, but I'm a bit concerned about how little seems to stay in. This happens with a variety of foods depending on his mood, but most commonly with crunchier things like apples or chewy things like shrimp.
He's been doing this for a whole year, so I don't think it's a cry for attention. He never seems to make a gagging noise…he just spits it out when he's done with the flavour. I've tried telling him not to spit, I've tried ignoring it, I've tried serving softer textures/peeling fruit - all with no result/improvement. Any suggestions, or is this just part of normal toddlerhood? | 0non-cybersec
| Reddit | 206 | 819 |
Google logo, map tiles and other google images don’t load in Chrome (HTTP 400). <p>There are several similar entries in stackoverflow for this error (HTTP 400), but I haven't found anything relevant to mine; so if this is already answered... my apologies.</p>
<p>Chrome is my default browser, and I use many Google services everyday, like Gmail, Maps, Docs, etc.</p>
<p>However, time-to-time, when I am logged-in to Google, I notice some assets are not loading from Google websites (*.google.com).</p>
<p>For example; Google logo in upper-left corner at main www.google.com search results; or image tiles in Maps.</p>
<p>Those missing images (or assets in general images, JS, CSS) have references in the DevTools Console: <code>Failed to load resource: the server responded with a status of 400</code></p>
<p>Once I clear storage in DevTools > Application, naturally I get logged out, but those missing assets start behaving normal and load as expected. I can log back in to Google services and use them without any issues, until next time it happens.</p>
<p>Since clearing storage (cookies and cache) fixes the issue, I don't think it's related with any of the installed add-ons (read AdBlock).</p>
<p>Has anyone experienced this issue, or better yet have a solution for this? Or should I continue blaming Google in general? :)</p>
| 0non-cybersec
| Stackexchange | 347 | 1,340 |
sddm-greeter ignores HideUsers in /etc/sddm.conf. <p>I'm using lubuntu disco with displaymanager sddm</p>
<pre><code>cat /etc/X11/default-display-manager
/usr/bin/sddm
</code></pre>
<p>On my system are 2 users the main one and a test account.
I'll try to hide the test user in sddm.</p>
<pre><code>cat /etc/sddm.conf
[Autologin] #original entry
Session=Lubuntu #also original entry
[users]
RememberLastUser=true
HideUsers=testie
[Theme]
EnableAvatars=true
FacesDir=/usr/share/sddm/faces
</code></pre>
<p>when i start sddm-greeter in testmode the user is still present.</p>
<pre><code>sddm-greeter --test-mode
[13:54:22.459] (II) GREETER: High-DPI autoscaling not Enabled
[13:54:22.491] (II) GREETER: Reading from "/usr/share/xsessions/Lubuntu.desktop"
[13:54:22.491] (II) GREETER: Reading from "/usr/share/xsessions/lxqt.desktop"
[13:54:22.491] (II) GREETER: Reading from "/usr/share/xsessions/openbox.desktop"
[13:54:22.494] (II) GREETER: Loading theme configuration from "qrc:/theme/theme.conf"
[13:54:22.498] (EE) GREETER: Socket error: "QLocalSocket::connectToServer: Invalid name"
[13:54:22.522] (II) GREETER: Loading qrc:/theme/Main.qml...
[13:54:22.609] (II) GREETER: Adding view for "LVDS1" QRect(0,0 1600x900)
</code></pre>
<p>Other changes are (like own avatar for main user) are showning up.</p>
| 0non-cybersec
| Stackexchange | 515 | 1,316 |
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 | 349 | 1,234 |
What are the 3-dimensional subspaces (or quotient spaces) to which the projections are made in the given figures? (Topological Data Analysis). <p><strong>EDIT: I was told by my supervisor to implement the algorithm first and then look back over the question because "<em>biologists' papers do not always contain the information that is necessary to reproduce their calculations</em>". That is to say that I will come back to this question at some point when I've had an epiphany.</strong></p>
<p>I've just started my mathematics thesis on Topological Data Analysis last week and I was given a question to resolve for next week:</p>
<p>"<strong><em>What are the 3-dimensional subspaces to which the projections are made in figure A? Are they really subspaces or are they quotient spaces?</em></strong>"</p>
<ul>
<li><p>These are the figures which are mentioned:
<a href="https://i.stack.imgur.com/bZdas.png" rel="nofollow noreferrer"><em>A. Branching analysis</em></a></p></li>
<li><p>A link to where the figures are from (p.10): <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6216255/pdf/EMBR-19-e46171.pdf" rel="nofollow noreferrer"><em>Single-cell transcriptomics reveals distinct
inflammation-induced microglia signatures</em></a></p></li>
</ul>
<p>I am actually not sure how to proceed to resolve this question. I've skimmed over the paper and I didn't spot anything helpful, except for the figure description:</p>
<p>"<em>leads to nine distinct clusters in a two-dimensional state space inferred by generalized regression modelling</em>"</p>
<ol>
<li>Why do they talk about a two-dimensional state space. The question mentions a three-dimensional space.
<a href="https://mathoverflow.net/users/353/j-c"><strong>j.c.</strong></a>: "<em>The three lines you call axes actually arise from the branching analysis performed by the software Monocle 2. <a href="http://cole-trapnell-lab.github.io/monocle-release/docs/#analyzing-branches-in-single-cell-trajectories" rel="nofollow noreferrer">Relevant documentation</a></em>" </li>
<li>Using some method we project an n-dimensional space to a 2 (or 3)-dimensional space. What does he mean by "<em>subspaces/quotient spaces to which the projections are made</em>" How would I check this?</li>
<li>Do I need to find out how the branching analysis or <strong>G</strong>eneralized <strong>R</strong>egression <strong>M</strong>odelling works? By G.R.M. do they mean this: <a href="https://mathoverflow.net/users/353/j-c">Generalized linear model</a>?</li>
</ol>
<p><strong>It would be great if someone could assist me with this problem, or maybe make the question more understandable.</strong></p>
| 0non-cybersec
| Stackexchange | 755 | 2,655 |
Torsor whose ring of function is a field. <p>Let $G$ be an affine group scheme over $\mathbb{Q}$. Then it is easy to see that if the ring of regular functions $H^0(G,\mathcal{O}_G)$ is a field then $G$ is the trivial group. </p>
<p>Let $P$ be a $G$-torsor (for the etale or fpqc topology). Is it possible for $H^0(P,\mathcal{O}_P)$ to be a field of transcendance degree $>0$? </p>
| 0non-cybersec
| Stackexchange | 137 | 386 |
How does the memory of a 64bit and 32bit processor work. <p><a href="https://www.geeksforgeeks.org/difference-32-bit-64-bit-operating-systems/" rel="nofollow noreferrer">In this article</a>, the author states that a 64bit processor can theoretically reference 2^64 bytes of memory. What does he mean by this statement, or rather the word, <em>reference</em>?</p>
<p>Also, I visualize the entire RAM to be divided into little memory cells, each having an n-bit binary number that represents a given instruction or value that is needed for running any program in the computer. <strong><em>Is this visualization right?</em></strong></p>
<p>If it is, then
for a 64bit processor, what would be the number of memory cells in the RAM?</p>
| 0non-cybersec
| Stackexchange | 202 | 734 |
Proud new owner of a 1964 1/2 Mustang...now what?. OK, so through a lot of good fortune, and some great in-laws, I'm now the proud owner of a 1964 1/2 mustang. But I'm not so much a car guy--I've changed a few tires, and changed oil twice, but thats about it. I'm all for learning about this, but have no idea where to begin, or what to tackle first. Any ideas?
More info on the car: Rebuilt about 10 years ago, runs pretty well, needs some help aesthetically. Needs some paint on a front quarter-panel that was replaced, and has some dents in the driver's side door. Has a hole cut in the dash where someone took out the original stereo to put in a CD player. Most interior surfaces are intact, but by no means pristene. Dirty from sitting in a barn for most of the last 10 years.
More about me: I'm a serial hobbyist, and am willing to tackle just about any new hobby, be it engine re-building or upholstery or bodywork/bondo/paint. | 0non-cybersec
| Reddit | 258 | 951 |
Touch LCD with Mac Mini. <p>I bought my first Mac Mini today. I'm using touch screen LCD PL2735M (<a href="http://www.iiyama.com/gb_en/products/prolite-t2735msc-2/" rel="nofollow">http://www.iiyama.com/gb_en/products/prolite-t2735msc-2/</a>). When I click on screen, mouse is moved to that place, but no click is issued. Is there any touch settings? (sensitivity, calibration). Thank you.</p>
| 0non-cybersec
| Stackexchange | 133 | 393 |
Observable which does not pass anything in onNext(). <p>I would need an Observable, for example to provide a system clock, which does not need to pass anything in onNext(). I couldn't find a signature that would allow me to do that.</p>
<p>Sure, I could use any object and then pass null, but that doesn't make much sense. So my question is if there is a better way to do that.</p>
<pre><code>Observable.create(new Observable.OnSubscribe<Anyobject>() { // use any object in the signature
@Override public void call(Subscriber<? super Anyobject> subscriber) {
subscriber.onNext(null); // then pass null
subscriber.onCompleted();
}
})
</code></pre>
| 0non-cybersec
| Stackexchange | 190 | 737 |
Where does $5$ come from in this case?. <p>From Rosen's Discrete Mathematics and Its Applications, 3ed, chapter 6 p. 425:</p>
<p><a href="https://i.stack.imgur.com/sA7Yk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sA7Yk.png" alt="img"></a></p>
<p>For the first part, it is choose 3 out of 11, repetition OK. This part I get.</p>
<p>I do not quite get the the second part. Where does the <code>5 additional items</code> come from or the number <code>5</code> on the red box come from? What happened to <code>11</code>?</p>
| 0non-cybersec
| Stackexchange | 194 | 551 |
TW. How do you deal with a fear of sexual intimacy?. Hey,
So, I've never really talked about this. But, I grew up around a lot of older men from ages 4/5-9 and its left me traumatised.
My dating history also includes a lot of sexually aggressive guys, due to my really low self esteem.
But, Ive noticed with my friends that being physicallt intimate on the first date is the norm now.
Men try to justify this by saying they think they have to make some sort of sexual advance, so I know they're interested.
Its complete bullshit. Guys, you don't have to kiss girls to show your romantic interest, just learn how to read the room.
I just clam up whenever someone starts trying to kiss me, even though I would really like to, because of what I experienced as a kid.
How do I get past this? I try to broach the topic with my therapists but they seem uncomfortable with the topic.
Thank you. | 0non-cybersec
| Reddit | 224 | 898 |
Is this a composition of scalar fields? Meaning of $(\phi(x,y,z,t),x,y,z)$?. <p>In the following I'm interested in the mathematics, not the physical representation.</p>
<p>The <a href="https://en.wikipedia.org/wiki/Diffusion_equation#Statement" rel="nofollow noreferrer">diffusion equation</a> is
$$
\frac{\partial \phi(\mathbf{r},t)}{\partial t}=\nabla \cdot [D(\phi,\mathbf{r})\nabla\phi(\mathbf{r},t)]
$$</p>
<p>Here $\phi$ and $D$ are multivariable functions.
I think the explicit form of $D(\phi,\mathbf{r})$ is
$$
D(\phi,\mathbf{r})=D(\phi(\mathbf{r},t),\mathbf{r})=D(\phi(x,y,z,t),x,y,z)
$$
But what does $D(\phi(x,y,z,t),x,y,z)$ mean, is it a function composition?</p>
<p>$\phi(\mathbf{r},t)$ is $\mathbb R^4 \rightarrow \mathbb R$, but what is $D$?</p>
| 0non-cybersec
| Stackexchange | 293 | 767 |
USB modem loses connection every 24 hours. <p>I have 3 Raspberries running each with its own USB hub and 4 USB modems, 2 of these run just fine but I am having issues with the third one.</p>
<p>For some reason, the modems lose connection after around 24 hours. They are losing their IP address in ifconfig.</p>
<p>Please note that this setup ran just fine for months but is only now giving me these issues. Also, note that the hubs are externally powered with more than enough juice.</p>
<p>this is ifconfig:
<a href="https://i.stack.imgur.com/cE9Sp.png" rel="nofollow noreferrer">Screenshot</a></p>
<p>this is dmesg:
<a href="https://i.stack.imgur.com/RWmlp.jpg" rel="nofollow noreferrer">Screenshot</a></p>
<p>I would love any advice,</p>
| 0non-cybersec
| Stackexchange | 238 | 746 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.