Live data from Hacker News

Show HN: dstack – an open-source tool to build data applications easily

news.ycombinator.com

11–20 of 30 posts

Re: Show HN: dstack – an open-source tool to build data applications easily

#11
post #3

Looks great, how do you compare to other alternatives in the same space?

Hi, I'm Peter, a part of the team. There is quite a few solutions already that try to make it easy to make data applications with Python or R. The most relevant solutions include Plotly Dash, Shiny, Voila, Streamlit. All of them are great projects even though all of them are very different. Our project is an attempt to explore this area and figure out what would be a way to build these applications without having a n…

"No-code FE for ML"? Sounds awesome to me.

Re: Show HN: dstack – an open-source tool to build data applications easily

#12
The github README is a bit confusing to understand (for someone with no experience). The [1] landing page shows a much clearer outline on what this actually is.

Seems like it could be good for making data-driven dashboard graphs. Although [2] the react library looks like it needs a bit more work.

Congrats on shipping something though!

[1] https://dstack.ai/

[1] https://github.com/dstackai/dstack-react

Re: Show HN: dstack – an open-source tool to build data applications easily

#13
post #12

The github README is a bit confusing to understand (for someone with no experience). The [1] landing page shows a much clearer outline on what this actually is. Seems like it could be good for making data-driven dashboard graphs. Although [2] the react library looks like it needs a bit more work. Congrats on shipping something though! [1] https://dstack.ai/ [1] https://github.com/dstackai/dstack-react

Thank you very much. You're right, the README file needs improvements. We also don't have much tutorials yet that would show the tool from the practical point of view. Our short-term plans include: 1) Improving the documentation and writing more use-case specific tutorials; 2) Add more functionality for more interactive applications, including Machine Learning applications.

EDIT: Speaking of the react library, we've just finished a refactoring and plan to improve it too. Please don't hesitate to share your feedback, over email or via GitHub issues. And thank you!

Re: Show HN: dstack – an open-source tool to build data applications easily

#14
How do you deal with differential versioning of code and data, and the fact that people don't always execute notebooks from top to bottom?

For instance, suppose I have a notebook that takes 2 hours to generate a model. From the viewpoint of explaining it I'd like to make a notebook where I start from the beginning, train the model, then use it.

If I want to show it to people I want to save all the results and re-render them, not rerun the calculation, certainly if I want to show off the results in a 1 hour talk!

From the viewpoint of reproducibility, however, you have to be able to run the notebook from top to bottom and get a 'correct' result. I'm not going to say the 'same' result because many calculations are stochastic in nature (e.g. random numbers) or because often the data changes. (Let's say I have somebody make a notebook that does April's sales reports -- shouldn't I just be able to point it to the may data to make May's sales reports?)

Between the long time delays (longer than people can hold a context in their mind, longer than they want to wait) for the system to settle down and the total complexity I find that many people involved with data science violently resist confronting the above issues. The effects are much like the visual "blind spot" -- you might get a series of projects that were 98% completed but didn't quite deliver business value although everybody feels like they did their part.

Like other vendors in this crowded space, dstack leads with technology as the key problematic "e.g. supports Python and R", "matlib, Tensfolow, plotly, ..."

It's certainly true that people don't want to face up to reality in that area. Maybe 50% or 90% of the "waste" in the area involves setting your dependencies up, begging your boss to get you access to "the cloud of your choice if that's what's needed". The trouble with is that investment in particular technologies are of temporary value (maybe people will still be using R in 2030, maybe they won't be using Tensorflow, almost certainly plotly gets bought by Google and shut down by then)

Years back I researched the problem of running Tensorflow models that we got off the pavement, building a database that says TF version X depends on CUDA version Y, CNN version Z, and being able to have multiple copies of the userspace GPU drivers installed simultaneously (e.g. just put 'em in a directory and set the library path to point at 'em -- don't even need containers!)

I could have sworn Google looked at my source because they did the one thing that could have broke that strategy. Also the company I was working for lost interest in that particular shiny thing. That's a basic problem with maintaining a distribution of other people's software -- like treading water it takes effort just to stay in one place.

The more fundamental problems that turn up in going from data to decision and products are eternal and not tied to a particular technology. If you solve those problems rather than chase the shiny you might break out of the pack.

Re: Show HN: dstack – an open-source tool to build data applications easily

#15

How do you deal with differential versioning of code and data, and the fact that people don't always execute notebooks from top to bottom? For instance, suppose I have a notebook that takes 2 hours to generate a model. From the viewpoint of explaining it I'd like to make a notebook where I start from the beginning, train the model, then use it. If I want to show it to people I want to save all the results and re-rend…

I agree with your point. Reproducibility and versioning is an important yet ver challenging topic right now and not many seem to help with it. And it might be that the problem is not specifically about tools but rather the mindsets and workflows.

IMO dstack is a lot about process. Technologies can change. The process often stays. We’d like to find the best way to solve problems people face every day regardless a particular technology.

One more little thing which might be relevant is that dstack actually tracks revisions. What we haven't figured yet out is how to link the particular revision of the applications with the particular revision of the code / notebook.

Re: Show HN: dstack – an open-source tool to build data applications easily

#16
Thanks for sharing!

Can you elaborate on “What’s next”?

> User callbacks- so that application shows not just pre-calculated visualizations but also can fetch data from a store and process it in real-time.

How are you envisioning this working? Will dstack be like a database? How will “user callbacks” be triggered?

Re: Show HN: dstack – an open-source tool to build data applications easily

#17

Thanks for sharing! Can you elaborate on “What’s next”? > User callbacks- so that application shows not just pre-calculated visualizations but also can fetch data from a store and process it in real-time. How are you envisioning this working? Will dstack be like a database? How will “user callbacks” be triggered?

Hi, thanks for the question. This feature is still in the design stage. The idea is pretty simple. Currently, you can push a pre-calculated visualization and associate it with particular user input. However, in many cases it's not possible to recalculate all possible combinations of user input in advance. That's why we'd like to let user push not a visualization but a function that produces a visualization. This function will be triggered when the user changes input. Such a function can do a visualization on the fly and if needed take the data from an external source.

Re: Show HN: dstack – an open-source tool to build data applications easily

#19
post #18

I looked through github and see you have coded examples, can you also include the visual output so I can get a sense of what it'll achieve without having to set it up to see?

Sure,

1. Here's the most simple tutorial how to make an interactive dashboard and share it: https://docs.dstack.ai/tutorials/dashboards-tutorial It includes screenshots.

2. Here's another tutorial with more realistic data: Output: https://dstack.ai/gallery/d/b56128a3-522e-42d7-8662-9b1a768d... The code for it is available at https://github.com/dstackai/dstack-tutorials-py/blob/master/...

Actually we have very few examples. We gonna make more of them within this week.

Re: Show HN: dstack – an open-source tool to build data applications easily

#20
I am trying to use dstack on my device and it still asked for a login information, which prompted me to read the terms and under "User Content" I notice this

``` You hereby grant to Company an irreversible, nonexclusive, royalty-free and fully paid, worldwide license to reproduce, distribute, publicly display and perform, prepare derivative works of, incorporate into other works, and otherwise use and exploit your User Content, and to grant sublicenses of the foregoing rights, solely for the purposes of including your User Content in the Site. You hereby irreversibly waive any claims and assertions of moral rights or attribution with respect to your User Content. ```

Are these texts common ?

Post reply on HN