Skip to content

futureofcoding/futureofcoding.org

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Feb 18, 2025
591d6f1 · Feb 18, 2025
Mar 9, 2021
Sep 16, 2024
Sep 30, 2023
Jun 23, 2022
Jun 24, 2018
Sep 16, 2019
Feb 18, 2025
Mar 9, 2021
Jun 23, 2022
Jun 4, 2021
Dec 6, 2018
Mar 9, 2021
Dec 18, 2017
Jun 14, 2020
Jul 13, 2017
Feb 26, 2023
Sep 30, 2023
Dec 20, 2018
Feb 26, 2023
Jan 5, 2022
Apr 18, 2020
Sep 16, 2024
Dec 2, 2024
Sep 17, 2024
Mar 9, 2021
Aug 30, 2017
Dec 21, 2018
Feb 16, 2025
Mar 9, 2021
Jun 14, 2020
Dec 6, 2018
Mar 9, 2021
Aug 14, 2018
May 4, 2024
Mar 9, 2021
Dec 21, 2018
Mar 9, 2021
Apr 18, 2020

Repository files navigation

This is the repo for the Future of Coding website.

The website is a mix of personal logs and projects by Steve Krouse, episode pages for the Future of Coding podcast, and some pages about the Future of Coding community. Steve has turned over the website to community ownership, so things are in flux while we decided what should go where. Still, if you see any typos or have any suggestions, issues and PRs are welcome.

Steve also kept a number of "virtual webpages" when a GitHub issue is a better format for them than a regular webpage. These might be of interest if you are following along with his research work.

Admin stuff

The futureofcoding.org domain is registered and DNS'd with Hover. Ivan is the only person who has access to the account (TODO: should probably be shared, to reduce bus factor).

Mariano runs the history., links., newsletter., search., and people. subdomains. Currently that stuff is hosted on a Digital Ocean server. I should probably see if he wants to document some of the details here.

The podcast is hosted on OmnyStudio. Don't love that, will probably move it elsewhere.

Developing notes

Remove large media files locally

First run:

git config core.sparsecheckout true

Then put the following into .git/info/sparse-checkout:

*.html
*.md
*.gitignore
*.txt
*.js
*.css
*.yml
*.json

And then run

git read-tree -mu HEAD

Add _data/git-log.json changes

This is how I generage futureofcoding.org/log.

First, pip install git2json as explained here.

Then create .git/hooks/post-commit with the following contents:

previousMessage=$(git log -1 --pretty=%B)

if [ "$previousMessage" != "updated git log" ]
then
    git2json > _data/git-log.json
    echo 'fileName' > _data/files.csv && find . -regextype posix-egrep -regex ".*\.(md|html)$"  -not -path "./_site/*" >> _data/files.csv

    # https://stackoverflow.com/questions/16993082/why-doesnt-git-recognize-that-my-file-has-been-changed-therefore-git-add-not-w
    git rm --cached _data/files.csv
    git reset _data/files.csv

    git add _data/git-log.json
    git add _data/files.csv
    git commit -m "updated git log"
fi

exit 1

Quick access to journal

Add the following to ~/.bashrc:

function empty_message {
  sleep 0.1
  echo -e "## Title\n\n* TOC\n{: toc }\n\n" > .git/COMMIT_EDITMSG
}

function journal {
  empty_message &
  git commit --allow-empty --cleanup=verbatim
}