by masnick · 7y ago · 0 comments
This is partially inspired by Chris Albon's excellent data science technical notes: http://chrisalbon.com.
I find it very helpful to have this kind of information on a public website. It's easy to search myself, quick to edit[^1], and helpful for sharing with others when someone asks me a question.
For notes I don't want to make public, I use OneNote. It's available on every platform, has a documented file format, and the sync works well. Of course, I have some more detailed notes on why I prefer this to other options: https://maxmasnick.com/kb/note-apps/.
[^1]: My whole website is built with https://gohugo.io. I use the GitHub Actions beta to automatically update the public site every time I commit to master. This means I can edit on a computer with a standard text editor, and also on iOS using https://workingcopyapp.com.
The link to where you explain it is broken: http://protips.maxmasnick.com/backing-up-onenote-notebooks
You mentioned it as being a critical feature but from what I've been reading, it's pretty complex and tricky due to it's weird syncing rules and relationship with OneDrive. The only decent solution requires a Windows version. See: https://answers.microsoft.com/en-us/msoffice/forum/all/good-...
https://support.office.com/en-us/article/export-and-import-o...
The simple answer is you can download zips of the entire OneNote notebook from the OneDrive web interface.
It doesn't really seem very AI-ish except maybe for some NLP. Otherwise it's very straightforward indexes and catelogues.
I used to work at a company that used Elasticsearch to catelog and group articles and small snippets. I'm currently working at a company that's using Algolia to do something similar.
i've been experimenting with personal knowledge bases for much of the last decade and have settled on a homegrown solution that involves ten thousand markdown files. notes are organized as trees with a top level domain (eg. aws, programming, finance, etc) and finding a particular note is a tree traversal down the tree. the main goal is speed and structure - want to access anything within my knowledge base in seconds and have a coherent way of modeling knowledge even as it scales past ten thousand notes
recently quit my job to build this into a service. would love to get feedback from people with similar challenges: http://demo.alphacortex.io
How do you set that up?
The only potentially interesting part about this setup is I take advantage of this git feature I didn't know about until I set this up: https://git-scm.com/docs/git-worktree. This lets you essentially check out a branch into a folder in a repo. Hugo can then build the site in to the special folder, and the built site is committed just to that branch. I then push this branch to NFSN, rather than using rsync or scp, which takes a lot longer for small changes compared with sending a git delta over the wire.
I plan to write up a more extensive description of this when GitHub Actions come out of beta. If you want to hear about it when it comes out, you can subscribe to my blog's newsletter: https://masnick.blog/subscribe/
I too have struggled to find examples of doing more complex things in Hugo. It's such a versatile tool that it's probably pretty hard to document everything in an approachable way.
I may write up how I set up the Hugo portion of the knowledge base as it has worked quite well. If I do, you can subscribe here to make sure you see it: https://masnick.blog/subscribe/
Thanks for the response, I appreciate it and I'm really glad you took the time to post your original answer. It's a real help to me in ways I didn't expect when I clicked into this thread.
My Technical Notes blog (https://tech-notes.maxmasnick.com), which is a similar idea but much more random in content, does get a fair bit of traffic on specific pages, presumably via organic search traffic. (This is the most popular Tech Notes page, which has had 30k views over the last 4 years: https://tech-notes.maxmasnick.com/ipython-notebooks-automati...)
It uses a KeePass database and is a self-hosted app in the browser that works perfectly fine on mobile. I have the page up at all times in Chrome on my Android for quick and easy access. The desktop app I have on my home PC. Everything is synced through Dropbox which is the actual storage location for the encrypted database. I have the desktop app set to make backups just in case on my local PC as well. But Dropbox is what they all connect to. I personally love this web app implementation of KeePass much more than anything else like lastpass or other paid services. Been using it for several years now and I've never had an issue. You'll need to grant the web app special access in Dropbox to get it working properly, but it's easy to set up.
EDIT - by "self-hosted" I really mean cached in the browser so nothing is going through the site, it's all local to you after you load the app. Also, this means you can still use it offline if you need to because the Dropbox database is also cached until it can update accordingly when connection is resumed.