A small workflow problem I'm facing

I have a lot of fun writing posts for this blog, how things are setup also contributes a lot for this. Right now, there’s a single Org file holding all of its content. It is extremely easy to cite older posts, navigate through the text and write a new piece.

However, I’m currently facing a problem regarding Git and unfinished articles. See, sometimes I take a bit of time to finish writing a more elaborate post1 and the problem is that by the time I make it a work in progress, I have this hanging piece of text on my file that only introduces conflicts on Git.

The workflow goes like this:

  1. I start writing a piece and think it will take more time than expected
  2. I mark it as TODO and commit with a wip: <article-slug> commit message
  3. When I want to get back to write it, I rebase to that commit, edit the rest of the text and continue the rebase
  4. Now I have to fix the conflict with the newer articles

I don’t know how to fix this, and it’s starting to cause me trouble as the number of incomplete articles can’t be too big, otherwise I’ll have a rebase nightmare.

For the time being, I’m using my Org Agenda setup and a sketch book and it has been working fine. I start writing the articles there and once they are done, I paste them on the blog:

 Future Ideas
  todo:       IDEA article: Suckless-like NixOS NAS with Secret management and Backups              :nix:linux:shell:personal:
  todo:       IDEA article: Restricting users to SFTP on NixOS                                      :personal:nix:linux:
  todo:       IDEA article: Why won't people use Matrix?                                            :personal:
  todo:       IDEA article: Streaming videos (or any file) with Giraffe in F#                       :fsharp:dotnet:
  todo:       IDEA article: fscheck discoveries                                                     :personal:

Maybe I’m just over-complicating things for myself with no real benefit… maybe not. Let’s see how it goes!

  1. Absolutely nothing related to procrastination! ↩︎

Articles from blogs I follow around the net

The four tenets of SOA revisited

Twenty years after. In the January 2004 issue of MSDN Magazine you can find an article by Don Box titled A Guide to Developing and Running Connected Systems with Indigo. Buried within the (now dated) discussion of the technology…

via ploeh blog March 4, 2024

Building a demo of the Bleichenbacher RSA attack in Rust

Recently while reading Real-World Cryptography, I got nerd sniped1 by the mention of Bleichenbacher's attack on RSA. This is cool, how does it work? I had to understand, and to understand something, I usually have to build it. Well, friends, that is what…

via ntietz.com blog March 4, 2024

How to unbreak Dolphin on SteamOS after the QT6 update

A recent update to Dolphin made it switch to QT6. This makes it crash with this error or something like it: dolphin-emu: symbol lookup error: dolphin-emu: undefined symbol: _Zls6QDebugRK11QDockWidget, version Qt_6 This is fix…

via Xe Iaso's blog March 3, 2024

Generated by openring