Live data from Hacker News

Literate Devops with Emacs Org-Mode (2014)

howardism.org

81–86 of 86 posts

Re: Literate Devops with Emacs Org-Mode (2014)

#81
post #70
post #4

Earlier quoted context omitted.

Is there some way to tell org exactly how I want it to spit out HTML? I was going to do my blog entirely with org-mode+org-publish, but it spits out a mess of HTML and also a small bit of js for some reason, so I'm just writing html directly myself now. I don't really find writing html myself all that annoying or anything, but it'd be nice if I could get org to generate really clean/simple HTML for me that I could th…

I've been blogging with org-publish for a while, but I switched to a Ruby script instead [1]. I'd not recommend using org-publish for this, because it's slow, and it's hard to add new posts. It's nice for static projects (say like a bunch of PDFs or some documentation maybe), but it does not lend itself to a more dynamic thing like a blog (dynamic in the sense that you want to add new pages rather frequently). Applyi…

I am assuming your site remake is still in progress? The fonts on your web site show up in super-huge size at the moment. You can see the font size on other sites like this one for comparison: [1].

[1]: https://i.imgur.com/um3yTdU.png

Re: Literate Devops with Emacs Org-Mode (2014)

#82
post #4
post #2

Org-mode & Magit really are the secret superpowers of modern emacs. And notmuch (full-text search of one's email, at least one order of magnitude faster than Gmail's!). And elfeed. And gnus. And dired. And pretty much everything else in emacs …

Is there some way to tell org exactly how I want it to spit out HTML? I was going to do my blog entirely with org-mode+org-publish, but it spits out a mess of HTML and also a small bit of js for some reason, so I'm just writing html directly myself now. I don't really find writing html myself all that annoying or anything, but it'd be nice if I could get org to generate really clean/simple HTML for me that I could th…

Tooting my own horn, if you love living in Org mode, and are willing to try out Hugo (https://gohugo.io), I have an Org exporter package ox-hugo that exports to Markdown + required front-matter for Hugo. The package is even more magic if you choose to use a single Org file to export to multiple posts/pages.

Few examples:

1. ox-hugo documentation site from one file[1], source[2]

2. My blog[3]

3. ox-hugo test site (300+ test pages and counting)[4]

[1]: https://ox-hugo.scripter.co/ [2]: https://github.com/kaushalmodi/ox-hugo/raw/master/doc/ox-hug... [3]: https://scripter.co/ [4]: https://ox-hugo.scripter.co/test/

Re: Literate Devops with Emacs Org-Mode (2014)

#83
post #70

Earlier quoted context omitted.

I've been blogging with org-publish for a while, but I switched to a Ruby script instead [1]. I'd not recommend using org-publish for this, because it's slow, and it's hard to add new posts. It's nice for static projects (say like a bunch of PDFs or some documentation maybe), but it does not lend itself to a more dynamic thing like a blog (dynamic in the sense that you want to add new pages rather frequently). Applyi…

I am assuming your site remake is still in progress? The fonts on your web site show up in super-huge size at the moment. You can see the font size on other sites like this one for comparison: [1]. [1]: https://i.imgur.com/um3yTdU.png

Thanks a lot! I haven't been able to reproduce that in any computers and browsers I have access to. Is that a Retina screen maybe?

Re: Literate Devops with Emacs Org-Mode (2014)

#84
post #83

Earlier quoted context omitted.

I am assuming your site remake is still in progress? The fonts on your web site show up in super-huge size at the moment. You can see the font size on other sites like this one for comparison: [1]. [1]: https://i.imgur.com/um3yTdU.png

Thanks a lot! I haven't been able to reproduce that in any computers and browsers I have access to. Is that a Retina screen maybe?

I don't use Mac, so not sure what resolution qualifies as "Retina", but my Dell monitor resolution is 2560 x 1440.

Re: Literate Devops with Emacs Org-Mode (2014)

#85

Earlier quoted context omitted.

Termux of course is not the same as using a regular terminal on desktop Linux, but it's pretty damn good. I've had pretty good luck with SSH on Termux - it's great to be able to transfer things from my computer to my phone via rsync (I have some apps which do SAMBA, but they tend to be flaky; likewise physically plugging the phone in and transferring with adb isn't very convenient).

I don't disagree with anything you're saying except that Termux is, of and by itself, a sufficient replacement for a full desktop system. I'd tried to make that happen over the course of 2.5 years, a full year of which was with Termux. And as mentioned: the best damned thing to happen to me on Android. Termux is really nice, and for the 700 - 800 or so packages it has, there's a tremendous amount of utility. But you'…

In no way could my Android phone with Termux serve as substitute for my Linux desktop/laptop, but it is handy.

Presumably the only real solution is using desktop Linux on a device, rather than Android.

Is the GDP Pocket [ https://medium.com/@tomac/qpd-pocket-7-the-return-of-the-hac... ] included under your category of sweat-inducing devices? It looks handy, and even seems to have some sort of pointing/TrackPoint-like nub. I haven't used or even seen one in real life, but I've heard good things.

I'm not convinced there's anything that will replace an X-series ThinkPad. Non-phone devices that fit in our pocket and run Linux are rather appealling, and I'd love to have one, but I still don't imagine it could really oust my ThinkPad for most purposes. I need at least the X-series sized screen for most of what of I do.

Re: Literate Devops with Emacs Org-Mode (2014)

#86

Earlier quoted context omitted.

I don't disagree with anything you're saying except that Termux is, of and by itself, a sufficient replacement for a full desktop system. I'd tried to make that happen over the course of 2.5 years, a full year of which was with Termux. And as mentioned: the best damned thing to happen to me on Android. Termux is really nice, and for the 700 - 800 or so packages it has, there's a tremendous amount of utility. But you'…

In no way could my Android phone with Termux serve as substitute for my Linux desktop/laptop, but it is handy. Presumably the only real solution is using desktop Linux on a device, rather than Android. Is the GDP Pocket [ https://medium.com/@tomac/qpd-pocket-7-the-return-of-the-hac... ] included under your category of sweat-inducing devices? It looks handy, and even seems to have some sort of pointing/TrackPoint-like…

I'm leaning much that way myself.
Post reply on HN