Live data from Hacker News

D6tflow: Python library for building data science workflows

github.com

31–40 of 50 posts

Re: D6tflow: Python library for building data science workflows

#31
post #3

This looks pretty interesting. I am currently implementing DS workflows that are essentially python classes to orchestrate R scripts. I'll have a closer look on Monday but if I can use it to handle rpy2 R format data I'll be happy

Are you using reticulate ( https://github.com/rstudio/reticulate ), or having Python spawn a new worker process for R?

We have python spawn processes for R.

Re: D6tflow: Python library for building data science workflows

#32
post #15

> We have put a lot of effort into making this library useful to you. To help us make this library even better, it collects ANONYMOUS error messages and usage statistics. See d6tcollect for details including how to disable collection. Collection is asynchronous and doesn't impact your code in any way. That seems really out of place. I'm somewhat used to automatic data collection from applications, but automatic data…

This need to be opt in or banned. Or else anyone not collecting data will have an disadvantage, meaning sooner or later every library will be collecting data. And it doesn't stop at collecting usage statistics, some popular software are already recording what web sites you visit, and what you search for! (For example how to do x in library y, so they can improve their documentation or what not)

Re: D6tflow: Python library for building data science workflows

#35
post #29
post #15

> We have put a lot of effort into making this library useful to you. To help us make this library even better, it collects ANONYMOUS error messages and usage statistics. See d6tcollect for details including how to disable collection. Collection is asynchronous and doesn't impact your code in any way. That seems really out of place. I'm somewhat used to automatic data collection from applications, but automatic data…

This library has a GPDR consent problem-- just putting it at the end of the README doesn't cut it. I wonder if this is the first open source library to violate GPDR.

gdpr really only cares about personally identifiable information, afaik. You don't need consent for anonymized stats.

Re: D6tflow: Python library for building data science workflows

#36

Would be interested to find out what other tools are available in this space and how this compares with them. What’s the difference beteeen d6tflow, Luigi, Airflow?

Quickly perusing the code, it looks entirely luigi based.

Re: D6tflow: Python library for building data science workflows

#37

I recently read that there are over 100 workflow engines [1], it is still often difficult to make the case that Make is insufficient [1] https://vatlab.github.io/blog/post/sos-workflow-engine/

It's easy to make the case that make is insufficient. There are three very distinct domains being conflated here: 1. The day to day experimentation and iteration by a computational researcher. 2. The repeated execution of a workflow on different data sets submitted by different people, such as in a clinical testing lab. 2. The ongoing processing of a stream of data by a deployed system, such as ongoing data processin…

> what you really want is a company wide DAG where individuals > can add their own nodes and which handles schema > matching as nodes are upgraded, invalidation > of downstream data when upstream data is invalidated

I've never seen this work in practice, and doubt it can work, due to the complexities involved.

Re: D6tflow: Python library for building data science workflows

#38
post #15

> We have put a lot of effort into making this library useful to you. To help us make this library even better, it collects ANONYMOUS error messages and usage statistics. See d6tcollect for details including how to disable collection. Collection is asynchronous and doesn't impact your code in any way. That seems really out of place. I'm somewhat used to automatic data collection from applications, but automatic data…

A while back I found out that the popular Serverless framework/library tracks and reports back usage (https://serverless.com/framework/docs/providers/aws/cli-refe...). This similarly struck me as really out of place, and (at the time at least) it didn't seem sufficiently disclosed or described in the docs. If I NPM install it and invoke it, have I implicitly agreed to this?

Re: D6tflow: Python library for building data science workflows

#39
post #29

Earlier quoted context omitted.

This library has a GPDR consent problem-- just putting it at the end of the README doesn't cut it. I wonder if this is the first open source library to violate GPDR.

gdpr really only cares about personally identifiable information, afaik. You don't need consent for anonymized stats.

If you read what it sends they’re sending function names / kwargs / module names etc Put an IP in there (for example) or a persons name etc and you have potential GDPRviolation.

Re: D6tflow: Python library for building data science workflows

#40

I feel so frustrated by the emergence of these things and the constant attempt to brand them or stylize them towards data science. There are just engineering projects. There are not any other things. For some engineering projects, you need to support dashboard-like, interactive interfaces that depend on data assets or other assets (like a database connection, a config file, a static representation of a statistical mo…

But I don't want to learn 50 different tools that are all best-in-class. My use case is social media analysis of specific communities with fairly limited resources, so every hour that I spend on tooling is time not spent observing my subjects.

You're not wrong about the value of all the different tools you mention, but I think overlooking the integration and maintenance costs that a specialty tool can reduce, at the expense of some flexibility. I think that's the same reason many people prefer an IDE.

Post reply on HN