453 karma · joined Dec 1, 2011 (14y ago) · 306 submissions
comment 5y ago · link · parent
Or not join at all, which is fine, but punching down and across at your coworkers comes across as not being a team player.
comment 5y ago · link · parent
I also have a lot of experience starting with very lo-fi and manual scripting prototypes to validate user needs and run a process like release management or db admin, which would then need to be wrapped in some light abstractions to hide some of the messy details to share with non-maintainers.
Problem is, I've noticed that more junior developers tend to look at a complex prototype that hits all the user cases, and see it as being complicated. Then they go shopping for some shiny toy that can only support a fraction of the necessary cases, and then I have to spend an inordinate amount of time explaining why it's not sufficient and that all the past work should be leverages with a little bit of abstraction if they don't like the number of steps in the prototype.
So, not-generic can also end up failing from a team dynamic perspective. Unless everyone can understand the complexity, somebody is going to come along and massively oversimplify the problem, which is a siren song. Queue the tech debt and rewrite circle of life.
94.
Ask HN: How do you mentor developers?
2 points · by chartpath · 5y ago · 1 comment
comment 5y ago · link · parent
It is possible to join these across tables, and therefore treat the matching nodes as having the same meaning for classification. However, it doesn't make sense to concatenate trees with different roots because it would just look like regular nesting.
Even if I make it clear at the column level like resource_table.node_label::ltree and predicate_table.edge_label::ltree, there would still be no obvious way to parse where in the forest we traverse over nodes and edges, since they all look and function the same.
I feel like this calls for a well thought-out naming convention using the only thing LTREE allows, alphanumeric and underscore characters. Something like root0.__node__name0.__edge__name0.__node__name1. This "merged" forest could be a "projection" within queries/views.
Thanks again, happy topologizing :)
comment 5y ago · link · parent
In PG you can do a kind of KNN for things that are X LTREE degrees away as well as ordering by distance from trigrams of text. With an ensemble of online learning models for different blobs of taxa, it is a way to prevent concept drift and give weights to the different subdomains of training data to fight bias.
This kind of topological approach is great. One challenge in SQL is that class membership can only be so expressive and I have a nagging desire for slightly more RDF-like edges of predicates/verbs, but that still feels like overkill to me since I can already do rule engines with facts based on the labels. Therefore I end up with class names like "things that verb" or "things that are verbable" like would be done for naming interfaces.
Scanning the paper I don't understand the math well enough (am more of a code plumber). How would different "types" of edges be encoded to get past the perceived limitations of class membership?
comment 6y ago · link · parent
Every time I try just 400 IU per day for a week it makes me dizzy and woozy. I eat plenty of meat and veggies with K2, and nuts and fish with magnesium. Vitamin-D containing foods like milk, eggs and fish are totally fine. I can bake all day in the sun and don't burn easily.
There's something different about synthetic D3, and I wish I could get all the benefits that people here claim.
comment 6y ago · link · parent
But every new release is the same or worse for memory. Is there something about these new architectures that I'm missing which should negate my desire?
Why can't I get a machine with 32GB RAM for under $3k or whatever they are now?
100.
Ask HN: Do you plan “non-technical” work in sprints?
2 points · by chartpath · 6y ago · discuss
comment 6y ago · link · parent
Also in this case it looks like the authors are from business schools. Business buzzwords are a well known and common absurdity. On the other hand, I might be freaked out if random names for stuff started coming out of logic or maths circles.
comment 6y ago · link · parent
Not knocking Airflow, it is great. Luigi too.
comment 6y ago · link · parent
How can a separation of powers approach still check itself? Like different term limits, VP powers, congressional army? Banning factions or breaking up parties that get too big, banning private donors? Rooting for the American experiment to get sorted!
117.
Ask HN: How to transition (back) into frontend dev?
1 points · by chrstphrhrt · 6y ago · discuss
comment 6y ago · link · parent
I find OOP useful for configuration and library-level APIs (e.g. for injecting dependencies and wrapping things), when there is really zero expectation that a user should have to understand the class definition entirely. But that's about it.
Where it seems to break down for me is when classes are actively used at the application implementation level for general encapsulation. E.g. data access layers. This can be done perfectly fine with modules/packages. Adding inheritance is just asking for trouble in a team setting IMHO.
Trouble comes when there is no clear peer review and style policy to avoid classes for anything other than config or distributing libraries (as separate projects). What ends up happening is a proliferation of subclasses or method overrides when developers are in a rush to ship features without understanding the whole codebase. This is a technical loan with very high interest.
It makes sense rationally in the moment, as classes have an inviting feel to the user as a kind of grab bag of related functionalities that are easily introspected (at first). Compare it to searching through docs for all the different namespaces in a package and learning what types their various functions support, it requires more thought and grasping the concepts of the library. Alternatively, a class with a broadly defined purpose starts to look like a common utility to throw things at. It's a grab bag of stuff that is more amenable to hacking with blinders on, in a way.
Next thing you know the chains of inheritance and method overrides have grown into a very hard to disentangle hydra. The accumulated overhead of maintaining it is compounded by the debugging challenge of knowing where exactly a given instance is coming from and which layers it has been through on its way to a given breakpoint.