Questions tagged [waterfall]

Waterfall is an abstraction model for software design which translates requirements into lists of simple routines and arranges them in a sequence of phases based on dependencies.

In Javascript, Elan Shanker's async-waterfall package organizes series of functions with callback completions into waterfalls. It runs an array of functions in series, each passing their results to the next in the array. However, if any of the functions pass an error to the callback, the next function is not executed and the main callback is immediately called with the error.

In chart design, a waterfall chart is a form of data visualization that helps in understanding the cumulative effect of sequentially introduced positive or negative values. These intermediate values can either be time based or category based.

217 questions
53
votes
16 answers

Giving up Agile, Switching to waterfall - Is this right?

I am working in an Agile environment and things have gone to the state where the client feels that they would prefer Waterfall due to the failures (that's what they think) of the current Agile scenario. The reason that made them think like this…
bragboy
  • 34,892
  • 30
  • 114
  • 171
22
votes
6 answers

Asynchronous Loop of jQuery Deferreds (promises)

I am trying to create what I think is referred to as a "Waterfall". I want to sequentially process an array of async functions (jQuery promises). Here's a contrived example: function doTask(taskNum){ var dfd = $.Deferred(), time =…
Jon Wells
  • 4,191
  • 9
  • 40
  • 69
13
votes
3 answers

Bot framework v4.0 how to execute the previous waterfall step in a dialog

I'm trying to create a dialog in which I define multiple waterfall steps. In the context of this dialog, I need sometimes to go back to the previous waterfall step according to the choice of the user. I found this method : await…
Soufien Hajji
  • 477
  • 1
  • 8
  • 24
12
votes
6 answers

Is frequency of release the only real difference between Agile and Waterfall?

Obviously the differences in the impact to teams, customers, ROI, etc. of applying the two approaches is huge and is the subject of many books and endless discussions and conferences. But as I think more about it, I am having a hard time finding any…
Mark Bostleman
  • 2,185
  • 3
  • 25
  • 32
12
votes
8 answers

Functional Spec & Agile Processes

In traditional Waterfall, requirements were gathered - typically in a MS-Word document - following an esoteric template. In a "strict" waterfall model, this document is frozen after the requirement phase and a Change Control / Change Management…
Vyas Bharghava
  • 6,372
  • 9
  • 39
  • 59
11
votes
6 answers

Handling interdependent and/or layered asynchronous calls

As an example, suppose I want to fetch a list of files from somewhere, then load the contents of these files and finally display them to the user. In a synchronous model, it would be something like this (pseudocode): var file_list =…
Confluence
  • 1,331
  • 1
  • 10
  • 26
9
votes
2 answers

How to cheaply simulate water on iOS?

First off, I'm not thinking about that. I was wondering how to make a simple simulation of a waterfall onto some dunes on the iPhone. It turns out several people tackled the issue of moving water, and GameDev has approached the idea several times.…
Kheldar
  • 5,361
  • 3
  • 34
  • 63
9
votes
15 answers

Predictive vs Reactive software design

I know that for me I first got started following the waterfall method of project management and along with that I went with the predictive approach to software design. In this I mean we had huge packets of documentation, UML, database schemas, data…
Andrew Siemer
  • 10,166
  • 3
  • 41
  • 61
8
votes
4 answers

What methodology is closest to the Surgical Team in The Mythical Man-Month?

The Mythical Man-Month is now classic, but the "Surgical Team" methodology is still interesting. What methodology most closely resembles it or has the same essence? To summarize the Surgical Team analogy: A surgeon understands the…
Ted Johnson
  • 4,315
  • 3
  • 29
  • 31
8
votes
2 answers

I get an error when using shap.plots.waterfall after generating the shap values

For the code given below, if I just use the command shap.plots.waterfall(shap_values[6]) I get the error 'numpy.ndarray' object has no attribute 'base_values' I have to firstly run these two commands: explainer2 =…
Joe
  • 357
  • 2
  • 10
  • 32
7
votes
3 answers

Is there a way to change legend to show increasing and decreasing colors for waterfall plot using Plotly (r)?

I've plotted a waterfall chart/plot using plotly. I'm trying to change the legend so that it displays the increasing/decreasing colors (red/green) that I've set. Does anyone know how I would go about doing this? I'm try display only one legend for…
QMan5
  • 713
  • 1
  • 4
  • 20
7
votes
3 answers

Adaptive Card response from a WaterfallStep Dialog MS Bot framework v4

I am trying to send an adaptive card which has 2 options for user to select. When user submit the response from adaptive card I am receiving : Newtonsoft.Json.JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not…
7
votes
1 answer

Can you go back a step in a waterfall dialog if the user entered wrong data? #botframework

In a dialog, I want to ask the user for his email address. If the user entered an invalid email by mistake, I would like to be able to go back or get into some "loop" situation of keep asking him for his email until he enters a valid one. What's the…
Shahar
  • 159
  • 4
7
votes
0 answers

Why does a cached file have a high Waiting (TTFB) or Content Loaded ms value?

I'm looking at a waterfall in Chromes Developer tools of several CSS and Javascript files. When refreshing the page, several of the files load from the browser cache, as expected. These are taking 1ms to load most of the time. However some files,…
7
votes
6 answers

What are alternatives to the Waterfall model

Can you please give a methodology that stands to alleviate the disadvantages of waterfall model?
nelli
  • 71
  • 1
  • 2
1
2 3
14 15