Amplitude of Low Frequency Fluctuations (ALFF) and fractional ALFF (f/ALFF)¶
Introduction & Background¶
Slow fluctuations in activity are a fundamental feature of the resting brain, and their presence is key to determining correlated activity between brain regions and defining resting state networks. The relative magnitude of these fluctuations can differ between brain regions and between subjects, and thus may act as a marker of individual differences or dysfunction. Amplitude of Low Frequency Fluctuations (ALFF; Zang et al., 2007) are related measures that quantify the amplitude of these low frequency oscillations (LFOs).
ALFF is defined as the total power within the frequency range between 0.01 and 0.1 Hz, and thus indexes the strength or intensity of LFO. f/ALFF is defined as the power within the low-frequency range (0.01-0.1 Hz) divided by the total power in the entire detectable frequency range, and represents the relative contribution of specific LFO to the whole frequency range (Zuo et al., 2010).
Computation and Analysis Considerations¶
All computations are performed in a subject’s native space. After transforming voxel time series frequency information into the power domain, calculation of these measures is relatively simple. ALFF is calculated as the sum of amplitudes within a specific low frequency range. f/ALFF is calculated as a fraction of the sum of amplitudes across the entire frequency range detectable in a given signal. For both measures, amplitudes in subject-level maps are transformed into Z-scores to create standardized subject-level maps. Anatomical images and Z-score maps are then transformed into MNI152 standard space. For more detail on how CPAC computes these steps, please see the ALFF and f/ALFF Page of the developer documentation .
Though both ALFF and f/ALFF are sensitive mostly to signal from gray matter, ALFF is more prone to noise from physiological sources, particularly near the ventricles and large blood vessels (Zuo et al., 2008;2010). The figure below (from Zuo et al., 2010) shows areas in which ALFF shows higher amplitude than f/ALFF, as well as the relative sensitivity of these measures to gray matter.
Both ALFF and f/ALFF show moderate to high test-retest reliability in gray matter regions, but reliability for ALFF tends to be higher than for fALFF (Zuo et al., 2010). As it is more reliable, ALFF may be more sensitive to differences between groups and individuals. The figure below (also from Zuo et al., 2010) shows differences in test-retest reliability as measured by Intraclass Correlation (ICC; Shrout and Fleiss, 1979).
Finally, as these measures require a constant timecourse on which to do frequency and power analyses, they cannot be run on scrubbed data (Power et al., 2012) in which volumes with excessive movement have been removed.
Applications and Recommendations¶
ALFF and f/ALFF have been used to uncover differences in amplitude power both between subjects and between conditions. Zang et al. (2007) found that children with ADHD show reduced ALFF amplitude in some brain areas and increased amplitude in others compared to controls, while Yan and colleagues (2009) saw increased amplitude in the Default Mode Network during Eyes Open vs. Eyes Closed resting periods. Changes in f/ALFF have also been observed with aging (Hu et al., 2013).
The increased specificity to the gray matter signal for f/ALFF compared to ALFF may suggest favoring the former, but doing so would come at the cost of reduced test-retest reliability. As such, in order to maximize the reliability across subjects while providing sufficient specificity to examine individual differences, reporting both measures is recommended (Zuo et al., 2010).
Configuring CPAC to Run ALFF and f/ALFF¶
- Calculate ALFF and f/ALFF - [Off, On]: Calculate Amplitude of Low Frequency Fluctuations (ALFF) and and fractional ALFF (f/ALFF) for all voxels.
- f/ALFF High-Pass Cutoff - [decimal]: Frequency cutoff (in Hz) for the high-pass filter used when calculating f/ALFF.
- f/ALFF Low-Pass Cutoff - [decimal]: Frequency cutoff (in Hz) for the low-pass filter used when calculating f/ALFF
Configuration Without the GUI¶
The following key/value pairs must be defined in your pipeline configuration YAML for C-PAC to run anatomical preprocessing:
| Key | Description | Potential Values |
|---|---|---|
| runALFF | Calculate Amplitude of Low Frequency Fluctuations (ALFF) and and fractional ALFF (f/ALFF) for all voxels. | A list where ‘1’ represents ‘yes’ and ‘0’ represents ‘no’ (e.g., ‘[1]’). |
| highPassFreqALFF | Frequency cutoff (in Hz) for the high-pass filter used when calculating f/ALFF. | A list containing a decimal value (e.g., ‘[0.01]’). |
| lowPassFreqALFF | Frequency cutoff (in Hz) for the low-pass filter used when calculating f/ALFF. | A list containing a decimal value (e.g., ‘[0.1]’). |
References¶
Power, J. D., Barnes, K. A., Snyder, A. Z., Schlaggar, B. L., & Petersen, S. E. (2012). Spurious but systematic correlations in functional connectivity MRI networks arise from subject motion . Neuroimage, 59(3), 2142–2154.
Sien Hu, Herta H.-A. Chao, Sheng Zhang, Jaime S. Ide, Chiang-Shan R. Li (2013), Changes in cerebral morphometry and amplitude of low-frequency fluctuations of BOLD signals during healthy aging: correlation with inhibitory control . Brain Structure and Function
Shrout, P.E., Fleiss, J.L., 1979. Intraclass correlations: uses in assessing rater reliability . Psychol. Bull. 86, 420–428.
Zang, Y.-F., He, Y., Zhu, C.-Z., Cao, Q.-J., Sui, M.-Q., Liang, M., Tian, L.-X., et al. (2007). Altered baseline brain activity in children with ADHD revealed by resting-state functional MRI . Brain & development, 29(2), 83–91.
Zou, Q.-H., Zhu, C.-Z., Yang, Y., Zuo, X.-N., Long, X.-Y., Cao, Q.-J., Wang, Y.-F., et al. (2008). An improved approach to detection of amplitude of low-frequency fluctuation (ALFF) for resting-state fMRI: Fractional ALFF . Journal of neuroscience methods, 172(1), 137–141.
Zuo, X.-N., Di Martino, A., Kelly, C., Shehzad, Z. E., Gee, D. G., Klein, D. F., Castellanos, F. X., et al. (2010). The oscillating brain: complex and reliable . Neuroimage, 49(2), 1432–1445.


Across: 1. Cut up about Laurel’s mileage? (8) 5. First offence in the Ukraine (6) 9. Aware of intense trouble at Turks Head (8) 10. Outside-left Ted’s condition (6) 12. Employs Sue’s arrangement (4) 13. Pump fellow politician about Jonathan’s return (10) 15. Andean churchman has time to mingle within confinement (13) 19. Appealing before groups perform (13) 23. Qualified to follow About A Boy, to be 25... (10) 25. ... 23 event? (4) 28. Broken toy did a strange thing (6) 29. Stand over new wife getting set inside (8) 30. Holy cadres? (6) 31. Princess sat about a second, as arranged (8) Down: 1. Talk about Bob dropping off sports equipment (6) 2. Essen in sight, maybe (5) 3. Keen to get Violet in now (4) 4. Positive you are heard with openness (7) 6. Queen returns with first lady magistrate (5) 7. Harassing spies can start grievances! (9) 8. Follower comes in to read her entire work (8) 11. Peas found in church (4) 14. Repeat part of Obama’s speech of acceptance (4) 15. Chips out antelope from very cold land (9) 16. Time to leave cute Rod (3) 17. When eleven enter alliance (4) 18. Unnecessary encouragement to take on debts (8) 20. Remain in support (4) 21. In Israel I find composer (7) 22. Cruel person traps redstart’s mate (6) 24. Nothing true could possibly be shocking (5) 26. One girl is wrong (5) 27. Pace may be a street record! (4)


analysis Package¶
correctRMSD
Module¶
-
AdaptivePELE.analysis.correctRMSD.
calculate_rmsd_traj
(nativePDB, resname, symmetries, rmsdColInReport, traj, reportName, top, epoch, outputFilename, fmt_str, new_report)[source]¶
-
AdaptivePELE.analysis.correctRMSD.
main
(controlFile, trajName, reportName, folder, top, outputFilename, nProcessors, output_folder, format_str, new_report)[source]¶ Calculate the corrected rmsd values of conformation taking into account molecule symmetries
Parameters: - controlFile (str) – Control file
- folder (str) – Path the simulation
- top (str) – Path to the topology
- outputFilename (str) – Name of the output file
- nProcessors (int) – Number of processors to use
- output_folder (str) – Path where to store the new reports
- format_str (str) – String with the format of the report
- new_report (bool) – Whether to write rmsd to a new report file
-
AdaptivePELE.analysis.correctRMSD.
parseArguments
()[source]¶ Parse the command-line options
Returns: object – Object containing the options passed
-
AdaptivePELE.analysis.correctRMSD.
readControlFile
(controlFile)[source]¶ Extract parameters from controlFile
Parameters: controlFile (str) – Control file Returns: str, str, list, int – Name of the ligand in the pdb, filename containing the native structure, list of the symmetry groups, column corresponding to the rmsd in the report file
foldersFirstBindingEvent
Module¶
-
AdaptivePELE.analysis.foldersFirstBindingEvent.
main
(folders, column, threshold, stepsPerEpoch, sequential, unbinding)[source]¶ Calculate first binding event statistics (mean, median, std)
Parameters: - folders (list) – List of folders
- column (int) – Column with binding event related metric
- threshold (float) – Threshold for a binding event to be considered
- stepsPerEpoch (int) – Number of steps per epoch to be consdidered
- sequential (bool) – Whether the simulation to analyse is and adaptive or sequential simulation
-
AdaptivePELE.analysis.foldersFirstBindingEvent.
parseArguments
()[source]¶ Parse the command-line options
Returns: list, int, float, int, bool – List of folders, column with binding event related metric, threshold for a binding event to be considered, number of steps per epoch to be consdidered, wether the simulation to analyse is and adaptive or sequential simulation
makePNGs
Module¶
Create two PNG images with RMSD-MC steps and BE-RMSD for a set of different adaptive runs
numberOfClusters
Module¶
-
AdaptivePELE.analysis.numberOfClusters.
buildClustersPerValue
(clustersPerEpoch, numberOfEpochs)[source]¶ Get the number of clusters that have each value
Parameters: - clustersPerEpoch (list) – List with dictionaries for all epochs. The dictionary has the set of different values (according to column) and their number
- numberOfEpochs (int) – Total number of epochs in the simulation
Returns: dict – Dictionary with the number of clusters that have each value
-
AdaptivePELE.analysis.numberOfClusters.
findDifferentClustersForAllEpochs
(column, templetizedClusteringSummaryFile, numberOfEpochs)[source]¶ - Get the distribution of values of a certain column in the clustering
- summary for each epoch
Parameters: - column (int) – Column of interest
- templetizedClusteringSummaryFile (str) – Template name of the clustering summary file
- numberOfEpochs (int) – Total number of epochs in the simulation
Returns: list – List with dictionaries for all epochs. The dictionary has the set of different values (according to column) and their number
-
AdaptivePELE.analysis.numberOfClusters.
findDifferentClustersInEpoch
(column, summaryFile)[source]¶ - Get the distribution of values of a certain column in the clustering
- summary
Parameters: - column (int) – Column of interest
- summaryFile (str) – Clustering summary file
Returns: dict – Dictionary with the set of different elements in column and the number of elements in this epoch
-
AdaptivePELE.analysis.numberOfClusters.
getAllDifferentValues
(clustersPerEpoch)[source]¶ Get all the different values ocurring during a simulation
Parameters: clustersPerEpoch (list) – List with dictionaries for all epochs. The dictionary has the set of different values (according to column) and their number Returns: set – Set containing all values ocurring during a simulation
-
AdaptivePELE.analysis.numberOfClusters.
getClusteringSummaryContent
(summaryFile)[source]¶ Get the contents of clustering summary file
Parameters: summaryFile (str) – Clustering summary file Returns: list – List with the contents of the clustering summary file
-
AdaptivePELE.analysis.numberOfClusters.
getNumberOfClustersPerEpochForGivenColumn
(column, templetizedClusteringSummaryFile, folder)[source]¶ Get the number of clusters that have each value at each epoch
Parameters: - column (int) – Column of interest
- templetizedClusteringSummaryFile (str) – Template name of the clustering summary file
- folder (str) – Folder where the simulation data is stored
Returns: dict – Dictionary with the number of clusters that have each value
-
AdaptivePELE.analysis.numberOfClusters.
getTotalNumberOfClustersPerEpoch
(templetizedClusteringSummaryFile, folder)[source]¶ Get the number of clusters in each epoch
Parameters: - templetizedClusteringSummaryFile (str) – Template name of the clustering summary file
- folder (str) – Folder where the simulation data is stored
Returns: list – List with the number of cluster in each simulation epoch
-
AdaptivePELE.analysis.numberOfClusters.
main
(filename, outputPath)[source]¶ - Plot a summary of the clustering for a simulation:
- Number of clusters for each threshold value at each epoch
- Number of clusters for each density value at each epoch
- Histogram of the number of contacts
-
AdaptivePELE.analysis.numberOfClusters.
plotClustersPerValue
(clustersPerValue)[source]¶ Plot the number of clusters that have a certain value
Parameters: clustersPerValue (dict) – Dictionary with the number of clusters that have each value
-
AdaptivePELE.analysis.numberOfClusters.
plotContactsHistogram
(folder, templetizedClusteringSummaryFile)[source]¶ Plot the histogram of the number of contacts
Parameters: - folder (str) – Folder where the simulation data is stored
- templetizedClusteringSummaryFile (str) – Template name of the clustering summary file
plotAdaptive
Module¶
-
AdaptivePELE.analysis.plotAdaptive.
generateNestedString
(gnuplotString, reportName, column1, column2, stepsPerRun, printWithLines, totalNumberOfSteps=False, replotFirst=False, paletteModifier=None, trajs_range=None)[source]¶ Generate a string to be passed to gnuplot
Parameters: - gnuplotString (str) – Template string for gnuplot
- reportName (str) – Name of the files containing the simulation data
- column1 (int) – Column to plot in the X axis
- column2 (int) – Column to plot in the Y axis
- stepsPerRun (int) – Number of steps per epoch,
- TotalNumberOfSteps (bool) – Not only considering steps in current epoch, but steps with all previous epochs
- replotFirst (bool) – Deprecated parameter
- paletteModifier (int) – Wheter to use the epoch as color or a column
Returns: str – String to plot using gnuplot
-
AdaptivePELE.analysis.plotAdaptive.
generatePrintString
(stepsPerRun, xcol, ycol, reportName, kindOfPrint, paletteModifier, trajs_range)[source]¶ Generate a template string to use with gnuplot
Parameters: - stepsPerRun (int) – Number of steps per epoch,
- xcol (int) – Column to plot in the X axis
- ycol (int) – Column to plot in the Y axis
- reportName (str) – Name of the files containing the simulation data
- kindOfPrint (bool) – Kind of lines to plot (solid or points)
- paletteModifier (int) – Third column to specify color
Trajs_range: Range of trajectories to plot
Returns: str – String to plot using gnuplot
-
AdaptivePELE.analysis.plotAdaptive.
parseArguments
()[source]¶ Parse command line arguments
Returns: int, int, int, str, bool, bool – Number of steps per epoch, column to plot in the X axis, column to plot in the Y axis, name of the files containing the simulation data, whether to plot the data as points, wether to plot the data as lines
writeClusteringStructures
Module¶
Write specified cluster representative structures to pdb
backtrackAdaptiveTrajectory
Module¶
Recreate the trajectory fragments to the led to the discovery of a snapshot, specified by the tuple (epoch, trajectory, snapshot) and write as a pdb file
-
AdaptivePELE.analysis.backtrackAdaptiveTrajectory.
main
(trajectory, snapshot, epoch, outputPath, out_filename, topology, use_pdb=False)[source]¶
-
AdaptivePELE.analysis.backtrackAdaptiveTrajectory.
parseArguments
()[source]¶ Parse the command-line options
Returns: int, int, int, str, str, str – number of trajectory, number of snapshot, number of epoch, output path where to write the files, name of the files, name of the topology


×
Tìm kiếm
1900 6459 - 1000đ/phút
<EMAIL_ADDRESS>9
27
9
27
KHUYẾN MÃI
IPHONE
IPAD
MAC
WATCH
ĐĂNG NHẬP
Khuyến mãi chờ iPhone XS
Tổng hợp khuyến mãi
Ngày
Giờ
Phút
Giây
Xem chi tiết
iPhone
iPhone X
Say hello to the future.
iPhone X
iPhone 8 Plus
A beautiful mind.
iPhone 8 Plus
iPhone 8
A beautiful mind.
iPhone 8
iPhone X
Say hello to the future.
iPhone X
iPhone 8 Plus
A beautiful mind.
iPhone 8 Plus
iPhone 8
A beautiful mind.
iPhone 8
iPad
iPad 2018
Say hello to the future.
iPad 2018
iPad 2018
Say hello to the future.
iPad 2018
iPad 2018
Say hello to the future.
iPad 2018
iPad 2018
Say hello to the future.
iPad 2018
Mac
Macbook 12"
Say hello to the future.
Macbook
Macbook 12"
Say hello to the future.
Macbook
Macbook 12"
Say hello to the future.
Macbook
Macbook 12"
Say hello to the future.
Macbook
Macbook 12"
Say hello to the future.
Macbook
Macbook 12"
Say hello to the future.
Macbook
Apple Watch
Apple Watch Series 3
Say hello to the future.
Apple Watch Series 3
Apple Watch Series 3
Say hello to the future.
Apple Watch Series 3
Apple Watch Series 3
Say hello to the future.
Apple Watch Series 3
Apple Watch Series 3
Say hello to the future.
Apple Watch Series 3
Apple Watch Series 3
Say hello to the future.
Apple Watch Series 3
Apple Watch Series 3
Say hello to the future.
Apple Watch Series 3


RSE Rest API
RSE Rest API¶
Overview
Resource |
Operation |
Description |
|---|---|---|
Attributes |
Translate LFNs to PFNs. |
|
Create RSE attribute. |
||
Delete RSE attribute. |
||
List all RSE attributes. |
||
Distance |
Create RSE distance. |
|
Update RSE distance. |
||
Get RSE distance. |
||
Limits |
Get RSE limits. |
|
Update RSE limits. |
||
Protocol |
Delete an RSE protocol. |
|
Update RSE protocol. |
||
Create an RSE protocol. |
||
List RSE protocol. |
||
Protocols |
List all RSE protocols. |
|
QoSPolicy |
Add QoS policy to RSE. |
|
Delete QoS policy from RSE. |
||
List all QoS policies of an RSE. |
||
RSE |
create a new RSE. |
|
disable RSE. |
||
Update an RSE. |
||
get RSE details. |
||
RSEAccountUsageLimit |
Get account usage. |
|
RSEs |
List all RSEs. |
|
Usage |
Get RSE usage. |
|
Update RSE usage. |
||
UsageHistory |
Get RSE usage history. |
Details
-
GET
/rses/
¶ List all RSEs.
- Query Parameters
expression – The returned list only contains RSE matching this expression.
- Response Headers
Content-Type – application/x-json-stream
- Status Codes
200 OK – DIDs found.
400 Bad Request – Invalid RSE Expression.
401 Unauthorized – Invalid Auth Token.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
A list containing all RSEs.
-
GET
/rses/
(rse)/accounts/usage
¶ Get account usage and limit for one RSE.
- Parameters
rse – the RSE name.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
Line separated list of dict with account usage and limits.
-
GET
/rses/
(rse)/usage/history
¶ Get RSE usage information.
- Parameters
rse – the RSE name.
- Response Headers
Content-Type – application/x-json-stream
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
Line separated list of dictionary with RSE usage information.
-
POST
/rses/
(rse)/qos_policy/
(policy)¶ Add QoS policy to RSE
- Parameters
rse – The RSE name.
policy – The QoS policy name.
- Status Codes
201 Created – Created.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
500 Internal Server Error – Internal Error.
-
DELETE
/rses/
(rse)/qos_policy/
(policy)¶ Delete QoS policy from RSE.
- Parameters
rse – The RSE name.
policy – The QoS policy name.
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
500 Internal Server Error – Internal Error.
-
GET
/rses/
(rse)/qos_policy
¶ List all QoS policies of an RSE.
- Parameters
rse – The RSE name.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
500 Internal Server Error – Internal Error.
- Returns
List of QoS policies
-
DELETE
/rses/
(rse)/protocols/
(scheme)/
(hostname)/
(port)¶
-
DELETE
/rses/
(rse)/protocols/
(scheme)/
(hostname)¶
-
DELETE
/rses/
(rse)/protocols/
(scheme)¶ Deletes a protocol entry for the provided RSE.
- Parameters
rse – The RSE name.
scheme – The protocol identifier.
hostname – The hostname defined for the scheme, used if more than one scheme is registered with the same identifier.
port – The port registered for the hostname, ued if more than one scheme is registered with the same identifier and hostname.
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
404 Not Found – RSE Protocol Not Supported.
500 Internal Server Error – Internal Error.
-
PUT
/rses/
(rse)/protocols/
(scheme)/
(hostname)/
(port)¶
-
PUT
/rses/
(rse)/protocols/
(scheme)/
(hostname)¶
-
PUT
/rses/
(rse)/protocols/
(scheme)¶ Updates attributes of an existing protocol entry. Because protocol identifier, hostname, and port are used as unique identifier they are immutable.
- Parameters
rse – The RSE name.
scheme – The protocol identifier.
hostname – The hostname defined for the scheme, used if more than one scheme is registered with the same identifier.
port – The port registered for the hostname, ued if more than one scheme is registered with the same identifier and hostname.
- Request JSON Object
paramaters (dict) – parameter of the new protocol entry.
- Status Codes
201 Created – Created.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
404 Not Found – RSE Protocol Not Supported.
404 Not Found – RSE Protocol Domain Not Supported.
409 Conflict – RSE Protocol Priority Error.
500 Internal Server Error – Internal Error.
-
POST
/rses/
(rse)/protocols/
(scheme)¶ Create a protocol for a given RSE.
- Parameters
rse – The RSE name.
scheme – The protocol identifier.
- Request JSON Object
paramaters (dict) – parameter of the new protocol entry.
- Status Codes
201 Created – Created.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
404 Not Found – RSE Protocol Domain Not Supported.
409 Conflict – RSE Protocol Priority Error.
500 Internal Server Error – Internal Error.
-
GET
/rses/
(rse)/protocols/
(scheme)¶ List all references of the provided RSE for the given protocol.
- Parameters
rse – The RSE name.
scheme – The protocol identifier.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
404 Not Found – RSE Protocol Not Supported.
404 Not Found – RSE Protocol Domain Not Supported.
406 Not Acceptable – Not Acceptable.
- Returns
A list with detailed protocol information.
-
POST
/rses/
(source)/distances/
(destination)¶ Create distance information between source RSE and destination RSE.
- Parameters
source – The source RSE name.
destination – The destination RSE name.
- Status Codes
201 Created – Created.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
500 Internal Server Error – Internal Error.
-
PUT
/rses/
(source)/distances/
(destination)¶ Update distance information between source RSE and destination RSE.
- Parameters
source – The source RSE name.
destination – The destination RSE name.
- Status Codes
200 OK – OK.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
500 Internal Server Error – Internal Error.
-
GET
/rses/
(source)/distances/
(destination)¶ Get RSE distance between source and destination.
- Parameters
source – the source RSE name.
destination – the destination RSE name.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
List of dictionaries with RSE distances.
-
GET
/rses/
(rse)/protocols
¶ List all supported protocols of the given RSE.
- Parameters
rse – The RSE name.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Operation Not Supported.
404 Not Found – RSE Not Found.
404 Not Found – RSE Protocol Domain Not Supported.
404 Not Found – RSE Protocol Not Supported.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
A list containing all supported protocols and all their attributes.
-
GET
/rses/
(rse)/lfns2pfns
¶ Return PFNs for a set of LFNs. Formatted as a JSON object where the key is a LFN and the value is the corresponding PFN.
- Parameters
rse – The RSE name.
scheme – The protocol identifier.
- Query Parameters
lfn – One or moref LFN to translate.
scheme – Optional argument to help with the protocol selection (e.g., http / gsiftp / srm)
domain – Optional argument used to select the protocol for wan or lan use cases.
operation – Optional query argument to select the protoco for read-vs-writes.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
404 Not Found – RSE Protocol Not Supported.
404 Not Found – RSE Protocol Domain Not Supported.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
A list with detailed PFN information.
-
GET
/rses/
(rse)/limits
¶ Get RSE limits.
- Parameters
rse – the RSE name.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
List of dictionaries with RSE limits.
-
PUT
/rses/
(rse)/limits
¶ Update RSE limits.
- Parameters
rse – The RSE name.
- Status Codes
200 OK – OK.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
500 Internal Server Error – Internal Error.
-
GET
/rses/
(rse)/usage
¶ Get RSE usage information.
- Parameters
rse – the RSE name.
- Query Parameters
source – The information source, e.g., srm.
per_account – Boolean whether the usage should be also calculated per account or not.
- Response Headers
Content-Type – application/x-json-stream
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE Not Found.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
A list of dictionaries with the usage information.
-
PUT
/rses/
(rse)/usage
¶ Update RSE usage information.
- Parameters
rse – The RSE name.
- Request JSON Object
parameter (dict) – Dictionary with ‘source’, ‘used’, ‘free’ values to update.
- Status Codes
200 OK – OK.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
500 Internal Server Error – Internal Error.
-
POST
/rses/
(rse)/attr/
(key)¶ create RSE attribute with given RSE name.
- Parameters
rse – RSE name.
key – Key attribute.
- Request JSON Object
parameter (dict) – Dictionary with ‘value’.
- Status Codes
201 Created – Created.
400 Bad Request – Cannot decode json parameter dictionary.
400 Bad Request – Key not defined.
401 Unauthorized – Invalid Auth Token.
409 Conflict – Attribute already exists.
500 Internal Server Error – Internal Error.
-
DELETE
/rses/
(rse)/attr/
(key)¶ Delete an RSE attribute for given RSE name.
- Parameters
rse – RSE name.
key – The key name.
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
404 Not Found – RSE attribute not found.
500 Internal Server Error – Internal Error.
-
GET
/rses/
(rse)/attr/
¶ list all RSE attributes for a RSE.
- Parameters
rse – RSE name.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
A list containing all RSE attributes.
-
POST
/rses/
(rse)¶ Create RSE with given name.
- Parameters
rse – The RSE name.
- Request JSON Object
deterministic (bool) – Boolean to know if the pfn is generated deterministically.
volatile (bool) – Boolean for RSE cache.
city (string) – City for the RSE.
staging_area (bool) – Staging area.
region_code (string) – The region code for the RSE.
country_name (string) – The country.
continent (string) – The continent.
time_zone (string) – Timezone.
ISP (string) – Internet Service Provider.
rse_type (string) – RSE type.
latitude (number) – Latitude coordinate of RSE.
longitude (number) – Longitude coordinate of RSE.
ASN (string) – Access service network.
availability (integer) – Availability.
- Status Codes
201 Created – RSE created successfully.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
409 Conflict – RSE already exists.
409 Conflict – RSE not found.
500 Internal Server Error – Internal Error.
-
DELETE
/rses/
(rse)¶ Disable RSE with given RSE name.
- Parameters
rse – the RSE name.
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
500 Internal Server Error – Internal Error.
-
PUT
/rses/
(rse)¶ Update RSE properties (e.g. name, availability).
- Parameters
rse – The RSE name.
- Request JSON Object
parameters (dict) – Dictionary of parameters to update.
- Status Codes
201 Created – RSE updated successfully.
400 Bad Request – Cannot decode json parameter dictionary.
401 Unauthorized – Invalid Auth Token.
409 Conflict – RSE not found.
409 Conflict – RSE already exists.
500 Internal Server Error – Internal Error.
-
GET
/rses/
(rse)¶ Details about a specific RSE.
- Parameters
rse – the RSE name.
- Response Headers
Content-Type – application/json
- Status Codes
200 OK – OK.
401 Unauthorized – Invalid Auth Token.
404 Not Found – RSE not found.
406 Not Acceptable – Not Acceptable.
500 Internal Server Error – Internal Error.
- Returns
A list containing all RSEs.


The Premon applet is a mid-sized (and I'm afraid rather underdocumented) piece of software: there's approx 11k lines of Java, of which approx. 8k lines are code.
The index of source code files and the class heirachy are available, but since there's 175 class files, this may be a bit daunting!
The program is broken down into phases, each of which has associated classes:
This was the first Java program I ever wrote (beyond "Hello World") and if I were to do it again, I would do it differently (eg I'd now use AWT1.1) but such is life.
The main user interface classes are:
AppletPremon, which takes an expression, the free variables, and the primitives as arguments, constructs a PremonEnvironment object containing the parsed ASTs, the semantics, and the graph for the expression, then draws the result to a CanvasDrawer object. A mouse click on the graph causes a PremonPanel source code editor to pop up in a separate frame.
AppletPremonEditor, which is an applet containing a PremonPanel source code editor.
The parser is written in v0.8 of the JavaCC Java Compiler Compiler, using the JJTree tools.
PremonJJTParser is an LL(1) grammar for the Premon language, including syntax sugar.
The PremonJJTParser parser
generates abstract syntax trees. Each AST class is a subclass of
PremonJJTNode. Each subclass includes a
desugar
method which returns a typechecked AST with all
syntax sugar removed.
PremonJJTCat is a class for categories.
PremonJJTCon is a class for contexts.
PremonJJTDec is a class for declarations.
PremonJJTExp is a class for expressions.
PremonJJTId is a class for identifiers.
PremonJJTPat is a class for patterns.
PremonJJTType is a class for types.
The desugar
method returns a type-annotated abstract
syntax tree, where all the syntax sugar has been removed. Each AST
class has a method semantics
which returns the semantics
as an object (in the case of types or contexts) or a morphism (in the
case of expressions or declarations).
PremonCat is a class for categories.
PremonCon is a class for contexts.
PremonDec is a class for declarations.
PremonExp is a class for expressions.
PremonPat is a class for patterns.
PremonType is a class for types.
PremonVar is a class for variables.
The categorical semantics is given as a partially traced, closed
premonoidal category with a given monoidal centre and cartesian focus.
Each class has methods representing the categorical structure, such as
tensor
, comp
, curry
etc. The
Mor
class has methods graph0
and
graph1
to produce graphs.
Mor is the class of morphisms.
Obj is the class of objects.
The graph representation consists of a set of constraints, plus a
method draw
which draws the graph once the constraints
have been solved. There is also a dynamic programming algorithm to
solve the constraints (which isn't optimal, but it's good enough).
Graph0 is the class of graphs with no
control lines. It consists of a Constraints
object and a draw(Drawer)
method which draws the
graph once the constraints have been solved.
Graph1 is the class of graphs with one control lines, similar to the Graph0 class.
Constraints is a class containing a constraint set. This is a collection of variables v1...vn together with a collection of constraints of the form vi + d <= vj. A constraint set can be solved, producing a Solution object.
Solution is a class containing a solution
to a constraints set. It provides a lookup function int
value(int)
where value(i)
is the value of variable
vi. The solution is implemented using a 2-pass
dynamic programming algorithm, which first minimizes the values (with
minimum 0), finds the resulting bounding box, then maximizes them
(with maximum given by the bounding box), and finally returns the
average of the minimum and maximum values. This is by no means an
optimal solution, but it's good enough.
Drawer is the class of `places which can be drawn to'. It is constructed from a low-level Grapher graphics class, and a Solution to the constraints.
Grapher is a low-level graphics class, implemented either using an AWT graphics context, or a PostScript back end (this was all written in the days before the AWT 1.1 PrintJob class existed).


Background
Cybercrime in Canada
Cybercrime costs the Canadian economy between $3 billion and $5 billion a year.1. But, the impacts go beyond economics. Millions suffer the emotional impacts of cybercrime, including feelings of shame, vulnerability, fear, and confusion.
Cybercrime is vastly underreported. In 2018, only 32,968 cases were filed and most are not solved.2 In addition, only 10% of Canadian businesses impacted by cybercrime events reported the crime to police. Even fewer businesses reported any measures to protect themselves, their customers, and their partners.3
The public is concerned but unprotected. They need support to deal with the impact and reduce their chances of falling victim in the first place. 4
Our partnership with RCMP/NC3
In 2018, the Canadian Government set aside budget to create the RCMP’s National Cybercrime Coordination Unit.5
The role of the unit is to:
- Coordinate cybercrime investigations in Canada and work with partners internationally to combat a wide range of cybercrime incidents
- Provide investigative advice and guidance to Canadian police
- Produce cybercrime intelligence for Canadian police
- Create a single point of contact for individuals and businesses to report cybercrime online
In October 2018, the Canadian Digital Service (CDS) embarked on a partnership with the RCMP/NC3 focused on delivering a public reporting tool for victims of cybercrime and fraud. This tool, the National Cybercrime and Fraud Reporting System (NCFRS), will eventually feed reports into the National Cybercrime System (NCS) for triage, analysis, and dissemination to respective police of jurisdiction.
CDS’s role in this partnership goes beyond service delivery. CDS is also working with the RCMP to build capacity and put in place modern processes and technology, including: agile software development techniques, product management, design research, iteration, working in the open, and service design.
Our primary goal is that our partner departments, like RCMP, continue to work with these tools and methods once the partnership concludes - and keep iterating on digital products going forward.
-
https://www.cbc.ca/news/business/ai-hacking-canada-1.4437427 ↩
-
https://www.cbc.ca/news/canada/nova-scotia/cyber-crime-rising-across-canada-1.5221330 ↩
-
https://www150.statcan.gc.ca/n1/pub/85-002-x/2019001/article/00006-eng.htm ↩
-
https://cira.ca/resources/state-internet/report/canadians-deserve-a-better-internet ↩
-
http://www.rcmp.gc.ca/en/the-national-cybercrime-coordination-unit-nc3 ↩


Caenorhabditis doughertyi (formerly sp. 10) is a gonochoristic species belonging to the Elegans supergroup. The sequenced strain, JU1771, is an inbred strain generated from the type isolate JU1333, which was isolated in Kerala, India [2]. See below for more information and references.
C. doughertyi (sp. 10) was formally described in [1]. Discussion about morphological characters can be found in [2] (termed sp. 10 here). C. brenneri is the most closely related species [1].
Zoobank entry: 6D1A7C02-982E-472E-8619-F6746AB78B51
CGC strain entry: JU1771
The raw data can be downloaded from either ENA or NCBI (please note the raw data contain sequencing adapters and bacterial contamination - contact<EMAIL_ADDRESS>for “cleaned” reads):
https://www.ebi.ac.uk/ena/data/view/PRJEB11002
https://www.ncbi.nlm.nih.gov/bioproject/PRJEB11002
The genome of C. doughertyi JU1333 was assembled by Sinduja Chandrasekar (Blaxter Lab) using short-read data.
See our general assembly pipeline for more info: CGP Pipeline
Genes were predicted using BRAKER which utilises evidence from raw RNA-seq data [3].


Introduction to Tutorials
During the design of the CO SMST Component interface, with the aim of validation process some applications were developed for the CORBA architecture. They are fully compliant with the Software Component Documentation Sequential Modular Specific Tools CO-NUMR-IN-08 version 2.0.
- A C/C++ application called Flowsheet Server which is a CAPE-OPEN compliant SMST component (that corresponds to a "server" side or "soft with a plug"),
- Some basic C++ programs which use services coming from a CAPE-OPEN compliant SMST component (that corresponds to a "client" side or "soft with a socket"),
- A complete Java application called Flowsheet Analyser which uses services coming from a CAPE-OPEN compliant SMST component (that corresponds to a "client" side or "soft with a socket").
Note that the Flowsheet Server integrates some Fortran legacy codes. All programs have only a prototype status and have no commercial issue. These applications are deployed, you can download and install them from the Appendices.
The development environment was :
- Windows NT 4.0 SP3,
- Microsoft DevStudio Visual C++ 5.0 SP3,
- Java 2 SDK 1.2.1,
- Rational Rose 98 Professional C++ Edition SP1,
- Microsoft DevStudio Fortran Powerstation 4.0,
- Inprise VisiBroker for C++ 3.3 (compliant with the CORBA Specification 2.2),
- Inprise VisiBroker for Java 3.4 (compliant with the CORBA Specification 2.2).


Created by Francisco G.
Node is available for Mac, Linux, and Windows.
Just go to nodejs.org and click on install.
Because you'll be using it a lot.
Mac comes with the "Terminal" program which is fine
But I would recommend downloading iTerm2, it's free
Why? allows tabs and you can change the colors a lot easier and it's just prettier and better.
You can use Powershell, which comes pre-installed with Windows since XP
or you can try other terminal/shell tools like:
Task runners let you perform a bunch of tasks all at once saving you the hassle of having to manually do each one separately
Lets take Javascript for example.
Allows you write JS code in the setup file (gulpfile.js)
And because I like it
Open up your terminal and create a new directory and run the following commands:
npm init
This will ask you a bunch of questions and create a new package.json which you'll need
npm install -g gulp
Installs Gulp globally (You'll need both a global and local install)
npm install gulp --save-dev
This is your local installation
You can do it however you wamt, they key is to be organized
- project
package.json
- node_modules ← folder is created by npm when you install a dependency
- src
- stylus
- js
- jade
- app ← some people use the word "dist" for this folder
index.html
- css
- img
- js
npm install gulp-stylus --save-dev
npm install gulp-jade --save-dev
var gulp = require('gulp');
gulp.task('default', function() {
return gulp.src('./*')
.pipe(gulp.dest('../'));
});


Welcome to Jobs
Your Gateway to Endless Opportunities
Search here to begin
ADD JOB
% for row in message['positions']:
% end
{{row[3]}}


Dirty Work 1/2 * A movie review by Serdar Yegulalp (C) 1998 by Serdar Yegulalp
So far, I have personally seen more genuinely terrible and unwatchable movies in 1998 than in any other year in recent memory. DIRTY WORK bellyflops squarely onto the end of that astonishing string of stinkers. Not only was it not screened for critics, but when trailers for the movie rolled two months ago (ours was appended to GODZILLA), people walked out of the theater to wait for it to end.
 The film's basic premise has potential: Norm MacDonald (late of SATURDAY NIGHT LIVE) plays a schlub who, in an attempt to raise money for his father's heart transplant, starts a revenge-for-hire service. There! With that concept in mind, sit down and write as many things you can think of that might appear in a comedy about this subject. I'll bet my 401K fund that not only do none of them appear in this movie, but that everything you wrote down is guaranteed to be funnier than anything that happens on screen. The film is a wretched parade of cheap shots at fat people, gays ("Keep your distance, Liberace," one of the characters says after a too-intimate embrace), and anyone else who wasn't in the room when they scrawled the script on the back of a gum wrapper.
It's absolutely amazing. I racked my brains trying to remember a single funny moment in this movie. There isn't one. Usually a movie will have SOMETHING that at least makes you snicker, even if it's not deliberate. This movie is a desert, seconded only by SOUR GRAPES so far as the worst movie of the year. Matters aren't helped by the static direction (Bob Saget, of AMERICA'S FUNNIEST HOME VIDEOS) or MacDonald's dead delivery. He seems to think that just because he could get laughs reading "Weekend Update" in a smiling monotone, he can do the same with everything else he gets handed.
There is a little crew of amateur filmmakers who call themselves Random Foo Productions. They've even got their own web site (www.randomfoo.com). I've seen several of their homebrew movies already, and for a bunch of kids with an operating budget that's probably less than what it costs to chauffeur a big-name director to the airport, they are enormous fun.
Why do I mention them here? Draw your own conclusions.
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Modals are streamlined, but flexible, dialog prompts with the minimum required functionality and smart defaults.
Creating custom modals is straightforward: create a partial view, its controller and reference them when using the service.
Modals have two optional sizes, available via parameter to be placed on function open('lg')
You can add any animation effect to your modal window. Just pick up some of the effect from animation page and add it to modalInstancewindowClass: "animated fadeInY"
extra class.
The $modal service has only one method: open(options) where available options are like follows:
| Name | Description |
|---|---|
| templateUrl | a path to a template representing modal's content |
| template | inline template representing the modal's content |
| scope | a scope instance to be used for the modal's content (actually the $modal service is going to create a child scope of a provided scope). Defaults to $rootScope |
| controller | a controller for a modal instance - it can initialize scope used by modal. Accepts the "controller-as" syntax in the form 'SomeCtrl as myctrl'; can be injected with $modalInstance |
| controllerAs | an alternative to the controller-as syntax, matching the API of directive definitions. Requires the controller option to be provided as well |
| resolve | members that will be resolved and passed to the controller as locals; it is equivalent of the resolve property for AngularJS routes |
| backdrop | controls presence of a backdrop. Allowed values: true (default), false (no backdrop), 'static' - backdrop is present but modal window is not closed when clicking outside of the modal window. |
| keyboard | indicates whether the dialog should be closable by hitting the ESC key, defaults to true |
| backdropClass | additional CSS class(es) to be added to a modal backdrop template |
| windowClass | additional CSS class(es) to be added to a modal window template |
| windowTemplateUrl | a path to a template overriding modal's window template |
| size | optional size of modal window. Allowed values: 'sm' (small) or 'lg' (large). Requires Bootstrap 3.1.0 or later |


| life | index ../examples/life.py |
Life - John Conway's Game of Life
A tinygame implementation of the famous life cellular automata simulation.
Rules for implementation found from here: http://en.wikipedia.org/wiki/Conway%27s_life
| Modules | ||||||
|
| Functions | ||
|
| Data | ||
| DEFAULT_START = '\n ... # #\n ##\n\n\n\n\n\n\n\n\n' |


{% extends "attendees/purchase_base.html" %} {% block bodyclass %}{{ block.super }} paymill{% endblock %} {% load i18n %} {% load static %} {% block content %} {{ block.super }} {% trans "You have to have JavaScript enabled to pay via credit card."%}
{% trans "You have to have JavaScript enabled to pay via credit card."%}
{{ error }}


| 039:065 Khan | : |
And indeed it has been revealed to you (O Muhammad SAW), as it was to those (Allah's Messengers) before you: "If you join others in worship with Allah, (then) surely (all) your deeds will be in vain, and you will certainly be among the losers." |
| 039:065 Maulana | : |
And certainly, it has been revealed to thee and to those before thee: If thou associate (with Allah), thy work would certainly come to naught and thou wouldst be a loser. |
| 039:065 Pickthal | : |
And verily it hath been revealed unto thee as unto those before thee (saying): If thou ascribe a partner to Allah thy work will fail and thou indeed wilt be among the losers. |
| 039:065 Rashad | : |
It has been revealed to you, and to those before you that if you ever commit idol worship, all your works will be nullified, and you will be with the losers. |
| 039:065 Sarwar | : |
even though God has said, "It has been revealed to you and to those who lived before you that if you consider other things equal to God, your deeds will be made devoid of all virtue and you will certainly be lost?". |
| 039:065 Shakir | : |
And certainly, it has been revealed to you and to those before you: Surely if you associate (with Allah), your work would certainly come to naught and you would certainly be of the losers. |
| 039:065 Sherali | : |
And, verily it has been revealed to thee as unto those before thee, 'If thou associate partners with ALLAH, thy work shall, surely, come to naught and thou shalt certainly be of the losers.' |
| 039:065 Yusufali | : |
But it has already been revealed to thee,- as it was to those before thee,- "If thou wert to join (gods with Allah), truly fruitless will be thy work (in life), and thou wilt surely be in the ranks of those who lose (all spiritual good)". |
Concepts/Themes Covered: أركان الإسلام > التوحيد > توحيد الله تعالي > وحدانيته Pillars of Islam> Islamic> Oneness of Allah> Singularity and Being Unique العمل > العمل الطالح > إحباط العمل Action(Work)> Bad Deeds>Lost Deeds
This tool uses eight English parallel translations for the Holy Quran imported from Mr. Clay Smith. You can also visit Qurany Concepts for browsing the Quran themes or topics. If you want to search the Holy Quran for keywords, please visit Qurany Keywords.


A Short History Of Nearly Everything
by Bill Bryson (2003)
Bryson's unassuming style make this a joy to read - welcoming, continually interesting, and with warm and often laugh-out-loud humour firmly woven through almost every paragraph.
The book's only failing is perhaps in attempting to do too much - in less capable hands, its ambitious remit would cause it to sprawl far beyond the extent of this middling-sized tome. But Bryson deftly manages to give an overview of not just the most prominent fields in science, but their history, and most delightfully, the eccentricities of their practitioners to boot. In performing such a feat he is obliged to omit a great deal, and is only able to skim nuggets of trivia from the surface of each topic. However, his sure, deliberate style, like an educational Sunday afternoon sightseeing stroll, guides us deftly to appreciate each notable landmark upon the way, and then he unobtrusively ushers us onward, to the next worthy vista.
Heartily recommended, for its perspective on the human background to how we know what we know, and the sheer jolliness with which it is presented.
Rating: 8/10


Contains classes shared between all parts in Web.
Currently only holds the Page enum, the single point of configuration for all pages.


Sunflower pub recognised for 'dog friendly' approach
A BELFAST pub has been hailed the most 'dog-friendly' in the north.
The Sunflower bar in the city centre received the most votes for its "welcoming approach, secure garden, and shaded areas" for patrons and their pets.
The awards are run by Rover.com, the world's largest network of pet sitters and dog walkers.
Sunflower worker Robert McManus said: "All our staff love dogs and try to make sure their time in the pub is comfortable.
"We take part in a few dog-friendly events so this shows that the work we're doing is worthwhile and local dog owners appreciate what we're doing. This regional award opens up many new opportunities for us."


A landing page template freshly redesigned for Bootstrap 4
| First | |
| Second | Twentieth |
| Third | Thirtieth |
| Fourth | Fortieth |
| Fifth | Fiftieth |
| Sixth | Sixtieth |
| Seventh | Seventieth |
| Eigth | Eightieth |
| Ninth | Nintieth |
| Tenth | |
| (数字)+th (以下为例外) | (数字结尾-ty)去 y+ieth |
| January | July |
| February | August |
| March | September |
| April | October |
| May | November |
| June | December |
The general order is: Month Date, Year.
Use ordinal numbers when saying dates.
Years are generally pronounced in two pairs.
I cannot work April thirtieth.
What plans do you have for December seventh?
My birthday is ________


Command injection attacks are possible when an application passes unsafe user supplied data (forms, cookies, HTTP headers etc.) to a system shell.
$ssh->exec("ping -W 250 -c 4 ".$_POST['host'])
Command injection is an attack in which the goal is execution of arbitrary commands on the host operating system via a vulnerable application.
0|whoami
Ideally, a developer should use existing API for their language. For example (Java): Rather than use Runtime.exec() to issue a ‘mail’ command, use the available Java API located at javax.mail.*. If no such available API exists, the developer should scrub all input for malicious characters. Implementing a positive security model would be most efficient. Typically, it is much easier to define the legal characters than the illegal characters.


Visualizations for the evsrc: Evolutionary Source Project. For additional context, please refer to the following links:
The source code of this visualization is available in GitHub.
The following network chart represents the couplings between files for the project PowerDNS, using all the available git history. Each node represents a file in the project, a link between two nodes indicates that changes between the files are correlated (correlation > 0).


We make video productions that help companies sell their products and services. We take your ideas and concepts,mix them with talent and vision and translate them into what your viewers expect in the video. Our workflow begins with understanding the client's needs and visions.
We have drone flight certificates and we can offer your company a different perspective through images. The beautiful footage from the drone integrate perfectly in the videos of your company.
We provide audio recording services - Voiceover with an emphasis on quality and compliance with delivery deadlines.
We work with you on a script that we turn into an audio file.
A voiceover helps the video better convey a message to viewers.
We come up with creative ideas to highlight your product or service.The script of a clip is part of the post production and we will work together for a better result.
We have drone flight certificates and we can offer your company a different perspective through images. The beautiful footage from the drone integrate perfectly in the videos of your company.
We provide audio recording services - Voiceover with an emphasis on quality and compliance with delivery deadlines.
We work with you on a script that we turn into an audio file.
A voiceover helps the video better convey a message to viewers.
We make video productions that help companies sell their products and services. We take your ideas and concepts, mix them with talent and vision and translate them into what your viewers expect in the video. Our workflow begins with understanding the client's needs and visions.
We come up with creative ideas to highlight your product or service.The script of a clip is part of the post production and we will work together for a better result.


The Language of Politics
Charting the Vocabulary of Reddit's Political Communities
I've always thought, from a political standpoint, Reddit is really interesting. Regardless of the political ideology, a community (or 'subreddit') exists where like-minded individuals discuss current events through that ideological lens. In these subreddits, I noticed that the same problems are discussed, but using very different language.
In an effort to quantify these differences, I use Reddit's open API, PRAW, to scrape the most popular threads from three politically engaged subreddits. I utilize Python to process the comments, Redis to push the words into a PSQL database, and Postgres to form the data objects on this page. This process is automated, running every 15 minutes on an AWS EC2 instance. In order to ensure that the same data is not processed twice, I store the unique comment ID of processed comments and then exlude these ID from the crawler. I only include first or second level comments with an overall positive score. You may notice that words such as 'the, and, then' etc. are not present in this data set. I consulted Wikipedia's list of most common words and did not include the most common ~150 words.
If you are interested, feel free to check out the project on GitHub. Two options are available, you may either select one of three pre-rendered datasets or look up the top words during a specific day.


Cookies let you store user information in web pages.
Cookies are data, stored in small text files, on your computer.
When a web server has sent a web page to a browser, the connection is shut down, and the server forgets everything about the user.
Cookies were invented to solve the problem "how to remember information about the user":
Cookies are saved in name-value pairs like:
When a browser request a web page from a server, cookies belonging to the page is added to the request. This way the server gets the necessary data to "remember" information about users.
JavaScript can create, read, and delete cookies with the document.cookie property.
With JavaScript, a cookie can be created like this:
You can also add an expiry date (in UTC time). By default, the cookie is deleted when the browser is closed:
With a path parameter, you can tell the browser what path the cookie belongs to. By default, the cookie belongs to the current page.
With JavaScript, cookies can be read like this:
| document.cookie will return all cookies in one string much like: cookie1=value; cookie2=value; cookie3=value; |
With JavaScript, you can change a cookie the same way as you create it:
The old cookie is overwritten.
Deleting a cookie is very simple. Just set the expires parameter to a passed date:
Note that you don't have to specify a cookie value when you delete a cookie.
The document.cookie property looks like a normal text string. But it is not.
Even if you write a whole cookie string to document.cookie, when you read it out again, you can only see the name-value pair of it.
If you set a new cookie, older cookies are not overwritten. The new cookie is added to document.cookie, so if you read document.cookie again you will get something like:
cookie1=value; cookie2=value;
If you want to find the value of one specified cookie, you must write a JavaScript function that searches for the cookie value in the cookie string.
In the example to follow, we will create a cookie that stores the name of a visitor.
The first time a visitor arrives to the web page, he will be asked to fill in his name. The name is then stored in a cookie.
The next time the visitor arrives at the same page, he will get a welcome message.
For the example we will create 3 JavaScript functions:
First, we create a function that stores the name of the visitor in a cookie variable:
Example explained:
The parameters of the function above are the name of the cookie (cname), the value of the cookie (cvalue), and the number of days until the cookie should expire (exdays).
The function sets a cookie by adding together the cookiename, the cookie value, and the expires string.
Then, we create a function that returns the value of a specified cookie:
Function explained:
Take the cookiename as parameter (cname).
Create a variable (name) with the text to search for (cname + "=").
Split document.cookie on semicolons into an array called ca (ca = document.cookie.split(';')).
Loop through the ca array (i=0;i<ca.length;i++), and read out each value c=ca[i]).
If the cookie is found (c.indexOf(name) == 0), return the value of the cookie (c.substring(name.length,c.length).
If the cookie is not found, return "".
Last, we create the function that checks if a cookie is set.
If the cookie is set it will display a greeting.
If the cookie is not set, it will display a prompt box, asking for the name of the user, and stores the username cookie for 365 days, by calling the setCookie function:
The example above runs the checkCookie() function when the page loads.


Class rex_cronjob
Cronjob Addon.
Direct known subclasses
rex_cronjob_article_status
,
rex_cronjob_export
,
rex_cronjob_optimize_tables
,
rex_cronjob_phpcallback
,
rex_cronjob_phpcode
,
rex_cronjob_urlrequest
Abstract
Package: redaxo\cronjob
Author: gharlan[at]web[dot]de Gregor Harlan
Located at redaxo/src/addons/cronjob/lib/cronjob.php
Package: redaxo\cronjob
Author: gharlan[at]web[dot]de Gregor Harlan
Located at redaxo/src/addons/cronjob/lib/cronjob.php
Methods summary
final public static
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
abstract public
|
||
public
|
||
final public
|
||
public
|
||
public
|


wide_res_net module¶
Wide Residual Network models for Keras. # Reference - [Wide Residual Networks](https://arxiv.org/abs/1605.07146)
-
wide_res_net.
WideResidualNetwork
(depth=28, width=8, dropout_rate=0.0, include_top=True, weights='cifar10', input_tensor=None, input_shape=None, classes=10, activation='softmax')[source]¶ Instantiate the Wide Residual Network architecture, optionally loading weights pre-trained on CIFAR-10. Note that when using TensorFlow, for best performance you should set image_dim_ordering="tf" in your Keras config at ~/.keras/keras.json. The model and the weights are compatible with both TensorFlow and Theano. The dimension ordering convention used by the model is the one specified in your Keras config file. # Arguments
depth: number or layers in the DenseNet width: multiplier to the ResNet width (number of filters) dropout_rate: dropout rate include_top: whether to include the fully-connected
layer at the top of the network.- weights: one of None (random initialization) or
- "cifar10" (pre-training on CIFAR-10)..
- input_tensor: optional Keras tensor (i.e. output of layers.Input())
- to use as image input for the model.
- input_shape: optional shape tuple, only to be specified
- if include_top is False (otherwise the input shape has to be (32, 32, 3) (with tf dim ordering) or (3, 32, 32) (with th dim ordering). It should have exactly 3 inputs channels, and width and height should be no smaller than 8. E.g. (200, 200, 3) would be one valid value.
- classes: optional number of classes to classify images
- into, only to be specified if include_top is True, and if no weights argument is specified.
- # Returns
- A Keras model instance.


Links
- Chroma Keyed stock videos (right clicking on the video will let you save it to your HD)
Try to make 3 different surreal compositions with chroma-keyed video
Example:
How-to mask a key color:
First, drag a video into your project.
Then, go to Effect > Keying > Color Range
Click the eyedropper and select the background color of your clip
Click the "eyedropper plus" icon to refine your mask
Increasing the "fuzziness" value will select colors close to the selected color
Refine the values until you're satisfied.
Now you can animate your layer using any of the transform controls we learned about last week!


See how community movement is impacted by COVID-19.
open_in_newWhat is RDS?Changes by location
Each report dataset is presented by location and highlights the percent change in visits to places like grocery stores and parks within a geographic area.
Country
Subdivision
What is a Mobility Report?
The Community Mobility Reports reflect the changes in response to policies aimed at combating COVID-19. The reports chart movements over time by geography, and across different places such as retail and recreation, groceries and pharmacies, parks, transit stations, workplaces, and residential.


Researchers: Charles Monaghan & Jona Stevenson
Auckland University of Technology 2021
When participants were asked to complete the structured set of tasks,
all were able to complete the tasks, with some caveats. When asked to
change the resolution of the operating system, all were able to
successfully navigate to the settings and change the resolution to
1360x768. This may be attributed to the fact that changing the
resolution is very similar to Windows and may mean that if a user has
done it once in Windows, they can repeat it easily in Ubuntu. It is
hard to state whether this is good usability design, as all
participants state that they were successful due to prior
knowledge.
Secondly, when participants were asked to
install their favourite browser, two out of the three participants
struggled. Ubuntu requires installation files to be stored in
permanent storage rather than temporary storage. Firefox, Ubuntu’s
default browser, automatically installs executable files to Firefox’s
temporary storage. This means attempting to install the software
returns an error. The two participants eventually figured out this
particular step after interfering with other tools such as the Ubuntu
app installer, right-clicking different objects, and even pasting the
error message: “Failed to install file: not supported”, into a chosen
search engine. This task prompt took the longest out of all the tasks
and may show that program installation in Ubuntu is not user friendly
due to specific steps that are needed to take. Interestingly, once the
task was over, the two participants who struggled with the task
similarly explained that the process was unnecessarily complicated but
now considered easy, as they now know what to do.
The third
task was completed similarly to task one. All participants were able
to complete the task with no issues. The process of changing the
background image on Ubuntu was very similar to Windows, and the
comments made by the participants can confirm this. The general
consensus was that this was a very user-friendly task.
Alongside the research completed, we were also able to draw a general consensus from the comments made by the participants. Participants found the user interface to be quite intuitive and user-friendly. They also enjoyed the app drawer, with two participants commenting on how it is similar to a mobile phone, creating a familiar experience. At the start and end of the research, we explained what open-source was, and all users found that to be a particular positive. Most interestingly, the oldest participant stated that they would now rather prefer the software to be open source. Finally, participants generally agreed that their prior Windows experience played a role in understanding. One participant explained that someone with less computing experience might find Ubuntu jarring.
Overall, Ubuntu has shown good usability for general tasks like
browsing, installing applications, and altering minor settings. This
research has not explored more complex tasks such as using the command
prompt, as it would be outside the scope of the general user. Our
biggest recommendation to the developers of Ubuntu would be to improve
the installation process of applications. The generic user may not
know how to debug error messages and may give up using an operating
system if one was faced early in the experience.
It is
also recommended to continue to take advantage of the mobile-styled
nature of some components in the operating system, as our participants
found those features to be particularly usable and easy to understand.
It would also create a more unique operating system, as many of our
users continually compared Ubuntu to Windows and noted many
similarities. However, they did not note anything unique other than
the mobile-style app drawer.


LOG IN
Choose between our Digital or Home Delivery options. You may cancel anytime.
Are you a student? Special rates here
$15.99$9.99/month*
* Billed as $9.99 every 30 days for introductory period of one year.
$26.99$16.99/month*
1 bonus ALL Access subscription to give to anyone you'd like (a $27/month value).
* Billed as $16.99 every 30 days for introductory period of one year.
As low as $9.25$4.63/week*
2 bonus All Access subscriptions
to give to anyone you'd like (a $54/month value).
* Billed as $18.50 every 28 days for introductoryperiod of 12 weeks. Home delivery price based on Saturday/Sunday delivery. Prices vary based on the delivery location and frequency. Subscribers receive free digital access with a Home Delivery Subscription.
Special Academic Rates
Students and educators, subscribe to The New York Times today and save up to 70% on unlimited access to NYTimes.com.
NYT Crossword
Play the Crossword and mini puzzles on any device. Daily puzzles edited by Will Shortz, plus 20 years of great puzzles from our archives.
NYT Cooking
Unlimited access to the entire NYT Cooking recipe database, with tools to save and organize your favorites in your personal Recipe Box.
Gift Subscriptions
Give the gift of unlimited access to NYTimes.com and the NYT app and save up to 50% on your gift subscription.
Group Subscriptions
Get unlimited NYTimes.com access for organizations, at special group rates.
No commitment required, cancel anytime.
Does not include e-reader editions. Mobile apps are not supported on all devices. Offer not available for current subscribers. Home Delivery offer valid for new subscribers in areas served by The New York Times Delivery Service. All subscriptions will automatically renew and your credit card or PayPal account will be charged in advance of each four-week billing period unless canceled. Other restrictions and taxes may apply.


SIP Dialog Example
Sometimes it is necessary for a dialog to take the SIP into account, as the SIP may hide important input widgets. The SIP Dialog Example shows how a Dialog
object, dialog
, can be resized accordingly if the SIP is opened, by embedding the contents of dialog
in a QScrollArea.
Dialog Class Definition
The Dialog
class is a subclass of QDialog that implements a public slot, desktopResized()
, and a public function, reactToSIP()
. Also, it holds a private instance of QRect, desktopGeometry
.
class Dialog : public QDialog { Q_OBJECT public: Dialog(); void reactToSIP(); private: QRect desktopGeometry; public slots: void desktopResized(int screen); };
Dialog Class Implementation
In the constructor of Dialog
, we start by obtaining the available geometry of the screen with availableGeometry(). The parameter used is 0
to indicate that we require the primary screen.
Dialog::Dialog() { desktopGeometry = QApplication::desktop()->availableGeometry(0); setWindowTitle(tr("SIP Dialog Example")); QScrollArea *scrollArea = new QScrollArea(this); QGroupBox *groupBox = new QGroupBox(scrollArea); groupBox->setTitle(tr("SIP Dialog Example")); QGridLayout *gridLayout = new QGridLayout(groupBox); groupBox->setLayout(gridLayout);
We set the window's title to "SIP Dialog Example" and declare a QScrollArea object, scrollArea
. Next we instantiate a QGroupBox, groupBox
, with scrollArea
as its parent. The title of groupBox
is also set to "SIP Dialog Example". A QGridLayout object, gridLayout
, is then used as groupBox
's layout.
We create a QLineEdit, a QLabel and a QPushButton and we set the minimumWidth property to 220 pixels, respectively.
QLineEdit* lineEdit = new QLineEdit(groupBox); lineEdit->setText(tr("Open and close the SIP")); lineEdit->setMinimumWidth(220); QLabel* label = new QLabel(groupBox); label->setText(tr("This dialog resizes if the SIP is opened")); label->setMinimumWidth(220); QPushButton* button = new QPushButton(groupBox); button->setText(tr("Close Dialog")); button->setMinimumWidth(220);
Also, all three widgets' text are set accordingly. The verticalSpacing property of gridLayout
is set based on the height of desktopGeometry
. This is to adapt to the different form factors of Windows Mobile. Then, we add our widgets to the layout.
if (desktopGeometry.height() < 400) gridLayout->setVerticalSpacing(80); else gridLayout->setVerticalSpacing(150); gridLayout->addWidget(label); gridLayout->addWidget(lineEdit); gridLayout->addWidget(button);
The scrollArea
's widget is set to groupBox
. We use a QHBoxLayout object, layout
, to contain scrollArea
. The Dialog
's layout is set to layout
and the scroll area's horizontal scroll bar is turned off.
scrollArea->setWidget(groupBox); QHBoxLayout* layout = new QHBoxLayout(); layout->addWidget(scrollArea); setLayout(layout); scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
The following signals are connected to their respective slots:
button
's pressed() signal to QApplication's closeAllWindows() slot,- QDesktopWidget's workAreaResized() signal to
dialog
'sdesktopResized()
slot.
connect(button, &QAbstractButton::clicked, qApp, &QApplication::closeAllWindows); connect(QApplication::desktop(), &QDesktopWidget::workAreaResized, this, &Dialog::desktopResized); }
The desktopResized()
function accepts an integer, screen, corresponding to the screen's index. We only invoke reactToSIP()
if screen is the primary screen (e.g. index = 0).
void Dialog::desktopResized(int screen) { if (screen != 0) return; reactToSIP(); }
The reactToSIP()
function resizes dialog
accordingly if the desktop's available geometry changed vertically, as this change signifies that the SIP may have been opened or closed.
void Dialog::reactToSIP() { QRect availableGeometry = QApplication::desktop()->availableGeometry(0); if (desktopGeometry != availableGeometry) { if (windowState() | Qt::WindowMaximized) setWindowState(windowState() & ~Qt::WindowMaximized); setGeometry(availableGeometry); } desktopGeometry = availableGeometry; }
If the height has decreased, we unset the maximized window state. Otherwise, we set the maximized window state. Lastly, we update desktopGeometry
to the desktop's available geometry.
The main()
function
The main()
function for the SIP Dialog example instantiates Dialog
and invokes its exec() function.
int main(int argc, char *argv[]) { QApplication app(argc, argv); Dialog dialog; return dialog.exec(); }
Note: Although this example uses a dialog, the techniques used here apply to all top-level widgets respectively.
Files:


The module PolicySupport supports editing, and viewing policy files.
The policy file is displayed using syntax highlightning.
You can take use of the PolicySupport module by following these steps:
.policy
.
The opened policy file has following features:
The following screen-shot shows a typical syntax hightlighted policy file.
You can verify the policy file by invoking a ParsePolicy action.
This action will parse the policy file, using policy parser
provided by the Java runtime.
Parsing errors are writen to the output window into the window tab
named Policy.
You can activate parsing the policy file by doing following steps:
The screenshot belows shows the popup menu of the policy editor.
The screenshot below shows the result of successfully parsing a policy file.
Note: The policy file is read from the filesystem. Thus not-saved changes of the policy file are not taken into account when parsing takes place.
You can find a detailsed description about policy files in the Java SDK documentation.
The paragraphs below are a short extract of the Java SDK documentation about policy files.
The policy configuration file(s) for an SDK installation specify what permissions (which types of system resource accesses) are allowed to code from a specified code source, and executed as a specified principal.
For an applet (or an application running under a security manager) to be allowed to perform secured actions (such as reading or writing a file), the applet (or application) must be granted permission for that particular action. In the Policy reference implementation, that permission must be granted by a grant entry in a policy configuration file. See the "Java Security Architecture Specification" for more information. (The only exception is that code always automatically has permission to read files from its same (URL) location, and subdirectories of that location; it does not need explicit permission to do so.)
A policy configuration file essentially contains a list of entries. It may contain a "keystore" entry, and contains zero or more "grant" entries.


--- layout: page title: "Projects" description: "Links to open source projects for students" ---
Blender, an open source 3D animation software that supports the full animation pipeline. Get started by reading through the New Developer Info Wiki.
OpenHatch, List of paid projects for students: https://openhatch.org/wiki/Opportunities.
(Note that although some are listed for 2014, they are in fact available for 2015 as well.)


| Status | Job Name | Next Run Time | Last Run Time | Last Result | |
|---|---|---|---|---|---|
| Running Disabled Idle Reallocating Failed | {{ job.name }} | {{ job.nextat | date:'yyyy/MM/dd HH:mm:ss' }} | {{ job.execat | date:'yyyy/MM/dd HH:mm:ss' }} | Successed Failed |
|
No jobs found.


Carlos Chagas was one of the most renowned scientists in Brazil.
Carlos Justiniano Ribeiro Chagas, or Carlos Chagas, was a Brazilian sanitary physician, scientist, and bacteriologist, who worked as a clinician and researcher. He discovered Chagas disease, also called American trypanosomiasis, in 1909, while working at the Oswaldo Cruz Institute in Rio de Janeiro.
Chagas' work holds a unique place in the history of medicine. Working in primitive conditions, Chagas described in detail a previously unknown infectious disease, its pathogen, vector (Triatominae), host, clinical manifestations, and epidemiology. Chagas was also the first to discover and illustrate the parasitic fungal genus Pneumocystis, later infamous for being linked to pneumocystis pneumonia in AIDS patients.


Massachusetts has been one of the hardest hit states in the U.S., with over 86,000 confirmed cases and 5,700 deaths through May 17, 2020. On March 23, 2020 Governor Baker issued an executive order closing all non-essential businesses across the Commonwealth in order to reduce the transmission of COVID-19.
The goal of this phased reopening plan is to methodically allow businesses, services, and activities to resume, while avoiding a resurgence of COVID-19 that could overwhelm our healthcare system and erase the progress we’ve made so far.


LOGO HERE
John Doe
DASHBOARD
PROJECTS
LOGRAMES
CUSTOM FORMS
FILES
ANALYTICS
×
Add a new project
CODE OR ACRONYM
*
TITLE
*
DESCRIPTION
START DATE
*
END DATE
*
STATUS
*
DIVISION-ORG. UNIT
*
PHOTO
Maximum file size is 32 MB
SELECT
LOCATIONS
+
No location selected
DONORS
SECTORS
COORDINATES
SAVE
Projects
All Projects
No project available


Representations of
Finitely Generated Nilpotent Groups
“ss
c
by Ian D.’ Brown
1970
A Dissertation Presented to the Faculty of the Graduate School of Yale University in Candidacy for the Degree of
Doctor of Philosophy.
Reproduced with permission of the copyright owner. Further reproduction prohibited without permission.


| 03 | |
| OCT | |
| 2014 | Blocks and Procs and Lambdas - Oh My! |
|
This week I'll provide a quick but hopefully informational overview about Blocs, Procs, and Lambdas, and how they are useful in Ruby. All three of these are ways of grouping code together to use as a unit. Another name for this is Closures. BlocksA block of code is simply a piece of code that we want to run under certain circumstances. Every time we iterate through an array using the .inject method, or we write an assert statement using yield, we use a code block to isolate the statement or statements we want to pass to the method. Notice how the block begins and ends with a set of curly brackets. ProcsA Proc is a way of creating a shorthand way to refer to a code block. It's actually a class in Ruby, but it's helpful to think of a proc object as a variable whose value is set to a block of code that we want to reuse. The code above shows a very simple example of how we might use a proc object to interate through a range of numbers double them, printing the output. The syntax is very similar to how we would use a block with an each statement, but notice how we've created a variable to hold the code. We then create a new proc object by calling the new method on it. To invoke the proc, we pass it in as a parameter to the each method. Note that we must use the ampersand to denote the proc. We can also define a Proc, as above, but then invoke it using the .call method. Since it's an object, we can call methods on it. LambdasThe differences between Procs and Lambdas are subtle. So subtle, in fact, that it's really hard to figure out what they are. A Lambda is actually a type of proc object. The behavior and functionality is similar. The main differences between the two are the way that they handle arguments and returns. A Lambda will produce an error if the number of arguments its passed differs from the number given when it was defined. This won't happen with a Proc object. Secondly, Lambdas allow multiple return statements, whereas a Proc will terminate the first time it encounters a return. Below is an example of how we might use a Lambda. Note the similarities in syntax and functionality between the example and the Proc example above. |


xml-lite
Maintaining XML in pure javascript (IN BOTH NODE.JS & BROWSERS) Homepage
Maintaining?
Converting
Editing/Traversing
XMLLite.findChildNode(doc, query);
XMLLite.findChildNodes(doc, query);
XMLLite.findOrCreateChildNode(doc, query);
XMLLite.removeChildNode(doc, query);
XMLLite.eachChildNode(doc, query, callback);
// ...
Formatting
XMLLite.beautify(xml, indent);
XMLLite.uglify(xml, preserveComments);
XMLLite.sanitize(xml, reverse);
// ...

Why?
- A reasonable need for usage in both Node.js and Browsers
- A more reasonable need to use native APIs(DOMParser/XMLSerializer) to speed up the maintaining process and keep the library thin
Why xml-lite
?
- It works exactly the same in both Node.js and Browsers
- The browser version is supper light-weight(dist/xml-lite.js)
- Convenient APIs for converting between xml/js/json/DOM, and lots of helpers to maintain the data structures
- Super fast. it takes less than 30ms to convert an xml document with over 1,000 nodes into a js object
Install
$ npm install xml-lite --save
$ npm install xml-lite -g
Usage
In Node.js
const XMLLite = require('xml-lite');
Command line client
$ xml-lite --help
In browsers
<script src="$path/to/xml-lite/dist/xml-lite.js">
In browsers with webpack
import XMLLite from 'xml-lite/lib/index-browser';


Version 1.1 (Feb.
27, 2002)
By Kris Kopicki<EMAIL_ADDRESS>Provides Mac OS specific features, such as:
jEdit exits cleanly when using Command-Q or "Quit" from the "File"
menu.
Files created or associated with jEdit can now be opened from the Finder,
by either double-clicking the file's icon or dragging the file's icon onto
the jEdit application icon.
jEdit is assigned as the creator of new files.
"Preferences..." in the application menu can be used to access jEdits Global Options.
"About jEdit..." in the application menu can be used to access the About Dialog.
(must be using the new 4.0 application bundle)
Known Issues:
Does not work under Mac OS X 10.0.x, as the MRJToolkit routines were not
implemented until Mac OS X 10.1.
"Preferences..." in the application menu will only work under Mac OS X 10.1.3 or later.
If using 10.1.3, the "Java 1.3.1 update 1" must be installed.
Files opened in the Finder before jEdit is running are not opened in jEdit.


The Road to El Dorado Reviewed by Christian Pyle Directed by Bibo Bergeron and Don Paul Written by Ted Elliott and Terry Rossio Starring the voices of Kevin Kline, Kenneth Branagh, Rosie Perez, Armand Assante, and Edward James Olmos Grade: A-
For several years Disney enjoyed a virtual monopoly on the lucrative market for animated features. A monopoly breeds monotony, and Disney's annual offerings soon slipped into a predictable "ugly duckling" formula (a misfit having an identity crisis has an adventure and discovers how special he/she is). Gradually, though, competition emerged: Fox entered the fray with "Anastasia" (1997), and Dreamworks pulled off the unlikely combination of Woody Allen and family animation in "Antz" (1998). "Antz" was followed by "The Prince of Egypt", Dreamworks' first foray into traditional animation. "Prince" stuck close to the Disney formula but showed a lot of guts in its choice of a religious subject and in its refusal to sugarcoat the unpleasant elements of the story of Moses. (After the way Disney sanitized the myth of Hercules, I doubt the House of Mouse would have shown God's destruction of the first-born children of Egypt.) Now Dreamworks gives us "The Road to El Dorado," which is a pleasant antidote to Disneyfication.
Inspired by the "Road" movies of Bob Hope and Bing Crosby, "El Dorado" is the story of two Spanish con men, Tulio (Kevin Kline) and Miguel (Kenneth Branagh) who win a map to the legendary city of gold, El Dorado, in the Yucatan. When the losers discover that our heroes were playing with loaded dice, Tulio and Miguel beat a hasty exit and unintentionally stow away on the ship of explorer Hernando Cortes (Jim Cummings). Cortes threatens them with a life of slavery, but the guys manage another escape with the aid of Altivo, a war horse who's smarter than both of them. Wouldn't you know it, they wash up on the shores of the New World right at a spot on the map. With the help of Chel (Rosie Perez), a young thief who's not too keen on life in the city of gold, Tulio and Miguel enter El Dorado and, much to their surprise, are treated as gods by the high priest Tzekel-Kan (Armand Assante) because their arrival fulfills an ancient prophecy about how the Age of the Jaguar will begin. There's a power struggle going on between the evil Tzekel-Kan and the benevolent Chief Tannabok (Edward James Olmos), and both badly want to earn the favor of the "gods." The boys have to keep up the ruse as long as they can if they want to get away with all the golden tribute they collect. All the time, of course, Cortes is on his way . . .
If you overlook the coincidences in the plot (our heroes just happen to land at a spot on the map, the natives just happen to be speaking the same language they do), "The Road to El Dorado" is lots of fun. Kline and Branagh bring rare enthusiasm to their vocal roles, and the friendship between Tulio the realist and Miguel the dreamer is touching without the overbearing sentiment of Disney. It's also refreshing to see such rascals as these in an animated film. Altogether, it's a breezier "Butch and Sundance."
The music for "El Dorado" reunites the Oscar-winning musical team from "The Lion King": songwriters Elton John and Tim Rice, and composer Hans Zimmer, with marvelous results. When I saw "Tarzan" recently, I grew to hate Phil Collins, but when I left "El Dorado" I wanted to run out and buy the soundtrack.
Bottom line: Refreshing romp
© 2000 Christian L. Pyle
Read my reviews and others at the Mad Review: http://www.madreview.com/main.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | /** * @name Subscriptions * @description This module exposes functions * related to the `/subscriptions` path. * * @module subscriptions **/ import { cond, has, T, curry } from 'ramda' import routes from '../routes' import request from '../request' const findOne = curry((opts, body) => request.get(opts, routes.subscriptions.details(body.id), {}) ) const findAll = curry((opts, pagination) => request.get(opts, routes.subscriptions.base, pagination || {}) ) /** * `GET /subscriptions` * Makes a request to /subscriptions or to /subscriptions/:id * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * * @param {Object} body The payload for the request. * {@link https://pagarme.readme.io/v1/reference#retornando-uma-assinatura|API Reference for this payload} * @param {Number} [body.id] The subscription's ID. If not sent a * subscriptions list will be returned instead. * @param {Number} [body.count] Pagination option to get a list of subscriptions. * Number of subscriptions in a page * @param {Number} [body.page] Pagination option for a list of subscriptions. * The page index. */ const find = (opts, body) => cond([ [has('id'), findOne(opts)], [T, findAll(opts)], ])(body) /** * `GET /subscriptions` * Makes a request to /subscriptions to get all subscriptions. * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * * @param {Number} [body.count] Pagination option to get a list of subscriptions. * Number of subscriptions in a page * @param {Number} [body.page] Pagination option for a list of subscriptions. * The page index. */ const all = (opts, body) => findAll(opts, body) /** * `POST /subscriptions` * Creates a subscription from the given payload. * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * @param {Object} body The payload for the request * {@link https://pagarme.readme.io/v1/reference#criando-assinaturas|API Reference for this payload} * * @returns {Promise} Resolves to the result of * the request or to an error. */ const create = (opts, body) => request.post(opts, routes.subscriptions.base, body) /** * `PUT /subscriptions/:id` * Updates a subscription from the given payload. * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * * @param {Object} body The payload for the request * {@link https://pagarme.readme.io/v1/reference#atualizando-uma-assinatura|API Reference for this payload} * @param {Number} body.id The subscription's ID * @returns {Promise} A promise that resolves to * the newly created subscriptions's * data or to an error. */ const update = (opts, body) => request.put(opts, routes.subscriptions.details(body.id), body) /** * `POST /subscriptions/:id/cancel` * Cancels a subscription * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * @param {Object} body The payload for the request * {@link https://pagarme.readme.io/v1/reference#cancelando-uma-assinatura|API Reference for this payload} * @param {Number} body.id The subscription's ID * * @returns {Promise} Resolves to the result of * the request or to an error. */ const cancel = (opts, body) => request.post(opts, routes.subscriptions.cancel(body.id), {}) /** * `POST /subscriptions/:id/transactions` * Creates a transaction for a subscription * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * @param {Object} body The payload for the request * @param {Number} body.id The subscription's ID * * @returns {Promise} Resolves to the result of * the request or to an error. */ const createTransaction = (opts, body) => request.post(opts, routes.subscriptions.transactions(body.id), body) /** * `GET /subscriptions/:id/transactions` * Gets transactions for a subscription * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * @param {Object} body The payload for the request * {@link https://pagarme.readme.io/v1/reference#transações-em-uma-assinatura|API Reference for this payload} * @param {Number} body.id The subscription's ID * * @returns {Promise} Resolves to the result of * the request or to an error. */ const findTransactions = (opts, body) => request.get(opts, routes.subscriptions.transactions(body.id), body) /** * `POST /subscriptions/:id/settle_charge` * Skips the next x charges for a subscription * * @param {Object} opts An options params which * is usually already bound * by `connect` functions. * @param {Object} body The payload for the request * {@link https://docs.pagar.me/reference#pulando-cobranças|API Reference for this payload} * @param {Number} body.id The subscription's ID * * @returns {Promise} A promise that resolves to * the subscription whose id * was passed on the request * body or to an error. */ const settleCharge = (opts, body) => request.post(opts, routes.subscriptions.settleCharge(body.id), body) export default { all, find, findAll, create, update, cancel, createTransaction, findTransactions, settleCharge, } |


This is a list of all reptiles living in Spain, both in the Iberian Peninsula and other territories such as Ceuta, Melilla, the Balearic Islands and the Canary Islands (including marine reptiles that can be found on its shores). Both native and introduced species are included.


eLEAF was originally started by three young collegiate boys. They were hard working, and believed that you only got out of something what you put into it. They joined together and started a landscaping business, and over the next decade refined their system to keep track of all their jobs. That was 75 years ago, and the ideals haven’t changed a bit. We believe in making the world a better place, one lawn at a time. We do it, by offering the project management system that has helped keep the company number one for almost a century.