317 karma · joined January 15, 2011
Major and minor keys use the same shapes / solfege system. The major scale is "fa, so, la, fa, so, la, mi, fa", while the minor scale uses the same syllables but starts on la. This means that the shapes always represent the same intervals (i.e. pattern of whole and half steps) whether a song is in a major or minor. It's hard to describe but makes sense when singing.
That's one reason shape notation never caught on; another reason is that the notation was introduced by publishers of American sacred music and not by, say, music conservatories.
[alias]
git = !sl
catches e.g. `git git status`, which I run shockingly often.Here's what it looks like to correctly annotate an array of objects with with class-validator and json-schema annotations:
@ApiProperty({ type: Foo, isArray: true })
@ValidateNested({ each: true })
@Type(() => Foo)
@IsArray()
items: Foo[];
It's not just that you have to define everything in triplicate, it's that the failure mode for forgetting any of the above is to silently not validate your data. Unless you're very careful, you don't get the safety benefits that were the whole point of using class-validator in the first place.If I were starting from scratch, I would instead consider either io-ts or a solution that involves a code generation step, where this entire category of risk is avoided.
I mean, I see why it's intuitively unappealing to you, but there are perfectly good reasons for the design.
https://lit-html.polymer-project.org/guide/template-referenc...
I'm not sure why F would be more popular than D and A. One hypothesis would be that it has fewer accidentals; it's not a fun key for guitars, but many contemporary pop songs aren't guitar-driven anyway.
In test code, I am a lot more tolerant of straight-line repetition in the name of simplicity, in a manner that would be worth abstracting were it in non-test-code.
There used to be a great face blindness test online where it first showed you a bunch of full pictures of heads to memorize, then for the quiz it showed cutouts of just the face. I had no idea that I was relying on all these non-face features until they were dramatically removed for that test. (Which I bombed.)
I do.
I once watched Up in the Air and had to ask at the end which one was George Clooney. (In my defense, I had previously seen him in Syriana, where he had a beard. Hair and facial hair are the crutches I tend to use to recognize people.) Needless to say, on the Famous Faces test I had trouble with anyone less memorable than, say, Barack Obama.
If you do this yourself, please reconsider. My experience is that drivers who do this (especially at 2-way stops) are watching carefully for perpendicular traffic while blithely ignoring pedestrians approaching the crosswalk that they are rolling through. As a pedestrian, I consider this the second highest threat to my personal life+limb, after left turners who (again) watch for cars and not pedestrians.
(And the sync thing is neat!)