Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
timcwinkler
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
timcwinkler
5y 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.
2.
▲
by
timcwinkler
5y 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 simpl
3.
▲
by
timcwinkler
5y ago
Have created a live link via github.io https://timcwinkler.github.io/js+help.html
4.
▲
by
timcwinkler
5y 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.
5.
▲
by
timcwinkler
5y 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).
6.
▲
by
timcwinkler
5y 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 wha
7.
▲
by
timcwinkler
5y ago
Well put. For simplicity, in js+help.html, not markdown, but plain HTML.
8.
▲
by
timcwinkler
5y ago
Another very useful pointer. Thank you. I wonder what "Files are automatically optimized" means, exactly? Have tried this out. (See comment https://news.ycombinator.com/item?id=27452226 )
9.
▲
by
timcwinkler
5y 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 t
10.
▲
by
timcwinkler
5y 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.
11.
▲
by
timcwinkler
5y 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".
12.
▲
by
timcwinkler
5y 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
13.
▲
by
timcwinkler
5y 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.
14.
▲
by
timcwinkler
5y 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?)
15.
▲
by
timcwinkler
5y 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 e
16.
▲
by
timcwinkler
5y ago
OK. I am afraid that I am not very knowledgeable about github, or YCombinator comments, but I'll give it a shot. Here is a screen shot: Simple screenshot: https://github.com/timcwinkler/javascript-notebook/blo
17.
▲
by
timcwinkler
5y ago
If you download and open up the html file, it contains, what is essentially, a screenshot with explanations. (A very simple screenshot, but one you can extrapolate from.)
18.
▲
Show HN: A simple JavaScript notebook in one file
(github.com)
36 points
by
timcwinkler
5y ago
|
34 comments
19.
▲
by
timcwinkler
5y ago
This is a very simple Javascript notebook in one completely self-contained HTML file. It was inspired by the concept of Jupyter notebooks. You can enter Javascript code and execute it in the browser, completely locally and possibly offline.