laurent.orseau
2022-4-29 08:36:33

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.


laurent.orseau
2022-4-29 08:42:55

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)


laurent.orseau
2022-4-29 08:44:01

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


capfredf
2022-4-29 14:36:45

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


laurent.orseau
2022-4-29 14:41:36

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.


laurent.orseau
2022-4-29 14:42:08

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


capfredf
2022-4-29 14:45:31

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


laurent.orseau
2022-4-29 14:47:36

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


spdegabrielle
2022-4-29 17:06:43

I think that is a brilliant idea.


spdegabrielle
2022-4-29 17:08:50

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


spdegabrielle
2022-4-29 17:10:05

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



spdegabrielle
2022-4-29 17:24:17

Done



spdegabrielle
2022-4-29 17:48:02

spdegabrielle
2022-4-29 17:50:06

spdegabrielle
2022-4-29 18:01:27

:standard-fish: