445 Matching Annotations
  1. Feb 2021
    1. While Trailblazer offers you abstraction layers for all aspects of Ruby On Rails, it does not missionize you. Wherever you want, you may fall back to the "Rails Way" with fat models, monolithic controllers, global helpers, etc. This is not a bad thing, but allows you to step-wise introduce Trailblazer's encapsulation in your app without having to rewrite it.
    1. In object-oriented programming, information hiding (by way of nesting of types) reduces software development risk by shifting the code's dependency on an uncertain implementation (design decision) onto a well-defined interface. Clients of the interface perform operations purely through it so if the implementation changes, the clients do not have to change.
    1. Say, for instance, a hypothetical self-driving car is sold as being the safest on the market. One of the factors that makes it safer is that it “knows” when a big truck pulls up along its left side and automatically moves itself three inches to the right while still remaining in its own lane. But what if a cyclist or motorcycle happens to be pulling up on the right at the same time and is thus killed because of this safety feature?

      I think that an algorithm that's "smart" enough to move away from a truck is also "smart" enough to know that it cannot physically occupy the same space as the motorcycle.

  2. Jan 2021
  3. Dec 2020
  4. Nov 2020
    1. The syntax of the fallback, like that of custom properties, allows commas. For example, var(--foo, red, blue) defines a fallback of red, blue — anything between the first comma and the end of the function is considered a fallback value.
    1. In Rust, we use the "No New Rationale" rule, which says that the decision to merge (or not merge) an RFC is based only on rationale that was presented and debated in public. This avoids accidents where the community feels blindsided by a decision.
    2. I'd like to go with an RFC-based governance model (similar to Rust, Ember or Swift) that looks something like this: new features go through a public RFC that describes the motivation for the change, a detailed implementation description, a description on how to document or teach the change (for kpm, that would roughly be focused around how it affected the usual workflows), any drawbacks or alternatives, and any open questions that should be addressed before merging. the change is discussed until all of the relevant arguments have been debated and the arguments are starting to become repetitive (they "reach a steady state") the RFC goes into "final comment period", allowing people who weren't paying close attention to every proposal to have a chance to weigh in with new arguments. assuming no new arguments are presented, the RFC is merged by consensus of the core team and the feature is implemented. All changes, regardless of their source, go through this process, giving active community members who aren't on the core team an opportunity to participate directly in the future direction of the project. (both because of proposals they submit and ones from the core team that they contribute to)
  5. Oct 2020
    1. To silence circular dependencies warnings for let's say moment library use: // rollup.config.js import path from 'path' const onwarn = warning => { // Silence circular dependency warning for moment package if ( warning.code === 'CIRCULAR_DEPENDENCY' && !warning.importer.indexOf(path.normalize('node_modules/moment/src/lib/')) ) { return } console.warn(`(!) ${warning.message}`) }
    1. when we are given the space to consider our decisions, we tend to make fewer errors.

      think about examples where this isn't the case like high-pressure car buying

    Tags

    Annotators

  6. Sep 2020
    1. This also informs how you should structure the decisions your stakeholders need to make. Say you have three things you need them to sign off on. If at all possible, put the most important (or riskiest) one first. The more decisions they have to make, the more conservative their decisions will get.
    2. If you have to get sign-off on something that might seem like a risk, think about scheduling that meeting for right after the stakeholders have had a nice meal.
    3. Decision fatigue describes a phenomenon where giving any real thought to a decision takes up energy.

    Tags

    Annotators

    1. Amazon pushes teams to escalate one-way door decisions – those that can’t be reversed and may have long-term consequences.  However, with “two-way” decisions, managers are coached to make these decisions themselves.

      Amazon encourages employees to escalate decisions that are irreversible (one-way door decisions) and to delegate decisions that are not. The idea being that if you can act quickly, even if you make more mistakes, it will benefit the system as a whole.

  7. Aug 2020
    1. Hewitt, J., Carter, B., Vilches-Moraga, A., Quinn, T. J., Braude, P., Verduri, A., Pearce, L., Stechman, M., Short, R., Price, A., Collins, J. T., Bruce, E., Einarsson, A., Rickard, F., Mitchell, E., Holloway, M., Hesford, J., Barlow-Pay, F., Clini, E., … Guaraldi, G. (2020). The effect of frailty on survival in patients with COVID-19 (COPE): A multicentre, European, observational cohort study. The Lancet Public Health, 5(8), e444–e451. https://doi.org/10.1016/S2468-2667(20)30146-8

  8. Jul 2020
  9. Jun 2020
  10. May 2020
    1. What I don't like is how they've killed so many useful extensions without any sane method of overriding their decisions.
    2. I know, you don't trust Mozilla but do you also not trust the developer? I absolutely do! That is the whole point of this discussion. Mozilla doesn't trust S3.Translator or jeremiahlee but I do. They blocked page-translator for pedantic reasons. Which is why I want the option to override their decision to specifically install few extensions that I'm okay with.
  11. Apr 2020