Live data from Hacker News

Observable Notebooks 2.0 Technology Preview

observablehq.com

41–50 of 64 posts

Re: Observable Notebooks 2.0 Technology Preview

#42
post #24

i dont understand why Observable insists on topological execution. isn't out of order execution one of the biggest complaints about notebooks?

Not exactly. Jupyter notebooks execute top-to-bottom at startup and then you can manually execute cells in whatever order you choose after that. I believe it’s the manual execution that gets people, because it can have inconsistent results. But just rerunning the entire file automatically (like reloading a web page) might be slow if some build steps are slow (they can read or write huge files), and some people have slow steps in their notebooks. They could use manual cell regeneration to intentionally avoid rebuilding cells, when stale data is acceptable.

On the other hand, I don’t know if Observable Notebooks 2.0 even does incremental builds anymore? If not, it’s just about presentation order, similar to literate programming.

Observable Framework had data loaders for creating static snapshots of data at build time. I don’t see any mention of how to handle data loading in Observable Notebooks 2.0.

Re: Observable Notebooks 2.0 Technology Preview

#45
post #32
post #28

I wish Bostock et al got paid. This is literally the pain of doing open source for some. You basically watch as other people get rich off of your life’s work. That rambling aside, I like the idea of having a desktop app. Not sure where this notebook fits in with all their other products. They have the Framework which is actually pretty useful.

> I wish Bostock et al got paid. They do get paid. Observable sells team and enterprise licenses: https://observablehq.com/pricing

Yeah Observable has raised $45M, I imagine the ELT is paid well.

Re: Observable Notebooks 2.0 Technology Preview

#46
I'd love to see support for inline TeX in the markdown. Back when I used observable on the web, I hacked up a `md2` string template to replace /\$(.*?)\$/g with the katex equivalent before calling `md`, but I don't know if there is a workaround in the desktop notebook application.

Re: Observable Notebooks 2.0 Technology Preview

#48

I'd love to love them but I don't: I can't seem to justify moving away from Python to use this. What advantages does JS offer for this use case? I' ve never felt that I couldn't do any visualization with Python (but I don't do nice newspaper figures).

It depends where you're coming from, I suppose. The web is pretty popular. Web developers are more familiar with HTML, CSS, and JavaScript, and with various visualization libraries in the JavaScript ecosystem. I quite like Observable Plot [1].

I'm not familiar enough with Python or Jupyter to know how you would build similar visualizations with them. What would you use?

[1] https://observablehq.com/@observablehq/plot-gallery

Re: Observable Notebooks 2.0 Technology Preview

#49
post #4

Out of curiosity, why ` ` as an element and not a standard web-component ` ` or something like that if the goal is to go all-in on "normal" web development?

self-plug that you might be interested in: I built a thin wrapper around the Observable Runtime that allows you to more easily use it in a pure HTML context: https://maxbo.me/celine/

Re: Observable Notebooks 2.0 Technology Preview

#50
post #39
post #28

I wish Bostock et al got paid. This is literally the pain of doing open source for some. You basically watch as other people get rich off of your life’s work. That rambling aside, I like the idea of having a desktop app. Not sure where this notebook fits in with all their other products. They have the Framework which is actually pretty useful.

Who parks a Porsche in front of a fancy Pacific Heights (San Francisco) mansion with the license plate "D3JS"?

source pls?
Post reply on HN