News for hackers. Stuff that matters.
Re:GitHub Codescanning by marceloabsousa on Wednesday May 06, 2020 @01:37PM (#23093932)
I don't think this will be free for all public repositories. Having designed and implemented these kind of static analysers, it's quite costly to scale them - you do want to avoid useless CPU time on the millions of public repositories.
Re:GitHub Codescanning by Vosporos on Wednesday May 06, 2020 @05:52PM (#23096762)
They said during the Keynote that they were willing to spend the millions of dollars necessary to run this on public repos that would activate the option because it's the right thing to do.
Re:GitHub Codescanning by pstuart on Wednesday May 06, 2020 @07:32PM (#23097740)
I sure do like this MS better than the old one.

That said, Ballmer did get one thing right: https://www.youtube.com/watch?v=Vhh_GeBPOhs

Re:GitHub Codescanning by p1necone on Wednesday May 06, 2020 @09:52PM (#23098792)
I'm a developer and I hate closed proprietary ecosystems with a passion, so that was just lip service afaic. Current microsoft is much more "developers developers developers"
Re:GitHub Codescanning by WorldMaker on Thursday May 07, 2020 @07:29PM (#23109601)
That's kind of the point, though? A lot of people make fun of Ballmer for using that as a repetitive mantra, but a point often to a mantra, to repeating it to yourself and others, is to remind yourself it is a value you hold, and one that you maybe aren't great at, but should continue to strive towards/get better on. Current Microsoft likely wouldn't have gotten better at "developers, developers, developers" if Ballmer hadn't been shouting that to the rooftops as a core company value, and trying to drive the company to be better at it. The irony that Microsoft got much better at it in part by ignoring some of Ballmer's other past paranoia/NIH/"home-team-ism" probably wouldn't be lost on Ballmer himself either, it always seemed like he kept repeating the mantra as a reminder for himself too to not get caught up in what seemed best to shareholders or to Windows when that wasn't best for developers. He wasn't always successful, but holding a value/ideal doesn't make you perfect, it gives you a goal towards it.
Re:GitHub Codescanning by lonelappde on Wednesday May 06, 2020 @01:57PM (#23094219)
That's a problem that's simple to solve by putting a quota on # analyses per project per month, perhaps weighted by how popular the project is. Like everything else at GitHub, private project users pay extra to cover the public project users. It's proportionall regardless of a feature's cost.
Re:GitHub Codescanning by marceloabsousa on Wednesday May 06, 2020 @02:03PM (#23094284)
Not sure if that's simple - the cost of running a static analyser is almost never linear. For large popular projects, special care will have to be in place to make sure the analysis terminates and gives meaningful results (a basic timeout won't cut it...). I've experienced many times huge differences in the running times of analysers by minor changes in the code. It'll be interesting to see :-)