summaryrefslogtreecommitdiffstats
path: root/2020/subtitles/emacsconf-2020--10-lead-your-future-with-org--andrea.sbv
blob: 1718ca362f8f98e53967ca625082bcb588c33870 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
0:00:00.220,0:00:03.400
Welcome to my talk, Lead Your Future with
Org.

0:00:03.400,0:00:04.680
Who am I?

0:00:04.680,0:00:05.680
I'm Andrea.

0:00:05.680,0:00:10.060
I work as a Scala software engineer somewhere
in the Netherlands, and I inherited my passion

0:00:10.060,0:00:12.340
for Emacs from my PhD supervisor.

0:00:12.340,0:00:15.050
From that moment on, I got in synergy with
it.

0:00:15.050,0:00:19.830
You can find more about me and my interests
at https://ag91.github.io.

0:00:19.830,0:00:27.150
That is the place where I keep my blog and
I blog on a weekly basis.

0:00:27.150,0:00:29.449
Let's get into the bulk of the talk.

0:00:29.449,0:00:31.679
Why I needed a vision.

0:00:31.679,0:00:34.360
The main, main problem is that I have too
many interests.

0:00:34.360,0:00:37.740
I like a lot of things, and these things take
time.

0:00:37.740,0:00:44.000
Then I have too little time to do other things
that are very important as well.

0:00:44.000,0:00:46.430
And so I need priority.

0:00:46.430,0:00:51.750
And the vision in my mind is both an ambition,
something that I want to do with my life,

0:00:51.750,0:00:59.220
and at the same time, it's a way to focus
my efforts and get rid of some stuff that

0:00:59.220,0:01:03.350
fundamentally is not something I really care
so much about.

0:01:03.350,0:01:09.400
Even if you come up with a vision and so with
a smaller scope of things that you want to

0:01:09.400,0:01:17.150
do, even then, you have to take this ambition
of yours, this vision, and disassemble it

0:01:17.150,0:01:19.310
in very small steps.

0:01:19.310,0:01:28.950
Org Mode is very good at taking care of this
because you can keep track of TODOs in Org

0:01:28.950,0:01:29.950
Mode.

0:01:29.950,0:01:36.740
So let me show you how I keep an agenda that
also keeps track of my vision.

0:01:36.740,0:01:40.250
For this talk, I have a running example.

0:01:40.250,0:01:42.990
Vision will be "I want to bring joy to people."

0:01:42.990,0:01:45.730
and "I want to live in synergy with the planet."

0:01:45.730,0:01:49.740
Okay, so, given these two visions, let's open
the agenda.

0:01:49.740,0:01:59.560
You will see on the right that now I have
some tasks, both on Tuesday and on Friday.

0:01:59.560,0:02:04.560
Things to notice is that we said one of our
visions is synergy with the planet, so some

0:02:04.560,0:02:13.010
tasks are annotated on the left with this
category and some with "Bring joy to people."

0:02:13.010,0:02:16.730
In this way, you can distinguish where are
my...

0:02:16.730,0:02:20.100
In this day, where my effort is going in this
day.

0:02:20.100,0:02:27.950
The other thing is the specification of these
tasks, and then at the end, you can notice

0:02:27.950,0:02:42.690
a tag on the right that is essentially a guess
of how long this task will have an effect

0:02:42.690,0:02:43.750
over the future.

0:02:43.750,0:02:53.970
So, for example, installing solar panel onto
my roof is going to have an effect of 10 years

0:02:53.970,0:02:57.180
over my life, if I manage to achieve that.

0:02:57.180,0:03:01.230
That is my rough guess.

0:03:01.230,0:03:08.180
You will notice that the ones that have a
bigger amount, so 10 years over the 5 year

0:03:08.180,0:03:15.879
one, because I order my day so that the tasks
that are more important or that I believe

0:03:15.879,0:03:21.540
are more effective over my future, I sort
them so that they appear at the top.

0:03:21.540,0:03:26.420
In this way, I can basically decide, okay,
today, what should I...

0:03:26.420,0:03:36.379
Find a video on Youtube, but I should take
into consideration when I look at my agenda

0:03:36.379,0:03:42.379
that I've traded that small fun for today
with something that could have had an effect

0:03:42.379,0:03:45.890
over a longer period of time.

0:03:45.890,0:04:03.909
Let me show you how I also exploit the facilities
that Org Mode comes with.

0:04:03.909,0:04:05.190
I will...

0:04:05.190,0:04:07.830
I have two templates available to me.

0:04:07.830,0:04:09.330
I will choose one.

0:04:09.330,0:04:13.970
The first thing that it asks to me is "How
long will this affect your life?"

0:04:13.970,0:04:20.660
So I like ... It will affect a long time,
if I manage to produce only for myself.

0:04:20.660,0:04:23.400
So I choose 10 years.

0:04:23.400,0:04:24.750
And then I specify the task.

0:04:24.750,0:04:29.080
So, "Learn how to keep bees."

0:04:29.080,0:04:30.080
I collect this task.

0:04:30.080,0:04:35.870
It will now appear in the middle because 10
years is between 20 years and 5 years.

0:04:35.870,0:04:40.860
So I know that if I put some effort in learning
how to keep bees, I should be quite happy

0:04:40.860,0:04:41.979
for today.

0:04:41.979,0:04:43.060
Okay.

0:04:43.060,0:04:50.470
So, say that I do it, say that that's it...

0:04:50.470,0:04:52.490
Once I've done this task, how can I be...

0:04:52.490,0:04:58.000
How do I know how much progress I am doing?

0:04:58.000,0:05:07.100
The way I can do that is by retrospecting
weekly or monthly about the successes or the

0:05:07.100,0:05:09.520
progress that I am doing.

0:05:09.520,0:05:14.949
How I do it is simply by running this kind
of snippet that shows me that for this month,

0:05:14.949,0:05:23.350
I have done three tasks for bringing joy to
people and three tasks for synergy with planet.

0:05:23.350,0:05:30.300
This is useful because you can repeat it and
it will be appended, so every time you run

0:05:30.300,0:05:38.040
it again, you can compare if you are... how
you are working towards your goal and if you're

0:05:38.040,0:05:43.830
focusing more on bringing joy to people or
if you're focusing more on synergy.

0:05:43.830,0:05:45.990
Balance the effort.

0:05:45.990,0:05:51.850
A thing that I want to share that I think
will be useful to you is this function I use

0:05:51.850,0:05:55.789
that I made for myself to create these statistics.

0:05:55.789,0:06:04.509
It's a wrapper around the very enjoyable library
org-ql, which allows you to query and group

0:06:04.509,0:06:13.650
headings, do analysis on headings, or restructuring
and view headings in a SQL fashion.

0:06:13.650,0:06:19.120
The syntax is very similar to SQL.

0:06:19.120,0:06:25.390
You can manipulate your headings and visualize
them or just get statistics as I have done

0:06:25.390,0:06:26.390
here.

0:06:26.390,0:06:36.540
Finally, for this talk, say that you are doing
progress, that progress most likely will generate

0:06:36.540,0:06:39.950
some useful knowledge for yourself.

0:06:39.950,0:06:46.050
My way to store this knowledge is through
org-roam, another interesting mode that is

0:06:46.050,0:06:54.759
very... that is becoming very relevant and
known today.

0:06:54.759,0:06:56.020
The idea is that I simply...

0:06:56.020,0:07:08.470
If I learn how to make, how to install solar
panels, that can be useful knowledge.

0:07:08.470,0:07:15.800
I can link to some other knowledge that I
have and so create my own knowledgebase, and

0:07:15.800,0:07:19.020
save it for later use.

0:07:19.020,0:07:25.160
My later use is typically, in this case, my
blog.

0:07:25.160,0:07:31.630
In here, I have a few notes that are basically
a synthesis of knowledge that I have collected

0:07:31.630,0:07:34.550
doing my tasks towards my vision.

0:07:34.550,0:07:39.440
With this, this is all I wanted to show you
for this talk.

0:07:39.440,0:07:47.490
You can follow me on my blog at https://ag91.github.io
. That is also where I am going to share a

0:07:47.490,0:07:55.370
version of this Org Mode file that allows
you basically to create the same kind of configuration

0:07:55.370,0:08:02.950
I have here, and you can create an instance
by running this snippet of Emacs in which

0:08:02.950,0:08:04.790
you can just run this example.

0:08:04.790,0:08:11.890
An extended example I will also add, to just
play around safely with this kind of configuration.

0:08:11.890,0:08:13.300
So enjoy the rest of the conference.

0:08:13.300,0:08:14.460
Catch you later!

0:08:14.460,0:08:15.650
Nice to meet you!