LWN: Comments on "Linux wins on security in survey of 6,000+ software developers" https://lwn.net/Articles/131788/ This is a special feed containing comments posted to the individual LWN article titled "Linux wins on security in survey of 6,000+ software developers". en-us Fri, 03 Oct 2025 06:45:30 +0000 Fri, 03 Oct 2025 06:45:30 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Representative samples: the Holy Grail https://lwn.net/Articles/132578/ https://lwn.net/Articles/132578/ Max.Hyre <p>If I took anything away from my statistics courses, it's that the <i>absolutely</i> hardest part to get right is sampling. (Though figuring the right statistical analysis to use is close behind.) <p>It's hard because you have to <ul> <li>First, figure what your sample population is: Sysadmins? Developers? CIOs? A mixture of them in various proportions? Can you determine that subset which knows what they're talking about? <li>Then you have to figure how to generate a random sample of the members of your population---not trivial. <li>Next, how do you reach that set of the population? Always have Dewey vs. Truman floating in front of your eyes. (They reached their sample population [the electorate] by telephone, heavily biasing it [in 1948] toward the well-off. For gory details, google for `truman dewey poll'.) <li>Finally, after doing a good job of all of the above, you have to get your sample to respond to you. How many will be on vacation in Lower Slobovia? How many pick up their voicemail, or look at their e-mail, frequently, responding in time to do you any good? How many will downright refuse to have anything to do with you? Discarding these sample points, either by not counting them, or choosing someone else in their stead, puts a real dent in randomness. </ul> <p>So, just as you understand ``surf over here and answer some questions'', or ``dial in to tell whether you prefer Princess Di or Camilla'' polls to be nothing more than a form of entertainment, any poll like BZ Research's has to be taken with many grains of salt. <p>The whole thing is dubious without clear description of all the above criteria, analyzed by a knowledgeable, disinterested observer. Look at research reports in <i>Science</i> or <i>Nature</i> to see the sort of detail I mean. I'd bet a candy bar that the ``2.5&#160;percentage points'' is nothing more than the number they looked up in a table for a sample size of 6k. <p>And now, for some entirely-different bias, look no further than the polls on the nightly news. They tend to be self-fulfilling prophecies: ``Well, if everyone feels like that, why should I bother to vote / call my Senator / complain to the Planning &amp; zoning board?'' ``Hmmm, if no one's using Linux, I should hold off.'' <p>I hope I've loosened your faith in polls somewhat. :-/ Mon, 18 Apr 2005 18:20:21 +0000 Clueful? https://lwn.net/Articles/132255/ https://lwn.net/Articles/132255/ Zartan More to the point, it's better to do: <blockquote><pre> # sync # sync </pre></blockquote> typed in by hand, than either of the above. Why? Because the second or two that it takes to type the second sync helps compensate for the "scheduled but not necessarily written" aspect of POSIX <tt>sync()</tt>. Works on all *nixes. Thu, 14 Apr 2005 21:37:31 +0000 Clueful? https://lwn.net/Articles/132228/ https://lwn.net/Articles/132228/ roelofs <FONT COLOR="#440088"><I>I thought his point was, the second sync has no value. At least I hope that's his point.</I></FONT> <P> Tsk, newbies. ( ;-) ) <P> Kernel-page article from <A HREF="http://lwn.net/2002/0214/kernel.php3">three years ago</A>: <P> <BLOCKQUOTE> <b>How synchronous should sync be?</b> Andrew Morton has posted <a href="https://lwn.net/2002/0214/a/sync-patch.php3">a patch</a> fixing a perceived problem with the <tt>sync()</tt> system call: as long as processes keep generating data, <tt>sync()</tt> will keep flushing it to disk. The result is that a <tt>sync</tt> command can take a long time to execute - as in several minutes. Andrew's patch changes <tt>sync()</tt> to just ensure that all data to be written when the call is made gets out - buffers generated thereafter may not be written immediately. <p> This patch, of course, changes a fundamental assumption made by many who use <tt>sync</tt> - that, upon completion, all data has been written to disk. In fact, according to <a href="http://www.opengroup.org/onlinepubs/007908799/xsh/sync.html">the Single Unix Standard</a>, this behavior is permissible: "<i>The writing, although scheduled, is not necessarily complete upon return from sync()</i>" It is, regardless, not the behavior that many expect. <p> There's no real consensus on what the proper behavior is. Unless Linus takes the patch, the current <tt>sync</tt> behavior will remain. </BLOCKQUOTE> <P> So I'm thinking the second and maybe even third sync has some value. :-) <P> (And I'm pretty sure I remember a followup, as well, in which further details were presented--for example, that there were <I>already</I> cases in which the "expected behavior" was not actually the real behavior--but I don't remember for sure. Maybe it's just my fevered imagination again...) <P> Greg Thu, 14 Apr 2005 19:25:44 +0000 Clueful? https://lwn.net/Articles/132199/ https://lwn.net/Articles/132199/ jwb I thought his point was, the second sync has no value. At least I hope that's his point.<br> Thu, 14 Apr 2005 16:29:34 +0000 Clueful? https://lwn.net/Articles/132173/ https://lwn.net/Articles/132173/ utidjian I am an adittedly superstitious sysadmin; and I want to know why you would cringe when you see someone type <b>sync; sync</b> ? Would it make you cringe less if they typed <b>sync&amp;&amp; sync</b> ? If so, why? <br> <br> -DU-...etc... Thu, 14 Apr 2005 14:59:21 +0000 Clueful? https://lwn.net/Articles/132093/ https://lwn.net/Articles/132093/ shane Most sysadmins and developers I know are superstitious. By this I mean that they don't want to understand the reason why things are, but rather just get them to work. <p> While this makes some sense from an engineering standpoint, I still cringe when I see people typing <tt>"sync; sync"</tt>. Thu, 14 Apr 2005 08:44:12 +0000 Linux wins on security in survey of 6,000+ software developers https://lwn.net/Articles/131811/ https://lwn.net/Articles/131811/ hppnq Strange reasoning, that would apply to any exploit ever published. <p> Judging from my own experience I'd say that most sysadmins -- and, more importantly, management -- I have met haven't got the faintest clue about security anyway. I have seen horrific stuff you wouldn't believe, at big, big companies. <p> But then, I am in a bad mood today, having had to deal with this very problem all day. Tue, 12 Apr 2005 19:44:29 +0000 Linux wins on security in survey of 6,000+ software developers https://lwn.net/Articles/131801/ https://lwn.net/Articles/131801/ jwb A developer survey reflects popular opinion versus actual experience. How about a survey of sysadmins? That would be more interesting. Given that every kernel released prior to April 4, 2005 has an exploitable SMP race, I think you'll hear a slightly different opinions. Said opinion may be of the form "Everything is crap!"<br> Tue, 12 Apr 2005 19:17:12 +0000