Threads for nh

    1. 8

      Not at all what I expected as a post. I figured there would be much more political argument clarifying the title. Oh well.

      1. 15

        I am working on a larger rant on cargo culting Google, but I have to build up more satire juice to get on the level of this

        1. 3

          That article is a thing of beauty šŸ˜‚

      2. 4

        Yeah, the subtitle was a 180 for me. At least it was there to let me know what it was actually about, though.

      3. 4

        Same. I want a reason to hate it, I have an irrational distaste towards it for some reason

        1. 4

          For me it’s all the yaml.

        2. 1

          Look at the bright side, at least it isn’t a clickbait.

          1. 3

            It is a headline bait though, the twitterverse likes to only read headlines and judge things on that. I intentionally chose the title so that people on Twitter taking it out of context would look ridiculous.

            1. 2

              Yes, so much I understood, but don’t you think that with a title like that your’re somewhat betraying the reader. Probably the next time you post, I’ll not so eager read your post. Just my two cents.

    2. 4

      Well… of course? Am I missing something here?

      1. 1

        It’s proprietary software distributed by Microsoft.

    3. 4

      ā€œFor a developer, the hardening effort could be a great boon, in that it could show nasty bugs early, it could make them easier to report, and it could add a lot of useful information to that report that makes them easier to fix too.ā€

      This is actually one of the point fans of Design-by-Contract have been making since it takes you right to the bug. Memory-safe languages can prevent them. You don’t see Linus adopting many things like that in this quest to squash all the bugs. I say he’s mostly talking.

      Now, let’s say I tried to commit something with hardening. He wants it to show the bug with a report. It can sometimes be obvious where something was hit but not always. So, a app gets hit with a non-obvious one eventually triggering some containment code. I’m guessing the Linux kernel already has support for pulling the code and data in the app from memory to analyze it in a way that shows where the attack is? Or does he expect me to dump all of that in a file to pull off the machine for manual analysis? Or just the writable parts in memory? I’m just wondering what’s standard in terms of support infrastructure for those doing it his way. There could even be opportunities to design mitigations around it.

      1. 6

        You don’t see Linus adopting many things like that in this quest to squash all the bugs. I say he’s mostly talking.

        I say this a lot whenever the new userspace rant crops up.

        And not even in the context of memory safe languages. It’s far more basic than that. Linux doesn’t really have an extensive set of API/regression tests or a test infrastructure.

        Without any of that, ā€œdon’t break userspaceā€ is completely hollow. It’s really ā€œdon’t let me see you breaking userspaceā€; if folks actually cared about that that much then they would test for it.

        This is also why I mostly consider attempts to rewrite linux in a safer language premature; without good testing it’s just not going to be doable.

        Browsers are quite similar to operating systems in many ways (specifically, that they expose a large API/ecosystem within which you can program, and have a huge base of programs written for them). Browsers have extensive tests which go everywhere from testing the basic behavior of a feature to its million edge cases, including ā€œnobody should write code that relies on this but we’re going to test it anywayā€ edge cases. When we did the Stylo work for Firefox a large, possibly majority, component of the work was just getting all these tests to pass, because we had lots of edge cases we missed. I can’t even begin to imagine how we’d do it without tests. I can’t even begin to imagine how a project like Linux would do it without tests.

        1. 3

          I didn’t know they were lacking a test infrastructure. Yeah, that’s even worse than what I was saying. I especially like your characterization here:

          ā€œWithout any of that, ā€œdon’t break userspaceā€ is completely hollow. It’s really ā€œdon’t let me see you breaking userspaceā€; if folks actually cared about that that much then they would test for it.ā€

          Yeah, this stuff is Linus’ ego until they get tests or contracts helping ensure that behavior. I also remember CompSci people bug-hunting the API’s had problems due to under or no specification of some components. They had to reverse engineer it a bit while they did the formal specs. They all found bugs, too.

          1. 2

            It’s not like the kernel doesn’t get tested, though: https://stackoverflow.com/a/3180642/942130

            1. 2

              I expected a little testing like that. Manishearth and I’s point is that this is a huge, critical project with more contributors than most whose leader is supposedly all about protecting the stability of the userspace. Yet, there’s no testing infrastructure for doing that. Yet, smaller projects and startups routinely pull that off for their growing codebases.

              So, Linus is a hypocrite to not be doing what he can on testing side. There’s also a benefit to submitters where they could run the tests to spot breaks before submitting.

    4. 1

      :( What’s the status of Riak?

      1. 2

        When I saw that the company on the ā€œreceivingā€ end of the receivership is Pivotal Solutions my hopes went up since I thought they were some branch of Pivotal, but that doesn’t seem to be the case :(

      2. 2

        I read somewhere else that Erlang Solutions was going to carry on support.