method

search for more blogs here

 

"Groovy - Plain Text Word Wrap method" posted by ~Ray
Posted on 2008-11-07 09:19:13

// Groovy Method to perform word-wrap to a specified length.// Returns a List of strings representing the wrapped text 1 2 // Quick and Dirty method for plain text word-wrap to a specified width 3 static class TextUtils { 4 5 static String[] wrapntab(input linewidth = 70 indent = 0) throws IllegalArgumentException { 6 if(input == null) 7 throw new IllegalArgumentException("Input String must be non-null") 8 if(linewidth <= 1) 9 throw new IllegalArgumentException("Line Width must be greater than 1") 10 if(indent <= 0) 11 throw new IllegalArgumentException("Indent must be greater than 0") 12 13 def olines = [] 14 def oline = " " * indent 15 16 input split(" ") each() { wrd -> 17 if( (oline size() + wrd size()) <= linewidth ) { 18 oline <<= wrd <<= " " 19 }else{ 20 olines += oline 21 oline = " " * indent 22 } 23 } 24 olines += oline 25 return olines 26 } 27 } 28 29 // TEST 30 // the input String 31 input = "Note From SUPPLIER: Booking confirmed by fax. 4 standard rooms - 3 twin shared. 1 single room please advise if guests require meals.. " 32 33 // call static wrapntab method to break the input string into 70 char wide lines with a 4 char initial indent 34 olines = TextUtils wrapntab(input,70,4) 35 36 // print the output 37 olines each() { 38 println it 39 } 40

Forex Groups - Tips on Trading

Related article:
http://snippets.dzone.com/posts/show/4839

comments | Add comment | Report as Spam


"ADF taskflow with WS method call + router" posted by ~Ray
Posted on 2008-03-04 07:13:20

ADF taskflow supports indirect web services. This gives us new possibilities such as calling esb and bpel web services or integrating a normal web service in our move. Integrating web services in our taskflow is easy. You can do it in 3 steps. The first step is done by making a web function proxy or much easier an web function datacontrol. The back up go is making a taskflow method label (displace the datacontrol method on the taskflow) and the last step evaluating the prove of the method call by using a taskflow router. This blog gives you a guide to do this. This example is a ascribe analyse if you put in the go away page a value below 200 then it is approved and above 200 it is declined. The credit is done with a router and with a method call /router. First we create a fusion project. Now we have an alter adfc-config xml this is the unbounded taskflow. In this taskflow I create 3 views go away approved and declined. On the pages approved and declined I only put in an outputtext with approved or declined. This is the start page. In the taskflow routing and in the start summon I use the following simple backing bean. case nl ordina taskflow believe;public categorise StartPage { float price = 200; public cancel setPrice(float newprice) { this price = newprice; } public go getPrice() { go price; } public boolean isApproved() { if ( price > 200 ) { return false; } return true; }} I put this bean in the adfc-config as a pageFlow managed bean. The price variable is used for the start summon inputtext and the isapproved method for the router priceCheck. We are ready to drop now a router on the adfc-config xmlIn this taskflow you are already see the web server method label. I will explain this later in this blog. Let's look at the properties of the router priceCheck. The default outcome is declined this determine is used when StartPage approved = false when this is true then the outcome is approved. We are ready with the router example. Let's make it a little bit interesting by calling a web service which does the credit analyse. We make a new empty project in the same workspace. Make a java categorise with a method which has 1 parameter price and it returns true when the price is below 200 else false. Create a web service on this method and position this on the oc4j server in the jdeveloper home. We go approve to the viewcontroller project where we create a web service datacontrol on this web function. We drop the created datacontrol on the taskflow. Now automatically a method call with a pagedef is created. I only undergo to fill in the fixed outcome so the hold back flow inspect goes the router where the result of the ws is evaluated. We have the store the result of the web service in a variable so the router can used it. The router is almost the same as the first router. We are create from raw material to test it. Here you have the. To run it you have to position the web service to the jdeveloper oc4j server first. Architect at Ordina Oracle Solutions in the netherlands. I work for many years with jdeveloper jheadstart and in the past with designer. I am an expert in adf messaging ( edifact / ebxml) web services and tuning

Forex Groups - Tips on Trading

Related article:
http://biemond.blogspot.com/2007/12/adf-taskflow-with-ws-method-call-router.html

comments | Add comment | Report as Spam


"ADF taskflow with WS method call + router" posted by ~Ray
Posted on 2008-03-04 07:01:31

ADF taskflow supports indirect web services. This gives us new possibilities such as calling esb and bpel web services or integrating a normal web service in our flow. Integrating web services in our taskflow is easy. You can do it in 3 steps. The first go is done by making a web function proxy or much easier an web service datacontrol. The second go is making a taskflow method call (drop the datacontrol method on the taskflow) and the last step evaluating the result of the method call by using a taskflow router. This blog gives you a guide to do this. This example is a ascribe check if you put in the go away summon a determine below 200 then it is approved and above 200 it is declined. The ascribe is done with a router and with a method label /router. First we create a fusion project. Now we have an empty adfc-config xml this is the unbounded taskflow. In this taskflow I create 3 views go away approved and declined. On the pages approved and declined I only put in an outputtext with approved or declined. This is the go away page. In the taskflow routing and in the start page I use the following simple backing bean. package nl ordina taskflow believe;public categorise StartPage { go price = 200; public cancel setPrice(go newprice) { this determine = newprice; } public float getPrice() { return price; } public boolean isApproved() { if ( price > 200 ) { return false; } return true; }} I put this bean in the adfc-config as a pageFlow managed bean. The price variable is used for the go away page inputtext and the isapproved method for the router priceCheck. We are create from raw material to displace now a router on the adfc-config xmlIn this taskflow you are already see the web server method call. I ordain inform this later in this blog. Let's look at the properties of the router priceCheck. The default outcome is declined this value is used when StartPage approved = false when this is true then the outcome is approved. We are ready with the router example. Let's make it a little bit interesting by calling a web service which does the credit check. We make a new empty project in the same workspace. Make a java categorise with a method which has 1 parameter price and it returns true when the price is below 200 else false. act a web service on this method and position this on the oc4j server in the jdeveloper home. We go back to the viewcontroller project where we create a web function datacontrol on this web service. We drop the created datacontrol on the taskflow. Now automatically a method label with a pagedef is created. I only have to fill in the fixed outcome so the hold back flow case goes the router where the result of the ws is evaluated. We have the store the prove of the web service in a variable so the router can used it. The router is almost the same as the first router. We are create from raw material to test it. Here you undergo the. To run it you have to position the web service to the jdeveloper oc4j server first. Architect at Ordina Oracle Solutions in the netherlands. I work for many years with jdeveloper jheadstart and in the past with designer. I am an expert in adf messaging ( edifact / ebxml) web services and tuning

Forex Groups - Tips on Trading

Related article:
http://biemond.blogspot.com/2007/12/adf-taskflow-with-ws-method-call-router.html

comments | Add comment | Report as Spam


"New Genetic Method Helps Identify Novel Genes For Schizophrenia" posted by ~Ray
Posted on 2007-12-21 08:46:49

ScienceDaily (Dec. 4. 2007) — Scientists at the Zucker Hillside Hospital campus of the Feinstein initiate for Medical Research have identified nine genetic markers that can increase a person's risk for schizophrenia. The research team uncovered original bear witness that this disabling brain disease can be inherited in a recessive manner. A recessive trait is one that is inherited from both parents. "If a person inherits identical copies of these markers from each parent his or her risk for schizophrenia increases substantially," said Todd Lencz. PhD associate director of investigate at Zucker Hillside and the lead author of the study. "If these results are confirmed they could change state up new avenues for research in schizophrenia and severe mental illness," said Anil Malhotra. MD director of psychiatric investigate at Zucker Hillside and senior investigator of the study. The scientists developed a complex mathematical approach called whole genome homozygosity association (WGHA) that provides a new way of analyzing genetic information. It enables scientists to simultaneously look at genetic information derived from the patient's care and father and determine pieces of chromosomes that are identical. They tested genetic material from 178 patients and 144 controls. It has been the prevailing view in psychiatric genetics that there are probably dozens if not hundreds of genetic variations that could lead to schizophrenia but each gene has a small effect. It is the wrong mix of many genes plus unknown environmental stressors that trigger the onset of symptoms. One in every 100 people suffer from schizophrenia a condition marked by episodes of hallucinations delusions and disordered thinking. The new findings suggest another scenario at least for a subset of patients. Dr. Lencz and his colleagues identified nine regions along the chromosomes that might compete a large role in triggering the disease when two identical variants are inherited. Four of these regions contain genes that have been previously associated with schizophrenia providing validation for the technique. The remaining five regions provide an additional set of newly discovered genetic risk factors. Many genes located in these regions are involved with the coordinate and survival of neurons. In genetic parlance several of these markers demonstrated high penetrance meaning that their effect on disease risk was large. In the study. 81 percent of the schizophrenia patients had at least.

Forex Groups - Tips on Trading

Related article:
http://science.originalsignal.com/article/43127/new-genetic-method-helps-identify-novel-genes-for-schizophrenia.html

comments | Add comment | Report as Spam


"Scientists at UJI and CSIC patent a method to remove organic ..." posted by ~Ray
Posted on 2007-12-12 22:48:39

Researchers at the Universitat Jaume I (UJI) and the Spanish Research Council (CSIC) undergo patented an innovative method to remove organic pollutants such as pesticide residues from bivalve molluscs. The new technique increases the evaluate of removal of organic compounds by a calculate of two or depending on the type of pollutant even four with respect to other methods used to go out. Bivalve molluscs (mussels oysters clams and cockles among others) acquire their food by filtering sea water in request to retain the organic particles it contains. But together with nutrients molluscs also be to hive away other suspended particles such as organic pollutants which later register the human organism when the molluscs are eaten. The cultivation of bivalve molluscs in alter waters close to urban industrial and agricultural areas may create these organisms to hive away organic pollutants including pesticides polycyclic aromatic hydrocarbons polychlorinated biphenyls dioxins furans and endocrine disruptors. High consumption of these polluted animals during periods of intense contamination represents a serious concern for public health. According to a number of studies chronic exposure to pesticides and the other pollutants mentioned above is associated to a higher risk of developing cancer and certain neurodegenerative disorders such as Parkinson’s disease. Moreover endocrine disruptors may interact with the metabolic system of animals and humans and crumble a variable number of developmental functions. This is why it is necessary to remove molluscs before they are eaten. To date this decontamination consisted in treating them with filtered sterilised water or by applying hydrostatic pressure at high temperatures for 48 hours. However end removal of pesticides from the tissues of the bivalve molluscs takes several days so the conventional treatment may not be sufficient.“The method that we have developed allows us to improve this affect and means that pesticides can be removed from the tissues of molluscs twice or even four times as quickly depending on the write of pollutant. It also increases tolerance to oxidative evince” says Roque Serrano a scientist at the University initiate of Pesticides and Waters at UJI and author of the study. The method consists in utilising N-acetylcysteine a substance that is capable of stimulating the intracellular synthesis of glutathione and triggers glutathione S-transferase and glutathione reductase activity in mussels. Glutathione is essential in most living organisms since it intervenes in several very important cellular phenomena such as detoxification of xenobiotics and the elimination of free radicals. The importance of the work carried out by the UJI and CSIC researchers lies in the fact that it proves that administration of N-acetylcysteine enhances glutathione activity in molluscs and therefore has remarkable applications as a technique for removing pollutants from mussels. The researchers responsible for the invention of the method are Samuel Peña Llopis who currently works at the Simmons Comprehensive Cancer bear on at the UT Southwestern Medical Center in Dallas. Roque Serrano Gallego from the University Institute of Pesticides and Waters at UJI and Juan B. Peña Forner from the Department of Biology. Culture and Pathology of Marine Species at the CSIC’s Torre de la Sal Aquaculture initiate.

Forex Groups - Tips on Trading

Related article:
http://www.alphagalileo.org/index.cfm?_rss=1&fuseaction=readrelease&releaseid=525565

comments | Add comment | Report as Spam


"Hacking Yahoo Method 3" posted by ~Ray
Posted on 2007-12-04 02:49:16

METHOD 3------THE FAKE LOGIN------This is a modified login page for yahoo. It's code has beenaltered. Instead of sending the password and the user to ayahoo server for loging in it sends them to a yahoo serverthat sends them in a send be. Get one of thees from cretain populate lool. It's hard to sight populate.... Get a real-time be beneath the ascend in the with our tools and. Also see our original real-time tracking system. --> DIGG. DIGG IT. DUGG. DIGG THIS. Digg graphics logos designs page headers button icons scripts and other service names are the trademarks of Digg Inc.

Forex Groups - Tips on Trading

Related article:
http://digg.com/security/Hacking_Yahoo_Method_3

comments | Add comment | Report as Spam


"Calculating streaming with the ?tally source? method, as applied ..." posted by ~Ray
Posted on 2007-11-25 19:16:40

Variance reduction methods have become increasingly more automated with consider to the selection of parameters required by the methods. Each automatic or semi-automatic procedure is typically published showing the variance reduction achieved by the procedure on a different set of test problems from every other procedure. This makes it extremely difficult to understand the relative strengths and weaknesses of the different procedures. This cover compares the DSA cell model and the quasi-deterministic methods (implemented in modified versions of MCNP) for obtaining splitting and Russian Roulette parameters on the same test problems. Neutron streaming through the gap between a port plug and the port walls ordain be a study contributor to the shutdown dose rate in ITER and calculating this streaming requires very effective variance reduction. The bind describes a way of estimating importances for a calculation of the abstain neutron move which will then create weight windows. If necessary these can be refined iteratively. Once the fast neutron calculation works well the weight windows can be extended to lower energies and to photons using appropriate factors for which some values are suggested here. Again these charge windows can be improved iteratively. evaluate runs in a simplified geometry performed fairly come up though optimizing performance simultaneously for the gamma flux at the end of the turn and above it is difficult. This study investigates the radiation shielding create by mental act of the treatment room for boron neutron interpret therapy at Tsing Hua Open-pool Reactor using “TORT-coupled MCNP” method. With this method the computational efficiency is improved significantly by two to three orders of magnitude compared to the analog Monte Carlo MCNP calculation. This makes the calculation feasible using a single CPU in less than 1 day. Further optimization of the photon charge windows leads to additional 50–75% improvement in the overall computational efficiency. Monte Carlo calculations for megavoltage radiotherapy beams represent the next generation of dose calculation in the clinical environment. In this paper calculations obtained by the MCNP code based on CT data from a human pelvis are compared against those obtained by a commercial radiotherapy treatment system (CMS XiO). The MCNP calculations are automated by the use of MCNPTV (MCNP Treatment Verification) an integrated application developed in Visual Basic that runs on a Windows-based PC. The linear accelerator beam is modeled as a finite inform source and validated by comparing depth dose curves and lateral profiles in a water phantom to measured data. Calculated water phantom PDDs are within 1% of measured data but the lateral profiles exhibit differences of 2.4. 5.5 and 5.7 mm at the 60%. 40% and 20% isodose lines respectively. A MCNP calculation is performed using the CT data and 15 points are selected for comparison with XiO. Results are generally within the uncertainty of the MCNP calculation although differences up to 13.2% are seen in the presence of large heterogeneities. Several new capabilities have been added to MCNP4C including: (1) macrobody surfaces; (2) the superimposed mesh importance functions so that it is no longer necessary to divide geometries for variance reduction; and (3) Xlib graphics and DVF Fortran 90 for PCs. There are also improvements in neutron physics electron physics perturbations and parallelization. In the more distant future we are working on adaptive Monte Carlo code modernization more parallelization visualization and charged particles. Shielding calculations for a thick protect with lots of penetrations can be a very challenging assign. An example of this is the evaluate cell cover of IFMIF consisting of 270 cm of heavy cover penetrated by about 40 ducts with a diameter of several centimeters each of them with bends to limit neutron streaming. A proposal by Hendricks to be the neutron current at intermediate surfaces and then model it as a obtain with allot angular biasing is described and tested. Although this method is laborious and leads to some loss of accuracy it is open to give solutions to otherwise intractable problems. Note to users: The section "Articles in touch" contains look reviewed accepted articles to be published in this journal. When the final bind is assigned to an air of the journal the "Article in Press" version will be removed from this section and will be in the associated published journal air. The date it was first made available online will be carried over. Please be aware that although "Articles in Press" do not undergo all bibliographic details available yet they can already be cited using the year of online publication and the DOI as follows: compose(s). bind Title. Journal (Year). DOI. Please ask the journal's reference style for the exact appearance of these elements abbreviation of journal names and the use of punctuation.

Forex Groups - Tips on Trading

Related article:
http://www.sciencedirect.com/science?_ob=GatewayURL&_origin=IRSSCONTENT&_method=citationSearch&_piikey=S0306454907001788&_version=1&md5=e4bb4850abe45f00818d610e8f63b940

comments | Add comment | Report as Spam


"In praise of tedious anatomy" posted by ~Ray
Posted on 2007-11-13 22:36:24

Individual variability of the human cerebral cortex is a source of both fascination and frustration. The fascination arises because variability in cortical coordinate and answer may be for many aspects of our unique personalities and cognitive capabilities. For neuroimagers the frustration arises because variability presents serious obstacles when attempting to appoint particular functional activation patterns to specific cortical areas. Devlin and Poldrack cogently summarize many of the key issues and they make useful suggestions for linking answer to anatomy using a standardized stereotaxic space. This commentary provides a broader perspective on the nature of individual variability that has implications for the choice of strategies used to compensate for variability. It also includes information about the actual differences between various registration strategies and introduces a new strategy for converting neuroimaging data to a standard stereotaxic lay. The show cover reviews that macroanatomical landmarks are problematic for a reliable and sufficiently precise localization of clusters of activation obtained by functional imaging because sulcal and gyral patterns are extremely variable and macroanatomical landmarks do not be (in nearly all cases) architectonically defined borders. It argues that cytoarchitectonic probabilistic maps currently offer the most precise drive for the localization of hit functions as obtained from functional imaging studies. Finally it provides some examples that cytoarchitecture is more than localization with respect to a particular brain region because it reflects the inner organization of cortical areas and furthermore functional principles of the brain. Functional neuroimaging is fundamentally a tool for mapping answer to coordinate and its success consequently requires neuroanatomical precision and accuracy. Here we review the various means by which functional activation can be localised to neuroanatomy and suggest that the gold standard should be localisation to the individual’s or assort’s own anatomy through the use of neuroanatomical knowledge and atlases of neuroanatomy. While automated means of localisation may be useful they cannot provide the necessary accuracy given variability between individuals. We also suggest that the handle of functional neuroimaging needs to converge on a common set of methods for reporting functional localisation including a common “standard” space and criteria for what constitutes sufficient evidence to report activation in terms of Brodmann’s areas.

Forex Groups - Tips on Trading

Related article:
http://www.sciencedirect.com/science?_ob=GatewayURL&_origin=IRSSSEARCH&_method=citationSearch&_piikey=S1053811906009979&_version=1&md5=c275fbad0195461d6daa641ca9a774a5

comments | Add comment | Report as Spam


"[SPECIAL ARTICLES] Headspace Theater: An Innovative Method for ..." posted by ~Ray
Posted on 2007-10-25 23:19:52

Headspace Theater: An Innovative Method for Experiential Learning of Psychiatric Symptomatology Using Modified Role-Playing and Improvisational Theater Techniques Bruce C. Ballon. M. D.. F. R. C. P.(C.). Ivan plate. M. D.. M. Ed.. F. R. C. P.(C.) and Donald Fidler. M. D.. F. R. C. P.-I. Received April 27. 2006; revised November 17. 2006; accepted December 15. 2006. Drs. Ballon and plate are affiliated with the University of Toronto. Ontario. Dr. Fidler is affiliated with West Virginia University. Morgantown. West Virginia. Address correspondence to Dr. Ballon. Department of Psychiatry. University of Toronto. CAMH. 33 Russell Street. Toronto. Ontario M5S 2S1; bruce_ballon{at}camh net (e-mail).

Forex Groups - Tips on Trading

Related article:
http://ap.psychiatryonline.org/cgi/content/short/31/5/380

comments | Add comment | Report as Spam


"Monte Carlo simulation method for Laughlin-like states in a disk ..." posted by ~Ray
Posted on 2007-10-21 17:52:45

Monte Carlo simulation method for Laughlin-like states in a disk geometry Received. 14 September 2007 Last updated. 14 September 2007 Abstract. We address an alternative accurate Monte Carlo method to calculate the ground-state energy and related quantities for Laughlin states of the fractional quantum Hall effect in a disk geometry. This alternative approach allows us to acquire accurate bulge regime (thermodynamic check) values for various quantities from Monte Carlo simulations with a small number of particles (much smaller than that needed with standard Monte Carlo approaches). Subject. Mesoscopic Systems and Quantum Hall Effect; Strongly Correlated Electrons

Forex Groups - Tips on Trading

Related article:
http://eprintweb.org/S/article/cond-mat/0709.2320

comments | Add comment | Report as Spam


 

 




blogs - aa blogs - air force blogs - aquarius blogs - aries blogs - army blogs - arts blogs - baby blogs - blogs 4 men - blogs 4 women - cancer blogs - capricorn blogs - career change blogs - choice blogs - christmas blogs - cigar blogs - cigarette blogs - cig blogs - coast guard blogs - coffee bean blogs - college baseball blogs - college basketball blogs - college football blogs - colleges blogs - computer blogs - create blogs - dating blogs - elvis blogs - email chat blogs - email pal blogs - enhancement blogs - fall blogs - fha blogs - freedom blogs - friendly blogs - funny blogs - gambler blogs - gemini blogs - her blog - his blog - hockey blogs - join blogs - javas blogs - kid safe blogs - leo blogs - libra blogs - apartments blogs - coffees blogs - horoscopes blogs - life advice blogs - lover blogs - marine blogs - married blogs - military blogs - misc blogs - more money blogs - mortgage blogs - move blogs - movies blogs - musical blogs - navy blogs - new in town blogs - obscure blogs - online date blogs - online game blogs - over 30 blogs - over 40 blogs - over 50 blogs - over 60 blogs - over 70 blogs - over 80 blogs - over 90 blogs - password blogs - pc blogs - mortgages blogs - peoples blogs - pictures blogs - pipe blogs - pisces blogs - poems blogs - poker blogs - police blogs - political blogs radio blogs - read blogs - recreational vehicle blogs - relocation blogs - reserve blogs - rv blogs - safe blogs - scorpio blogs - singles blogs - smokers blogs - smoker blogs - state blogs - state college blogs - taurus blogs - teen advice blogs - teenager blogs - tobacco blogs - tv blogs - vacation blogs - veteran blogs - virgo blogs - virtual blogs - weekly blogs - wingman blogs - word blogs - words blogs - writer blogs - poetry blogs - prescription blogs - sagittarius blogs - straight blogs - summer blogs - gi blogs - hooka blogs - penis enlargement blogs - vfw blogs - casinos blogs - casino blogs - web hosting blogs - hosting blogs - auto blogs - truck blogs - van blogs - suv blogs - 4 wheel blogs - harley blogs - flu blogs - diet blogs - pistols blogs - teenage blogs - lpga blogs - burnable blogs - new tunes blogs - coaching blogs - treasures blogs - trades blogs - nutty blogs - skate blogs - play 21 blogs - weather blogs - poker players - golf blogs - american blogs - football blogs - baseball blogs - hockey blogs - basketball blogs - soccer blogs - cooking blogs - recipe blogs - space blogs - 3d games blogs - barbecue blogs




the method archives:

11 articles in 2006-01
22 articles in 2006-02
27 articles in 2006-03
36 articles in 2006-04
27 articles in 2006-05
26 articles in 2006-06
24 articles in 2006-07
18 articles in 2006-08
22 articles in 2006-09
30 articles in 2006-10
22 articles in 2006-11
22 articles in 2006-12
12 articles in 2007-01
12 articles in 2007-02
3 articles in 2007-03
7 articles in 2007-04
11 articles in 2007-05
10 articles in 2007-06
3 articles in 2007-07
1 articles in 2007-09




next page


method