Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaushalmodi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
by
kaushalmodi
8y ago
Same here.. tried it twice.. did not end up on the target card. Just clarifying if how I counted was correct.. 5 x x x x 9 Above is a crude illustration.. If I first pick the card with "5", I start counting from 1 from th
92.
▲
by
kaushalmodi
8y ago
Also, on a related suggestion, it could also be nice if layerJS could be modular, so that everyone does not need to download the whole thing if they only need the responsive menus, for example. Of course, I realize that implementing this wo
93.
▲
by
kaushalmodi
8y ago
Thanks for clarifying that. I think it would be useful to mention the size of dependencies a site would need if they want to use layerJS.
94.
▲
by
kaushalmodi
8y ago
I would have loved to try it, but it looks a bit too heavy (.js size, even minified is 30KB+, and looks like jquery is needed too?) foe my 197KB homepage, and I am actually working to trim off few dozen KBs by not depending on jquery slim.
95.
▲
by
kaushalmodi
8y ago
I have started using PlantUML[1] quite a bit recently in my blogging (one example[2]). I have PlantUML code in Org mode source blocks, and Org Babel then generates the svg/png of the diagram each time I update the code block. [1]: htt
96.
▲
by
kaushalmodi
8y ago
I fixed this finally, thanks to Github user dpvc and his suggested way of writing MathJax config: https://github.com/mathjax/MathJax/issues/1988#issuecomment-... .
97.
▲
by
kaushalmodi
8y ago
Thanks to your post, I learnt about Content-Security-Policy in HTTP headers. I thought, that's awesome, let me add a tight CSP to my site ( https://scripter.co ) as I don't load any content from outside and the only thin
98.
▲
by
kaushalmodi
8y ago
Follow-up post: https://scripter.co/follow-up-golang-quirk-number-strings-st...
99.
▲
by
kaushalmodi
8y ago
That's a valid point. I have made that suggestion to the Hugo devs[1]. Someone on Reddit also suggested using strconv.Atoi() instead of ParseInt(). I have added to the suggestion too. [1]: https://github.com/gohugoio&#x
100.
▲
by
kaushalmodi
8y ago
Thanks for your comment. It kind of makes a little sense now. I just wished the octals needed a stricter prefix like "0o" as they are not very common compared to decimal and hex (in my experience at least). The way Python casts st
101.
▲
Golang Quirk: Number-strings starting with “0” are Octals
(scripter.co)
1 points
by
kaushalmodi
8y ago
|
5 comments
102.
▲
by
kaushalmodi
8y ago
Right, I would love to read such posts with the forensics on what happened. But just 3-word phrase titled "posts" with zero-content should be discouraged from floating to the HN front-page.. otherwise this would be just another &q
103.
▲
by
kaushalmodi
8y ago
And this news is HN worthy?
104.
▲
by
kaushalmodi
8y ago
The linked issue is probably useful if someone using Emacs/Org exports Org to Markdown format, and then uploads to a Github issue as that feature proposes. But then I fail to see the advantage of that flow vs just committing the Markdo
105.
▲
by
kaushalmodi
8y ago
Hugo's custom output formats are powerful. It ships with just inbuild RSS xml generation (in addition to HTML of course). But it is very easy to add ATOM xml too. And another custom output format to dump search index in JSON for the wh
106.
▲
by
kaushalmodi
9y ago
No worries, I wasn't suggesting that you support that. I have a very well established blogging flow and I don't have any reason to move away from it. I just happened to come across this HN post, and found your project interesting.
107.
▲
by
kaushalmodi
9y ago
"yeah boi" That's one good reason why I wouldn't even try this package.
108.
▲
by
kaushalmodi
9y ago
The TL;DR looks incorrect! It's Hugo that's beginner friendly, not Jekyll. I had tried Jekyll and Octopress in the past (many years ago) and gave up on static site generation after I couldn't get the Ruby dependency hell to g
109.
▲
by
kaushalmodi
9y ago
Thanks for sharing. For those who might be wondering, using OP's GitHub repo as example, the first post in the issue thread[1] gets converted to a blog post[2]. That's pretty cool! Though, it will be tough to pry myself away from
110.
▲
Optimize your FontAwesome
(scripter.co)
2 points
by
kaushalmodi
9y ago
|
0 comments
111.
▲
by
kaushalmodi
9y ago
If someone is writing a programming blog AND using a static site generator like Hugo, etc., that also builds up the author's credibility as a programmer in my view. But that's just me.
112.
▲
by
kaushalmodi
9y ago
I'm not very (I mean, at all) conversant with Javascript. So stuff like Gulp, Grunt, etc is outside my comfort zone. But one fine day, someone posts step-by-step tutorial[1] on how to set up static site search using Fuse.js on Hugo sit
113.
▲
by
kaushalmodi
9y ago
The Hugo generated site features can vary with the theme used (I believe there are 200+ options), and the features can get as detailed as a user wants if they just template their own site. Ox-hugo that the OP mentioned is just an Emacs pack
114.
▲
by
kaushalmodi
9y ago
Hey! Ox-hugo dev here. Do you have your site source (Org source) public? I am just collecting Ox-hugo Org source repos, that I plan to publish on the ox-hugo doc site (of source, that won't happen if you don't wish, even if your s
115.
▲
by
kaushalmodi
9y ago
I don't use Mac, so not sure what resolution qualifies as "Retina", but my Dell monitor resolution is 2560 x 1440.
116.
▲
by
kaushalmodi
9y ago
Tooting my own horn, if you love living in Org mode, and are willing to try out Hugo ( https://gohugo.io ), I have an Org exporter package ox-hugo that exports to Markdown + required front-matter for Hugo. The package is even more
117.
▲
by
kaushalmodi
9y ago
I am assuming your site remake is still in progress? The fonts on your web site show up in super-huge size at the moment. You can see the font size on other sites like this one for comparison: [1]. [1]: https://i.imgur.com/u
118.
▲
by
kaushalmodi
9y ago
You website design is awesome! Do you have the site source public? If allowed, I'd be interested in converting that to a theme for Hugo ( https://gohugo.io ), and possibly demoing that on how to use that with my package ox-hu
119.
▲
by
kaushalmodi
9y ago
Yes, this came up on /r/emacs recently, see[1] (you can control if you want the HTML preamble and/or postamble). [1]: https://www.reddit.com/r/emacs/comments/809xwx/how_to_get_pl...
120.
▲
by
kaushalmodi
9y ago
> I haven't used Lisp so I'm not sure of how similar they are. As I said, I can see the syntax to be easy to grasp for anyone knowing any coding language. But Lisp fans would be in for a treat. In very simple terms, a list func
More ›