<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: kaushalmodi</title><link>https://news.ycombinator.com/user?id=kaushalmodi</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 28 Sep 2026 13:07:55 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=kaushalmodi" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by kaushalmodi in "Show HN: Reader mode extension that shows Hacker News comments inline"]]></title><description><![CDATA[
<p>Thank you for developing this extension! This makes the pages definitely much more better looking and readable than the Firefox built-in Reader View.</p>
]]></description><pubDate>Thu, 09 Jun 2022 02:30:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=31677007</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=31677007</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31677007</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Blogging with Org-mode for lazy people"]]></title><description><![CDATA[
<p>I kind of agree with that ;)<p>Nothing beats the speed of Hugo and content creation in Org mode.</p>
]]></description><pubDate>Mon, 06 Jun 2022 00:54:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=31636317</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=31636317</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31636317</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Advanced techniques for reducing Emacs startup time"]]></title><description><![CDATA[
<p>This post felt like a deja vu, because I had read this earlier back in Nov 2017 :). The HN mods should add the 2017 year to the title. That said, for people who haven't read this post earlier, this post shares some great tips! I like the one about deferring packages using `use-package`.<p>Because this is an old post, references like Spacemacs are now quite dated. Folks prefer Doom Emacs nowadays (though I don't use either of them).</p>
]]></description><pubDate>Mon, 16 May 2022 12:32:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=31396178</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=31396178</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31396178</guid></item><item><title><![CDATA[New comment by kaushalmodi in "My Org Roam Notes Workflow (2021)"]]></title><description><![CDATA[
<p>You can customize the bindings in logseq. I've customized mine[1] to bring them as close as possible to default Emacs and Org mode bindings.<p>[1]: <a href="https://github.com/kaushalmodi/dotfiles/blob/master/logseq/logseq/config.edn" rel="nofollow">https://github.com/kaushalmodi/dotfiles/blob/master/logseq/l...</a></p>
]]></description><pubDate>Sun, 10 Apr 2022 19:53:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=30981037</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30981037</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30981037</guid></item><item><title><![CDATA[New comment by kaushalmodi in "My Org Roam Notes Workflow (2021)"]]></title><description><![CDATA[
<p>> a lot of hacks to get exporting to ox-hugo to work<p>Hello! Please feel free to start a discussion on <a href="https://github.com/kaushalmodi/ox-hugo/discussions" rel="nofollow">https://github.com/kaushalmodi/ox-hugo/discussions</a> listing the things you need to tweak in ox-hugo to make it work with Org Roam.<p>In the past 3 months or so, I have been adding test Org files received from Org Roam users and they seem to be exporting alright.<p>Tests: <a href="https://github.com/kaushalmodi/ox-hugo/tree/main/test/site/content-org/org-roam" rel="nofollow">https://github.com/kaushalmodi/ox-hugo/tree/main/test/site/c...</a><p>I'd welcome more tests there :)<p>> and improve performance [your config link]<p>From your config, I see this[1] overriding `org-hugo-link--headline-anchor-maybe`.
I am following a general Emacs Lisp convention of naming internal-use functions and variables with `--` in the names. Unfortunately, that advice won't do anything with the latest ox-hugo as I replaced that particular internal function with something else in past few months as I was improving the anchoring scheme to support an Org Roam user with linking headings based on UUID.<p>At that point I had added this documentation on Anchors[2] in ox-hugo manual. If you set `org-hugo-anchor-functions` to nil, or add a dummy function to it that just returns "", it would do the same thing as you are doing in your advice right now (not tested).<p>*Note that will basically break the ability to refer to other sub headings by UUID, CUSTOM_ID or any other mechanism.*<p>---<p>I'd welcome contributions to ox-hugo code, documentation so that it can help other Org Roam users too. Even if it doesn't make it into the repo, having a discussion related to ox-hugo + Org Roam issues/tips+tricks in the ox-hugo Discussions forum will be useful to others.<p>Thanks!<p>---<p>[1]: <a href="https://github.com/alexkehayias/emacs.d/blob/3b546048cc60976f231848980ddd9d7eea0de6ce/init.el#L1058-L1061" rel="nofollow">https://github.com/alexkehayias/emacs.d/blob/3b546048cc60976...</a><p>[2]: <a href="https://ox-hugo.scripter.co/doc/anchors/" rel="nofollow">https://ox-hugo.scripter.co/doc/anchors/</a></p>
]]></description><pubDate>Sun, 10 Apr 2022 19:17:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=30980666</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30980666</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30980666</guid></item><item><title><![CDATA[Binding Nim to C++ std:list]]></title><description><![CDATA[
<p>Article URL: <a href="https://scripter.co/binding-nim-to-c-plus-plus-std-list/">https://scripter.co/binding-nim-to-c-plus-plus-std-list/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=30721526">https://news.ycombinator.com/item?id=30721526</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 18 Mar 2022 12:51:06 +0000</pubDate><link>https://scripter.co/binding-nim-to-c-plus-plus-std-list/</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30721526</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30721526</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Obscure HTML Tags"]]></title><description><![CDATA[
<p>To me at least, mark, details/summary and description lists are not obscure!<p>While I don't code in HTML directly, I write the mark-up in Org mode that exports to those.<p>- My recent blog post where I used mark few times (I have set the mark highlight to be brownish to match my site theme) and also the description lists: <a href="https://scripter.co/hugo-modules-getting-started/" rel="nofollow">https://scripter.co/hugo-modules-getting-started/</a><p>- In some other posts, I use details/summary to collapse large code blocks.</p>
]]></description><pubDate>Sat, 26 Feb 2022 00:06:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=30473955</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30473955</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30473955</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Learn Awk with Emacs (2020)"]]></title><description><![CDATA[
<p>No, having the related executable in the PATH before you start emacs is enough.<p>Then you need to install the Org Babel packages that don't ship with Emacs or Org mode e.g. ob-tcl, ob-nim.</p>
]]></description><pubDate>Sun, 20 Feb 2022 21:54:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=30409624</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30409624</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30409624</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Vijayanagara – The Last Emperors of South India [audio]"]]></title><description><![CDATA[
<p>Thanks! I've subscribed to this on Pocket Casts: <a href="https://pca.st/2Kjz" rel="nofollow">https://pca.st/2Kjz</a>.</p>
]]></description><pubDate>Sun, 20 Feb 2022 03:46:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=30403030</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30403030</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30403030</guid></item><item><title><![CDATA[New comment by kaushalmodi in "How to set up a blog with Hugo and Cloudflare, and why you should"]]></title><description><![CDATA[
<p>Hello, ox-hugo author here. Hugo has the best support of Org Mode as a markup. But Org mode is more than a markup. I ended up facing some limitations with the original Org mode parser used by Hugo and so I developed this exporter.  Since then the Org parser used by Hugo got replaced by an even better exporter, but still the points mentioned here apply: <a href="https://ox-hugo.scripter.co/doc/why-ox-hugo/" rel="nofollow">https://ox-hugo.scripter.co/doc/why-ox-hugo/</a><p>The biggest ones are being able to organize all my posts as subtrees in a single Org file and leverage the Org mode's inbuilt"meta data" inheritance.</p>
]]></description><pubDate>Sat, 19 Feb 2022 15:37:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=30397862</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30397862</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30397862</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Learn Awk with Emacs (2020)"]]></title><description><![CDATA[
<p>Emacs Org Babel is amazing! I also was practicing awk examples from The AWK Programming Book few years back in a similar fashion: <a href="https://scripter.co/notes/awk/" rel="nofollow">https://scripter.co/notes/awk/</a>.<p>And it's not just awk, there are Org Babel packages available for virtually all the languages!<p>- Nim (these are my most comprehensive set of notes): <a href="https://scripter.co/notes/nim/" rel="nofollow">https://scripter.co/notes/nim/</a><p>- Tcl: <a href="https://scripter.co/notes/tcl/" rel="nofollow">https://scripter.co/notes/tcl/</a><p>- String formatting in Nim and Python: <a href="https://scripter.co/notes/string-fns-nim-vs-python/" rel="nofollow">https://scripter.co/notes/string-fns-nim-vs-python/</a><p>- PlantUML: <a href="https://scripter.co/notes/plantuml/" rel="nofollow">https://scripter.co/notes/plantuml/</a><p>In all the notes pages above, the result of the code blocks is seen directly in the Emacs buffer when I hit C-c C-c. Then I simply* export all those notes to Markdown and publish them using Hugo.<p>* Tangent: That's one of the main reasons why I went down the path of developing ox-hugo.</p>
]]></description><pubDate>Sat, 19 Feb 2022 15:13:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=30397693</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30397693</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30397693</guid></item><item><title><![CDATA[New comment by kaushalmodi in "How to set up a blog with Hugo and Cloudflare, and why you should"]]></title><description><![CDATA[
<p>No, I'm happy with them. I've been using them for many years.</p>
]]></description><pubDate>Sat, 19 Feb 2022 15:00:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=30397585</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=30397585</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30397585</guid></item><item><title><![CDATA[New comment by kaushalmodi in "NimConf 2021"]]></title><description><![CDATA[
<p>If you begin using tuples with named fields, they will technically be of a different type than anon tuples. To keep it simple, just use anon tuples consistently everywhere.<p>I have some notes on tuples in Nim: <a href="https://scripter.co/notes/nim/#tuples" rel="nofollow">https://scripter.co/notes/nim/#tuples</a></p>
]]></description><pubDate>Thu, 24 Jun 2021 04:23:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=27613969</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=27613969</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27613969</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Nim 2.0 thoughts"]]></title><description><![CDATA[
<p>It's great to see reference to hardware design in this thread.<p>Not hardware, but I have been using Nim for DPI-C interface with SystemVerilog for quite some time. Few weeks back, I started tinkering with Nim macros, and started working on a project to make the VPI interface more approachable.<p>This language is kind of a hidden gem that not many people are aware of in the HDL/HVL space.</p>
]]></description><pubDate>Sun, 16 May 2021 13:07:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=27173451</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=27173451</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27173451</guid></item><item><title><![CDATA[New comment by kaushalmodi in "18-year-old personal website, built with Frontpage and still updated"]]></title><description><![CDATA[
<p>Hugo has a single static binary. So the site will always generate the same way with the same binary.</p>
]]></description><pubDate>Fri, 14 Feb 2020 23:51:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=22331651</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=22331651</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=22331651</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Stage0 – A set of minimal C compiler bootstrap binaries"]]></title><description><![CDATA[
<p>> I like Org mode, but the syntax highlighting support is not great<p>I know. That's why I said "I hope Github improves Org mode support at some point." :)<p>> I have been looking at AsciiDoc<p>If you like Org mode, you can overcome the Github/etc. Org mode rendering limitations by hosting small static sites for your projects. You may choose to do so by simply exporting Org to HTML using ox-html[1], or even exporting Org to markdown for Hugo (disclaimer: my package -> ox-hugo)[2].<p>I mean, if you like using Org mode, and Github et al don't see the value in improving support for that, don't use them to render Org mode docs :)<p>[1]: <a href="https://eless.scripter.co/" rel="nofollow">https://eless.scripter.co/</a><p>[2]: <a href="https://ox-hugo.scripter.co/" rel="nofollow">https://ox-hugo.scripter.co/</a></p>
]]></description><pubDate>Tue, 25 Jun 2019 12:08:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=20273375</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=20273375</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20273375</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Stage0 – A set of minimal C compiler bootstrap binaries"]]></title><description><![CDATA[
<p>So cool to see Org mode READMEs in projects unrelated to Emacs!<p>I hope Github improves Org mode support at some point.</p>
]]></description><pubDate>Mon, 24 Jun 2019 21:12:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=20268532</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=20268532</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20268532</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Nim 0.20.0 (1.0 RC1) released"]]></title><description><![CDATA[
<p>> no support, no community, no libraries<p>That's grossly incorrect about Nim. I'm a C/C++ noob and I've found a lot of C/C++/Nim/CS experts answering my questions and helping me out on Nim IRC/Gitter/Nim Forums.<p>Recent (as recent as few hours ago) proof: <a href="https://forum.nim-lang.org/t/4912" rel="nofollow">https://forum.nim-lang.org/t/4912</a></p>
]]></description><pubDate>Fri, 07 Jun 2019 12:36:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=20123901</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=20123901</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20123901</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Choosing a Language for Bioinformatics"]]></title><description><![CDATA[
<p>Cool write up! I am a huge fan of Nim. I use it as a replacement for small scripts, big scripts, and even real code at work, to interface with other languages that interface with C too.<p>I see in your post that you are about to look into Nim/C interop; have a look at nimterop[1]. It has been immensely useful to me for wrapping Nim libraries around C code exported from Matlab and to talk with C API for SystemVerilog.<p>Finally, you blog post shows a snippet of Python code, but also show to the world how the Nim code looks [I know that you are sharing the link to the git repo containing the Nim code, but still] :)<p>[1]: <a href="https://github.com/nimterop/nimterop" rel="nofollow">https://github.com/nimterop/nimterop</a></p>
]]></description><pubDate>Mon, 06 May 2019 02:26:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=19836384</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=19836384</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19836384</guid></item><item><title><![CDATA[New comment by kaushalmodi in "Org-Mode Is One of the Most Reasonable Markup Languages to Use for Text (2018)"]]></title><description><![CDATA[
<p>BeetleB already mentioned ox-hugo above. I happened to stumble across this thread (because Org mode!) and I am also the ox-hugo author.<p>I started working on ox-hugo exactly to have an Org export solution that exports the content + meta-data. If you look at the screenshots on the ox-hugo homepage (linked in BeetleB's comment), you'll see what I mean.<p>Ask me anything about it.</p>
]]></description><pubDate>Tue, 16 Apr 2019 00:05:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=19669961</link><dc:creator>kaushalmodi</dc:creator><comments>https://news.ycombinator.com/item?id=19669961</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=19669961</guid></item></channel></rss>