Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaushalmodi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
kaushalmodi
8y ago
I have developed an Emacs/Org Mode package that can export subtrees or whole files to Markdown files. The front-matter stuff like title, author, tags, categories, dates gets auto-derived. These Markdown files are Hugo compatible. See
32.
▲
by
kaushalmodi
8y ago
http://www.timqian.com/star-history/#gohugoio/hugo&jekyll/je... Hugo vs Jekyll: Interpolation is in the favor of Hugo :)
33.
▲
by
kaushalmodi
8y ago
I can answer to your comment with respect to Hugo. > - Layout & Routing - Having "special" pages is usually impossible with "structured" SSGs (like Hugo). For example, say you want a page that's your portfoli
34.
▲
by
kaushalmodi
8y ago
> Biggest problem for me is the template engine and its incoherence, followed by poor documentation. What's wrong with the template engine? Also, before you switch to a different SSG, bring up the pain points in the documentation on
35.
▲
by
kaushalmodi
8y ago
There is 0 value. At some point there was some value, but not after the launch of services like Netlify. In my experience, Netlify.com is 1000x better. HTTPS, smooth integration with any SSG (including Hugo), any of the big git repos (GitHu
36.
▲
by
kaushalmodi
8y ago
I am not a web developer. I have been following Hugo development, and I see that a lot of new features are getting added. But if it's something that I don't care about (i18n, SASS support, archetypes update, etc) I just ignore and
37.
▲
by
kaushalmodi
8y ago
> Do you come from a Go background? This is not directed to me but I'd like to chime in and say that one doesn't need to know Go language to write Hugo templates. I appreciate Go Templates even without knowing Go. It's qui
38.
▲
by
kaushalmodi
8y ago
> awful awful Go template engine. I find it hard to understand what's so awful about Go Templates. Can you paste few examples of Go templating that you didn't like?
39.
▲
by
kaushalmodi
8y ago
> tens of hours you will spend debugging its weirdness and magic. That's a very surprising comment, without any detail. Can you elaborate on what you found surprising and magical? > How variables work is impossible to understand.
40.
▲
by
kaushalmodi
8y ago
I don't like incorrect unread counts lying around. I then cannot distinguish between truly unread emails and the emails that I swiped as Done in Inbox, but still left unread in Gmail.
41.
▲
by
kaushalmodi
8y ago
These are really unfortunate news! :( My stress level just went up after opening gmail.com after few years since I switched to Inbox. Being used to just swiping emails that I didn't need to attend, I didn't realize they were still
42.
▲
by
kaushalmodi
8y ago
It sounded like a rhetorical question, and based on the context that you use it for a lot of things, I sensed a bit on excitement there too, and thus the exclamation.. like "Isn't that awesome‽".
43.
▲
by
kaushalmodi
8y ago
I found it confusing too. You were supposed to use interrobangs (‽) instead of "?" :)
44.
▲
by
kaushalmodi
8y ago
@andersju Thanks for making this web site. I have used this site in the past, and it helped me make my Hugo generated static site more secure. Your site is very informative, and easy even for a non-webdev like me to grasp. https:/
45.
▲
by
kaushalmodi
8y ago
I write my posts[0] in Org mode[1], export them to Markdown using ox-hugo[2], publish to HTML using Hugo[3], and deploy the site over HTTPS using Netlify[4]. [0]: https://scripter.co [1]: https://orgmode.org/ [2
46.
▲
by
kaushalmodi
8y ago
Better search and better organization of the document (TOC, index search, etc.). And reading/searching Info manuals is a lot more convenient in Emacs Info-mode.
47.
▲
by
kaushalmodi
8y ago
I've been using a similar library in Nim called cligen[0]. Like Fire, it infers the CLI long form/short form switches from the arguments of the function it is linking to. Follow the repo link for examples. [0]: https://
48.
▲
by
kaushalmodi
8y ago
> imagine keeping code in Emacs's Org mode and being able to compile it. Org mode already does that using Org Babel. I use it to take "code notes" (code blocks with their evaluated/compiled outputs with notes) for Pyt
49.
▲
by
kaushalmodi
8y ago
Iosevka font has an awesome looking Interrobang. See https://be5invis.github.io/Iosevka/specimen.html (scroll down to the U+2030 row; ‽ is U+203d). I think that other fonts should follow that example too. Until then, a
50.
▲
by
kaushalmodi
8y ago
This article is from 2015. So does the posting of this have anything to do with the recent Interrobang episode on the 99% Invisible podcast‽ (99pi is an awesome podcast btw!). After listening to this episode, I even added a binding to the &
51.
▲
by
kaushalmodi
8y ago
If looking for static site (single page or not), Hugo ( https://gohugo.io ) + Netlify.com work great! I was able to easily churn out a single-page "for rent" site using the Hugo Creative theme[0]. [0]: https://
52.
▲
by
kaushalmodi
8y ago
> You are right, but critically it isn't supported by IE 11 This has always bugged me. Why does IE always lag behind in such CSS features? What kind of politics is this? Or is it that Microsoft does not have a big or smart enough br
53.
▲
by
kaushalmodi
8y ago
I think it is this[1], right? I think you should update the Worg: Org Blog Wiki[2] with it if you want more people to discover/use it. I liked the thoroughness of "why I made this project" in its README. [1]: https:/&#x
54.
▲
by
kaushalmodi
8y ago
In the markup languages section, it's missing a lot of Org mode snippets. I'll see if there a way to contribute to that page. It's quite outdated.
55.
▲
by
kaushalmodi
8y ago
> Maybe the other options are better, I don't know. Would definitely be interested in hearing people's personal experiences. If you are open to trying out Hugo, see if my above comment[1] regarding ox-hugo. [1]: https:/&#
56.
▲
by
kaushalmodi
8y ago
I developed the ox-hugo[1] Emacs package, which allows exporting multiple posts (even the website structural pages like Home page, About page, etc.) from a single Org file. So here's the elevator pitch: - ox-hugo is an Emacs package th
57.
▲
by
kaushalmodi
8y ago
Those are awesome news! I'm glad to see "improvement of nimsuggest and LSP development" in the suggestions :D
58.
▲
by
kaushalmodi
8y ago
I wished this update came with gitlab.com-wide project search. But looks like the "improved search" still didn't include that. Github-wide search is great! I wish Gitlab had something like that. That's one of the things
59.
▲
by
kaushalmodi
8y ago
For Emacs users, if you haven't yet checked out, look at the robust and mature Org mode and Org Capture.
60.
▲
by
kaushalmodi
8y ago
Emacs Org mode fits that requirement nicely. Org mode (a plain text format ljke Markdown, but much more than that) files export easily to Markdown, HTML, tex/PDF, and multitude of other formats using Emacs itself or even Pandoc. My sit
More ›