mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 22:16:07 +01:00
Tweak formatting of import
This commit is contained in:
parent
dc251da1fa
commit
db74bd12d6
5 changed files with 36 additions and 13 deletions
|
@ -151,7 +151,7 @@ I’m not sure I agree that this is _all_ that stories are, but to the extent th
|
|||
---
|
||||
|
||||
> Plus, [why everything looks the same now](https://invertedpassion.com/why-you-will-skim-this-article/).
|
||||
>
|
||||
>
|
||||
> Hint: that’s because before beating expectations, you have to meet them.
|
||||
|
||||
I don’t agree with the base premise here, I think this is inverted. You can set yourself apart from expectations & reset them; if you end up looking like others _then_ you have to meet all the expectations folks have of everyone else, but if you can find a niche and be different enough that people roll back their higher-level expectations, then you can carve out some particularly interesting reward.
|
||||
|
@ -161,4 +161,3 @@ I don’t agree with the base premise here, I think this is inverted. You can se
|
|||
> we find it joyful to put in (some) effort to figure out a reward
|
||||
|
||||
Additionally, from my time at Tesco working on Price Drop, if someone _doesn’t_ have to work to derive reward then it instantly becomes expectation, and pleasure can’t be derived from that source any more.
|
||||
|
||||
|
|
21
content/bookmarks/boundary-issues.md
Normal file
21
content/bookmarks/boundary-issues.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: Boundary Issues
|
||||
date: "2024-03-04T21:17:56Z"
|
||||
publishDate: "2023-07-10T13:34:08Z"
|
||||
bookmarkOf: https://www.parapraxismagazine.com/articles/boundary-issues
|
||||
references:
|
||||
bookmark:
|
||||
url: https://www.parapraxismagazine.com/articles/boundary-issues
|
||||
type: entry
|
||||
name: Boundary Issues
|
||||
summary: How boundaries became the rules for mental health—and explain everything Lily
|
||||
Scherlis
|
||||
author: Lily Scherlis
|
||||
tags: []
|
||||
---
|
||||
|
||||
An extremely interesting article that helped me realise how different my definition of what “boundaries” are seems to differ from what contemporary usage is!
|
||||
|
||||
For me, a personal boundary is a pre-negotiated _promise_, not a _demand_. “These things hurt me, so if you end up doing them/I end up in that position (irrespective of intent or blame) then I will probably take these actions to protect myself.”
|
||||
|
||||
Instead of a tool of control (“you’ve crossed my boundary, you bad person”) it’s a tool for self-compassion (“I’ve reached my threshold and I need to care for myself for a spell. Here are some ways you could help with that, if you like.”)
|
|
@ -20,7 +20,7 @@ Slightly strong on the “back in the good old days” vibes, but a valid critiq
|
|||
|
||||
### Highlights
|
||||
|
||||
> **Google popularized the habit of taking things out of context**
|
||||
> Google popularized the habit of taking things out of context
|
||||
|
||||
---
|
||||
|
||||
|
@ -29,4 +29,3 @@ Slightly strong on the “back in the good old days” vibes, but a valid critiq
|
|||
---
|
||||
|
||||
> We now assume it is an established truth that the internet is made of “information” or “content”. This has not always been the case.
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ tags: []
|
|||
|
||||
I fit the eNxP model by this article's assertions, and it feels representative enough to be useful. I like the idea of these tools to label & understand yourself _particularly_ because you can figure out where you _don't_ fit the model/where the label _isn't_ useful.
|
||||
|
||||
```
|
||||
```plain
|
||||
𝚎𝙽𝚡𝙿
|
||||
🄸 –––𝚎– 🄴
|
||||
🅂 ––––𝙽 🄽
|
||||
|
@ -27,4 +27,3 @@ I fit the eNxP model by this article's assertions, and it feels representative e
|
|||
### Highlights
|
||||
|
||||
> 90% of the complaints about MBTI come down to: _you can’t split people into two groups along these axes_! Yeah, OK, then how about we don’t do that?
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ func main() {
|
|||
}
|
||||
// Make the GraphQL request
|
||||
articles, err := omnivoreArticles(
|
||||
"in:all has:highlights is:read sort:updated-des",
|
||||
"in:archived has:highlights sort:updated-des",
|
||||
apiKey,
|
||||
)
|
||||
if err != nil {
|
||||
|
@ -89,29 +89,34 @@ func outputArticle(article Article, outputDir string) error {
|
|||
|
||||
fmt.Fprint(hugoPost, "---\n\n")
|
||||
fmt.Fprintln(hugoPost, linkHashtags(article.Annonation, fm.Tags))
|
||||
fmt.Fprintln(hugoPost)
|
||||
|
||||
if len(article.Highlights) > 0 {
|
||||
fmt.Fprint(hugoPost, "### Highlights\n\n")
|
||||
fmt.Fprint(hugoPost, "\n### Highlights\n")
|
||||
}
|
||||
|
||||
for i, highlight := range article.Highlights {
|
||||
noTrailingNewLine := strings.TrimRight(highlight.Quote, "\n ")
|
||||
quote := "> " + strings.ReplaceAll(noTrailingNewLine, "\n", "\n> ")
|
||||
fmt.Fprint(hugoPost, quote+"\n\n")
|
||||
quote := "> " + strings.ReplaceAll(trimQuote(highlight.Quote), "\n", "\n> ")
|
||||
fmt.Fprint(hugoPost, "\n"+quote+"\n\n")
|
||||
|
||||
if highlight.Comment != "" {
|
||||
fmt.Fprint(hugoPost, linkHashtags(highlight.Comment, fm.Tags)+"\n\n")
|
||||
}
|
||||
|
||||
if i < len(article.Highlights)-1 {
|
||||
fmt.Fprint(hugoPost, "---\n\n")
|
||||
fmt.Fprint(hugoPost, "---\n")
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
var allBold = regexp.MustCompile(`\*\*([^*]+)\*\*(\W)?`)
|
||||
|
||||
func trimQuote(quote string) string {
|
||||
noTrail := strings.TrimRight(quote, "\n ")
|
||||
return allBold.ReplaceAllString(noTrail, "$1$2")
|
||||
}
|
||||
|
||||
func linkHashtags(text string, tags []string) string {
|
||||
return hashtags.ReplaceAllStringFunc(text, func(hashtag string) string {
|
||||
tags = append(tags, hashtag[1:])
|
||||
|
|
Loading…
Reference in a new issue