If I ask my kids or my girlfriend to review my code, nothing will be obvious to them. Doesn't mean that my code is the problem. The idea that the reviewer is always right makes no sense.
Looking at the profile of your reviewer, it seems that they take pride in contributing to the deletion of several Wikipedia articles. It's possible that your article was just a collateral victim of this editor's penchant for deletion.
Nothing I hate more than a useless "helper" function that wraps a built-in feature of the language and gets buried in a "common lib" package that you need to inspect when you want to understand what is going on, instead of just relying on your knowledge of the language. Do we really need a function to map a dictionary and a list of keys to the corresponding values?
So you wrote a toy script 20 years ago and somehow think you were doing just the same thing as OpenAI now? And you thought writing this down was a good flex?
Reminds me of the old dudes in the gym who come to you to tell you how they used to bench four plates when they were young. In their mind, they are badasses. In their mind only.
If you order randomness by entropy, the uniform distribution is indeed, in some sense, "more random" than any other probability distribution with the same support.
Querying by rsid is clearly a bad idea. You want to partition by chromosome (and sample-id in this case) and sort by position. When looking for a given snp, the parquet reader will go through the metadata to only read the data page that contains the given position. Unless your pages are huge, read time will be super small (and cost-efficient since you don't fetch too much data). Since the data is static I would want to try storing all the sample data and metadata in arrays. (For non-static data you can't do that because you won't be able to edit the arrays later - you can only add new rows to the parquets.)
I am not really sure I understand what the author is doing, sounds like he wanted to sort by position but he failed to do so and decided to bin instead?
I agree that Awk is very useful in this kind of problems.
I have read a few chapters of TAOCP for fun but I have a PhD in Mathematics, and worked in Academia, so I am an outlier. I don't think Knuth's book are a difficult read - for me. But unlike you I don't make the mistake of believing everyone is as proficient as I am. I don't know a single person, among my friends and acquaintances working in SWE, that could read a page of TAOCP.
I wonder if it would be possible to rate the code used during the training phase. For example the code could go through various static analysis tools and the result would be assigned as metadata to the code being used to train the model. The final model would then know that a given pattern is flagged as problematic by some tool and could take this into account not just to suggest new snippets but also to suggest improvements of existing snippets. Though I suppose if it was that easy, they'd have done it already.
I don't think Knuth's work is canon in our specific industry, be it web dev, system dev, or whatever it is people around here are doing. Knuth belongs to Academia, not industry.
Before type hints we had doc strings. "This function takes arguments of the following type and returns a value of this other type. Trust me bro!". Type hints and the ecosystem around them are without any doubt a net progress.
My grandmother dealt with bedbugs in 1950s Paris. I always thought of them as a thing of the past that couldn't possibly resurface in the present day. Clearly, I was wrong. Given that this is France, the likely solution is to commission a task force to spend five years working on a white paper that ultimately concludes more taxes are needed.
I missed this part. Where does the author mention that other medical explanations (other than SBS) are exceedingly rare compared to the baby having indeed been shaken?
Maternal milk is better than formula in every possible way and there is a perfect scientific consensus around this. Formula is the least worst substitute to maternal milk but going around and screaming that formula is perfectly fine, as if it was as good (or even better!) than maternal milk is denying some very well-established piece of science for likely ideological reasons.
I use logseq daily to keep track of what I do in my job as a SWE. Having this structured archive is invaluable. I don't understand why you think that note-taking is only justified if you want to create some kind of product - that's a very weird take in my opinion.