My Public Brain

My Public Brain

See All Pages for every public page, but here's some recent notes from the journal.

2023-09-01 Friday

DEFCON Video about Veilid

Needed to download and H.265 → H.264 convert with HandBrake

prior art

Tor

Privacy-oriented network

IPFS

Inter Planetary File System

Distributed Data Storage

similar but designed for speed and providing services over a privately routed network

goals

Security First

Rust

Runs Everywhere

Standard Protocols

UDP

TCP

Websockets

All In network

No external services

avoid DNS

No STUN / TURN

Privacy Focused

Nodes != Identity

Resilient

latency

high churn

network switching

community and user focus

everybody deserves privacy

Nodes

every application running veilid-core is a node

no special nodes

headless nodes with veilid-server

JSON API for simple apps

veilid-python

veilid-cli

protocols

framed RPC operations up to 64k

Network Topology

on node activation keys are fetched from Veilid bootstrap server

that’s where DNS comes in, but after that it’s a Veilid-specific routing table

bootstrapped info is persistent, so shouldn’t need to be fetched again

Bootstrapping

ask bootstaps to find self

public address detection

relay configuration

peer minimumr efresh

network class detection

ping validation

cryptography

VLD0

Veilid cryptography suite

We did not roll our own crypto. We know better than that.

Property Spec Used
Authentication ED25519
Key Exchange x25519
Encryption XChaCha20-Poly1305
Message Digest BLAKE3
Key Derivation Argon2

Secure Storage

ProtectedStore

device-level

TableStore

encrypted key-value database

RecordStore

distributed hash table storage

BlockStore

content-addressable data distribution

RPC Protocol

default port 5150

Schema Language

Cap’n Proto

Developed by Protobuf author; intended to address some of its shortcomings

RPC

Question / Answer and Statement RPC modes are supported

private routing structures fully supported in-schema (no magic blobs)

Schema evolution built-in

RPC schema is cryptography-independent

RPC ops are a nested set of Cap’n Proto operations to described actions

Distributed Hash Tables (DHT)

basically just search

better search w/ 1MB per key

signed keys with public and private values

allows multiple writers to key sub-chunks

Private Routing

safety route

private route

compiled route

addresses and public keys of next hop are embedded in packet envelope

future

per-hop payload keying

simplify directionality

increase hop count

eliminate hop counting

hop caching

There’s a Power User Quick Start

FFI+JS plugin support for Dart and Flutter

how can you help?

coders and hackers

app developers

usability experts

open source + governance

15:09 New feature on My Public Brain: slugs instead of UUIDs for permalinks

Nothing fancy yet. Just use slug(pageBlock["page-name"]) for every top-level block in the exported graph.

slug - npm

2023-08-09 Wednesday

Found a Minecraft world that inspired me to be a groundskeeper. In the game, not in life. But anyways it’s an interesting enough idea that I’m looking up mods to record sessions.

Minecraft Replay Mod - Craft your Moment

seed for the interesting world: 8697231588272953169

Also looking a bit at Minetest

23:33 I think I’ll start putting a few brain cells on consistent URLs for publishing tomorrow. Now now though. It’s bedtime.

2023-04-19 Wednesday

08:37 Visually distinguished internal links with a little CSS / SASS trickery

article {
  a[href^="/"] {
    &::before {
      content: '[[';
    }
    
    &::after {
      content: ']]';
    }
  }
}

Hypothetically, that will add wiki-style open and close markers to local links which appear inside note pages and note excerpts. It’s not a 100% solution, which would only mark note links in that way, but I need to do a little folder structuring for that to work.

13:41 Tab Bankruptcy

See the websites that make AI bots like ChatGPT sound so smart - Washington Post

https://friend.camp/@aparrish/110227399095340106 collapsed:: true

image.png

GitHub - aparrish/material-of-language: Notes and notebooks for Material of Language

Computational Letterforms and Layout (Schedule, Spring 2023)

Computational Letterforms and Layout

Language is more than just words and meanings. Language is material: it’s paper and ink, pixels and screens, fingertips on keyboards. In this course, students will gain an understanding of how language’s material manifestations are represented digitally, and learn computational techniques in order to create new work and new systems that challenge conventions in type design and page layout. Topics include asemic writing, concrete poetry, markup languages, character encodings, generative typography, and printing technologies (including pen plotters). Readings and lectures in the class draw from the fields of computation, critical theory, literary studies, art history, mathematics and graphic design. A series of production-oriented assignments lead up to a final project. In addition to critique, sessions will feature class discussions and technical tutorials.

Getting syntax highlighting in my public brain

eleventy-plugin-shiki-twoslash - npm

GitHub - shikijs/twoslash: You take some Shiki, add a hint of TypeScript compiler, and 🎉 incredible static code samples