@kungtotte Seeing your toot on roguelike.. I got curious to see what it is and landed up on your other Nim repo https://git.sr.ht/~kungtotte/dtt/ through your Mastodon profile.
A static site generator in Nim? Cool! :)
I quickly looking through that repo to look for the use of Nim Source Code Filters ( https://nim-lang.github.io/Nim/filters ), but I didn't find that.
Have you tried using those by any chance? They are pretty awesome!
I want to spend time on #emacs #orgmode again in 2020.
Will you help me secure free time by donating through https://liberapay.com/bzg or https://github.com/sponsors/bzg or https://paypal.me/bzg ?
Don't be afraid to give too much, it won't probably compensate for the hours spent !
🙃 🙏
atan() did not do what I wanted. So I derived "something" using atan() that actually did what I wanted.
.. and later I realize that that "something" is called atan2() in math libraries. :facepalm:
@kaushalmodi you might want to join the leaderboard
I'm doing Advent of Code for the very first time this year. The programming problems are addictive!
My language of choice in #NimLang.
I am posting my solutions so far on my repo: https://github.com/kaushalmodi/aoc2019
(obviously, they are have spoilers)
@sir Hello, is it possible to have just read access to a user/repo's commits via the API?
I am looking for something similar to:
curl "https://api.github.com/repos/USER/REPO/commits?sha=master"
for git.sr.ht.
I just released #emacs #orgmode 9.3. This is a new version with new features and some incompatible changes: please read the Changelog carefully: https://orgmode.org/Changes.html
As usual, thanks to the amazingly sustainable community!
Wrote a little utility in Nim to search and play YouTube videos directly from the command line.
https://gitlab.com/njoseph/cli-tube
This is partly due to my dissatisfaction with the ytview script from the Bash-Snippets package.
ytview.sh - 210 LoC
clitube.nim - 44 LoC
Size of release binary: 637 KB (amd64)
Used only the standard library, no dependencies.
I might prefer Nim to Bash/Python for small portable utilities in the near future.
Even with that setting in config.toml, if you see ox-hugo exporting Markdown that doesn't work the same way as before Hugo v0.60 (or even if it doesn't work as expected on any Hugo version), don't hesitate to open an issue on https://github.com/kaushalmodi/ox-hugo
.. even if you think that it's probably not a bug. It's OK to open a issue just to clarify some doubts.
[2/2]
Ox-hugo users::
I did some very brief testing of ox-hugo with the latest Hugo v0.60.1 (which uses the Commonmark parser Goldmark instead of the old and unmaintained Black Friday), and it seems like everything Just Works (TM) as before you if add this to your site's config.toml:
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
See https://gohugo.io/news/0.60.0-relnotes/ for details.
Please boost this!
People who call #emacs a "text editor" are totally missing the point - it does SO much more than just edit text. For example:
1. Emacs has a builtin notetaking system called org-mode.
2. Org-mode has a builtin spreadsheet system.
3. This spreadsheet system has a builtin formula debugger.
That's how deep it goes. There's so much useful and awesome functionality to discover in Emacs. I've used it for 25 years now, and I still learn new stuff about it every week.
today I discovered today that in order to get an "about page" to look like a post, I need to tell hugo to use the layout=single property. but ox-hugo "ran it over" each time I made changes.
So, wanted to submit an issue, found someone else with a smilar issue (where it was type) and tried to use
":EXPORT_HUGO_LAYOUT: single"
and it worked! *makes a little dance*
Do all hugo page properties (front matter?) translate through ox-hugo like this?
A blog post I found in wild, about blogging in #orgMode using #Jekyll: http://www.pwills.com/post/2019/09/24/blogging-in-org.html
What's interesting is that the author seems to be motivated to write an Org Mode to Markdown exporter for Jekyll just as I was for #Hugo.. and as I read through it, he mentions that bits and pieces he borrowed from #oxHugo for his exporter.
#feelsNice :)