HNHacker News
TopNewBestAskShowJobs

radus

846 karma · joined September 4, 2016

submissionscomments
radus··on Django 5.0
No, as I understand it, the Django project's stance on type hints is that they aren't going to be added any time soon, but they are willing to accept small PRs that are needed by external type-checkers on a case by case basis. Details here: https://github.com/django/deps/pull/65
radus··on Ask HN: Can you take more than 2 consecutive weeks of vacation?
IMO unlimited needs to be paired more often with a guaranteed or even minimum number of weeks - at least if the intent is for employees to actually take their vacation.
radus··on The business of extracting knowledge from academic publications
> this looks like one narrow niche knowledge base. I am not expert in this domain, but there are probably some other use cases not covered by existing offerings.

UniProt is not niche. It contains curated information about all proteins across numerous domains.

radus··on It’s time to allow researchers to submit manuscripts to multiple journals
I agree with your suggestion and would 100% welcome that process - though I don't think they're necessarily mutually exclusive. As I see it, the main difference between the status quo and the more open process you suggest is that in theory reviewers that are hand-picked by the editor are more likely to have directly relevant experience, ideally translating to a better, and potentially more efficient review. Of course, that also comes with the drawbacks that you mentioned - that the reviewers are easily de-anonymized, and that they may be biased against your research since they're essentially competitors -- I've had the good fortune of not being negatively affected by this, but I have many colleagues who have not been so lucky.

Edit: Also, to comment more on my own experience, I was lucky to be working in a well-established lab with a PI whose name carried a lot of weight and who had a lot of experience getting papers through the review process. We also had the resources to address requests that might've been too much for a less well-funded lab. I'm aware that this colours my views and didn't mean to suggest that peer review, or the publication process, are perfect. The main reason I wanted to provide my perspective is that I feel that on HN there's often an undercurrent of criticism that is levied against the state of scientific research that isn't entirely fair in ways that may not be obvious to readers that haven't experienced it first-hand.

radus··on It’s time to allow researchers to submit manuscripts to multiple journals
One of my favorite journals. Perhaps of interest to HNers is their fairly active GitHub: https://github.com/elifesciences, and my favorite project of theirs, Lens: https://github.com/elifesciences/lens, it's a paper viewer that actually makes reading papers easier (there's loads of these out there but most are crap and inferior to a PDF).
radus··on It’s time to allow researchers to submit manuscripts to multiple journals
Some of the things that peer reviewers do, in my experience, in biology:

- question whether or not the conclusions you are making are supported by the data you are presenting

- ask for additional experiments

- evaluate whether or not your research is sufficiently novel and properly contextualized

- spotting obvious red flags - you seem to discount this, but it's quite valuable

In my experience, the process of peer review has been onerous, sometimes taking years of work and many experiments, and has by and large led to a better end-product. There are not so great aspects of peer review, but it's definitely not a joke as you characterize it.

I'll add that in biology and adjacent fields, it makes no sense to discount peer review because the reviewers do not repeat your experiment - doing so is simply not practical, and you don't have to stretch your imagination very far to understand why.

radus··on Nobel Prize in Medicine awarded to Katalin Karikó and Drew Weissman
How is that different from any profit seeking endeavor? You could write the same company about software companies that don't open source all of their code..
radus··on Pharmacokinetics: Drug development's broken stair
Moreover, pharma companies and academics already do model PK.. it's a huge field of study, not some ignored "broken stair" - there is definitely "serious money" behind this.
radus··on Show HN: Nue – A React/Vue/Vite/Astro Alternative
Yep, nice landing page but the component comparisons are beyond disingenuous, as should be obvious to anyone who has implemented such a thing before. If you toss out the additional features, types, accessibility, customizability and composability afforded by the use of a UI library, of course you can implement it in < 200 lines -- in any framework.
radus··on Show HN: Lantern – a PostgreSQL vector database for building AI applications
Not a Supabase user, but to my knowledge -- no. Except for a set of blessed extentions, Supabase only supports extensions that are written in "trusted languages" (ie. supported by pg_tle), and Lantern is written in C, which is currently not supported.
radus··on A boy saw 17 doctors over 3 years for pain. ChatGPT found the right diagnosis

  sed 's/doctor/programmer/g'
radus··on Longevity gene from naked mole rats extends lifespan of mice
no
radus··on Python: Just Write SQL
Peewee is excellent! I've especially enjoyed using it with SQLite - there are a number of handy extensions and very good support for user defined functions.
radus··on Python: Just Write SQL
I occasionally do this with views managed by https://github.com/xelixdev/django-pgviews-redux/.
radus··on Nextflow: Data-Driven Computational Pipelines
This is the first time I've seen this and it looks very interesting -- thank you for sharing!

I described my workflow in a different comment on this post, and this seems like something I could port to with minimal changes in code since every step is already a Python function and even decorated by @task.

radus··on Nextflow: Data-Driven Computational Pipelines
The DDA pipeline goes like this: ThermoRawFileParser -> Comet -> [a bunch of OpenMS tools] -> Percolator -> [custom quantification stuff]. The data is mostly derived from chemoproteomics experiments where you have isotopically labeled control and compound treated samples that are enriched with some probe. As a result, we work a lot with ratios and have to differentiate the scenario where your compound completely blocks probe labeling/enrichment or it's just stochastically missing due to the nature of DDA. For TMT it's pretty similar. I'm working on DIA as well though it turns out there's still quite a few challenges there for our particular use case.

To answer your broader question about the general need for some structured pipeline or workflow orchestration.. That comes down to volume of data (we do screens as well as one-off studies) and a desire to reduce human involvement as much as possible. So the goal is to have raw files be immediately picked up, processed, and loaded into on internal application where it can be queried and interesting data can be highlighted. During my PhD, this was also a goal of mine (and I have at least two github repos where I got close) but it was definitely less of a priority since actually doing experiments and downstream analysis was the limiting factor.

PS: if you want to talk off-HN, I should be your latest stargazer

radus··on Nextflow: Data-Driven Computational Pipelines
I've considered using Nextflow for bioinformatics pipelines but have yet to take the plunge.

At work, I develop a proteomics pipeline that is composed of huey¹ tasks (Python library; simple alternative to Celery) which either use subprocess to call out to some external tool, or are just pure python. It runs in a worker container which is managed by Docker swarm, and all containers pull jobs from redis. For our scale, it works great. However, I don't have control over the resource utilization of individual steps, and in the past I've had issues with the pipeline blocking as a result of how I was chaining tasks together. I think something like Nextflow would remove these limitations, but one thing I think I would miss is the ability to debug individual pipeline steps locally with an interactive debugger. As far as I can tell, Nextflow has logging/tracing facilities but nothing quite like an interactive debugger. I'd be happy to be told I'm wrong, or even that I'm doing it wrong.

Other reasons I'd like to start using Nextflow:

- my homebrew pipeline would be easier to setup/share

- there are some efforts in the proteomics community to develop Nextflow pipelines (eg. QuantMS²). I think it would to have a shared language to express pipelines, and it would make benchmarking simpler.

___

¹ https://github.com/coleifer/huey/

² https://docs.quantms.org/en/latest/

radus··on Histoire: A new way to write stories, powered by Vite
For me it's more about documenting your components for my team/myself. I guess you can think of it as a framework for creating doc pages with interactive demos of components, as shown in this demo: https://vue3.examples.histoire.dev/story/src-components-base...
radus··on Histoire: A new way to write stories, powered by Vite
So I submitted without realizing that the landing page doesn't provide very much context, especially if you're not exposed to frontend stuff. Keep in mind that Histoire hasn't seen a 1.0 release yet.

In short: The "stories" here are frontend components that are being rendered in isolation, with the ability to play with their params. It's also a nice way to document custom components in a project (this would be the "book" I guess). Storybook¹ is the mature project in this area.

As for Vite it's an alternative to Webpack which has gained rapid popularity - I've enjoyed using for its relatively light configuration and very fast live reloading support.

⸺

¹https://storybook.js.org/ (much better landing page)

radus··on Histoire: A new way to write stories, powered by Vite
Though Storybook now supports Vite as well, I like Histoire because it cuts down on boilerplate, especially for Vue 3 projects.
radus··on Virtualizing development environments in 2023
Devcontainers are indeed the answer if you’re using VSC. I use the docker-outside-docker feature (there’s a few flavors of these) so my app can be defined with docker-compose. The experience is nice once you’ve taken the time to customize your image, settings, and extensions.
radus··on Polars: Company Formation Announcement
Seems like that isn't directly referenced in the article, but the first sentence is: "The suboptimal state of DataFrame implementations can mostly be attributed to:", so I take that section to provide justification for the need for polars in the first place, in a world where there exist several other popular DataFrame implementations.
radus··on Ask HN: What plotting tools should I invest in learning?
Seaborn and matplotlib for python and echarts for javascript.
radus··on Ask HN: Is anyone using PyPy for real work?
I don’t use it because I make frequent use of scientific libraries. If it were possible to use on a function by function basis, with a decorator like numba, I would definitely give it a go.
radus··on Extreme heat means 2/3 of North America could suffer blackouts this summer
I can't square away this statement with the fact that all of the major electric utilities in California, and especially in southern California, are logging record-breaking profits and issuing record-breaking dividends.

I realize that in your scenario we're talking about millions of people no longer paying utility bills, but surely that could not and would not happen overnight, and I cannot imagine that these companies could not find some wiggle room in their billion dollar profit margins to adapt to a change that might for once lower monthly bills.

radus··on Show HN: Kysely, a type-safe SQL query builder for TypeScript
I can't think of a single project I've worked on that did not need dynamic where clauses almost immediately.
radus··on Alphabet selling Google Domains assets to Squarespace
I’ve used namecheap for many years and have started using porkbun recently. Both have given me no problems, have reasonable prices and have those features.
radus··on Tesla removes parking sensors, the results are predictably terrible
I don't understand how even one of those brake slamming moments isn't sufficient to stop using that feature forever.

I am extra circumspect when driving around Teslas as a result of this seemingly common and extremely disconcerting flaw.

radus··on GitHub slashes engineering team in India
import windows12 didn’t do the trick?
radus··on Using ChatGPT Plugins with LLaMA
Guess I need an LLM to block ads from the output of other LLMs.
← PreviousPage 2 of 9Next →