Skip to content

Commit 115e049

Browse files
committed
oops
1 parent dfab38a commit 115e049

9 files changed

Lines changed: 38 additions & 33 deletions

‎_content/articles/rituals_vox.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "How rituals can help you approach basic tasks more mindfully"
2+
title: "Why we need rituals, not routines"
33
authors:
44
- "Terry Nguyen"
55
external_url: "https://web.archive.org/web/2022/https://www.vox.com/even-better/23144784/why-rituals-not-routine"
@@ -11,7 +11,7 @@ course: feeling
1111
tags:
1212
- daily-life # maybe even move here
1313
- religion
14-
- ritual
14+
- nonmaterial-culture
1515
year: 2022
1616
month: jun
1717
image: https://platform.vox.com/wp-content/uploads/sites/2/chorus/uploads/chorus_asset/file/23619309/rituals.jpeg
@@ -20,3 +20,10 @@ pages: 4
2020
---
2121

2222
> Experiment and have fun with it.
23+
24+
> Rituals can be an artistic process, a meditation, a communal celebration, or a simple act of
25+
observation, according to Kate Southworth, a London-based artist whose works are rooted in ritual.
26+
“Rituals often have an intention,” Southworth said. “I think the framing of that intention to be as
27+
important as its enactment.”
28+
29+
The article explains that rituals—unlike productivity-driven routines—help people instill a sense of calm and sustain mindfulness by imbuing ordinary actions with intention and meaning. In this way, rituals can stabilize life and foster connection in an otherwise distracted, fast-paced world.

‎_content/articles/we-need-rituals-not-routines_nguyen-terry.md‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎_content/av/an-course_bodhi.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ subcat: course
66
external_url: "https://youtube.com/playlist?list=PLgu0hJSLkqCWjjvc-lIKVn6CAUK95TbV4"
77
canary_url: "https://youtu.be/NTabU4Zbtfs"
88
drive_links:
9-
- "https://drive.google.com/folderview?id=1cponCBJe4cWxjc5z1mcnF6JqqjTSs_DB"
9+
- "https://drive.google.com/drive/folders/1cponCBJe4cWxjc5z1mcnF6JqqjTSs_DB"
1010
formats: [MP4s]
1111
course: an
1212
year: 2016

‎_content/av/continuing-mn-study_bodhi.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Continuing Study of the *Majjhima Nikāya*"
33
authors: [bodhi]
44
subcat: course
55
drive_links:
6-
- "https://drive.google.com/folderview?id=1g2Z6IgjxKw2ff2zFh3UhI4_VH03lzYxw"
6+
- "https://drive.google.com/drive/folders/1g2Z6IgjxKw2ff2zFh3UhI4_VH03lzYxw"
77
formats: [MP3s]
88
external_url: "http://www.noblepath.org/audio.html"
99
canary_url: "http://www.noblepath.org/BB/20121117MN087.mp3"

‎_content/av/facing-our-biggest-fear_santussika.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ authors:
44
- santussika
55
external_url: "https://dharmaseed.org/talks/22645/"
66
drive_links:
7-
- "https://drive.google.com/file/d/1Yb_MJQCtNPKxSvQjfxiE3AShcKjUZNgx/view?usp=share_link"
7+
- "https://drive.google.com/file/d/1J0y8bO4H3TkZxK2u8QSQCVXvroonmtc5/view?usp=drivesdk"
88
course: problems
99
tags:
1010
- chod

‎_content/booklets/texts-composed-in-china_kieschnick.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Buddhist Texts Composed in China"
33
authors:
44
- kieschnick
55
drive_links:
6-
- "https://drive.google.com/open?id=1qvX6phX3gsW7rDLOvosu_eHIJImAoQDk"
6+
- "https://drive.google.com/file/d/1qvX6phX3gsW7rDLOvosu_eHIJImAoQDk/view"
77
file_links:
88
- "exclusive_01/Buddhist%20Chinese%20Primer%20Volume%203%20-%20John%20Kieschnick.pdf"
99
year: 2017
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Virtual Angkor"
3+
authors:
4+
- "Tom Chandler"
5+
- "Adam Clulow"
6+
- "Bernard Keo"
7+
- "Mike Yeates"
8+
- "Martin Polkinghorne"
9+
external_url: "https://www.virtualangkor.com/"
10+
status: featured
11+
course: sea
12+
tags:
13+
- theravada-roots
14+
- cambodia
15+
year: 2019
16+
publisher: "Monash University"
17+
address: "Melbourne"
18+
minutes: 60
19+
---
20+
21+
A series of handcrafted 3D animations and explanatory essays giving a feel for what Angkor would have looked like back in its prime in the 13th century CE.
22+

‎_tests/content.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ A series of tests checking the integrity of the _content data
1111
| Excessive Authors | {% assign ea = site.content | where_exp: "c", "c.authors.size > 5" %}{% if ea.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% assign cout = '' | split: '' %}{% for c in ea %}{% assign cout = cout | push: c.path %}{% endfor %}Found {{ ea.size }} works with more than 5 authors{% if ea.size > 0 %}:{% else %}.{% endif %} {{ cout | array_to_sentence_string }}
1212
| External URLs are Unique | {% assign ac = site.content | where_exp: "c", "c.external_url" %}{% assign seen = "" | split: "" %}{% assign dupes = "" | split: "" %}{% for c in ac %}{% if seen contains c.external_url %}{% unless dupes contains c.external_url %}{% assign dupes = dupes | push: c.external_url %}{% endunless %}{% else %}{% assign seen = seen | push: c.external_url %}{% endif %}{% endfor %}{% if dupes.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if dupes.size > 0 %}Found these duplicate URLs: `{{ dupes | join: " " }}`{% else %}No duplicate URLs found.{% endif %}
1313
| External URLs are URLs | {% assign ac = site.content | where_exp: "c", "c.external_url" %}{% assign fails = "" | split: "" %}{% for c in ac %}{% unless c.external_url contains "http" %}{% assign fails = fails | push: c %}{% endunless %}{% endfor %}{% if fails.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if fails.size > 0 %}Found these bad URLs: {% for c in fails %}[{{ c.title | split: ":" | first }}]({{ c.url }}) {% endfor %}{% else %}No URLs missing http.{% endif %}
14-
| Drive Links are Unique | {% assign ac = site.content | where_exp: "c", "c.drive_links" %}{% assign seen = "" | split: "" %}{% assign dupes = "" | split: "" %}{% for c in ac %}{% for d in c.drive_links %}{% if seen contains d %}{% unless dupes contains d %}{% assign dupes = dupes | push: d %}{% endunless %}{% else %}{% assign seen = seen | push: d %}{% endif %}{% endfor %}{% endfor %}{% if dupes.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if dupes.size > 0 %}Found these duplicate links: `{{ dupes | join: " " }}`{% else %}No duplicate links found.{% endif %}
14+
| Drive Links are Unique | {% assign ac = site.content | where_exp: "c", "c.drive_links" %}{% assign seen = "" | split: "" %}{% assign dupes = "" | split: "" %}{% for c in ac %}{% for fd in c.drive_links %}{% unless fd contains "https://drive.google.com/" %}{% continue %}{% endunless %}{% assign d = fd | split: "?" | first %}{% if seen contains d %}{% unless dupes contains d %}{% assign dupes = dupes | push: d %}{% endunless %}{% else %}{% assign seen = seen | push: d %}{% endif %}{% endfor %}{% endfor %}{% if dupes.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% if dupes.size > 0 %}Found these duplicate links: `{{ dupes | join: " " }}`{% else %}No duplicate links found.{% endif %}
1515
| Course in tags | {% assign failures = site.content | where_exp: "c", "c.tags contains c.course" %}{% if failures.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | There are {{ failures.size }} pieces with the course in the tags{% if failures.size > 0 %}: {{ failures | map: "slug" | array_to_sentence_string }}{% endif %}.
1616
| Sane file_links | {% assign hostedcontent = site.content | where_exp: "c", "c.file_links.size > 0" %}{% assign fs = '' | split: '' %}{% for c in hostedcontent %}{% for l in c.file_links %}{% assign s = l | split: "/" %}{% if site.data.content.valid_buckets contains s[0] %}{% if s contains "blob" %}{% assign fs = fs | push: c %}{% endif %}{% else %}{% assign fs = fs | push: c %}{% endif %}{% endfor %}{% endfor %}{% if fs.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% assign count = hostedcontent.size | minus: fs.size %}{% if count > 0 %}There are {{ count }} sane links{% endif %}{% if fs.size > 0 %}The {{ fs.size }} pieces with bad buckets are: {% for c in fs %}[{{ c.title | split: ":" | first }}]({{ c.url }}) {% endfor %}{% endif %}
1717
| file_links match formats | {% assign fs = '' | split: '' %}{% for c in hostedcontent %}{% for l in c.file_links %}{% assign ee = l | split: "." | last | downcase %}{% unless ee == c.formats[forloop.index0] or c.formats[forloop.index0] == 'mp3s' %}{% assign fs = fs | push: c %}{% endunless %}{% endfor %}{% endfor %}{% if fs.size == 0 %}Pass ✅{% else %}FAIL ❌{% endif %} | {% assign count = hostedcontent.size | minus: fs.size %}{% if count > 0 %}There are {{ count }} sane formats.{% endif %}{% if fs.size > 0 %} The {{ fs.size }} pieces with bad formats are: {% for c in fs %}[{{ c.title | split: ":" | first }}]({{ c.url }}) {% endfor %}{% endif %}

‎scripts/android_go_through.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,11 +221,11 @@ def process_local_file(fp: Path):
221221
from tag_predictor import NORMALIZED_TEXT_FOLDER, normalize_text
222222
def extract_text_from(fp):
223223
if fp.suffix.lower() not in ['.pdf', '.epub']:
224-
continue # Don't even bother trying
224+
return # Don't even bother trying
225225
gid = remote_files_by_name[fp.name]['id']
226226
# Short circuit actually reading the file as existance is good enough here
227227
if NORMALIZED_TEXT_FOLDER.joinpath(gid+'.pkl').exists():
228-
continue
228+
return
229229
load_normalized_text_for_file(fp, gid)
230230
tqdm_thread_map(extract_text_from, local_files, max_workers=4, unit="file")
231231
del remote_files_by_name

0 commit comments

Comments
 (0)