115 Matching Annotations
  1. Jun 2021
    1. He was just ruthlessly decisive, always willing to make the hard call.

      individuals make decisions, not groups. Since your decisions are based on your views, make sure they are anti-fragile. It means that your views will only change and evolve as you discuss them with more and more people.

    1. I've been thinking more about how to best do this. The preferred way might be to use the same domain and have an application load balancer like nginx split traffic on the URL path (e.g. /api). This is for two reasons. Firstly, you might not necessarily want to cookie the primary/apex domain and have the cookie shared across all subdomains. You also might not want to do CORS because preflight requests add latency and CORS adds complication.
    1. 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.
  2. May 2021
  3. Apr 2021
    1. “Who cares? Let’s just go with the style-guide” — to which my response is that caring about the details is in the heart of much of our doings. Yes, this is not a major issue; def self.method is not even a code smell. Actually, that whole debate is on the verge of being incidental. Yet the learning process and the gained knowledge involved in understanding each choice is alone worth the discussion. Furthermore, I believe that the class << self notation echoes a better, more stable understanding of Ruby and Object Orientation in Ruby. Lastly, remember that style-guides may change or be altered (carefully, though!).
    1. Carcassonne just gets on my nerves because I just don't view selecting between so many placement options to be that interesting.

      Interesting that this has no meaningful choices for the exact opposite reason (too many options/decisions makes it boring/not meaningful) that Fjords had, which was that you are forced to go a certain direction (lack of options).

    2. Few real decisions to make....Not in my experience, either in tile placement or in disk placement. Of possible interest is the thread:Informal experiment: how easy to find "the optimal disk placement" in various positions?wherein we see that even in the second phase, which people often complain is "automatic" or "obvious", the decisions are not necessarily obvious.
    3. Incidentally, I like both these games more than Fjords because they offer up a wealth of decisions on each turn even if you have drawn an unlucky hand of cards.
    4. Luck is a major factor. As discussed above, sometimes the map seems to build itself and you draw tiles which you HAVE to place even though they are aiding your opponent.
    5. Otherwise, it plays out fairly predictably and very quickly. This is a shame because this is the point that it starts to feel like a real contest.
    6. Sometimes it feels like the map builds itself - there is often only one viable placement, so it starts to feel like a jigsaw, searching for that available position. Surely placing a single tile shouldn't be this difficult!
  4. Mar 2021
  5. Feb 2021
    1. provide interfaces so you don’t have to think about them

      Question to myself: Is not having to think about it actually a good goal to have? Is it at odds with making intentional/well-considered decisions?  Obviously there are still many of interesting decisions to make even when using a framework that provides conventions and standardization and makes some decisions for you...

    1. A second trap is thinking that you just need to work on yourself in order to grow your career. For example, "To progress, I just need to get better at [insert skill.]" But you are only one part of the equation.There is a whole other part of the equation, which is your environment. Your environment either limits or amplifies your own ability to get better at a skill.
      • Trap: "I just need to work on myself more"
      • Assumption: You need to focus on improving X
      • Impact: You need to consider the environment. if you don't, you could end up in a place that limits your ability to work on that skill instead of amplify it.
    2. Evaluating impact isn't easy. It is complicated by a few factors:Impact is the result of multiple other variables.Those variables are interrelated and have confounding factors.Impact can be subjective to the individual.A lot of times you aren't even aware of what is holding you back, or what to evaluate on.

      If impact is the input that powers career progression, what are the complicating factors and why?

    3. "Should I leave my current role?""How do I compare or choose between two or more opportunities?""What is preventing me from moving forward?"
      • do we switch projects?
      • teams?
      • career paths?
      • what projects do we take on, vs not, and why?
    1. If you don't understand both sides of an issue, you cannot make an intelligent choice; in fact, if you don't understand all the ramifications of your actions, you're not designing at all. You're stumbling in the dark.
    2. Consequently, you act irresponsibly when you adopt any programming practice simply because "that's the way you're supposed to do things."
    3. My point is that you should not program blindly. You must understand the havoc a feature or idiom can wreak. In doing so, you're in a much better position to decide whether you should use that feature or idiom. Your choices should be both informed and pragmatic.
    1. With the introduction of CPUs which ran faster than the original 4.77 MHz Intel 8088 used in the IBM Personal Computer, programs which relied on the CPU's frequency for timing were executing faster than intended. Games in particular were often rendered unplayable. To provide some compatibility, the "turbo" button was added. Engaging turbo mode slows the system down to a state compatible with original 8086/8088 chips.
    1. Trust me, I thought a lot about #validate and its semantics, and I am gonna make it even more "SRP" by making Form#errors and #valid? semi-public. All that happens via #validate reducing the possible wrong usage for users.
    1. I use <b>s for the decorative portions of the layout because they’re purely decorative elements. There’s no content to strongly emphasize or to boldface, and semantically a <b> isn’t any better or worse than a <span>. It’s just a hook on which to hang some visual effects. And it’s shorter, so it minimizes page bloat (not that a few characters will make all that much of a difference). More to the point, the <b>’s complete lack of semantic meaning instantly flags it in the markup as being intentionally non-semantic. It is, in that meta sense, self-documenting.
  6. Jan 2021
    1. 2021

      I was not able to highlight the part that I was interested in, but at the very bottom of the screen it says "Please fill out this form and we will get in touch with you shortly." This tells me that this company is offering specific, customized solutions to a business' office organization needs, and that there is individualized support for the duration of the process, beginning with a consultation.

    2. Your people and your workplace are your greatest assets and they are underutilized. Steelcase research shows us that on average: only 54% of office space is used throughout the day over 37% of employees are not engaged at work We equip organizations with the tools to measure the places where people work on a continuous, periodic, or trial basis.

      Here it gets into quantitative data, which would appeal to decision-makers. Long-term decision-making may also factor in at this point, if an office redesign is a project that is being considered for the future.

    1. In my opinion, it can sometimes look odd. Very interestingly, this is by design and is part of the Material design specification. This article isn’t to argue whether it should be this way or not, though; it’s just to change yours such that your MenuItem(s) show below the menu selection, like so:
    1. Give the user as much information as you can to help inform them on what’s about to happen. Anticipating and answering the following questions can help
    2. But this post is in part a plea to consider what you’re invoking visually and the expectations surrounding it.
    3. Now they have what they need to make an informed decision, with a little intentional ambiguity to temper expectations.
  7. Dec 2020
    1. KFF (Kaiser Family Foundation) @KFF (2020) RT @KFF @DrewAltman discusses two fundamental policy decisions made by the Trump administration that set the U.S. on the controversial an…

    1. Some of these are absent-by-design
    2. Like most frameworks that abstract the DOM, Svelte has incompatibilities like the inability to name a prop class because it’s a reserved keyword in JS, and you’ll use on:click not onclick, but these quirks are few in number and reflect carefully chosen tradeoffs. Svelte does its best to harmonize with the web platform, welcoming both experienced developers and newcomers with whatever web knowledge they have.
  8. Nov 2020
    1. I think a casual look at the game could be quick to take fault that some moves are scripted, and perhaps they are.  If play passes to you and there is a stock to be had for free…why _not_ take it? For me, it’s a distraction. The player before you likely considered the options and found the game state to be worth tempting you with that. Those free, or even cheap, stocks won’t gain you the influence in any companies that can make your personal cache more valuable.
    1. The use of __proto__ is controversial and discouraged. It was never originally included in the ECMAScript language spec, but modern browsers implemented it anyway. Only recently was the __proto__ property standardized by the ECMAScript 2015 specification for compatibility with web browsers, so it will be supported into the future.
  9. Oct 2020
    1. Typically, platform accessibility APIs do not provide a vehicle to notify assistive technologies of a role value change, and consequently, assistive technologies may not update their cache with the new role attribute value.

      It's too bad they couldn't just allow role to be changed, and assistive technologies would just have to be updated to follow the suit.

    1. The misspelling of referrer originated in the original proposal by computer scientist Phillip Hallam-Baker to incorporate the field into the HTTP specification.[4] The misspelling was set in stone by the time of its incorporation into the Request for Comments standards document RFC 1945; document co-author Roy Fielding has remarked that neither "referrer" nor the misspelling "referer" were recognized by the standard Unix spell checker of the period.
  10. Sep 2020
    1. I think that we should be willing (taking the risk) to make bold changes, as long as they fit in the direction we see the community going in the long term (with Material-UI empowering it).
    1. Force everything to the git root per NPM lameness
    2. For a non-monorepo package you can simply point directly to the Github repo. This case is similar, but you want to scope it just to a single package within the repo. For those that make monorepos they don't necessarily need this feature. It's for those that use projects that use monorepos. Telling them to not organize their projects into monorepos doesn't help people who make use of these projects.
    3. npm's inability to handle monorepos then i'd have designed my repos accordingly
    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.

    1. This impacts monetization and purchasing at companies. Paying for a new design tool because it has new features for designers may not be a top priority. But if product managers, engineers, or even the CEO herself think it matters for the business as a whole—that has much higher priority and pricing leverage.

      If a tool benefits the entire team, vs. just the designer, it becomes an easier purchase decision.

  11. Aug 2020
    1. I could add .json on the end, but that would mean hacking away at angularjs, which is doing the right thing. I would rather find a good solution and hack away at rails, which is doing the wrong thing :)
    2. In that case I would suggest to use .xml or .json format to eliminate accept header parsing issue.

      Avoid using a perfectly good feature (accept header negotiation) just because browsers screwed things up?

    3. Safari sends following order application/xml (q is 1) application/xhtml+xml (q is 1) image/png (q is 1) text/html (q is 0.9) text/plain (q is 0.8) \*/\* (q is 0.5) So you visit www.myappp.com in safari and if the app supports .xml then Rails should render .xml file. This is not what user wants to see. User wants to see .html page not .xml page.
  12. Jul 2020
    1. Oracle didn’t seem very interested in OpenOffice.org, and the community of volunteers developing it formed The Document Foundation back in 2010. They called on Oracle to participate and donate the OpenOffice.org name and brand to the community. Oracle never did, and the resulting forked office suite has been named LibreOffice since then.
    2. In 2011, Oracle laid off OpenOffice’s paid developers and donated the OpenOffice software to the Apache Foundation, rather than The Document Foundation. It’s remained there since, a project in slow but steady decline.
    1. These seem to be better reasons to support sub-nanosecond resolution. I think either storing picoseconds or storing sec fraction as 64-bit integer are better approaches than storing a rational. However, either change would be very invasive, and it seems unlikely to be worth the effort.
    1. JSON parsing is always pain in ass. If the input is not as expected it throws an error and crashes what you are doing. You can use the following tiny function to safely parse your input. It always turns an object even if the input is not valid or is already an object which is better for most cases.

      It would be nicer if the parse method provided an option to do it safely and always fall back to returning an object instead of raising exception if it couldn't parse the input.

    1. I been using turbo tax for like 5 years now.. Every year the predatory UI gets worse and worse. It constantly badgers you for more service for simple returns, it locks you in to benefits when you are just trying to see if one tax stance is better than another, IT NEVER LETS you go back and undo any PRODUCTS unless you want to delete your whole return. I think part of my frustration is the terrible tax laws we have in this country but for petes sake if you cant let me add up itemized deductions and compare them to a standard deduction WITHOUT locking into a product, you honestly have a terrible product. Just be honest with your pricing instead of trying to trick people into these products and HOLDING THEIR HOURS OF CLERICAL WORK HOSTAGE. WHAT A JOKE.
  13. Jun 2020
    1. and eventually waste away and die never having taken either path.

      Reminds me of Burdian's Ass. As explained at Wikipedia:

      "Buridan's ass is an illustration of a paradox in philosophy in the conception of free will. It refers to a hypothetical situation wherein a donkey that is equally hungry and thirsty is placed precisely midway between a stack of hay and a pail of water. Since the paradox assumes the ass will always go to whichever is closer, it dies of both hunger and thirst since it cannot make any rational decision between the hay and water. A common variant of the paradox substitutes two identical piles of hay for the hay and water; the ass, unable to choose between the two, dies of hunger."

    1. However, a ActiveRecord::Rollback within the nested transaction will be caught by the block of the nested transaction, but will be ignored by the outer transaction, and not cause a roll back! To avoid this unexpected behaviour, you have to explicitly tell rails for each transaction to indeed use proper nesting: CopyActiveRecord::Base.transaction(joinable: false, requires_new: true) do # inner code end This is a safer default for working with custom transactions.
  14. May 2020
    1. the i18n object with all the strings

      They don't require supplying all keys for other objects that can be overridden, such as banner: the default value is used for whatever keys are not provided within the banner object. In other words, values are merged, with the supplied values overriding the defaults. The i18n object should work the same way. Often you only need/want to override a couple phrases/translations, not all of them.

      See: https://www.iubenda.com/en/help/1205-how-to-configure-your-cookie-solution-advanced-guide

    1. I dismissed the idea, though, because I thought that cloning even part of a repository with git-svn required scanning every commit in the entire repository, in order to build the local history. With almost 1.5 million commits in the plugin repository, that would take roughly 4 hours to clone a plugin.
  15. Apr 2020
  16. Mar 2020
    1. Ruby's current handling of Dates and Times is all over the map. We have Date, Time, DateTime, ParseDate, and more, not to mention all the other common extensions running around out there. Ruby needs an improved class that incorporates them all.
  17. Feb 2020
    1. Make two-way door decisions Most decisions are easy to reverse, have the directly responsible individual make them without approval. As Jeff Bezos describes only when you can't reverse them should there be a more thorough discussion.
    1. The .ignore file , from what I can tell, needs to exist in the directory you're targeting for it to be recognized, not the current directory. If you're searching in .src, the file would need to be there for it to work.
  18. Jan 2020
    1. Antonio Damasio, a neuroscientist at USC wrote about a patient he called Elliot, who had damage to his frontal lobe that made him unemotional. In all other respects he was fine—intelligent, healthy—but emotionally he was Spock. Elliot couldn’t make decisions. He’d waffle endlessly over details. ­Damasio concluded that although we think decision-­making is rational and machinelike, it’s our emotions that enable us to actually decide.
    1. ssh doesn't let you specify a command precisely, as you have done, as a series of arguments to be passed to execvp on the remote host. Instead it concatenates all the arguments into a string and runs them through a remote shell. This stands out as a major design flaw in ssh in my opinion... it's a well-behaved unix tool in most ways, but when it comes time to specify a command it chose to use a single monolithic string instead of an argv, like it was designed for MSDOS or something!
  19. Dec 2019
    1. The Internet permission is only used to display the Google Map, which is only displayed once on creating a new location. Meaning, once you created all your needed locations, you can deactivate the Internet permission and still use the location based reminders (Note: Most devices don't allow you to revoke this permission, sorry).
    1. Directly on the Switch: Some third-party games including Fortnite and Overwatch don’t need a separate app. You just connect a standard headset to the single 3.5 mm audio jack on your Switch and chat without the app, just like a smartphone. Again, Nintendo’s own games won’t work with this.

      This seems like the obvious solution. Why would Nintendo make you get a separate app on a separate platform (Android) when they could just let you chat directly via the Switch device like these games do?

    1. The IdentitiesOnly yes is required to prevent the SSH default behavior of sending the identity file matching the default filename for each protocol. If you have a file named ~/.ssh/id_rsa that will get tried BEFORE your ~/.ssh/id_rsa.github without this option.
    1. Arguably, the rails-team's choice of raising ArgumentError instead of validation error is correct in the sense that we have full control over what options a user can select from a radio buttons group, or can select over a select field, so if a programmer happens to add a new radio button that has a typo for its value, then it is good to raise an error as it is an application error, and not a user error. However, for APIs, this will not work because we do not have any control anymore on what values get sent to the server.
  20. Nov 2019
    1. The thing is that each UI decision depends on countless other UI decisions. A simple example is keybindings. On UNIX/Linux, it’s nearly impossible to pick reasonable default bindings for global desktop navigation because they all conflict with bindings that some app is using. On Windows, the desktop navigation bindings are hardcoded, and no app uses them, because apps know for sure which bindings to avoid.
  21. developer.mozilla.org developer.mozilla.org
    1. Using with is not recommended, and is forbidden in ECMAScript 5 strict mode. The recommended alternative is to assign the object whose properties you want to access to a temporary variable.
  22. May 2018
    1. I realized that with my medical condition (link is external), it had to be someone who understood my condition, my philosophy about life and healthcare, along with knowing my long list of allergies to medications and foods.

      This portion of the article highlights the importance of trusting the person that you chose as a health care proxy to respect your values and lookout for your best interest.

    2. Further, a doctor, medical center, hospital, EMT, and even assisted living staff can make decisions regarding your healthcare, treatment methods and type of medical care to provide you if you are not married, over 18 years old, and do not have a health care proxy in place

      Medical decision making has very specific in rules to protect the rights of the patient. The rules can vary according to a patient's age, marital status, and wether or not they signed a health care proxy document in the first place.

    3. Who would decide what was best for you? Who would advocate on your behalf?

      This is a scary question that most people in the United States have to consider at one point in their life. Trust in the person in charge of making medical decisions is essential.

    4. Health care proxy: An advance medical directive in the form of a legal document that designates another person (a proxy) to make health care decisions in case a person is rendered incapable of making his or her wishes known.

      The medical definition of a health care proxy- a legal medical document that transfers power of medical decision making from a patient to a trusted person.

    1. The question each proxy should ask when making decisions on behalf of others is, who am I truly serving — the patient or myself?

      This article really high lights the potential negatives of the concept of healthcare proxies and provides real life scenarios to help the reader relate.

    2. In situations like this, the proxy (knowingly or unknowingly), is primarily motivated by his own need to have one last opportunity to repair the broken relationship and make amends to redeem himself.

      This last situation suggests that a proxy could have personal motives for keeping a patient alive- in this case, a son was trying to keep his father alive due to his feelings of grief and guilt over the broken relationship. The father was being kept alive in the hospital even though the medical professionals had advised against it.

    3. When the patient is unwilling or unable to make medical decisions, the health care proxy is activated and he or she is obligated to make all health choices on behalf of the patient. These may be related to withdrawing or withholding life support, instituting artificial liquid feeding, attempting resuscitation and even whether or not to participate in autopsy and organ donation.

      Any decisions regarding the care and body of the patient are headed over to their health proxy, who assumes any medical decision making responsibilities from there.

    4. Most of us will lose our ability to make medical decisions for ourselves in the last phase of our lives

      This is an issue that may affect the majority of American people towards the end of their lives.

  23. Sep 2015
    1. Each group watched a series of images and the individuals in the group voted for which ones they found most attractive. The results: The oxytocin-influenced participants tended to go with the flow of their group, while the placebo-dosed participants hewed to their own individualistic path. The implication: Oxytocin is great when you’re out with friends or solving a problem with coworkers. It might not be so great when you need to pick a leader or make some other big decision that requires independence, not conformity.
  24. Feb 2014
    1. But when asked what he would have done differently, the answer was easy. "I would have got rid of the slash slash after the colon. You don't really need it. It just seemed like a good idea at the time."
  25. Sep 2013
    1. They also started to standardize and very deliberately reduce the supported infrastructure and configurations. One decision was to switch everything to PHP and MySQL. This was a philosophical decision, not a technology one: they wanted both Dev and Ops to be able to understand the stack, so that everyone can contribute if they wanted to, as well as enabling everyone to be able to read, rewrite and fix someone else’s code.

      NOTE: "This was a philosophical decision, not a technology one."