Update journal and habit table

This commit is contained in:
2025-11-27 13:03:07 +01:00
parent 907232b001
commit 62072c3ceb
55 changed files with 2464 additions and 1477 deletions

View File

@@ -8,7 +8,7 @@ Here's a short /Best Of/:
- [[./source.org][source.org]], the literate sources and documentation for this website;
- My retrospective on [[./events/premier_impact.org][Premier Impact]], a music event I co-organized.
Here's this week's [[./journal/w47-2025.org][journal]]!
Here's this week's [[./journal/w48-2025.org][journal]]!
** /Pro Tips/
- You can fold and unfold sections by clicking the headline. Try it!

View File

@@ -1,20 +1,20 @@
#+FILETAGS: :no_sitemap:
#+TODO: NO(n) | YES(y) EXCELLENT(e) FREED(f)
#+title: Journal Week XX, YYYY
#+title: Journal Week XX, XXXX
#+BEGIN_CENTER
[[./wXX-YYYY.org][Previous]] | [[./index.org][Index]]
[[./wXX-2025.org][Previous]] | [[./index.org][Index]]
#+END_CENTER
* Journal Week XX, YYYY
** Monday, ZZth MMMM
* Journal Week XX, XXXX
** Monday, XXth XXXXXXXX :journal:
:PROPERTIES:
:DAILIES-YEAR: YYYY
:DAILIES-DAY: DDD
:DAILIES-YEAR: 2025
:DAILIES-DAY: XXX
:END:
*** NO Journal
*** NO Journal :jentry:
:PROPERTIES:
:CUSTOM_ID: dailies-blogging
:END:
*** Habits :autocollapse:
*** Habits :autocollapse:habits:
**** NO Meditation
:PROPERTIES:
:CUSTOM_ID: dailies-meditation
@@ -43,3 +43,4 @@
:PROPERTIES:
:CUSTOM_ID: dailies-reading
:END:

View File

@@ -1,15 +1,15 @@
#+TODO: NO(n) | YES(y) EXCELLENT(e) FREED(f)
#+title: Journal Week 47, 2025
#+BEGIN_CENTER
[[./w46-2025.org][Previous]] | [[./index.org][Index]]
[[./w46-2025.org][Previous]] | [[./index.org][Index]] | [[./w48-2025.org][Next]]
#+END_CENTER
* Journal Week 47, 2025
** Thursday, 20th November 2025
** Thursday, 20th November 2025 :journal:
:PROPERTIES:
:DAILIES-YEAR: 2025
:DAILIES-DAY: 324
:END:
*** YES Journal
*** YES Journal :jentry:
:PROPERTIES:
:CUSTOM_ID: dailies-blogging
:END:
@@ -20,7 +20,7 @@ Extensively updated [[../source.org][source.org]]. Very proud of it now. Cool. T
I have a new daily schedule now that I like; I'll try and do a writeup of it tomorrow.
Planning to change/simplify the habit tracker somewhat, and drop some of the categories.
*** Habits :autocollapse:
*** Habits :autocollapse:habits:
**** EXCELLENT Meditation
:PROPERTIES:
:CUSTOM_ID: dailies-meditation
@@ -55,14 +55,14 @@ Planning to change/simplify the habit tracker somewhat, and drop some of the cat
:DAILIES-YEAR: 2025
:DAILIES-DAY: 325
:END:
*** YES Journal
*** YES Journal :jentry:
:PROPERTIES:
:CUSTOM_ID: dailies-blogging
:END:
Stomach hurts. Slow day because of it. Started checking out the new OSRS Sailing skill --- seems fun.
Added a favicon to the website. They're really hard to make!
*** Habits :autocollapse:
*** Habits :autocollapse:habits:
**** NO Meditation
:PROPERTIES:
:CUSTOM_ID: dailies-meditation

91
org/journal/w48-2025.org Normal file
View File

@@ -0,0 +1,91 @@
#+FILETAGS: :no_sitemap:
#+TODO: NO(n) | YES(y) EXCELLENT(e) FREED(f)
#+title: Journal Week 48, 2025
#+BEGIN_CENTER
[[./w47-2025.org][Previous]] | [[./index.org][Index]]
#+END_CENTER
* Journal Week 48, 2025
** Monday, 27th November :journal:
:PROPERTIES:
:DAILIES-YEAR: 2025
:DAILIES-DAY: 331
:END:
*** YES Journal :jentry:
:PROPERTIES:
:CUSTOM_ID: dailies-blogging
:END:
Phew. Came down with a pretty bad stomach bug for a while. All better now, thankfully.
Came up with some [[../productivity.org][productivity notes]], including a daily schedule. Here's a copy of that initial version:
|---------+----------------------|
| _Time_ | _Activity_ |
|---------+----------------------|
| *08:00* | Morning Ritual |
| | Breakfast |
| | Morning Walk |
|---------+----------------------|
| *09:00* | Daily Prep |
| | Create Journal Entry |
|---------+----------------------|
| *09:30* | French Grammar |
|---------+----------------------|
| *10:00* | Lead Generation |
|---------+----------------------|
| *11:00* | Work |
|---------+----------------------|
| *13:00* | French Reading |
|---------+----------------------|
| *13:30* | Lunch Break |
| | Afternoon Exercise |
| | Meditation |
|---------+----------------------|
| *15:00* | Emails |
|---------+----------------------|
| *15:30* | Work |
|---------+----------------------|
| *18:00* | Chores |
|---------+----------------------|
| *19:00* | Dinner |
|---------+----------------------|
| *20:30* | Journaling |
|---------+----------------------|
| *21:00* | French Vocab |
|---------+----------------------|
| *21:30* | Free |
|---------+----------------------|
It's still undever development and maybe a little dense, but it's nice to have some guideline structure that includes everything. I'm especially prioritizing French study and finding work now.
The email address in the footer works again now! I'm using Porkbun's mail host now -- $2/month, so that's very reasonable.
Gonna start cold emailing for employment leads today... nervous as hell, not gonna lie.
*** Habits :autocollapse:habits:
**** NO Meditation
:PROPERTIES:
:CUSTOM_ID: dailies-meditation
:END:
**** NO Drawing
:PROPERTIES:
:CUSTOM_ID: dailies-drawing
:END:
**** YES Engineering
:PROPERTIES:
:CUSTOM_ID: dailies-engineering
:END:
**** YES French
:PROPERTIES:
:CUSTOM_ID: dailies-french
:END:
**** NO Social
:PROPERTIES:
:CUSTOM_ID: dailies-social
:END:
**** YES Exercise
:PROPERTIES:
:CUSTOM_ID: dailies-exercise
:END:
**** NO Reading
:PROPERTIES:
:CUSTOM_ID: dailies-reading
:END:

81
org/productivity.org Normal file
View File

@@ -0,0 +1,81 @@
#+title: Productivity
* Productivity Notes
** Current Daily Schedule
|---------+----------------------|
| _Time_ | _Activity_ |
|---------+----------------------|
| *08:00* | Morning Ritual |
| | Breakfast |
| | Morning Walk |
|---------+----------------------|
| *09:00* | Daily Prep |
| | Create Journal Entry |
|---------+----------------------|
| *09:30* | French Grammar |
|---------+----------------------|
| *10:00* | Lead Generation |
|---------+----------------------|
| *11:00* | Work |
|---------+----------------------|
| *13:00* | French Reading |
|---------+----------------------|
| *13:30* | Lunch Break |
| | Afternoon Exercise |
| | Meditation |
|---------+----------------------|
| *15:00* | Emails |
|---------+----------------------|
| *15:30* | Work |
|---------+----------------------|
| *18:00* | Chores |
|---------+----------------------|
| *19:00* | Dinner |
|---------+----------------------|
| *20:30* | Journaling |
|---------+----------------------|
| *21:00* | French Vocab |
|---------+----------------------|
| *21:30* | Free |
|---------+----------------------|
** Activity Notes
*** French
**** Phonology
Sound (within word) + recording in Anki cards
**** Grammar
***** Verbs
- Regular /-er/, /-ir/, /-re/
- Existential Irregular (être, avoir, faire, aller)
- Others
Systematically put in anki decks (cloze deletion).
***** Stock phrases/counting/telling time/directions etc
***** Tenses
- Past tense
- Future and conditional
Again in Anki with cloze deletion maybe.
***** Pronouns
***** Prepositions
***** Subjunctive
**** Reading
Continue daily reading Le Petit Prince
**** Writing
Challenge: write a little story every friday!
*** Lead Generation
Current plausible sources:
- Go through services I use, look for inadequacies;
- Contact people I know, advertise my services;
- Communities e.g.
* HN Who's Hiring,
* Clojurans Slack server,
* Discord servers;
- Job boards:
* Otta,
* RemoteOK;
- Small startup specific things e.g.
* Indiehackers,
* Product Hunt.

View File

@@ -2,6 +2,7 @@
- [[file:source.org][Webbieweb.org Sources]]
- [[file:index.org][Index]]
- [[file:productivity.org][Productivity]]
- [[file:todo.org][To Do]]
- [[file:about.org][About]]
- [[file:friends.org][Friends]]

View File

@@ -384,7 +384,7 @@ Rows are custom-ids, columns are days."
(sorted-habits (akk0/sort-habits habit-alist))
(html ""))
;; Start table
(setq html (concat html "<table style='margin-left: auto; margin-right:auto; margin-bottom: 0.8rem;'>\n"))
(setq html (concat html "<table class='habit-table' style='margin-left: auto; margin-right:auto; margin-bottom: 0.8rem;'>\n"))
;; Header row with day numbers
(setq html (concat html " <tr>\n <th></th>\n"))
@@ -392,7 +392,7 @@ Rows are custom-ids, columns are days."
(let ((day (+ (- day-number days-back) i 1)))
(setq html (concat
html
(cond ((= day day-number) "<th>●</th>")
(cond ((= day day-number) "<th class='habit-click-me'>click me ↓</th>")
((= 0 (% (- day day-number) 7)) "<th>○</th>")
(t "<th />"))))))
(setq html (concat html " </tr>\n"))
@@ -402,7 +402,7 @@ Rows are custom-ids, columns are days."
(dolist (entry sorted-habits)
(let* ((custom-id (car entry))
(history (akk0/get-habit-history habit-alist custom-id day-number days-back window-size)))
(setq html (concat html (format " <tr>\n <td style='padding-right: 20px; padding-top: 5px; padding-bottom: 5px;'><i>%s</i></td>\n" (capitalize (string-remove-prefix "dailies-" custom-id)))))
(setq html (concat html (format " <tr>\n <td class='habit-name' style='padding-right: 20px; padding-top: 5px; padding-bottom: 5px;'><i>%s</i></td>\n" (capitalize (string-remove-prefix "dailies-" custom-id)))))
;; Cell for each day
(dolist (day-data history)
@@ -451,7 +451,7 @@ Rows are custom-ids, columns are days."
html))
(akk0/habits-to-html-table habit-alist (string-to-number (format-time-string "%j")) 30 5)
(akk0/habits-to-html-table habit-alist (string-to-number (format-time-string "%j")) 21 5)
#+END_SRC
**** Expansion Section :autocollapse:
@@ -517,13 +517,30 @@ h2:has(.done.FREED), h3:has(.done.FREED), h4:has(.done.FREED), h5:has(.done.FREE
Style the cells, set legible text color, outline clickable:
#+BEGIN_SRC css :tangle ../html/static/style.css
.habit-cell {
.habit-table th, .habit-table td {
text-align: center;
vertical-align: middle;
width: 20px;
height: 20px;
cursor: pointer;
user-select: none;
padding: 8px;
max-width: 22px;
}
.habit-table th {
padding: 0;
}
.habit-click-me {
font-weight: normal;
font-size: calc(var(--font-size) * 0.7);
line-height: calc(var(--line-height) * 0.7);
text-align: center;
}
.habit-name {
max-width: 15rem !important;
}
.habit-cell.habit-brightness-1 { color: var(--grey5); outline-color: var(--grey5) !important; }
@@ -923,9 +940,14 @@ pre span.org-css-property {color:var(--purple4); font-weight: bol
*** General CSS :autocollapse:
**** Et Cetera
#+BEGIN_SRC css :tangle ../html/static/style.css
tbody { border-bottom: 1px dotted var(--grey1); }
thead { border-bottom: 1px solid var(--grey1); }
th, td { padding-right: 4rem; }
th.org-left { text-align: left; }
hr {
border: 0;
border-top: 2px dotted var(--black);
border-top: 2px dotted var(--grey1);
}
a, a:visited {
@@ -964,6 +986,7 @@ h3, h4, h5 {
.section-number-1, .section-number-2, .section-number-3, .section-number-4 { display: none; }
ul { margin-top: 0; }
#+END_SRC
**** Utility Classes