52 Matching Annotations
  1. Apr 2020
    1. Regarding a Hunter S. Thompson book. The reviews on Amazon. One review said to read Fear and Loathing in Las Vegas first before this one inquiry mentions. So noted.

  2. Mar 2020
    1. Position your modem off and well above the floor.

      suggested actions

    2. Move your modem to a central point in your home.

      suggested actions

    3. Here are some tips to help improve your Wi-Fi set up:

      suggested tips

      create need for product

    4. You’ve already got your home internet from us, but with so many devices connected to your home Wi-Fi you just want it to work well. Here are some tips on how to make your experience even better.

      grab attention

      conditions of need for product

      suggested tips

  3. Nov 2019
    1. Generated black magic code will give us a hard time building on top when we try to adjust or extend it without knowing what it actually does.

      Generated black magic code will give us a hard time building on top when we try to adjust or extend it without knowing what it actually does.

  4. Oct 2019
    1. With APIs, you pull data from the provider. But webhooks allow the provider to push data to you.

      With APIs, you pull data from the provider. But webhooks allow the provider to push data to you.

  5. May 2019
    1. Hooks enable a drastically different way to build stateful components in React, which means that they also invalidate 1 a lot of the established patterns.

      Hooks enable a drastically different way to build stateful components in React, which means that they also invalidate 1 a lot of the established patterns.

  6. Mar 2019
    1. While hooks alone are useful, they become even more powerful with the ability to combine them into custom hook functions. By building your own hooks, you are able to extract React logic into reusable functions that can simply be imported into our components. The only caveat to hooks is that you must follow some basic rules.

      While hooks alone are useful, they become even more powerful with the ability to combine them into custom hook functions. By building your own hooks, you are able to extract React logic into reusable functions that can simply be imported into our components. The only caveat to hooks is that you must follow some basic rules.

  7. Feb 2019
    1. Where this gets even more powerful is the ability to create custom hooks that use useStaticQuery in them. Let’s say you need to query for the site title several times in your app. Instead of a call to useStaticQuery in each component, you can extract it out to a custom hook like:

      Where this gets even more powerful is the ability to create custom hooks that use useStaticQuery in them. Let’s say you need to query for the site title several times in your app. Instead of a call to useStaticQuery in each component, you can extract it out to a custom hook like:

    1. Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.

      Portals provide a first-class way to render children into a DOM node that exists outside the DOM hierarchy of the parent component.

    1. Add notify and you’ll get desktop notifications when the test runner finishes. If you have thousands of tests, they can take a while to finish. Just by adding this flag you’ll optimize your time.

      Add notify and you’ll get desktop notifications when the test runner finishes. If you have thousands of tests, they can take a while to finish. Just by adding this flag you’ll optimize your time.

    1. Adding type annotations can take a little bit of additional type, but the benefits will undoubtedly pay off. Our code will be less prone to errors, it will be self-documented, and our team members will be much more productive because they will spend less time trying to understand the pre-existing code.

      type annotations help us code faster

  8. Jul 2018
    1. It seems that users prefer to use applications instead of mobile sites on smartphones, but at the same time, they are not eager to install apps from the stores. PWAs solve that problem.

      users prefer to use apps instead of mobile sites, but don't want to install apps from the app store

  9. Jun 2018
    1. Apollo link state is a way to combine your local state management with your remote state management. The approach assumes you are using Apollo, which allows you to use GraphQL over Rest. However, you do not need a GraphQL server in order to use this approach! – apollo-link-http allows you to write everything you need to adopt Apollo client side. This means that it's a viable all-in-one solution for state management (async and remote included), even if you aren't using GraphQL.

      Manage local state and remote state with apollo-link-state, without needing GraphQL, using apollo-link-http

    1. We knew we had to solve this problem, so we asked ourselves: What would it look like to manage state in Apollo Client? First, we thought about what we liked about Redux — features like its dev tools and binding state to components via connect. We also thought about some of our pain points with Redux, like its boilerplate and its do-it-yourself approach to core features like asynchronous action creators, caching, and optimistic UI.

      Managing your local data in Apollo Client with apollo-link-state

  10. May 2018
    1. Please use Open Zeppelin smart contracts, they help to take the guesswork out of security issues with solidity and ensure that you are deploying a safe smart contract. It is not a silver bullet, but it will help you to develop more secure code.

      Use Open Zeppelin smart contracts and write more unit tests.

    1. What we need is actions and dispatchers to dynamically update the store. What if our dynamic store was just the state of a root React component?

      What we need is actions and dispatchers to dynamically update the store. What if our dynamic store was just the state of a root React component?

    1. First, using change detection only for updating the view state limits the number of places where the application model can be changed. In this example it can happen only in the `rateTalk` function. A watcher cannot "automagically" update it. This makes ensuring invariants easier, which makes code easier to troubleshoot and refactor.

      trigger $digest cycle on: User Interaction through events, XMLHttpRequests and Timeouts.

    1. Now that you have setup the library successful, you can use many algorithms of deep-learning in the start function after net = new convnetjs.Net();, and if you need something to run periodically then use the periodic function.

      Use deep-learning algorithms with the constructor.

    1. In order to ensure that happens, Webpack provides chunkhash. Chunkhash is based on the contents of each entry point rather than the entire build. Using that is just as easy:

      Chunkhash is based on the contents of each entry point rather than the entire build.

    1. In this article, I am going to give a quick overview about Node.js and then we will share 50 most recommended node.js framework which will help software developer to boost their skills.

      Brief on various node frameworks, mostly unmaintained.

    1. This problem is a classic one with small to medium companies. The application that is being developed in the company has only unit tests (the base of the pyramid) and nothing else.

      Unit tests without integration tests is an anti-pattern

  11. Feb 2018
    1. Máire Ní Mhongáin

      As Ciarán Ó Con Cheanainn writes in Leabhar Mór na nAmhrán, the oldest written version of this song dates to 1814, and is found in MS Egerton 117 in the British Library. Oral lore in Conneamara has it that Máire Ní Mhongáin’s three sons joined the British Army, and that Peadar deserted soon after joining, and emigrated to America. It seems probable that their involvement was in the French Revolutionary Wars or the Napoleonic Wars, the major conflicts fought by the British Army in the final decade of the eighteenth century and the first decade of the nineteenth respectively.

      Máire Ní Mhongáin seems to have resonated among Irish emigrant communities in the United States. My evidence for this is that Micheál Ó Gallchobhair of Erris, County Mayo, collected songs from Erris emigrants living in Chicago in the 1930s, over a century after the occasion of ‘Amhrán Mháire Ní Mhongáin’s’ composition. It features in his collection, which you access via the following link: http://www.jstor.org.ucc.idm.oclc.org/stable/20642542?seq=2#page_scan_tab_contents

      The virulent cursing of departed sons by the mother, named Máre, produces the effect of striking g contrasts with John Millington Synge’s bereaves mother, Old Maurya, in Riders to the Sea.

      My Irish Studies blog features an in-depth account of typical features of the caoineadh genre to which Amhrán Mháire Ní Mhongáin belongs. You can access it via the following link: johnwoodssirishstudies.wordpress.com/2018/01/03/carraig-aonair-an-eighteenth-century-west-cork-poem/

    1. Bean an tSeanduine - Sean Nós 2

      ‘Bean an tSeanduine’ features all of the conventions of the malmariée genre we have previously encountered in ‘An Seanduine Cam’. Also, it is a good example of the speaker blaming her parents for her plight, which is another regular feature of this song type.

      As well as being one of the finest examples of the genre, it is perhaps the most well-known and commonly sung, owing in large part to the simplicity and catchiness of its monosyllable end-rhymes.

      As well as Ó Tuama, Meidhbhín Ní Úrdail has written about the common features of the chanson de la malmariée. Her article ‘The Representation of the Feminine: Some evidence from Irish language sources’ in Eighteenth-Century Ireland/Iris an Dá Chultúr is a rich source of information on the topic. In ‘Bean an tSeanduine’, we have a fine example of what Ní Úrdail calls the description of ‘the plight of a beautiful young woman, trapped in an unhappy marriage to an impotent elderly spouse who is ignorant of her mental and physical frustration’. However, when we consider the particular humour of this song, we can identify how it serves to empower the female speaker.

      ‘Bean an tSeanduine’ differs from ‘An Seanduine Cam’ in that there is no third-person narrator. Like ‘An Seanduine Cam’, the humour of the song relies on a ridiculing of the old man, although here the young woman herself is his detractor. Each of his brags meet a witty riposte. When he claims wealth, she calls him a miser, and when he wonders what would become of his if he died during the night, she jokes that death is an immanent danger. When mockery of this kind is voiced by the female speaker, it serves to empower her, and inspire in the listener a sense of sympathy and respect.

    1. An Seanduine Cam - Corn Uí Riada 2016

      The song’s first two verses are spoken by a third-person narrator. In its humorous exaggeration, the first verse caricatures recognized conventions of arranged marriage. This narrative consciously situates itself in a genre whose familiarity to the listener is a necessary part of the humour. It addresses the economic incentives which were the major precipitating factors of marriage arrangements in rural Ireland during the eighteenth century. It also invokes the misery which such marriages often visited upon young women.

      In his essay ‘Love in Irish Folksong’, Seán Ó Tuama identifies among typical features of the malmariée genre that ‘a young woman speaks (in the first person) of her anguish,’ that ‘the description of the husband can be unbelievably grotesque and ribald: he is humped, crippled; he coughs, grunts, whines at night; most of all, he is cold as lead, important, and completely fails to satisfy her desires’, and that ‘she discloses that she is going to leave him for a young man’ (149). ‘An Seanduine Cam’ provides clear examples of all of these traits.

      Moreover, because these tendencies find expression in a debate form, and are redoubled in response to the unfeeling man, the resistant character of the put-upon young woman is strongly emphasized.

    1. chúige

      ‘what you yourself and the late John O’Daly, following in the footsteps of Edward Walsh, to some extent accomplished for Munster, more than thirty years ago’ (iv)

      John O’Daly (1800-1878) was an editor and publisher. He published Edward Walsh’s Reliques of Irish Jacobite Poetry (1844), as well as two series of Poets and Poetry of Munster, the first by James Clarence Mangan (1849), and the second by George Sigerson (1860). In another of his works, Mise agus an Conradh (1937), Hyde wrote ‘Ní raibh éinne, lena linn, a rinne níos mó ar a shlí féin chun Gaeilge a leathnú agus a shaothrú’ (There was noone, during O’Daly’s time, who did as much as he did to popularize Gaelic’, my trans.) The most comprehensive biography of John O’Daly is that in Beathaninéis, vol. 2, by Diarmuid Breathnach and Mairéad Ní Mhurchú. It is available online at https://www.ainm.ie/Bio.aspx?ID=1193

      The most comprehensive biography I have found in English is the entry in The Oxford Companion to Irish Literature, edited by Robert Welch.

    2. grádh

      ‘My Dear Dr. Sigerson’ (iv)

      The Dr. Sigerson in question is George Sigerson (1836-1925), a physician and an eminent translator of Gaelic poetry. When the Gaelic League was founded in 1893, Hyde was elected as its present, and so absented his role as president of the National Literary Society. Sigerson succeeded him, and was the society’s incumbent present when Love Songs of Connacht was published.

      A direct address to the National Literary Society was famously performed by Hyde in 1892. The central idea of his speech titled ‘The Necessity for De-Anglicising Ireland’ was that there was an indissoluble link between a nation’s language and its culture, and that it was a sign of cultural weakness to mimic English ways and habits of thought.

      The beginning of Love Songs of Connacht reminds us of the ideological backdrop from which the book emerges. For in-depth accounts of the development of the idea that language and nationhood are inextricably linked, see Diarmuid Ó Giolláin’s Locating Irish Folklore: Tradition, Modernity, Identity (2000), and Joep Leerssen’s National Thought in Europe: A Cultural History (2006). You can read the text of Hyde’s 1892 speech to the National Literary Society at http://historymuse.net/readings/HYDENecessityforDeAnglicizingIreland1892.html

  12. Jan 2018
    1. reuse some exisitng configuration files without necessarily understand how Webpack really works.

      Get around having to reuse webpack config files.

    1. What makes Watson really great to me is its Natural Language Understanding and all the Watson Developer Cloud services are available in beta form, so they are free to use.

      Watson Developer Cloud services are available in beta form

  13. Jun 2017
    1. Throughout a lot of the case studies that Addy features, the heavy-hitters in building for better web experiences lied in link rel=preload, requestIdleCallback(), and HTTP2 Server Push. There were many mentions the PRPL pattern

      Build a better web experience with link rel=preload, requestIdleCallback(), HTTP2 Server Push, and PRPL

  14. Jan 2017
    1. In fact, you can compose those components with each others to make more advanced charts. That way, you benefit from already available reusable components. You can even break those advanced components in multiple reusable ones on your end.

      Victory gives you composable components and some useful abstractions out-of-the-box, but when your requirements are very specific you will need to use D3 directly.

    1. If you write code at the peak of your mental capacity, then it will be harder for you to understand it later, not to even mention your colleagues who are not even familiar with the intricacies of the algorithm

      Keep your code extremely simple, so when you come back to it 6 months later, you'll know what the heck you were doing.

    1. PureComponent saves us time and helps us to avoid writing redundant code. It is important to understand the right ways to use it, otherwise its usefulness is voided. Since the PureComponent does shallow comparison, changes inside props or state will be ignored. For example, let's consider a situation where the parent component has a render method and a click handler:

      Shortcut to do only shallow comparisons before triggering render will optimize React apps as deep comparisons are expensive.

    1. The process of setting up Lambda that has been demonstrated in this article is very manual and somewhat ephemeral, but there are other ways to configure and initialize Lambda driven by the AWS API.

      Serverless just means not having to maintain one, and instead using functions as a service. Easily configurable with some frameworks.

  15. Dec 2016
    1. Ember tries to solve this with FastBoot. Backbone has Rendr. React has React Isomorphic.

      Angular Universal over React Universal, Ember FastBoot, and Backbone Rendr

    1. Whether used on their own or combined together, the best thing about these two features is that they are the perfect progressive enhancement. If your user's browser doesn't support them, they will simply fall back to HTTP/1.1 without Service Workers. Your users may not experience as fast a load time as they would with these two techniques, but it would be no different from their normal experience. HTTP/2 Server Push and Service Workers are really the perfect partners when it comes to web performance.

      Pushing data to the user with HTTP2 before the browser has requested it, and serving assets from a cache on subsequent page loads with service workers.

    1. By restraining the usage of context to be just a dependency injection system, instead of a state container, we can make context based libraries and shouldComponentUpdate behave both correctly without interference, without breaking the API's of consumers. And without requiring a better context implementation in React itself. Just stick to this simple rule:

      Use context as dependency injection that will only be called once within a component.

    1. On a related note, multitasking is a really bad idea. To be productive, developers need to focus on one thing at a time.

      It costs a lot to switch and do different things. Concentration produces better quality code with less bugs.

    1. ... props are a way of passing data from parent to child. ... State is reserved only for interactivity, that is, data that changes over time.

      Managing ephemeral state is often done with a predictable state container such as Redux, Flux, or MobX.

    1. It's a shame that we're all still building custom solutions to this problem rather than collectively using something built into the browser. Users tend to learn the UX features of their browsers if they're exposed to them enough. We don't debate whether a user will have trouble inputting text into an <input>, or selecting an option from a <select>, because these are controls that the user sees in their browser of choice all the time.

      Instead of building our own form validation styles we should be using what's built into the browser.

    1. To get to instant-loading, auto-upgrading experience, all you need to do is combine the laser-sharp leanness of AMPs with the richness of progressive web apps in one (or multiple) of the following ways: AMP as PWA When you can live with AMP's limitations. AMP to PWA When you want to smoothly transition between the two. AMP in PWA When you want to reuse AMPs as a data source for your PWA.

      AMPs load instantly and PWAs give you native-like experiences. Some patterns in implementing them together.

    1. Let's say we have a page that's a simple form. Or simple form will have autocomplete, so we need to make queries. We need to submit the form so we will have a mutation. This same form will be used to allow users to edit the record, so we need multiple mutation queries in one componentX. One way to accomplish this is with compose, which takes multiple mutation queries and runs them simultaneously. You will need to name your queries.

      How to GET, POST, and DELETE in one view in a React component on a reactive server with GraphQL

    1. This is really simple to use once you have React v15.4.0 in your project. We kindly copied the guide for Google Chrome from v15.4.0 release notes:

      Component profiling now ready with React v15.4 in Chrome devtools timeline

    1. This is where babel-preset-env comes in: it's a Babel preset that automatically determines the correct Babel plugins to use based on the provided environments

      Babel presets let you target supported environment. Tell the transpiler how to handle ES2015 and ES2016 constructs and avoid transpiling everything down to ES5, for example.

    1. make your own successful strategy to transform your technology stack quickly and successfully

      make your own successful strategy to transform your technology stack quickly and successfully

    1. automatically update links in a navigation list based on scroll position.

      Scrollspy is used to automatically update links in a navigation list based on scroll position.

    1. So as a developer you don't bother with complicated interactions. You just manage changes to the state in response to user or server changes. The UI then updates itself. And they all use a "virtual dom" for performance (use service workers) and to increase portability of rendering (server, client or even native mobile app). A CLI to simplify common tasks and facilitate recommended best-practices.

      Predominant theme in JS frameworks - manage changes in your state, directed by the user or server, and the UI updates itself.

    1. Use React for ephemeral state that doesn't matter to the app globally and doesn't mutate in complex ways.

      React components handle state effectively, there's no need to throw in Redux because that's what all the cool kids are doing.

    1. Electron compiles desktop applications for Windows, Linux, and Mac. Meteor creates a full stack web application and potentially iOS and Android apps via Cordova.

      Electron compiles desktop applications for Windows, Linux, and Mac. Meteor creates a full stack web application and potentially iOS and Android apps via Cordova.

  16. Feb 2015
    1. Positive-stranded RNA viruses: I went to a retro (retrovirus) toga (togavirus) party, where I drank flavored (flavivirus) Corona (coronavirus) and ate hippy (hepevirus) California (calicivirus) pickles (picornavirus).

      I would add "positively fun" to the mnemonic for positive-stranded RNA viruses, so it reads, "I went to a POSITIVELY FUN retro toga party, where I drank flavored Corona and ate hippy California pickles.