News for hackers. Stuff that matters.
Re:If Software Is Funded from a Public Source, Its Code Shou... by Wowfunhappy on Monday February 04, 2019 @03:23PM (#19080239)
> The bigger problem, though, is that much of the US government just isn't technically set up to release software (as opposed to documents). Setting up a git repository, in the DoD, is an utter nightmare. Every single patch has to be pushed through a public release process that can take weeks or months and involves review by as many as ten to fifteen different offices, few if any of which even know anything about software. If you're setting up your own server, getting the server itself approved and provisioned can be an exercise in bureaucratic frustration, and can take literally years to accomplish.

Please excuse what I suspect is a naïve question: why can't they just throw the code into a zip file, and send out the file the same way they would other documents? Digitally or on a physical thumb drive.

(The FOIA requester could then put the code on Github or similar.)

Re:If Software Is Funded from a Public Source, Its Code Shou... by GlenTheMachine on Monday February 04, 2019 @03:54PM (#19080529)
When we do release code, that's more or less how it works.

The issue is that, basically 100% of the time, anything being released to the public has to go through a release process. If you produced it as an employee of one agency (eg the Air Force), but if was paid for by a different agency (eg DARPA), then it also needs to go through a similar release process on the sponsoring agency's side.

Typically, this has to happen for every single “release”. In other words, for the original software, again for every subsequent patch, for the documentation, for every correction or update to the documentation, etc. If you want to give a presentation about it your slides need to be released. If you want to write a paper on it that needs to be released as well.

Evey time through the release process takes two to six weeks, depending.

This works OK if you are releasing documents. Once a document is written, it usually doesn't need hundreds or thousands of updates over it's lifetime. A journal paper gets released once, then it's done. But the same process is what we currently use for software, and software is just a very different thing than a document is.

Imagine what would happen to the release cycle of a small OSS project if it took six weeks for github to get around to posting your update, and if github management rejected about half of them for reasons that were mostly inscrutible to you.

Re:If Software Is Funded from a Public Source, Its Code Shou... by Wowfunhappy on Monday February 04, 2019 @04:58PM (#19081043)
It doesn't strike me as a huge loss to society if source code updates are only released, say, once per year. It's not ideal but it's not terrible either.

(Of course, if the updates aren't happening at all because of opaque internal procedures, that's a different story.)

Re:If Software Is Funded from a Public Source, Its Code Shou... by GlenTheMachine on Monday February 04, 2019 @05:04PM (#19081091)
What usually happens is that it doesn't get released at all. It isn't worth the effort.

I've got tons of code I've written over the years that, if I could just throw it onto github, I would. But since it would take me six weeks of pain, I don't. Some of that code I'm kind of proud of, or was at the time I wrote it, anyway. I wrote an rviz app a decade before ROS took off.

Re:If Software Is Funded from a Public Source, Its Code Shou... by lowercased on Monday February 04, 2019 @05:07PM (#19081118)
Would there be some way of just automatically releasing everything in a git repo after X days (30? 60? 90?) unless some action is taken? Commit/push like normal, and some other process pushes to a public repo after X days, but anyone can review and block in the meantime for security reasons when needed?
Re:If Software Is Funded from a Public Source, Its Code Shou... by GlenTheMachine on Monday February 04, 2019 @07:49PM (#19082201)
No. “Automatic release” is a contradiction in terms.

It could happen, but it would take something like the Secretary of Defense ordering it. Or a White House directive. The folks at my level, or at any level I can actually talk to, don't have the authority. The thing is, they aren't making these policies and procedures up just to be dense. There are real, hard and fast laws and department-wide policies that require the system to look the way it does.

Re:If Software Is Funded from a Public Source, Its Code Shou... by Wowfunhappy on Monday February 04, 2019 @08:43PM (#19082438)
But if someone files a Freedom of Information requests, that forces the process into motion, right?

(If there were more people filing request, I wonder if the internal procedure would be made less painful out of necessity...)

Re:If Software Is Funded from a Public Source, Its Code Shou... by anticensor on Tuesday February 05, 2019 @02:12AM (#19083525)
And you would get your information request rejected due to unreasonable efforts required to satisfy.

FOI is meant for information that can legally be published with reasonable effort, but not yet available.

Re:If Software Is Funded from a Public Source, Its Code Shou... by baroffoos on Monday February 04, 2019 @05:30PM (#19081293)
I was told by one government contractor that it takes forever to review the code and pull out any hard coded passwords.
Re:If Software Is Funded from a Public Source, Its Code Shou... by prepend on Monday February 04, 2019 @08:29PM (#19082379)
That can be corrected because hard coding passwords fail the government secure coding policies. So if the contractor hard coded then they failed the quality requirement. So it gets them into a fun for the public catch22.

The most effective method is to have continuous development through an open source structure so any failures where someone hard codes sensitive info in source get found quickly.