Better HN
topnewbestaskshowjobs
Log inSign up

code_biologist

1,557 karma · joined Aug 24, 2019 (7y ago) · 534 submissions

Submissions

comment 3y ago · link · parent

What's the platform? Something you'd recommend?

comment 3y ago · link · parent

I suspected so and I hope m0llusk will clarify. I found it frustrating to hear about an interesting missed case without enough context to google, unless you already know about infinite dimensionality in the first place.

comment 3y ago · link · parent

Is this the infinite dimensionality you refer to? I asked ChatGPT4:

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

This unanswered Github Actions community request for parallel steps support drives me up the wall: https://github.com/orgs/community/discussions/14484?sort=top

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

The other part of this pattern you mention (replicating data) seems solved in many cases by the data warehouse patterns of the last few years. Stuff it all in Snowflake or BigQuery then readers can query as they see fit. Query engines like Trino can paper over data storage heterogeneity / breakdowns in centralization. I'm not a fan of the "lakehouse" terminology, but it is the thing.

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

I just crossed the decade mark with my Brother HL-2240, purchased in June 2013. I put a Raspberry Pi + CUPS on it for network printing. The resolution is a little low and I wish I had color, but I did buy the printer for literally $60 new.

comment 3y ago · link · parent

I think not investing time in Mojo is the currently the correct decision. If Modular decides they have a good product and would like broad community adoption, they will make the open source and licensing decisions that would support that. They're smart and I presume aware of that dynamic, so honestly I suspect they don't want a broad community just yet.

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

Dear god this is accurate. A product I worked on a few years ago wanted to add a feature searching various PDFs that were a slurry of the same words. After being disappointed with the results of keyword search, we deemed semantic search too complicated to implement and scrapped the feature. Great to see it's getting easier.

comment 3y ago · link · parent

I've used Datadog as an application engineer for years (not an expert / ops person) and I just learned about Workflow Automation from this post... so good choice.

comment 3y ago · link · parent

Embedded DSLs is the term I’ve seen in the Haskell, Scheme and Ruby communities.

comment 3y ago · link · parent

Would it be helpful to frame it as unilaterally the fault of Xi Jinping and the rise of wolf warrior diplomacy?

comment 3y ago · link · parent

I'm curious if you have an opinion on UMAP. I've found it to behave better (better final model results) than tSNE and PCA for dimensionality reduction tasks, though I'm just a data engineer without any academic ML background.

comment 3y ago · link · parent

Kiba looks like a really cool framework, thanks for posting it!

comment 3y ago · link · parent

I don't know ruby and if it's the same, but if you're not using a library like funcy or toolz for a nested get helper, you can do `dict.get('key', {}).get('key2', {}).get('key3')`. Not the prettiest, but can do in a pinch.

comment 3y ago · link · parent

I think there's room for a hybrid approach, not just fixing the bug a fuzz test found, but treating the fuzz test error as a bug in invariants (either inadequate or violated in a subtle way that's not caught) and addressing that underlying issue.

comment 3y ago · link · parent

I can't speak for that speaker but the typical answer: meat consumption is associated with affluence, which also is associated with sugar and processed food consumption.

comment 3y ago · link · parent

Who's finance team likes usage based billing? It makes sense for elastic use cases and is definitely "fair", but there are a lot of issues: Forecasting is hard. "dev team had an oops" situations.

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

I've paid for Little Snitch every time I could. I never want them to consider selling.

comment 3y ago · link · parent

Who then? Distros? One of my favorite software engineering comics is "User Friendly" from 1999: https://distrowatch.com/images/other/userfriendly-comic.png

comment 3y ago · link · parent

Both are things deployed to host network visible services.

comment 3y ago · link · parent

Great video I came across that expresses similar ideas about it being executive function that's the challenge, not attention.

"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

There was a library adding macros to JS that was a thing long ago. I always thought that `cond` would make JSX way better, though JS + macros sounds terrifying in general.

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=14695495

comment 3y ago · link · parent

Let me steelman the suggestion then. Our western answer for when society is allowed to intervene against the will of an individual is when a law is broken. I agree that we shouldn't involuntarily commit people arbitrarily, but if you break the rules of society and engage in trespassing, theft, assault or sexual assault, etc then yes society should be allowed to intervene against your will.

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

I gave a positive review of dbt's testing capabilities in this other comment: https://news.ycombinator.com/item?id=36720013

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

Have you evaluated Superset or Lightdash against Metabase? If so I'd love to hear about your experience. I'll shortly be helping a client company migrate BI off Looker and haven't gotten my hands dirty with the options yet.

comment 3y ago · link · parent

I've recently done my first implementation of dbt and though its fundamental Jinja+yaml nature does show through a bit, I was really pleasantly charmed by the data testing. The catalog of data assertions (dbt-utils and dbt-expectations really fill out the bare bones default tests) is generic across data sources, intermediate tables, or output tables, and is typically 3-5 lines of yaml for any given test. Hits all the basics: nullness, uniqueness, freshness, value cardinality, value distribution, row count, foreign key validity, etc.

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

My company has spent six figures with two different blue chip startup law firms. Our board specified the firms. Those in the VC scene would recognize them. The quality of the work has varied from "decent if eye wateringly expensive" to "subpar", seemingly dependent on the associate that worked on it and if there was any other industry-wide phenomena occupying the firm's attention.

I'd still suggest a lawyer for sure, but I wish I had counsel I liked.

comment 3y ago · link · parent

Asking packagers to add upper bounds is less of a speed-hack vs. just the correct thing to do. What's interesting about conda-forge is that upper bounds can also be added later on via a "repodata patch".

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.

comment 3y ago · link · parent

Thanks for the lib! I'm always charmed to come across such a concrete example of the fundamental theorem of software engineering: "We can solve any problem by introducing an extra level of indirection."
1
91011
18