For me, reusing widely used code that's heavily tested is preferable to the liability of handwritten code. If I'm given the opportunity, when possible, I'm going to choose the former.
React is a view library. It keeps the page to date with your data, much like Vue or Angular.
jQuery is a DOM manipulation library, so in a sense it is lower level than React. It abstracts the DOM implementations across browsers to provide a unified interface. It lets you do things like animations, and find element dimensions in a cross-browser way.
Today, developers are choosing React because it more closely aligns with the needs of modern webapps. Most browsers have become more standards-compliant so jQuery is not such a necessity anymore. React is a fast and readable library to keep your page up to date with your data.
> The big problem with trying to tune a guitar that way is that you're tuning a guitar so it's in tune when you don't press the strings, but then when you actually play it you do press down the strings.
When you press the strings, they will all press equally, playing a correct relative tune.
> Any slack present in the string winding can cause the string to go out of tune easily if you loosen the string to the correct tension.
You can get around that by using harmonics. Because you play harmonics without pushing all the way down, you can achieve a more precise tune.
The strongest harmonic is achieved when you gently place your finger on the string directly over the metal fret. A harmonic can only be achieved when you do not press the string all the way down into the fret.
The harmonic on the 7th fret of one string is the same note as the harmonic on the 5th fret on the next higher string. This is true for all consecutive string pairs other than (G, B).
You can tune using these pairs of harmonics to tune more precisely than pressing all the way down.
You will need to tune the (G, B) pair without harmonics.
The article is short and cursory. It can be summarized with the following excerpt:
> Zcash uses zero-knowledge proofs to guarantee that transactions are valid despite the fact that information about the sender, the recipient, and the amount transacted all remain hidden. The power of the idea has major banks interested. JPMorgan Chase recently worked with Zcash to add zero-knowledge functionality to its own private Ethereum-based blockchain.
> Fulcrum. Given a sequence of integers, returns the index i that minimizes |sum(seq[..i]) - sum(seq[i..])|. Does this in O(n) time and O(n) memory.
This is doable in O(n) time and O(1) memory. Sum the list once. Then start from the beginning, collecting a running total and subtracting from the sum for a running difference.
jQuery's bread and butter is DOM manipulation. However, for even moderately small use cases (even an interactive form) it is useful to use React, Angular, or some data binding framework, as state changes in jQuery quickly become unmaintainable.
slap[0] (the terminal-based text editor) was designed to emulate Sublime's UX within the terminal. It has a shallower learning curve than other command line editors.
Another useful quality of a diff algorithm is being able to understand and detect moves. This is not commonly implemented but one real-world example is https://www.semanticmerge.com/.