Skip to content

Commit 8875733

Browse files
docs: add tim urban summary
1 parent e55393c commit 8875733

2 files changed

Lines changed: 49 additions & 6 deletions

File tree

README.md

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,56 @@
117117
6. To know more about each argument supported by each filetype, `wdoc --help`
118118
7. There is a specific recursive filetype I should mention: `--filetype="link_file"`. Basically the file designated by `--path` should contain in each line (`#comments` and empty lines are ignored) one url, that will be parsed by WDoc. I made this so that I can quickly use the "share" button on android from my browser to a text file (so it just appends the url to the file), this file is synced via [syncthing](https://github.com/syncthing/syncthing) to my browser and WDoc automatically summarize them and add them to my [Logseq](https://github.com/logseq/logseq/). Note that the url is parsed in each line, so formatting is ignored, for example it works even in markdown bullet point list.
119119
8. If you want to make sure your data remains private here's an example with ollama: `wdoc --private --llms_api_bases='{"model": "http://localhost:11434", "query_eval_model": "http://localhost:11434"}' --modelname="ollama_chat/gemma:2b" --query_eval_modelname="ollama_chat/gemma:2b" --embed_model="BAAI/bge-m3" my_task`
120-
9. Now say you just want to summarize a webpage: `wdoc summary --path="https://arstechnica.com/science/2024/06/to-pee-or-not-to-pee-that-is-a-question-for-the-bladder-and-the-brain/"`.
120+
9. Now say you just want to summarize [Tim Urban's TED talk on procrastination](https://www.youtube.com/watch?v=arj7oStGLkU): `wdoc summary --path 'https://www.youtube.com/watch?v=arj7oStGLkU' --youtube_language="english" --disable_md_printing`:
121+
> # Summary
122+
> ## https://www.youtube.com/watch?v=arj7oStGLkU
123+
> - The speaker, Tim Urban, was a government major in college who had to write many papers
124+
> - *He claims* his typical work pattern for papers was:
125+
> - Planning to spread work evenly
126+
> - Actually procrastinating until the last minute
127+
> - For his 90-page senior thesis:
128+
> - Planned to work steadily over a year
129+
> - *Actually* ended up writing 90 pages in 72 hours before the deadline
130+
> - Pulled two all-nighters
131+
> - Resulted in a 'very, very bad thesis'
132+
> - Urban is now a writer-blogger for 'Wait But Why'
133+
> - He wrote about procrastination to explain it to non-procrastinators
134+
> - *Humorously claims* to have done brain scans comparing procrastinator and non-procrastinator brains
135+
> - Introduces concept of 'Instant Gratification Monkey' in procrastinator's brain
136+
> - Monkey takes control from the Rational Decision-Maker
137+
> - Leads to unproductive activities like reading Wikipedia, checking fridge, YouTube spirals
138+
> - Monkey characteristics:
139+
> - Lives in the present moment
140+
> - No memory of past or knowledge of future
141+
> - Only cares about 'easy and fun'
142+
> - Rational Decision-Maker:
143+
> - Allows long-term planning and big picture thinking
144+
> - Wants to do what makes sense in the moment
145+
> - 'Dark Playground': where procrastinators spend time on leisure activities when they shouldn't
146+
> - Filled with guilt, dread, anxiety, self-hatred
147+
> - 'Panic Monster': procrastinator's guardian angel
148+
> - Wakes up when deadlines are close or there's danger of embarrassment
149+
> - Only thing the Monkey fears
150+
> - Urban relates his own experience procrastinating on preparing this TED talk
151+
> - *Claims* thousands of people emailed him about having the same procrastination problem
152+
> - Two types of procrastination:
153+
> - 1. Short-term with deadlines (contained by Panic Monster)
154+
> - 2. Long-term without deadlines (more damaging)
155+
> - Affects self-starter careers, personal life, health, relationships
156+
> - Can lead to long-term unhappiness and regrets
157+
> - *Urban believes* all people are procrastinators to some degree
158+
> - Presents 'Life Calendar': visual representation of weeks in a 90-year life
159+
> - Encourages audience to:
160+
> - Think about what they're procrastinating on
161+
> - Stay aware of the Instant Gratification Monkey
162+
> - Start addressing procrastination soon
163+
> - *Humorously* suggests not starting today, but 'sometime soon'
164+
> Tokens used for https://www.youtube.com/watch?v=arj7oStGLkU: '4365' ($0.00060)
165+
> Total cost of those summaries: '4365' ($0.00060, estimate was $0.00028)
166+
> Total time saved by those summaries: 8.4 minutes
167+
> Done summarizing.
168+
121169

122-
<p align="center"><img src="https://github.com/thiswillbeyourgithub/WDoc/blob/main/images/summary.png?raw=true" width="256"></p>
123170

124171
## Getting started
125172
*Tested on python 3.10 and 3.11.7*

setup.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,6 @@ def run(self):
3131
'<p align="center"><img src="https://github.com/thiswillbeyourgithub/WDoc/blob/main/images/icon.png?raw=true" width="256"></p>',
3232
'![icon](https://github.com/thiswillbeyourgithub/WDoc/blob/main/images/icon.png?raw=true)',
3333
)
34-
long_description = long_description.replace(
35-
'<p align="center"><img src="https://github.com/thiswillbeyourgithub/WDoc/blob/main/images/summary.png?raw=true" width="256"></p>',
36-
'![example](https://github.com/thiswillbeyourgithub/WDoc/blob/main/images/summary.png?raw=true)',
37-
)
3834
assert 'align="center"' not in long_description
3935

4036
setup(

0 commit comments

Comments
 (0)