1,557 karma · joined Aug 24, 2019 (7y ago) · 534 submissions
comment 3y ago · link · parent
In the context of dimensional analysis, what is "infinite dimensionality"? Keep your answer brief, only one or two short paragraphs.
In the context of dimensional analysis, the term "infinite dimensionality" typically doesn't refer to the physical dimensions (like length, time, and mass) that one might immediately think of. Instead, in mathematical and theoretical physics contexts, it often pertains to spaces, particularly function spaces, that have an infinite number of dimensions. For instance, the space of all possible functions of a particular type can be thought of as having infinite dimensionality, as each function can be uniquely described by an infinite series of coefficients.
One of the most commonly encountered infinite-dimensional spaces in physics is the Hilbert space, used in quantum mechanics. Here, the state of a quantum system can be represented by a vector in an infinite-dimensional space. While the idea of "infinite dimensionality" might sound abstract and counterintuitive, it provides the necessary mathematical framework to accurately describe and predict a variety of physical phenomena.
comment 3y ago · link · parent
It can be papered over, but intelligibility by more junior engineers is one of the reasons I'd opt for GHA over something like Jenkins.
comment 3y ago · link · parent
There are downsides to coupling more loosely with data consumers, but it keeps service owners moving without wasting time vending data.
comment 3y ago · link · parent
Community management and language feature haggling is not worth the expense at an early for-profit company with an alpha language that needs to solve internal problems.
comment 3y ago · link · parent
comment 3y ago · link · parent
I had frog getting boiled situation at one job that was exactly the process described in the posted article: usage of the cloud data warehouse grew as people trusted the infrastructure and used more fresh data for more and more use cases. They were all good, sane use cases. I repeatedly under-forecast our cost growth until we made large changes and it really frustrated the finance people, rightly so.
comment 3y ago · link · parent
comment 3y ago · link · parent
"This is how you treat ADHD based off science, Dr Russell Barkley part of 2012 Burnett Lecture" https://www.youtube.com/watch?v=_tpB-B8BXk0
Edit: here's a newer one by the same speaker "ADHD as Motivation Deficit Disorder" https://www.youtube.com/watch?v=bR3RJU6838c
comment 3y ago · link · parent
Code example below, `cond` is an example in their tutorial: https://www.sweetjs.org/doc/tutorial.html#sweet-cond
let realTypeof = cond {
case x === null: 'null'
case Array.isArray(x): 'array'
case typeof x === 'object': 'object'
default: typeof x
}
Discussed in 2017 on HN: https://news.ycombinator.com/item?id=14695495comment 3y ago · link · parent
It then becomes a question of preventing harm. Releasing the individual back onto the street seems like a recipe to have the same harm occur again. Putting a crazy person in jail seems harmful as well. Which is where your parent commenter's suggestion comes in...
comment 3y ago · link · parent
This is what the actual generic tests look like. There's also support for one-off SQL-based tests: https://docs.getdbt.com/reference/resource-properties/tests#...
This article covers a lot of ground as to how to actually use dbt tests in practice. I'm particularly glad they mentioned the dbt-utils and dbt-expectations libraries: https://www.datafold.com/blog/7-dbt-testing-best-practices
The dbt ecosystem is also a strength. This article has good examples of the type of tooling and libraries in the ecosystem: https://meltano.com/blog/top-5-of-dbt-packages-and-tools-in-...
I have no affiliation with any of the above linked companies, just a happy dbt user! I'll also add that I don't use the dbt cloud, just invoke the dbt cli in a backend task runner.
comment 3y ago · link · parent
I still don't like the yaml completely, but it makes adding data assertions so easy there is no excuse not to.
This project is pretty black and white, but I'm glad dbt supports test failure severity to lower on call load (error vs warning) when I have the need.
Just wanted to add a positive review for dbt, that it made it fun to do better data testing!
comment 3y ago · link · parent
I'd still suggest a lawyer for sure, but I wish I had counsel I liked.
comment 3y ago · link · parent
I'm glad upper bounds can be updated, that definitely seems like the right approach. As a challenge on "just the correct thing to do", how should someone releasing a package using pandas specify an upper bound? Many basic dataframe uses will work just fine with pandas 3, whenever that happens. Some dataframe uses will break even in future minor releases. It's not clear to me that packagers can reliably predict that future.
Another example of upper bounds causing pain: I mostly use poetry which unfortunately makes overrides extremely hard. A bunch of small Django packages work fine in Django 4 but haven't been updated in years and specify they only work for Django 3.x releases. The poetry folks say it's a packager problem, the packagers never respond to a PR, and off I go to make an internal fork of yet another library.