text
stringlengths 3
1.74M
| label
class label 2
classes | source
stringclasses 3
values |
---|---|---|
New Overwatch Tournament Idea - winner take all $12K?. Hi Everyone - I don't post much but I wanted to get a "reddit gauge" on this idea. I have always been a fan of short tournaments in general. In college we had an ongoing beer pong/beirut tournament s(double elimination, winner take all) that garnered a nice crowd and a lot of fun/laughs. Also in sports, a 2/3 days tournament is always super fun and super energetic. You name it, old school Madden tournaments with buds, etc.
​
Do we think something like this would work? Also if I fronted the cash money, marketing expenses, etc. I wonder if I can get a sort of return on capital invested. It would be super fun to coordinate and discuss rules/format of the tournament. I would imagine with prize money involved we would get attention. Maybe pay a couple of twitch streamers to endorse us and stream the gameplay? But im weary that these tournaments already exist and we might need to find a niche.
​
Food for thought - I cant offer much besides this puny idea (and bankroll).
High Plat Flex player BTW - MrBrewFace#1861 | 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 |
Photos put together a “four-legged friends” memory album and used my three legged dog as the cover photo. | 0non-cybersec
| Reddit |
Can $f''(x)$ exist if $f'(x)$ is undefined?. <p>For example, the piecewise function</p>
<p><span class="math-container">$
f(x) =
\begin{cases}
\sqrt{1 - (x + 1)^2} &-2 \leq x \leq 0 \\
-\sqrt{1 - (x - 1)^2} &0 \leq x \leq 2
\end{cases}
$</span></p>
<p>will, at <span class="math-container">$f(0)$</span>, give <span class="math-container">$f'(0) = $</span> undefined (vertical tangent). Once deriving I can prove this algebraically, there is a zero in the denominator. It looked like an inflection point, so I wondered if <span class="math-container">$f''(x)$</span> would equal zero or undefined. After taking the (painstakingly ugly) second derivative, I ran into another zero in the denominator error, so <span class="math-container">$f''(0)$</span> is also undefined. Is this a general rule that if <span class="math-container">$f'(x)$</span> is undefined <span class="math-container">$f''(x)$</span> will also be undefined? </p>
<p>Thanks :)</p>
| 0non-cybersec
| Stackexchange |
Question about Distributional Derivative of Monotonically Non-decreasing function. <p>Suppose $f \geq 0$ on $\mathbb{R}$ be monotonically non-decreasing. Let $T_f$ be the distribution given by $f$. Then, $T_f \geq 0$ for all $\psi \in C^{\infty}_c(\mathbb{R})$ with $\psi(x) \geq 0$ on its support.</p>
<p>Is it then true that $T'_f$ is also a positive distribution? </p>
<p>As a side question, how does one prove that a function has distributional derivative given by a measure if $T_f$ is not positive? Is it possible for $T'_f$ to be given by a measure if $T'_f$ is not positive? </p>
| 0non-cybersec
| Stackexchange |
The sprites of all 809 Pokemon use to compare all Pokemon stats: An interactive, experimental, animated beeswarm plot [OC] (x-post r/DataArt). | 0non-cybersec
| Reddit |
Next to the parking lot at a Harley bar. Not connected to any power source.. | 0non-cybersec
| Reddit |
Getting black screen when connected with x11vnc. <p>I'm trying to run an x11vnc server so that someone can connect remotely to my computer, but I'm having trouble getting it to work. I'm using Ubuntu 14.04 and testing the VNC server by using Vinagre to connect on localhost. I get a login prompt and it accepts the password, but then I just get a black screen. This doesn't seem to be an uncommon problem but I've tried tons of solutions I've found through Google and none of them have worked for me. The x11vnc log doesn't give any indication of errors so I don't know where to begin to figure out what is wrong.</p>
<p>My x11vnc command:</p>
<pre><code>x11vnc -xkb -noxrecord -noxfixes -noxdamage -display :1 -auth /var/run/lightdm/root/:1 -usepw -forever -o /var/log/x11vnc.log
</code></pre>
<p>The x11vnc log:</p>
<pre><code>11/08/2015 15:14:43 Got connection from client 127.0.0.1
11/08/2015 15:14:43 other clients:
11/08/2015 15:14:43 Normal socket connection
11/08/2015 15:14:43 Disabled X server key autorepeat.
11/08/2015 15:14:43 to force back on run: 'xset r on' (3 times)
11/08/2015 15:14:43 incr accepted_client=5 for 127.0.0.1:48227 sock=7
11/08/2015 15:14:43 Client Protocol Version 3.8
11/08/2015 15:14:43 Protocol version sent 3.8, using 3.8
11/08/2015 15:14:43 rfbProcessClientSecurityType: executing handler for type 2
11/08/2015 15:14:46 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFE)
11/08/2015 15:14:46 Enabling NewFBSize protocol extension for client 127.0.0.1
11/08/2015 15:14:46 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x574D5669)
11/08/2015 15:14:46 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFD)
11/08/2015 15:14:46 Enabling full-color cursor updates for client 127.0.0.1
11/08/2015 15:14:46 Enabling X-style cursor updates for client 127.0.0.1
11/08/2015 15:14:46 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFFFEFF)
11/08/2015 15:14:46 Using tight encoding for client 127.0.0.1
11/08/2015 15:14:48 client useCopyRect: 127.0.0.1 -1
11/08/2015 15:14:48 client_set_net: 127.0.0.1 0.0001
</code></pre>
<p>My current ~/.vnc/xstartup (I've tried a bunch of variations):</p>
<pre><code>#!/bin/sh
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
</code></pre>
| 0non-cybersec
| Stackexchange |
How to deal with temporal coupling?. <p>I'm struggling because of this:</p>
<p>My classes have some methods that have temporal coupling. This is, some method <strong>MethodA</strong> has to be invoked first to "initialize" the data that <strong>MethodB</strong> needs to work properly.</p>
<p>I usually make the temporal coupling explicit by passing the offending dependency to <strong>"MethodB"</strong> <strong>as argument</strong>, like in this snippet:</p>
<pre><code>private class SomeClass
{
private string field;
private int count;
public SomeClass()
{
MethodA();
MethodB(field);
}
private void MethodA()
{
field = "Something";
}
private void MethodB(string str)
{
count = str.Length;
}
}
</code></pre>
<p>Although it makes things explicit I feel I'm doing something wrong. I end up having method that don't use fields at all (static methods!), so the class starts to seem less cohesive.</p>
<p>Is this the best way to do it? (losing cohesion by passing arguments)</p>
<p>EDIT: Regarding some answers that suggest using field as a parameter in the constructor or using the Builder Pattern to avoid invalid states: <strong>I cannot do that, because in my case I'm building a Parser</strong>. MethodA reads the input and sets the state depending on it (reading characters from a file) and then, MethodB is invoked. They have to be invoked in the correct order. That is the real problem: one should be invoked before the other.</p>
| 0non-cybersec
| Stackexchange |
Tips for searing steak. Greetings fellow home chefs.
I have a problem when trying to sear steaks, usually I get the side I slap in the pan first really nicely seared but when I flip them over, it's like a bunch of liquid runs out of them and winds up underneath, boiling them in their own juices more than anything. Has anybody experienced this and hiw did you remedy it? | 0non-cybersec
| Reddit |
Micrometeoroid impacts left on spacesuit cloth (x-post r/space). | 0non-cybersec
| Reddit |
Was tired of the Catan gameboard falling apart, made my own. . | 0non-cybersec
| Reddit |
Jeremy Scott as a gay motocross bull fighter. | 0non-cybersec
| Reddit |
Vertu Signature Touch (2015) luxury smartphone announced with 4GB RAM and Snapdragon 810 SoC. | 0non-cybersec
| Reddit |
Who is really the most interesting man in the world?. "in the world" meaning *from our time.*
So let's say they have to either still be living, or having died only in the past 10-20 years. | 0non-cybersec
| Reddit |
BullGuard Mobile Security 10 Offers Excellent Smartphone Protection. | 0non-cybersec
| Reddit |
An invite to dine with Strahd [OC][ART]. | 0non-cybersec
| Reddit |
Difference between autoconf and autoreconf. <p>I'm trying to learn how to use autotools and I can't seem to find a good beginner-friendly answer to this question. What's the difference between <code>autoconf</code> and <code>autoreconf</code>.</p>
| 0non-cybersec
| Stackexchange |
TIL In 2006, a Sudanese man was caught having sex with a goat, and as a punishment was forced to take the goat as his "wife" while paying a dowry of around $50 to its owner.. | 0non-cybersec
| Reddit |
Kira's Laugh that uses Tidus's Laugh from Final Fantasy X. | 0non-cybersec
| Reddit |
Where is the docker swarm token stored?. <p>I've created a docker-machine swarm cluster using a new generated token, which was stored within an environment variable. The environment variable was only for valid for the current session, and is deleted afterward.
Now I want to add a new docker-machine to the same cluster, but I can't find the needed token.</p>
<p>How is it possible to find out the token used by an active docker swarm ?</p>
| 0non-cybersec
| Stackexchange |
Is it possible for a valid block to be added to an invalid one, and have it accepted by another client?. <p>This wiki page says <a href="https://en.bitcoin.it/wiki/Invalid_block" rel="nofollow">invalid blocks aren't counted towards determining chain length</a> and that make me want understand how invalid blocks are treated.</p>
<ul>
<li>Can an valid block be added to an invalid one.. and have it accepted by one or more clients?</li>
</ul>
<p><em><strong>If so...</em></strong></p>
<ul>
<li>Do miners of invalid blocks receive a reward for the block? Are the Tx's valid? Are there any examples?</li>
</ul>
<p>Suppose an invalid block is created and valid block is added to that invalid one. Both blocks are added to the primary chain. ( assume the attacker has 25% compute and has a custom client that pushes both transactions to all peers)</p>
<ul>
<li><p>Since every block has a reward, is the reward in the invalid block counted?</p></li>
<li><p>Are the transactions within an invalid block still considered valid?</p></li>
</ul>
<p>I'm interested in tracing the transactions the occur from these "broken" blocks and to see if my hand-coded client processes the transactions correctly. </p>
| 0non-cybersec
| Stackexchange |
Assigning IP addresses to multiple VMs that are regularly powered off and on. <p>I have a newbie networking question. In my office there are about 200 machines on 192.168.0.x IPs. At home I have a similar setup but with far fewer IPs. I run 5 virtual machines on my local machine and I have given them all 192.168.0.x IPs too but this seems wasteful because they only ever need to talk to one another. The default gateway is 192.168.0.1. Should I give my VMs IPs of 192.168.100.x ? 192.168.122.x ? What's so special about having VMs on 192.168.<strong>100</strong>.x / 192.168.<strong>122</strong>.x IPs ? If this is the right thing to do, what should the default gateway be set to ? I assume that if I have a VM with a 192.168.100.x address when it won't be able to use the 192.168.0.1 gateway ? Many thanks.</p>
| 0non-cybersec
| Stackexchange |
Change default position of Dialog Windows KDE 4.10. <p>I have KDE 4.10 running on my system, today when configure to work with two monitors top/bottom i get the surprise that modal dialogs show in the middle of two monitors, example the Intellij's Search everywhere dialog.</p>
<p>this is annoying, how i can chage the default position of this for every dialog of this type</p>
| 0non-cybersec
| Stackexchange |
What's the difference between a null pointer and a void pointer?. <p>Whats the difference between a <strong>Null pointer</strong> & a <strong>Void pointer</strong>?</p>
| 0non-cybersec
| Stackexchange |
Pokemon Let's Go to feature "Master Trainers" that provide a tough challenge. [https://twitter.com/PLDHnet/status/1051855823993860096](https://twitter.com/PLDHnet/status/1051855823993860096)
Masuda from an interview over at Polygon.
"A good portion of the more difficult stuff is in the post-game. There's ways to strengthen your Pokemon and the reason you wanna do that is, you take on these master trainers, these really powerful trainers that you encounter after the main story." | 0non-cybersec
| Reddit |
Take Me Home trailer (2017) Australian man falls to a stroke in Vietnam and could not get home.. | 0non-cybersec
| Reddit |
Find the cardinality of the set of all obtuse triangles on Cartesian plane. <blockquote>
<p>Find the cardinality of the set of all obtuse triangles on Cartesian plane</p>
</blockquote>
<p>I have attempted this problem, but I am not sure whether or not my solution is correct. <br> <br></p>
<p>Let's represent an obtuse triangle as $(x,y,z) \in (R^2) \times (R^2) \times (R^2)$ where $x, y, z$ are the vertices of the triangle. Now, since this triangle is obtuse, we have that $(d(x,y))^2 + (d(y,z))^2 < (d(x,z))^2$. Now, let's fix $x = (0,0)$ and $y = (1,1)$. Let $z = (0, z_1)$. By doing this, we get this inequality:
$$2 + z^2 < 1 + (z-1)^2 \iff 0 < z < 1$$
Now, consider these two sets: <br>
$$\{x\} \times \{y \} \times (0,1)$$ (The set of all obtuse triangles with two vertices fixed at $(0,0)$ and $(1,1)$ and the third one fixed on the x - axis, on the segment $(0,1)$. The cardinality of this set is continuum. Thus, the cardinality of the set in question is bounded form below by continuum. It's also bounded from above by the cardinality of $(\mathbb R^2)^3$ Thus, it's cardinality is continuum.</p>
| 0non-cybersec
| Stackexchange |
[WP] The year is 1910. Adolf Hitler, a struggling artist, has fought off dozens of assasination attemps by well meaning time travelers, but this one is different. This traveller doesn't want to kill Hitler, he wants to teach him to paint. He pulls off his hood to reveal the frizzy afro of Bob Ross.. | 0non-cybersec
| Reddit |
When you are waiting to hear back from recruiter after your interview. | 0non-cybersec
| Reddit |
iPhone music is skipping. <p>Some of the music on my iPhone 4G 32Gig started skipping intermittently when I play it on the phone. These are mp3 files synch'd to the iPhone through iTunes from my Windows 7 laptop.</p>
<p>I have filled it to 28G.</p>
<p>The same song played back again at a later time does not skip but another one might.</p>
<p>What is going on here?</p>
<p>What do I do about this?</p>
| 0non-cybersec
| Stackexchange |
Twitter.com is down hard -- went down shortly before the Summit began. Talk about a coincidence. | 0non-cybersec
| Reddit |
Googlecast SSDP and MDNS queries on network despite not having any chromecast applications installed in main computer. <p>As title states,</p>
<p>Ive detected some MDNS queries from a googlecast address, which is strange since i don't have any googlecast apps or similar installed.</p>
<p>Additionally My PC is sending SSDP packets to 239.255.255.250 (subnet?) regarding 'M-Search: HTTP/1.1' strings to Chrome OS machine.</p>
<p>MDNS Packet : 192.168.1.65 224.0.0.251 MDNS 119 Standard query 0x000b PTR _674A0243._sub._googlecast._tcp.local, "QM" question PTR _8E6C866D._sub._googlecast._tcp.local, "QM" question PTR _googlecast._tcp.local, "QM" question</p>
<p>SSDP Packet: 192.168.1.67 239.255.255.250 SSDP 216 M-SEARCH * HTTP/1.1 </p>
<p>Perhaps its good to mention that i noticed the specified 'User-agent' for these SSDP packets are stated as either 'Google Chrome' or 'Chrome OS'. Is this just a default function of Google chrome to include their DIAL tech. </p>
| 1cybersec
| Stackexchange |
Prove the Sequence of Inequalities. <blockquote>
<p>Let <span class="math-container">$\text{gpd} (n)$</span> denotes the <em>greatest prime divisor of <span class="math-container">$n$</span></em>. Then examine there exist infinitely many <span class="math-container">$n$</span> for which we have <span class="math-container">$\text{gpd} (n)$</span> <span class="math-container">$>$</span> <span class="math-container">$\text{gpd} (n+1)$</span> <span class="math-container">$>$</span> <span class="math-container">$\text{gpd} (n+2)$</span>.</p>
<p>More generally find the values of <span class="math-container">$k$</span> such that <span class="math-container">$\text{gpd} (n)$</span> <span class="math-container">$>$</span> <span class="math-container">$\text{gpd} (n+1)$</span> <span class="math-container">$>$</span> <span class="math-container">$\text{gpd} (n+2)$</span> <span class="math-container">$>$</span> <span class="math-container">$\cdots$</span> <span class="math-container">$>$</span> <span class="math-container">$\text{gpd} (n+k)$</span>.</p>
</blockquote>
<p>I cannot find the trick to tackle this problem. It can be shown that for infinitely many <span class="math-container">$n$</span> we have <span class="math-container">$\text{gpd} (n)$</span> <span class="math-container">$>$</span> <span class="math-container">$\text{gpd} (n+1)$</span>. This is trivial but after this I am unable to make any progress.</p>
| 0non-cybersec
| Stackexchange |
Swift Delegate Not Being Called. <p>I have a view with a delegate that I want to have call numpadView(numpadView:) in GameController upon button press, however I can't get it to work. The overload of touchesBegan() works fine, it's really the line with pressDelegate?.numpadView(self) which doesn't call the delegate function in the GameController class. I'm stumped as to what's missing to get it to work?</p>
<p>I cleaned the code to leave only the essential related to the problem for simplicity.</p>
<p><strong>NumpadView.swift</strong></p>
<pre><code>protocol NumpadPressDelegateProtocol {
func numpadView(numpadView: NumpadView)
}
class NumpadView: UIButton{
var pressDelegate: NumpadPressDelegateProtocol?
init(char: Character) {
let frame = CGRectMake(160, 100, 50, 50)
super.init(frame:frame)
self.setTitle("\(char)", forState: UIControlState.Normal)
self.userInteractionEnabled = true
}
override func touchesBegan(touches: NSSet, withEvent event: UIEvent) {
pressDelegate?.numpadView(self)
}
}
</code></pre>
<p><strong>GameController.swift</strong></p>
<pre><code>class GameController: NumpadPressDelegateProtocol {
func numpadView(numpadView: NumpadView) {
//do something
}
}
</code></pre>
| 0non-cybersec
| Stackexchange |
No need to stop... | 0non-cybersec
| Reddit |
Can you make calls with Ubuntu on a Nexus 7?. <p>I'm considering buying the nexus 7 and installing ubuntu on it, and if it can make calls it will be even better.</p>
| 0non-cybersec
| Stackexchange |
React how to render page after query change in URL. <p>I'm facing a problem :</p>
<p>I access a URL, for example:</p>
<p><a href="http://localhost:900/user" rel="nofollow noreferrer">http://localhost:900/user</a> </p>
<p>In my page i have an array. When I click on an pagination button for change page in array, my fonction changePage is called, the URL changes for add search query, my page re render because i use setState({page}), so far so good. New URL : <a href="http://localhost:900/user?page=2" rel="nofollow noreferrer">http://localhost:900/user?page=2</a> (Attention the pathname has not changed, i just add search query) </p>
<p>If i click on next page again, the url change to <a href="http://localhost:900/user?page=3" rel="nofollow noreferrer">http://localhost:900/user?page=3</a> and my page re render. It's perfect.</p>
<p>Now, i press the back button in the Browser, the location changes back to <a href="http://localhost:900/user?page=2" rel="nofollow noreferrer">http://localhost:900/user?page=2</a> but the page does not re render.</p>
<p>How to re render page if user press the back button in the Browser and not on the last page on application ?</p>
<p>I use :<br>
react : "16.3.2",<br>
react-dom : "16.3.2",<br>
react-redux : "5.0.7",<br>
react-router-dom : "4.2.2",</p>
<p>EDIT:
when i use listen function after create BrowserHistory, and i press previous browser page: </p>
<pre><code>const history = createBrowserHistory();
history.listen((location, action) => {
// location is an object like window.location
console.log(action, location.search);
});
</code></pre>
<p>the location.search was good. </p>
<p>My problem is only when i use the arrows of the browser in the same page. When i go in other page and i go back to the page, the url is good to and my array is reload with the good informations</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 |
Missing dependencies to install net-snmp. <p>This is set up on <strong>CentOS 7</strong></p>
<p>I was trying to install net-snmp via rpm (our yum wont work at all). so I gathered the following rpm packages: (all from the centos updates repository)</p>
<pre><code>net-snmp
net-snmp-utils
net-snmp-libs
net-snmp-agent-libs
</code></pre>
<p>I was able to install <strong>net-snmp-utils</strong> and update <strong>net-snmp-libs</strong>, but when it comes to installing <strong>net-snmp-agent-libs</strong> I need:</p>
<pre><code>libmysqlclient.so.18()(64bit)
libmysqlclient.so.18(libmysqlclient_18)(64bit)
</code></pre>
<p>Which is included on the <strong>mariadb-libs</strong> package.</p>
<p>The problem is the they created a custom repo to install <strong>MariaDB 10.1.41</strong>. The version on the <em>packages site</em> and <em>default repository</em> is <strong>5.5</strong> which is a total conflict on what the system already has. I need these two dependencies to install and setup SNMP on our server, is there any way to install them without affecting the existing database?</p>
<p>I'm running out of ideas and this is the only server left without monitoring. Thanks!</p>
| 0non-cybersec
| Stackexchange |
NSV: Insufficient butt fat for medical procedure. Sup loseit. Long-time lurker. 5'7" 36M, from 203 to 156 lbs over 7 months. 155 GW (SO CLOSE). Physically I look quite skinny now - slimmer than my BMI would imply because I have a very broad chest and shoulders.
Recently I needed to have some hormonal pellets inserted. They go in the butt cheek. Doctor said it would take 15 minutes, with pain comparable to a dental shot - unpleasant but not that bad. I donned the stylish hospital gown, then lay on the operating table while chit-chatting with the nurse. She applied some topical.
The doctor comes in. First time he's seen me undressed. "My, you are a skinny one" he comments. (Nobody has EVER said that to me before!) He begins the procedure - injecting anesthetic, slicing me open with a scalpel, then using a trocar to place the pellets.
It hurt like a motherfucker. Worst pain of my life. I barely held it together.
Afterwards, he told me, most people have a nice subcutaneous fat layer. But I didn't have enough fat. He had to go through muscle, and that's why it hurt so damn much.
Yay? 😬
Anyways I thought it was a funny NSV, though my ass isn't laughing. | 0non-cybersec
| Reddit |
What is the proper way to return from an exception in Scala?. <p>In a non-functional language, I might do something like:</p>
<pre><code>try {
// some stuff
} catch Exception ex {
return false;
}
// Do more stuff
return true;
</code></pre>
<p>In Scala, however, this pattern is clearly not correct. If my scala code looks like this:</p>
<pre><code>try {
// do some stuff
}
catch {
case e: Exception => // I want to get out of here and return false
)
}
// do more stuff
true
</code></pre>
<p>How do I properly do that? I don't want to use the "return" statement, of course, but I also don't want to drop through and "do more stuff" and eventually return true.</p>
| 0non-cybersec
| Stackexchange |
Access an arbitrary element in a dictionary in Python. <p>If a <code>mydict</code> is not empty, I access an arbitrary element as:</p>
<pre><code>mydict[mydict.keys()[0]]
</code></pre>
<p>Is there any better way to do this?</p>
| 0non-cybersec
| Stackexchange |
How to disable script debugging in Visual Studio 2010 when running Asp.Net website project?. <p>I'm creating a website in Visual Studio 2010. I would like to use Visual Studio for C# debugging, without using it as JavaScript debugger. <strong>Is there a way to disable script debugging for Asp.Net website projects?</strong> I run my projects by hitting F5 in my Visual Studio.</p>
<p>(I've noticed that when I attach the debugger manually, I can specify the type of stuff I would like to debug.)</p>
<p>Note: <strong>I would like to debug JavaScript, but not with Visual Studio 2010. The Developer Toolbar will suffice.</strong></p>
| 0non-cybersec
| Stackexchange |
differences between make_unique and make_shared when handling arrays. <p>as of C++17 you can use <code>make_unique</code> in order to create smart pointers to arrays, such as:</p>
<pre><code>unique_ptr<int[]> ptr = make_unique<int[]>(10);
</code></pre>
<p>which will create a smart pointer to an array of 10 elements (the fact that proper deleter[] will be called is also great). </p>
<p>However according to <a href="https://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared" rel="nofollow noreferrer">this</a> <code>make_shared</code> does not support such functionality (at least not in C++17, to my understanding):</p>
<pre><code>shared_ptr<int[]> ptr = make_shared<int[]>(10);
</code></pre>
<p>the code above is apparently illegal. Indeed, my Visual Studio 2017 (v141) spits out the following error: </p>
<pre><code>C2070: 'int[]': illegal sizeof operand'
</code></pre>
<p>What's interesting is that <code>shared_ptr</code> itself does support array types (i.e., <code>shared_ptr<int[]></code> is <a href="https://en.cppreference.com/w/cpp/memory/shared_ptr/make_shared" rel="nofollow noreferrer">legal</a>), but <code>make_shared</code> does not. Whereas <code>make_unique</code> does. </p>
<p>The question is, what prevented the standard maker people to let <code>make_shared</code> support array types, just like in the case of <code>make_unique</code>? </p>
| 0non-cybersec
| Stackexchange |
Red irish setter derp vol 2. | 0non-cybersec
| Reddit |
Geek mythology in a nutshell. | 0non-cybersec
| Reddit |
Showing more song information on the Music app. There are so many options iTunes gives you to fill in for a song: year, composer, genre, disc number, bpm, but what's the point of it all? Unless you're going to make a playlist based on any of these things they don't seem to be relevant or show up anywhere when actually listening to the song to my knowledge.
Is there any way to show some of this information just in your library on the Music app or when you're listening to a song on your phone? I'd love to be able to see the year of every song on my library when scrolling through or when the song being played in the music bar with the artist, album, and song name. | 0non-cybersec
| Reddit |
Show that if Y is transcendental over a field K, and F is a field with $K\subset F\subset K(Y)$ and $K\neq F$ then Y is algebraic on F. <p>I have the following problem:</p>
<blockquote>
<p>Show that if Y is transcendental over a field K, and F is a field with <span class="math-container">$K\subset F\subset K(Y)$</span> and <span class="math-container">$K\neq F$</span> then Y is algebraic on F</p>
</blockquote>
<p>I know there are infinite fields of such type, for example <span class="math-container">$K[Y^i]$</span> has Y as an algebraic element <span class="math-container">$\forall i \in \mathbb{N}$</span>
However I don't know how to prove this in the general case. This question was proposed in my Galois theory exam last year. Any ideas on how to solve it? </p>
| 0non-cybersec
| Stackexchange |
How can I slow down a video (which I use as wallpaper) so it will look more realistic?. <p>I have an <code>.mpg</code> file of the Earth spinning. I use it as a background/wallpaper for my desktop. However, it spins too fast. </p>
<p>How can I slow it down? </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 |
Protractor E2E angular "angular could not be found on the window". <p>I have a strange error after running my tests in angular project <code>Error: Error while waiting for Protractor to sync with the page: "angular could not be found on the window"</code>. My Protractor configuration looks like this: </p>
<pre><code>require('coffee-script').register();
exports.config = {
seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.39.0.jar',
seleniumAddress: 'http://localhost:4444/wd/hub',
capabilities: {
browserName: 'chrome'
//'chromeOptions': {
// 'args': ['--disable-extensions']
//}
},
specs: [
'*_spec.coffee'
],
allScriptsTimeout: 10000000000,
baseUrl: 'http://localhost:9003/',
jasmineNodeOpts: {
isVerbose: false,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 10000000000
}
};
</code></pre>
<p>And test:</p>
<pre><code>loginPage = require './pages/log_in_page'
describe 'Log In', ->
it 'shows after login', ->
loginPage()
.setEmail('[email protected]')
.setPass('a46s75d4as765d4a6s7d54as76d5as74das76d5')
</code></pre>
<p>Get info from page:</p>
<pre><code>module.exports = ->
@email = element By.css '.test-i-login'
@password = element By.css '.test-i-password'
@setEmail = (name) =>
@email.sendKeys(name)
this
@setPass = (number) =>
@password.sendKeys(number)
this
this
</code></pre>
<p>There're some similar issues on github, but there I didn't find a solution working for me. Thx for answering.</p>
| 0non-cybersec
| Stackexchange |
Characteristic Polynomial of a matrix and its transpose. <p>Does a matrix and and its transpose have the same characteristic polynomial? I know that they have the same eigenvalues but different eigenvectors. Does having the same eigenvalues mean they share the same characteristic polynomial?</p>
| 0non-cybersec
| Stackexchange |
Health for all in Saudi Arabia .. | 0non-cybersec
| Reddit |
Time stamp for pictures actually taken before being sent to recipient on iphone. <p>My boyfriend sent me a picture from his Iphone 6, I have an iphone 5. I wanted to know if it was possible to find out when the picture was actually taken, not just sent to me or saved on my own iphone. Is there any way to find this out? I have used certain apps to find out with no luck. They only show me when I saved the picture sent to my phone or when he sent the picture to me in a text. Does anyone know?</p>
| 0non-cybersec
| Stackexchange |
An aplication of the Hahn-Banach separation theorem: multiplier rule. <p>In convex analysis optimization, I would like to show that the necessary conditions of the multiplier rule correspond to the nonexistence of a decrease direction. I would like to prove the following theorem:</p>
<p><strong>Theorem:</strong> Let <span class="math-container">$\{\zeta_i : i = 1,2,...,k \}$</span> finite subset in <span class="math-container">$X^{*}$</span> - dual space of the normed space <span class="math-container">$X$</span>. The following are equivalent:</p>
<p><span class="math-container">$(a)$</span> There is no <span class="math-container">$v \in X$</span> such that <span class="math-container">$\langle \zeta_i , v \rangle < 0 , \forall i = 1,...,k$</span>;</p>
<p><span class="math-container">$(b)$</span> The set <span class="math-container">$\{\zeta_i : i = 1,2,...,k \}$</span> is positively linearly dependent : there exists a nonzero nonnegative vector <span class="math-container">$\gamma \in \mathbb{R}^k$</span> such that <span class="math-container">$\sum_{1}^{k} \gamma_i \zeta_i = 0$</span>.</p>
<p><span class="math-container">$\quad$</span> To prove <span class="math-container">$(a) \implies (b)$</span>, I will construct two subsets and I try to use the separation theorem. Before, I enunciate such theorem:</p>
<p><strong>(Hahn-Banach separation theorem)</strong></p>
<p><em>Let <span class="math-container">$K_1$</span> and <span class="math-container">$K_2$</span> be nonempty, disjoint
convex subsets of the normed space <span class="math-container">$X$</span>. If <span class="math-container">$K_1$</span> is open, then the sets can be separated. That is, there exist <span class="math-container">$\gamma$</span> ∈ <span class="math-container">$X^{*}$</span> and <span class="math-container">$\eta$</span> ∈ R such that
<span class="math-container">$$\langle \gamma , x \rangle < \eta \leq \langle \gamma , y \rangle, \quad \forall x \in K_1 , y \in K_2.$$</span></em></p>
<p>To apply the separation theorem, let</p>
<p><span class="math-container">$$K_1 = \{y \in \mathbb{R}^k : y_i < 0, \forall i\}, \quad K_2 = \{ (\langle \zeta_1 , v \rangle , ..., \zeta_k , v \rangle) : v \in X \}$$</span></p>
<p>The sets <span class="math-container">$K_1 , K_2$</span> are both convex and nonempty. By <span class="math-container">$(a)$</span> the sets are disjoint. Then, by the separation theorem, exist <span class="math-container">$\eta \in \mathbb{R}$</span> and <span class="math-container">$\gamma \in \mathbb{R}^k$</span>. It is straightforward show that <span class="math-container">$\eta = 0$</span> and</p>
<p><span class="math-container">$$ 0 \leq \sum \gamma_i \langle \zeta_i , v \rangle, \quad \forall v \in X.$$</span></p>
<p>I can't show the nonnegative of <span class="math-container">$\gamma$</span> and the other inequality</p>
<p><span class="math-container">$$ 0 \geq \sum \gamma_i \langle \zeta_i , v \rangle, \quad \forall v \in X.$$</span></p>
<p>Some help?</p>
| 0non-cybersec
| Stackexchange |
Who is fake news again ?. | 0non-cybersec
| Reddit |
Increase number of recent files in Mint start menu. <p>The Cinnamon start menu only shows up to 20 items under "Recent Files", how do I increase this limit?</p>
<p>I want to do this because typing a search term into the start menu search bar only considers these 20 items, so it is often unable to find the file I'm looking for.</p>
<p>Further info:</p>
<ul>
<li>searching for "recent" in <code>dconf-editor</code> did not bring up any relevant settings</li>
<li><code>nemo</code> (file manager) shows way more items in its "Recent" list (for me it's currently 586, this seems to be limited to exactly 1 month)</li>
</ul>
| 0non-cybersec
| Stackexchange |
T SQL: How get all minutes from Time type. <p>I have the following code and I want get all minutes from time type.</p>
<pre><code>declare @time time
set @time = '01:30'
declare @minutes int
--select @minutes = convert time to minutes here
select @minutes -- @minutes == 90
</code></pre>
<p>Please help.</p>
| 0non-cybersec
| Stackexchange |
300 pets who were saved during Hurricane Harvey are brought to Seattle and put into foster care. | 0non-cybersec
| Reddit |
Is there a way to manage and sort lots of wireless networks on OS X?. <p>On OS X you can manage your wireless networks; that is drag them to set preferred order, delete ones you don't want any more, etc.</p>
<p>The only problem is that there is a tiny window which only shows ~4 networks at a time.</p>
<p>Is there some way to be able to see more of the networks at once, and perhaps sort by name?</p>
<p><img src="https://i.stack.imgur.com/UdrYG.jpg" alt="enter image description here"></p>
| 0non-cybersec
| Stackexchange |
Will the Earth Ever Fill Up?. | 0non-cybersec
| Reddit |
Auslander-Reiten-Quivers of representation-finite algebras having different 3-dimensional forms. <p>I am looking for references, where I can find (pictures of) connected Auslander-Reiten-Quivers of representation-finite $k$-algebras ($k$ is a (preferably, but not necessarily finite) field) with one or more of the following properties:</p>
<p>1) the Auslander-Reiten quiver contains two cylinders (so, there are periodic modules), but also many non-periodic modules</p>
<p>2) the Auslander-Reiten quiver contains a Moebius strip, but also many non-periodic modules</p>
<p>In the first case, I was thinking of something like</p>
<p><a href="https://i.stack.imgur.com/Zmfsp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Zmfsp.png" alt="enter image description here"></a></p>
<p>where the colored modules are identified...but with 2 cylinders (I should have added the second one at the top of the non-Tau-periodic modules)...and in the second case, I was thinking of something like </p>
<p><a href="https://i.stack.imgur.com/6UpzP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6UpzP.png" alt="enter image description here"></a></p>
<p>But, I'm not sure, if any of these can happen...</p>
<p>Thanks for the help!</p>
<p>EDIT: Having some algebras as examples, but without the pictures, would also be nice. </p>
| 0non-cybersec
| Stackexchange |
How to increase the playback speed of a recorded WebEx meeting?. <p>My company records WebEx meetings. Playing them back usually starts in IE and then jumps to a standard WebEx client (showing the shared screen and participants list), and also has the playback controls (play, stop, volume, slider), and a table of contents window (where you can navigate / jump between slides).</p>
<p>Is there any way to increase the playback speed of the meeting (like how Youtube now allows you to play .25, .50, Normal, 1.25, 1.50, and 2.0 times the speed)? If so, how?</p>
| 0non-cybersec
| Stackexchange |
Snapchat is the new MS Paint. | 0non-cybersec
| Reddit |
/u/Lazy_DEA_Agent explains regulating alcohol like marijuana under current laws.. | 0non-cybersec
| Reddit |
Visual studio 2015 not removing pending changes immediately after a check-in (TFS 2015). <p>When my team and I were on visual studio 2013, after successfully checking in our pending changes, the files that were checked in would be removed from the pending changes window. </p>
<p>Ever since upgrading to 2015, we have lost this functionallity. Now, after a successfuly check in, the pending changes will remain in the pending changes window until they are manually undone or and identical check in is undertaken in which case all of the files will sync themselves with source control and will no longer be pending changes. </p>
<p>When diffing the files with their counterparts in source control after a successful check in, it is clear that there are no changes between the two despite the fact they are still in the pending changes window. Is it possible that we have overlooked a simple setting that allows us to sync with TFS immediatelyafter a check in?</p>
<p>Thanks</p>
| 0non-cybersec
| Stackexchange |
Big Boi-Fo Yo Sorrows. | 0non-cybersec
| Reddit |
Schönhage-Strassen multiplication. <p>I am trying to implement the Schönhage-Strassen algorithm (SSA) for multiplying large integers, but it only gives the right result if all $\delta_j$ are zero. I'll explain what I mean by this:</p>
<p>SSA (as described in the original 1971 paper <em><a href="http://www.scribd.com/doc/68857222/Schnelle-Multiplikation-gro%C3%9Fer-Zahlen" rel="nofollow">Schnelle Multiplikation großer Zahlen</a></em>) basically works like this:</p>
<ol>
<li>Let $a$ and $b$ be two integers to multiply.</li>
<li>Determine $n$. Roughly speaking, $n$ will be about $\frac12 \log_2 \log_2 \max(a,b)$</li>
<li>Compute integers $z_j$ such that $a\cdot b=\sum\limits_j z_j\cdot2^{j\cdot2^{n-1}}$, as follows:
<ol>
<li>Compute $\xi_j\equiv z_j \pmod {2^{2^n}+1}$; this step performs an FFT+iFFT</li>
<li>Compute $\eta_j\equiv z_j \pmod {2^{n+2}}$</li>
<li>Compute $z_j$ from $\xi_j$ and $\eta_j$:
<ol>
<li>$\delta_j\equiv\eta_j-\xi_j \pmod {2^{n+2}}$ <strong><--- THIS IS THE $\delta_j$ MENTIONED ABOVE</strong></li>
<li>$z_j=\xi_j+\delta_j(2^{2^n}+1)$</li>
</ol></li>
</ol></li>
<li>Output $\sum\limits_j z_j\cdot2^{j\cdot2^{n-1}}$</li>
</ol>
<p>I tested the other parts of the code, and I even did a a complete example with pencil and paper. Plus, everything works when $\delta=0$, so I'm pretty certain the problem is in step 3.3 or 4.</p>
<p><a href="http://en.wikipedia.org/wiki/Sch%C3%B6nhage%E2%80%93Strassen_algorithm" rel="nofollow">Wikipedia</a> doesn't go into enough detail to even mention $\xi_j$ and $\eta_j$.</p>
<p>Does anyone know of a working example, sample code, or other information that might help me track down the problem?</p>
<p>Edit: I will put the code online if I get it to work.</p>
<p>Edit 2: I uploaded some Java code <a href="http://pastebin.com/7QbXtEjM" rel="nofollow">here</a>. It runs as a regular Java program; the output shows one working example and one that doesn't work. Computation of $\delta,\xi,\eta,z_r$ happens in lines 148-160.</p>
<p>Also, there is a modified version <a href="http://pastebin.com/YEBE1s43" rel="nofollow">here</a> which uses much smaller input values, but I head to tweak the code so it handles pieces less than one byte.</p>
| 0non-cybersec
| Stackexchange |
Implementation-independent floating-point/integer conversions. <p>Suppose <code>I</code> is some integer type and <code>F</code> some (real) floating point type.</p>
<p>I want to write two functions. The first function shall take a value <code>i</code> of type <code>I</code> and return a boolean indicating whether <code>i</code> converted to <code>F</code> falls into the representable range, i.e. whether <code>(F)i</code> will have defined behavior.</p>
<p>The second function shall take a value <code>f</code> of type <code>F</code> and return a boolean indicating whether <code>f</code> converted to <code>I</code> falls into the representable range, i.e. whether <code>(I)f</code> will have defined behavior.</p>
<p>Is it possible to write such a function that will be, on every implementation conforming to the standard, correct and not exhibit undefined behavior for any input? In particular I do not want to assume that the floating point types are IEEE 754 types.</p>
<p>I am asking about both C and C++ and their respective standard versions separately, in case that changes the answer.</p>
<p>Basically the intention of this question is to figure out whether (sensible) floating-point / integral conversions are possible without relying on IEEE 754 or other standards or hardware details at all. I ask out of curiosity.</p>
<p>Comparing against e.g. <code>INT_MAX</code> or <code>FLT_MAX</code> does not seem to be possible, because it is not clear which type to do the comparison in without already knowing which of the types has wider range.</p>
| 0non-cybersec
| Stackexchange |
Camera failed time out error for azure kinect. <p>What should I do when I launch the "k4aviewer" SDK with "Azure Kinect SDK v1.1.0" and an error message of "camera failed time out" appears?</p>
| 0non-cybersec
| Stackexchange |
Dimension of a phase space. <p>Consider the differential equation
<span class="math-container">$\dot x=v(t,x).$</span><br>
Is the phase space dimension two here? Cuz <span class="math-container">$x$</span> and <span class="math-container">$t$</span>, both are required to determine <span class="math-container">$\dot x$</span>, all of which then specify the state of the system uniquely.</p>
<p>Now consider <span class="math-container">$\dot x=v(x).$</span><br>
Is the dimension one here? Cuz we only need to specify <span class="math-container">$x$</span> for the system to know its state uniquely. (It’s invariant under <span class="math-container">$t$</span>-translations.)</p>
| 0non-cybersec
| Stackexchange |
Why do Bootstrap functions start with a + sign?. <p>I noticed a + sign preceeding a function in the bootstrap.js code and wondered what effect this has or is it just for fun?</p>
<p><img src="https://i.stack.imgur.com/xa5kE.png" alt="twitter bootstrap"></p>
| 0non-cybersec
| Stackexchange |
The culprit behind the boulder crashing through the Italian vineyard. | 0non-cybersec
| Reddit |
When solving an ODE using power series method, Why do we need to expand the solution around the singular point?. <p>When solving a differential equation using series expansion method, if it has the following form :</p>
<p>$$y''+\frac{p(x)}{x}y'+\frac{q(x)}{x^2}y=0$$</p>
<p>; where $p$ and $q$ are analytic at $x_0$; if we want to find the solution in a series fprm expanded around $x_0$, it can't be solved using the regular method of series expansion and we must use Frobenius method to find the series around $x_0$.</p>
<p>Why do we need to expand around the singular point? why we don't solve the equation by expanding $y$ around a regular, nonsingular point (I mean a point different than $x_0$) and without using Frobenius method ? Is it a matter of convergence of the solution series at the singularity point?</p>
| 0non-cybersec
| Stackexchange |
The second part highlights the truth. | 0non-cybersec
| Reddit |
What is the $n$ th derivative of $\ln(x)/(1+x^2)\:?$. <p>I'm into something but I came across the problem of finding a closed form for</p>
<p><span class="math-container">$$\left( \frac{\ln x}{1+x^2} \right)^{(n)}$$</span></p>
<p>where the little <span class="math-container">$(n)$</span> denotes the <span class="math-container">$n$</span> th derivative of the function. After looking in some softwares, I believe the closed form is a rational function with <span class="math-container">$\ln x$</span> as a factor.</p>
<p>Thank for any help.</p>
<p>Edit: I found a way to change the problem above to this one:</p>
<p><span class="math-container">$$ \left( \frac{\partial }{\partial x}\frac{(1-x)}{(1+x^2)(1-(1-x)y)}\right)^{(n)}$$</span></p>
<p>maybe this is easier?</p>
<p>EDIT <span class="math-container">$2$</span>: I said closed formula but forgot to mention something easy to handle, and a summation like <span class="math-container">$\sum_{k=0}^n \cdots$</span> is hard, because after finding the derivative I'll need to find it's maximum...</p>
<p>A good example of what I mean <a href="https://math.stackexchange.com/questions/2950916/finding-the-2n1-th-derivative-of-fracy2n1xy1-x2y2-with-respect-t">Finding the $2n+1$ th derivative of $\frac{y^{2n+1}xy}{1-x^2y^2}$ with respect to $x$.</a></p>
<p>I'm trying to establish the irrationality of a constant using Beuker's integrals, and using this approach you'll eventually need to find the <span class="math-container">$n$</span> th derivative of a function. In this case it can be either the first function or the second showed here. The <span class="math-container">$y$</span> in the second came from a substitution in the Beuker's integral.</p>
| 0non-cybersec
| Stackexchange |
how to attach (mount) VHD which is currently used by Hyper-V VM to the host?. <p>I want to be able to read data from the Hyper-V VMs on the host. I understand I can go to DISM and attach VHD there - but it requires a VM to be offline - otherwise I get the following error:</p>
<blockquote>
<p>Virtual Disk Manager</p>
<p>The process cannot access the file because it is being used by another process. </p>
</blockquote>
<p>Are there any ways to achieve this while keeping VM online? I want this primary for making backups easier.</p>
| 0non-cybersec
| Stackexchange |
What is needed to prove the consistency of Tarski's Euclidean geometry?. <p>This question might be too elementary for MO, in which case I would gladly move it to math.stackexchange.com </p>
<p>Consider <a href="https://en.wikipedia.org/wiki/Tarski's_axioms">Tarski's axiomatization</a> of Euclidean Geometry. It is stated in the wikipedia page linked and many other places that Tarski proved this first-order theory to be complete and consistent. My question concerns consistency: the proofs I have seen in model-theoretic literature reduce to the triviality that Euclidean geometry has a model in set theory (namely $\mathbb R^2$), so these proofs are actually proofs of the relative consistency of Euclidean Geometry with respect to set theory. But surely there must be a proof of the consistency of Tarski's axioms using only a considerably less powerful theory than set theory (whose consistency may itself be in doubt). </p>
<blockquote>
<p>What (hopefully weak) meta-theory is needed to prove that Tarski's axioms are consistent? </p>
</blockquote>
<p>For example, what about Tarski's original proof (that I can't track down on the internet)? Or perhaps more recent proofs? More philosophically, is there a proof of the consistency of these axioms that Hilbert would call <em>finitist</em>?</p>
| 0non-cybersec
| Stackexchange |
external disk formated with NTFS not working on Mac. <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://apple.stackexchange.com/questions/10628/hard-drive-read-only-access-with-mac">Hard drive read only access with Mac</a> </p>
</blockquote>
<p>I bought new 1 TB <strong>WD My Passport</strong> and format it with NTFS on windows XP. and now when I connect it on mac, I see the drive but I cant add files to it.</p>
<p>what is the issue?</p>
<p>Thanks,</p>
| 0non-cybersec
| Stackexchange |
My biggest visual turn-on is my husband's erect cock straining against his boxers. What visuals really get you going?. My husband is an incredibly sexy man, face and body-wise, so of course looking at him is a turn-on in general. But one thing that gets me going like none other is simply seeing him with a boner in nothing but his underwear. He favors this style of boxers: http://www.hisroom.com/hanes-7460p4-comfort-soft-waistband-boxer-brief-4-pack.shtml ...kinda form-fitting.
When I see him approach me with his hard cock straining against the fabric, it drives me wild. I can't resist getting my face down there to rub up against him, feeling the hardness and smelling his pre-cum through the fabric. Then I get to unwrap his dick and lick it and suck it and devour it like the delicious treat it is. Oh my!!!
Ahem...so, what sights really get YOUR juices flowing??
EDIT: just replaced the linked image
| 0non-cybersec
| Reddit |
Ubuntu software-center not loading. <p>I have tried loading up the software center in order to install some packages but it doesnt seem to open. I tried entering the following command in terminal:</p>
<pre><code>software-center
</code></pre>
<p>and get the following error:</p>
<pre><code>bash: /usr/bin/software-center: /usr/bin/python: bad interpreter: Permission denied
</code></pre>
<p>Any assistance would be appreciated. I am running on Ubuntu 14.04.</p>
<p>I have also tried uninstalling and reinstalling it using: </p>
<pre><code>sudo apt-get remove software-center
sudo apt-get install software-center
</code></pre>
<p>To no avail. </p>
<p>I also tried <code>sudo apt-get install -f</code> and received the following output: </p>
<pre><code>Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libntdb1 linux-headers-4.2.0-27 linux-headers-4.2.0-27-generic
linux-image-4.2.0-27-generic linux-image-extra-4.2.0-27-generic python-ntdb
python-support
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
11 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libglib2.0-dev (2.40.2-0ubuntu1) ...
/var/lib/dpkg/info/libglib2.0-dev.postinst: 6: /var/lib/dpkg/info/libglib2.0-dev.postinst: pycompile: not found
dpkg: error processing package libglib2.0-dev (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of libatk-bridge2.0-dev:amd64:
libatk-bridge2.0-dev:amd64 depends on libglib2.0-dev (>= 2.4.1-2); however:
Package libglib2.0-dev is not configured yet.
dpkg: error processing package libatk-bridge2.0-dev:amd64 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libatk1.0-dev:
libatk1.0-dev depends on libglib2.0-dev (>= 2.31.2); however:
Package libglib2.0-dev is not configured yet.
dpkg: error processing package libatk1.0-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libcairo2-dev:
libcairo2-dev depends on libglib2.0-dev; however:
Package libglib2.0-dev is not configured yet.
dpkg: error processing package libcairo2-dev (--configure):
dependency problems - leaving unconNo apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
figured
dpkg: dependency problems prevent configuration of libgdk-pixbuf2.0-dev:
libgdk-pixbuf2.0-dev depends on libglib2.0-dev (>= 2.37.6); however:
Package libglib2.0-dev is not configured yet.
dpkg: error processing package libgdk-pixbuf2.0-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libpango1.0-dev:
libpango1.0-dev depends on libglib2.0-dev (>= 2.34.0); however:
Package libglib2.0-dev is not configured yet.
libpango1.0-dev depends on libcairo2-dev (>= 1.12.10); however:
Package libcairo2-dev is not configured yet.
dpkg: error processing package libpango1.0-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgtk-3-dev:
libgtk-3-dev depends on libglib2.0-dev (>= 2.37.5); however:
Package libglib2.0-dev is not configured yet.
libgtk-3-dev depends on libgdk-pixbuf2.0-dev (>= 2.27.1); however:
Package libgdk-pixbuf2.0-dev is not configured yet.
libgtk-3-dev depends on libpango1.0-dev (>= 1.32.4); however:
Package libpango1.0-dev is not configured yet.
libgtk-3-dev depends on libatk1.0-dev (>= 2.7.5); however:
Package libatk1.0-dev is not configured yet.
libgtk-3-dev depends on libatk-bridge2.0-dev; however:
Package libatk-bridge2.0-dev:amd64 is not configured yet.
libgtk-3-dev depends on libcairo2-dev (>= 1.13.0~20140204); however:
Package libcairo2-dev is not configured yet.
dpkg: error processing package libgtk-3-dev (--configure):
dependency problems - leaving unconfigured
Setting up python-support (1.0.15) ...
/var/lib/dpkg/info/python-support.postinst: 20: /var/lib/dpkg/info/python-support.postinst: update-python-modules: not found
dpkg: error processing package python-support (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Setting up python-wxversion (2.8.12.1+dfsg-2ubuntu2) ...
/var/lib/dpkg/info/python-wxversion.postinst: 6: /var/lib/dpkg/info/python-wxversion.postinst: pycompile: not found
dpkg: error processing package python-wxversion (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-wxgtk2.8:
python-wxgtk2.8 depends on python-wxversion (>= 2.6.3.2.2-2); however:
Package python-wxversion is not configured yet.
dpkg: error processing package python-wxgtk2.8 (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Setting up software-center (13.10-0ubuntu4.1) ...
/var/lib/dpkg/info/software-center.postinst: 8: /var/lib/dpkg/info/software-center.postinst: pycompile: not found
dpkg: error processing package software-center (--configure):
subprocess installed post-installation script returned error exit status 127
No apport report written because MaxReports is reached already
Errors were encountered while processing:
libglib2.0-dev
libatk-bridge2.0-dev:amd64
libatk1.0-dev
libcairo2-dev
libgdk-pixbuf2.0-dev
libpango1.0-dev
libgtk-3-dev
python-support
python-wxversion
python-wxgtk2.8
software-center
</code></pre>
| 0non-cybersec
| Stackexchange |
Cursed white out. | 0non-cybersec
| Reddit |
Hot take: I think Catcher in the Rye is overrated.. So I know a lot of people will disagree with me but it's fine. If you like the book that's great.
I've had a pretty long history with Catcher in the Rye.
I'm a French Canadian college student so English was my second language (French being the first one obviously). You start learning English at 6 years old since the rest of the entire continent speaks English and a few Canadians make the effort of learning French. I personally really like my English class except for one particular thing: Catcher of the Rye.
Im fully aware it's a classic, "everyone needs to read it once in their lifetime" and I agree with that, but it's getting truly ridiculous.
My English teachers in high school were basically creating some kind of religion out of it. Every YEAR we had to read it to see if our perception of the book had changed. We even did a trip to New York where the main goal was to follow the steps of Holden Caulfield around the city (while reading the book during our trip simultaneously). My perception of the book as then got worst every year, every time I reread it, I get tired of the nonchalance of the main character, the metaphors with the ducks of central park. It has become for me one of the worst book I've ever read cause I'm so fed up with it.
To my surprise, my English teacher in college also wanted us to read it and I just blew up. There are soo much more English classics that we could've read and I think Catcher in the Rye is overrated. My teachers would always say that it's impossible to dislike a book that took so many years to write and I honestly don't see the point.
I wonder if it's the same thing in the reste if Canada/USA or you guys were lucky enough to read something else. I'm starting to think my teachers were just crazy. | 0non-cybersec
| Reddit |
How to disable camera microphone on AVCapture device input. <p>I am setting a microphone on a <code>AVCaptureSession</code> and I am in need of a switch for the mic. How should I proceed with this?
Do I really need to the <code>captureSession?.removeInput(microphone)</code>, or is there an easies way?</p>
<pre><code>let microphone = AVCaptureDevice.defaultDevice(withMediaType: AVMediaTypeAudio)
do {
let micInput = try AVCaptureDeviceInput(device: microphone)
if captureSession.canAddInput(micInput) {
captureSession.addInput(micInput)
}
} catch {
print("Error setting device audio input: \(error)")
return false
}
</code></pre>
| 0non-cybersec
| Stackexchange |
Spring Data Rest Validation Confusion. <p>Looking for some help with Spring data rest validation regarding proper handling of validation errors:</p>
<p>I'm so confused with the docs regarding spring-data-rest validation here: <a href="http://docs.spring.io/spring-data/rest/docs/current/reference/html/#validation" rel="noreferrer">http://docs.spring.io/spring-data/rest/docs/current/reference/html/#validation</a></p>
<p>I am trying to properly deal with validation for a POST call that tries to save a new Company entity</p>
<p>I got this entity:</p>
<pre><code>@Entity
public class Company implements Serializable {
@Id
@GeneratedValue
private Long id;
@NotNull
private String name;
private String address;
private String city;
private String country;
private String email;
private String phoneNumber;
@OneToMany(cascade = CascadeType.ALL, mappedBy = "company")
private Set<Owner> owners = new HashSet<>();
public Company() {
super();
}
</code></pre>
<p>...</p>
<p>and this RestResource dao</p>
<pre><code>import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RestResource;
import com.domain.Company;
@RestResource
public interface CompanyDao extends PagingAndSortingRepository<Company, Long> {
}
</code></pre>
<p>POST Request to api/Companies:</p>
<pre><code>{
"address" : "One Microsoft Way",
"city" : "Redmond",
"country" : "USA",
"email" : "[email protected]",
"phoneNumber" : "(425) 703-6214"
}
</code></pre>
<p>When I issue a POST with a null name , I get the following rest response with httpcode 500</p>
<p>{"timestamp":1455131008472,"status":500,"error":"Internal Server Error","exception":"javax.validation.ConstraintViolationException","message":"Validation failed for classes [com.domain.Company] during persist time for groups [javax.validation.groups.Default, ]\nList of constraint violations:[\n\tConstraintViolationImpl{interpolatedMessage='may not be null', propertyPath=name, rootBeanClass=class com.domain.Company, messageTemplate='{javax.validation.constraints.NotNull.message}'}\n]","path":"/api/companies/"}</p>
<p>I tried creating the following bean, but it never seems to do anything:</p>
<pre><code>@Component(value="beforeCreateCompanyValidator")
public class BeforeCreateCompanyValidator implements Validator{
@Override
public boolean supports(Class<?> clazz) {
return Company.class.isAssignableFrom(clazz);
}
@Override
public void validate(Object arg0, Errors arg1) {
System.out.println("xxxxxxxx");
}
}
</code></pre>
<p>and even if it did work, how would it help me in developing a better error response with a proper http code and understandable json response ?</p>
<p>so confused </p>
<p>using 1.3.2.RELEASE</p>
<pre><code><parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.3.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
</code></pre>
| 0non-cybersec
| Stackexchange |
Get integer part of number. <p>So I have a table with numbers in decimals, say</p>
<pre><code>id value
2323 2.43
4954 63.98
</code></pre>
<p>And I would like to get</p>
<pre><code>id value
2323 2
4954 63
</code></pre>
<p>Is there a simple function in T-SQL to do that?</p>
| 0non-cybersec
| Stackexchange |
vagrant no space left on device. <p>Today I started getting errors on simple operations, like creating small files in <code>vim</code>, the bash completion started to complain as well.</p>
<p>Here is the result of <code>df -h</code> :</p>
<pre><code>vagrant@machine:/vagrant$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 40G 38G 249M 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 2.0G 12K 2.0G 1% /dev
tmpfs 396M 396K 395M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
none 100M 0 100M 0% /run/user
overflow 1.0M 148K 876K 15% /tmp
192.168.50.1:/Users/nha/repo/assets 233G 141G 93G 61% /var/www/assets
vagrant 233G 141G 93G 61% /vagrant
</code></pre>
<p>So apparently <code>/</code> doesn`t have space anymore ? Isn't it weird since I have space in the other filesystems (or am I misreading something) ?</p>
<p>How do I get more space on my vm ?</p>
| 0non-cybersec
| Stackexchange |
Police dog apprehends naked rape suspect. | 0non-cybersec
| Reddit |
Laser eyed Gandhi is the best kind of Gandhi. | 0non-cybersec
| Reddit |
how to use event onChange in ionic2. <p>Basically I am trying to make a registration form in which I have some drop down lists. And I want to apply "(change)" event on it which will trigger a function whenever value will be changed or we can say value be selected from that drop down list and based on that I will be assigning next fields dynamically but this event is not working on drop-down while its working fine with text fields.
Can someone help me out with this?</p>
<p>Sample code:</p>
<p>home.html --></p>
<pre><code><ion-header>
<ion-navbar>
<ion-title>Home</ion-title>
</ion-navbar>
</ion-header>
<ion-content padding>
<form [formGroup]="myForm">
<ion-item>
<ion-label>Dropdown1 :</ion-label>
<ion-select formControlName="dd" (ionChange)='f()' #dd>
<ion-option value='1'>A</ion-option>
<ion-option value='2'>B</ion-option>
<ion-option value='3'>C</ion-option>
<ion-option value='4'>D</ion-option>
</ion-select>
</ion-item>
<ion-item>
<ion-label>Dropdown2 :</ion-label>
<ion-select>
<ion-option value='1'>E</ion-option>
<ion-option value='2'>F</ion-option>
<ion-option value='3'>G</ion-option>
<ion-option value='4'>H</ion-option>
</ion-select>
</ion-item>
</form>
</ion-content>
</code></pre>
<p>home.ts --></p>
<pre><code>import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
@Component({
selector: 'page-home',
templateUrl: 'home.html'
})
export class HomePage {
constructor(public navCtrl: NavController) {
}
function f(){
alert('Value Changed!');
alert(this.myForm.dd);
}
}
</code></pre>
| 0non-cybersec
| Stackexchange |
TIFU by not wanting to use the toilet in a house full of strangers. So. This actually happened last weekend. I'm a grown man. Father of two kids aged 11 and 6. This July 4th my wife took us all down to the coast for a 3 day July 4th party at the house of a long-time friend of hers. I've met a few of these people once or twice. Acquaintances at best.
Well we arrive Sunday afternoon. Get our tent set up and are hanging out on the porch and have a couple of drinks. I feel the need to take a shit but it isn't an emergency. The bathroom is just off the kitchen where a good number of folks are hanging out prepping food/making drinks. I didn't want to bomb the bathroom within the first few hours of meeting everyone.
About this same time someone mentions that we'll need ice soon. I volunteer to make the run. It should be noted that this house is on the waterfront deep in a residential neighborhood with 15mph streets full of families walking to the beach and kids riding their bikes.
I get just down the road and the stomach cramp hits hard and i realize i've probably made a mistake. But I know, from the way in, just at the head of the neighborhood, to my left, is a store. So I make my way to the intersection.
What I didn't realize is that you can't take a left off the main highway into the store, you have to go down about a mile and make a u-turn. Well. About a half-mile in my sphincter threw in the towel and I shit myself right there.
I almost cried. This is bad. Really bad. but it's mostly solid so nothing is running across the seats etc. Thankfully the luggage is still in the car so I have a change of clothes. I tried to find a truck stop thinking i could duck in and take a shower damn the strangers that see the shit stain in my shorts. No luck on the map app. Dial up a rest area and start heading that way.
Then the cramps start in again. fuck fuck fuck this one feels a bit looser. At this point I'm driving through a state park area with little to no traffic and trail heads every once in a while.
I pull into a trail head that has a long drive way. Get out of the car, grab a change of briefs and shorts dig through the car to find the baby wipes (there's only 6 in the can...). I start making my way into the woods keeping an ear out for cars. About 10 yards from the car the shit train gets going again and i hoof it off the edge of the trail, get my shorts and briefs off, but not before shitting myself a bit more and I'm able to squat and get the bulk of it on the ground and not on me. My ass, the back of my knee, and my inner thighs are a mess.
Thankfully I managed to get far enough into the woods that I can't be seen from the road but if anyone should pull into the trail head I'm probably fucked and, i realize, will likely have to, on top of everything else, register as a sex offender....
I chuck my pants and soiled briefs away from me and start trying to clean up with 6 or 7 wet wipes. I'm able to get the shit off me but obviously not the stink. I put on clean briefs and shorts and bag up my dirty laundry in a grocery bag stuffed under the seat (kept there to curb the dog...)
So I still can't really go back as I smell like shit and i'm not really clean. Also I still need to shit. Notice I managed to get shit on my shoe and my belt as well.
Log onto hotels.com and find a place 10 minutes away that's 80 a night. Fine. book the room. This place is a total shithole. Like sign on the office "bang on door of room 103 to check in". The mirror in the room is leaning against the wall. Smoke detector is hanging from wires. But, doesn't really matter I just want to shower. On the way there stopped by a gas station and left a most unpleasant suprise in the bin for the poor bastard that has to empty the trans bins...
I get showered when the phone rings. Wife wants to know where I am. Told her I decided to go for a walk in the state park nearby since I had been in a foul mood earlier (which was true) and thought the fresh air and alone time would be good. She asked if i'd be back soon. Told her probably within the hour.
Thankfully I had one pair of shorts that looked similar to the shitty ones. If not i was prepared to further my lie and say I took a swim and come back in swim trunks.
Now the briefs and shorts I was wearing for the ride from the woods to the shower also stank of shit. Shorts not so bad. Briefs, tossed in the trash at the Truck stop which, to my aggravation, turned out to be literally next door to the motel. Could have saved myself 90$. But fine whatever.
At the truck stop I picked up a new pack of wet wipes. Cleaned off my belt as best I could, and the seat of the car. The car seat didn't have any shit on it really as the in-car shit was more solid than juicy. But it still had the essence of shit. About 3 wipes took care of that.
I washed my hands many more times. I could still smell the faintest odor of shit on me though. But it was as good as I was going to get. made it back to the party 1 pair of shorts and 2 pair of briefs lighter, I also missed dinner in the two hours i was out "getting ice".
The resident canine party goers did their best to give me away and couldn't get enough of sniffing me. They knew what had happened and had a look in their eyes of "it's a good thing for you we can't talk pal!".
But my lie about taking a walk in the state park, which was kinda true..., was bought in full and I got myself into a 2nd shower ASAP.
Lesson learned, next time I'll not let my anxiety get the better of me and will have no issues stinking up the house and owning it. strangers or not.
Once or twice each day of the 3 day stay I contemplated how weird it would have been had I not been able to find a way to hide my fuck-up from my new friends.... or how much easier it would have been to just use the fucking toilet and open a window.....
Given my initial fuckup I'm pretty glad I was able to get out with a $90 hotel bill, and $30 in clothes. I figure it'll be a few years before I tell the wife. But I have to tell her eventually, on the condition that she tells no one that was there. It's to funny not to.
TL;DR: Grown ass man leaves party to take a shit. Shits himself on the drive. Finds a state park trail head to kinda clean himself up at. Books a $90 hotel room for a shower, misses dinner and throws away $30 worth of clothes. | 0non-cybersec
| Reddit |
How many cuts does it take to remove any $n$ vertices from an $m$-dimensional hypercube?. <p>For instance, in $m=3$ dimensions (cube), the following $n=3$ corners (red) can be cut off with a minimum of $C=2$ planes (blue). (Note you are only allowed to cut off the vertices in red.)</p>
<p><img src="https://i.stack.imgur.com/bshF7.png" alt="enter image description here"></p>
<p>So what about the general case of $n$ vertices on an $m$-dimensional hypercube? What is the minimum number of cuts $C(m,n)$ required to cut off any $n$ given vertices?</p>
| 0non-cybersec
| Stackexchange |
Read massive flat file into relational database. <p>I have a massive flat text file with ~4M records that I would like to read into MySQL using Ruby/Rails, Python, or any other method.</p>
<p>The flat file is roughly this format:
business_name,address,city,state,zip,employee_name</p>
<p>If there are multiple employees at the business, there will be one row for each employee with the business name, address, etc. repeated.</p>
<p>I'd like to read this in to two tables structured with the employees table having a foreign key like so:</p>
<pre><code>businesses (id int, name varchar, address varchar, city varchar, etc.)
employees (id int, name varchar, business_id int)
</code></pre>
<p>How do I go about efficiently reading this file in so that the employees/businesses are created and referenced as needed?</p>
<p>Note: it is NOT safe to assume that the file is sorted.</p>
<p>I've tried reading the file into SQL first and then using SQL to get a unique list of business_name/address/city/state combinations that I could then insert into the businesses table, but my server runs out of memory. And this is only with 1/4th of the records loaded.</p>
| 0non-cybersec
| Stackexchange |
Sudo Shutdown Now on Mavericks. <p>I had <a href="http://hints.macworld.com/article.php?story=20010406122933611" rel="nofollow">read</a> that you can "quietly shut down to single user mode" by running, within terminal:</p>
<pre><code>sudo shutdown now
</code></pre>
<p>This sounds far preferable to having to restart the computer and hold CMND+S. However - at least in Mavericks it doesn't seem to work.</p>
<p>I'm getting:</p>
<pre><code>shutdown: -h, -r, -s, or -k is required
usage: shutdown [-] [-h [-u] [-n] | -r [-n] | -s | -k] time [warning-message ...]
</code></pre>
<p>I thought that anything within square brackets was optional.</p>
<p>When I run it with the <code>-k</code> flag (which kicks all users off): <code>sudo shutdown -k now</code>, the output is:</p>
<pre><code>Shutdown NOW!
*** FINAL System shutdown message from user@computer_name ***
System going down IMMEDIATELY
System shutdown time has arrived
but you'll have to do it yourself
</code></pre>
<p>Then if I try to open a new terminal:</p>
<pre><code>NO LOGINS: System going down at 12:53
#my password
Login incorrect
login:
</code></pre>
<p>Restarting again and terminal login is restored.</p>
<p>Can anyone offer some insight as to what's going on here?</p>
| 0non-cybersec
| Stackexchange |
Joseph Goebbels (minister of propaganda in the Third Reich) after finding out that the photographer was Jewish, 1933 [537x800]. | 0non-cybersec
| Reddit |
I've got a 6.5lbs pork shoulder and want to make pulled pork for the first time. Most recipes call for 2-3lbs. What problems am I going to run into?Do I need to cook it for longer than the recommended time to make up for the extra pounds? | 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 |
Balancing for Concentrating on Two Spells. My party will soon be gaining access to a list of magical enhancements for the quest they are on. One of my reward options would be the following boon:
Focused Mind: When you cast a spell and are already concentrating on a spell or effect, you may concentrate on both spells or effects until the end of your next turn: at this time you may choose which effect to end concentration on. Each time you use this ability after the first time you use it per short rest you gain a point of exhaustion. If you were to cast a third concentration spell before one of your concentration spells ends you lose concentration on the earliest spell cast. If you were to fail a concentration check you lose concentration on both spells.
I was wondering if this is an effective balance for the potential abuse of concentrating on 2 spells at once. Am I being too harsh with the negative rider or too lenient?
I was also thinking about this alternative negative rider to replace the exhaustion points: Each time you use this ability after the first time you use it per short rest you take 1d8 psychic damage for each level of the spell you cast. This damage ignores resistance and immunity.
Any advice is welcome! Thank you! | 0non-cybersec
| Reddit |
What do each of the colors of files/folders returned from running the ls command mean in gnome terminal?. <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://askubuntu.com/questions/17299/color-meanings-in-terminal">Color Meanings in Terminal</a> </p>
</blockquote>
<p>When I run the</p>
<pre><code># ls
</code></pre>
<p>command, a list of files and folders are returned.</p>
<p>Some of them are colored blue, others green.</p>
<p>I'm new to terminal and just wanted to know if there were other colors and what each color says about the file or folder.</p>
| 0non-cybersec
| Stackexchange |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.