I have a face-down morph creature that has received 1 point of damage. If my opponent casts Shock or another thing to kill it, can I flip at that point to make the damage disappear or my card still have it (now flipped) until the end of my turn?
Suppose someone asked me the question, "Have you completed the project?". A standard response would be "I have". Why does the equivalent "I've" sound so strange and never used as a replacement?
I am also trying to think of other responses where contractions are used as a complete sentence, but I...
I have a scenario where the label of a PicklistEntry contains a char 160 (non breaking space) at the end of the value. So when I call pe.label.getChars() the array output is the following characters: (104, 101, 108, 108, 111, 160).
If I call trim() then getChars(), I'm expecting the trailing 160...
I understand this is basically just a question of laziness and as such if the answer is 'no' that's perfectly fine, but as someone that enjoys the convenience of canned carrots and also enjoys a crisp, crunchy carrot slice...
Is there any way to prepare canned carrots such that they would be cr...
I would like to attach a rectangular piece of wood (without drilling through the wood) to a string to make a necklace. The piece of wood should be attached with a knot to its extremity, and hang vertically. I would like the knot to be small, easy and aesthetic. I am thinking about using a fisherm...
When writing music in sheet music form, I know that when writing harmonic intervals of a second, one of the two notes is on the opposite side of the notehead. My trouble is determining which note to put on the opposite side of the stem. What are the conventions as to which noteheads go on which s...
I noticed that MTG has an update to the rules for targeting. I don't know how long ago it was changed (the post containing this rule was from 2015), but there used to be this rule:
114.2 Only permanents are legal targets for spells and abilities, unless a spell or ability (a) specifies that i...
I've always booked United flights, but some legs of the "United" trips (ticket codes all starting 016) are operated by Lufthansa.
I've already/automatically got these flights for United MileagePlus status, but can I sign up for Miles and More (Lufthansa) and then also claim those flights for Lu...
Inspired by A double-agent with a conundrum. Everything is hypothetical and while the choice of countries are important, they serve no political purpose.
Tension between the US and China is rising. You are a senior officer working for the CIA, in charge of protecting secret technology from the h...
I have a paper ready for publishing, but I can't decide to which journal should I publish it.
The main thing based on which I want to publish the paper to a specific journal is its short period of peer review process (becouse I need to publish it asap).
Suppose I have a list of journals I want ...
This question is as put in the title.
It is general knowledge that legislators, high executive offices, and some judges are elected. But are any other elected government offices?
An example could be a position in an independent agency—part of the executive but whose officials are not constituti...
Each answer to a clue will consist of the titles of two works or series put together, where the last word of the first title matches the first word of the second title.
Note that the word match does not have to be exact; for example, the last word of the first title might be a plural version of ...
I've always just accepted this but why is it that wire gauge goes down as wire size increases? Why not the other way which would make a bit more logical sense?
i.e. Why isn't it that 40 AWG = big wire, 0000 AWG = small wire.
My understanding was that "small" covered planes up to 12,500 pounds, no matter the engine type.
Would that be gross weight/max takeoff weight?
Brought to mind by the two recent Cessna Citation crashes (Cessna 560, Cessna 680A), and head lines of "Small jet crashed during takeoff" and "Small ...
This puzzle is a combination between a Slitherlink and a Fillomino.
You should put a number in each square and draw a single closed loop over the grid such that the following properties are satisfied:
All the shaded squares should contain 1, 2 or 3, and the number should equal the number of si...
I have created in my world a keep that lies inside a walled courtyard.
Artistically I have designed the keep to rise in three tiers not unlike a wedding cake. (Though the castle is made of stone not batter. Less delicious but decidedly stronger)
Like so:
After some initial searches online...
At a U.S.-based company, I run an intranet system where all new users have to be requested by managers. The "Request New User" form has a single-field Display Name in which I'm hoping for an answer like Bob Jones -- a short but unambiguous name you might use if you were introducing the user at a ...
In the image you can see the hardware part of the battery (I think) and it looks weird with all the white things. Is this normal, because the Mac was recently bought. This is a MacBook Air 2019.
Would be interesting to know what this is.
Say the model is $F(x_1)G(x_2)Z(x_3) = y \in \mathbb{R}^N$, with $F,G,Z$ explicitly known, we are given observation of $y$ as $y_b \in \mathbb{R}^N$ to find the value of $x_1$, $x_2$, $x_3$ for each sample. Clearly this is an underdetermined inverse problem.
I have seen some iterative algorith...
I regularly read that the European Central Bank charges a negative interest rate on money that banks park there. But why would a bank put their money to the Central Bank then? Can't they just keep it in their own bank and not have to pay that negative interest?
I am looking for the opposite of billable, the context would be "billable hours". A complete example sentence could be
Sorry boss, the work I did from 9 to 10 is "not billable".
While writing a program, I encountered the technical correct, but somewhat ugly billable_true/billable_false-pair...
The expresion:
$ ksh -c 'for ((i=0;i<10;i++)){ echo $i;}'
0
1
2
3
4
works correctly.
I fail to find the description of this syntax in which the {...;} is replacing the ; do ...; done in the manual.
Is there a reference in the manual?
For which shells do that work correctly?
I would like to define a new division symbol similar to the bar "/" but which is a minus sign (-) rotated 45 degrees, in the same way \times is a + rotated. I want it to have the same properties as the other arithmetic symbols (+,- and \times), I mean, the same spacing etc.
What I have tried to ...
For practical DC motors having dead-band effects, where the output angular speed of the DC motor remains zero until a large-enough DC voltage is applied to the motor system --- is it possible to approximate the DC motor as a first order model?
For example, input is voltage, output is angular vel...
I am a NZ citizen (born in UK) and hold a lapsed British passport and a current NZ one. My wife was born in NZ and has a current NZ passport. Can we apply for a 1 year visa to visit UK as tourists? if so how do we go about this. Its unclear on the UK immigration website.
This is a simple task. Given a positive or negative real number, round it to the next whole integer closer to zero.
The challenge
Take input through any reasonable form (stdin, function, etc.) of one positive or negative real number.
Round this number "towards zero" - this means if it is posit...
i got this problem of overlapping nodes in a Branch-and-Bound tree using TikZ.
Here's my code:
\documentclass[
12pt,
oneside,
a4paper,
english,
french,
spanish,
brazil
]{abntex2}
\usepa...
I'm trying to set up a test environment here to learn more and apply this on our production environment.
I've created and installed the Windows Cluster with CLuster manager.
Now I'm going to install SQL Server Enterprise 2014 on both machines and create HA with then, with availability groups....
I created the class ContinuousDimensionInterval, to model an interval of a continuous dimension interval, presented below.
namespace Minotaur.Math.Dimensions {
using System;
public sealed class ContinuousDimensionInterval: IDimensionInterval {
public int DimensionIndex { get; }...
Can someone help me with the following question?
I'm writing an equation like this:
\begin{align*}
a =& b - c \\
-& d - e
\end{align*}
How can I put a box around the part
b - c \\
d - e
Thanks.
Saw this cutie in a catalogue.
I am loving this handle but am perplexed by how it works.
My closest guess is that the two colors are stitched into the fabric base after knotting.
Does anyone know the name of the shown/decorative knot and how to create the illusion of two colors originating at ...
This question follows up on Crianopa's answer https://gis.stackexchange.com/a/107687/126329 - I am attempting to do just this, but my model fails at the Calculate value stage. Using the expression from Crianopa "%value%"[0:6] I still get error message:
File "<expression>", line 1, in <module>
E...
I am looking for recommendations of good websites and books that talk about various ways of understanding the 'conflicts' between the Torah and a modern understanding of the age of the universe, the history of mankind, and events like the Flood.
In my app I have a toggle button which simply has "VS" on it, being the abbreviated form of "versus". When clicked, it brings up a comparison of two items. Is there a brief French equivalent which would be understandable in this context?
If I had a list of let's say 20 elements, how could I split it into two separate lists that contain every other 5 elements of the initial list?
For example:
list={1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}
function[list]
(*
{1,2,3,4,5,11,12,13,14,15}
{6,7,8,9,10,16,17,18,19,20}
*)
I've been trying to read a number of tex files into a tabular.
I have two sets of files numbered t_1.tex ... t_10.tex and a_1.tex ... a_10.tex.
This is the code I have so far:
\newcount\ii
\ii=0
\def\myline{}%
\loop
\ifnum\ii<10
\advance\ii by1
\edef\myline{%
\myline
\input{t_\the\ii.tex} & \i...
I executed the command:
$ sudo apt-get install ssh-import-id
The output was (shortened):
Reading package lists... Done
...
The following packages were automatically installed and are no longer required:
gdbserver ... <no Firefox mentioning>
Use 'sudo apt autoremove' to remove them.
...
The ...
From reading through conditions such as paralyzed (PHB 291) or unconscious (PHB 292), I realized that incapacitated seems to act largely as shorthand so each condition that inflicts it (paralyzed, petrified, stunned, and unconscious, for those keeping track) doesn't have to repeat the text "the c...
A follow up to this recent question "(Why) May a Beit Din refuse to bury a body in order to coerce a man into giving a divorce?" where a Jewish burial society was instructed to not bury the body of a mother whose son is a get-refuser, in order to apply pressure on the man to give the get.
T...
The Boys is set in a universe where super-powered people are recognized as heroes by the general public. Usually, in superhero stories, the public sees heroes emerge upon the rise of the evil. Without evil/villains, there isn't much use of a superhero nor the need nor inspirations for their heroi...
When Khan first defeats Admiral Kirk, he asks about Project Genesis.
Why would he ask about Project Genesis?
Wouldn't the USS Reliant, a ship dedicated to helping the Genesis scientists, have far more information in its computers? Khan used the Ceti eels to con...
In English, it's widely held that imperative verbs have "invisible" subjects, on the syntactic level. For example, we see look at yourself in the mirror, rather than *look at you in the mirror, which implies that there's some invisible "you"-like entity in the subject position, which just doesn't...
One of the major issues which the EU and UK will face in case of a no-deal Brexit is the question of the border between the Republic of Ireland (country in the EU) and Northern Ireland (pat of the UK).
Putting aside the fact that the UK would probably never allow for such thing to happen, would ...
In one of the animes I've watched recently (can't recall the title), I heard words like "チーズ" (Not sure if this is how it's spelt in katakana since I only heard the word, but as for how its pronounced in English, it would most probably sound like cheeeeesee) and "をっと" (english pronounciation : wo...
I have a series of Questions saved as separate tex files and want to loop over them to place them in the document using the exercise package.
If I loop over the Questions I get a compile error.
However, If I put a Question in first and then loop over the Questions there is no error.
This see...
After having used platform pedals, I've recently started using Shimano SPD pedals on my cyclocross bike, which I mainly use on paved roads. I really like being clipped in, however, I have a condition with sore forefeet, with the pedals just making things worse due to pressure being applied in qui...
Is gzip atomic?
What happens if I stop the gzip process while it's in the middle of gzipping a file?
If it's not atomic, and if I already pressed Ctrl+C on a gzip *.txt process, how do I safely resume?
(I am not just curious about how to resume, but also about whether gzip specifically is at...
Let $T$ be a function.
Is it true that if $\exists f\forall n,m> 0.\\ \frac m {f(n)} \leq T(n,m)\leq m$
Then $\exists g.T(n,m)=\Theta(m\cdot g(n))$?
In words: is such a case, is there a function $g$ dependent only on $n$ that satisfies the above?
It looks to me true, but I am really stuck and...
The Boys is based on the comic book of the same name. In comics, they have a team called The Seven which is a clear parody of Justice League:
The Homelander (Superman parody)
Black Noir (Batman parody)
Queen Maeve (Wonder Woman parody)
Mister Marathon (Flash parody)
The Deep (Aquaman parody)
Ja...
My wife and I have two kids, I have a son from divorce (divorced years before the second marriage).
What has happened more and more recently, she seems to somehow to disapprove his existence like "ok that's your business if you see him, ok that's your business if you bring him to our home".
Now...
As the title says, I would like to know differences between 貯金{ちょきん} and 節約{せつやく}.
Both mean "saving money" and have the irregular する verb ending:
貯金する{ちょきんする} : To save money
節約する{せつやくする} : To save money
From what I understand by reading example sentences, 節約{せつやく} has a more general ...
I have a big sorted list and some of it is important, I want to visualize the position of these important elements.
RandomSeed[1234];
red = RandomInteger[10000, 100];(*important elements*)
point = Sort@RandomInteger[10000, 1000];(*all elements*)
pointColor = If[MemberQ[red, #], Style[#, Red], #] &...
In the PLAYER'S HANDBOOK you can copy a spell into your own spellbook. In the DMG (p200) if a spell is copied from a scroll, the scroll is destroyed. If a spell is copied from a spellbook however, does the same apply? And could more than one wizard copy the same spell (or spells) from a found ...
Today is Friday. Tomorrow is the weekend.
In terms of grammar, how is the definite article justified there?
We say:
It's noon.
It's 12 o'clock.
It's August.
It's 2019.
But we also say:
It's the 23rd of the month.
It's the 21st century.
According to Wikipedia:...
LeetCode: Group Anagrams C#
Given an array of strings, group anagrams together.
Example:
Input: ["eat", "tea", "tan", "ate", "nat", "bat"],
Output:
[
["ate","eat","tea"],
["nat","tan"],
["bat"]
]
Note:
All inputs will be in lowercase.
The order of your output does not matter.
using Sy...
dinonline (here) writes that
The hagalah [koshering of non-kosher utensils] should be done before
the tevila [immersion in a mikve].
Are there other sources saying so? Are there sources saying the reverse is also possible?
I do not understand the rationale for the above and would like t...
I ordered two pistachio trees (one male + one female) over internet. I have just received them yesterday. Unfortunately, they didn't label them and now I can't find out which one is male/female. Can you please identify them from the photo below.
One of them is shorter and have larger leaves.
T...
I'm writing a Sitecore PowerShell script to get all images (without their Media Folders) under the path master:\sitecore\media library, where the File Path in the Media section is empty, like the following image
This is my code
$path = "master:\sitecore\media library"
$items = Get-ChildItem -...
Linear programming can solve only problems with weak inequalities, such as "maximize $c x$ such that $A x \leq b$". This makes sense, since problems with strict inequality often do not have a solution. For example "maximize $x$ such that $x<5$" does not have a solution.
But suppose we are intere...
I need some help with the grammar in this sentence:
ボストンに居たらなら, 何で会いに来なかったんだい。.
I understand the conditional -たら form and the なら conditional alone. But I have not seen the two together.
Does the sentence simply mean If you were in Boston why didn't you come to see me? If so, why are both co...
I have 2 different machines, with the same OS version, and the same sources list.
$ lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
I update my packages...
This is in the spirit of the What is a Word/Phrase™ series started by JLee with a special brand of Phrase™ and Word™ puzzles.
If a word conforms to a special rule, I call it a CirKle Word™.
Use the following examples below to find the rule.
$$
% set Title text. (spaces around the text ARE imp...
For many words, the dative and ablative take the same form. Two examples are nos and vos (nobis and vobis, respectively).
Imagine you want to say something like "from us to you [plural]" (where "from" indicates ablative and "to" dative). Since the order is usually uninformative in Latin, nobis ...
This is the code I am using to operate a relay to open my garage and the garage status is checked by a magnetic switch. However there is an issue with the logic can someone help me please as I am very new to Python.
If the garage is already closed (gpio 4 input true) it should not attempt to cl...
I have a student who's on the autistic spectrum. He exhibits several disruptive behaviors in class, such as
Inability to moderate his volume/interjections: he will shout out questions and comments irrespective of whether others are speaking (be it myself or other students).
Unintentionally moc...
I wonder if Sanderson ever answered it on any panels.
Do the metals simply magically disappear after they are burnt or are they in any way excreted from the body?
Do they provide any nutritious value for the allomancers?
If allomancers can control what metal they burn, can they also control what ...
Is it possible to perform a regression where you have an unknown / unknowable feature variable?
Say I have $y_n = a_0 + a_1 x_1 + a_2 x_2 + a_3 x_3$ but I do not / cannot measure the value of the feature variable $x_3$. Can I still perform a regression to ascertain the coefficients $a_i$?
How ...
I was having a conversation with my Spanish friend, and I said:
Pero a Séréna no le hizo tanta gracia... La noche que se lo conté salió volando más de un plato, no te digo más...
The phrase in bold has a literal meaning of "(she) let more than a single plate fly" with understatement, and I ...
In the documentation page for Parallelize, we find the methods that can be used. I do not quite understand the difference between Method->"CoarsestGrained" and Method->"FinestGrained", can anyone explain it?
I saw this in the late 1960's/early 1970's on UK television. It was black and white but that was the only telly my parents had (so it might have been in colour) I don't recall the full plot.
Protagonist arrives at a coastal UK town and runs afoul of a bike gang (some song going "Black Leather, B...
Yesterday I well fed my cannabis sativa (Wikipedia) plants with fresh shredded extra roasted Starbucks coffee under the assumption they will grow better, but instead of that this morning I saw the left half of my plant was abused and deeply shrunken. Is this because of the nitrogen in the coffee?
Suppose $a$,$b$ and $c$ are three distinct positive integers which share no common divisor. Note that this implies that $a$, $b$, $c$ are pairwise coprime.
Is it true that $gcd(a+b,a+b-c)=1$ always ?
If so, how would you prove it?
If not, what is a counterexample?
Suppose it was somehow possible build a runway at FL300. Yes, doing so would be incredibly expensive, and it would be a mammoth civil engineering task, and the downsides would probably by far outweigh its advantages in practice; but for the time being, let's say that the desire to do it exists, a...
I am wading into pair trading concepts. Here is one article I've read.
I understand for these strategies our intention is to go long on one asset and short another, however I do not understand what is meant by
long the spread
and
short the spread
My guess:
"long the spread" is when ...
I was having a conversation with my friend in another language, and I was wondering how in German I'd express the idea of "two people having a heated argument where one of them throws a tantrum and, for instance, dishes may soon start to fly".
Mais Séréna... ne partageait pas mon enthousiasme...
Disclaimer: ModTen is a fictional card game which was created for the sole purpose of this challenge.
The rules of ModTen
ModTen is played with a standard 52-card deck. Because the full rules are yet to be invented, we're going to focus on the hand ranking exclusively.
A winning hand in ModT...
Does a “T” in a formula subscript indicate all possible numbers of atoms? $\ce{FeO_T}$ is the specific one I came across (in the "bulk chemistry" table here: https://sciences.ucf.edu/class/simulant_lunarmare), it seems to make sense in context but I've not done chemistry since school (tried googl...
I am making a sauce that has:-
3 Ghost peppers,
1 Cherry Bomb pepper,
1 Jalapeño pepper,
1 Habanero pepper,
1 Lady Finger pepper.
It also has Tabasco sauce and Cayenne pepper.
My friends want to know what the Scoville level might be.
The questions are as follows:
I want ask about your approximate time of departure tommorow.
Ich möchte nach Ihrer ungefähren Abfahrzeit fragen.
Where do I put the word 'morgen'?
Also:
I'm coming tommorow in the early afternoon.
Ich komme morgen am frühen Nachmittag.
Is this corre...
I need to find the path of a data extension that I use in a SQL Query.
I can find the name of it but because the data extension structure is very messy is hard to find it.
Is there a way in Salesforce Marketing Cloud to see that? Thanks!
Important Note: I am aware of this post regarding NPC training but it failed to answer my question and the top answer has some holes. Read the entire post before flagging.
I want to run a heavily player-based, sandbox campaign (I am aware of the difficulties) and to help the players get started ...
Given that $V = \mathbb{R}[X]_{\leq 2}$ and $\alpha \in \mathbb{R}$ prove that the linear transformation $L: V \to V$ given by $L(P(X)) = \alpha P(X) + (X+1)P'(X)$ is diagonalisable and determine the matrix representation with respect to a basis of eigenvectors.
I know that $L$ is diagonalisabl...
And then the King said: You fought bravely, Knight, and your deed will not be forgotten for centuries. For your valor I grant you this castle and the lands around it. However, the strictest of the prohibitions was violated by you - all the warriors saw you fighting without a hat on your head like...
Since 2011 I'm a member of an online community for Animal Crossing players. Sadly many things are changing in gaming world and many of these changes combined with new interests which I have found in the last years are making the majority of gaming communities no longer appealing for me and for th...
Consider the following code.
%!TEX program = lualatex
\documentclass[tikz]{standalone}
\begin{document}
\pgfmathsetmacro{\sumk}{0}
\foreach \k in {1,2,...,10}{
\pgfmathsetmacro{\sumk}{\k+\sumk}
\directlua {print(\k,\sumk)}
}
\end{document}
In this simple example, I want to sum recursi...
The whomping willow is a fictional tree from the Harry Potter series of books. It is a magic willow that can move its branches to punch people who come close to it.
Small animals such as cats and rats can approach without much worry; Anything human-sized or larger gets whacked. As for how stro...
I did my PhD in computational materials science. I used molecular dynamics simulations and finite element method to carry out my research investigations. I have published several publications and about to defend my thesis next month.
But, I did not take any classes on finite element analysis or ...
I have computer with Intel UHD Graphics 630 (no other graphic card) and Ubuntu 19.04
I've bought monitor Philips 499P9H which has native resolution of 5120x1440
However I cannot make ubuntu to support it, I'm connected with HDMI cable provided with the monitor, I've tried couple of third parties ...
I was thinking the other day about the difference between rational and irrational numbers, and wondering whether the distinction between them is created by leaving out discussion of precision.
So for instance people are calculating trillions of digits of pi
(http://www.numberworld.org/misc_runs...
My problem is pretty much complicated than this one, but the point is pretty similar.
\documentclass{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\coordinate (A1) at (0,0);
\coordinate (A2) at (1,3);
\coordinate (A3) at (5,1);
\coordinate (A4) at (2,-1);
\foreach \x in {2,3...
I don't quite understand why I don't get a division by zero exception:
int d = 0;
d /= d;
I expected to get a division by zero exception but instead d == 1.
My boyfriend has three little girls, 3, 3 and 5. I try to feed them balanced and correctly portioned meals and snacks even though the 5 year old is extremely picky. They eat about every 2 hours but always ask for more food every hour. I don't mind giving them more, but when I do they barely eat a...
(This is hypothetical, but based on a real-life problem I've had)
Context:
I am developing an (embedded) device which includes a few exposed network services. I'm responsible for security, not developing these services, so I don't know how they're built.
I do some testing (send targeted Client...
I have been trying puzzle solving recently and came across this problem (sorry if this is not entirely appropriate on a maths stack exchange, I have also posted this on the puzzle one).
Any hints on how to do this?
So far, I have found that N, R and F must be odd (as they are the last digit i...
There aren't enough questions about creating immutable objects... so why not try it again with another approach. This time, it's a builder that maps properties to constructor parameters. Properties are selected via the With method that also expects a new value for the parameter. Constructor param...
Obviously, with the international space station you need to do some station keeping when you're falling into the atmosphere. However, I saw the following image showing the Halo orbit that the Deep Space Climate Observatory is in:
It seems like once it hits its stable exponentially unstable hal...
I wonder what happens if I have an iterator on the last element of the vector and do pop_back.
std::set<int> s;
s.insert(5);
std::vector<int> v = {1, 2, 3, 4, 5};
for (auto it = v.begin(); it != v.end();) {
if (s.count(*it)) {
std::swap(*it, v.back());
v.pop_back();
} e...
I have a webservice running in IIS hosted in a Windows 2016 Nano server. I can access the service just fine if I go through http://servername/service/health
However, if i were to access it via http://[IP Address here]/service/health or http://service.company.com/service/health, it would prompt f...