1. 2

    I remember seeing Vector a while back but forgot about it. It seems very handy for having just one utility which can combine metrics collection/generation, like what Telegraf does, and logs collection, like Logstash/Filebeat/… does.

    Are there any other tools out there which can handle both cases which are worth looking at? A use case I can think of right now is to use in a sidecar container in a Kubernetes pod running Nginx, for collecting logs and generating metrics from them at the same time.

    1. 3

      I recently found about https://www.benthos.dev which also seems pretty similar to what Vector achieves. It’s written in Golang (Vector is in Rust).

      But for your usecase, I think Vector can do the job, out of the box.

      1. 1

        Thanks! I’ll check it out.

        1. 1

          It turns out Vector and Benthos share a developer, who gave some background into what the priorities are for each of them here: https://github.com/Jeffail/benthos/issues/359#issuecomment-573438855.

    1. 3

      Goof stuff. There’s also https://github.com/VictoriaMetrics/metrics lib that I suggest to people who want to add metrics exposition to their Go apps but don’t want to include a lot of dependencies from the official Prometheus client library.

      1. 3

        Strong -1 — everything written by that guy is sloppy and full of caveats. For example, the Histogram type in this package uses dynamic buckets, making any kind of aggregation — an average, a rate over any dimension, etc. — totally statistically invalid.

      1. 13

        Excellent write-up! I’ve given a talk on a number of occasions about why Nomad is better than Kubernetes, as I too can’t think of any situations (other than the operator one you mention), where I think kubernetes is a better fit.

        1. 2

          Hey, yes I’ve definitely seen your talk :D Thanks for the feedback!

          1. 2

            Watched your talk and have some points of disagreement:

            • YAML is criticized extensively in the talk (with a reason, it’s painful) as being an inherent part of Kubernetes, when reality is that it’s optional, as you can use JSON too. And, most importanty, as you can use JSON in k8s definitions, anything that outputs JSON can work as a configuration language. You’re not tied to YAML in k8s, the results you can get with stuff like Jsonnet is way superior to plain YAML here.
            • I don’t think that comparing k8s to Nomad is entirely fair, as they are tools designed with different purposes. Kubernetes is oriented to fixing all the quirks of having networked cooperative systems. Nomad is way more generic and it only solves the workload orchestration part of the equation. As you well explained in the talk, you have to provide your own missing pieces to make it work for your specific use case. In a similar (and intended) example, there are many minimalistic init systems for Linux that give you total freedom and recombination… but Systemd has it’s specific use cases in which it makes sense and just works. UNIX philosophy isn’t a silver bullet, some times having multiple functionalities tied together in a single package makes sense for solving specific, common problems efficiently.
            • About the complexity of running a Kubernetes cluster: True, k8s as it is, is a PITA to administrate and it’s WAY better to externalize it to any cloud provider, but there are projects like the one mentioned in the article, k3s.io, that simplifies a lot the management.

            One thing we can agree 100% is that neither Kubernetes or Nomad should be the default tool for solving any problem, and that we should prefer solutions that are simpler, easier to reason about.

            1. 1

              I think you accidentally the link to the talk.

              1. 1

                Fixed, thanks :)

            1. 3

              Nice writeup, thanks! I’m also thinking of taking the Nomad route, as I would like to stay away from k8s as far as possible.

              One question related to VPN? Is that for connecting to internal services when traveling, or you use VPN even at home? If the latter, what is the benefit? I’m trying to understand do I need one if all my machines are at home.

              1. 3

                Actually Tailscale is a mesh network. So only the traffic to IP ranges under Tailscale CIDR flows via Tailscale.

                And yes I use them at home also. My server is a DO droplet, so practically no difference if I’m at home or travelling. But even at home, I’ve 2 RPi nodes and I just prefer to host anything internal on Tailscale ranges (so that any new device gets the access automatically, don’t have to fiddle with local IPs or local DNS resolvers). Makes the setup pretty clean :)

              1. 1

                There’s https://frozen-lobster.rohanverma.net/ too which my friend has developed. It archives the top posts for the day.

                Similar to https://www.daemonology.net/hn-daily/ which is for HN.

                1. 3

                  I use https://joplinapp.org/ synced to my Nextcloud instance (WebDAV). Joplin is super awesome, it is quick, search is great, writing and editing notes in Markdown is natural for me. I’ve used Notion in the past and found that it’s slow, the different components/block system actually gets in my way of composing notes. And then, Joplin allows me to take a backup of my data seamlessly.

                  With the tool out of the sight, it’s really important to figure out a workflow as well for yourself. There’s no point in finding a good tool and not using it enough (or just forgetting about it in the next few days). Here are few ways I use Joplin:

                  For Knowledge Management:

                  • Have 2 Notebooks: Work/Personal. (self explanatory)
                  • Inside Work, I have multiple sub-notebooks which touch broadly each category of the stuff I do (eg Golang/Ops)
                  • I’ve a Scratchpad sub notebook in both Work/Personal and this is actually where I spend most of my time on. During the day or while doing the task, I make it a point to just log down whatever I did to not forget it later (if I think it’s worth saving for future) and not particularly care much about grammar, formatting etc. The idea is to log down as soon and go back to what you were doing. Depending on the workload during the week, I take the Scratchpad and move the entries to their correct categories and format them nicely. This usually happens twice a week (Wed and Sat) but no fixed rule. The idea is inspired from “Inbox Zero”, so at the end of every week I aim to have a clean scratchpad and whatever I’ve learnt during the week goes in correct categories.

                  For Bookmarks: One Notebook with multiple sub notebooks with categories like:

                  • Articles
                  • UI Inspiration
                  • Tech Talks
                  • etc..

                  I use Joplin Web Clipper Extension which allows me to save the entire link (as HTML or just URLs) in these notebooks. Each new entry is a new note, that allows me to also take short notes on that particular URL later (like few notes after watching a tech talk) etc.

                  I heavily use Tags in all my notebooks, which allows me to have a unified view of different kind of stuff I’ve. For example “golang” tag in my Work notes and Personal notes, allows me see all the “golang” stuff together in one place.

                  This system isn’t ideal/perfect or it may not suit you as well. And I didn’t reach at this workflow from day 1, took me many iterations and experimenting with different tools until I settled on this. And now I think I’m fairly satisfied with this approach. Joplin is <3

                  1. 3

                    Just came here to praise Joplin!

                    1. 2

                      +1 for Joplin. It has honestly been a Warp Speed productivity boost for my learning and retention.

                      Realized I should at least try and add some value :)

                      I make heavy use of both notebooks and tags. So I have Tech, Househoud, Gaming notebooks, and about a bazillion tags for every possible attribute, but I can at least restrict my search to the correct sphere, which is especially useful if I know I want a particular thing but can’t successfully retrieve it using a tag search.

                    1. 1

                      Can anyone share what’s the difference between Netlify and Vercel?

                      1. 1

                        They seem roughly equivalent to me. There’s probably a few features than one has over the other, but that comes down to nuance, and if there’s something specific you need to do.

                      1. 2

                        This post hits home hard. I setup a personal K8s setup for exactly the same reasons, to learn by doing.

                        However, the maintainence became a pain point when I had to deploy Statefulset apps and K3s on ARM didn’t really have Longhorn support. Which was a deal breaker for my cluster setup.

                        I shifted it gradually to a single node $10 DO instance, managing all services in Docker containers, configs/DNS via Terraform. The most beautiful part of the stack is automatic SSL from Caddy, it just works out of the box.

                        I’m planning to revamp the docs and add a module to help me with deduplicating the configs, but if anyone’s interested: https://github.com/mr-karan/hydra/tree/master/floyd/terraform

                        1. 1

                          Windows release doesn’t seem to work…

                          PS C:\Users\zach>  doggo -q mrkaran.dev -t MX -n 1.1.1.1 --debug
                          time="2020-12-19T13:25:08+10:00" level=debug msg="initiating UDP resolver"
                          time="2020-12-19T13:25:08+10:00" level=debug msg="Starting doggo 🐶"
                          time="2020-12-19T13:25:08+10:00" level=debug msg="Attmepting to resolve" domain=mrkaran.dev ndots=0
                          time="2020-12-19T13:25:08+10:00" level=error msg="error looking up DNS records" error="dns: domain must be fully qualified"
                          
                          1. 3

                            Oops. I realised the issue. My bad. Will fix it soon.

                            P.S. Fixed it with https://github.com/mr-karan/doggo/commit/8d1b6ad9fa205675b86818f0affccd28d2256686.

                            You can try v0.1.1 now :)

                            1. 1

                              🤌 perfecto!

                              PS C:\Users\zach> doggo -q mrkaran.dev -t MX -n 1.1.1.1
                              NAME            TYPE    CLASS   TTL     ADDRESS                         NAMESERVER
                              mrkaran.dev.    MX      IN      291s    10                              1.1.1.1:53
                                                                      in1-smtp.messagingengine.com.
                              mrkaran.dev.    MX      IN      291s    20                              1.1.1.1:53
                                                                      in2-smtp.messagingengine.com.
                              
                          1. 4

                            The optional -- stops option parsing i.e. allowing arguments to start with -, in the usage this should come after options and before arguments.

                            1. 2

                              Sorry. I didn’t quite grasp that. You mean in the help text?

                              1. 2

                                Yes in the help screenshot: https://github.com/mr-karan/doggo/blob/main/www/static/help.png

                                doggo [query options] [--] [arguments...] would be more correct, the other types of arguments are also not listed.

                            1. 8

                              Looks great!

                              It’s totally inspired from dog which is written in Rust. I wanted to add some features to it but since I don’t know Rust, I found it as a nice oppurtunity to experiment with writing a DNS Client from scratch in Go myself.

                              On the other hand, I know Rust. What are missing features you added? Sounds like a nice opportunity for me to exercise my Rust!

                              1. 5
                                • I work with K8s a lot and for me “ndots” and “search lists” are two parameters that I play around with a lot when debugging issues. I’ve to resort to dig or nslookup for it but that’s something dog can support :)

                                • Few minor things like only sending IPv4 traffic. Or showing which nameserver was used. (Although there’s an issue opened on dog, for the same last I checked).

                                • Even my tool doesn’t support DNSSec right now, but it’d be great to add that in dog as well. I’m planning to work on it for doggo as the primary feature for the next release.

                                1. 5

                                  You successfully dared me to implement search list for dog. Let’s see how it goes.

                              1. 8

                                Was excited about the project and then saw this. When are we going to stop abusing the name open source? If it’s not an OSI approved license, it’s not OSS in its true essence. /end-rant.

                                1. 6

                                  I agree that it was misleading of the original poster to mention “open source” in their post while not mentioning that Meli’s license is the Business Source License, which is not an open source license (as the license itself proclaims).

                                  However, I don’t think “OSI-approved” is the ideal criterion for open source software. To give a counter-example, I think that the non-OSI-approved Blue Oak Model License is as much open source “in its true essence” as the OSI-approved MIT License is. For more examples of “OSI-approved” falling short as a standard, see the blog post Don’t Rely on OSI Approval, written by one of the lawyers who wrote the Blue Oak Model License.

                                  1. 2

                                    While I agree with you that OSI-Approved isn’t a “standard” or a definitive list, however I am yet to see a legal precedent of Blue Oak Model License or similar licenses standing in courts.

                                  2. 6

                                    I don’t think the abuse is using an unapproved license. The abuse is that the license doesn’t meet the criteria for open source distribution. Approval is useful for other reasons but not necessary to meet the definition.

                                    I don’t think this license is bad. It certainly won’t stop me from considering usage of this tool.

                                    But IMO they should choose a different term (“source available”? “shared source”? “will be open source 4 years from now”?) to use when promoting the project.

                                    Calling it “Open Source” makes people believe distribution meets the OSD conditions and this says very plainly in the license text that it doesn’t:

                                    The Business Source License (this document, or the “License”) is not an Open Source license.

                                    So it’s easy to understand your disappointment after seeing it promoted as Open Source.

                                  1. 6

                                    I’m curious how does dockershim being removed from K8s leads to a conclusion that Docker Inc as a company is dying? As explained by many, Kubernetes team took that step to remove the bloat which was created by Docker in the codebase. But do you think people will go back to stop using docker CLI altogether and write 10 lines of bash script to spin up a new container, network etc? docker run is a UX layer on those containerd commands and I don’t see why people will stop using it just because K8s decided to remove the “dockershim” module. And how any of this has an affect on Docker Inc, that I’m still unable to understand AFAIK docker the CLI is open source and obv doesn’t generate any revenues for Docker Inc (which is what matters when we are talking about a company!)

                                    1. 5

                                      I think the reason that it points that direction is that there are multiple k8s providers and installers that default to the docker runtime (digitalocean managed k8s uses docker as the runtime, and kubespray defaults to it as well but also supports CRI-O). With dockershim going away where else will docker be used other than developers’ desktops?

                                      Personally I bit the bullet was basically forced to switch to podman/buildah due to docker straight up not supporting Fedora 32+ due to the kernel change to cgroups v2. Docker Desktop for Mac/Windows is a nice product for running containers on those OS’ but my guess is that is the only place it will stay relevant. It’s easy enough to have a docker-compatible cli aliased to docker that doesn’t require the daemon on linux etc.

                                      Also, with their attempts at monetizing DockerHub it kind of paints a “failing” aura over the company. If they can’t make money off of DockerHub how can they monetize a daemon that runs containers when there are many other equivalent solutions?

                                      1. 1

                                        multiple k8s providers and installers that default to the docker runtime (digitalocean managed k8s uses docker as the runtime, and kubespray defaults to it as well but also supports CRI-O). With dockershim going away where else will docker be used other than developers’ desktops?

                                        SImilarly microk8s, k3s are using containerd since forever.

                                        With dockershim going away where else will docker be used other than developers’ desktops?

                                        Yep, exactly. It will be used by end developers just the way it is right now. I understand there are more lightweight alternatives for building images (esp something which doesn’t require you to run a local daemon) that are more lucrative. But not everyone runs K8s and I think there’s a large market out there for people running standard installations of their software just with docker/docker-compose :)

                                        1. 2

                                          I think there’s a large market out there for people running standard installations of their software just with docker/docker-compose

                                          This is extremely true. I have many friends/colleagues who use docker-compose every day and there is no replacement for it yet without running some monster of a container orchestration system (compared to compose at least).

                                          I guess my main worry is that docker is a company based on products which they are having an extremely hard time monetizing (especially after they spun off their Docker EE division). I don’t see much of a future for Docker (the company) even if loads of developers use it on their desktops.

                                          1. 2

                                            docker compose was based on an acquihire of the folks that made fig.sh, then very little ever happened feature-wise. Super useful tool and if they’d been able to make it seamless with deployment (which is very hard it seems) the store might’ve been different.

                                          1. 1

                                            Yep, I appreciate that they finally made it available for Fedora 32 (after having to tweak kernel args), but many of us already switched to alternatives.

                                            They still don’t ship repos for Fedora 33 (the current release). After checking the GitHub issue related to supporting Fedora 33 it appears the repo is now live, even though it only contains containerd.

                                      1. 10

                                        For static website you can just S3 + cloudfront without needing a compute service. Probably a lot cheaper also

                                        1. 3

                                          Less effort and cheaper. Unless a Rube Goldberg award is your goal. ;)

                                          1. 3

                                            Well, learning is fun, but this tip reminds me that I should get my tech blog up running again. Using S3 & Cloudfront, probably.

                                            1. 3

                                              That’s the great thing about static websites: there are so many possible options for building and hosting them.

                                              On the subject of containers, I was pleasantly surprised by Netlify’s approach. It will happily spawn containers for you and let you run any custom script in them. The only fixed part is a TOML file where you tell it what to run and what directory to deploy. How the rest of the build process works is up to you.

                                              [build]
                                                publish = "build/"
                                                command = "./netlify.sh"
                                              

                                              The only annoying part is that it only offers a Ubuntu 16 image.

                                            2. 2

                                              Or GitHub Pages/Netlify. Completely free.

                                              1. 2

                                                True. Both github and gitlab pages are free options that you can just slap a domain on top.

                                                1. 1

                                                  And using existing workflows like peaceiris/actions-gh-pages makes that even easier.

                                                  This is what I do for my own website, which is built off this template repository. Click the green button “Use this template”, and you got a static site up and running within a minute.

                                                2. 2

                                                  You probably need Route53 as well.

                                                  The monthly cost of one of my low traffic webpages is:

                                                  • Domain name: 1,26$
                                                  • AWS Route53: 0.5€
                                                  • AWS S3: 0.01$
                                                  • AWS Cloudfront: 0.01$

                                                  Sum: 1,78$. Most of it is domain costs.

                                                  I didn’t do much posting this year, so not much S3/Cloudfront costs arose. When I was posting more often, and had to invalidate cache multiple times because corrections/multiple publications in a spree/testing robots processing RSS feed, then sometimes the combined S3+Cloudfront cost reached over 0.1$!

                                                  Also this setup scales basically infinitely (but then costs also rise), won’t be slashdotted, unlike nginx running on a potato tier VM.

                                                  1. 1

                                                    If you’d like to row against Big *aaS but prefer the pricing model, I’ve been pretty happy with hosting many of my simple (static and dynamic) sites at nearlyfreespeech.net (for over a decade now, I guess!)

                                                    (Not being a purist, here; I use Big *aaS in my personal infra where it makes sense.)

                                                  1. 4

                                                    I disabled all notifications on my phone pretty recently (~1 month) and that too after watching Social Dilemma but I’m glad I did. I’ve opened my phone less often, I’m less anxious and I feel better in control of my daily life. I never thought it would have such an impact but I guess you need to try it for yourself.

                                                    1. 4

                                                      You make a really good case about why Hugo is failing it’s users here, but I’m concerned that you may one day be saying the same about Zola. One thing that comes to mind is missing features. For example, you might decide that you want to be able to add footnotes, but CommonMark doesn’t have that functionality. Because Zola has no extensibility, you’re SOL as far as I can tell. I also have a suspicion that people might start to use themes as a way to emulate plugins. Something like the difficulty of adding graph tags that you talked about could maybe be solved like that. But then it’s getting into the danger zone of finding documentation in multiple places and having to magically override things again. I think that KayodeLycaon was spot on in pointing out that everyone wants something slightly different. I hope Zola works out for you :)

                                                      1. 3

                                                        Yep, the concerns are valid. I don’t have a really good reply to that, but I hope this works out. Ultimately if this required another refactor then I’ll bite the bullet to make my own SSG. Not thinking too much about that situation now, though :)

                                                        1. 3

                                                          I also have a suspicion that people might start to use themes as a way to emulate plugins.

                                                          You said something I had trouble articulating for a long time. The problem with a Turing-complete template processor as a sole extensibility mechanism is that presentation and logic are no longer orthogonal.

                                                          That is why I chose not to use either Zola or Hugo for a refresh of my own site setup, but went for writing an SSG that is statically linked but extensible with Lua plugins via an embedded interpreter. </shamelessPlug> ;)

                                                          Nothing against Zola or its users though, it’s a good project.

                                                          1. 2

                                                            Just as a small note, Zola totally does footnotes. I think there might be a page that lists which extensions pulldown-cmark enables out of the box. But your main point stands with or without this example :)

                                                            1. 1

                                                              As a Zola user who used several other solutions before, I’m 100% sure I’ll get tired of it. I already had to hack around limitations (or my lack of knowledge) while my blog is super simple. But it’s all about gaining some time.

                                                              I know that at some point I’ll have to do the switch to either another existing system or to one I’ll make. But I don’t spend time on that now and having a blog whose content is only in markdown and related images will make it easy if I decide to keep the content.

                                                              Zola is temporary but it’s easy to set up, and should be easy enough to replace when time has come.

                                                            1. 16

                                                              There are a lot of static site generators. There’s a lot of bike-shedding around them because everyone has different needs. Wanting it to be “easy” or “simple” is at odds with having flexibility to handle things other than your favorite workflow. Ultimately, you’re just looking to find a framework that saves you time and energy.

                                                              I personally went in the complete opposite direction. I used to use a static site generator for a number of years but I don’t post all that often. Every time I’ve wanted to post something, I’d have to relearn the tool, and pray nothing broke since the last time I used it.

                                                              As a result, once it broke, I didn’t post anything for four years.

                                                              When I started writing fiction as a hobby, I tossed my old, dead website and made a new one. I’d made a few websites on Wordpress.com for friends by that point.

                                                              So I ended up hosting Wordpress by myself and heavily modified one of the official themes. It doesn’t give me quite as much control but the plugins allowed me to build a website with far more functionality and in less time than doing the code myself.

                                                              Writing and posting new articles is so much easier using rich text. I generally type up my post in Apple Notes first. Copying and posting to Wordpress saves most of the formatting. Inserting images is drag and drop.

                                                              As far as security, my website has one api key to send mail. Everything else is isolated to the server it runs on. I put as much of the admin pages behind basic auth as I could. The login page is inaccessible without knowing those credentials. It’s not perfect but I have a defense in depth to mitigate damage. If it gets hacked, nothing of value is lost. I have complete, incremental backups of everything (configs, webroot, database) that’s pulled down via cron job every night.

                                                              I say all this because… everyone ultimately looks for a tool that works for them. My goal is to write posts, not fiddle endlessly. Other people love the fiddling.

                                                              If you’re looking to build and maintain a website, think about what’s important to you. What’s your skill set, interests, preferred workflow, and goals?

                                                              For me, Wordpress fits. For a lot of programmers, they have very legitimate reasons to be horrified I used it. :)

                                                              1. 9

                                                                Every time I’ve wanted to post something, I’d have to relearn the tool, and pray nothing broke since the last time I used it.

                                                                As a result, once it broke, I didn’t post anything for four years.

                                                                I’m in the same situation with Hugo. It seems like every time I go to rebuild the site, something has broken. Given Hugo’s vast complexity, it is actually rather difficult and a huge time sink to figure out how to actually fix it.

                                                                But my plan, assuming I ever summon the motivation, is to just write my own static site generator. I’ll publish the code for it, but it won’t be something I intend to share or maintain for others. It will be narrowly scoped for my specific use cases alone. I think with a narrow scope, it has the potential to be very simple and easy to maintain going forward.

                                                                1. 3

                                                                  That sounds very familiar. After not updating my hugo binary for years in fear of breaking something, then doing it, thereby discovering I seem to use 0.7% of the features I rewrote only the parts I needed to reproduce my site. Turns out, 333 lines of code was enough - I never went live with my rewrite, but I haven’t posted a ton since.

                                                                  1. 3

                                                                    Oh interesting! I didn’t think of keeping most of the structure the same as what Hugo expects and then just writing a different tool to handle the things I need. I’ll probably just re-think it from first principles though, since I think I can get things to be a bit simpler. But I’ll probably need more than a few hundred lines. One of the things I do with my blog is ensure that all my code snippets compile without duplication. That’s been a pain to do with Hugo, so I’ll likely devise a better answer to that problem through coupling.

                                                                    1. 2

                                                                      Ah, yeah. I think I don’t even have any of the fancy oEmbed things I used to have in former iterations and I don’t do code snippets - except formatting them with <code> or <pre> :)

                                                                    2. 2

                                                                      My personal blog’s SSG is now a 63-lines bash 5 script, no argument, no config, and a pretty direct usage.

                                                                      Handles everything I want (RSS, categories, markdown, medias, templating with “smart tags” (ie custom tags)

                                                                      1. 1

                                                                        I’d be curious to see what this looks like if you wouldn’t mind sharing.

                                                                  2. 9

                                                                    I made a comic recently which may be relevant to what you said: https://rakhim.org/honestly-undefined/19/

                                                                    1. 2

                                                                      LOL this gave me a good laugh

                                                                    2. 4

                                                                      I coincidentally started using Zola myself just last week, and having a backlog and knowing I could have this exact relearn-the-tool-in-X-years problem, I created a little script that puts a skeleton file in the right place, opens it in a text editor, and then runs zola build. It took a couple of minutes to write, and it doubles as a tutorial for my future self. I suppose this reinforces your point: what are my goals and skills? Wordpress certainly isn’t either for me, but I wouldn’t recommend my own workflow to someone who just wants a blog.

                                                                      1. 4

                                                                        Articulate. Well, I 100% agree with you that no tool can satisfy every users. That’s exactly the reason why we have so many choices. However I’m of the opinion that so many choices is quite a nice thing as different people can find their version of perfect tool.

                                                                        Regarding WordPress, I like to write in markdown. I was able to port my old blog to a new one quite easily because they were all a bunch of markdown posts. Although yes WP is so popular that you’ll get exporters/importers for almost every mainstream choice, I still prefer to have these markdown posts committed to a .git repository.

                                                                        And the reason I ported to a simpler tool is because I wanted to fiddle less and focus more on writing. I consider this as a one time investment, but let’s see how it goes. :)

                                                                        1. 3

                                                                          Absolutely!

                                                                          I love the idea of markdown and use it frequently for documentation, but my brain can’t grasp the mismatch between presentation and formatting in real-time, which means I can’t do creative work in it. :)

                                                                          1. 1

                                                                            There are markdown editors, including one I use for Android, which bridge that gap for you. Just on case you wanted to know

                                                                            1. 2

                                                                              Of course. Then I have to figure out how to manage markdown files and so on. :)

                                                                              As I’ve said elsewhere, it’s really easy to solve one issue. Solving the majority of them is difficult.

                                                                        2. 6

                                                                          Hmm. This should be a post on my blog. scribbles notes

                                                                          Also, being able to post and edit articles on my phone or iPad using the official Wordpress app is one of the big selling points for me. By using Wordpress, I get offline editing on any device for free.

                                                                          1. 2

                                                                            Interesting! I love writing posts in markdown so there’s a difference, but you might find this approach interesting:

                                                                            I switched to Zola a while back, and set up CI to automatically publish new site versions with a static Zola binary. When I want to add something, I only edit markdown files. I just push these new changes in a git repository, and it automagically appears online. It takes very low effort to edit and update the website (given you’re used to using git and markdown). You don’t install Zola locally and can do this from anywhere in the world.

                                                                            It seems impossible to break Zola with just adding markdown files. The only real thing that can break here, is the server I’m hosting these static files on. The whole setup is actually super simple, if things ever go haywire it’s simple to debug or I just revert.

                                                                            Not trying to make you switch. Just thought you might find it interesting, as I assume this has minimum breakage, which you were having problems with.

                                                                            1. 3

                                                                              Someone always mentions markdown and tries to solve one of the problems I mentioned. :)

                                                                              There’s a long, long list of features I use and all of them reduce the immediate friction of writing or making changes. (The worst offender is using plain text with a markup language.) This is absolutely critical to my creative process. Everything else is secondary.

                                                                            2. 2

                                                                              I already write my drafts in Notion as it is just restrictive enough to keep me focused, but flexible enough to embed any kind of media. That is why I’d probably lean towards something like https://super.so/ tor OSS alternative to make it a one-click thing.

                                                                              1. 1

                                                                                Not entirely sure what you’re getting at. Wordpress is open source under the GPLv2 license.

                                                                            1. 9

                                                                              Porting my Hugo blog to Zola. Hugo has become a mess to deal with but that warrants a separate detailed post of why I’m doing this migration.

                                                                              1. 1

                                                                                I’d be interested to read that post. I recently updated my tiny neglected Hugo site and concluded that I was pretty happy with how it’d held up over the years. Then again, it’s hard to imagine a simpler site than mine :-)

                                                                                  1. 1

                                                                                    Nice! Thanks for writing that up and for remembering my interest 🙂. I guess I just got lucky? I made my own very simple theme years ago, and haven’t been badly bitten by Hugo’s upgrades.

                                                                                    Definitely agree that their docs leave something to be desired though… when all you want is a simple homepage and some chronological posts you don’t really need 80% of Hugo’s docs and they don’t do a good job of making the 20% you do want clear.

                                                                                    Does Zola handle deploying to S3 and CloudFront?

                                                                                    1. 1

                                                                                      Yep, I’d read your post and definitely think you got lucky there :) My experience with upgrades has been quite contrasting to yours.

                                                                                      Anyway, I don’t see docs for deploying on S3/Cloudfront here but the process should be similar to Hugo. It just generated a bunch of static assets.

                                                                                1. 1

                                                                                  I did the same thing about a year ago. So far it has definitely been worth it, Zola is pretty awesome.