Room temperature ketchup is always suboptimal in my opinion. It's fine if I have to open a fresh bottle, but room temperature ketchup is like room temperature milk to me: consumable, but a bit unsettling.
I am guessing it only resorts to that expansion if it dosesn't _already_ know about the command, because $(printf '#!/bin/sh\necho pwned\n' > /bin/git-status; chmod 755 /bin/git-status; git status) results in the thing happening that you'd expect, not a mysterious message
FWIW, both brew and kubectl also have adopted this behavior (of $(basename)-plugin style verb extensions) so I find it unlikely they'd all do it if it was a straight-up facepalm
probably adding a confirmation message the first time the alias is used for each command would be good, it would be nice to know when i'm invoking git and when i'm invoking a third party binary regardless of any exploit attempts!
FWIW, the latest stable release is 7.0.12, released a week or so ago: https://www.mongodb.com/docs/upcoming/release-notes/7.0/. (I'm not sure why the URL has /upcoming/ in it, actually: 7.0 is definitely the stable release.)
Field size for American football is definitely standardized: 100 yards between goal lines and 160 feet wide. Lots of Americans will have an intuitive sense for how long something like "three football fields" is.
But that intuitive size would in fact be wrong. The size we associate with an American football field is more commonly going to be the distance including the end zones.
We know quite a lot about Greek music theory (Thomas Mathiesen's Apollo's Lyre: Greek Music and Music Theory in Antiquity in the Middle Ages is the go-to source here: https://archive.org/details/mathiesen-1999-apollos-lyre/page...). Of course we don't have recordings, but we do have a solid understanding of the theory, and some very good guesses as to the scales and intervals.
Oh boy. Music theory, as such, has no "rules," and so of course Bach did not invent them. Music theory is a descriptive enterprise, which aims to make sense of music as composed/performed/enacted by humans. (I have a PhD in music theory.)
Bach's chorales were functional music for the Lutheran church, and to the extent that they form any sort of "rules" in music theory, it comes from the fact that they have been used to teach harmony for a long time (since at least the 1940s, as evidenced by this article). The reason for that isn't so much that they're prime examples of Western common-practice harmony, but rather that they have a homogeneous texture that's easy to use in classrooms, because they're easy for one person to play at the piano or for students to sing.
Recent music theory pedagogy has largely been moving away from the reliance on Bach chorales to teach harmony, especially as music theory has taken a broader perspective on what music we should be studying anyway. Studying the Bach chorales is just fine if you want to know about how Bach used harmony, but there's a whole lot of music in the world, and there's no meaningful sense in which Bach's music intrinsically defines a set of rules any more than Mozart's or Clara Schumann's or AC/DC's or Meredith Monk's defines a set of rules.
I'm curious, what is music theory pedagogy moving to?
Although as a PhD you obviously know the subject much better than I do, I'll venture a tentative dissent, mostly because I'm curious what your rebuttal will be.
As an undergrad I took a two-course sequence in music theory, I loved most of it. I still remember nearly everything I learned, and twenty years later I was able to more or less reproduce one of my compositions from memory.
Our professor promised us that at the end of the semester we would compose four-part chorales and sound like Bach. I flat-out didn't believe him, but indeed I was able to compose something I was happy with. Overall, at the end I felt like I to a large extent I understood music -- much more so than I initially believed to be even theoretically possible.
By the end of the second semester, as we got into the twentieth century, the "rules" got broader and broader, and the course seemed to get vaguer and vaguer. Although I love twentieth century music, I stopped enjoying the class: different compositions had less and less in common, and there didn't seem to be any large-scale "theory" to be explained. Every piece had its own theory, and I didn't feel like I "understood" anything at all. Rather than attend class, I'd rather just go to a concert hall.
I certainly agree that there are a tremendous variety of musical traditions, many of which arose in places other than Western Europe. Calling it "music theory" is a disservice, when what's being explained is the theory of a single one of these traditions. Nevertheless, I'd rather study one of them in depth than take a broad survey.
I'm not sure what your dissent is, so I'm not sure how to respond to it. I think you're saying that you had a good experience in your music theory classes, which used Bach chorales, and you wouldn't want to discard that experience in favor of a shallower, broader curriculum.
If so: that's not really what I'm saying at all! Even in courses that focus primarily on, say, Western common-practice harmony (as many basic undergrad theory courses do), you're likely to find a much broader variety of music being taught than just the Bach chorales. That's partly because the field as a whole has been moving away from strict adherence to the traditional canon, but also more basically it's just good pedagogy. That is: most music that students play isn't going to be four-part homophony, and so learning to do harmonic analysis of string quintets or saxophone quartets or lead sheets provides a much stronger grounding about how harmony works in real music -- even if you circumscribe harmony quite strictly as "harmony as deployed in Western common-practice music betwen 1700 and 1850."
Disclaimer: I left the field and have been employed full-time as a software developer for more than 5 years, and pedagogy isn't an area of the field I follow closely. A good recent example is the open-access textbook Open Music Theory (https://viva.pressbooks.pub/openmusictheory/); perusing the examples there I think will be a good demonstration of the breadth of both styles and composers that's pretty representative of current pedagogy, even without radically altering the aims of the undergraduate music theory curriculum (which is also happening).
It seems I perhaps misunderstood you and was dissenting against a strawman! Certainly, your second sentence accurately characterizes my point of view.
I remember that our textbook (Kostka and Payne's Total Harmony) had a lot of examples other than Bach chorales, and if I recall correctly the homework exercises did too. The composition exercise I remembered 20 years later was something vaguely similar to a Bach invention. That said, chorales were used quite heavily -- perhaps because they were the simplest interesting examples that illustrated the theory.
My professor wrote out music at the chalkboard during class; he even had a special chalk holder that held ten pieces of chalk, to produce a grand staff. I suspect that other types of music might be less well suited to chalkboard lectures, but that seems to be a trend in academia anyway. I'm a math professor, and we seem to be among the few holdouts in that regard.
Anyway, thanks for the textbook link, I will have a look!
The thing is, all those traditions blend together. You can't say much about the last century of music without talking about jazz, rap, breakbeats, et cetera, and formal western education has just barely figured out those exist. You can go deep in what's taught in formal Western theory education, but you'll miss out on a lot, and you won't be able to make sense of most music.
The longer ago it was, the more the rules of an era of music get codified. You can run the four-part chorale rules like an algorithm.
But it's not just that - prior to Beethoven, composers were seen as not having some internal genius, but were praised by their ability to channel some kind of divine source of music - this view makes music pretty homogeneous for any era. I see a similar (arguably more extreme) outlook in many subgenres of EDM, the music isn't for stroking the producers ego but serves a purpose, the best can make something engaging in a hyperspecific style.
Coming from the increasing individuality in romantic era, 20th century explicitly tried to break those rules and one group explored ideas from folk music (Bartok, Stravinsky, Debussy) and another tried to form new ones from first principles (Schoenberg). In my opinion the latter group mostly failed - maybe they assumed rules come before music, instead of rules being written afterwards to describe music?
I think the "music theory" that will come to define our current era is the same kind of post-modernism that defined literature and art - bands that use different genres like people used to use different instruments, music that explores how rules relate to finished product (Serialism), how fundamentally different recorded music is compared to live performances, sampling, or the exploring artifacts of recording/production/codecs (Alvin Luciers I am sitting in a room/Steve Reichs tape loops/Paul Lanskys Idle Chatter, respectively).
What these all have in common is stepping outside of working in a singular "music theory" and instead working with "music theories". I like this, but not everyone does - this way of thinking about music can become detached from the actual musical experience leading to something like Punk, which then gets quickly subsumed by the thing it was rebelling against.
As another former music student turned engineer I think the breakdown comes from the misinterpretation of "rule" which could better be called "practice" or "style."
My barely-above-pedestrian take is that music theory is an analytical exercise that tries to separate order and patterns from the spontaneous discovery of what "sounds good" in a piece so that the practice can be reapplied to another. The rules of theory aren't really rules, they're a taxonomy of practices exercised by composers and musicians that came before us. And what works changes with the taste of audiences.
A great example to me is parallel octaves, fourths, and fifths. You would be hard pressed to find popular music composed in the 20th century that didn't make liberal use of those, and the technique for writing and playing them is so commonplace it makes no sense to call it a "rule" to avoid them.
That's really interesting. I believe that's the hallmark of a mature field, where it starts bumping up against the limits of understanding in an almost fractal way.
People who have lived the field for long enough can ignore all the curlicues and find a beating heart. Anyone coming in fresh is hammered with detail after detail.
I've noticed something similar with the game I play, Dota 2. It's obv not as rich or beautiful as music, but it's been around for a few decades already, and skill is percolating through the community in a beautiful way. Years and years of muscle memory means people can forget about all the minutae and practicalities and just play.
And if anyone has time for a longer explanation, Adam Neely did a great video about "music theory" - sorry, I mean "the harmonic style of 18th century European musicians". It's worth watching. https://youtu.be/Kr3quGh7pJA
Academic music theory is descriptive. But it's a bit like Latin. You don't learn Latin to speak it, you learn it to understand the foundations of other related languages. It makes it easier to learn them because you have a ready made meta-template for grammar and vocabulary.
Informal music theory is absolutely prescriptive. You cannot write music in a recognisable genre without following the rules of that genre for instrumentation, production, use of rhythm, harmonic colour, melodic form (and sometimes specific melodic cliches), vocal/instrumental stylings, arrangement choices, and decorations.
All of those are invariants for genre. Some of the options cover a wide space of potential choices, but anything outside a genre boundary is very obvious and most people can hear it instantly.
Of course these rules are rarely written down, and most musicians pick them up by ear.
The only difference with Bach etc is that attempts were made to write down the rules. These became Music Theory™.
But in fact the rules don't come close to describing what Bach etc were doing, so they're mostly a poor and misleading attempt. Recently people like Gjerdingen have been expanding on traditional academic theory by going back to the original historical sources - not just the music itself - and examining what and how composers of that period were taught. And sometimes why.
Meanwhile naive statistical analysis is pointless and even stupid. Baroque music is tightly structured and all the elements interlock. So saying "The bass moves by step 50% of the time" is a non-fact.
So - yes it does. But the problem is knowing why at that particular point in that particular piece. And statistical analysis won't tell you that.
I find it interesting that all of your examples to help define the broadness of musical theory as you see it are all, themselves, descended from western musical thought. That might speak to the point being made in a different way than any of us consider it.
Fair point; that's partly my own bias (I know basically nothing about non-Western musics), and partly because of the article I'm responding to ("Bach doesn't tell us anything about gamelan music" isn't an interesting observation).
But also: the majority of academic music theory at the moment does focus broadly on the Western tradition. That's changing, I think, but a quick scan of recent articles in Music Theory Online (https://www.mtosmt.org/issues/issues.php) reveals quite a broad spectrum of music, most (not all!) of it is from the Western tradition.
>Fair point; that's partly my own bias (I know basically nothing about non-Western musics)
Well, let's expand this: how many do in the area HN has the majority of its readers (I presume US and, maybe, Europe)?
I happen to know about a couple of non-western music traditions (because of my geography).
But it's not like those are mainstream or even merely somewhat popular outside of the areas where they are a tradition. It's not like the Austrians listen to ragas, or the Chileans to balkan polyphonic choirs (some might, but then again if we look enough, some would also listen to noisecore or renaissance lute tunes).
I think a trend in contemporary theory is the understanding that western music study is a like a philosophy for how it's been taught and understood for a few centuries. There are a lot of composers that have outright rejected the practice to bring in influences and learn from other cultures in the last half of the 20th century, and more recently schools will teach students some pedagogy from other cultures or perform works from non-western composers as a means of exposure.
The kind of downside is that until the late 20th century, music education (including theory) was basically a master/apprentice relationship and even today we have a lot of that tradition baked into the formal study.
That's a little pedantic. Well music theory in the abstract and academic or niche sense have "no rules", music theory as practiced, has rules, even in pop and rock.
(Otherwise it wouldn't be a "theory" - just descriptions of disjoint practices).
Keys and scales are already "rules". How a triad chord is formed is another rule. Major/minor/modes. Diatonic chords are a rule. Modulations the huge majority of the time follow certain rules. And so on.
Rules might be violated for effect or there might be different spins on them (e.g. blues scales and progressions vs classical music), but there's a foundation of rules that do exist.
It seems like we focus on some exceptions, to be seen as "broad minded" and miss the forest for the trees, the forest being that the majority of music consumed, charting, etc, does follow some rules, and they do come from traditional music theory (with some spins, like different progressions or scales being more common after the blues, some things being more or less common, etc.).
And yes, there are ethnic music traditions with different rules, but as long as we're talking about Europe/North America, the dominant popular music of Central and Latin America, and the majority of the pop/ballad/etc. business globally, there's a foundational ruleset.
Practically, 95% percent of the western population still only (or predominantly) listens to the same kind of music, based on "common practice" harmony - just with the blues and such spices on them on top.
At the furthest from they, they might listen to something like atonal hip hop (though even hip hop tunes had long used samples from earlier pop/rock/jazz/funk tunes) or conventional scales and harmony, usually simplified for the genre.
Man with PhD in subject is pedantic about that subject on Hacker News, film at 11. ;)
There are, of course, stylistic norms, and a lot of those norms are shared across lots of kinds of Western music. The thing I'm pushing back against is a misconception I see a lot that people who teach music theory are arbiters of quality in music, and that music that doesn't "follow Bach's rules" is somehow less good than music that does. (That misconception is probably well deserved, because that is how music theory was presented for a long time. I think that has changed, though, and that you'd be hard-pressed to find someone in the field that holds that position these days.)
Saying music theory has no rules and is purely descriptive, is like saying grammar has no rules and is purely descriptive. These days grammarians have sensibly decided to be descriptive only, but there have been a hell of a lot of prescriptive grammar books over the years.
Well, most popular music follows a few styles. That's not just "popular" as in "top 10". It's popular as in "top 10000".
So, if you want to write music in those styles (say, be a rock band, or a country songwriter, or a German schlager composer, or a fusion jazz player, or a funk-meister), and if you want people to enjoy it and/or buy it, you try to follow those styles too.
That's precisely the point he was making. If you want to understand music and make good music it's important to understand these stylistic conventions. If you deeply understand them you can understand the situations in which they do and don't apply and figure out ways to achieve the result you want.
Bach didn't invent the rules of the contrapuntal Baroque style any more than he invented the "rules of music theory". Which is what the actual FA is saying. However, Bach is a particularly good example of this style and so for a long time people used to study chorale harmonizations in particular and even in my music study I was taught chorale harmonization in the style of Bach. When you're taught this you are taught lots of rules (eg "avoid parallel 5ths") which help to achieve pleasing counterpoint but of course when you look in the Bach chorale canon you can find instances where he violates all of these rules.
>Bach didn't invent the rules of the contrapuntal Baroque style any more than he invented the "rules of music theory". Which is what the actual FA is saying.
I know that, and I agree with the actual FA.
Just not with the comment that there are no "rules of music", which even if pedantically true (obviously, there are microtonal and different harmonic ethnical traditions, there are western niches like noisecore or musique concrete, there is contemporary classical and atonal music, and so on), it falls flat when it comes to the huge majority of music as the audience knows it, and especially western audiences (which the article is addressed at).
Heck, not just in the west but also in Europe, Latin and Central America, Japan, Korea, Chinese pop, etc. follows the same set of foundational rules (12 note scales, major and minor keys plus a dozen variations, modes, triads, and so on). Heck, even A4=440 has been pretty much standard for decades...
> Music theory is a descriptive enterprise, which aims to make sense of music as composed/performed/enacted by humans.
That seems a rather rigid stance. Those same composers may have studied theory, incorporated its elements, and invented new variations that gained adoption which then become theory, right? It feels a bit like language in that sense.
What I mean when I say that music theory is a descriptive enterprise is quite literal: the research that professional music theorists do is designing theories to describe music we see and hear in the real world. So yes, composers (now and in the past) do learn music theory, and do write music with stylistic norms in mind, as well as adding their own spin on things. That work, in my reading, is not music theory, it's composition! The act of "inventing music theory" is something done by music theorists (writ large), not by people writing music.
To use your analogy: composers are inventing music in the same way that normal speakers invent language. I don't think I'd describe new variations on language as "inventing linguistics," though, as linguistics is the in-depth study of language (and as such, "inventing linguistics" is something done by linguists, not by language speakers). But language is not linguistics, in the same way that music is not music theory.
>The act of "inventing music theory" is something done by music theorists (writ large), not by people writing music.
Well, that's a contradiction with: "the research that professional music theorists do is designing theories to describe music we see and hear in the real world".
Given the later, it's actually "people writing music" who create new music theory. Music theorists merely takes notes and write it down (formalize it, descriptively).
>I don't think I'd describe new variations on language as "inventing linguistics," though, as linguistics is the in-depth study of language (and as such, "inventing linguistics" is something done by linguists, not by language speakers).
Well, linguistics is not inventing, but describing what language speakers do in a formal language. We could say they "invent linguistics", but that would be like saying a secretary "invents the typed note" someone dictates to them.
So music theorists might "invent music theory for X", but composers invented X (e.g. modal interchange).
While acknowledging that git's CLI is often unintuitive: `git tag` lists tags, `git branch` lists branches, and `git remote` lists remotes, so I don't think I understand this particular objection.
Compare it with `git branch -a` and `git remote -v`. That's my point. Not only are they all different flags but you'll get half the data you could be getting and not know why. It's impossible to google
The current version of perl is 5.36 (it's a really good perl). The language formerly known as Perl 6 is now called Raku. The "Perl 7 initiative" referred to in the grandparent is the idea that at some point, the 5.x series (i.e., the language you know as Perl) will accrue enough features and deprecate enough very old behavior that it'll get rebadged as Perl 7.
There's not a timeline for that right now, nor clear consensus on what exactly will be worth a version bump or how much backcompat between 5.x and 7.x there will be going forward. It's being actively discussed, though; the Perl Steering Committee (formed a couple of years ago) meets weekly, and discussion on p5p (the language development mailing list) is still fairly active, though admittedly much less so than in years gone by.
Very little of git as used by most people is Perl these days; almost everything has been rewritten in C by now. A few things remain, but they're pretty niche: git-send-email, the git-cvs tools (!), git-svn, and git-fast-import (maintained in the contrib/ tree) look to be the only top-level perl things left, at a glance.
Perl may or may not be relevant in 2022 (it's certainly relevant to me), but this article does not do a great job at explaining Perl's merits. The example code, in particular, is certainly not what I'd expect to see in a modern Perl shop. They don't use warnings or strict, which the author cites as a benefit of Perl over Python, and which is the bare minimum for maintainable perl these days. The examples also use CGI.pm, which was removed from the core Perl distribution as of perl 5.22, which was released in June 2015! (Nowadays you'd use a framework for that; there are lots to choose from.)
Many of the things the author cites are good about Perl are, in fact, good about Perl. But if you're writing new software in 2022, you should probably pick a language with a future, and that language is probably not Perl.
Perl certainly suffers under 'TMTOWTDI' with libraries. Go to CPAN, ask a friend, hit stackoverflow, you're gonna find something, but like with PHP, there's probably a bunch of libraries you shouldn't be using or have been superseded
reply