treeblah | 2 months ago | on: Ask HN: Share your personal website
treeblah's comments
treeblah | 11 months ago | on: How I blog with Obsidian, Hugo, GitHub, and Cloudflare
FWIW the CMS is Decap CMS and I have it configured likewise with Cloudflare Pages (since Pages supports functions that are needed for the auth/callback cycle).
treeblah | 1 year ago | on: Beautifying Org Mode in Emacs (2018)
treeblah | 2 years ago | on: Ask HN: Will Meta-frameworks kill normal frameworks?
For larger applications, I don't see meta-frameworks eating up a significant chunk of the world since they're very expensive to run in certain situations. Especially so if you use the default deployment options and rely entirely on serverless functions for your infrastructure or a database-as-a-service like Firebase/Supabase. I think it's inevitable that people will carve bits and pieces off of their meta-frameworks into different types of applications as they scale, just in the same way that people carve up their Rails applications of yore.
I generally think that the meta-framework obsession will also help propel backend SSR + HTMX, since thinking in server-side components is easier to translate to traditional backend SSR than SPA -> backend.
treeblah | 2 years ago | on: Let's write a treesitter major mode for Emacs
(setq treesit-language-source-alist
'((typescript "https://github.com/tree-sitter/tree-sitter-typescript" "master" "typescript/src")
(tsx "https://github.com/tree-sitter/tree-sitter-typescript" "master" "tsx/src")))
(mapc #'treesit-install-language-grammar (mapcar #'car treesit-language-source-alist))treeblah | 2 years ago | on: Emacs 29.1
treeblah | 2 years ago | on: Emacs 29.1
I put together a simple tool to generate a starter Emacs config from a few configurable options, which I can now update to point at a proper release channel instead of a prerelease:
treeblah | 2 years ago | on: Ask HN: Could you share your personal blog here?
Tons of Emacs posts recently since that's been top of mind for the last six months.
treeblah | 2 years ago | on: Paradigms of A.I. Programming: Case Studies in Common Lisp (1991)
treeblah | 3 years ago | on: Emacs 29 is nigh
(use-package web-mode
:ensure t
:mode (("\\.ts\\'" . web-mode)
("\\.js\\'" . web-mode)
("\\.mjs\\'" . web-mode)
("\\.tsx\\'" . web-mode)
("\\.jsx\\'" . web-mode))
:config
(setq web-mode-content-types-alist
'(("jsx" . "\\.js[x]?\\'"))))
(use-package eglot
:ensure t
:hook (web-mode . eglot-ensure))treeblah | 3 years ago | on: Emacs 29 is nigh
Also Emacs 28/29 has been way more welcoming and easy to get started with than when I first tried 8 or so years ago.
treeblah | 3 years ago | on: Emacs 29 is nigh
However, for my uses with a Ruby/React+TSX setup the performance was lacking on a large codebase. I swapped back to lsp-mode and the experience felt smoother.
IIRC the author's stance on previous discussions around multiple language servers was to rely on flymake instead, since the previous discussion centered around ESLint + TypeScript. Tailwind is a bit of an issue in the ecosystem right now, but you may want to try https://github.com/merrickluo/lsp-tailwindcss.
treeblah | 3 years ago | on: Teaching C (2016)
git clone https://git.savannah.gnu.org/git/c-intro-and-ref.git
cd c-intro-and-ref/
make c.pdf