michaelhoffman

Joined 15 years ago

Karma
5,334
Submissions
810
Member since
Dec 13
https://hoffmanlab.org/

https://twitter.com/michaelhoffman

https://github.com/michaelmhoffman

https://hnbadges.netlify.app/?user=michaelhoffman

View on Hacker News

Recent submissions

Comment · 10 months ago
I understand why this is bad, but I personally would sign up for a Microsoft account anyway. Mainly, I don't want all my stuff in "C:\Users\micha". Is there a way to set your username?
Comment · 1 year ago
When FASTA was invented in 1985, generally sequencing reads would be about half that.

The simplicity of FASTA seems like a dream compared to the GenBank flat file format used before then. And around the year 2000, less computationally-inclined scientists were storing sequence in Microsoft Word binary .doc files.

A lot of file formats (including bioinformatics formats!) have come and gone in that time period. I don't think many would design it this way today, but it has a lot of nice features like the ones you point out that led to its longevity.

Comment · 1 year ago
Using machine learning, he counted all of the yurts.

Counting all of the yurts that happen to be using machine learning is a way more difficult problem.

Comment · 1 year ago
> I assume the author means "out of all the ISAs I know"?

Out of all the ISAs where they know whether it provides integer division or not.

Comment · 2 years ago
This is not "hard-coded" as I would describe it. It is defined in `gv.el`:

    (gv-define-setter buffer-string (store)
  `(insert (prog1 ,store (erase-buffer))))
Unfortunately, it is marked obsolete since 29.1. The NEWS says:

* Many seldom-used generalized variables have been made obsolete. Emacs has a number of rather obscure generalized variables defined, that, for instance, allowed you to say things like:

    (setf (point-min) 4)
These never caught on and have been made obsolete. The form above, for instance, is the same as saying

    (narrow-to-region 4 (point-max))
Comment · 2 years ago
This used to be the case until Emacs 24.1, in 2012.

    Passing a nil argument to a minor mode function call now ENABLES
    the minor mode unconditionally.  This is so that you can write e.g.
    
        (add-hook 'text-mode-hook #'foo-mode)
    
    to enable foo-mode in Text mode buffers, removing the need for
    'turn-on-foo-mode' style functions.  This affects all mode commands
    defined by 'define-minor-mode'.  If called interactively, the mode
    command still toggles the minor mode.
Comment · 2 years ago
Comment · 2 years ago
When would you need to use rdmsr and wrmsr in a crisis?
Comment · 2 years ago
I wonder if they swapped the benchmark results somehow. Because on my computer, I get roughly the same times but with {} twice as fast as dict().
Comment · 3 years ago
I don't think so, but in 2023 "PC" can refer to a whole bunch of different things, and "5150" is precisely clear about what it refers to.
Comment · 3 years ago
I hope it keeps its blazing-fast startup. I regularly used Paint instead of Photoshop on a system where I had both because Paint starts instantly but Photoshop took a bit.
Comment · 3 years ago
The Bay Area has inadequate public transport for a metro of its size, but its utility is kind of another universe from the Austin's CapMetro.
Comment · 3 years ago
This is super cool. I use Emacs `abbrev-mode` for taking contemporaneous notes but autosuggesting words would be great.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton