Better HN
topnewbestaskshowjobs
Log inSign up

joelfolksy

109 karma · joined Dec 22, 2018 (7y ago) · 56 submissions

Submissions

comment 3y ago · link · parent

At least a few of us developers don't use c/c++...

comment 4y ago · link · parent

I'm only an amateur, but I doubt there are string players that "learn" equal temperament. I have no idea how I would find 440 * (2^(1/12) ^ n) Hz, for any n not a multiple of 12, in the way that I can find 440 * (4/3) Hz, or 440 * (3/2) Hz, etc. When playing with equaled tempered instruments like piano, you just listen for clashes and adjust dynamically, which is only going to happen in slower, sustained passages.

And you're right, we don't play "based entirely on just intervals." What we do is constantly adjust our intonation depending on whether we need it to be "just" with respect to something else (like other notes in a chord), or whether we are free to use a more "melodic" intonation. See https://www.youtube.com/watch?v=QaYOwIIvgHg for a good demonstration -- note that he talks in formal terms like "play x in the Pythagorean system," but I think you can largely see this as a rationalization of what players do naturally).

Finally, the presence of vibrato doesn't really obviate intonation concerns, sadly. There's a lot of theoretical debate about how the pitch of a vibrated note is perceived (is it the highest pitch in the range that determines whether the note sounds in tune? etc.), but in practice you can easily verify that adding vibrato to an out-of-tune scale will not make it sound any more in tune, nor will adding it to a shift mask a slightly-missed shift (if only!).

comment 4y ago · link · parent

I hear you. People keep saying Spanish is an easier language than English, but yesterday I pulled up an article written in Spanish and I couldn't even read the first word.

comment 5y ago · link · parent

Is there a single statement about C# in this piece that isn't a complete falsehood?

comment 5y ago · link · parent

Why do you much prefer

  func changeName(p *Person) {
    p.firstName = "Bob"
  }
to

  void changeName(ref Person p) {
    p.firstName = "Bob";
  }

?

comment 5y ago · link · parent

Yep. His claims about C# are so egregiously wrong that the entire piece can safely be dismissed.

comment 5y ago · link · parent

I had the same problem with Go. For years I couldn't figure out what I was doing to offend people.

comment 5y ago · link · parent

"( avx, Intrinsics, etc ... )"

I have to give you credit for trying to apply the Rule of Three to a single criticism.

Of course, I don't really understand how the fact that someone took the time to vectorize the C# submission is supposed to be a mark against C#...

comment 5y ago · link · parent

Is this a parody? Most of the Go players I've met are thoughtful and well-adjusted - they don't resemble this stereotype at all.

comment 5y ago · link · parent

Why are you using "American milk chocolate" as a synonym for "Hershey's"?

comment 5y ago · link · parent

""Paella" in the US (and much of non-mediterranean Europe) generally implies shellfish."

Interested in how you came to that conclusion. All of the restaurants near me that serve paella offer a wide variety of protein options.

comment 5y ago · link · parent

"The proof that JS is actually pretty good is that it has been used to build so many things."

[French Narrator] 5 minutes later...

"I'm not using popularity as the metric."

comment 5y ago · link · parent

Math classes are taught by the Math department.

comment 5y ago · link · parent

Sigh. Yes, tell us more about why the style you've written 3-4 orders of magnitude more code in is inherently simpler/clearer.

comment 5y ago · link · parent

This argument doesn't really have any content, because people who advocate for programming with higher order functions would not agree that such code is more clever; in fact, they would probably argue the opposite. What's the point of debating if you assume the people on the other side already agree with you?

comment 5y ago · link · parent

True. Of course, that only scratches the surface of why it's a terrible job. In many locales, policies that cover commercial driving are prohibitively expensive, and the majority of drivers are effectively uninsured (often without realizing it). It's not a stretch to say that insurance fraud is a core part of that industry's business model.

comment 5y ago · link · parent

Suicides decreased in 2020, btw: https://www.axios.com/suicide-decreased-in-2020-pandemmic-me....

comment 5y ago · link · parent

I can't help but think that if we all had that mindset, we'd still be programming in assembly. People who don't care enough to criticize the status quo don't put forth the effort needed to change it.

comment 5y ago · link · parent

Indeed. Ironically, the only reason we're in a thread talking about Go is years of "Go is so much simpler than language X" propaganda, without which it would have never gained such a hold in the industry zeitgeist.

comment 5y ago · link · parent

It seems like there are basically two types of programmers: those that think that programming languages are "done," and those that disagree.

To the former type, any modern language is roughly as good as any other, by definition, unless you've got an unusual use-case that requires something really specific. Thus any attempt at language advocacy sounds like tribalism or elitism. The people in this camp love to make analogies to woodworking tools, since innovation there stopped a while ago (presumably).

The latter type is perpetually depressed.

comment 5y ago · link · parent

What a great quote. Next time my wife criticizes me, I'm going to say, "Babe, there are only two kinds of men: the ones their spouses complain about and the ones that aren't married." I'll never have to take out the trash again!

comment 5y ago · link · parent

Since simpler languages are easier to work with, let's just remove goroutines and channels from Go. Then all these problems will just go away.

comment 5y ago · link · parent

"A simple language is easier to read." "A simple language builds simple software".

It's become a cliche to bring up brainfuck here, but it really is a direct refutation of these ideas, being a maximally simple language that produces maximally complicated code.

comment 6y ago · link · parent

What would you all recommend for someone who just wants to maximize the performance of his IDE (.NET in Visual Studio)?

I get that going 3900X will give me the fastest compile times, which is cool. But I hit the build button relatively infrequently, and anyway I'm usually switching to reddit if the build is going to take longer than a few seconds, so I'm actually more interested in minimizing the latency of all the moment-to-moment operations like Intellisense, refactorings, highlighting, code folding, etc.

I suspect that some of those operations are mostly single-threaded, but even if there is some degree of parallelism going on, surely this type of "bursty" workload is where Intel can still register an advantage?

So, in other words, do these operations more closely resemble Benchmark A: "Blender render time" or Benchmark B: "Max FPS in Tomb Raider" (and why don't we talk more about the difficulty of making these sorts of determinations)?

comment 6y ago · link · parent

Do you find it easier to read or to understand? I find Brainfuck code incredibly easy to read (there are only eight characters/commands in the language!) but almost impossible to understand.

comment 6y ago · link · parent

What stands out is how apologetic you are for pointing out that a language might be worse (gasp!) than another language. When did this "all languages are roughly equal, and if you say anything else you're a zealot" ideology get so widely entrenched in our industry?

comment 6y ago · link · parent

https://www.usinflationcalculator.com/ - Headline: no.

comment 6y ago · link · parent

"There are only two kinds of politicians: the ones people complain about and the ones who don't get elected." - Republicans

comment 7y ago · link · parent

1: a very good

2: That's

4: question

Comment: 2 1 4.

comment 7y ago · link · parent

Not if it brings progress to a standstill.
12