Log

On Pranab’s site

Jun 24, 2024 to right arrow Oct 05, 2025 (IST)

Show/Hide contents
  1. 2025-10-05 Accumulator functions
  2. 2025-10-04 Not corrections
  3. 2025-10-03
  4. 2024-09-21
  5. 2024-08-09
  6. 2024-08-05 Shower thoughts
  7. 2024-08-05 New log entry!
  8. 2024-06-24 Theming TODOs

Where I add short thoughts, TODO items, links, etc., that shouldn’t be a separate page.

I intend to keep adding entries under sub-headings by date, without deleting old entries.

Somewhat similar to “now” pages or Sara Joy’s “Weak Notes”.

“Now” pages (warning: bright white page)

“Weak Notes” by Sara Joy

2025-10-05 Accumulator functions🔗

I think we can teach functional programming without teaching tail-call optimisation.

Functions that return nothing are optimised, because there’s nothing to be done with the return value.

Functions that need to return something use an accumulator for tail-call optimisation.

Accumulators encourage function designs that are tail-call optimised, the same way functional languages encourage program designs that are optimised for modularity and composability.

So we can teach accumulation instead and keep tail-call optimisation as an advanced topic.

2025-10-04 Not corrections🔗

Huh, I thought I’d put up some nonsense about the NoSQL stuff. I didn’t. There’s nothing strictly wrong there.

The only thing to add is that the general requirements might be immediately fulfilled by an embedded document database (engine?). Maybe an embedded graph database?

The other option, going the plain text route, is to pick a “configuration and policy” language, like CUE, KCL, Nickel, Dhall, etc.

I also realised that application code ideally checks the data before storing it, so it could use the same checks to import it, instead of reimplementing types in the database. So it makes some sense for SQLite to be “untyped”.

Anyway, I can’t comment on a specific pick. I’ll get around to it when I actually need it — spend an innovation token.

2025-10-03🔗

Oh, hello there.

I keep thinking of this page, but I never get around to it. Part of it is because I only edit this at my laptop, and this is mostly a place for short or idle thoughts which don’t seem worth the effort.

I’m also working on a few big things, trying to get them just right, but in the meantime:

Enjoy my braindump :)

2024-09-21🔗

2024-08-09🔗

2024-08-05 Shower thoughts🔗

this might be my shower thoughts place

2024-08-05 New log entry!🔗

2024-06-24 Theming TODOs🔗

this became all about theming ¯_(ツ)_/¯

TODO:

toggle post is the easiest, and might be helpful for future implementation, but css from sass is also important. the rest are for down the line.

edit: i wrote the post