1. A method for modularizing software code, the method performed by a system comprising a processor and a memory storing instructions which, when executed cause the system to perform the method, the method comprising:
acquiring software code;
modularizing the software code to create an associated modular code, wherein the modular code is a graphical representation of the execution flow of the software code and is composed of a plurality of synchronous and asynchronous modular elements;
modifying the modular code using a modular element; and
automatically modifying the software code based on the modified modular code.
2. The method of claim 1, wherein modifying the modular code includes adding one or more modular elements to the modular code.
3. The method of claim 2, wherein adding one or more modular elements to the modular code is done via a graphical user interface.
4. The method of claim 1, further comprising:
identifying a first job to be processed;
calling a first handler to process the job; and
passing a first pointer associated with the first job to the first handler.
5. The method of claim 4, further comprising:
identifying a second job to be processed;
calling a second handler to process the second job, wherein the first handler has not completed processing the first job; and
passing a second pointer associated with the second job to the second handler.
6. The method of claim 5, wherein the first job and the second job can be sub-jobs of a third job.
7. The method of claim 1, wherein the software code is textual.
8. A non-transitory computer-readable medium comprising program code, the program code being operable, when executed by a computer system, to cause the computer system to perform a method comprising:
acquiring software code;
modularizing the software code to create an associated modular code, wherein the modular code is a graphical representation of the execution flow of the software code and is composed of a plurality of synchronous and asynchronous modular elements;
modifying the modular code using a modular element; and
automatically modifying the software code based on the modified modular code.
9. The computer readable medium of claim 8, wherein modifying the modular code includes adding one or more modular elements to the modular code.
10. The computer readable medium of claim 9, wherein adding one or more modular elements to the modular code is done via a graphical user interface.
11. The computer readable medium of claim 8, further comprising:
identifying a first job to be processed;
calling a first handler to process the job; and
passing a first pointer associated with the first job to the first handler.
12. The computer readable medium of claim 11, further comprising:
identifying a second job to be processed;
calling a second handler to process the second job, wherein the first handler has not completed processing the first job; and
passing a second pointer associated with the second job to the second handler.
13. The method of claim 12, wherein the first job and the second job can be sub-jobs of a third job.
14. A system comprising:
one or more processors configured to execute one or more modules; and
a memory storing the one or more modules, the modules comprising:
an interface module configured to acquire software code, and
a modulizer module configured to:
modularize the software code to create an associated modular code, wherein the modular code is a graphical representation of the execution flow of the software code and is composed of a plurality of synchronous and asynchronous modular elements,
modify the modular code using a modular element, and
automatically modify the software code based on the modified modular code.
15. The system of claim 14, wherein modifying the modular code includes adding one or more modular elements to the modular code.
16. The system of claim 15, further comprising a graphical user interface that corresponds with the interface module for adding one or more modular elements to the modular code.
17. The system of claim 14, wherein the one or more modules further comprises:
a controller module configured to identify a first job to be processed;
a synchronousasynchronous module is configured to:
call a first handler to process the job, and
pass a first pointer associated with the first job to the first handler.
18. The system of claim 17, wherein:
the controller module is configured to identify a second job to be processed;
the synchronousasynchronous module is configured to:
call a second handler to process the second job, wherein the first handler has not completed processing the first job, and
pass a second pointer associated with the second job to the second handler.
19. The system of claim 18, wherein the first job and the second job can be sub-jobs of a third job.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. A method of enhancing the performance of a froth flotation separation of a coal slurry in a medium, the method comprising the steps of:
adding to the coal slurry a composition, the composition comprising a hydrophobic reaction product, a surfactant, and optionally a diluent and optionally a coupling agent, wherein the hydrophobic reaction product is the reaction of an unsaturated mono- and polycarboxylic acids, their anhydrides, acyl halides, salts, esters or blends thereof with at least one olefin polymer with a molecular weight in the range of from about 400 to 10,000 Daltons,
and removing a concentrate from the slurry by sparging the slurry.
2. The method of claim 1 in which at least one olefin polymer is one selected from the list consisting of: any isomer of ethylene, propylene, 1-butene, 2-butene, isobutene, pentenes, hexenes and heptenes, and any combination thereof.
3. The method of claim 1 in which the at least one olefin polymer is polyisobutenyl succinic anhydrides.
4. The method of claim 1 in which the surfactant is one selected from the list consisting of: fatty alcohol polyglycol ethers, alkylphenol polyglycol ethers, fatty acid polyglycol esters, fatty acid amide polyglycol ethers, fatty amine polyglycol ethers, alkoxylated triglycerides, alk(en)yl oligoglucosides, fatty acid-N-alkyl glucamides, protein hydrolyzates (more particularly soya-based vegetable products), polyol fatty acid esters, sugar esters, sorbitan esters and polysorbates, polyoxyethylene alkyl ethers, polyoxyethylene alkylphenyl ethers, ether esters, polyethyleneglycerol fatty acid esters; polyethyleneglycol fatty acid esters, and any combination thereof.
5. The method of claim 1 in which the diluent or coupling agent is one item selected from the group consisting of: of solvatropes, coupling agents, water and oil miscible organic solvents, alcohols, ketones, carboxylic acids, esters of carboxylic acids, aliphatic, aromatic, terpenic, paraffinic, isoparaffinic and olefinic hydrocarbons, alcohols and glycol ethers, and any combination thereof.
6. The method of claim 1 further comprising the steps of:
mixing the composition with a base liquid in a manner that forms a desired ratio of composition to base liquid, prior to adding it to slurry,
measuring the rate of the concentrate removal, and
adjusting the ratio to increase the rate of the concentrate removal.