The other day I started an HTML document from scratch, in VSCode. I kinda blacked out and came to 5 seconds later, and thanks to autocomplete and muscle memory, the whole skeleton of a document was there. HTML and Head and title and body and all that. It was so fast & fluid. I'm ashamed to say I'd kinda forgotten how easy it is to just write fucking HTML . It's even got me reconsidering things like Markdown—I mean, f…
This! I wrote my personal website [1] a few days ago (after it was blank for years) and went for concrete css [2] and plain HTML together with some Go code to serve the files. I set up a server on Hetzner Cloud [3] and my site was up within minutes using Traefik to get a SSL certificate from Letsencrypt. All in all it took me about 2 hours. If you start to play around with a CMS it can take you days if not weeks. Jus…
The ideal tech stack for a personal developer blog in 2020
141–150 of 275 posts
Re: The ideal tech stack for a personal developer blog in 2020
#142Earlier quoted context omitted.
I heard in a jazz bar that you can host static sites for free at Zeit and use plain css for grid now, but I am unable to verify the rumours as my work limits Internet only to hackernews
Sure, but I'm on Hetzner anyways for different reasons. I didn't say it's ideal, just that it's simpler to write HTML+CSS sometimes. How you serve the files doesn't matter.
Re: The ideal tech stack for a personal developer blog in 2020
#143I recommended this on another HN post a few weeks ago: use Emvi [1] to write your blog articles and access them on your personal page on a server you control through the API to display them. You can store the HTML and attached files to serve it statically and update it from time to time. Should you decide to abandon Emvi you still have everything in place. I did this for a gaming community wiki (sort of, I don't stor…
Just wanted to say that I am impressed by the emvi landing page. Slick and high fps.
Re: The ideal tech stack for a personal developer blog in 2020
#144Earlier quoted context omitted.
I'd love to see a blog post on how your rust/org-mode blog works.
I wrote an article about that here: https://dpbriggs.ca/blog/making-a-blog-with-rust-and-orgmode The main changes since that article is I use systemd services to manage caddy / webserver instead of tmux sessions. The short of it is: rocket + tera + org-mode html export + some amount of parsing. There didn't exist high quality org-mode parsing crates when I made the blog. You can learn more about the org-mode parts fr…
Even with high quality parsing libraries, when you dip into the most advanced features of org-mode (like literate programming via babel), you end up needing emacs anyway. And it's much more pleasant to tweak existing export code, than figuring out how to reimplement it from scratch.
[0] https://github.com/karlicoss/beepb00p/blob/master/src/compil...
Re: The ideal tech stack for a personal developer blog in 2020
#145As a non-React developer: forms, before React, were actually super simple. The author mentions they forgot how to do forms the normal way, but like, can you imagine how excited they'll be by the simplicity?
So that’s who writes this stuff. They literally don’t remember a world where you can build very simple things without state management, without scoped styles, without jsx.
I’m not an agist, but it’s like c’mon dude, it’s a blog, when did you start web development? Don’t write your own blog posts yet please, mature a little first. Way too much noise out there now days.
Why do you need type checking for your blog? You really going to double check that you’re posting a string or something? Do whatever you want, but stop posting about it like it doesn’t sound unnecessary to the rest of us.
Re: The ideal tech stack for a personal developer blog in 2020
#146Earlier quoted context omitted.
The primary advantage of markdown is that it is more readable in plaintext.
Yeah, but you lose lots of HTML features—not even layout-related things, which of course aren't present in Markdown, but things like image captions, , , and so on. I love it for cases in which plain text would otherwise be used but it's lacking a lot of really nice features in HTML that aid readability and accessibility.
Re: The ideal tech stack for a personal developer blog in 2020
#147Seems completely unnecessary and overly complex for anyone who doesn't love Javascript. I'm using Hugo + Git commit hooks to drive deployments. Easy enough, works just as well, didn't require reinventing the wheel. I embed rich content all the time.
Re: The ideal tech stack for a personal developer blog in 2020
#148Re: The ideal tech stack for a personal developer blog in 2020
#149Earlier quoted context omitted.
I wrote an article about that here: https://dpbriggs.ca/blog/making-a-blog-with-rust-and-orgmode The main changes since that article is I use systemd services to manage caddy / webserver instead of tmux sessions. The short of it is: rocket + tera + org-mode html export + some amount of parsing. There didn't exist high quality org-mode parsing crates when I made the blog. You can learn more about the org-mode parts fr…
Nice, using similar workflow for my blog, emacs export + some post-processing [0]. Even with high quality parsing libraries, when you dip into the most advanced features of org-mode (like literate programming via babel), you end up needing emacs anyway. And it's much more pleasant to tweak existing export code, than figuring out how to reimplement it from scratch. [0] https://github.com/karlicoss/beepb00p/blob/master…
I thought about doing batch export but ended up being too lazy to integrate it in my release flow. My compromise is to use this snippet:
(defun make-blogging-mode ()
(interactive)
(toggle-word-wrap)
(toggle-truncate-lines)
(flycheck-mode)
(flycheck-vale-toggle-enabled)
(add-hook 'after-save-hook 'org-mode-export-hook)
)
And this find-file hook in my blog template: # -*- find-file-hook: make-blogging-mode -*-
My new computer is beefy enough that I barely notice the export on save. I wouldn't recommend this on slower boxes as it freezes emacs for a bit.Re: The ideal tech stack for a personal developer blog in 2020
#150Earlier quoted context omitted.
This! I wrote my personal website [1] a few days ago (after it was blank for years) and went for concrete css [2] and plain HTML together with some Go code to serve the files. I set up a server on Hetzner Cloud [3] and my site was up within minutes using Traefik to get a SSL certificate from Letsencrypt. All in all it took me about 2 hours. If you start to play around with a CMS it can take you days if not weeks. Jus…
I heard in a jazz bar that you can host static sites for free at Zeit and use plain css for grid now, but I am unable to verify the rumours as my work limits Internet only to hackernews