"Here's the trouble. We all know that knowledge workers work best by getting into "flow", also known as being "in the zone", where they are fully concentrated on their work and fully tuned out of their environment." - [_The Joel Test: 12 Steps to Better Code_][2] by Joel Spolsky
0
votes
3answers
57 views
While loop program flow
I'm having trouble with my program flow in a while loop I created.
while (reader.Read())
{
// Store scenario information
int Id = (int)reader["ScenarioID"];
string Data = ...
0
votes
0answers
21 views
Mule ESB Facebook Connector: store and restore accesstoken
I'm working with the Mule ESB 3.4 and the IDE MuleStudio 3.4.0 on a flow to login to facebook, using the facebook-cloud-connector. The auth works fine, but now I'm looking for a way to re/store the ...
0
votes
4answers
34 views
Do variables/flags can be affected by another thread on a non-synchronized method?
For example I have a non-synchronized method like this:
public void nonSynchronized(){
boolean flag = false;
if(/*some condition*/){
flag = true;
}
//more line of ...
0
votes
0answers
17 views
Google Analytics API : how to get visitors flow
I have tried the google analytics api.
And got ga:pageviews with the dimensions previousPagePath and previousPagePath.
However, I cannot get ga:visits with the dimensions previousPagePath and ...
0
votes
0answers
57 views
The drag/drop solution when create a flow chart maker by raphael.js?
I'm going to write a tool for drawing flow charts(possibly using Raphael.js cause I need to cover ie7/8)
And I have a problem about the drag/drop;
For example:
The left panel contains all the ...
-2
votes
0answers
16 views
Layering in Visio and Presentation Problems [closed]
I am trying to make a flow chart in Visio, and I have multiple layers. Some broad and then they break down to more detailed layers. Is there a way to zoom out and only see the broad layers but as I ...
1
vote
2answers
54 views
perl do something once in a while loop
I am frequently working with biological sequence data (FASTAs) that have the following format, where a leading left angle bracket is used delimiter to indicate a new sequence header. These files often ...
0
votes
2answers
81 views
How to run a flow once, automatically when starting mule?
I have a java class that creates a clean MongoDB database with seeded collections. It automatically identifies if the database is missing and creates it. I would like to run this when I start ...
0
votes
1answer
42 views
Open-source flow visualization tool
Is there any open source Javascript-based tool with API support that can generate flow visualization like that of the Google Analytics Visitor Flow?
1
vote
0answers
20 views
Algorithm to Differentiate Between Types of Control Flow in a Compiler
I am writing a compiler and trying to figure out how to differentiate between the following different types of control flow:
-for loops/while loops
-if/else statement
-switch case
-do while loops
If ...
0
votes
1answer
43 views
C# - Controlling Program Flow in If Statements
I have the following code in C#:
As you can see, I am first checking whether the certificate uploaded by the user is valid. These checks must be performed always.
Afterwards, I am checking if the ...
0
votes
1answer
27 views
Not able to persist the Paypal payment Id to complete the payment flow
I'm trying to follow the paypal flow for Accepting a Paypal Payment where the user chooses to pay with their paypal account and I'm coding in Java. The flow redirects the user to the paypal website to ...
0
votes
1answer
11 views
ArcMap 10- Restricting Flow Accumulation
I am working with the Flow Accumulation tool in ArcMap 10's spatial analyst hydrology tools. This tool calculates the total number of raster cells that flow into a given cell. However, for my ...
4
votes
2answers
181 views
How do packages with multiple files work in golang?
This repo has 3 go files all begin with "package lumber".
To use this package, I'm supposed to put this in my GOROOT and simply
import lumber
in my program. How do variables and types in this ...
0
votes
0answers
18 views
Partition Undirected Graph using Global Min-Cut
I have a graph which can be described as a series of nodes named either A-Z or 1-3. They are connected as follows, with edge weights.
Format is Node, adj = {{ConnectedNode, edgeWeight},...}
A: adj ...
0
votes
2answers
54 views
my images (inside divs) won't flow
I'm trying to place a series of images on my website, and I want them to flow side by side and automatically wrap to the width of the container div. I made a separate div for each image, because I ...
1
vote
0answers
72 views
Given a Flow Network and an Edge e, Describe an Algorithm that Determines Whether e Crosses Some Minimum Cut
Given a flow network G = (V,E) with a source s, a sink t and and edge e = (u,v), describe an algorithm that determines whether the edge e crosses some minimum cut (S,T).
My first idea was to ...
1
vote
1answer
36 views
Git-flow, some n00b questions
I have started to use git flow and have some questions.
In examples like here and here I see a release branch started and then several commits done before the release branch gets finished. Why is ...
0
votes
0answers
52 views
Tools to analyse PHP program flow
I've inherited a PHP code base that I wish to analyse the program execution flow of. I've looked around and found several "vulnerability and dead code analysers" but can't seem to find a tool which ...
0
votes
0answers
32 views
TYPO3 Flow Dependency Injection and geting objects that are sub objects of others
Hello I have been learning to use FLOW and have some questions:
I have an action in a controller like this:
/**
* Displays a subproduct.
*
* @param \My\Package\Domain\Model\Product $product The ...
2
votes
1answer
66 views
Mule flow execution unexpectedly splits on error in SMTP sendout
I would like to catch errors from SMTP endpoint (for example in case it's misconfigured or the server is down) and when this happens, prevent messages from proceeding the normal path and rather go ...
3
votes
3answers
61 views
Flow control after breaking out of while loop in Python
I am pretty new to both programming and Python. A few times now, I have created what feels like an awkward program flow, and I am wondering if I am following best practices. This is conceptually what ...
0
votes
0answers
28 views
Sniffing for OpenFlow Packets unexpected data printed
As the title suggest i am try to use sockets to sniff for OpenFlow packets. I have some code which tries to collect OF packets and print the header info however it does not seem to be printing the ...
0
votes
1answer
20 views
How to (programmatically )visually capture flow of scenarios involving different entities?
The objective is to visually capture flow of scenarios involved in software functionality.
For example: The software functionality is solve 'fastest path to destination' problem, given the dynamic ...
0
votes
1answer
29 views
Free Flow Android Game working?
If you have played this game, you'd know that you have to join two different circles with same colors.
I have observed following process:
When you touch a circle & move(drag), a line is drawn ...
0
votes
1answer
44 views
Ford Fulkerson and Saturated edge [closed]
I just learnt a few weeks ago about the Ford Fulkerson algorithm to find the maximum flow in a network flow.
I was given an exercise which I assumed to be a very easy to be solved but I'm having a ...
1
vote
1answer
87 views
mule facebook - flow variable
I have a mule flow with facebook connector(authorize); Before calling it I try to set some flow and session variables; When facebook authorize returns back to flow - these previously set variables do ...
0
votes
1answer
30 views
AWS - SWF - Asynchronous method
If I have some 4 method calls - independent of each other in an asynchronous method - will all of them run in parallel over different hosts and return their promises or is it done sequentially
0
votes
0answers
30 views
Cumulative flow diagram for the rally Kanban board
It seems like there is no CFD for the Rally kanban board (i.e. not usin iterations), where you define your own states, and the diagram then updates the amount of points (plan estimate) across work ...
0
votes
1answer
101 views
spring web flow enable scopes
Spring web flow provides additional bean scopes like flow, conversation, flash etc. I can define flow scope beans in flow.xml using var or i can set values to new scoped variables. How i can define it ...
-1
votes
1answer
61 views
UML Squence Diagram - visualize validation of data
A method performs successively validation checks with some passed data.
If a validation check fails, a exception will be immediately thrown and the method aborted.
How can visualize this flow with ...
0
votes
1answer
16 views
Using aggregates inside of control flow functions
The problem is this: create a query that will Group the IP addresses and display a sum of the number of requests by each IP address that had a return code (retcode) of greater than 300 order this ...
0
votes
0answers
34 views
Mule flow trigger another flow
I have 2 data sources I am building an integration for. I have a workflow that needs to do the following in this exact order:
1) Get records from datasource1
2) Post records into datasource2
3) Get ...
0
votes
1answer
74 views
Getting java.lang.IllegalArgumentException when trying to make a dynamic HTTP endpoint in Mule
I got an HTTP outbound-endpoint that does a GET method to an specific URL, thing is that if i add a variable in the path URL it will throw an exception... i believe this is not being supported.
This ...
0
votes
0answers
41 views
Can we create a custom activity to have multiple outgoing connections in Microsoft Workflow?
I have created a custom activity using Microsoft Workflow ('Email Manager'), and depending on either approved or denied by manager, the workflow will then do different things.
In order to do this, I ...
0
votes
0answers
121 views
Working with SOAP attachments using Mule’s CXF module
I'm working with MULE 3.3.0 CE
This is AddAttachmentMessageProcessor class:
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collection;
import javax.activation.DataSource;
...
0
votes
1answer
214 views
Call a CXF Client through a Java Bean with Mule
Im trying to consume this webservice: http://wsf.cdyne.com/WeatherWS/Weather.asmx?wsdl from another wsdl... Dont worry for that, im just tryng to make some kind of bridge to test the webservice call ...
0
votes
0answers
80 views
Loops in Salesforce Visual Flows. And, are Flows packagble?
two main concerns here:
I need a Flow to be able to loop over a Create record step for N times. How could I achieve this without explicitly put N times the same Create record step?
In the packaging ...
1
vote
1answer
175 views
Maximum flow bipartite with intermediate nodes
I'm working on a problem where one is to create a exam schedule based on some constraints by creating a flow network.
A set number of courses C
A set number of days D
A set number of rooms R
A ...
0
votes
0answers
56 views
mule log files into DB
In mule CE version 3.3.0, I have a mule project, and the URL for calling it is http://localhost:8086/mule?msg=Hello-World!!!.
Every time that I call it, in a log file in mule server that it has as a ...
0
votes
3answers
137 views
Logcat continously shows messages
I don't know what's wrong. My logcat has been troubling me for two days. When device is connected to test, the logcat continuously gives messages though I don't run my app. If I run my app, I am ...
1
vote
1answer
237 views
Algorithm - Creating an exam schedule
I have a problem of creating an exam schedule based on three factors: rooms, courses, and days. There are a set number of rooms r, courses c, and days d where each day has three slots.
There is also ...
0
votes
0answers
51 views
Generating a flow diagram for a legacy C project
I have inherited a C project which is huge (more that 10,000 files) and my team needs to re-architect and clean it up. As a first step, I need to view the flow diagram of the entire project. Is there ...
1
vote
0answers
59 views
Weird JS flow in firefox
My JS code is as follows
if (fileControl != NoFileMessage) {
if (fileControl.val() != NoFileMessage) {
var valid_extensions = /(.xlsx)$/i;
if ...
1
vote
3answers
2k views
Best javascript library to create and interactive flow chart [closed]
I would like to create an interactive 'problem solving' type flow chart that is made up out div elements.
I would like to do something very similar to what the new york times have done in this ...
2
votes
0answers
175 views
Mule Flow - Inserting BLOB attachment types into an Oracle database field
I am new to the Mule ESB and I am trying to find a solution to what is hopefully a common business requirement.
I have a payload where one of its elements will be inserted into an Oracle database as ...
0
votes
1answer
401 views
How to catch any exception in the mule flow
I have a mule flow that could throw an exception (unable to connect to connector, component throws exception etc). When this happens, the mule flow stops where the exception happenned. I need to catch ...
0
votes
1answer
178 views
Starting a mule flow programmatically using groovy
I need to control the execution of a flow manually through a HTTP call. I have been told I can disable the flow from executing during startup using the initialState="stopped" attribute on the flow. ...
0
votes
1answer
135 views
jQueryUI 'Blind' effect introduces break in page flow while animating
I have an arbitrary number of links, each styled as a bootstrap button, in a div with ordinary left to right flow.
<div id="btngrp">
<a href="#" class="btn" id="btn_1">Troll 1</a>
...
0
votes
1answer
463 views
Use an SQL result variable in a Mule flow
I got a Mule flow with 2 queries.
The first simply validates if a username is duplicated.
Does something like this:
SELECT count(*) AS TOTAL FROM user_tests WHERE username = #[json:username] AND ...