Live data from Hacker News

Viewing profile — benjamin-lee

benjamin-lee

HN member
Joined
Tue, Feb 26, 2019, 4:02 PM UTC
HN karma
138
Public activity
19 items

About benjamin-lee

NIH-OxCam scholar, DPhil student at Oxford. https://benjamindlee.com

https://github.com/Benjamin-Lee

Recent public activity

  1. comment
    Comment #41466537

    >> so it’s usually not worth spending a ton of time optimizing single-threaded performance for a single experiment when I can just perform a big MapReduce. Is this the scientific v…

  2. comment
    Comment #41466457

    Author here. I love the type system. By using distinct strings to represent DNA, RNA, and protein, I can avoid silly errors while still using the optimized implementations under th…

  3. comment
    Comment #41466435

    Author here. This is basically the approach I am using these days to get maximum multithreaded performance for when it really counts (inner loops) [1]. I draft in Python and use Co…

  4. comment
    Comment #39422510

    Not the author of this paper but am current PhD student focused on viroid discovery. There's no TEM but there are good methods such as RNAfold [0] for predicting their structures. …

  5. comment
    Comment #34761728

    This looks excellent for my use case, which is visualizing viroid and viroid-like circular genomes. Right now, I reluctantly use the R version but am eager to try this out. I spent…

  6. comment
    Comment #30824967

    I’m a huge fan of the moonwatch both for its beauty and history with the space program. Ever since I was 10 I’ve wanted one. However, I’m a PhD student and there’s no way I can aff…

  7. story
  8. comment
    Comment #29850284

    I followed this plan and lost over 100 lbs (45 kg) in about a year and have kept it off for the last five years. Even more impressively, I did it while eating the very same junk fo…

  9. comment
    Comment #29590244

    Ah that makes sense. I agree with you; I’m not a huge fan of trying to infer where the types came from myself either when reading code on GitHub since it doesn’t have the inference…

  10. comment
    Comment #29589857

    There is some logic as to why that is. Here [1] is an explanation for why it makes sense but the tldr is that you don't want to be manually importing functions such as `$` and `+`.…

  11. comment
    Comment #28651621

    You hit the nail on the head. This is just the lexicographically minimal string rotation with a canonicalization step. I have actually had this on my to-do list for a while. The tr…

  12. comment
    Comment #28651606

    Author here. This is spot on. The majority of the code I write is either piping data around to existing tools using shell scripting and Snakemake or writing the data processing cod…

  13. comment
    Comment #28651507

    I'm sorry, I completely forgot that the file I used was from six months ago when I wrote the blog post (and then promptly forgot to publish it). In the last half year, the number o…

  14. comment
    Comment #28651278

    I didn't post it because it's quite big (150M) but readily available from the NCBI Virus portal [1]. I would love to see how well other languages compete both for speed and simplic…

  15. comment
    Comment #28651228

    I actually use TypeScript/JavaScript a lot for this reason, especially for biological algorithms that I want to run in the browser. The developer tooling is also as good as you can…

  16. comment
    Comment #28636479

    This is because there's four bases and each can either be included or excluded from a given combination. So there are 4*2 = 16 combinations each of which with their own letter. In …

  17. comment
    Comment #28627360

    You make a fair point that using optimized numerical libraries instead of string methods will be ridiculously fast because they're compiled anyway. For example, scikit-bio does jus…

  18. story
  19. comment
    Comment #23778431

    I'm not the OP but I can confirm in my own project, we found about a 10x performance gap between AssemblyScript and TypeScript. In essence, we're working on a rewrite of DNAVisuali…