5,586 Matching Annotations
  1. Jan 2020
    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.
  2. www.drugwiki.net www.drugwiki.net
    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. 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.

  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.
    1. 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
    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. 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. 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. 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.
  4. Nov 2019
    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. 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. 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. 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?

    2. 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.

      https://www.franchisebusiness.com.au/7-eleven-moves-to-support-animal-welfare/#annotations:DQb_6Pm6EemWVyNU8bM-aQ

    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.
    1. Based on examples given in https://github.com/Microsoft/TypeScript/issues/29049

      Specific link: http://www.typescriptlang.org/play/#code/LAKAZgrgdgxgLgSwPZQARigRgDwBVUCmAHnAVACYDOqlcATglAOYB8AFEQFyq4CU3+AN6hUqOgTgQ6aAEQALAgBtFSVAHckdReQCEM1AHoDAQ2q4A3KAC+oOAE8ADgVQBleseaoAvKnkIZoDAotDT0jEzcbnQeTN6+cv6BwUiKBAB0KkxsGJhstAzMvLygoJCwiCjoUABMeIQkZFSoABK4ALIAMgCiqQC2ZHDsSABGAFYC-DyowiCi4pLSqFAEai3tHQAiCMaZPQT9UHBsRaimPJYgNiCl0PDIaBgAzHXEpBTUw0gpBB5DYwJxMA7SgEXjTaw3cr3KoAFheDXeqE+31+bBG4x4kyEIkMBnmUjQ6Jx+MWQMUIIhIHsTh4dAgBFwjmcPno9IuQSgIWRilwdIIAj5jJpLL57OSqQySCyGBhbG5vPpRRKIDIEF6qC64NmolQAA0ADSoACahoAWtYgA

      and: http://www.typescriptlang.org/play/#code/LAKAZgrgdgxgLgSwPZQARigRgDwBVUCmAHnAVACYDOqlcATglAOYB8AFEQFyq4CU3+AN6hUqOgTgQ6aAEQALAgBtFSVAHckdReQCEM1AHoDAQ2q4A3KAC+oOAE8ADgVQBleseaoAvKnnH9AD6+csbKSDKgMCi0NO7M3G50Hkzewf6R0UiKBAB0KkxsGJhstEnMvLygoJCwiCjoUABMeIQkZFSoABK4ALIAMgCi2QC2ZHDsSABGAFYC-DyowiCi4pLSqFAEal29fQAiCKFITEMEo1BwbBWopjyWIDYg1dDwyGgYAMwtxKQU1JNILIEDwTGYCVJgUKUAi8RbWZ61N4NAAs3zaf1QAKBILYU1mPHmQhEhgMqykaDxxLJ60himh8JA9icPDoEAIuEczh89DZ9yiUBiWMUuFZBAEoo5zO5or5mWyeWOhSgyLYQpFbIqVRAZAgw1QAzhy1EqAAGgAaVAATQtAC1rEA

    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. 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. 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.
    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.
    1. 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
  7. Aug 2019