From d5d496563c939b92e3f6312f07087c3f763433eb Mon Sep 17 00:00:00 2001
From: JP Hastings-Spital
Date: Sat, 20 Jan 2024 11:28:36 +0000
Subject: [PATCH] Add auto-importer for omnivore comments
---
Taskfile.yml | 4 +
assets/scss/_single.scss | 23 +-
content/bookmarks/cultivating-new-ideas.md | 32 ++
...le-as-the-commoditiser-of-the-early-web.md | 30 ++
.../google-as-the-commoditiser-of.md | 25 --
...ooking-glass-the-year-of-everyday-risks.md | 40 +++
.../bookmarks/the-tyrany-of-obviousness.md | 23 +-
layouts/_default/single.html | 9 +-
tools/import/omnivore/.gitignore | 1 +
tools/import/omnivore/go.mod | 5 +
tools/import/omnivore/go.sum | 2 +
tools/import/omnivore/go.work | 3 +
tools/import/omnivore/go.work.sum | 1 +
tools/import/omnivore/main.go | 325 ++++++++++++++++++
tools/import/omnivore/query.gql | 46 +++
15 files changed, 526 insertions(+), 43 deletions(-)
create mode 100644 content/bookmarks/cultivating-new-ideas.md
create mode 100644 content/bookmarks/google-as-the-commoditiser-of-the-early-web.md
delete mode 100644 content/bookmarks/google-as-the-commoditiser-of.md
create mode 100644 content/bookmarks/the-looking-glass-the-year-of-everyday-risks.md
create mode 100644 tools/import/omnivore/.gitignore
create mode 100644 tools/import/omnivore/go.mod
create mode 100644 tools/import/omnivore/go.sum
create mode 100644 tools/import/omnivore/go.work
create mode 100644 tools/import/omnivore/go.work.sum
create mode 100644 tools/import/omnivore/main.go
create mode 100644 tools/import/omnivore/query.gql
diff --git a/Taskfile.yml b/Taskfile.yml
index a1d9b1d3..80ad5e13 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -17,3 +17,7 @@ tasks:
cmds:
- hugo --cacheDir /tmp/hugo/cache --minify --baseURL "https://www.byjp.me"
- npm_config_yes=true npx pagefind@latest
+
+ import:
+ cmds:
+ - cd ./tools/import/omnivore && go run .
diff --git a/assets/scss/_single.scss b/assets/scss/_single.scss
index 84dbecd0..16dc0662 100644
--- a/assets/scss/_single.scss
+++ b/assets/scss/_single.scss
@@ -55,6 +55,19 @@
&-content {
margin-top: 30px;
+ hr {
+ width: 2.5em;
+ }
+
+ footer {
+ text-align: right;
+ }
+
+ svg {
+ color: var(--accent);
+ vertical-align:middle;
+ margin-left: 0.2em;
+ }
}
&-content svg, &-info svg {
@@ -534,13 +547,3 @@ figure {
font-synthesis: none;
}
-.post-content {
- footer {
- text-align: right;
- }
-
- svg {
- color: var(--accent);
- vertical-align:middle;
- }
-}
diff --git a/content/bookmarks/cultivating-new-ideas.md b/content/bookmarks/cultivating-new-ideas.md
new file mode 100644
index 00000000..c7ce54dd
--- /dev/null
+++ b/content/bookmarks/cultivating-new-ideas.md
@@ -0,0 +1,32 @@
+---
+title: Cultivating new ideas
+date: "2023-11-22T10:00:16Z"
+publishDate: "2023-07-26T14:35:46Z"
+bookmarkOf: https://www.henrikkarlsson.xyz/p/good-ideas
+references:
+ bookmark:
+ url: https://www.henrikkarlsson.xyz/p/good-ideas
+ type: entry
+ name: Cultivating a state of mind where new ideas are born
+ summary: Solitude, creativity, Bergman, Grothendieck, and the pursuit of great
+ ideas.
+ author: Henrik Karlsson, Johanna Wiberg
+---
+
+
+I really enjoyed skimming this article! It’s too long for my distracted brain, but I’ve often thought of “becoming bored” as a part of my creative process. I think that’s part of isolating myself from expectations in much the same way as called out here.
+
+This has also put me to thinking about raising kids; how to ensure there’s always *some* time without peer/social pressure (ie. the absence of consumption devices, like phones with apps)
+
+### Highlights
+
+> He has surrounded himself with people whose influence is the inverse of the social pressure of normal society
+
+---
+
+> “One way to do that is to ask what would be good ideas for _someone else_ to explore. Then your subconscious won't shoot them down to protect you.”
+
+---
+
+> The songs he’s looking for are the ones that he’s ashamed of liking.
+
diff --git a/content/bookmarks/google-as-the-commoditiser-of-the-early-web.md b/content/bookmarks/google-as-the-commoditiser-of-the-early-web.md
new file mode 100644
index 00000000..849fbd75
--- /dev/null
+++ b/content/bookmarks/google-as-the-commoditiser-of-the-early-web.md
@@ -0,0 +1,30 @@
+---
+title: Google as the commoditiser of the early web
+date: "2024-01-16T20:50:07Z"
+publishDate: "2023-07-20T00:00:00Z"
+bookmarkOf: https://staltz.com/google-shattered-human-connection.html
+references:
+ bookmark:
+ url: https://staltz.com/google-shattered-human-connection.html
+ type: entry
+ name: Google shattered human connection
+ summary: Open Source Freelancer
+---
+
+
+An interesting take on why the internet can feel soulless, and some implied ways to counter that.
+
+Slightly strong on the “back in the good old days” vibes, but a valid critique of search engines as a remover of mystery. Taking things for granted (“the advert to any question is at my finger tips”) has definitely removed the humanness of information for me.
+
+### Highlights
+
+> **Google popularized the habit of taking things out of context**
+
+---
+
+> Google eliminated the need to connect with communities online if all you wanted was the knowledge produced by that community.
+
+---
+
+> We now assume it is an established truth that the internet is made of “information” or “content”. This has not always been the case.
+
diff --git a/content/bookmarks/google-as-the-commoditiser-of.md b/content/bookmarks/google-as-the-commoditiser-of.md
deleted file mode 100644
index 2c043516..00000000
--- a/content/bookmarks/google-as-the-commoditiser-of.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-date: 2023-11-10T09:44:35.051Z
-publishDate: 2024-01-16T20:50:35.051Z
-title: Google as the commoditiser of the early web
-bookmarkOf: https://staltz.com/google-shattered-human-connection.html
-visibility: public
-references:
- https://staltzCom/googleShatteredHumanConnectionHtml:
- url: https://staltz.com/google-shattered-human-connection.html
- type: entry
- name: André Staltz - Google shattered human connection
- summary: Open Source Freelancer
----
-
-A really interesting take on why the internet can feel soulless, and some implied ways to counter that.
-
-Highlights:
-
-> Google popularized the habit of taking things out of context.
-
-> Google eliminated the need to connect with communities online if all you wanted was the knowledge produced by that community.
-
-> We now assume it is an established truth that the internet is made of “information” or “content”. This has not always been the case.
-
-
diff --git a/content/bookmarks/the-looking-glass-the-year-of-everyday-risks.md b/content/bookmarks/the-looking-glass-the-year-of-everyday-risks.md
new file mode 100644
index 00000000..efbc28a1
--- /dev/null
+++ b/content/bookmarks/the-looking-glass-the-year-of-everyday-risks.md
@@ -0,0 +1,40 @@
+---
+title: 'The Looking Glass: The Year of Everyday Risks'
+date: "2024-01-20T07:57:15Z"
+publishDate: "2024-01-17T16:15:36Z"
+bookmarkOf: https://joulee.medium.com/the-looking-glass-the-year-of-everyday-risks-c46a9f515d3b
+references:
+ bookmark:
+ url: https://joulee.medium.com/the-looking-glass-the-year-of-everyday-risks-c46a9f515d3b
+ type: entry
+ name: 'The Looking Glass: The Year of Everyday Risks'
+ summary: I love their mystery, that tantalizing promise of dreams — what will
+ the year bring? What hopes and hurts, what majesty and mayhem, what lessons
+ and laments? January holds in the palm of its hands…
+ author: Julie Zhuo
+---
+
+I enjoyed this article’s passion for _being alive_, I think there’s a lot of similarity to a previous article’s [obviousness](/tags/obviousness), and putting ourselves in emotionally challenging positions sometimes.
+
+I plan on taking some every day risks this year & always.
+
+### Highlights
+
+> _Aliveness_ is a quality of being. Its opposite is _dullness_.
+
+---
+
+> Aliveness is not just joy, but also its polar opposite, sadness. Aliveness is accepting the risk of both.
+
+---
+
+> Everyday risks are not about the action in of itself; they are about the _feeling_.
+
+---
+
+> Everyday risks — the small actions that come with a twinge of discomfort.
+
+---
+
+> Aliveness is risk, not comfort.
+
diff --git a/content/bookmarks/the-tyrany-of-obviousness.md b/content/bookmarks/the-tyrany-of-obviousness.md
index 34333ab5..c5a272a8 100644
--- a/content/bookmarks/the-tyrany-of-obviousness.md
+++ b/content/bookmarks/the-tyrany-of-obviousness.md
@@ -1,20 +1,29 @@
---
-date: 2023-12-27T10:18:18.314Z
-publishDate: 2024-01-16T22:10:18.314Z
title: The Tyrany of Obviousness
+date: "2024-01-20T10:58:27Z"
+publishDate: "2023-12-24T20:51:49Z"
bookmarkOf: https://mentalhellth.xyz/p/breaking-the-tyranny-of-obviousness
references:
- https://mentalhellthXyz/p/breakingTheTyrannyOfObviousness:
+ bookmark:
url: https://mentalhellth.xyz/p/breaking-the-tyranny-of-obviousness
type: entry
name: Breaking the Tyranny of Obviousness
summary: We are stuck in a hell of frictionlessness.
- featured: https://substackcdn.com/image/fetch/w_1200,h_600,c_fill,f_jpg,q_auto:good,fl_progressive:steep,g_auto/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd175bc33-c1e8-4b34-a644-217588d1adcd_937x489.png
author: P.E. Moskowitz
---
-A superb read, especially for me as I look for more depth in life. I keep finding myself coming back to this thought:
-> There are many forces preventing us from feeling abstractly and confusingly and deeply, and from producing things that help others feel so.
+A superb read, especially for me as I look for more depth in life.
+
+I think I've certainly trained myself for a frictionless existence, and have (up until the last few years) tended to avoid difficult thoughts — but I feel so much richer for embracing them!
+
+### Highlights
+
+> “A picture lives by companionship, expanding and quickening in the eyes of the sensitive observer,” [Rothko once wrote](https://www.nytimes.com/1970/02/26/archives/mark-rothko-artist-a-suicide-here-at-66-mark-rothko-abstract.html). “It dies by the same token. It is therefore a risky and unfeeling act to send it out into the world. How often it must be permanently impaired by the eyes of the vulgar and the cruelty of the impotent who would extend the affliction universally!”
+
+---
+
+> there are many forces preventing us from feeling abstractly and confusingly and deeply, and from producing things that help others feel so.
+
+I keep finding myself coming back to this thought in particular. I _want_ to feel abstractly and deeply — it feels much more like "living".
-I think I've certainly trained myself for a frictionless life, and have (up until the last few years) tended to avoid difficult thoughts — but I feel so much richer for embracing them!
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 9189205b..c258796e 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -22,12 +22,19 @@
{{ partial "year-relative-date.html" $date }}