Recent submissions

Comment · 5 years ago
I ended up looking into Github Pages and it wasn't too hard to use. (The documentation makes it look harder that it actually is.)

Thank you, benjaminsuch, for that pointer.

Comment · 5 years ago
I realize now that I should have included more of an explanation of what "notebook" signified and should have included the initial comment in the Readme (or some version of it). I had the impulse to keep things absolutely as simple as possible.

I learned about how to make it easy to try a webpage from github which is useful.

I don't really have a lot invested in the result of this, but I have the feeling that people who are really trying to make a product must find that the spotlight of YC moves awfully fast.

I wonder if there needs to be a website that is a catalog of interesting projects (organized by purpose). Looking at github, it appears that it contains some lists of projects on github.

Comment · 5 years ago
Comment · 5 years ago
I recreated my mfib example as a Starboard notebook:

https://starboard.gg/timcwinkler/mfib-nC0Am5G

Very nice looking!

One difference from js+help.html, with it outputs are also saved.

Comment · 5 years ago
The contents of github repository have evolved quite a bit, mostly in response to comments (making some of them a bit out-of-sync).
Comment · 5 years ago
Thanks to freeCandy and the githack service, here is a link that can be directly used:

https://rawcdn.githack.com/timcwinkler/javascript-notebook/9...

(There must be some resource limits, but I don't know what they are. Maybe there aren't limits? This is fast.)

Comment · 5 years ago
Well put.

For simplicity, in js+help.html, not markdown, but plain HTML.

Comment · 5 years ago
Comment · 5 years ago
You project looks very interesting. Shared idea of programming in the browser, but much more ambitious.

I have experimented with async/await with js+help.html.

The import pointer is very interesting, thank you for that.

My impulse is to try to write a function to import a code from a URI.

Comment · 5 years ago
I've had the idea that this could be useful for an introduction to programming. All you need is a browser. It also could encourage a more "literate" style of programming, much like Jupyter notebooks.
Comment · 5 years ago
Actually tiddlywiki was what made me realize that something like this was possible. Much more complex. The key thing was the ability to "save".
Comment · 5 years ago
Well I had this idea that with github, you are sort of forced to download HTML pages, so there you are. Clearly this is not very satisfactory.

I have added screenshots, a download link, and a more interesting example (mfib).

Will look into ways to make everything even easier.

Comment · 5 years ago
You can leave it if you wish. I'll have to learn a bit more about https://codesandbox.io/, it looks very useful.

Apparently the contents of the page were somehow mangled a bit. As a result it is not functional.

Comment · 5 years ago
What I would wish that I could do is just make it so that there was a link to the HTML file in the Readme. Click it and there you go. My impression is that this is discouraged. (Am I wrong about that?)
Comment · 5 years ago
As I said this is all very simple, the one thing that makes it a little bit more interesting is the save button. You can do some computations/calculations and save the results (by downloading) into the same file or a new file.

I have even modified the javascript code of the page itself and saved it away (not really directly supported).

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton