4,390 Matching Annotations
  1. Jan 2020
    1. to remember how to best fall down;

      Remember how our children learned to walk? Yeah, they didn't learn how to walk, they learned how to fall down.

    1. I understand this is a relational division type problem, involving having and count. These posts describe what I want to do, but I can't figure out how to apply the examples to the particular case above:
    1. Please do not make the mistake of trying to reduce the HAVING clause with a little false relational algebra to: 1 HAVING COUNT(PS1.plane_name) = COUNT(H1.plane_name) because it does not work; it will tell you that the hangar has (n) planes in it and the pilot_name is certified for (n) planes, but not that those two sets of planes are equal to each other.
    1. Thyroxine was added to their antidepressant medication, and the doses were increased to a mean of 482 ± 72 μg/day.

      This is the highest dose of levothyroxine that I've seen administered. Even treatment for thyroid cancer rarely goes beyond 300 mcg (or even 200 mcg, which is more common).

  2. www.drugwiki.net www.drugwiki.net
    1. L-T3 has proven to be 4-5 times more biologically active and to take effect more quickly than L-thyroxine (L-T4).

      Will need to check up on that. I recall T4 being less potent.

    1. a private library is not an ego-boosting appendages but a research tool. The library should contain as much of what you do not know as your financial means … allow you to put there. You will accumulate more knowledge and more books as you grow older, and the growing number of unread books on the shelves will look at you menacingly. Indeed, the more you know, the larger the rows of unread books. Let us call this collection of unread books an antilibrary.
    1. The substitution of l-T3 for l-T4 at equivalent doses (relative to the pituitary) reduced body weight and resulted in greater thyroid hormone action on the lipid metabolism, without detected differences in cardiovascular function or insulin sensitivity.

      This implies that T4 and T3 are not identical, but I want to check the study further to see if half-life comes into play. The T3 group could theoretically have higher daily thyroidergic exposure, but maintain TSH because they experience a daily dip. Multiple dosing at least partly solves this issue. Controlled release tablets would be ideal.

    1. In almost all cases the genetic basis of RTH lies in mutation of the carboxyl-terminus of the ß-thyroid hormone receptor. RTH is a dominant disorder, except in one family; most individuals are heterozygous for the mutant allele.

      So, given that thyroid hormone resistance does exist, the remaining question is whether it is common enough to explain some cases of CFS or similar conditions. Unfortunately this paper is not in english, but the abstract provides enough information to google more.

    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!
    1. Timothy Morton is Rita Shea Guffey Chair in English at Rice University in Houston. He is the author of Realist Magic: Objects, Ontology, Causality and Hyperobjects: Philosophy and Ecology after the End Of The World.

      want to read these

    1. altered thyroid gland function affects vasopressin and oxytocin release from the hypothalamo-neurohypophysial system in the state of equilibrated water metabolism

      I ought read the full study to see the proposed mechanism. The vasopressin effect is not surprising at all, but the oxytocin effect was unexpected for me. That may be because I know more about vasopressin than I do oxytocin.

    1. he ZORA Canon, our list of the 100 greatest books ever written by African American women, is one of a kind, yet it exists within a rich cultural tradition.
  3. Dec 2019
    1. Alternatively, you can use the Explore function to ask Google Sheets any number of questions about your to do list. It'll give you suggestions like "Most frequent Task" or "What percentage of Tag is [tag name]" and so on. This can give you insight into what you're working on the most and how you're spending your time, which can help you plan your workdays more productively.
    2. It's not customizable enough and there aren't enough distinct fields for inevitably complex work tasks. Google Sheets fixes that. No, it's not a to do list app, but that's why I love it. It's an app I already use. It's extremely customizable.
    1. Best to-do list app for taking control of your to-do list
    2. Games are fantastic at motivating mundane activity—how else can you explain all that time you've spent on mindless fetch quests? Habitica, formerly known as HabitRPG, tries to use principles from game design to motivate you to get things done, and it's remarkably effective
    3. The best to-do list apps
    4. Because keeping track of your tasks is an intensely personal thing, and people will reject anything that doesn't feel right pretty much instantly.
    1. For example: I wanted a way to add recurring tasks to my list, so I wrote a simple bash script called goodmorning.sh. It uses the command prompt client to quickly add a bunch of tasks to my todo list of choice. I run this script first thing in the morning every workday, and I like it better than any built-in system I’ve found for recurring tasks, because it’s fully under my control.
    1. n their book “New Power,” Henry Timms and Jeremy Heimans lay out the characteristics of old and new power.<img class="ex t u je ak" src="https://miro.medium.com/max/1862/1*jmW_5ey9vS_fNMPt5qO5Cg.png" width="931" height="522" role="presentation"/>
    1. Types of questions and where to ask: How do I? -- ask on Server Fault (tell them what tags to use -- your product tag at minimum) I got this error, why? -- ask on Server Fault I got this error and I'm sure it's a bug -- report it on your own site I have an idea/request -- report it on your own site Why do you? -- ask in your own community (support forum, etc) When will you? -- ask in your own community
    1. Basically, the standard said something, interpreters ignored it because the standard seemed illogical, but now interpreters like Bash have really confusing semantics, and no-one wants to fix it.
    1. ReST

      "ReST" instead of "REST". I like how this way matches the case of the actual phrase that it's standing in for "Representational State Transfer", so you can better tell which letters are the beginning of words (all but "e").

    1. An ssh public key in a ~/.ssh/authorized_keys file can have a command="" option which forces a particular command to be executed when the key is used to authenticate an ssh connection. This is a security control that mitigates against private key compromise. This is great when you only need to execute a single command. But if you need to perform multiple tasks, you would normally need to create and install a separate key pair for each command, or just not bother making use of forced commands and allow the key to be used to execute any command.
    1. Both /proc and /sys are virtual filesystems which reflect the state of the system, and allow you to change several runtime parameters (and sometimes do more dangerous things, like directly writing to the memory or to a device). You should never backup or restore them.
    1. You might think that a one-line configuration file is not worth backing up. However, if it took you three hours to figure out how to set that configuration, it will probably take you three hours again in six months time.
    1. Timeshift for Linux is an application that provides functionality similar to the System Restore feature in Windows and the Time Machine tool in Mac OS.
    1. CloneZilla works perfectly. It produces small image files, has integrity check and works fast. If you want to use third device as image repository you should choose device-image when creating image of the first disk and then image-device when you restore it to second disk. If you want to use only two disks - you should use device-device mode. Optionally you may want generate new UUIDs, SSH-key (if SSH server installed), and change hostname.
    1. This problem can also come up when you use npm link or an equivalent. In that case, your bundler might “see” two Reacts — one in application folder and one in your library folder. Assuming myapp and mylib are sibling folders, one possible fix is to run npm link ../myapp/node_modules/react from mylib. This should make the library use the application’s React copy.
    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.
    2. liberal_enum :kind
    1. When the controller creates the user, instead of adding a validation error to the record, it raises an exception. How to avoid this?
    2. I really dislike the reasoning as stated in the issue listed above. Since the value is coming over the wire, it should be treated the same as a freetext input where the expectation is to validate in the model and not the controller. This is especially true in APIs where the developers have even less of a say as far as expected input coming from form data (for example).
    3. In case anyone wants a hack, here is what I came up with.
    1. TC39 urges caution when using Stage 2-or below proposals, as it might result in inadvertent pressure from the community to keep the implementation as-is instead of improving it for fear of breaking existing code or ecosystem fragmentation (e.g. using a different symbol like # instead of @ for decorators).
    2. It's completely understandable that this happens without realizing it, but continuing to do so sets different expectations for how the language progresses. It's nothing to feel guilty about — we learn as a community and remind one another of how JavaScript works.
    3. Therefore, it's easy to search around for tweets/blog posts/talks that say "ES7 Decorators" and find that it's become the accustomed name for it.
    1. is more detailed than the discussion in #1269, so I wanted to create a separate discussion for it. If the maintainers disagree with this split please feel free to mark as a duplicate of 1269.
  4. Nov 2019
    1. Seeking more fuel from art, Proust started reading John Ruskin, whose influential The Seven Lamps of Architecture (1849) and The Stones of Venice (1851-53) revived popular interest in medieval art.

      want to read

    1. Super flexible & extensible SilverStripe fits the outcomes you want, and doesn't force your business outcomes into an out-of-the-box solution. Customise to your needs!
    1. I started this project mainly to explore using a React Native app to build React Native apps. There is a lot missing... I had to abandon while it was in progress since I don't have as much free time any more.
    1. Reason compiles to JavaScript thanks to our partner project, BuckleScript, which compiles OCaml/Reason into readable JavaScript with smooth interop. Reason also compiles to fast, barebone assembly, thanks to OCaml itself.
    1. I'm considering this, although I'm still leaning towards not including it and I'd love to just get rid of first if it wouldn't break so many peoples tests. Newcomers to Capybara don't understand (or aren't willing to learn) the issues that all/first (and last if added) have and massively overuse them. Yes the fact that all and first now wait by default will prevent some of the new user issues/confusion, but it won't fix the non-reloadability issue.
    1. It makes sense that the incoherent render would not be committed to browser and that it would not have any consequences most of the time. But that means that you render logic must be ready to manage incoherency between props and states without crashing. E.g. a list of resource ids in props that doesn't match a list of http requests from a previous id list in the state could lead to weird situations. This is a worry that didn't exist in class components.
    1. Since an uncontrolled component keeps the source of truth in the DOM, it is sometimes easier to integrate React and non-React code when using uncontrolled components.

      A good example for when to use uncontrolled components

    1. the main reason we built a new multiprocess architecture is that Chromium's multiprocess support was never contributed to the WebKit project. It has always lived in the separate Chromium tree, making it pretty hard to use for non-Chrome purposes.Before we wrote a single line of what would become WebKit2 we directly asked Google folks if they would be willing to contribute their multiprocess support back to WebKit, so that we could build on it. They said no.
    1. Can I ask people to upvote my submission? No. Users should vote for a story because they personally find it intellectually interesting, not because someone has content to promote.
    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.
    1. REST and GraphQL are wonderful tools to create an API that is meant to be consumed by third parties. Facebook's API, for example, is consumed by ~200k third parties. It is no surprise that Facebook is using (and invented) GraphQL; a GraphQL API enables third parties to extensively access Facebook's social graph enabling them to build all kinds of applications. For an API with that many consumers, GraphQL is the fitting tool. But, to create an internal API (an API developed and consumed by code written by the same organization), RPC offers a simpler and more powerful alternative. Large companies, such as Netflix, Google and Facebook, are starting to replace REST/GraphQL with RPC for their internal APIs. Most notably with gRPC which is getting popular in the industry.
    1. Some time ago I asked on Reddit: “What’s the consensus among the React community for testing React components?” Shawn Wang replied: “testing is an enormously complicated and nuanced topic on which there isn’t a consensus anywhere in JS, much less in React.” I was not trying to find the best library for testing React. Mainly because there isn’t one.
    1. "While we hope that Google will lift these unwarranted sanctions for AdNauseam, it highlights a much more serious problem for Chrome users," the AdNauseam team adds. "It is frightening to think that at any moment Google can quietly make your extensions and data disappear, without so much as a warning."
    1. Risk assessment◕Risk management strategy○Supply chain risk management◑

      okay, answer to previous question above.

    2. Risk assessment

      Note the differences between risk assessment and risk management. The project would look towards risk assessment and then migrate its focus to risk management potentially, but what then? and how will this transition be smooth/original?

    3. none of them analyzed the threat of, and vulnerabilities to, a cyberattack spanning all three interconnections.

      golden.

    4. Problem definition and risk assessment

      nice nice

    5. Problem definition and risk assessment.Addresses the particular national problems, assesses the risks to critical assets and operations—including the threats to, and vulnerabilities of, critical operations—and discusses the quality of data available regarding the risk assessment.

      This is the crux of what I should be looking at I guess This is in regards to national strategies. Is this what I need to do?

    6. Further, federal agencies have performed three assessments of the potential impacts of cyberattacks on the industrial control systems supporting the grid.

      Risk assessment or assessment of impact?

    7. The electric grid is becoming more vulnerable to cyberattacks via (1) industrial control systems, (2) consumer Internet of Things (IoT)45devices connected to the grid’s distribution network, and (3) the global positioning system (GPS).

      1) ICS 2) IOT 3) GPS

      worthwhile to assess one or all? Followed up question later

  5. Oct 2019
    1. 7-Eleven moves to support animal welfare By Nick Hall | 17 Feb 2019 View comments Global convenience chain, 7-Eleven has made major changes to its supplier sourcing agreement, eliminating caged eggs for the first time. The move follows ongoing criticism of the Australian cage egg farming industry, with several brands and chains making the early decision to move to wholly sustainable sourcing in-line with welfare standards. Working closely with suppliers across all states, 7-Eleven has now ensured that only free range eggs would be available for order by all stores. Clayton Ford, General Manager Corporate Affairs, 7-Eleven said the decision to phase out cage eggs was developed in accordance with franchisee wishes, with the convenience giant announcing it will increase support to assist in the transition. “Whilst our franchisees are free to engage with alternative suppliers due to our franchise agreement, we will continue to work alongside them to encourage their involvement in this initiative by sourcing free range eggs via our centralised supply chain,” Ford said. “We recognise that this is just one step, and we will continue to review animal welfare commitments in our supply chain and 7-Eleven branded products as opportunities arise.” Want to launch a convenience store of your own? Take a look at all available franchising opportunities here.
    1. Let's make the example even easier. function convertDate<T extends string | undefined>(isoDate?: string): T { return undefined } 'undefined' is assignable to the constraint of type 'T' Means: What you return in the function (undefined), matches the constraints of your generic type parameter T (extends string | undefined). , but 'T' could be instantiated with a different subtype of constraint 'string | undefined'. Means: TypeScript does not consider that as safe. What if you defined your function like this at compile time: // expects string return type according to generics // but you return undefined in function body const res = convertDate<string>("2019-08-16T16:48:33Z") Then according to your signature, you expect the return type to be string. But at runtime that is not the case! This discrepancy that T can be instantiated with a different subtype (here string) than you return in the function (undefined) is expressed with the TypeScript error.
    2. There are many strings which I need to convert if not undefined. I could do as follows: { date1: date1 ? formatISODate(date1) : undefined, date2: date2 ? formatISODate(date2) : undefined ...
    1. In the body of the function you have no control over the instantiation by the calling context, so we have to treat things of type T as opaque boxes and say you can't assign to it. A common mistake or misunderstanding was to constraint a type parameter and then assign to its constraint, for example: function f<T extends boolean>(x: T) { x = true; } f<false>(false); This is still incorrect because the constraint only restricts the upper bound, it does not tell you how precise T may really be.
    1. For the uninitiated, Granny Smith was Maria Ann Smith, a resident of the area who in 1868 "accidentally" grew the first batch of green apples that now bear her name.

      Yes, good thinking. Throw in a truthful fact or two. Impressive!

    2. Each year the winner is crowned with great fanfare at Eastwood Shopping Centre, which is owned by Yuhu Group, the company founded by billionaire property developer and political donor Huang Xiangmo.

      A suggestive paragraph that may have had currency at the time you put together the story - but really, pretty much irrelevant.

      With all this unnecessary detail - it's no wonder you never got round to the teeny weeny task of counterbalancing the grand crusade of George Simon to put an end to to the event, with the fact that it failed. Spectacularly!

      And if you had just a bit more time, you probably would have been able to also include there was another similar attempt prior to his, from one of his factional colleagues, that was also punted by council.

    1. BrainHQ, is an online brain-training software also developed by Posit Science. It is the only software available in Greek being used to any portable computing device (tablet, smartphone, etc.) as an application either on Android or on IOS provided in different languages. Undoubtedly, improvement of brain performance can bring multiple benefits to everyday life. Both research studies and the testimonials of users themselves show that BrainHQ offers benefits in improving thinking, memory and hearing, attention and vision, improving reaction speed, safer driving, self-confidence, quality discussion and good mood. BrainHQ includes 29 exercises divided into 6 categories: Attention, Speed, Memory, Skills, Intelligence and Navigation.

      In this conference paper the author is discussing about the different methods to interactively help learn people with disability, how their concentration and enthusiasm/motivation increases, if the right tool is used to teach them

    1. Unfortunately, numerous widely-used tagless-final interfaces (like Sync, Async, LiftIO, Concurrent, Effect, and ConcurrentEffect) encourage you to code to an implementation.

      How?

    1. Try to avoid mucking with native prototypes, including Array.prototype, if you don't know who will be consuming your code (3rd parties, coworkers, yourself at a later date, etc.). There are ways to safely extend prototypes (but not in all browsers) and there are ways to safely consume objects created from extended prototypes, but a better rule of thumb is to follow the Principle of Least Surprise and avoid these practices altogether.
    2. He's not messing with them he's extending them for Arrays.
    1. Their hope by announcing so loudly what they have accomplished, is that others in the Android modder/hacker scene will step up and help them turn this root exploit into something useful for users by deploying features that are not currently available through the Google controlled Chromecast experience.
    1. This issue is already known to us since yesterday. Our engineers are now working diligently to fix this behavior. I'd recommend you contact our Customer Care team and let them know that you're one of the affected users of INV36818. That way, they will link your company to the case. You will then receive a notification via email for its updates. 
    1. Robert Sedlack, my professor for Visual Communication Design I (who also happened to be my advisor and the driving reason why I decided to join the design program) banned two phrases during critiques in his class: “I like” and “I don’t like.”
    1. In Chrome browser, open Developer Tools and select Elements tab, then open the contextual menu of the parent node of the element you want to inspect, in the contextual menu click on Break on > Subtree modifications. Afterwards you just need to click on the page and you'll get on the inspector without losing focus or losing the element you want to inspect.
    2. (() => { debugger; }, 5000)
    1. However, if more control is needed, you can pass any of these pieces of state as a prop (as indicated above) and that state becomes controlled. As soon as this.props[statePropKey] !== undefined, internally, downshift will determine its state based on your prop's value rather than its own internal state.
    2. refKey: if you're rendering a composite component, that component will need to accept a prop which it forwards to the root DOM element. Commonly, folks call this innerRef. So you'd call: getRootProps({refKey: 'innerRef'}) and your composite component would forward like: <div ref={props.innerRef} />
    1. Inner RefSome components are passed an innerRef property to facilitate for internally managed behaviour within the base select. This should be assigned to the ref property of the relevant dom element. i.e.const CustomOptionComponent = ({ innerProps, innerRef }) => (<div ref={innerRef} {...innerProps} />) Inner PropsAll functional properties that the component needs are provided in innerProps which you must spread.
  6. Sep 2019
    1. The equivalent ways in functional components using Hooks:In a state variable: useState or useReducer. Updates in state variables will cause a re-render of the component.In a ref: Equivalent to instance variables in class components. Mutating the .current property won’t cause a re-render.
    1. What is the average cost to build a website?

      Being a leading web development company, we have the expertise of working on a diverse kind of projects for our global clientele. So, we can assist you to figure out the average cost to build and maintain a website. Well, once again, keep in mind that such cost estimations are not accurate figures.