
TIL that using the input/output port with s-exp->fasl
and s-exp->fasl
can be much faster than obtaining the fasl value and only then writing it to disk.

That is, write with (call-with-output-file* "thing.rktd" (λ (out) (s-exp->fasl thing out)))
and read with (call-with-input-file* "thing.rktd" fasl->s-exp)

I wish people would share their own “tip of the day”, I’m sure there are lots of missed opportunities

what about starting a thread/post on the Racket discourse?

That’s an idea, with the caveat that if people want to discuss the new tip of the day, either they are organized enough to start a new thread (unlikely), or it will get messy quite quickly.

Or maybe we can make it a Discourse category, so we can have one thread per tip?

I think a little bit of chaos is fine as long as people like the idea of posting daily tips and learning from them. How to organize them can come later. (like collect all of them and put them in the wiki)
> Or maybe we can make it a Discourse category, so we can have one thread per tip? This should work

@spdegabrielle What do you think about a new Discourse category named “TIL: Today I Learned… Share your pro tips!” (or something like that)?

I think that is a brilliant idea.

If it a separate category it gives anyone who is not interested the ability to mute the category

How about we post the idea in site feedback and if no one objects I’ll create the category on Sunday


Done




:standard-fish: