- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.
3 areas:
alias show-hidden-files='defaults write com.apple.finder AppleShowAllFiles TRUE' alias hide-hidden-files='defaults write com.apple.finder AppleShowAllFiles FALSE'
alias subl='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl' alias st='/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl'
design patterns in code = tropes in storytelling (ex: the story pattern of the "heroes journey)
decomposition
and generalization` and how theyre expressed in UML class diagrams with:export const copyToClipBoard = async (copyText: string): Promise<boolean> => { | |
if (navigator.clipboard) { | |
try { | |
await navigator.clipboard.writeText(copyText); | |
return true; | |
} catch (err) { | |
throw err; | |
} | |
} | |
// Legacy fallback |
we look often at the rhythms of social interaction rather than the content of those interactions
belonging needs continually to be refreshed and reinforced, like telling your partner you love them.
spurs' coach papavich - masterful at connecting the team, "hug em and hold em" he says, uses food and wine as a bridge to build relationships. but what about when he has to give bad feedback to the players?
at its root, a promise is an object to which you attach callbacks. these callbacks happen once the 'value' property changes.
example with callback
function successCallback(result) {
console.log('Audio file ready at URL: ' + result);
}
function failureCallback(error) {
PropsWithChildren
allows you to define props within a children prop
import {PropsWithChildren} from 'react';
TL;DR: An object which stores objects/arrays by key
Sometimes we need to represent a type for dictionaries, where values of a consistent type are retrievable by keys.
Notes From Steve Kinney's "React Performance" Frontend Masters Course
re: optimizations: "Start with a problem first, then solve it. dont go looking for problems."
"measure first before you optimize for performance. And then measure again."