[SQL] SELECT i.*, u.name AS author_name, u.username AS author_username, u.avatar_url AS author_avatar FROM d_idea i left JOIN d_user u ON u.id = i.user_id WHERE i.id = ? AND i.is_draft = 0 | Params: [166250] [SQL] SELECT * FROM d_block WHERE idea_id = ? ORDER BY position ASC, id ASC | Params: [166250] [SQL] SELECT * FROM d_topic WHERE slug IN (?,?,?,?) ORDER BY name | Params: ["Career","Personal Development","Health","Strategy"] [SQL] SELECT i.*, u.name AS author_name, u.username AS author_username, u.avatar_url AS author_avatar FROM d_idea i left JOIN d_user u ON u.id = i.user_id WHERE i.is_draft = 0 AND i.id != ? AND i.hashtags LIKE CONCAT('%', ?, '%') ORDER BY i.total_reads DESC LIMIT ? | Params: [166250,"Career",3] [SQL] SELECT * FROM d_user WHERE id = ? | Params: [0] [SQL] UPDATE d_idea SET total_reads = total_reads + 1 WHERE id = ? | Params: [166250]
Curated from:
teaforthought.substack.com
Ideas, facts & insights covering these topics:
4 ideas · 34 reads
There are many choice architecture strategies, but having default options that were optimal changed my life for the better.
To have good default options:
Once, I fell sick with a sore throat because I ate too many crackers and didn't drink enough water.
To avoid this scenario, I stopped buying junk food entirely. If there’s no junk food in my house, it’s not possible for me to impulsively snack on junk food.
Instead, I started buying healthier options like granola and oats, with yogurt and nuts as toppings.
Whenever you evaluate a list of options, you’d usually consider each option by its attributes in some order of priority.
For example, as a broke college student, I usually evaluate food based on price and nutrition.
When I lived in expensive cities like Seoul and San Francisco, I prioritized price over nutrition most of the time.
Having fallen sick multiple times as a result of this choice, I now realize how expensive poor health can be, and try to prioritize nutrition over price as much as possible.
Every Tuesday, I send out a newsletter that shares at least one idea that has helped me design and live an intentional life.
For every self-growth concept I share, I strive to find examples and stories from my own life. This newsletter issue was inspired by my recent migraine attack.