813 karma · joined October 18, 2018
Here are some of my most useful remaps:
- Swap enter and semicolon. Enter is one of my most used keys. It should be "directly accessible"
- Make right command backspace. Backspace is another key I very commonly use, but it's far away and causes a lot of pain. Now, it's right under my thumb! (Regular backspace key is now forward delete).
- Make caps lock and enter control. (When pressed with other keys). This is useful for Emacs commands.
- Caps lock is escape when not pressed with other keys.
- Enter is semicolon when not pressed with other keys.
I use Karabiner for Mac to do my remappings.
Though, the benefits to calculation come from the fact that the numerals are iconic, not due to it being base-20.
1password integration is nice, because you don't have to open up Fastmail to generate a new masked email.
I just use catch-all with custom domain, though. That way, I'm not tied to a particular provider, and I can make new "masked emails" on the fly however I want (usually, just using the name of the app/website I'm signing up for). The downside is that you loose the previously mentioned anonymity since a hacker could link your various addresses by domain name. But it's still way better than using the same email address everywhere!
It was made by Jason A. Donenfeld.
There are also no specific examples of non-quantitative reasoning that, if ignored, would be damaging.
I feel like the Wikipedia article does a better job explaining this: https://en.wikipedia.org/wiki/McNamara_fallacy
Also, why is there an entire webpage dedicated to this?
But you are right that it is higher level in that it abstracts away the logic behind GROUP BY. In this sense, all declarative programming is higher level.
Declarative is generally better because you move complexity out of your code to someone else's code. In other words, it reduces the LOC you write and have to maintain.
For example, say you are writing some code to query Postgres and aggregate a column. The imperative approach would be to query Postgres and do the aggregation yourself. The declarative approach would be to query Postgres and ask it to do the aggregation via GROUP BY.
Aside from reducing complexity, it's also usually more efficient to take a declarative approach. Dozens if not hundreds of people have been working on Postgres for almost 20 years now. The chances of your own aggregation algorithm being more efficient than Postgres's is practically zero.
I was claiming that the article is poorly written, not whether red meat is healthy or not.
But even if I was, the article that you link to says nothing about red meat being bad for sleep (the author's claim).
> It may be particularly helpful to eat ... low in red and processed meat and whole-fat dairy.
Then in the next paragraph states,
> It’s partly because protein-rich foods such as nuts and seeds, fish, poultry and eggs contain tryptophan, an amino acid from which the sleep-regulating hormone melatonin is produced.
Dairy and meat are very protein-rich and high in tryptophan, so based on what the author says, should be consumed for better sleep. The author says nothing about why we should avoid red meat and whole-fat dairy.
Why not just write a note and give that alongside some cash?
The only time I buy gift cards is if I can get some sort of a discount. There's no other reason for me to buy them.
1: https://en.wikipedia.org/wiki/Mindset#Fixed_and_growth_minds...
Maybe this could be reduced to something like "desire for novelty". But then I think that's too broad. For example, wanting the latest iPhone is a type of "desire for novelty". Would you consider someone a curious person just because they buy the latest Apple products?
Then maybe you could, instead, only consider "intellectual curiosity", where intellectual curiosity is the desire for new knowledge - descriptive knowledge, prodcedural knowledge, experiential knowledge, etc. Then I guess getting the latest iPhone is also a type of experiential knowledge, so this fails, too...
I'll give a few examples of cards that I have.
> Why is the time complexity of Java's List#subList constant?
> Why are OOM errors common in Spark?
> What does EXPLAIN do in Postgres?
> How do you run a command on the command line in Vim?
> How are map entries in HBase/BigTable sorted?
> Why are HBase column families difficult to modify?
> When should you use a JtaTransactionManager?
> What makes read-your-writes consistency difficult?
> Why does ElasticSearch not have transactions?
> What is a common implementation for JPA?
> What is the observer pattern?
> What is syslog?
It's definitely helped me as a software engineer.
Here is a guide on making better prompts: https://andymatuschak.org/prompts/