·

Hey! I’m James Long. This is my new personal website. I’m using Roam as a content management system (soon to switch to logseq). This is my personal knowledge graph that I’m sharing with the world.

·

Hope you find this content useful. I write things down frequently, and every now and then compile ideas into more polished posts. Below are my daily notes.

·

Pages you might find interesting: Coding environments

Tech post

Daily note
·

This is something about tech. Just a test for the tech tag.

Hobby post

Daily note
·

I roasted some beans! I’m posting this mainly to test filtering (see the very top).

·

This is a separate page. I can write posts separately and work on them over time, and then tag them to a date. When tagged with a date they’ll appear inline as a section under that date on the home page.

·

I’m now comfortably settled into my new site and happy with how it works. I use Roam as my CMS, and when publishing it extracts all the public data and pushes it up to my servers as a DataScript database. The site uses Remix to render pages on the fly, using datalog db queries to get the content.

·

The content is radically different than any other site in one way: everything is linkable.

·

Everything, down to this single paragraph. Hover over this and click the dot to the left. This paragraph is now linked to. Now shift-click the same dot. This paragraph is now focused.

·

Any children are always rendered with the above paragraph

·

Use your browser’s back button to go back. Don’t worry; we don’t load any JS on the page so your previous scrolling position will act sanely.

·

And it’s not just that. I can link to anything like Coding environments. You can jump to that page and see everything else that links there. My site doesn’t support it yet, but you can also embed any block into anywhere.

·

It’s truly amazing once you start working with your content this way, and it makes everything else feel ancient. I have to use Dropbox Paper for work, and I hate every minute of it.

·

I start writing a bunch of stuff here

·

How do I publish this post?

·

This first step of this new site is complete. It reads from my knowledge graph, rendering links to other pages and shows back references to the current page.

·

All I have to do is tag pages or blocks as public in my graph and they’ll show up on the site. Right now I still have to click a “publish” button to update the site, but I’m thinking of making it automatic so it pulls down new content every couple hours.

·

I like the feeling of just writing stuff down and knowing it will be publicly available.

·

Of course, if I want to explicitly publish content, I can mark it private and when I’m ready I’ll manually publish. I’ll do that for long-form posts but it’s nice to have a more lightweight option.

·

A few things I still want to do:

·

I learned a lot about datalog through this process, and right now the code is pretty messy and inconsistent. I want to refactor everything and think more about what is a “page” and how things get grouped together. Currently the index page which shows daily notes is not consistent with everything else.

·

Daily notes should de-emphasize the date, and probably attach it to each section in smaller font

·

Pages should probably infer the latest date by getting the latest back reference from a daily page and show that somewhere

·

Blocks as headers currently don’t render correctly

·

RSS feed for every page? What is “new content” in that case though? Or should it just be a single RSS feed focused on the daily notes?

·

Tag a page to view it as a document, so it doesn’t render the bullet points

·

Eventually, full-text search and make page list lists all the pages sorted by date edited

[[Links]]

Daily note
·

I write down interesting links every day. Experimenting with making this section public.

·

JavaScript/TypeScript, Node, Web https://stackblitz.com

[[Working]]

Daily note
·

How should I handle CSS?

·
body {
  background-color: black;
}
·

This is a block quote

·

This is another block reference. How does it look?

·

And another block reference with some longer test. Going to see what it looks like when there are multiple references across multiple pages.

·

Web, I mainly use it for CSS testing https://codepen.io

No content