-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spend time thinking about strategy for this project #51
Comments
Podcast seasonsClearly, anything I decide here will be arbitrary. There doesn't seem to be any clear demarcation point between seasons for what I do. I guess whenever I want to take more than two weeks off, we'll call that the end of season 1. But that isn't for a little while, potentially that will be thanksgiving and/or new years. Website organizationThe benefits of the time-series /journal structure:
The problem:
The solution: wouldn't it be great if I could have my cake and eat it to? I think the solution to this problem is commit messages:
Moving away from /journal to /logThus in the future, I will no longer add content to /journal (RIP). However, I will keep the page as it is so as to not break the many links I've made to it (an annoying reminder that web content is location-identified instead of identified by a hash of contents). I will add a message in bold at the top that explains that the page has been deprecated and link visitors to /log, which initially could just redirect to https://github.com/stevekrouse/futureofcoding.org/commits/master but eventually I could pull the data myself (using my clay service https://www.clay.run/services/steve/github-project-data/code) to make it prettier. /ideasGoing forward, when I have various ideas for more work, I will work on those in the /ideas/ folder. The existing /ideas page will be renamed
Each idea will have it's own markdown page to start. If it becomes bigger, it can graduate to it's own folder where it'd markdown file is renamed to index.md inside it. /linksSimilar problems exist with my /links page. Will think more on those on #47. /about and master planWill think more about how to attack this problem on #32 /thesisAnd this one on #9 |
Plan of attackI got 99 issues and too many issues is oneOk, ok, ok! I have a lot of thoughts here but I feel like they're now scattered around various issues. I wan to consolidate my thoughts and issues into a small, key number of issues so I can figure out my plan of attack: First things first, build a structure for scaleBefore I start iterating on the structure for this site, it probably makes sense to build myself a structure that I can iterate on indefinitely in case I don't like this new structure. It took me some thinking but I think I came up with a way for this structure to work in the "Git commit hashes" section of this comment. CasesThere are a few different cases I need to handle. a. The incoming URL is b. The incoming URL has no commit hash and is requesting a page other than c. Same as above -- the incoming URL has no commit hash and is requesting a page other than d. Same as above -- the incoming URL has no commit hash and is requesting a page other than e. An incomming request does have a commit hash. In this case we return the version of the file at that commit hash. It would be great if we could find out the most recent version of the file and if it's not the same, notify the user that a more recent version exists and link to it. f. An incomming request does have a commit hash and also has a link to an anchor tag. In this case, we could look for the most recent version of the page that also contains this anchor tag which we'd really need this content to hash mapping for. SolutionsThere are a few things I need to build: 1. Mapping from content to hashAs discussed above, a mapping from each path ever created in this directory to the value of the most recent hash in which it exists in the project is key. The obvious way to do this is that on each commit, I could get a post-commit hook on github where I go through and update this structure for each path that still exists, while leaving the paths that do not alone. However, it would be neat if I could figure out a way to run this in such a way that it's not so brittle. That is, if I could run it from scratch every time as a pure function as opposed to have this global mutable state. 1b. Mapping from anchor tag to commit hashAn added bonus would be if we could also map the anchor tags in each file as well to the most recent hash in which they exist in each file. 2. The rewrite code on
|
Github issues don't keep history, so I'm going to continue this on a new issue. Apologies for the duplication... Plan of attack (continued on 10/6/17)I got 99 issues and too many issues is oneOk, ok, ok! I have a lot of thoughts here but I feel like they're now scattered around various issues. I wan to consolidate my thoughts and issues into a small, key number of issues so I can figure out my plan of attack: First things first, build a structure for scaleBefore I start iterating on the structure for this site, it probably makes sense to build myself a structure that I can iterate on indefinitely in case I don't like this new structure. It took me some thinking but I think I came up with a way for this structure to work in the "Git commit hashes" section of this comment. CasesThere are a few different cases I need to handle. a. The incoming URL is b. The incoming URL has no commit hash and is requesting a page other than c. Same as above -- the incoming URL has no commit hash and is requesting a page other than d. Same as above -- the incoming URL has no commit hash and is requesting a page other than e. An incomming request does have a commit hash. In this case we return the version of the file at that commit hash. It would be great if we could find out the most recent version of the file and if it's not the same, notify the user that a more recent version exists and link to it. f. An incomming request does have a commit hash and also has a link to an anchor tag. In this case, we could look for the most recent version of the page that also contains this anchor tag which we'd really need this content to hash mapping for. SolutionsThere are a few things I need to build: 1. Mapping from content to hashAs discussed above, a mapping from each path ever created in this directory to the value of the most recent hash in which it exists in the project is key. The obvious way to do this is that on each commit, I could get a post-commit hook on github where I go through and update this structure for each path that still exists, while leaving the paths that do not alone. However, it would be neat if I could figure out a way to run this in such a way that it's not so brittle. That is, if I could run it from scratch every time as a pure function as opposed to have this global mutable state. 1b. Mapping from anchor tag to commit hashAn added bonus would be if we could also map the anchor tags in each file as well to the most recent hash in which they exist in each file. 2. The rewrite code on
|
The text was updated successfully, but these errors were encountered: