Better HN
topnewbestaskshowjobs
Log inSign up

chartpath

453 karma · joined Dec 1, 2011 (14y ago) · 306 submissions

Submissions

comment 5y ago · link · parent

As the article says, that is not the kind of union they set up. They set up a "members only union" which is voluntary to join or not. Either you are unhappy with conditions and need protection so you join for the the support network, or you are happy with conditions but join anyway out of solidarity with the lower classes of employees. https://tcf.org/content/report/members-only-unions-can-they-...

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

Not sure about actors but I just use joblib for parallelization. It is way lighter than Dask and friends but still depends on (cloud)pickle serialization.

comment 5y ago · link · parent

I agree that premature abstraction is bad. Except when using a mature off-the-shelf tool, e.g. Keycloak. Sometimes if you know that you need to implement a standard and are not willing to put in the effort for an in-house solution, that level of complexity just comes with the territory, and you can choose to only use a subset of the mature tool's functionality.

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

Yeah totally! I have done a couple different LTREE label columns on the same table before but that was for separating named entity recognition from other things, so still just different kinds of class membership (e.g. people, places, things).

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

This is a really cool and very smart looking mathematical way of looking at something that I do with lower-tech taxon labels using LTREE in Postgres to store the annotations.

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 5y ago · link · parent

Sneakernet 4.0

comment 6y ago · link · parent

Everyone on HN always says they are taking like 10x the RDA and it's the only thing that makes them survive the winter, blah blah blah. Intentionally hyperbolic, but not far off.

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

I keep waiting for each new generation to offer more RAM than my 2015 MBP which has 16GB and is still going strong. How else can I run a bunch of docker containers?

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

How do those boots taste?

comment 6y ago · link · parent

How is being compiled the same turf as running in a VM?

comment 6y ago · link · parent

TBF this is an academic article though. Why should total accessibility of language to non-experts be a goal in that venue exactly? Isn't it reasonable to expect that other educated people will check the citations?

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

Same, except that you still can't execute expressions in the debugger. It only reads existing values. I think it's something with Delve.

comment 6y ago · link · parent

And yet they don't pay living wages to their non-engineering employees. Greedy scumbags.

comment 6y ago · link · parent

Glad to see some action in NB! Hi from Montreal.

comment 6y ago · link · parent

Happy user of Prefect here. I prefer it for being more programmable and able to run on Dask. If you just want dynamic distributable DAGs and not necessarily an "ops" appliance feel (like Airflow), check them out: https://docs.prefect.io/core/getting_started/why-not-airflow...

Not knocking Airflow, it is great. Luigi too.

comment 6y ago · link · parent

I've been through similar "searching" efforts and concluded the same.

What about working in legal or medical software, since those industries will never go anywhere? Or any other industry that is boring.

comment 6y ago · link · parent

Hoodies are also comfy.

comment 6y ago · link · parent

CS grads should be required to take a year of liberal arts at least.

comment 6y ago · link · parent

What kind of oversight could even work though? We have the Queen in my neck of the woods but that is not exactly accountable and never does anything to check poor governance and only rips off taxpayers. We also have non-confidence votes which can bring down a Prime Minister, and it seems to work (in minority governments at least).

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!

comment 6y ago · link · parent

If you want to integrate with the data science ecosystem, would you use modern Python for APIs as well, or do Go services with minimal Python bits?

EDIT: coming from someone who has had great experiences with FastAPI and Uvicorn combined with Dask and Redis.

comment 6y ago · link · parent

Do you track down their email or just send a message on LinkedIn? How customized are the initial communications (e.g. common elements per type of work or type of company)?

comment 6y ago · link · parent

Yeah, we've graduated to using militarized police to do that for a while now.

comment 6y ago · link · parent

I'm working on a project that depends on Graphene and Django (not my choice). Any ideas off hand about doing the same thing there? IIRC Django can also use SQLAlchemy but it didn't used to be very nice back in the day.

comment 6y ago · link · parent

Too bad it got hobbled on the last Mac update. With Metal I find it completely unplayable and it doesn't do fullscreen.

117.

Ask HN: How to transition (back) into frontend dev?

1 points · by chrstphrhrt · 6y ago · discuss

comment 6y ago · link · parent

Agree 110%, and I want to take your notion as a cue to expound a little more from personal trauma :)

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.

12345
11