Live data from Hacker News

Observable Notebooks 2.0 Technology Preview

observablehq.com

51–60 of 64 posts

Re: Observable Notebooks 2.0 Technology Preview

#51
This is really, really incredible stuff. I can't wait to replace a bunch of terrible BI dashboards.

I've seen and used so many amazing in-house dashboarding and reporting tools, and this suite blows them all out of the water. Can't believe this is all open source too.

I think this is a great way to slice up the product/feature set from a monetization perspective: hosting w/ collaboration is paid, but the tools are all free to use.

Re: Observable Notebooks 2.0 Technology Preview

#52
The video demonstrating the AI powered desktop app perfectly demonstrates my discomfort with AI. When asked to fix the mapping between county codes, it generated a lookup table itself.

HAVE FUN TESTING THAT. And when you don't, enjoy random countries being mixed up but it mostly working.

Re: Observable Notebooks 2.0 Technology Preview

#53
post #47

Would this be open source? I would really like to run this locally For the time being I hacked something using Observable Framework [1], but still, it isn't the full set 1: https://observablehq.com/framework/ Edit: nvm just saw the notebook kit

> Would this be open source?

No? How would they make money?

Re: Observable Notebooks 2.0 Technology Preview

#54

Observable's pricing is bit out of bounds for what they offer. It feels like a lot of these data startups are just looking for large companies that will unsuspectingly spend a ton of money on something they don't need.

Or get the golden ticket through an acquisition.

Re: Observable Notebooks 2.0 Technology Preview

#55

The video demonstrating the AI powered desktop app perfectly demonstrates my discomfort with AI. When asked to fix the mapping between county codes, it generated a lookup table itself. HAVE FUN TESTING THAT. And when you don't, enjoy random countries being mixed up but it mostly working.

Yeah. I can believe that this will improve in the future, and this is a technology preview and all. But my takeaway from the video is that it is still too vibey for me to trust it. If I was coaching a junior data analyst at my company, and they wrote this code, I would happily give some feedback so that they can improve. With AI, I'd probably just do the analysis myself.

In addition to the hardcoded lookup table, here are some other notes on the generated code:

1. Silently assuming that the first page of results contains all of the data feels a bit fragile. If we're not going to bother with paging otherwise, I'd at least assert that the first page contains everything.

2. Unlike the code comment claims, 2022 is not the latest year that has data available, 2023 is. The reason this is worrisome is not that the difference is massive, but because of methodological implications. It looks like the year 2022 came from "remembering" details from some other code that was analyzing this same data set instead of just looking at current version of the data set we're supposed to be analyzing.

3. The code for removing the world aggregate doesn't actually work (although it doesn't matter for the map). The place where it says d.country.id !== "WLD" should be either d.country.id !== "1W" or d.countryiso3code !== "WLD" instead. Also, if it would actually be important to filter this then presumably it would also be important to filter out a bunch of other aggregates as well.

4. The text says "darker colors indicating higher life expectancy", which is pretty much the opposite of how I would describe this color scheme.

5. The analysis given is: "Notice how certain regions tend to cluster together in terms of life expectancy, reflecting similar economic, healthcare, and social conditions". This is such a bland take. It feels like something I could have written before seeing the data. I would try to encourage the analyst to look for something more concrete and more interesting.

6. The actual thing that immediately pops out from the map is that the Central African Republic is a massive outlier with a life expectancy of 18.8 years, whereas every other country is over 50. This doesn't seem plausible. I would do something about that just so that it doesn't mess up the colors of the entire map.

Re: Observable Notebooks 2.0 Technology Preview

#56
I've found Bostock Observable to be a fascinating and inspiring platform since the outset in my limited experiments with it. I wish they'd give it a name that isn't a well-known design pattern that it implements, because I end up having to call it "you know, Bostock's thing" in conversation.

However, I definitely don't want to have to type "" in order to calculate 1 + 2, and I don't want to have to scan past that in order to find the actual calculations. So I guess I'll have to keep being inspired by Bostock Observable Notebooks 1.0, which I can keep writing in GitHub-flavored Markdown, because it's free software and already checked into Git.

Re: Observable Notebooks 2.0 Technology Preview

#57

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).

I think marimo is a python version of the same idea: https://marimo.io/

Re: Observable Notebooks 2.0 Technology Preview

#58
post #24

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

Because it makes the reactive model work - and work quite efficiently. Cells don't re-run just because of edits, but also if the reader interacts with any of the interactive inputs.

Re: Observable Notebooks 2.0 Technology Preview

#59

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).

> never felt that I couldn't do any visualization with Python

Yes but, probably what they are shooting for are mini apps that you can just copy pasted into a front-end codebase and not some weird-ass python dsl

Re: Observable Notebooks 2.0 Technology Preview

#60

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…

You'd have to do some styling, but Plotly is what I'd use to recreate the graphs on the gallery page there. It would obviously require some work to match the exact styling, but it should all be doable and TTFP would probably be much lower assuming you're starting with a Plotly express template.

https://plotly.com/python/

Post reply on HN