-- Leo's gemini proxy

-- Connecting to sunshinegardens.org:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini; lang=en

/g/ [bbnet] devlog 18889


since i couldn't get it out of my head, i've been writing down some ideas for a bbnet prototype. following the same approach as my other projects, i'm using pretty clumsy tools so i have fairly low complexity limits. i won't be trying to take it too seriously, all of the development is happening inside of my memex repo with no near future plans to release anything.


i think writing things out in code is helping to quiet down my mind. makes sense that i can't put it down when i haven't externalized many of the details that i need to keep in mind to make things happen. i've been focused more on arconite than anything else of late, but i had a bunch of dots connect in my head and i didn't want to get in the habit of suppressing inspiration when it hits. struggled with it for a while, but at the end what matters is that i'm creating.


working on this, i've spent time thinking about the nomad architecture. trying to fix concepts into very small computers. dreaming about audio and musical computers that could be made using this design.


nomad architecture


some of the patterns that i've been using


thought it might be fun to comment on the patterns that i've been using to manage input and process data.


switch/case dispatch


used for rough request matching/validation. request parsing still happens in the handler script.


switch ($PATH_INFO) {
	case prefix/*
		. handler_script.rc
}

sed pattern matching


often these are broken out into standalone sed scripts.


record = `{echo $QUERY_STRING | sed -e 's,%2[fF],/,g' -e 's,&, ,g'}

-- Response ended

-- Page fetched on Tue May 21 19:19:31 2024