HackerTrans
TopNewTrendsCommentsPastAskShowJobs

amanj41

no profile record

comments

amanj41
·tahun lalu·discuss
Used this for some knowledge graph visualization work. Really clean UI and some nice features out of box for interactivity
amanj41
·tahun lalu·discuss
Yes that is common. I was more talking about the case where someone perhaps introduces a bug causing a nil pointer dereference on some requests, so the panic is not explicitly called in code. In which case you would definitely want the recover in place.
amanj41
·tahun lalu·discuss
I think a good usecase for recover is in gRPC services for example. One wouldn't want to kill the entire service if some path gets hit leading to a panic while handling one request.
amanj41
·2 tahun yang lalu·discuss
Graph DBs are generalized relationship stores. SQL can work for querying graphs, but graph DB DSLs like Cypher become very powerful when you're trying to match across multiple relationship hops.

For example, to find all friend of a friend or friends of a friend of a friend: `MATCH (user:User {username: "amanj41"})-[:KNOWS*2..3]->(foaf) WHERE NOT((user)-[:KNOWS]->(foaf)) RETURN user, foaf`
amanj41
·2 tahun yang lalu·discuss
yes there's that idiosyncrasy, as well as client ideally needing to read the previous clock from the DB before writing an update for that key unless it's ok with the write being viewed as concurrent. Plus the extra memory overhead to store the clocks in the client.
amanj41
·2 tahun yang lalu·discuss
Vector clocks are very cool. Having read through how they were initially used in Riak, I was blown away that such an implementation could scale. I guess this is why Cassandra took a different approach?
amanj41
·2 tahun yang lalu·discuss
Not sure if ClickHouse needs ZK but FWIW Kafka has a raft implementation which now obviates need for ZK
amanj41
·2 tahun yang lalu·discuss
Wasn't Madoff's plan the whole time to pocket investor money for himself, whereas Sam's was to arrogantly (and illegally) gamble it with the thought being he could return the principal from Alameda back to FTX in future? Genuine question, I'm not super informed on these.
amanj41
·2 tahun yang lalu·discuss
I have IBD and definitely believe there is an association. But it still goes back to my question about "is there a safe limit". I think in particular for IBD, IBS, Crohn's etc, my suspicion is that there are two mechanisms at play with ultraprocessed diets:

1. Additives + microplastics in modern diets doing bad things to the microbiome. 2. Fiber intake is being reduced by ultaprocessed diets. I think the lack of pre+pro-biotics is a big deal, and ultraprocessed foods contribute to their reduced intake.
amanj41
·2 tahun yang lalu·discuss
A concern I've had with past studies has been the dosage of processed foods. It's better to avoid them altogether, but I haven't seen many seeking to find limits on how one can safely have X percent of their diet be from ultra-processed foods and still be healthy.

It seems like the biggest correlation between overall health and processed food intake is that processed foods are calorie dense and lead to weight gain. If excess calories are coming from sugars and unhealthy fats, and one is consuming large amounts of bad additives, that will surely lead to bad outcomes.

What I would like to see is isocaloric studies, where individuals get plenty of fiber, micronutrients and a good macronutritional balance from "healthy" foods, but are also allowed some reasonable percentage of their daily intake to be processed.

Maybe it's the guilt of feeling like I'm a weaker person for being addicted to having desserts or chips on a regular basis, but I also feel like they are pleasures of modern life that are worth enjoying in moderation. I mainly strive to eat healthy for all my core meals, and allow myself ultra-processed snacks, while not gaining weight.
amanj41
·2 tahun yang lalu·discuss
Given the full fingerprint reconstruction rates, it would likely be a while until the tech is reliable enough to do that, if ever.