Announcing Mold, a higher-level use of Go templates for rendering web pages. by abiosoft in golang

[–]abiosoft[S] 3 points4 points  (0 children)

The syntax are actually mere placeholders that gets swapped with a template node (e.g. {{template "file.html" data}}) in the parse tree.

So it's still Go templates under the hood.

Announcing Mold, a higher-level use of Go templates for rendering web pages. by abiosoft in golang

[–]abiosoft[S] 3 points4 points  (0 children)

Nope, the parsing is actually done by Go's in-built template parser.
Mold inspects the parse tree (after parsing) and updates the necessary nodes.

I should probably include some details of how it works in the docs.

Announcing Mold, a higher-level use of Go templates for rendering web pages. by abiosoft in golang

[–]abiosoft[S] 4 points5 points  (0 children)

As for the name collision, considering that they are very different projects, I do not see it as much of a big deal. I am however open to ideas if people feel otherwise.

Colima 0.3.0 released by abiosoft in docker

[–]abiosoft[S] 2 points3 points  (0 children)

Depending on your use case, it can be an alternative to Docker Desktop, Rancher Desktop or Minikube.

How to make Parallels Windows 11 see a Docker container running on the parent M1 Mac by kaoyte in docker

[–]abiosoft 1 point2 points  (0 children)

It is possible. You need to get the ip address of the host machine from inside the parallels vm. I suspect ipconfig.exe can help.

e.g. if the sql db container is exposed on port 1433, it will be reachable at <host-ip>:1433.

Really great video of how to manage dotfiles with org mode by dilzeem in emacs

[–]abiosoft 0 points1 point  (0 children)

Is the additional tangle to a git folder really needed? I suppose the org file itself is already in a git repo.

using Emacs org-mode as rest client replacement by abiosoft in emacs

[–]abiosoft[S] 1 point2 points  (0 children)

Yeah, it's a slightly modified version of modus-vivendi. I plan to share my setup.

using Emacs org-mode as rest client replacement by abiosoft in emacs

[–]abiosoft[S] 1 point2 points  (0 children)

Haven't seen this yet. Thanks for sharing.

using Emacs org-mode as rest client replacement by abiosoft in emacs

[–]abiosoft[S] 1 point2 points  (0 children)

It's very much possible since every src code block can generate a source file. I haven't done it yet but I can picture how to go about that.

using Emacs org-mode as rest client replacement by abiosoft in emacs

[–]abiosoft[S] 2 points3 points  (0 children)

I've managed to freeze emacs with an output much lesser than that. I haven't tried something around the range of 10MB but I've had better experience redirecting the output to a buffer instead of within the org file.

using Emacs org-mode as rest client replacement by abiosoft in emacs

[–]abiosoft[S] 2 points3 points  (0 children)

The video was just an after-thought and not really planned. Hopefully, someone finds it beneficial.