badkins
2020-11-20 15:52:56

After 13 years of using Wordpress for my blog, I’m considering switching to a static site generator. So, naturally, https://github.com/greghendershott/frog\|Frog is on the short list to evaluate, although I have to admit my enthusiasm was dampened somewhat when I discovered <https://www.greghendershott.com/2019/04/exploding-frog.html|Greg is no longer using it>! My question to Frog users is, How beneficial has it been to you that Frog is written in Racket? As an example, I feel that it was hugely beneficial that https://docs.racket-lang.org/slideshow/\|Slideshow was written in Racket. My blogging needs are relatively simple, and I think one of the more important things is the ease of moving off the platform. I expect I’ll be going through quite a bit of pain to get 13 years of blog posts out of Wordpress into something else, and I’d like that process to be much easier if I have to do it again.


massung
2020-11-20 15:54:44

I absolutely love http://blot.im\|blot.im. See http://r-cade.io\|r-cade.io for a site I’ve made with it. I don’t know about migrating Wordpress posts, though. But if they are anything like Markdown files you just have access to, it’d “just work”.


soegaard2
2020-11-20 16:05:04

Looks pretty neat.


gknauth
2020-11-20 16:23:55

But it’s better than the spreadsheet, because you don’t just see the numbers, you see the formulas / thinking that went into them.



massung
2020-11-20 17:05:16

Yes, I’ve given up there for now. I really don’t want to jump into the rabbit hole of having to teach what the “command line” is. I’ve replied to a couple direct messages from that user on reddit already.


massung
2020-11-20 17:06:26

Thanks for pointing it out in case i didn’t. :slightly_smiling_face:


yilin.wei10
2020-11-20 19:05:56

Hello, could someone on Windows try out this racket command please https://git.sr.ht/~yilin/raco-search?


yilin.wei10
2020-11-20 19:06:20

For reference, it’s a way to run the search bar from the command line


yilin.wei10
2020-11-20 19:06:25

raco search set!


yilin.wei10
2020-11-20 19:06:27

For example


sorawee
2020-11-20 19:13:45

Just curious, how is this different from raco docs?


sorawee
2020-11-20 19:14:01

I don’t have Windows, unfortunately, so I can’t help.


yilin.wei10
2020-11-20 19:14:53

I wanted to run the search bar on the generated manual inside of emacs.


yilin.wei10
2020-11-20 19:15:49

As far as I’m aware, raco docs opens it in a browser?


sorawee
2020-11-20 19:16:38

That’s right. So this one displays information in terminal instead?


yilin.wei10
2020-11-20 19:17:11

Yes (https://github.com/greghendershott/racket-mode/issues/507) I’m hoping to integrate it with racket-mode


sorawee
2020-11-20 19:20:02

Ah, nice!


badkins
2020-11-20 19:41:19

First impression of https://github.com/greghendershott/frog\|Frog is pretty good. In a few minutes, I already have a better syntax highlighter (thanks to the integration of https://pygments.org/\|Pygments ) than I’ve had in 13 years :) Directory structure seems reasonable. Certainly warrants further investigation!


spdegabrielle
2020-11-20 19:43:54

I think @ryanc was working on a fork called Jeremiah



samth
2020-11-20 20:19:20

I don’t understand why this would be a raco command instead of just a function that Racket-mode could call


yilin.wei10
2020-11-20 20:43:19

@samth I intend on adding it as a function with racket-mode - it’s just easier for me to currently run it from the command line currently since I haven’t gone through the internals of how racket-mode talks to Racket. Let me make it clearer in the github issue.


yilin.wei10
2020-11-20 20:54:16

Thanks @samth, re-reading the issue I think I was unclear.


willghatch
2020-11-20 21:00:19

I use Frog, and Racket has mattered for probably 2 things: (1) easy support for writing posts in Scribble, and (2) I think I do use at-exp forms in templating the HTML files, probably only slightly modified from the template it comes with, though. 1 is a much bigger deal than 2.


badkins
2020-11-20 21:07:29

Yeah, it didn’t take me long in exploring Frog to realize I’d like to be able to use Scribble, and I expect I’ll also be adding some features such as a tag cloud, so I think I’ll go with it.


kellysmith12.21
2020-11-21 01:44:25

Is there a simple way to take an arbitrary piece of syntax and check if any of its parts has a certain syntax property? Or, will I need to write the traversal?


kellysmith12.21
2020-11-21 02:05:43

Having thought about it some, I think that a hand-written traversal will be necessary.


greg
2020-11-21 02:20:31

I mean, Frog is… not awful. I just don’t use and dog-food it myself, anymore.

The thing is, Frog is an application, as opposed to a library. And any app has a life-cycle. It starts as wonderfully simple and just-right for N people. Then it’s if-only-it-also-did-X for more people. So you keep adding X’s. Eventually it’s not so simple and wonderful anymore. :smile:

And if you’ve lived through that whole cycle before, with other apps, then after enough years… well, you’ve already seen that movie and you’re ready to get off that treadmill. To throw in even more mixed metaphors. :smile:


greg
2020-11-21 02:21:23

Anyway there is always room for some new app to come in and be that new simple wonderful thing, for a new generation.


greg
2020-11-21 02:23:39

Meanwhile I think Frog is one decent example of a Racket command-line application. Though not nearly as impressive as say the amazing stuff @alexharsanyi has been doing, with a GUI app.


wanpeebaw
2020-11-21 03:58:38

[Request for Comments] I wrote a bf program executor in Racket which translate a bf program to Racket module and execute dynamically. Basically, it’s a benchmark game just for fun and to see how compact and performant it can be. Now I’ve reached my limit. Is there any coding style I can apply to make it even better or cleaner? Any suggestion is welcome! https://gist.github.com/sleepnova/0277a1a9bf5f6fe104e222d379452688\|https://gist.github.com/sleepnova/0277a1a9bf5f6fe104e222d379452688