News for hackers. Stuff that matters.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by gilbetron on Saturday January 28, 2023 @12:55PM (#34559765)
I was a DoD contractor (the coding type, not the shooting type) for almost 15 years, and this is a really interesting read. I've heard some software devs state that "the waterfall method was never really used". Those devs were not DoD software contractors for almost 15 years. DoD was and is all about the waterfall model. I have spreadsheet PTSD from seeing so many waterfall diagrams and project manager's Gantt charts. I was working on a peanut-size project for the Navy (around $5-10million over 5 years) when Agile began picking up steam (mid 00s). I introduced the team to it and we began doing Agile to decent effect (at least in comparison to waterfall), and introduced it to our Navy sponsors. I remember some higher-ranking individual ask, "wait, so this method can actually deliver software?" Or something like that. Of course, Agile is no panacea, but the iterative nature was waaaay better than what the DoD was doing.

I really like how they talk about "individuals of talent" in the document. Much of the DoD focuses around process, to great effect. The problem is that you can't take a process and put software drones on it and deliver software of any complexity. That goes against much (but not all!) of the DoD paradigm, it is interesting to see they might be changing.

Of course, they will meet great resistance, after all, the first job of a successful contractor is to extract as much money as possible from the government with as little work as possible. "Never finish a contract" was the mantra we had learned from the giant contractors.

Glad to be out of there, but it was a really interesting experience!

Re:Department of Defense: Software Is Never Done (2019) [pdf] by johndhi on Saturday January 28, 2023 @01:35PM (#34560156)
I haven't read the doc, but I worked on lawsuits (I'm a lawyer) that at their core were asserting that agile software development isn't as safe or bug proof as waterfall. Basically in the medical device (or adjacent) space the idea asserted was that 'fail fast' was illegal and didn't have enough safety checks.

Agile software development is a tough pill to swallow for non-engineers. The lawyers and business people can't wrap their head around the idea that building iteratively could actually reduce bugs and improve quality - because the way they work is via process planning docs and checklists.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by arcbyte on Saturday January 28, 2023 @01:51PM (#34560335)
The ONLY way to get quality is through quantity. That's the key insight.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by hamandcheese on Saturday January 28, 2023 @02:02PM (#34560435)
Quantity of... dollars?
Re:Department of Defense: Software Is Never Done (2019) [pdf] by no_wizard on Saturday January 28, 2023 @02:08PM (#34560496)
I’m betting releases and iteration cycles they’re tied to. The most agile place I ever worked shipped code most days of the week in some fashion. For control reasons we released Tuesday-Thursday not Mondays or Fridays. So was nearly every day something went out.

I’m including bug fixes here but nothing got stalled. We had a working iteration loop of Test -> Develop -> Test -> Review -> QA -> Release

Lots of automated checks, investment in infrastructure and good architecture made this possible. Ironically one of the smallest companies I ever worked for

Re:Department of Defense: Software Is Never Done (2019) [pdf] by xboxnolifes on Saturday January 28, 2023 @03:52PM (#34561726)
Iterations.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by __MatrixMan__ on Saturday January 28, 2023 @03:31PM (#34561491)
"Breaks when you try to use it" is a quality that I can usually achieve on the first try.

Or did you mean some quality in particular?

Re:Department of Defense: Software Is Never Done (2019) [pdf] by no_wizard on Saturday January 28, 2023 @02:05PM (#34560462)
I think this is true even in “civilian” industries. Can say doing this for over a decade now that I have worked at exactly one place that followed anything close to what was laid out in the Agile manifesto.

Every other place always sings the praises of agile and/or scrum but it’s always just waterfall with ceremonies.

I feel like the collective of how software is developed evolved little from circa 2006

The notion that gets talked about at Netflix is “context not control” and I think it would go along way if everyone looked at software development management this way. Too many people try to control software development lifecycles instead of just providing engineers enough context to get their work done and trusting that reasonable people will make reasonable decisions

Re:Department of Defense: Software Is Never Done (2019) [pdf] by beckingz on Saturday January 28, 2023 @03:18PM (#34561357)
Large organizations value predictability.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by no_wizard on Saturday January 28, 2023 @05:04PM (#34562468)
IMO it’s not this simple. Culture has more to do with it than anything. See my note about Netflix having this mantra of “context not control”. Managers are less inclined to be domineering in that setting and allow people to do the work in a reasonable way because they are given the context of why their work is being done in the first place.

Not perfect but a more than above average way to approach the problem yet this kind of thinking or its permutations have not caught on at all. It’s still top down process oriented models

Re:Department of Defense: Software Is Never Done (2019) [pdf] by Jtsummers on Saturday January 28, 2023 @02:13PM (#34560540)
What a bizarre claim. Agile doesn't mean "cowboy coding" (I've met as many cowboy coders in Waterfall, may it die a fiery death, as Agile projects).

Nothing about Agile says, "Don't ever test and validate this system before deploying." Anyone who believes that is, frankly, a moron.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by johndhi on Saturday January 28, 2023 @05:26PM (#34562649)
In my experience it was less a lack of intelligence and more results-oriented thinking (they thought we were wrong so they found a way to argue it).

If you have twenty versions of a thing and multiple deployments to fix and fine tune it, that means to this person there are 20 plus examples of "mistakes" you made in building it. They were looking for evidence that the software was built with "poor quality controls" and ironically interpreted iteration as evidence of poor build quality.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by jasmer on Saturday January 28, 2023 @03:05PM (#34561200)
Such a great point.

I think one way to go about it is to just put the Agile bits inside a Waterfall.

Which is frankly how it works anyhow.

You can characterize early sprints at 'research'.

Later the sprints are just 'sub projects'.

I think people could be convinced that 'feature refinement' is a real thing. Put it out in the field, doesn't work the way we want it, and so it needs to be refined.

I know that I would hide 'Agile' to anyone outside the team and just talk in simple, easier to understand phases.

It's also possible to put checklists in those phases, and if you say someting like '75% features' at such and such phase and assume '25% of that 75% will be reworked' it's not irrational either.

But you are right, culture matters.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by he0001 on Saturday January 28, 2023 @04:13PM (#34561938)
This is so true. They don’t teach agile in management classes and ‘planning’ generally means years, not t-shirt sizes. I believe that also many economic theories and practices don’t regard agile practices. I’ve always felt that the business and their planning are at odds with the agile ways.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by imglorp on Saturday January 28, 2023 @07:08PM (#34563381)
> management classes

It would seem they don’t do a very good job teaching how to think about uncertainty, risk, and unknowns, which is what agile is good at addressing. If you want a suit to lose their mind, tell them they can only pick two of feature, quality, or schedule.

Waterfall seems a lot better when you have done something before and there's nothing to discover.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by Jtsummers on Saturday January 28, 2023 @07:13PM (#34563413)
> Waterfall seems a lot better when you have done something before and there's nothing to discover.

I've said this here on HN before, but the only Waterfall projects I've seen it work reliably were where:

1. The systems were small (in which case any method would work)

2. The systems were trivial (in which case any method would work)

3. The systems were well-understood by the people making them (in which case any method would work)

It does not handle large, non-trivial, or novel systems very well. Almost without fail they will deliver late, over budget, or deliver the wrong thing. This can be a win for contractors, though, who get to bid on the rework or sustainment contract for their own work.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by zozbot234 on Saturday January 28, 2023 @08:41PM (#34564025)
Buulding iteratively can reduce bugs and improve quality other things being equal. The problem with how Agile methods sometimes get implemented in practice is that an excess focus on quick-and-dirty iteration to the exclusion of everything else leads to having mountains of very poor quality code, with little to no support structure around it in the form of broader design or documentation. Agile methods advocate for growing these kinds of support structures via refactoring, but this is often not done to anywhere near an adequate extent.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by ravenstine on Saturday January 28, 2023 @10:23PM (#34564539)
Agile is a tough pill to swallow for many engineers, but it's become part of the theology of software development, so everyone's afraid to object to it.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by jdeaton on Saturday January 28, 2023 @02:31PM (#34560767)
Just out of curiosity, how does someone with in-demand, highly-transferable skills like software development find themselves working in a place they generally dislike for 15 years without leaving sooner?
Re:Department of Defense: Software Is Never Done (2019) [pdf] by gilbetron on Saturday January 28, 2023 @08:51PM (#34564065)
Oh, I had an awesome time for much of it. Small business with many great friends and we got into many antics over those years through thick and thin. Also, I got to do really cool, nearly constant greenfield work, like flight simulators, robot simulators, radar simulations, robotics, haptics, and then there was some non-DoD work like a virtual gorilla VR experience, gaming stuff, and all kinds of funs times and trips to Game Dev and E3 conferences. I once got to fly on a mid-air refueling mission. Got to see one of the Mars rovers as it was being built. Went on a Naval frigate. Ran a class for some pilot trainees in a building next to the Blue Angels home base.

But there was lots of boring bullshit in there too ;)

Re:Department of Defense: Software Is Never Done (2019) [pdf] by kbenson on Saturday January 28, 2023 @02:49PM (#34560987)
> The problem is that you can't take a process and put software drones on it and deliver software of any complexity. That goes against much (but not all!) of the DoD paradigm, it is interesting to see they might be changing.

My (outside) impression has changed the more I've heard over the years, to the point that I assume the DoD and military are acutely aware that the drones aren't really interchangeable, and that at every level they cultivate people under them they know "get shit done" and hand the important projects to them. Those people in turn have those under them that "get shit done" they hand the important things to, and so on, all the way down to privates in the military. The important thing being that those people that get shit done are given a lot more leeway in how they accomplish things (which might later become doctrine of successful), and this is specifically how those orgs evolve over time.

Again, that's my outside perspective from someone that's interested whenever I hear it and reads/listens to history sources (podcasts,etc).

Re:Department of Defense: Software Is Never Done (2019) [pdf] by Jtsummers on Saturday January 28, 2023 @03:05PM (#34561210)
> to the point that I assume the DoD and military are acutely aware that the drones aren't really interchangeable, and that at every level they cultivate people under them they know "get shit done" and hand the important projects to them.

Within military troops, yes. That's an active goal, especially on the officer side where the whole career path is pointed towards increasing levels of responsibility and leadership. The problem is not in the troops, but in the program offices.

I was on a spectacularly failed Waterfall (big-W, they were explicit about what they were doing) where they handed the task of managing a large, multi-billion dollar software system (from the DOD side) to a 1st Lt history major. She had no preparation for the role. Software acquisition in DOD is, mostly, a clusterfuck. I felt bad for her because she legitimately did not know anything more than the basic legal and financial side of things, she had no technical comprehension and had to trust people (contractors) who were lying about the system status and quality (what was delivered, after she had moved on, was years late and had a fraction of the target capabilities).

Program offices are not generally composed of people who have real-world experience with software development. Remarkably they have great engineers, good finance people, but the software person (often singular, even in programs that are almost exclusively composed of software systems) is usually not from a software background or a straight out of college EE major (more often than not, occasionally a CS major).

Re:Department of Defense: Software Is Never Done (2019) [pdf] by kbenson on Saturday January 28, 2023 @03:33PM (#34561525)
> usually not from a software background or a straight out of college EE major (more often than not, occasionally a CS major).

Ugh, I can see that being a problem. I remember my practical experience in projects after graduating with a CS degree, and it was close to non-existent (a class in development methodologies without experiencing it yourself is just a survey of all the things you can do badly if you were to be in charge).

Re:Department of Defense: Software Is Never Done (2019) [pdf] by kqr on Saturday January 28, 2023 @02:57PM (#34561113)
> I've heard some software devs state that "the waterfall method was never really used".

What they mean by that is that the person who invented the phrase "waterfall method" did it specifically to tell the world about something that did not work. In fact, even going back to the NATO software engineering conferences of the 1960s, they were discussing how development needs to be agile.

But sure enough, few big organisations got that memo.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by Jtsummers on Saturday January 28, 2023 @03:08PM (#34561243)
DOD codified Royce's waterfall (which he, himself, did not name in that paper) in a set of documents on officially endorsed software acquisitions processes. There were others, but Waterfall was one of them. Its critical failing is that it's an idealized process that cannot withstand uncertainty or change, but it looks really pretty in charts so people selected it without serious thought put into it.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by xxEightyxx on Saturday January 28, 2023 @05:59PM (#34562901)
I'm a current DoD contractor (the coding type) and the agile/waterfall mentality still holds up. Different departments and different projects within each department will have different methodologies for planning and delivering products.

However, where I am, there is a huge emphasis on "getting shit done" well ahead of schedule. I'm lucky to work with smart and motivated folks who together, work well and we are wildly successful.

My biggest gripe, shared among many of my coworkers, is the level of micromanagement. Multiple business analysts, product owners, stakeholders, SCRUM masters, managers, etc. who all share essentially the same job - delegating and scheduling work. It makes every project 10x more difficult and complex than it otherwise should be.

An example just from this past week: Project A: we are delivering a single product. Three managers, two SCRUM masters, multiple business analysts. We engineers have four different JIRA/task-boards to keep up with. All of them overlap, three of them are essentially the same board in different spaces. Each day we have 2-4 hours worth of meetings spread across stakeholders amongst those three boards where we regurgitate the exact same information.

It's repetitive, backward, and a time-waste. Some engineers are currently "revolting" by saying what I'm saying now - in the meetings themselves. We've had multiple blowups with management.

Having meetings and discussions spread so wide leads to a lot of confusion because us engineers appear to be the only conduit with which the analysts and managers are communicating. Often times, the different stakeholders will ask for the same features in different meetings, other times they ask for different or conflicting features which leads to confusion and the need to schedule more meetings to clarify as they are not communicating amongst each other.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by sirsinsalot on Saturday January 28, 2023 @07:31PM (#34563571)
The issue I found in defence, when your software integrates in to a very large engineering project with a mix of hardware and software is that often times waterfall is appropriate because everything has to be decided upfront where possible.

For tight hardware integration, iteration on design isn't appropriate because the hardware design was locked in to begin manufacturing.

Quite often software life cycles miss the hardware rapid prototyping phase and so there's a desynchronisation of iterative design.

Within the framework of the hardware, yes you can iterate on the specific implementation but the contract with the external hardware and the timeliness to deliver was fixed.

Agile struggles without agile being applied end-to-end, and so you get agile/waterfall mixes.

In my experience, they can still work. In my case we have annually field deployed (and difficult to update) firmware. Firmware feature additions and changes are an up-front known quantity (even if they turn out to be insufficient for the in theater usage). We can't change them. That's the root where any agile approach reaches an external impact limit.

Our little bubble is agile in a waterfall world.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by lifeisstillgood on Saturday January 28, 2023 @06:12PM (#34562993)
I keep banging on about "software is a new form of literacy".

Imagine you have a group of illiterate managers who have just hired a group of writers to write some company policy documents.

You could have the managers (carve / draw / modern dance) their requirements in a waterfall manner.

Of course you could get one of the managers to sit down with the developers and tell them how the policy's work each day, embed with them Agile style.

However in the end you can't be everywhere, sometimes there aren't enough people in the company who understand what is needed, or even be sure that the embedded people agree on what is needed.

These are business problems - but they are also literacy problems. We have a literate society and so there are enough literate people to write policy documents to cover a whole compmay.

We need to make enough people who can code, so they can write the policy documents of the future.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by kqr on Sunday January 29, 2023 @02:48AM (#34565855)
This is an interesting take. I've always rolled my eyes at the people who say "everyone needs to know programming" but when you put it like this, yeah, why not?

The only thing I'm not convinced about is whether programming is something of a functional specialisation or if it will (GAS already?) become a literacy-like thing.

I mean, we generally think of numeracy as something widespread in the West for the past few decades, but the average person really does not do even basic arithmetic very well. Are we really going to do a better job of teaching people programming, or will we have to resign to the reality that most people won't learn it well?

Re:Department of Defense: Software Is Never Done (2019) [pdf] by lifeisstillgood on Sunday January 29, 2023 @05:31AM (#34566813)
My take on this is the basics of astronomy. The history of how astronomy slowly worked out the earth goes round the sun, distances etc is fascinating (#)

The bit that's gets me is how fast does earth spin (without which sun rise is a bit hard to explain). Until it was accepted that air was just a thin atmospheric layer, it becomes insane to imagine we spin at a 1,000 miles an hour though a air medium that extends to Jupiter. How do you keep your newspaper still.

Kids today have Mickey Mouse cartoons explaining space rockets, moon to mars, earth spinning etc. We just accept it as true without trying to be clever about it

The same is true for literacy and numeracy - just having a society where you absorb character arcs, sub clauses, chapters, publishing, versions etc makes so much difference. Mathematical symbols were the names of Ed Sheeran albums.

Look at something simple like git - most business users should have this all the time but it's not a world view

(#) Look for episode on the podcast "Subject to chnage"

Re:Department of Defense: Software Is Never Done (2019) [pdf] by AtlasBarfed on Sunday January 29, 2023 @11:33PM (#34575795)
I've been harping on this for decades. Back in the early 2000s there was STILL business news interviews with some CEO bragging about how he has his secretary print out the emails and doesn't know how to use a computer. Thankfully that ended probably around 2005.

Fully 25 years after computers-in-business, especially for any significant size of business, was virtually universal.

Humans don't manage businesses anymore. They are essentially all software managed. Business management is now really meta-management of business management software.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by lifeisstillgood on Monday January 30, 2023 @04:26PM (#34586624)
Yes!

>>> Business management is now really meta-management of business management software.

It really ought to look like :

for each emp in employees_by_dept('accounts'): emp.getvacationplaennedthismonth

or something

Re:Department of Defense: Software Is Never Done (2019) [pdf] by cpeterso on Saturday January 28, 2023 @07:10PM (#34563394)
Related to agile on DoD projects, here’s a presentation from Lockheed Martin about their adoption of SAFe (Scaled Agile Framework) for their F-16 software projects. While agilists consider SAFe to be “waterfall in agile clothing” sold by consultants, Lockheed Martin successfully reduced their cycle time from 3-4 years per program increment (delivered to Flight Test team) to 9 months. They’re delivering smaller increments to QA and iterating on feedback more frequently.

https://youtu.be/nvfYLZ52zX0

Re:Department of Defense: Software Is Never Done (2019) [pdf] by ChrisMarshallNY on Saturday January 28, 2023 @07:54PM (#34563730)
> The problem is that you can't take a process and put software drones on it and deliver software of any complexity.

That would be news to most tech companies, these days, that seem to be obsessed with hiring huge armies of inexperienced engineers, relying on the process to make them magically deliver code like they were masters.

I worked for a couple of major corporations, and got lots of waterfall. A the Japanese company, I quickly learned never to utter the dark majik phrase "A G I L E," as it conjured demons from managers.

Also, looking at that PDF, I realize that it is a slide deck.

That presentation must have been a soporific.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by ThePowerOfDirge on Saturday January 28, 2023 @08:20PM (#34563900)
Agile had the scrummaster role. The authors of the Agile manifesto said that this role was supposed to rotate in the group of coders and eventually be phased out once the group got used to the process. The agile process in its final form has no managers.
Re:Department of Defense: Software Is Never Done (2019) [pdf] by Jtsummers on Saturday January 28, 2023 @08:25PM (#34563935)
That's Scrum, not Agile. Scrum is a way to, theoretically, get to or introduce Agile concepts but it is not the entirety of Agile (either the theoretical or practical forms).

Also, you can edit your comments which is better than tacking on additional self-replies just a minute or two after.

Re:Department of Defense: Software Is Never Done (2019) [pdf] by ThePowerOfDirge on Saturday January 28, 2023 @08:24PM (#34563930)
Re:Department of Defense: Software Is Never Done (2019) [pdf] by zozbot234 on Saturday January 28, 2023 @08:14PM (#34563878)
The Agile manifesto has nothing to do with huge armies of inexperienced code monkeys. On the contrary, it's focused on empowering small, highly competent groups to deliver the most value through quicker feedback loops.