text
stringlengths
3
1.74M
label
class label
2 classes
source
stringclasses
3 values
Black screen after logged in. Xubuntu 12.10. <p>I had Xubuntu 12.10 running for a month or so without major problems. A few days ago after downgrad firefox from 29 to 28 by removing and reinstalling and upgrading system , the system blacked out and can't get into GUI ever again. The symptoms are:</p> <p>log in screen fine, after logged in, a black screen with a white cursor stopped in the middle the screen, unmovable, everything stucked here.</p> <p>I had tried to log in to tty1, and here I tried a few things:</p> <ol> <li><p>run <code>startx</code>, a small error window pops out saying "failed to load session "gnome"", and an button "log out", I clicked it and was brought back to tty1 seeing a lot of messages(*1)</p></li> <li><p>run <code>lspci | -i VGA</code>, it gives "00.02 0 VGA compatible ....Intel..integrated....." which is my integraded intel graphic card.</p></li> <li><p>run <code>sudo apt-get --purge remove nivdia*</code>, it gives 0 installed package to remove. so nothing to remove here.</p></li> <li><p>try to check file /etc/X11/xorg.conf, but no such file, instead there are several named a little bit different like xorg.conf.d*....</p></li> <li><p>I send a copy of /var/log/Xorg.0.log to my email and it is attached here <a href="http://paste.ubuntu.com/7403846/" rel="nofollow noreferrer">http://paste.ubuntu.com/7403846/</a></p></li> </ol>
0non-cybersec
Stackexchange
User can not access network printers with Windows 7 connected to Windows 2008 R2. <p>A single user on Windows 7 on a Windows Domain can not access/use/manipulate network printers shared from a server running Windows 2008 R2. The error that occurs is "0x00000005 Access is denied". Any other user I create in the system can access and print to said printers, even with identical group memberships. I expect that if I wipe out the user's local profile (it's not a roaming profile), it will remove the problem.</p> <p><strong>Is there anything specific that can be checked in the user's profile or Registry HKCU to discover the cause of the "access is denied" error?</strong></p> <p>Details:</p> <ul> <li>All printers shared from the Windows Server are failing with "0x00000005 Access is denied" when the user attempts to view the printer properties, view the print queue, or print to the printer.</li> <li>The problem <em>is</em> specific to the local user profile. This user on other computers does not fail and other users on this computer also do not fail.</li> <li>Killing the local user profile and starting it from scratch is completely off the table.</li> <li>Testing the Effective Permissions for this user shows that the user does have the "Print" and "Read Permissions" privileges on the affected printers.</li> </ul> <p>Edit: This user's computer ended up with a virus afterward and so we wiped and reinstalled the system. The problem didn't occur after the wipe.</p>
0non-cybersec
Stackexchange
Wisconsin DOT to allow teens to skip behind-the-wheel drivers test to address COVID-19 backlog.
0non-cybersec
Reddit
Dots at the end of file name?. <p>Silly question: If you rename a file, Say: <code>image.jpg</code> to <code>image.jpg..</code> it disappears. </p> <p>Is this the way Windows handles deletes or something?</p>
0non-cybersec
Stackexchange
Regex Find Spaces between single qoutes and replace with underscore. <p>I have a database table that I have exported. I need to replace the image file name with a space and would like to use notepad++ and regex to do so. I have:</p> <pre><code>'data/green tea powder.jpg' 'data/prod_img/lumina herbal shampoo.JPG' 'data/ALL GREEN HERBS.jpeg' 'data/prod_img/PSORIASIS KIT (640x530) (2).jpg' </code></pre> <p>and need to make them look like this:</p> <pre><code>'data/green_tea_powder.jpg' 'data/prod_img/lumina_herbal_shampoo.JPG' 'data/ALL_GREEN_HERBS.jpeg' 'data/prod_img/PSORIASIS_KIT_(640x530)_(2).jpg' </code></pre> <p>I just want to change the spaces between the quotes (I don't want to change the capitalization). To be more specific I would like to replace any and all spaces between 'data/ and ' because there are other spaces between quotes in the DB, for example:</p> <pre><code>'data/ REPLACE ANY SPACE HERE ' </code></pre> <p>I found this: </p> <pre><code>\s(?!(?:[^']*'[^']*')*[^']*$) </code></pre> <p>but there are other places where there are spaces between quotes so I'd like to search for <code>data/</code> in the beging and not just a single quote but I can't figure out how. I tried <code>\s(?!(?:[^'data\/]*'[^']*')*[^']*$)</code> but it didn't work and I am not familiar enough with regex to make it do so.</p> <p>An example of a full line from the database is:</p> <pre><code>(712, 'GRTE-P', '', 'data/green tea powder.jpg', '2014-03-12 22:52:03'), </code></pre> <p>I don't want to replace the spaces in the time and data stamp at the end of the line, just the image file names.</p> <p>Thanks in advance for your help!</p>
0non-cybersec
Stackexchange
Hardness of Subgraph isomorphism problem for sparse pattern graph. <p>Subgraph isomorphism problem is a well studied problem: given graphs $G$ and $H$, one needs to answer if $H$ contains $G$ as a subgraph. It was proven that this problem requires $|H|^{\theta(|G|)}$ time assuming <strong>ETH</strong>. The easiest way to see this is to consider $G$ to be a clique and recall that $k$-clique problem requires $n^{\theta(k)}$ under <strong>ETH</strong> [1].</p> <p>On the positive side, if $G$ is a path, a tree or a collection of small identical graphs we know how to solve Subgraph isomorphism in $f(|G|) |H|^{O(1)}$ time [2,3]. All these graphs are sparse, however I'm unaware of a general algorithm that runs in time $f(|G|) |H|^{O(1)}$, for all sparse graphs $G$. </p> <p>My question is: do we know any conditional lower bounds for Subgraph isomorphism for sparse pattern graphs?</p> <p>[1]<em>Chen, Jianer, et al. "Tight lower bounds for certain parameterized NP-hard problems." Information and Computation 201.2 (2005): 216-231.</em></p> <p>[2]<em>Koutis, Ioannis, and Ryan Williams. "Limits and applications of group algebras for parameterized problems." International Colloquium on Automata, Languages, and Programming. Springer Berlin Heidelberg, 2009.</em></p> <p>[3]<em>Fellows, Mike, et al. "Finding k disjoint triangles in an arbitrary graph." International Workshop on Graph-Theoretic Concepts in Computer Science. Springer Berlin Heidelberg, 2004.</em></p>
0non-cybersec
Stackexchange
Proper use of artifacts.require?. <p>I am trying to understand how <code>artifacts.require</code> should be used. I've seen the standard paragraph describing it as being for migrations and testing. From this I infer that the globally scoped <code>artifacts</code> with its method <code>require</code> are automatically defined by the truffle executable tool when doing migrations or running tests. However, I am working with some code that uses <code>artifacts.require</code> outside the context of any migrations or tests, rather, this code just needs to do the usual <code>at</code> and <code>new</code>. However, in this context, the object <code>artifacts</code> is not defined.</p> <p>Do I have the right picture here? Is this an appropriate use of <code>artifacts.require</code>? If so, what must be done to make it be defined outside of migrations and testing?</p> <p>Thanks for any suggestions!</p>
0non-cybersec
Stackexchange
Study in patience using dots and scribbling. Hope you like it.
0non-cybersec
Reddit
its a corgimop.
0non-cybersec
Reddit
MR this morning when my buddy tells me that I drunkenly told a very attractive girl mid conversation last night "Shut up, I need to shred some serious air guitar right now.".
0non-cybersec
Reddit
What is the difference between scipy.optimize&#39;s &#39;root&#39; and &#39;fixed_point&#39; methods. <p>There are two methods in scipy.optimize which are <code>root</code> and <code>fixed_point</code>.</p> <p>I am very surprised to find that <code>root</code> offers many methods, whereas <code>fixed_point</code> has just one. Mathematically the two are identical. They relate the following fixed points of <code>g(x)</code> with the roots of <code>f(x)</code>:</p> <p>[ g(x) = f(x) - x ]</p> <p>How do I determine which function to use?</p> <p>Also, none of the two methods allow me to specify the regions where the functions are defined. Is there a way to limit the range of <code>x</code>?</p>
0non-cybersec
Stackexchange
AMD Stars.
0non-cybersec
Reddit
Why is cross product not commutative?. <p>Why, conceptually, is the cross product not commutative? Obviously I could simply take a look at the formula for computing cross product from vector components to prove this, but I'm interested in why it makes logical sense for the resultant vector to be either going in the negative or positive direction depending on the order of the cross operation. I don't have any formal experience in linear algebra, so I would appreciate if an answer would take that into account (I'm merely learning vectors as part of a 3D game math education).</p>
0non-cybersec
Stackexchange
What is this bumper sticker? Sorry for the shit quality. It was a clock, the number 4, a wood block M, a peach, and a piece of candy that said “mint” on it..
0non-cybersec
Reddit
Vibratto - Lost (Original Mix) [EDM] (2017).
0non-cybersec
Reddit
How to clear all CUPS queues on startup of server?. <p>In our specific application, we need to clear all CUPS print queues of all jobs upon startup of the CUPS server. </p> <p>How can I achieve this? </p> <p>Raspbian 10, CUPS version 2.2.10</p> <p>What I already tried: 1. Add new startup script: /etc/init.d/clear-print-queue containing the following:</p> <pre><code>#!/bin/sh /usr/bin/cancel -a </code></pre> <p>Then chmod +x on this script, then update-rc.d clear-print-queue defaults</p> <p>On reboot the queues are not cleared. I assumed that maybe the script didn't work because CUPS wasn't yet started upon execution of this script, so I did the following instead:</p> <ol start="2"> <li><p>Modify the existing /etc/init.d/cups script and add the following line in the 'start' section, directly before the ;; line:</p> <p>/usr/bin/cancel -a</p></li> </ol> <p>Neither of these works: jobs that were in the queue before reboot are still there after.</p> <p>Any ideas how I can solve this?</p>
0non-cybersec
Stackexchange
Different partition after upgrade of OPENWRT. <p>I have just updated the firmware of my olinuxino rt5350f to the last release of chaos calmer 15.05.1 (<a href="https://openwrt.org/" rel="nofollow">website</a>, <a href="https://downloads.openwrt.org/chaos_calmer/15.05.1/ramips/rt305x/openwrt-15.05.1-ramips-rt305x-olinuxino-rt5350f-squashfs-sysupgrade.bin" rel="nofollow">image</a>).</p> <p>After having finished the installation via tftp I noticed that the free space is now just 232 KB, while it was 2 MB with the previous version. Is there any module or packet that has been added and that I can remove. Do you think I did something wrong? Is it possible to change the size of any partition? On the current version of chaos calmer 15.05.1 when I type <code>df -h</code> I obtain:</p> <pre><code>root@OpenWrt:~# df -h Filesystem Size Used Available Use% Mounted on rootfs 448.0K 216.0K 232.0K 48% / /dev/root 2.3M 2.3M 0 100% /rom tmpfs 14.2M 624.0K 13.6M 4% /tmp tmpfs 14.2M 48.0K 14.2M 0% /tmp/root tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock6 448.0K 216.0K 232.0K 48% /overlay overlayfs:/overlay 448.0K 216.0K 232.0K 48% / </code></pre> <p>On the previous version instead:</p> <pre><code>root@OpenWrt:/# df -h Filesystem Size Used Available Use% Mounted on rootfs 4.2M 2.1M 2.1M 50% / /dev/root 2.5M 2.5M 0 100% /rom tmpfs 14.3M 432.0K 13.8M 3% /tmp /dev/mtdblock6 4.2M 2.1M 2.1M 50% /overlay overlayfs:/overlay 4.2M 2.1M 2.1M 50% / tmpfs 512.0K 0 512.0K 0% /dev </code></pre>
0non-cybersec
Stackexchange
ELI5: Why do box fans make you go through high before you turn them off? The powers go 0 - 3 - 2 - 1, for example.. Every box fan I've seen, as well as some other fans, are made so that you must turn them higher before you can turn them lower. Why is this? Wouldn't it be more intuitive to have the powers in order, especially if it's controlled by a knob?
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Why does direct substitution work for limits?. <p>I see a lot of calculus texts stating direct substitution is a form of evaluation for a limit. Maybe I'm missing something because, to me, direct substitution only shows the value of a function $f(x,y)$ for a given value of $(x,y)$. Can we necessarily assume that the limit of the function around $(x,y)$ also converges to that value?</p> <p>Maybe I need to see a proof to understand if someone can point me in the right direction.</p>
0non-cybersec
Stackexchange
Is there a design pattern for this?. <p>I have a component that needs to call a specific service depending on the input it receives. So my component has to look at the input and based on a configuration that says "for this input call this service with this data" needs to call the proper service. The services have a common signature method and a specific one (each).</p> <p>I thought about an abstract class that includes the signatures for all three methods. The implementation for the two services will override all three methods (throwing <code>NotImplementedException</code> for the methods that are not supported by current service). A component that could be initialized with a map (that for each input type will have the type of the service to be called) will also be defined.</p> <p>Do you have a better approach to cope this scenario ?</p>
0non-cybersec
Stackexchange
birbs by potatosaladass.
0non-cybersec
Reddit
Azure VM DDOS attack via RDP. <p>Yesterday my VM on Azure was under a DOS attack. Symptom was I wasn't able to connect via RDP, unless the server was freshly rebooted, and only for a small fraction of time after the reboot. Once I successfully connected, with netstat I noticed that there were like 50 RDP connection trials from an IP address from Taiwan (people using the server are from Italy). Thus, I blocked that specific IP address in the Azure portal (incoming security rules) and my server was back on track.</p> <p>Question is: is Azure including a DDOS attack prevention system by default, isn't it? Are there any extra element I can configure in Azure to prevent those problems? Because at the moment, I only forbid one IP address (the one of yesterday's attacker).</p> <p>Thank you very much, Fabio</p>
1cybersec
Stackexchange
Emulating &quot;while IFS= read -r line&quot; in bash&#39;s C-style for loop. <p>A little context for the question first. The <code>while IFS= read -r line; do ... done &lt; input.txt</code> is a well-known structure for <a href="http://mywiki.wooledge.org/BashFAQ/001" rel="noreferrer">reading a file line-by-line</a> in shell scripting. But having been using c-style for loop ( in case some of the users here don't know, it is the <code>for((i=0;i&lt;=$val;i++))do;...done</code> type used in <code>bash</code> and <code>ksh</code>), I recalled that while and for loops in C-like languages are interchangeable, and can emulate one another. So I came up with c-style loop that emulates the <code>while IFS= read -r line</code> structure mentioned above.</p> <pre><code>for((i=1;;i++)) do IFS= read -r line || break # do something with line here done &lt; input.txt </code></pre> <p>I've tested it with multiple types of input - normal lines, lines with leading tabs/spaces, lines that don't end in <code>\n</code> (which is the case where <code>read</code> can't catch the last line) - and in all cases this works exactly the same as the <code>while</code> loop approach. This also technically has a "built-in" line counter with <code>i</code> variable.</p> <p>So, the question is this: is there any reason (besides non-portability to other shells aside from <code>ksh</code> and <code>bash</code> ) to avoid using this approach ? Are there cases where this might fail ? While this works well, I want to know if there's any issues I've overlooked before starting to use this approach actively in my own scripts. </p>
0non-cybersec
Stackexchange
Aadya the Half-Orc Fighter Reporting for Duty [OC] [Art].
0non-cybersec
Reddit
Gumball dispenser.
0non-cybersec
Reddit
There are m, n and r points in 3 parallel (different lines). How many triangles can be formed by those points?. <p>There are m, n and r points in 3 parallel (different lines). Supposing that when taking one point from each line they're never aligned. How many triangles can be formed by those points?</p>
0non-cybersec
Stackexchange
[US] Memento (2000) 2hrs: Leonard (Guy Pearce) struggles to overcome his strange and severe memory loss to track down the man that raped and murdered his wife. Leaves Netflix March 1st, watch it while you can! 8.5 on IMDb..
0non-cybersec
Reddit
Entire Senior Class Denied their Diplomas for throwing their Graduation Caps in the Air.
0non-cybersec
Reddit
3 balls are distributed to 3 boxes at random. Number of way in which we set at most 1 box empty is:. <p>3 balls are distributed to 3 boxes at random. Number of way in which we set at most 1 box empty is:</p> <p><strong>My approach:-</strong> let no of box = <span class="math-container">$n$</span> &amp; no of balls = <span class="math-container">$k$</span></p> <p>and both are distinct.</p> <p>Now required way ,</p> <p>zero box empty + 1 box empty</p> <p><span class="math-container">$\implies n_{\mathrm{P }_{k}} + S(k,n) * n!$</span></p> <p><span class="math-container">$\implies 3_{\mathrm{P }_{3}} + S(3,2)*2$</span></p> <p><span class="math-container">$\implies 3! + 6 = 12$</span></p> <p>where, <span class="math-container">$\mathbf{S}(\mathbf{k}, \mathbf{n}):-$</span> Stirling number of the second kind can be defined as <span class="math-container">$\mathrm{S}(\mathrm{k}, \mathrm{n})=\frac{1}{n !} \sum_{i=0}^{n-1}(-1)^{i} n_{C_{i}}(n-i)^{k}$</span></p> <p><span class="math-container">$=\frac{1}{n !}\left[n_{C_{0}}(n-0)^{k}-n_{C_{1}}(n-1)^{k}+n_{C_{2}}(n-2)^{k}+\cdots+(-1)^{n-1} n_{C_{n-1}}(1)^{k}\right]$</span></p> <p><strong>Edit <span class="math-container">$1$</span></strong> I think first I have to choose the empty box doing <span class="math-container">$\binom{3}{1}$</span>,then it becomes 3 balls into 2 boxes. So accordingly I can use the above mentioned process.(i.e <span class="math-container">$S(2,3)*3*2!$</span>. that will lead me to <span class="math-container">$24$</span> .)But here one doubt arises in my mind! I am considering the case one box may contain atleast 1 ball it can go max to 3 balls also.But If I take 3 balls in a box another box will also remain empty ,so it becomes two boxes empty which is invalid.</p> <p>But answer given is <span class="math-container">$24$</span>. <strong>In which step AM I wrong?</strong></p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
How can I reset the Windows 8.1 hints and tips?. <p>I was setting up a new PC for an older person who is not comfortable using computers, and Windows wasted the popup hints on me about what the corners do.</p> <p>There's a good deal of information in the Help+Tips app that has the same demonstrations but the presentation may be a little too abstract for him.</p> <p>I think it would really help if I could reset these tips. Is this possible?</p>
0non-cybersec
Stackexchange
Shadow of the Colossus External Hard Drive- made by me! (album).
0non-cybersec
Reddit
This rock.
0non-cybersec
Reddit
Infinitisemal generator of a semigroup with parameter. <p>When we talk about evolution equation the first idea who comes to the mind is the semigroups theory, this theory deals with the Cuachy problems of the form $$\frac{{\partial u}}{{\partial t}} = Au$$ where $A$ is an operator acts ob Banach spaces to another. My question is : is there any theory which deals with the evolution problems of the form $$\frac{{\partial u}}{{\partial t}} = A(t)u$$ this time $A$ depends on $t$ ? thank you.</p>
0non-cybersec
Stackexchange
Drawing commission i made, i hope you like it!.
0non-cybersec
Reddit
Researchers have developed a handheld 3D skin printer that deposits even layers of skin tissue to cover and heal deep wounds. The team believes it to be the first device that forms tissue in situ, depositing and setting in place, within two minutes or less..
0non-cybersec
Reddit
[WP] He grew up in the shadow of his older twin sisters' scientific accomplishments. His love for adventure died along with his best friend years ago. He now drifts from town to town, making ends meed with odd jobs This is the life of a man named Johnny Test.. Got his with a massive nostalgia wave recently, and this was part of it.
0non-cybersec
Reddit
How can I solve Exception in thread &quot;main&quot; java.lang.NullPointerException error. <p>I am having a problem at a Java program. Exception in thread "main"</p> <pre><code>java.lang.NullPointerException at twoten.TwoTenB.&lt;init&gt;(TwoTenB.java:29) at javapractice.JavaPractice.main(JavaPractice.java:32) Java Result: 1 </code></pre> <p>is the error that I'm getting. I could really use some help, since i am stuck hours on this spot...</p> <pre><code>package twoten; import java.util.Scanner; public class TwoTenB { public TwoTenB() { double percentage; double a[] = null; double total = 0; double var; System.out.print("\tRESULT\n\n"); Scanner scan = new Scanner(System.in); //double[] mark = new double[7]; for (int i = 0; i &lt; 7; i++) { System.out.print("\nMarks in subject " + (i + 1) + "\t:\t"); var = scan.nextDouble(); a[i] = var; total = total + a[i]; //percentage = first * second * third * fourth * fifth * sixth * seventh * 100 / 700; } percentage = total * 100 / 700; if (a[0] &gt; 35 &amp;&amp; a[1] &gt; 35 &amp;&amp; a[2] &gt; 35 &amp;&amp; a[3] &gt; 35 &amp;&amp; a[4] &gt; 35 &amp;&amp; a[5] &gt; 35 &amp;&amp; a[6] &gt; 35 &amp;&amp; percentage &gt; 35) { if (percentage &gt;= 60) { System.out.print("\nCongratulation!!! you've got FIRST dividion\n"); } else if (percentage &gt;= 45 &amp;&amp; percentage &lt; 60) { System.out.print("\nCongratulation!!! you've got SECOND dividion\n"); } else if (percentage &gt;= 35 &amp;&amp; percentage &lt; 45) { System.out.print("\nCongratulation!!! you've got THIRD dividion\n"); } } else { System.out.print("\nSORRY!!! you've FAILED\n"); } } } </code></pre>
0non-cybersec
Stackexchange
My favourite Limmy sketch - Runners.
0non-cybersec
Reddit
My very first tattoo, a Dragon's Eye, by Stanimir Georgiev at S.G.Tattoo in Troyan, Bulgaria..
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Chemical reactions. [GIF].
0non-cybersec
Reddit
Lebron James lookaway pass to Ray Allen.
0non-cybersec
Reddit
CSIP aims to modernize U.S. government cybersecurity.
1cybersec
Reddit
partyrule nr1: dont be the host.
0non-cybersec
Reddit
Oracle's request for fair use ruling denied, Google down to one count of infringement.
0non-cybersec
Reddit
How to allow a Windows Client to follow a Remote Symbolic Link Transparently. <p>Here's the scenario.</p> <ul> <li>Client - Windows 7 workstation </li> <li>ServerA - Windows 2008 file server</li> <li>ServerB - Windows 2008 file server</li> </ul> <p>On ServerA:</p> <pre><code>mklink /D c:\Share\Link \\ServerB\Share\Dest </code></pre> <p>That works great. It's what happens on the client that's of interest.</p> <p><strong>What I want to happen on the client</strong> as you drill down into the folders:</p> <pre><code>\\ServerA\Share \\ServerA\Share\Link \\ServerA\Share\Link\Folder1... etc </code></pre> <p>I.e. seamless access across the link, and the user doesn't even have to know we've linked to somewhere else.</p> <p><strong>What actually happens</strong> is:</p> <pre><code>\\ServerA\Share \\ServerA\Share\Link </code></pre> <p>When you drill into Link, the path switches! The link is literally followed to ServerB.</p> <pre><code>\\ServerB\Share\Dest \\ServerB\Share\Dest\Folder1... etc. </code></pre> <p>Is there anything that can be done to allow the client to follow the link seamlessly / transparently?</p> <p>Note: even though drilling down causes the path to switch to ServerB, typing in a full path using ServerA works perfectly across the link.</p> <pre><code>\\ServerA\Share\Link\Folder1 </code></pre> <p>Note: this does not happen with links made using /J, but since I need to link to another server (Remote to Remote), I don't have the luxury of using /J</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Snow Time-lapse.
0non-cybersec
Reddit
Monopoly.
0non-cybersec
Reddit
What&#39;s the most popular Namecoin exchange?. <p>There are several Namecoin <a href="http://dot-bit.org/Trade">exchanges listed at official wiki</a> and <a href="https://exchange.bitparking.com/main/">Bitparking</a> seems to be the oldest, but which one is the most used?</p>
0non-cybersec
Stackexchange
Ralink RT3290 Wireless Network hardware blocked. <p>Here is my problem:<br> I have a double boot Windows 10 / Ubuntu 18.04 on my laptop, which is an Asus R409L. When running on Win10, I do not have any wireless network issues. But when running on Ubuntu, the connection with the Ralink RT3290 network controller is sometimes fine, but generally fails.</p> <p>These connection issues began approximately on 12/28/2019 and everything was fine for more than a year before. When down, wireless connection can sometimes randomly come back for a few minutes before dying again. There is no physical switch on the computer, only a keyboard shortcut that does not change situation when connection is down.</p> <p>From the articles/forums I found on similar topics, I tried some commands to get more information on the issue (when connection is down):</p> <pre><code> $ rfkill list 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes ############################### $ iw dev | grep Interface Interface wlp3s0f0 ############################### $ sudo ifconfig wlp3s0f0 up SIOCSIFFLAGS: Operation not possible due to RF-kill ############################### $ iwconfig enp2s0 no wireless extensions. wlp3s0f0 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=off Retry short long limit:2 RTS thr:off Fragment thr:off Power Management:off lo no wireless extensions. ############################### $ ifconfig enp2s0: flags=4099&lt;UP,BROADCAST,MULTICAST&gt; mtu 1500 ether &lt;...&gt; txqueuelen 1000 (Ethernet) RX packets 1303 bytes 1628255 (1.6 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 518 bytes 64881 (64.8 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 18 lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt; mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10&lt;host&gt; loop txqueuelen 1000 (Local Loopback) RX packets 268 bytes 20683 (20.6 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 268 bytes 20683 (20.6 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ############################### $ lspci -nn | grep -i net 02:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8171 Gigabit Ethernet [1969:10a1] (rev 10) 03:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290] </code></pre> <p>Moreover, I found a message that seems to systematically appear when running <code>dmesg</code> just after the wireless connection dies (see attached image):<a href="https://i.stack.imgur.com/1hR0O.png" rel="nofollow noreferrer">deauthenticating from...by local choice</a></p> <p>But I cannot figure out what to do whith this. I spent hours reading answers linked to RT3290 issues, but most of them seemed outdated. Does someone have an idea for a possible solution ? Or maybe a link to a forum that I missed ?</p> <p>Found <a href="https://askubuntu.com/questions/425155/my-wireless-wifi-connection-does-not-work-what-information-is-needed-to-diagnos/425205#425205">this</a> juste before posting, so that you can get all the wireless info:</p> <pre><code>########## wireless info START ########## Report from: 09 Jan 2020 17:55 CET +0100 Booted last: 09 Jan 2020 00:00 CET +0100 Script from: 22 Oct 2018 03:34 UTC +0000 ##### release ########################### Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic ##### kernel ############################ Linux 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux Parameters: ro, quiet, splash, vt.handoff=1 ##### desktop ########################### Ubuntu ##### lspci ############################# 02:00.0 Ethernet controller [0200]: Qualcomm Atheros QCA8171 Gigabit Ethernet [1969:10a1] (rev 10) Subsystem: ASUSTeK Computer Inc. QCA8171 Gigabit Ethernet [1043:200f] Kernel driver in use: alx 03:00.0 Network controller [0280]: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe [1814:3290] Subsystem: Foxconn International, Inc. RT3290 Wireless 802.11n 1T/1R PCIe [105b:e055] Kernel driver in use: rt2800pci ##### lsusb ############################# Bus 001 Device 003: ID 046d:c52f Logitech, Inc. Unifying Receiver Bus 001 Device 002: ID 8087:8000 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 002: ID 0bda:57b4 Realtek Semiconductor Corp. Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ##### PCMCIA card info ################## ##### rfkill ############################ 0: phy0: Wireless LAN Soft blocked: no Hard blocked: yes ##### secure boot ####################### SecureBoot disabled ##### lsmod ############################# rt2800pci 16384 0 rt2800mmio 16384 1 rt2800pci rt2800lib 118784 2 rt2800mmio,rt2800pci rt2x00pci 16384 1 rt2800pci rt2x00mmio 16384 2 rt2800mmio,rt2800pci asus_nb_wmi 28672 0 rt2x00lib 57344 5 rt2x00mmio,rt2x00pci,rt2800mmio,rt2800pci,rt2800lib asus_wmi 28672 1 asus_nb_wmi sparse_keymap 16384 1 asus_wmi mac80211 819200 3 rt2x00pci,rt2x00lib,rt2800lib mxm_wmi 16384 1 nouveau cfg80211 679936 2 rt2x00lib,mac80211 eeprom_93cx6 16384 1 rt2800pci wmi 28672 3 asus_wmi,mxm_wmi,nouveau video 49152 3 asus_wmi,i915,nouveau ##### interfaces ######################## [/etc/network/interfaces] auto lo iface lo inet loopback ##### ifconfig ########################## 1: lo: &lt;LOOPBACK,UP,LOWER_UP&gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback &lt;MAC address&gt; brd &lt;MAC address&gt; 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: &lt;NO-CARRIER,BROADCAST,MULTICAST,UP&gt; mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether &lt;MAC 'enp2s0' [IF1]&gt; brd &lt;MAC address&gt; 3: wlp3s0f0: &lt;BROADCAST,MULTICAST&gt; mtu 1500 qdisc mq state DOWN group default qlen 1000 link/ether &lt;MAC 'wlp3s0f0' [IF2]&gt; brd &lt;MAC address&gt; ##### iwconfig ########################## enp2s0 no wireless extensions. lo no wireless extensions. wlp3s0f0 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=off Retry short long limit:2 RTS thr:off Fragment thr:off Power Management:off ##### route ############################# ##### resolv.conf ####################### [777 root '/etc/resolv.conf' -&gt; '../run/systemd/resolve/stub-resolv.conf'] nameserver 127.0.0.53 options edns0 ##### network managers ################## Installed: NetworkManager Running: root 813 1 0 16:56 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon ##### NetworkManager info ############### GENERAL.DEVICE: enp2s0 GENERAL.TYPE: ethernet GENERAL.NM-TYPE: NMDeviceEthernet GENERAL.VENDOR: Qualcomm Atheros GENERAL.PRODUCT: QCA8171 Gigabit Ethernet GENERAL.DRIVER: alx GENERAL.DRIVER-VERSION: -- GENERAL.FIRMWARE-VERSION: -- GENERAL.HWADDR: &lt;MAC 'enp2s0' [IF1]&gt; GENERAL.MTU: 1500 GENERAL.STATE: 20 (unavailable) GENERAL.REASON: 40 (Carrier/link changed) GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.2/0000:02:00.0/net/enp2s0 GENERAL.IP-IFACE: -- GENERAL.IS-SOFTWARE: no GENERAL.NM-MANAGED: yes GENERAL.AUTOCONNECT: yes GENERAL.FIRMWARE-MISSING: no GENERAL.NM-PLUGIN-MISSING: no GENERAL.PHYS-PORT-ID: -- GENERAL.CONNECTION: -- GENERAL.CON-UUID: -- GENERAL.CON-PATH: -- GENERAL.METERED: unknown CAPABILITIES.CARRIER-DETECT: yes CAPABILITIES.SPEED: 1000 Mb/s CAPABILITIES.IS-SOFTWARE: no CAPABILITIES.SRIOV: no WIRED-PROPERTIES.CARRIER: off CONNECTIONS.AVAILABLE-CONNECTION-PATHS: -- GENERAL.DEVICE: wlp3s0f0 GENERAL.TYPE: wifi GENERAL.NM-TYPE: NMDeviceWifi GENERAL.VENDOR: Ralink corp. GENERAL.PRODUCT: RT3290 Wireless 802.11n 1T/1R PCIe GENERAL.DRIVER: rt2800pci GENERAL.DRIVER-VERSION: 5.0.0-37-generic GENERAL.FIRMWARE-VERSION: N/A GENERAL.HWADDR: &lt;MAC 'wlp3s0f0' [IF2]&gt; GENERAL.MTU: 1500 GENERAL.STATE: 20 (unavailable) GENERAL.REASON: 0 (No reason given) GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.3/0000:03:00.0/net/wlp3s0f0 GENERAL.IP-IFACE: -- GENERAL.IS-SOFTWARE: no GENERAL.NM-MANAGED: yes GENERAL.AUTOCONNECT: yes GENERAL.FIRMWARE-MISSING: no GENERAL.NM-PLUGIN-MISSING: no GENERAL.PHYS-PORT-ID: -- GENERAL.CONNECTION: -- GENERAL.CON-UUID: -- GENERAL.CON-PATH: -- GENERAL.METERED: unknown CAPABILITIES.CARRIER-DETECT: no CAPABILITIES.SPEED: unknown CAPABILITIES.IS-SOFTWARE: no CAPABILITIES.SRIOV: no WIFI-PROPERTIES.WEP: yes WIFI-PROPERTIES.WPA: yes WIFI-PROPERTIES.WPA2: yes WIFI-PROPERTIES.TKIP: yes WIFI-PROPERTIES.CCMP: yes WIFI-PROPERTIES.AP: yes WIFI-PROPERTIES.ADHOC: yes WIFI-PROPERTIES.2GHZ: yes WIFI-PROPERTIES.5GHZ: no CONNECTIONS.AVAILABLE-CONNECTION-PATHS: -- SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE IN-USE ##### NetworkManager.state ############## [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ##### NetworkManager config ############# [[/etc/NetworkManager/conf.d/default-wifi-powersave-on.conf]] [connection] wifi.powersave = 3 [[/etc/NetworkManager/NetworkManager.conf]] [main] plugins=ifupdown,keyfile [ifupdown] managed=false [device] wifi.scan-rand-mac-address=no [[/usr/lib/NetworkManager/conf.d/10-dns-resolved.conf]] [main] dns=systemd-resolved [[/usr/lib/NetworkManager/conf.d/10-globally-managed-devices.conf]] [keyfile] unmanaged-devices=*,except:type:wifi,except:type:wwan [[/usr/lib/NetworkManager/conf.d/20-connectivity-ubuntu.conf]] [connectivity] uri=http://connectivity-check.ubuntu.com/ [[/usr/lib/NetworkManager/conf.d/no-mac-addr-change.conf]] [device-mac-addr-change-wifi] match-device=driver:rtl8723bs,driver:rtl8189es,driver:r8188eu,driver:8188eu,driver:eagle_sdio,driver:wl wifi.scan-rand-mac-address=no wifi.cloned-mac-address=preserve ethernet.cloned-mac-address=preserve ##### NetworkManager profiles ########### ##### Netplan config #################### [/etc/netplan/01-network-manager-all.yaml] network: version: 2 renderer: NetworkManager ##### iw reg get ######################## Region: Europe/Paris (based on set time zone) global country 00: DFS-UNSET (2402 - 2472 @ 40), (N/A, 20), (N/A) (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN (57240 - 63720 @ 2160), (N/A, 0), (N/A) ##### iwlist channels ################### enp2s0 no frequency information. lo no frequency information. wlp3s0f0 14 channels in total; available frequencies : Channel 01 : 2.412 GHz Channel 02 : 2.417 GHz Channel 03 : 2.422 GHz Channel 04 : 2.427 GHz Channel 05 : 2.432 GHz Channel 06 : 2.437 GHz Channel 07 : 2.442 GHz Channel 08 : 2.447 GHz Channel 09 : 2.452 GHz Channel 10 : 2.457 GHz Channel 11 : 2.462 GHz Channel 12 : 2.467 GHz Channel 13 : 2.472 GHz Channel 14 : 2.484 GHz ##### iwlist scan ####################### enp2s0 Interface doesn't support scanning. wlp3s0f0 Interface doesn't support scanning : Network is down lo Interface doesn't support scanning. ##### module infos ###################### [rt2800pci] filename: /lib/modules/5.0.0-37-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800pci.ko license: GPL firmware: rt2860.bin description: Ralink RT2800 PCI &amp; PCMCIA Wireless LAN driver. version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: E7616298EEB7610CA2A53AF depends: rt2x00lib,rt2800lib,rt2800mmio,rt2x00mmio,rt2x00pci,eeprom_93cx6 retpoline: Y intree: Y name: rt2800pci vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: nohwcrypt:Disable hardware encryption. (bool) [rt2800mmio] filename: /lib/modules/5.0.0-37-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800mmio.ko license: GPL description: rt2800 MMIO library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: 5E33FBFA772586ADF95C254 depends: rt2x00mmio,rt2800lib,rt2x00lib retpoline: Y intree: Y name: rt2800mmio vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 [rt2800lib] filename: /lib/modules/5.0.0-37-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2800lib.ko license: GPL description: Ralink RT2800 library version: 2.3.0 author: http://rt2x00.serialmonkey.com, Bartlomiej Zolnierkiewicz srcversion: 9364B788841E900CA63C689 depends: rt2x00lib,mac80211 retpoline: Y intree: Y name: rt2800lib vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 [rt2x00pci] filename: /lib/modules/5.0.0-37-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00pci.ko license: GPL description: rt2x00 pci library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: 68B02F6EB81371BAD3D9D3B depends: rt2x00lib,mac80211 retpoline: Y intree: Y name: rt2x00pci vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 [rt2x00mmio] filename: /lib/modules/5.0.0-37-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00mmio.ko license: GPL description: rt2x00 mmio library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: DC4897609AC19F1B8E29958 depends: rt2x00lib retpoline: Y intree: Y name: rt2x00mmio vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 [rt2x00lib] filename: /lib/modules/5.0.0-37-generic/kernel/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko license: GPL description: rt2x00 library version: 2.3.0 author: http://rt2x00.serialmonkey.com srcversion: F890B6F5A2497A4BBB19563 depends: mac80211,cfg80211 retpoline: Y intree: Y name: rt2x00lib vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 [mac80211] filename: /lib/modules/5.0.0-37-generic/kernel/net/mac80211/mac80211.ko license: GPL description: IEEE 802.11 subsystem srcversion: 0CDD28A506BDDDE9444E85C depends: cfg80211 retpoline: Y intree: Y name: mac80211 vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: minstrel_vht_only:Use only VHT rates when VHT is supported by sta. (bool) parm: max_nullfunc_tries:Maximum nullfunc tx tries before disconnecting (reason 4). (int) parm: max_probe_tries:Maximum probe tries before disconnecting (reason 4). (int) parm: beacon_loss_count:Number of beacon intervals before we decide beacon was lost. (int) parm: probe_wait_ms:Maximum time(ms) to wait for probe response before disconnecting (reason 4). (int) parm: ieee80211_default_rc_algo:Default rate control algorithm for mac80211 to use (charp) [cfg80211] filename: /lib/modules/5.0.0-37-generic/kernel/net/wireless/cfg80211.ko description: wireless configuration support license: GPL author: Johannes Berg srcversion: DCECEA5B6FF7EF332DBC1F5 depends: retpoline: Y intree: Y name: cfg80211 vermagic: 5.0.0-37-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int) parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp) parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool) ##### module parameters ################# [rt2800pci] nohwcrypt: N [mac80211] beacon_loss_count: 7 ieee80211_default_rc_algo: minstrel_ht max_nullfunc_tries: 2 max_probe_tries: 5 minstrel_vht_only: Y probe_wait_ms: 500 [cfg80211] bss_entries_limit: 1000 cfg80211_disable_40mhz_24ghz: N ieee80211_regdom: 00 ##### /etc/modules ###################### ##### modprobe options ################## [/etc/modprobe.d/amd64-microcode-blacklist.conf] blacklist microcode [/etc/modprobe.d/blacklist-ath_pci.conf] blacklist ath_pci [/etc/modprobe.d/blacklist.conf] blacklist evbug blacklist usbmouse blacklist usbkbd blacklist eepro100 blacklist de4x5 blacklist eth1394 blacklist snd_intel8x0m blacklist snd_aw2 blacklist i2c_i801 blacklist prism54 blacklist bcm43xx blacklist garmin_gps blacklist asus_acpi blacklist snd_pcsp blacklist pcspkr blacklist amd76x_edac [/etc/modprobe.d/blacklist-rare-network.conf] alias net-pf-3 off alias net-pf-6 off alias net-pf-9 off alias net-pf-11 off alias net-pf-12 off alias net-pf-19 off alias net-pf-21 off alias net-pf-36 off [/etc/modprobe.d/intel-microcode-blacklist.conf] blacklist microcode [/etc/modprobe.d/iwlwifi.conf] remove iwlwifi \ (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \ &amp;&amp; /sbin/modprobe -r mac80211 ##### rc.local ########################## grep: /etc/rc.local: No such file or directory ##### pm-utils ########################## ##### udev rules ######################## ##### dmesg ############################# [ 3.371148] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 3290 detected [ 3.916170] rt2800pci 0000:03:00.0 wlp3s0f0: renamed from wlan0 [ 5.127698] alx 0000:02:00.0 enp2s0: NIC Up: 1 Gbps Full [ 5.127909] IPv6: ADDRCONF(NETDEV_CHANGE): enp2s0: link becomes ready [ 304.523954] alx 0000:02:00.0 enp2s0: Link Down [ 452.270632] alx 0000:02:00.0 enp2s0: NIC Up: 1 Gbps Full [ 452.490323] alx 0000:02:00.0 enp2s0: Link Down [ 455.186291] alx 0000:02:00.0 enp2s0: NIC Up: 1 Gbps Full [ 917.040019] alx 0000:02:00.0 enp2s0: Link Down [ 933.098071] alx 0000:02:00.0 enp2s0: NIC Up: 100 Mbps Full [ 933.120444] alx 0000:02:00.0 enp2s0: Link Down [ 945.212377] alx 0000:02:00.0 enp2s0: NIC Up: 100 Mbps Full [ 945.236322] alx 0000:02:00.0 enp2s0: Link Down [ 957.301466] alx 0000:02:00.0 enp2s0: NIC Up: 100 Mbps Full [ 957.324484] alx 0000:02:00.0 enp2s0: Link Down [ 963.181504] alx 0000:02:00.0 enp2s0: NIC Up: 1 Gbps Full [ 2335.845034] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin' [ 2335.848660] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.37 [ 3541.122659] alx 0000:02:00.0 enp2s0: Link Down ########## wireless info END ############ </code></pre> <p>Thank you in advance.</p>
0non-cybersec
Stackexchange
Thought this belonged here..
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
What is the difference &#39;&lt;Toolbar /&gt;&#39; and &#39;{ Toolbar() }&#39; in react render?. <p>I found useContext(ThemeContext)'s value is not update when use '{ Toolbar() }' in render.</p> <p>What is the difference '' and '{ Toolbar() }' in react render or diff?</p> <pre><code>import React, { useContext, useState } from "react"; import "./styles.css"; const themes = { light: { name: "light", foreground: "black", background: "white" }, dark: { name: "dark", foreground: "white", background: "black" } }; const ThemeContext = React.createContext(null); const Toolbar = props =&gt; { const theme = useContext(ThemeContext) || {}; console.log(`Toolbar theme`, theme); return ( &lt;div style={{ height: 60, backgroundColor: theme.background, color: theme.foreground }} &gt; &lt;div&gt;{theme.name}&lt;/div&gt; &lt;/div&gt; ); }; export default function App() { const [currentTheme, setCurrentTheme] = useState(themes.light); const toggleTheme = theme =&gt; { setCurrentTheme(theme); }; console.log(`currentTheme`, currentTheme); return ( &lt;div className="App"&gt; &lt;ThemeContext.Provider value={currentTheme}&gt; &lt;div&gt; &lt;button onClick={() =&gt; toggleTheme(themes.light)}&gt;light&lt;/button&gt; &lt;button onClick={() =&gt; toggleTheme(themes.dark)}&gt;dark&lt;/button&gt; &lt;/div&gt; {/* Toolbar() */} {/* {Toolbar()} */} &lt;Toolbar /&gt; &lt;/ThemeContext.Provider&gt; &lt;/div&gt; ); } </code></pre>
0non-cybersec
Stackexchange
Iphone 7 Calls and facetime only work when connected to Bluetooth speaker. For some reason my wife's iphone 7 will not allow her to make calls or facetime unless it's connected to a Bluetooth. Both will say failed when tried with just the phone. Microphone and speakers all work perfectly fine doing anything else so I'm not sure what could be causing this. I have completely reset phone twice and still doing it. Any thought?
0non-cybersec
Reddit
goodboye clasification.
0non-cybersec
Reddit
Need help identifying a -possibly- encrypted string. <p>I'm having some trouble building an app that gets data from a database to keep a log of files added to a website.</p> <p>Most URLs are generated from a file ID and a time stamp, some of those URLs are missing in the database but they're quite easy to regenerate. There's another type of generated URL that includes a string that I can't figure out. I'd like to know if it is possible to generate them too.</p> <p>These URLs look quite like this:</p> <pre><code>http://www.mysite.com/files/a9780ed25285890789147440840/file.ext http://www.mysite.com/files/a9789f9b5285890789147441956/file.ext http://www.mysite.com/files/8b9b5d1f5285890789167885136/file.ext http://www.mysite.com/files/a97906135285890789147442083/file.ext http://www.mysite.com/files/a9790e735285890789147442272/file.ext http://www.mysite.com/files/a9791a905285890789147442521/file.ext http://www.mysite.com/files/8b9bedfd5285890789167886250/file.ext http://www.mysite.com/files/a97aaf595285890789147445176/file.ext http://www.mysite.com/files/a97ab7fc5285890789147445386/file.ext http://www.mysite.com/files/8b9d17895285890789167888638/file.ext http://www.mysite.com/files/a97ac03a5285890789147445564/file.ext http://www.mysite.com/files/a97acd635285890789147445897/file.ext </code></pre> <p>As you can see, it looks like hexadecimal for the first 8 characters, the middle section looks very similar, but I can't recognize a pattern here. I would like to point out that the dates are stored as epoch numerals, though the easy links have readable dates. </p> <p>I'd appreciate any kind of information that could help me start figuring out this pattern.</p> <p>Thanks!</p>
1cybersec
Stackexchange
[Season 5 Episode 8] What went through my head after watching the final scene.
0non-cybersec
Reddit
Outlook 2010 compatibility with Exchange Online. <p>Exchange 2019 on premise requires Outlook 2013 and newer: <a href="https://docs.microsoft.com/en-us/exchange/plan-and-deploy/supportability-matrix?view=exchserver-2019" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/exchange/plan-and-deploy/supportability-matrix?view=exchserver-2019</a></p> <p>Will Office365 Exchange Online work with Outlook 2010 SP2 until end of extended support end date of Oct 13, 2020?</p>
0non-cybersec
Stackexchange
ICANN targeted in spear phishing attack, global DNS root zone system compromised.
1cybersec
Reddit
How to install MSYS so that it recognizes non-MSYS binaries?. <p>I have noticed that my MSYS bash doesn't &quot;know&quot; about the environment variables defined on my system. This means that if the folder <code>C:\MyStuff\bin\</code> is in my path, and that folder contains <code>mycommand.exe</code>, then running <code>mycommand</code> in the MSYS terminal will return an error indicating that it could not be found.</p> <p>How do I cleanly &quot;integrate&quot; MSYS with the rest of my system? Is that something to be avoided?</p>
0non-cybersec
Stackexchange
An Ideal Related to a Polynomial Ring: Theorem 3.4 of Chapter XXI of Lang&#39;s &quot;Algebra&quot; (Revised Third Edition). <p>Let <span class="math-container">$n\in\mathbb N$</span>. Let <span class="math-container">$x$</span> and <span class="math-container">$y$</span> be distinct indeterminates. Let <span class="math-container">$R$</span> be an integral domain. Let <span class="math-container">$\big(f_1(x),\dots,f_n(x)\big)\in R[x]^n$</span> be such that the ideal in <span class="math-container">$R[x]$</span> generated by <span class="math-container">$f_1(x),\dots,f_n(x)$</span> is <span class="math-container">$R[x]$</span>. Also assume that <span class="math-container">$f_i(x)$</span> is monic for some <span class="math-container">$i\in\{1,\dots,n\}$</span>.</p> <p>If <span class="math-container">$g_1(x,y),\dots,g_n(x,y),h_1(x,y),\dots,h_n(x,y)\in R[x,y]$</span> and there exists an invertible <span class="math-container">$n\times n$</span> matrix <span class="math-container">$M$</span> with entries in <span class="math-container">$R[x,y]$</span> such that</p> <p><span class="math-container">$\begin{gather} \begin{bmatrix} g_1\\ \dots \\ g_n \end{bmatrix} = M \begin{bmatrix} h_1\\ \dots \\ h_n \end{bmatrix} \end{gather}$</span></p> <p>then we write <span class="math-container">$(g_1,\dots,g_n)\sim(h_1,\dots,h_n)$</span>.</p> <p>Let <span class="math-container">$J$</span> be the set <span class="math-container">$\{c\in R\mid \big(f_1(x+cy),\dots,f_n(x+cy)\big)\sim \big(f_1(x),\dots,f_n(x)\big)\}$</span>. Prove that if <span class="math-container">$c,d\in J$</span>, then <span class="math-container">$c+d\in J$</span>. Lang says this can be proven &quot;easily.&quot;</p>
0non-cybersec
Stackexchange
A U.S. Army nurse carries her gear prior to boarding a plane for transport after being liberated from a Japanese internment camp. She had been a POW for three years. Manila, National Capital Region, Luzon, Philippines. February 1945 [1163x1491].
0non-cybersec
Reddit
Haley Used Unsecured Emails for Classified Info Because She Lost Her Password.
0non-cybersec
Reddit
Crazy cat just makes it.
0non-cybersec
Reddit
GCC 4.7.2 requires ppl?. <p>I'm trying to configure GCC 4.7.2, but it's failing with <code>configure: error: Unable to find a usable PPL</code></p> <p>I've looked in <a href="http://gcc.gnu.org/install/prerequisites.html">GCC prerequisites page</a> and PPL isn't mentioned anywhere.</p> <p>I'm using <a href="http://www.cloog.org/">CLooG 0.17.0</a>, which uses <a href="http://freecode.com/projects/isl">ISL</a>, and as such no longer requires PPL (as far as I can tell)</p> <p>Is there some other requirement on PPL in GCC which means I still need PPL, or am I missing some flag from my <code>configure</code> line?</p> <p>I am passing the following options to <code>configure</code>:</p> <ul> <li><code>--enable-cloog-backend=isl</code></li> <li><code>--with-cloog=$PREFIX</code></li> <li><code>--with-isl=$PREFIX</code></li> <li><code>--with-gmp=$PREFIX</code></li> <li><code>--with-mpfr=$PREFIX</code></li> <li><code>--with-mpc=$PREFIX</code></li> </ul> <p>For completeness, my full configure line is as follows:</p> <pre><code>./configure --prefix=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \ --disable-multilib --enable-cloog-backend=isl \ --with-mpc=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \ --with-mpfr=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \ --with-gmp=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \ --with-isl=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \ --with-cloog=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64 \ --build=x86_64-suse-linux --with-pkgversion='SIG build 11/27/2012' \ --with-gxx-include-dir=/hostname/tmp/syddev/sdk/gcc472/suse11/x86_64/include/c++/4.7.2 \ --enable-version-specific-runtime-libs </code></pre> <p><strong>Update:</strong></p> <p>In order to try make forward progress I decided to add <a href="http://bugseng.com/products/ppl">PPL</a> to my installation list, and add <code>--with-ppl=$PREFIX</code> to my configure line.</p> <p>Configure still fails with <code>configure: error: Unable to find a usable PPL</code></p> <p>It seems this is a bug in the <code>configure</code> script: Configure fails if <code>PPL_MINOR_VERSION &lt; 11</code></p> <p>With the latest version <code>PPL_MINOR_VERSION=0</code> (and <code>PPL_MAJOR_VERSION=1</code>)</p>
0non-cybersec
Stackexchange
VLC: Unattended video playback of sporadic UDP video source?. <p>I want to make a kiosk-type setup that simply plays back video from a remote UDP source. The command line below does the trick and shows the video OK when there's an incoming signal to begin with. I set it up to execute as a startup app of a desktop user with auto-login:</p> <pre><code>vlc -f udp://@:PortNumber </code></pre> <p>But if there's no video when the machine starts, it shows the VLC screen with its window decorations and dashboard. Worse, it shows the Unity taskbar. I would like it to always show a black screen (or as close to featureless as possible), and I need the black screen to remain when there's no signal coming, and the video to come up when the signal comes back.</p> <p>I'm kind of lost in VLC's infinitely many command-line options. Any help would be highly appreciated. I'm open to using a different video player if it will do the job better.</p>
0non-cybersec
Stackexchange
Just had my second pot brownie.. Dude, I love these so much. I smoke often but never really get the chance to eat a brownie. They sneak up on you but then they hit you sooo hard. I'm at a solid [7] right now. Peace bros.
0non-cybersec
Reddit
What is the minimum required background to understand articles in the nLab?. <p>I am interested in learning more about the nLab categorical perspective on several mathematical subjects such as topology and logic, but found that my understanding of category theory was not sufficient to understand most of the more general articles (not even getting into the hardcore, more advanced topics). Obviously, category theory is an essential requirement. However, exactly what background in category theory do you think is needed to understand the average nLab article?</p> <p>I understand that my question is only meaningful if you know the primary mathematical subject of a specific article. Of course, if you try to read the article on synthetic differential geometry but do not know what differential geometry is, you should first study the subject from a more traditional perspective. My question should read, "Assuming that you know the main subject of the article beforehand what is the minimum required background ...". </p>
0non-cybersec
Stackexchange
How does Docker keep the image immutable. <p>From the Docker documentation : </p> <blockquote> <p>The Docker image is read-only. When Docker runs a container from an image, it adds a read-write layer on top of the image (using a UnionFS) in which your application runs.</p> </blockquote> <p>How are changes reconciled across layers? If I change the content of a file, would Docker only keep track of delta or will it store the altered file in the new layer?</p> <p>I looked at this discussion <a href="https://superuser.com/questions/326190/how-does-unionfs-work">at superuser</a>, but still not certain about the final image structure.</p>
0non-cybersec
Stackexchange
Invalid rule result: Function(). <p>I am updating angular 6 to angular 7, following the instructions as per the <a href="https://update.angular.io/#6.0:7.0" rel="noreferrer">angular official site</a>.</p> <p>During the update session:<br> I entered the command to update the angular/cli and core for the v7<br> <code>$ ng update @angular/cli@v7 @angular/core@v7</code>.</p> <p>After updating I got the <code>Invalid rule result: Function()</code>.</p> <p>Here is the command-prompt output:</p> <pre><code>added 106 packages from 85 contributors, removed 5 packages, updated 5 packages, moved 1 package and audited 36489 packages in 39.604s found 18 vulnerabilities (12 low, 1 moderate, 5 high) run `npm audit fix` to fix them, or `npm audit` for details Invalid rule result: Function(). </code></pre> <p>Does anyone know why I am getting the message?</p> <p>This is the dependencies in the <code>package.json</code> file.</p> <pre><code>"dependencies": { "@angular/animations": "^8.0.0", "@angular/cdk": "^7.3.7", "@angular/common": "^8.0.0", "@angular/compiler": "^8.0.0", "@angular/core": "^8.0.0", "@angular/forms": "^8.0.0", "@angular/http": "^6.0.3", "@angular/material": "^7.3.7", "@angular/platform-browser": "^8.0.0", "@angular/platform-browser-dynamic": "^8.0.0", "@angular/router": "^8.0.0", "core-js": "^2.5.4", "hammerjs": "^2.0.8", "ngx-loading": "^3.0.1", "rxjs": "6.5.2", "underscore": "^1.9.1", "zone.js": "^0.9.1" }, "devDependencies": { "@angular-devkit/build-angular": "~0.6.8", "@angular/cli": "~7.3.9", "@angular/compiler-cli": "^8.0.0", "@angular/language-service": "^8.0.0", "@types/jasmine": "~2.8.6", "@types/jasminewd2": "~2.0.3", "@types/node": "~8.9.4", "bootstrap-sass": "^3.3.7", "codelyzer": "~4.2.1", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1", "karma": "~1.7.1", "karma-chrome-launcher": "~2.2.0", "karma-coverage-istanbul-reporter": "~2.0.0", "karma-jasmine": "~1.1.1", "karma-jasmine-html-reporter": "^0.2.2", "karma-scss-preprocessor": "^3.0.0", "protractor": "~5.3.0", "ts-node": "~5.0.1", "tslint": "~5.9.1", "typescript": "~3.4.5" } </code></pre>
0non-cybersec
Stackexchange
Why can&#39;t I include the standard algorithm library after defining &#39;epsilon&#39; in C++?. <p>When I include the algorithm library before defining epsilon, the following code compiles:</p> <pre><code>#include &lt;iostream&gt; #include &lt;algorithm&gt; #define epsilon 0.00001 int main() { std::cout &lt;&lt; epsilon; return 0; } </code></pre> <p>When I switch them around, it doesn't:</p> <pre><code>#include &lt;iostream&gt; #define epsilon 0.00001 #include &lt;algorithm&gt; int main() { std::cout &lt;&lt; epsilon; return 0; } </code></pre> <p>It gives the following error 19 times:</p> <pre><code>epsilon_algorithm.cpp:3:17: error: expected unqualified-id before numeric constant 3 | #define epsilon 0.00001 | </code></pre> <p>On <a href="http://www.cplusplus.com/reference/algorithm/" rel="noreferrer">http://www.cplusplus.com/reference/algorithm/</a> and <a href="https://en.cppreference.com/w/cpp/algorithm" rel="noreferrer">https://en.cppreference.com/w/cpp/algorithm</a> there is no mention of anything named 'epsilon'. I know I can avoid the issue by simply always including &lt;algorithm&gt; before I define epsilon, I want to know what causes this error to broaden my understanding of C++ and prevent these types of errors in the future.</p> <p>I compile with MinGW (32 bit, installed a few weeks ago) in an updated Windows 10 (64 bit) environment.</p>
0non-cybersec
Stackexchange
UCF kicker ruled ineligible, loses scholarship after monetizing YouTube videos.
0non-cybersec
Reddit
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
What makes a man wise?.
0non-cybersec
Reddit
Npm module &quot;grunt-sass&quot; not found. Is it installed?. <p>I am using windows 10. Have installed npm version 5.6.0,node v8.10.0 and Python 2.7.</p> <p>Getting <strong>grunt-sass is not installed</strong> even after installing npm using the command "npm install". After that I installed grunt using command: </p> <pre><code>npm install -g grunt-cli </code></pre> <p>Also, sometimes get an error like </p> <blockquote> <p>"<strong>Node Sass does not yet support your current environment</strong>: Windows 64-bit with Unsupported runtime"</p> </blockquote> <p>Any help will be really appriciated.</p>
0non-cybersec
Stackexchange
Show that $E(T_u\mid X_o=w)$ it is not equal to $E(T_w\mid X_o=u)$. <p>Can anyone help me with this?</p> <p>Consider the random walk on a finite simple graph <span class="math-container">$G$</span> satisfying the following properties: </p> <ul> <li><p><span class="math-container">$G$</span> has at least <span class="math-container">$3$</span> vertices</p></li> <li><p>Any two vertices of <span class="math-container">$G$</span> are connected by a path</p></li> <li><p><span class="math-container">$G$</span> contains a vertex <span class="math-container">$u$</span> having exactly one neighbour <span class="math-container">$w$</span></p></li> </ul> <p>Show that <span class="math-container">$E(T_u|X_0=w)$</span> it is not equal to <span class="math-container">$E(T_w|X_0=u)$</span>.</p> <p>What i think is that <span class="math-container">$p(u,w)=1$</span> because the only path for <span class="math-container">$u$</span> is the one that is connected with <span class="math-container">$w$</span>. And <span class="math-container">$p(w,u)\leq1/2$</span> because we have at least <span class="math-container">$3$</span> vertices so <span class="math-container">$w$</span> is connected with at least two vertices. So, since <span class="math-container">$E(N(y)|X_0=y)=\sum p^n(y,y)$</span> , <span class="math-container">$E(T_u|X_0=w)$</span> it is not equal to <span class="math-container">$E(T_w|X_0=u)$</span>. </p>
0non-cybersec
Stackexchange
After spending the weekend with my nephews.
0non-cybersec
Reddit
What is the sum of the power series: $\sum_{k=2}^\infty\frac{x^k}{k(k-1)}$?. <p>What is the function represented by the power series $$ \sum_{k=2}^\infty\frac{x^k}{k(k-1)}\quad? $$</p> <p>It looks like $\dfrac1{1-x}$ but I don't know.</p>
0non-cybersec
Stackexchange
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application. I need to scale my app adding some spot instances that EB do not support.</p> <p>So I create a second autoscaling from a launch configuration with spot instances. The autoscaling use the same load balancer created by beanstalk.</p> <p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p> <p>This work fine, but:</p> <ol> <li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p> </li> <li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p> </li> </ol> <p><strong>UPDATE</strong></p> <p>Elastic Beanstalk add support to spot instance since 2019... see: <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
0non-cybersec
Stackexchange
Happy Birthday, Slovak and Czech republics!!!.
0non-cybersec
Reddit
Create a M3U Playlist With MP3 Music Files. <p>I would like to create an m3u playlist for my website which will be at domain/music/Playlist.m3u (example). I need to put the mp3 files in the directory domain/music/ in the playlist so that it will play them. I can't figure out what to put in the playlist file. I tried</p> <pre><code>http://domain/music/1.mp3 http://domain/music/2.mp3 </code></pre> <p>but it won't play. Can someone please help me get this working? Thanks!</p>
0non-cybersec
Stackexchange
ITAP in Prague..
0non-cybersec
Reddit
Not sure how old this is, but made me laugh..
0non-cybersec
Reddit
Impulse buy at the store. If I need to make keys why not?.
0non-cybersec
Reddit
Tikz - Coordinates error when using draw with axis. <p>I am using the following code, which is supposed to cut a function in N parts :</p> <pre><code>\documentclass[11pt]{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=newest} \begin{document} \resizebox{\columnwidth}{!}{% \begin{tikzpicture} \begin{axis} [ grid, anchor=origin, %axis equal=false, xmin=0, xmax=1, ymin=0, ymax=10, minor tick num=1, axis lines = middle, tick label style={inner sep=2pt, font=\footnotesize}, % every axis plot post/.append style={thick}, samples=500 ] \addplot [domain=0:1, color=blue] {-2*ln(x)}; \end{axis} % Add lines \pgfmathsetmacro{\N}{4}; \foreach \x in {\N,...,0} { \draw [line width=0.15mm, red] (\x/\N, 0) -- (\x/\N, 10); } \end{tikzpicture} } \end{document} </code></pre> <p>But, instead of having 5 lines cutting my function from 0 to 1, this is what I have :</p> <p><a href="https://i.stack.imgur.com/M16cP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/M16cP.png" alt="enter image description here"></a></p> <p>Do you have any idea of why this issue appears ?</p> <p>P.S : Do you have a better way to declare variables than \pgfmathsetmacro ?</p>
0non-cybersec
Stackexchange
PKCS#11. Possibility of performing Ecryption/Decryption in hardware. <p>Cheers. This is a copy of my <a href="https://crypto.stackexchange.com/q/63988/63459">question</a> on crypto stack exchange.</p> <p>I'm dealing with <strong>HSM</strong> via <strong>PKCS#11</strong> C/Python interface. I'm wondering is it possible to do some <code>C_Encrypt</code>/<code>C_Decrypt</code> in hardware. By saying <em>"in hardware"</em> I mean encryption/decryption without exposing the result to the caller space. This is mostly aboud decryption as I want to call <code>C_Decrypt</code> and leave the result inside the HSM as arbitrary data to do some other transformations on that data later, saying re-encrypting it on some other key. Thank you in advance.</p>
0non-cybersec
Stackexchange
Why does a radio stream not appear on a packet monitoring tool?. <p>I am currently trying to find the URL to the audio stream for a webradio that only provides a flash player, that I would like to use with MusicBee's radio player.</p> <p>After using Wireshark to monitor my wifi network while streaming music through their website and mobile app and filtering the packet list, I can't manage to find any stream related to the website. That let me wondering: How is it possible for an applet to hide itself from the activity on a packet monitoring program?</p> <p>Just in case someone is interested, here's the url to the radio: <a href="http://player.quebec.rougefm.ca/" rel="nofollow noreferrer">Rouge FM</a></p> <p>Am I just doing something wrong or is there some mechanism that I am not aware of?</p>
0non-cybersec
Stackexchange
Show that $Var(X)=Var(\Bbb{E}(X|Y))+\Bbb{E}(Var(X|Y))$. <p>Let $X\in L^2(\Omega,\mathcal{F},\Bbb{P})$. Let $Y$ be a random variable, we define </p> <p>$$Var(X|Y)=\Bbb{E}((X-\Bbb{E}(X|Y))^2|Y))$$</p> <p>Show that $Var(X)=Var(\Bbb{E}(X|Y))+\Bbb{E}(Var(X|Y))$</p> <p>Ok, so</p> <p>$\Bbb{E}(Var(X|Y))=\Bbb{E}((X-\Bbb{E}(X|Y))^2)=\Bbb{E}(X^2)-2\Bbb{E}(X\Bbb{E}(X|Y))+\Bbb{E}(\Bbb{E}(X|Y)^2)$</p> <p>While </p> <p>$Var(\Bbb{E}(X|Y))=\Bbb{E}((\Bbb{E}(X|Y))^2)-[\Bbb{E}(\Bbb{E}(X|Y))]^2=\Bbb{E}((\Bbb{E}(X|Y))^2)-[\Bbb{E}(X)]^2$</p> <p>Adding both, I obtain</p> <p>$Var(\Bbb{E}(X|Y))+\Bbb{E}(Var(X|Y))=Var(X) + 2(\Bbb{E}(\Bbb{E}(X|Y)^2)-\Bbb{E}(X\Bbb{E}(X|Y)))$</p> <p>But I don't know how to deal with $\Bbb{E}(X\Bbb{E}(X|Y))$ nor with $\Bbb{E}(\Bbb{E}(X|Y)^2)$. What can I do with those terms?</p>
0non-cybersec
Stackexchange
iTunes can&#39;t sync contacts as contacts has been disabled on iPhone. <p>I am getting this error message. </p> <pre><code>itunes can't sync contacts as contacts has been disabled on iphone </code></pre> <p>Configuration: iOS 6.1, iphone 4</p>
0non-cybersec
Stackexchange
what is the use of a &quot;PRE&quot; tag in (X)HTML. <p>what is the use of a "PRE" tag in (X)HTML</p>
0non-cybersec
Stackexchange
Lunar Halo Star Trails - Bend, OR [OC] [2100x1400].
0non-cybersec
Reddit
Derivation of equation for wave source distance. <p>In <a href="https://link.springer.com/article/10.1007/BF01945553" rel="nofollow noreferrer">this paper</a> Käse and Bleckmann describe how to determine the distance from the wave source by the wave frequency. I'm trying to understand how they developed their final equation.</p> <p>They give (eq. 5): <span class="math-container">$$D = \frac{t_2 - t_1}{\frac{1}{c_{g2}}-\frac{1}{c_{g1}}}$$</span> and end up with (eq. 7): <span class="math-container">$$D = - \frac{9}{2} c_{ph} \frac{\omega}{d \omega/d t}.$$</span></p> <p>I can follow their first step which is a first order Taylor-Series expansion (<span class="math-container">$c_{g2}(\omega) = c_{g1}(\omega + \Delta \omega)$</span> and <span class="math-container">$c_{g1}(\omega + \Delta \omega) \approx c_{g1}(\omega) +(d c_{g1}/d \omega)\Delta \omega$</span>) and gives (eq. 6): <span class="math-container">$$D = c_{g1} \frac{\frac{-(t_2 - t_1)}{\Delta \omega}}{\frac{1}{c_{g1}} \frac{d c_{g1}}{d \omega}}.$$</span></p> <p>They further say</p> <ul> <li><span class="math-container">$t_2 - t_2 = \Delta t \rightarrow 0$</span> (I assume this is the reason why this term is neglected in the Taylor-Series expansion)</li> <li><span class="math-container">$\Delta t /\Delta \omega \rightarrow \frac{1}{d \omega/d t}$</span></li> </ul> <p>and that they used <span class="math-container">$$c_g = \frac{d \omega}{d K} = c_{ph} - \lambda \frac{d c_{ph}}{d \lambda}.$$</span></p> <p>But I did not find a way to get from there to the final equation. Does anybody have an idea?</p> <hr> <p>Other (possibly) necessary equations:</p> <ul> <li><span class="math-container">$c_{ph}^2 = \frac{\omega^2}{K^2} = \left(g + \frac{T K^2}{\rho} \right) K^{-1}$</span></li> <li><span class="math-container">$K = \frac{2 \pi}{\lambda}$</span></li> </ul> <p>quantitities:</p> <ul> <li><span class="math-container">$c_{ph}$</span> - phase velocity</li> <li><span class="math-container">$c_g$</span> - wave number</li> <li><span class="math-container">$\omega$</span> - angular frequency</li> <li><span class="math-container">$\lambda$</span> - wave length</li> <li><span class="math-container">$K$</span> - wavenumber</li> <li><span class="math-container">$\rho$</span> - density</li> <li><span class="math-container">$g$</span> - gravity</li> <li><span class="math-container">$T$</span> - surface tension</li> </ul>
0non-cybersec
Stackexchange
Functional analysis on manifolds. <p>The basic object of functional analysis is the topological vector space, so vector spaces with some topology, we can add additional structure by introducing metrics etc, but the underlying object is a linear space anyway.</p> <p>I was wondering if there's any field of math that still studies functionals, but defined on manifolds instead of vector spaces.</p>
0non-cybersec
Stackexchange
Mac Mail stop responding not downloading Gmail data. <p>I upgraded to Mountain Lion and everything was fine for a couple of weeks. Now suddenly, for no apparent reason, mac mail cannot download emails from my Gmail account anymore. It's downloading emails from my business account just fine - but not Gmail. I didn't change anything in the settings. It just stopped. Any clue why?</p>
0non-cybersec
Stackexchange
The Berenstain Bears... [9].
0non-cybersec
Reddit
External 4.3" screen for Raspberry Pi. I have a [4.3 inch LCD display](http://i.imgur.com/DAFcL.jpg) that I'm hoping to get working with the raspberry pi I have the specification for the display [here[(http://dl.openhandhelds.org/pandora//uploads/Home/Pandora%20-%20Development/Documentation/pandora_screenTD043MTEA2.pdf) My question is this: How possible is this to get working as a display, however ugly a solution?
0non-cybersec
Reddit
"Unless you are good to other people around you, unless you're kind, friendly, warm, and loving you're not going to fucking enjoy this life" - Joe Rogan on life.
0non-cybersec
Reddit