- Jan 2021
-
psyarxiv.com psyarxiv.com
-
Masuyama, A., Kubo, T., Sugawara, D., & Chishima, Y. (2020). Interest consistency can buffer the effect of COVID-19 fear on psychological distress. PsyArXiv. https://doi.org/10.31234/osf.io/ygz37
-
- Nov 2020
-
uxdesign.cc uxdesign.cc
-
When writing copy for buttons, make sure that you keep consistency.
-
- Oct 2020
-
github.com github.com
-
I vote for calling it let Could be used like this {#let foo = initialValue}. It's closer to javascript
-
my second preference would be for let, probably #let expr as name for consistency with #each.
-
-
www.python.org www.python.org
-
A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one module or function is the most important.
-
To be consistent with surrounding code that also breaks it (maybe for historic reasons)
-
-
-
About the argument against it, "{@const will make code less consistent ": I think the same is true now, since people can come up with very different ways of dealing with the "computed value inside each loop/if function" problem. Some extract components, some use functions, some will prepare the array differently beforehand.
-
it also allows for more divergence in how people write there code and where they put their logic, making different svelte codebases potentially even more different due to fewer constraints. This last point is actually something I really value, I read a lot of Svelte code by a lot of different people and broadly speaking things look the same and are in the same places.
Tags
- good point
- convention
- software development: code organization: where does this code belong?
- uniformity
- idiomatic pattern (in library/framework)
- idiomatic code style (programming languages)
- consistency
- Svelte: @const
- different way of solving/implementing something
- strong conventions resulting in code from different code bases/developers looking very similar
- programming: multiple ways to do the same thing
Annotators
URL
-
-
recoiljs.org recoiljs.org
-
We get a boilerplate-free API where shared state has the same simple get/set interface as React local state (yet can be encapsulated with reducers etc. if needed).
-
- Sep 2020
-
engineering.mixmax.com engineering.mixmax.com
-
many CDNs nowadays ultimately source from npm (before caching the JavaScript on their own edge servers). So you'll be guaranteed to have the same library version on the CDN as on npm
-
-
-
Also Svelte is so great because developer do not need to worry about class names conflict, except of passing (global) classes to component (sic!).
-
-
github.com github.com
-
For my point of view, and I've been annoyingly consistent in this for as long as people have been asking for this feature or something like it, style encapsulation is one of the core principles of Svelte's component model and this feature fundamentally breaks that. It would be too easy for people to use this feature and it would definitely get abused removing the style safety that Svelte previously provided.
-
-
-
maybe it can be a useful feature to keep consistency with the spread props
Tags
Annotators
URL
-
-
github.com github.com
-
We don't want to treat it specially in certain contexts, and we don't want to silently convert a reactive variable into a store.
Tags
Annotators
URL
-
-
github.com github.com
-
The above doesn't work for another unfortunate reason, it's not possible to write export let class = ''; instead CustomComponent because class is a reserved keyword and isn't allowed to be used as a variable name. The workaround would have to be to use some other prop name like maybe cssClass but then there's no "standard" by which all Svelte components can follow and every library will choose a different name which is cumbersome for users, because it creates scenarios like:
-
-
github.com github.com
-
The primary motivation for this change is to have the same behavior between dom elements and wrapper components. Class directives are extremely convenient but that convenience is lost when a section of code needs to be converted to a component.
-
-
prettier.io prettier.io
-
Prettier intentionally doesn’t support any kind of global configuration. This is to make sure that when a project is copied to another computer, Prettier’s behavior stays the same. Otherwise, Prettier wouldn’t be able to guarantee that everybody in a team gets the same consistent results.
-
-
onlinelibrary.wiley.com onlinelibrary.wiley.com
-
Traczyk, J., Fulawka, K., Lenda, D., & Zaleskiewicz, T. (n.d.). Consistency in probability processing as a function of affective context and numeracy. Journal of Behavioral Decision Making, n/a(n/a). https://doi.org/10.1002/bdm.2206
-
-
twitter.com twitter.com
-
James Hamblin on Twitter. (n.d.). Twitter. Retrieved September 2, 2020, from https://twitter.com/jameshamblin/status/1300607239749853184
-
- Aug 2020
-
psyarxiv.com psyarxiv.com
-
Behrens. F., Kret. M. (2020) Under the Umbrella of Prosocial Behavior – A Critical Comparison of Paradigms. PsyArXiv Preprints. Retrieved from: https://psyarxiv.com/9uebc/
-
-
meta.stackexchange.com meta.stackexchange.com
-
oh I'm fine with defective verbs. I'm not fine with inconsistency, though. Make it "Signup and login", and make it that on every SE page everywhere ever, and you can countin me.
-
-
stackoverflow.blog stackoverflow.blog
-
“I came to Rust from Haskell, and I feel that Haskell is a very elegant and safe language. The biggest differentiator for me is that there is a greater difference between high-performance code and idiomatic ‘clean’ code in Haskell than in Rust. Most Rust code looks like most other Rust code, even when it performs well. Haskell can become unfamiliar real quick if someone is operating under different libraries and goals from what you are typically doing. Small differences in syntax can result in huge differences in behavior, and Rust has more uniformity on that axis.”
-
- Jul 2020
-
www.ruby-lang.org www.ruby-lang.org
-
Enumerator::Lazy#eager is added. It generates a non-lazy enumerator from a lazy enumerator.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
It also resolves the problems with private operator methods (self + bar) and compound assignments with private writers and/or private operators (self += bar, self.foo += bar, where either + or foo= or both are private). It removes pretty much all edge cases in one blow.
-
It does change it, but it makes it much simpler in my opinion. It is basically "the receiver is statically the explicit literal special variable self or implicit." This gets rid of the current exception for private writer methods (self.foo = bar).
Tags
Annotators
URL
-
-
-
I decided to use the same name to keep the consistence with the Set class and because it was also written like that in the Array code.
Tags
Annotators
URL
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Set#intersection already exists and is an alias for Set#&, so there's precedent for such a method to exist.
-
one other thing I wanted to ask was about whether we should allow multiple arrays to be passed as arguments. Array#difference and Array#union both allow this, so it might make sense to have Array#intersection also take multiple arguments.
-
-
bugs.ruby-lang.org bugs.ruby-lang.org
-
Arrays are not sets. Trying to treat them as if they are is an error, and will create subtle problems. What should be the result of the following operations? [1, 1] | [1] [1] | [1, 1] Of course, there are more interesting examples. These two are to get you started. I don't care what the results currently are. I don't care what you think they should be. I can present extremely strong arguments for various answers. For this reason, I believe that #| is an ill-defined concept. Generalizing an ill-defined concept is a world of pain. If you insist on treating objects of one class as if they were members of a different class, there should be bumps in the road to at least warn you that maybe this is a bad idea. I'm not going to argue that we should remove or deprecate #|. I don't think of myself as a fanatic. But encouraging this sort of abuse of the type system just creates problems.
-
What about introducing concat! with the same behaviour as concat and deprecating concat. Then we could in the feature give concat the behaviour it deserves. It is confusing as well that this method modify the object and I think we should fix this.
-
- Jun 2020
-
journals.sagepub.com journals.sagepub.com
-
Axt, J. R., Landau, M. J., & Kay, A. C. (2020). The Psychological Appeal of Fake-News Attributions. Psychological Science, 0956797620922785. https://doi.org/10.1177/0956797620922785
-
-
rss.onlinelibrary.wiley.com rss.onlinelibrary.wiley.com
-
Mathur, M. B., & VanderWeele, T. J. (2020). New statistical metrics for multisite replication projects. Journal of the Royal Statistical Society: Series A (Statistics in Society), 183(3), 1145–1166. https://doi.org/10.1111/rssa.12572
-
-
psyarxiv.com psyarxiv.com
-
Parsons, Sam. ‘Reliability Multiverse’, 26 June 2020. https://doi.org/10.31234/osf.io/y6tcz.
-
- Apr 2020
-
iapp.org iapp.org
-
Finally, from a practical point of view, we suggest the adoption of "privacy label," food-like notices, that provide the required information in an easily understandable manner, making the privacy policies easier to read.
-
-
blog.jessitron.com blog.jessitron.com
-
it confuses people — including functional programmers. This is because we don’t use it consistently.
-
- Mar 2020
-
-
Why would a company want to have one system for people in France, Germany, and Italy and a separate one for people everywhere else?
-
“It’s strange to say, ‘Yeah, we’re going to respect the privacy of Europeans more than all other human beings all over the world,’”
-
- Jan 2020
-
ambrevar.xyz ambrevar.xyz
- Nov 2019
-
-
I always prefer strictness, bad behavior should be uncovered as soon as possible or you are effectively encouraging it, which means they'll soon be back asking why it doesn't work for X and Y. Fix the problem at the source. I don't really care, but IMHO doing this seems like a charitable thing but it's actually the opposite.
-
In a sense, the current behavior is the best behavior, because it never works, you will never get the impression that it does in React.
-
- Sep 2019
-
-
The theory says that in distributed systems everything is eventually consistent but the pragmatic view of the real world says that we need to be real careful on what we choose to make eventually consistent.
-
- Jan 2019
-
getincredibles-fe.herokuapp.com getincredibles-fe.herokuapp.com
-
What's the stage your project is currently at?
This is a required field (add * at the end) Please remove the first option 'stage at which my project is currently at' from the dropdown as it's not an option one can choose.
Please also match the look and feel of this to the other drop downs..e.g. this one is grey, fonts seem different and it also animates/appears on the screen in a different way
-
- Nov 2018
-
www.the-hospitalist.org www.the-hospitalist.org
-
“The role of the hospitalist often is to take recommendations from a lot of different specialties and come up with the best plan for the patient,” says Tejal Gandhi, MD, MPH, CPPS, president and CEO of the National Patient Safety Foundation. “They’re the true patient advocate who is getting the cardiologist’s opinion, the rheumatologist’s opinion, and the surgeon’s opinion, and they come up with the best plan for the patient.”
-
- Jun 2017
-
sookocheff.com sookocheff.com
-
no data loss will occur as long as producers and consumers handle this possibility and retry appropriately.
Retries should be built into the consumer and producer code. If leader for the partition fails, you will see a LeaderNotAvailable Exception.
-
By electing a new leader as soon as possible messages may be dropped but we will minimized downtime as any new machine can be leader.
two scenarios to get the leader back: 1.) Wait to bring the master back online. 2.) Or elect the first node that comes back up. But in this scenario if that replica partition was a bit behind the master then the time from when this replica went down to when the master went down. All that data is Lost.
SO there is a trade off between availability and consistency. (Durability)
-
keep in mind that these guarantees hold as long as you are producing to one partition and consuming from one partition.
This is very important a 1-to-1 mapping between writer and reader with partition. If you have more producers per partition or more consumers per partition your consistency is going to go haywire
-
-
engineering.pinterest.com engineering.pinterest.com
-
Kafka consumer offset management protocol to keep track of what’s been uploaded to S3
consumers keep track of what's written and where it left off by looking at kafka consumer offsets rather than checking S3 since S3 is an eventually consistent system.
-
- Nov 2016
-
stg-sm.us.truenth.org stg-sm.us.truenth.org
-
.
delete period
-
- Nov 2013
-
caseyboyle.net caseyboyle.net
-
and is consistent within itself.
consistency
Tags
Annotators
URL
-
- Sep 2013
-
caseyboyle.net caseyboyle.net
-
I am wont to deal with princes as well as with private men
-