- Feb 2022
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Shouldn't the #descendants method be the reverse of #ancestors?
Tags
Annotators
URL
-
- Jan 2022
-
psyarxiv.com psyarxiv.com
-
Strickland, J. C., Stoops, W., Banks, M., & Gipson-Reichardt, C. D. (2022). Logical Fallacies and Misinterpretations that Hinder Progress in Translational Addiction Neuroscience. PsyArXiv. https://doi.org/10.31234/osf.io/frd5e
-
-
hhsclarionnews.com hhsclarionnews.com
-
If students were given a tablet for school, they will never pay attention in class.
slippery slope: this sentence is labeled as a slippery slope because the author is leaping to an extreme hypothetical outcome by assuming that if students are given a tablet then then wont draw their attention to class.
-
- Oct 2021
-
www.theatlantic.com www.theatlantic.com
-
One example is a program that amounts to a whitelist for VIPs on Facebook, allowing some of the users most likely to spread misinformation to break Facebook’s rules without facing consequences.
-
-
github.com github.com
-
Also the problem becomes even worse if you multiple api/resource servers and have to decide in each load function which credentials should be exposed to which server.
-
- Jul 2021
-
psyarxiv.com psyarxiv.com
-
Leising, D., Grenke, O., & Cramer, M. (2021). Visual Argument Structure Tool (VAST). PsyArXiv. https://doi.org/10.31234/osf.io/dvfq7
-
- Mar 2021
-
css-tricks.com css-tricks.com
-
Assuming wonderful support, this is how the logic would play out…
-
- Feb 2021
-
github.com github.com
-
If you take it to it's logical conclusion you'd only accept the correct types for boolean, integer, decimal, etc. columns, which is obviously crazy.
-
-
ifenglishthenlogic.blogspot.com ifenglishthenlogic.blogspot.com
-
More often than not, the expression ‘taken to its logical conclusion’ serves to point up the absurdity of a piece of reasoning we come across.
-
I need a holiday to get over a holiday
-
I wish there were no Mondays
-
The golden standard I suppose is set by the rhyme: There is a hole in my bucket, dear Liza, dear Liza. Of course, fixing it requires the use of the bucket at some stage, and so the loop closes.
-
-
stackoverflow.com stackoverflow.com
-
Yes, i'm trying to find the union of two relations
I guess that's what I needed too. How much of the time can a or() be converted to a union?
-
-
github.com github.com
-
where_values_hash.reduce(&:or)
-
scope :deck_access, ->(user) { includes(:deck_permissions).where(where({ deck_permissions: { user_id: user.id, read_access: true } }, global_deck_read: true, user_id: user.id).where_values_hash.reduce(&:or)) }
-
-
github.com github.com
-
# Returns a new relation, which is the logical union of this relation and the one passed as an # argument. # # The two relations must be structurally compatible: they must be scoping the same model, and # they must differ only by #where (if no #group has been defined) or #having (if a #group is # present). Neither relation may have a #limit, #offset, or #distinct set.
-
- Nov 2020
-
wresch.github.io wresch.github.io
-
Important caveat: in the combined expression, if the middle command has a non-zero exit status, then both the middle and the rightmost command end up getting executed.
I don't think that is surprising, is it? Since && and || have the same order of precedence. So I think this is more of a clarification than a caveat.
I think this is just because:
a && b || c is equivalent to: (a && b) || c (so of course c gets evaluated if
(a && b)
is false (that if eithera
orb
is false).I think they just mean, in this case:
bedmap && mv || fail
if
mv
fails, thenfail
still gets executed.Easier to see with a simpler example:
⟫ true && false || echo 'fail' fail ⟫ false && true || echo 'fail' fail
Better example/explanation here: https://hyp.is/-foxmCVXEeuhnLM-le_R4w/mywiki.wooledge.org/BashPitfalls
The caveat/mistake here is if you treat it / think that it is equivalent to if a then b else c. That is not the case if b has any chance of failing.
-
-
-
The potential problem: if second_task fails, third_task will not run, and execution will continue to the next line of code - next_task, in this example. This may be exactly the behavior you want. Alternatively, you may be intending that if second_task fails, the script should immediately exit with its error code. In this case, the best choice is to use a block - i.e., curly braces: first_task && { second_task third_task } next_task Because we are using the -e option, if second_task fails, the script immediately exits.
-
-
stackoverflow.com stackoverflow.com
-
[[ -z "$a" || -z "$b" ]] && usage
-
- Oct 2020
-
-
When I say that my experience is that it means it's time to split up your components, I guess I mean that there tends to be a logical grouping between all the things that care about (for example) sqr_n, and in Svelte, logical groupings are expressed as components.
-
- Aug 2020
-
Local file Local file
-
This is all well and good when we’re talking about buying decisions, but what if I were to say, “Should we go to war in April or in May?”
In addition to avoiding biases, we also have to be aware of logical fallacies too! False equivalence, etc...
-
- Jul 2020
-
argdown.org argdown.orgArgdown1
-
Argdown. (n.d.). Retrieved July 2, 2020, from https://argdown.org/
-
- May 2020
-
docs.gitlab.com docs.gitlab.com
-
To conjoin if, changes, and exists clauses with an AND, use them in the same rule.
-
-
en.wikipedia.org en.wikipedia.org
- Mar 2018
-
www.themarginalian.org www.themarginalian.org
-
argument from authority (e.g., President Richard Nixon should be re-elected because he has a secret plan to end the war in Southeast Asia — but because it was secret, there was no way for the electorate to evaluate it on its merits; the argument amounted to trusting him because he was President: a mistake, as it turned out)
Everytime I hear Trump say "trust me", I think of this.
-
- Feb 2016
-
www.wsj.com www.wsj.com
-
The Democrats wanted to keep the issue alive to use it as a wedge against the Republicans and to establish themselves as owners of the Hispanic vote.
This seems hackish. It seems to me the Democrats have a very clear solution to this issue and would love to put it to rest. The Republicans, however, won't allow it.
-