I wanted to try something new, so I thought it would be fun to start doing some live-streaming here and there whenever I am working on some interesting parts in the ReScript toolchain or documentation platform.
Topic
I made a plan a while ago on implementating a third party ReScript package index page on rescript-lang.org, so that it’s easier to search and find existing ReScript libraries / JS bindings (similar to redex, but way simpler). The planned implementation will involve NextJS’ incremental static regeneration feature, querying npm json apis, and Fuse.js for fuzzy searching. Gonna be some interesting querying challenges, promise handling, binding writing etc.
Will try to keep an eye on the Twitch chat, in case you want to ask questions while I am building things. Probably the best way to learn more about the rescript-lang.org codebase as well!
Yesterday was an interesting experience. I hope it was also interesting to those who watched. Still need to tweak my stream setup etc, next time it will be a little bit more optimized.
I will continue this work in my next session, which will be announced in this thread again.
The latest date (in case I can’t do it earlier), will be Wednesday 11th, 6pm again.
Please let me know if I should consider a particular timezone. I am located in Vienna (CET / GMT+1).
Today we managed to set up static site generation for our package index and fetch the data from npm (see the latest commit)… I also showed off some of our upcoming ReScript IDE features, like types-on-hover / auto completion in Vim.
Lastly we had the chance to talk a little bit about our ups- and downs during the Reason -> ReScript transition and how to effectively migrate your codebase to the new syntax (and explained how I did the whole re -> res process with rescript-lang.org).
Next session will be next week Wednesday, November 18th, 6pm CET, where we will implement the rough filter logic for unrelated packages, and also add some more visual structure and styling as well.
So last Wednesday I did another twitch stream, and I promised to continue my work on the ReScript package index… but the day before the stream I had some other very interesting task at hand that I wanted to continue working on.
The feature what I am talking about is a “Syntax Lookup Widget”. A pretty neat idea that I drafted out in this particular issue.
Anyways, I recorded the session and put the content on an unlisted Youtube list here:
It’s the raw ~2 hour recording without any further editing. Let me know what you think about the format.
Thanks Jaap
You can already install the newest VSCode extension / VIM extension with the updated features.
@ everyone: 2020-11-25T17:00:00Z is going to be the next live coding session on Twitch. This time I am continuing my work on the Package Index for real!
Here’s a preview deployment from this evening’s stream:
We essentially structured the UI a little bit more, added categories for official / community resources and pulled in the search box component we already built in another WIP PR (featuring our future syntax lookup widget).
Next session is going to be on 2020-12-02T17:00:00Z!
2020-12-09T17:00:00Z is gonna be my next live coding session, slowly wrapping up the package index work, and maybe there’s still some time left to prepare the docs for the upcoming 8.4 release!
I usually decide this on a case by case basis… all my sessions are usually recorded, but since I am a perfectionist, it takes time and muse to edit, render and upload the material.