News for hackers. Stuff that matters.

michaelhoffman

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?
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.

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.

Re:Dividing unsigned 8-bit numbers on Saturday December 21, 2024 @03:37PM (#42482121)
> 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.

Re:My mental model of setf was wrong on Monday July 29, 2024 @04:39PM (#41103556)
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))
Re:Avoiding Emacs Bankruptcy on Monday June 24, 2024 @04:32PM (#40780408)
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.
Re:I've Stopped Using Box Plots. Should You? on Sunday June 23, 2024 @08:22AM (#40766905)
Wherever possible, I use sina plots, which provide many of the advantages of violin plots while actually showing the individual data points.

https://en.wikipedia.org/wiki/Sina_plot

https://cran.r-project.org/web/packages/sinaplot/vignettes/S...

Adding on a representation of mean in a different style (like a black bar) can be helpful. So can a boxplot-style indication of variance, in some cases.

Re:Linux Crisis Tools on Sunday March 24, 2024 @10:42AM (#39807517)
When would you need to use rdmsr and wrmsr in a crisis?
Re:Performance Analysis of Python's Dict() and {} on Monday January 22, 2024 @03:14PM (#39094800)
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().
Re:Bus Sniffing the IBM 5150 on Friday October 06, 2023 @01:12PM (#37793369)
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.
Re:Paint on Windows is getting layers and transparency support on Monday September 18, 2023 @02:11PM (#37559770)
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.
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.
Re:Show HN: I automated 1/2 of my typing on Thursday August 31, 2023 @11:36AM (#37338864)
This is super cool. I use Emacs `abbrev-mode` for taking contemporaneous notes but autosuggesting words would be great.
Re:On (My) Caste on Wednesday August 30, 2023 @05:49PM (#37329626)
It seems like you may be reading some things into my comment that I didn't write? I made no claims about the procedure being fair or unfair—I'm just describing what it is.
Re:On (My) Caste on Wednesday August 30, 2023 @04:26PM (#37328518)
I am faculty at University of Toronto. As part of the process of considering someone for tenure here, the university solicits six appraisals from relevant experts at other institutions. The candidate will not know who the referees are. Generally, the appraisals are positive; a negative appraisal may severely affect someone's tenure case.

I don't see the concern in this post as one of widespread caste discrimination at University of Toronto, but more that he's worried that a single prejudiced person might upset this, either an external referee, or someone internal involved in the decision-making process. In fact, that is exactly what he says.

https://www.aapm.utoronto.ca/academic-administrative-procedu...

Re:We Don’t Need a New Twitter on Monday August 28, 2023 @10:33AM (#37294654)
Of course, we don't NEED a new Twitter, but many folks WANT a new Twitter.
They're in good company—the C standard also has something called an "expression statement" which is similar.
Re:Advanced Python Mastery – A Course by David Beazley on Wednesday July 19, 2023 @02:00PM (#36790579)
> A Python program may contain statements or expressions. Here's a Python program that contains no statements: 42.

According to the Python Language Reference, that is a Python program made of one expression statement:

https://docs.python.org/3/reference/simple_stmts.html#expres...

Re:My Problem with the Four-Document Model on Thursday July 06, 2023 @01:31PM (#36619657)
I like the four-document model. While it isn't a perfect fit for all cases, for many it is a good start.

We wrote a review of bioinformatics software documentation, which includes a taxonomy of research software documentation (Table 1) and examples of which popular bioinformatics software packages use each two (Table 2). It is clear that not every kind is needed for everything, and it's more of a menu than a prescriptive set of documentation types needed for everything:

https://academic.oup.com/bib/article/19/4/693/2907814

Re:Udge rules Wyoming corner crossers did not trespass on Thursday June 01, 2023 @06:02PM (#36158004)
How else are they supposed to cross from one corner to the other?
Re:Choosing a Name for Your Computer on Wednesday May 24, 2023 @12:39PM (#36060616)
Here, "GB" stands for "United Kingdom of Great Britain and Northern Ireland", not "Great Britain".

> The codes are chosen, according to the ISO 3166/MA, "to reflect the significant, unique component of the country name in order to allow a visual association between country name and country code".[5] For this reason, common components of country names like "Republic", "Kingdom", "United", "Federal" or "Democratic" are normally not used for deriving the code elements. As a consequence, for example, the United Kingdom is officially assigned the alpha-2 code GB rather than UK, based on its official name "United Kingdom of Great Britain and Northern Ireland" (although UK is reserved on the request of the United Kingdom). Some codes are chosen based on the native names of the countries. For example, Germany is assigned the alpha-2 code DE, based on its native name "Deutschland".

https://en.wikipedia.org/wiki/ISO_3166-1

Re:GCC 13 Released on Friday April 28, 2023 @10:32AM (#35741727)
It's based on the errors the proposers actually found in the wild, which seem to mostly be people attempting to use constant powers of 2 or 10.
Re:GCC 13 Released on Thursday April 27, 2023 @02:47PM (#35732821)
My understanding is it only triggers when the left side is 2 or 10.
I doubt they will have much problem finding people who are qualified to teach.

But it's going to make it more difficult to continue hiring people who are seen as some of the best in the world in in-demand areas.

Re:There Are No Fees at America’s Smallest Bank on Monday April 17, 2023 @05:02PM (#35606566)
The old-school way to document savings accounts is with a passbook:

https://en.wikipedia.org/wiki/Passbook

If this bank offers that, then you have the redundant documentation yourself.

Re:RePalm on Monday April 10, 2023 @03:21PM (#35516248)
I wish that were true, but unfortunately some apps do not seem to be designed well in the case of data being turned off.
Re:RePalm on Monday April 10, 2023 @10:07AM (#35512468)
I don't use non-smartphone PDAs anymore, but I really miss:

1. Their ability to do absolutely everything offline. No need to worry that I won't be able to access something because somewhere without data service

2. The ability to have all the PDA features at my fingertips without being hooked up to the world's biggest attention-killing distraction network.

Older »