radmc3dPy.models package¶
Submodules¶
radmc3dPy.models.lines_nlte_lvg_1d_1 module¶
A 1D simple velocity gradient model to calculate lines with the LVG method
Original IDL model by Kees Dullemond, Python translation by Attila Juhasz
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getDefaultParams
()¶ Provides default parameter values
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust volume density in g/cm^3
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getDustTemperature
(grid=None, ppar=None)¶ Calculates/sets the dust temperature
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust temperature in K
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getGasAbundance
(grid=None, ppar=None, ispec='')¶ Calculates/sets the molecular abundance of species ispec The number density of a molecule is rhogas * abun
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
ispec : str
The name of the gas species whose abundance should be calculated
Returns: Returns the abundance as an ndarray
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getGasDensity
(grid=None, ppar=None)¶ Calculates the total gas density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the gas volume density in g/cm^3
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getGasTemperature
(grid=None, ppar=None)¶ Calculates the gas temperature
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the gas temperature in K
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getModelDesc
()¶ Provides a brief description of the model
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getVTurb
(grid=None, ppar=None)¶ Calculates/sets the turbulent velocity field
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the turbulent velocity in cm/s
-
radmc3dPy.models.lines_nlte_lvg_1d_1.
getVelocity
(grid=None, ppar=None)¶ Calculates/sets the gas velocity field
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the turbulent velocity in cm/s
radmc3dPy.models.ppdisk module¶
Generic protoplanetary disk model
The density is given by
\[\rho = \frac{\Sigma(r,\phi)}{H_p\sqrt{(2\pi)}} \exp{\left(-\frac{z^2}{2H_p^2}\right)}\]
- \(\Sigma\) - surface density
- \(H_{\rm p}\) - Pressure scale height
There are two options for the functional form of surface density as a function of radius. For a simple power-law the surface density is given by
- \(\Sigma(r) = \Sigma_0\left(\frac{r}{r_{\rm out}}\right)^p\)
alternatively the surface density can also have an exponential outer tapering:
- \(\Sigma(r) = \Sigma_0\left(\frac{r}{r_{\rm out}}\right)^p\exp{\left\{-\left(\frac{r}{r_{\rm out}}\right)^{2+p}\right\}}\)
The molecular abundance function takes into account dissociation and freeze-out of the molecules For photodissociation only the continuum (dust) shielding is taken into account in a way that whenever the continuum optical depth radially drops below a threshold value the molecular abundance is dropped to zero. For freeze-out the molecular abundance below a threshold temperature is decreased by a given fractor.
-
radmc3dPy.models.ppdisk.
getDefaultParams
()¶ Function to provide default parameter values of the model.
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.ppdisk.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution in a protoplanetary disk.
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the volume density in g/cm^3
-
radmc3dPy.models.ppdisk.
getGasAbundance
(grid=None, ppar=None, ispec='')¶ Calculates the molecular abundance.
The number density of a molecule is rhogas * abun
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
ispec : str
The name of the gas species whose abundance should be calculated
Returns: Returns an ndarray containing the molecular abundance at each grid point
-
radmc3dPy.models.ppdisk.
getGasDensity
(grid=None, ppar=None)¶ Calculates the gas density distribution in a protoplanetary disk.
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the volume density in g/cm^3
-
radmc3dPy.models.ppdisk.
getModelDesc
()¶ Returns the brief description of the model.
-
radmc3dPy.models.ppdisk.
getVTurb
(grid=None, ppar=None)¶ Calculates the turbulent velocity field
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns an ndarray with the turbulent velocity in cm/s
-
radmc3dPy.models.ppdisk.
getVelocity
(grid=None, ppar=None)¶ Calculates the velocity field in a protoplanetary disk.
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the gas velocity in cm/s
radmc3dPy.models.ppdisk_acc module¶
Generic protoplanetary disk model
The density is given by
\[\rho = \frac{\Sigma(r,\phi)}{H_p\sqrt{(2\pi)}} \exp{\left(-\frac{z^2}{2H_p^2}\right)}\]
- \(\Sigma\) - surface density
- \(H_{\rm p}\) - Pressure scale height
The molecular abundance function takes into account dissociation and freeze-out of the molecules For photodissociation only the continuum (dust) shielding is taken into account in a way that whenever the continuum optical depth radially drops below a threshold value the molecular abundance is dropped to zero. For freeze-out the molecular abundance below a threshold temperature is decreased by a given fractor.
-
radmc3dPy.models.ppdisk_acc.
getDefaultParams
()¶ Function to provide default parameter values of the model.
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.ppdisk_acc.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution in a protoplanetary disk.
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the volume density in g/cm^3
-
radmc3dPy.models.ppdisk_acc.
getGasAbundance
(grid=None, ppar=None, ispec='')¶ Calculates the molecular abundance.
The number density of a molecule is rhogas * abun
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
ispec : str
The name of the gas species whose abundance should be calculated
Returns: Returns an ndarray containing the molecular abundance at each grid point
-
radmc3dPy.models.ppdisk_acc.
getGasDensity
(grid=None, ppar=None)¶ Calculates the gas density distribution in a protoplanetary disk.
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the volume density in g/cm^3
-
radmc3dPy.models.ppdisk_acc.
getModelDesc
()¶ Returns the brief description of the model.
-
radmc3dPy.models.ppdisk_acc.
getStellarsrcDensity
(grid=None, ppar=None)¶ Function to calculate the stellar density for a continuous starlike source when modeling a viscous accretion disk
The stellar density is defined as:
L_nu / (4*pi) = St_temp * rho_stellar * dV
where
L_nu is the frequency dependent luminosity of a grid cell St_temp is the stellar template (as given by getStellarsrcTemplates()) rho_stellar is the stellar density dV is the volume of the cell
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model mandatory keys for an accretion disk: ‘mstar’ - stellar mass ‘rstar’ - stellar radius ‘accrate’ - accretion rate
NOTE, that for the calculation of the effective disk temperature only the first
star is used if more than one values are given in mstar and rstar.
-
radmc3dPy.models.ppdisk_acc.
getStellarsrcTemplates
(grid=None, ppar=None)¶ Function to calculate the stellar density for a continuous starlike source when modeling a viscous accretion disk
The stellar template can be defined in two ways:
- by Tstar, Rstar, Mstar assuming it radiates as a blackbody
- In this case, similar to the definitions in the stars.inp file the temperature has to be a negative number.
- by a full frequency-dependent spectru given in erg / sec / Hz / gram-of-star .
- So multiply this by the stellar density in units of gram-of-star / cm^3, and divide by 4*pi to get the stellar source function in units of erg / src / Hz / cm^3 / steradian.
The model setup functions (problemSetupDust() and problemSetupGas()) will check the sign of the first element with indices (0,0) of the array returned by this function to decide which way the stellar template is defined. If the first element is negative, the template is defined by Tstar, Rstar, Mstar, while if it is positive the returned array contains frequency dependent spectra.
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model mandatory keys for an accretion disk: ‘mstar’ - stellar mass ‘rstar’ - stellar radius ‘accrate’ - accretion rate
NOTE, that for the calculation of the effective disk temperature only the first
star is used if more than one values are given in mstar and rstar.
Returns: Returns an array with the stellar templates
If the stellar template is defined by the temperature, radius and mass of the stars the returned array
must have a dimensions [Ntemplate, 3]. The [i,0], [i,1] and [i,2] elements of the array contain the
stellar temperature, radius and mass of the ith template, respectively. NOTE, that in this case the
stellar temperatures needs to be negative!
If the stellar template is defined by the full frequency dependent spectra the returned array should
have [Ntemplate, Nwavelength] dimension.
-
radmc3dPy.models.ppdisk_acc.
getVTurb
(grid=None, ppar=None)¶ Calculates the turbulent velocity field
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns an ndarray with the turbulent velocity in cm/s
-
radmc3dPy.models.ppdisk_acc.
getVelocity
(grid=None, ppar=None)¶ Calculates the velocity field in a protoplanetary disk.
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the gas velocity in cm/s
radmc3dPy.models.ppdisk_amr module¶
Generic protoplanetary disk model with a gap - octree AMR example
The density is given by
\[\rho = \frac{\Sigma(r,\phi)}{H_p\sqrt{(2\pi)}} \exp{\left(-\frac{z^2}{2H_p^2}\right)}\]
- \(\Sigma\) - surface density
- \(H_{\rm p}\) - Pressure scale height
There are two options for the functional form of surface density as a function of radius. For a simple power-law the surface density is given by
- \(\Sigma_{\rm c}(r) = \Sigma_0\left(\frac{r}{r_{\rm out}}\right)^p\)
alternatively the surface density can also have an exponential outer tapering:
- \(\Sigma_{\rm c}(r) = \Sigma_0\left(\frac{r}{r_{\rm out}}\right)^p\exp{\left\{-\left(\frac{r}{r_{\rm out}}\right)^{2+p}\right\}}\)
The \({\rm c}\) index refers to the continuous, unperturbed surface density as the final surface density may contain perturbations due to the presence of gaps. Arbitrary number of gaps can be placed in the surface density of the disk. The gap is implemented as a radial gaussian depletion in the form
- \(G(r) = \frac{1}{\delta-1}\exp{(-\left((r-r_{\rm c})^2/\sigma^2\right)}\)
where \(\delta\) is the density recution in the center of the gap, \(r_{\rm c}\) is the distance of the gap center from the star, and \(\sigma\) is the standard deviation of the gaussian in the radial direction. The final surface density including the gaps will then be calculated as
- \(\Sigma(r) =\Sigma_{\rm c}(r) / (1 + \sum_{i=1}^{N}G_{\rm i}(r))\)
The molecular abundance function takes into account the freeze-out of the molecules For freeze-out the molecular abundance below a threshold temperature is decreased by a given fractor.
-
radmc3dPy.models.ppdisk_amr.
decisionFunction
(x=None, y=None, z=None, dx=None, dy=None, dz=None, model=None, ppar=None, **kwargs)¶ Example function to be used as decision function for resolving cells in tree building. It calculates the gas density at a random sample of coordinates within a given cell than takes the quantity \((\max{\rho_{\rm i}} - \min{\rho_\rm{i}})/\max{\rho_{\rm i}}\). If it is larger than a certain threshold value it will return True (i.e. the cell should be resolved) if the density variation is less than the threshold it returns False (i.e. the cell should not be resolved)
Parameters: x : ndarray
Cell centre coordinates of the cells in the first dimension
y : ndarray
Cell centre coordinates of the cells in the second dimension
z : ndarray
Cell centre coordinates of the cells in the third dimension
dx : ndarray
Half size of the cells in the first dimension
dy : ndarray
Half size of the cells in the second dimension
dz : ndarray
Half size of the cells in the third dimension
model : object
A radmc3dPy model (must contain a getGasDensity() function)
ppar : dictionary
All parameters of the problem (from the problem_params.inp file). It is not used here, but must be present for compatibility reasons.
**kwargs: dictionary
Parameters used to decide whether the cell should be resolved. It should contain the following keywords; ‘nsample’, which sets the number of random points the gas desity is sampled at within the cell and ‘threshold’ that sets the threshold value for max(gasdens)/min(gasdens) above which the cell should be resolved.
-
radmc3dPy.models.ppdisk_amr.
getDefaultParams
()¶ Function to provide default parameter values of the model.
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.ppdisk_amr.
getDustDensity
(x=None, y=None, z=None, ppar=None, grid=None)¶ Calculates the dust density distribution in a protoplanetary disk.
Parameters: x : ndarray
Coordinate of the cell centers in the first dimension
y : ndarray
Coordinate of the cell centers in the second dimension
z : ndarray
Coordinate of the cell centers in the third dimension
grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the volume density in g/cm^3
-
radmc3dPy.models.ppdisk_amr.
getGasAbundance
(x=None, y=None, z=None, grid=None, ppar=None, ispec='')¶ Calculates the molecular abundance.
The number density of a molecule is rhogas * abun
Parameters: x : ndarray
Coordinate of the cell centers in the first dimension
y : ndarray
Coordinate of the cell centers in the second dimension
z : ndarray
Coordinate of the cell centers in the third dimension
grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
ispec : str
The name of the gas species whose abundance should be calculated
Returns: Returns an ndarray containing the molecular abundance at each grid point
-
radmc3dPy.models.ppdisk_amr.
getGasDensity
(x=None, y=None, z=None, ppar=None, grid=None)¶ Calculates the gas density distribution in a protoplanetary disk.
Parameters: x : ndarray
Coordinate of the cell centers in the first dimension
y : ndarray
Coordinate of the cell centers in the second dimension
z : ndarray
Coordinate of the cell centers in the third dimension
grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the volume density in g/cm^3
-
radmc3dPy.models.ppdisk_amr.
getModelDesc
()¶ Returns the brief description of the model.
-
radmc3dPy.models.ppdisk_amr.
getVTurb
(x=None, y=None, z=None, grid=None, ppar=None)¶ Calculates the turbulent velocity field
Parameters: x : ndarray
Coordinate of the cell centers in the first dimension
y : ndarray
Coordinate of the cell centers in the second dimension
z : ndarray
Coordinate of the cell centers in the third dimension
grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns an ndarray with the turbulent velocity in cm/s
-
radmc3dPy.models.ppdisk_amr.
getVelocity
(x=None, y=None, z=None, grid=None, ppar=None)¶ Calculates the velocity field in a protoplanetary disk.
Parameters: x : ndarray
Coordinate of the cell centers in the first dimension
y : ndarray
Coordinate of the cell centers in the second dimension
z : ndarray
Coordinate of the cell centers in the third dimension
grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and frequency/wavelength grid
ppar : dictionary
A dictionary containing all parameters of the model
Returns: Returns the gas velocity in cm/s
radmc3dPy.models.simple_1 module¶
A 3D spherical Gaussian blob in a 3D cartesian grid
Original IDL model by Kees Dullemond, Python translation by Attila Juhasz
-
radmc3dPy.models.simple_1.
getDefaultParams
()¶ Provides default parameter values
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.simple_1.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust volume density in g/cm^3
-
radmc3dPy.models.simple_1.
getModelDesc
()¶ Provides a brief description of the model
radmc3dPy.models.spher1d_1 module¶
A 1D spherical envelope with powerlaw radial density in spherical grid
Original IDL model by Kees Dullemond, Python translation by Attila Juhasz
-
radmc3dPy.models.spher1d_1.
getDefaultParams
()¶ Provides default parameter values
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.spher1d_1.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust volume density in g/cm^3
-
radmc3dPy.models.spher1d_1.
getModelDesc
()¶ Provides a brief description of the model
radmc3dPy.models.spher2d_1 module¶
A 2D envelope with density dependence on the theta coordinate in spherical grid
Original IDL model by Kees Dullemond, Python translation by Attila Juhasz
-
radmc3dPy.models.spher2d_1.
getDefaultParams
()¶ Provides default parameter values
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.spher2d_1.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust volume density in g/cm^3
-
radmc3dPy.models.spher2d_1.
getModelDesc
()¶ Provides a brief description of the model
radmc3dPy.models.template module¶
This is a radmc3dPy model template
This template is an empty model, i.e. all model functions return zeros in the appropriate arrays and dimensions. The purpose of this model is to illustrate the names and syntax of the model functions. Hence, this file can be a starting point for implementing new models in the library.
A radmc3dPy model file can contain any / all of the functions below
- getDefaultParams()
- getModelDesc()
- getDustDensity()
- getDustTemperature()
- getGasAbundance()
- getGasDensity()
- getGasTemperature()
- getVelocity()
- getVTurb()
The description of the individual functions can be found in the docstrings below the function name. If a model does not provide a variable or the variable should be calculated by RADMC-3D (e.g. dust temperature) the corresponding function (e.g. get_dust_temperature) should be removed from or commented out in the model file.
NOTE: When using this template it is strongly advised to rename the template model (to e.g. mydisk.py) as the get_model_names() function in the setup module removes the name ‘template’ from the list of available models.
-
radmc3dPy.models.template.
getDefaultParams
()¶ Provides default parameter values
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.template.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust volume density in g/cm^3
-
radmc3dPy.models.template.
getDustTemperature
(grid=None, ppar=None)¶ Calculates/sets the dust temperature
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust temperature in K
-
radmc3dPy.models.template.
getGasAbundance
(grid=None, ppar=None, ispec='')¶ Calculates/sets the molecular abundance of species ispec The number density of a molecule is rhogas * abun
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
ispec : str
The name of the gas species whose abundance should be calculated
Returns: Returns the abundance as an ndarray
-
radmc3dPy.models.template.
getGasDensity
(grid=None, ppar=None)¶ Calculates the total gas density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the gas volume density in g/cm^3
-
radmc3dPy.models.template.
getGasTemperature
(grid=None, ppar=None)¶ Calculates/sets the gas temperature
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the gas temperature in K
-
radmc3dPy.models.template.
getModelDesc
()¶ Provides a brief description of the model
-
radmc3dPy.models.template.
getVTurb
(grid=None, ppar=None)¶ Calculates/sets the turbulent velocity field
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the turbulent velocity in cm/s
-
radmc3dPy.models.template.
getVelocity
(grid=None, ppar=None)¶ Calculates/sets the gas velocity field
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the turbulent velocity in cm/s
radmc3dPy.models.test_scattering_1 module¶
A 3D spherical Gaussian blob in a 3D cartesian grid
Original IDL model by Kees Dullemond, Python translation by Attila Juhasz
-
radmc3dPy.models.test_scattering_1.
getDefaultParams
()¶ Provides default parameter values
Returns a list whose elements are also lists with three elements: 1) parameter name, 2) parameter value, 3) parameter description All three elements should be strings. The string of the parameter value will be directly written out to the parameter file if requested, and the value of the string expression will be evaluated and be put to radmc3dData.ppar. The third element contains the description of the parameter which will be written in the comment field of the line when a parameter file is written.
-
radmc3dPy.models.test_scattering_1.
getDustDensity
(grid=None, ppar=None)¶ Calculates the dust density distribution
Parameters: grid : radmc3dGrid
An instance of the radmc3dGrid class containing the spatial and wavelength grid
ppar : dictionary
Dictionary containing all parameters of the model
Returns: Returns the dust volume density in g/cm^3
-
radmc3dPy.models.test_scattering_1.
getModelDesc
()¶ Provides a brief description of the model
Module contents¶
This module contains models and functions to manage the library/list of models
-
radmc3dPy.models.
updateModelList
()¶ Updates the list of models in the library.
This function gets the names of all .py files in the radmc3dPy/models directory. Then tries to import them as a rought check for consistency. If the content of the file can be imported, the name of the model file is added to the model list. The model modules are then added to the _modellist.py in the radmc3dPy/models directory and can be used from that point on.
- NOTE 1 : Write permissions is needed to update the list of models as the radmc3dPy/models/_modellist.py file
- has to be re-written.
- NOTE 2 : After the updateModelList has been run the module must be either reloaded or one has to exit the current
- python session and relaunch it to see the effect of the updated model list.
-
radmc3dPy.models.
getModelNames
()¶ Returns the name of the available models.
-
radmc3dPy.models.
getModelDesc
(model=None)¶ Returns a brief description of the selected model.
Parameters: model : str
Name of the model to get the description of
Returns: A string with the description of the model


Response surface methods for drug synergy analysis. Available methods include generalized and classical Loewe formulations as well as Highest Single Agent methodology. Response surfaces can be plotted in an interactive 3-D plot and formal statistical tests for presence of synergistic effects are available. Implemented methods and tests are described in the article "BIGL: Biochemically Intuitive Generalized Loewe null model for prediction of the expected combined effect compatible with partial agonism and antagonism" by Koen Van der Borght, Annelies Tourny, Rytis Bagdziunas, Olivier Thas, Maxim Nazarov, Heather Turner, Bie Verbist & Hugo Ceulemans (2017) <doi:10.1038/s41598-017-18068-5>.
| Version: | 1.2.3 |
| Depends: | R (≥ 3.0) |
| Imports: | ggplot2, MASS, methods, minpack.lm, numDeriv, parallel, progress, rgl, robustbase, scales |
| Suggests: | knitr, rmarkdown, testthat, shiny, DT |
| Published: | 2018-11-21 |
| Author: | Heather Turner, Annelies Tourny, Olivier Thas, Maxim Nazarov, Rytis Bagdziunas |
| Maintainer: | Maxim Nazarov <maxim.nazarov at openanalytics.eu> |
| BugReports: | https://github.com/openanalytics/BIGL/issues |
| License: | GPL-3 |
| URL: | https://github.com/openanalytics/BIGL |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | BIGL results |
| Reference manual: | BIGL.pdf |
| Vignettes: |
Synergy analysis Methodology |
| Package source: | BIGL_1.2.3.tar.gz |
| Windows binaries: | r-devel: BIGL_1.2.3.zip, r-release: BIGL_1.2.3.zip, r-oldrel: BIGL_1.2.3.zip |
| OS X binaries: | r-release: BIGL_1.2.3.tgz, r-oldrel: BIGL_1.2.3.tgz |
| Old sources: | BIGL archive |
| Reverse imports: | drugCombo |
Please use the canonical form https://CRAN.R-project.org/package=BIGL to link to this page.


{{site.user_description}}
Capture The Flags
Cyber Defenders Discovery Camp (CDDC)
Singapore Cyber Conquest (SCC)
Hackthebox.EU
Kali Linux
OSCP internal training
VulnHub
Hands On Workshops
Hacker's Night
SCSE TechFest
Organize Competitions


Gradient Finder is an entirely in browser way to convert an image to its CSS gradient.
Written by Aaron Marasco
Inspired by pngtocss
GradientFinder { fromUrl: function(url, onload), fromCanvas: function(canvas) };
Gradient { stops: [ array ], angle: integer, toCss: function() // returns String };
(left is an image, right is the CSS Gradient of that image)


WITNESS LIST Jurisprudence Committee March 9, 2005 - 1:30P SB 103 FOR: Amezquita, Michael Chief Appraiser, President (Bexar Appraisal District/ Texas Association of Appraisal Districts), San Antonio, TX Clore, Paul Superintendent (Gregory-Portland I.S.D.), Gregory, TX Huff, Jim Live Oak County Judge (Live Oak County), George West, TX Robinson, Jim Chief Appraiser (Harris County Appraisal District), Houston, TX Winn, Gerald "Buddy" Brazos County Tax Assessor/Collector-Chief Appraiser (Self), Bryan, TX SB 219 FOR: Ennis, Robert (National Notary Association), Chatsworth, CA Johnson, A S Notary (Self), Weatherford, TX Stone, Brenda S. Notary Public (Self), College Station, TX AGAINST: Atkinson Jr., John A. Owner (Atkinson Bros. Agency), Houston, TX Jenkins, Clay Owner/President (Jenkins & Jenkins), Waxahachie, TX Williams, Ron Manager, RLI Surety (RLI Surety), Irving, TX ON: Garcia, Henry Director (Texas State Notary), Austin, TX Joyner, Guy Chief Legal Support Unit, Statutory Documents (Office of the Secretary of State), Austin, TX Registering, but not testifying: Against: Perich, Toni Sales Representative (Surety Industry), Irving, TX On: Reeser, Rose Ann Assistant Attorney General (Office of the Attorney General), Austin, TX SB 220 FOR: Ennis, Robert (National Notary Association), Chatsworth, CA AGAINST: Atkinson, John A. Owner (Atkinson Bros. Agency), Houston, TX Registering, but not testifying: For: Gosdin, James L. Senior Vice President (Stewart Title Guaranty Company), Sugar Land, TX Lee, Randy M. Senior Vice President (Stewart Title Guaranty Company), Austin, TX On: Joyner, Guy Chief Legal Support Unit, Statutory Documents (Office of the Secretary of State), Austin, TX Reeser, Rose Ann Deputy Chief, Consumer Protection Division (Texas Attorney General), Austin, TX SB 335 FOR: Gosdin, James L. Senior Vice President (Stewart Title Guaranty Company), Sugar Land, TX ON: Joyner, Guy Chief, Legal Support Unit, Statutory Documents Section (Office of the Secretary of State), Austin, TX Nolan, Tim Program Planning (Texas State Library) Registering, but not testifying: For: Lee, Randy Senior Vice President (Stewart Title Guaranty Company), Austin, TX Place, Allen Attorney (Texas Land Title Association), Austin, TX SB 393 Registering, but not testifying: Against: Getting, Roy (Texas Fathers Alliance), Irving, TX SB 441 Registering, but not testifying: For: Edmonds, Shannon Staff Attorney (Texas District & County Attorneys Association), Austin, TX English, Laurie 112th District Attorney (112th Judicial District), Ozona, TX SB 451 Registering, but not testifying: On: Kilgo, Elizabeth Director, Texas Judicial Council (Judicial Council), Austin, TX SB 550 Registering, but not testifying: For: Pichinson, Michael General Counsel (Texas Conference of Urban Counties), Austin, TX


Stigmata
By Ross Anthony
Stigmata isn't just a cool/scary sounding word, nor is it Mitsubishi's newest sportscar. It's what people are called who bare the wounds of the crucifixion of Jesus Christ. Usually these people are devout in faith, but not Frankie Paige; she's a free spirit, happy-go-lucky, partying hairdresser.
Think you've had a bad day? Frankie gets nailed to the wall at the drop of a hat (or holy water in this case).
But "Stigmata" the movie isn't all special effects of torture. Though the writers may hammer it through your bones a little harder than necessary, the theme is relevant and strong.
Good point aside, the picture suffered from a slow start, mediocre soundtrack, expository dialogue in a Vatican scene, some sticky editing choices and near miss intensities. And then there's the implausibilities. Example 1: Frankie is attacked by an unseen force in a public dance hall (okay, I'm believing that). Bleeding from the head and delusional she fleas from the club, her best friend first gets her rain coat on before running after (I can't believe that). Example 2: Admitted to the hospital for puncture wounds clear through both wrists, she's assumed to be a suicide victim (How would one drive a nail through that second wrist?).
Still, the picture had it's moments, I had my share of chills and as I said ... good point.
Stigmata, Copyright ©. 102 minutes. Rated R. Starring Patricia Arquette, Gabriel Byrne, Jonathan Pryce. Directed by Rupert Wainwright. Written by Tom Lazarus and Rick Ramage. Produced by Frank Mancuso, JR at MGM and FGM Entertainment. (C) 1999. 102 minutes. Rated R.
Grade..........................B+
-- Copyright © 1999 Ross Anthony, currently based in Los Angeles, has scripted and shot documentaries, music videos, and shorts in 35 countries across North America, Europe, Africa and Asia. For more reviews visit: http://RossAnthony.com
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


Individual income taxes collected by the federal government are an incredibly important source of government revenue. In fact, individual income taxes represent about half of all federal revenue.
On the other side of the equation, federal expenditures are fairly straightforward. About 2/3 is spent on defense, social security, and federal healthcare programs such as Medicare, Medicaid and CHIP. Another 16% is spent on safety net programs and paying interest on debt.
All this is to say that individual income taxes represent a significant portion of federal tax income, and that a large portion of federal spending is spoken for by vital non-discretionary programs. Therefore, any significant decrease in income tax receipts will have to be balanced by decreases in federal spending, otherwise deficit spending will increase significantly.
Tax law is complicated. That being said, the changes proposed by Trump can be broken down into a few categories:
Currently, there are 7 tax brackets, with marginal tax rates ranging from 10% up to 39.6%. Trump's plan will have 3 tax brackets, with rates of 12%, 25%, and 33%. The most consequential change here is the change in the top margin from 39.6% to 33%, which is partnered with a decrease in the top margin threshold from over $400,000 to $112,500 for individuals or $225,000 for joint filers.
While Trump's lowest marginal rate than currently, his plan also has significantly more generous standard deductions. A standard deduction is the amount that you can automatically deduct from your taxable income if you do not want to itemize deductions. Trump's standard deductions are about twice as large as currently.
Trump will also be introducing a selection of additional deductions for childcare costs, which are aimed to offset his elimination of personal exemptions.
Learn more about our current system and Trump's proposed plan.
Income is rounded to the nearest 1,000
In total, about $180 billion less will be paid in federal individual income taxes annually. This number is estimated based on taking a weighted average of results for married and single filers, using a 60 / 40 split.
Note: The distribution of this money is more important than the amount.
This is a significant chunk of total federal spending - more than a 10% reduction.
This analysis highlights a broader theme of Trump's tax plans: large reductions in federal tax revenues without planned cuts in expenditures. This means there will be significant increases in defecit spending - the most conservative estimate would be $2.6 trillion over a ten year period. The highest estimate is nearly $6 trillion.
You can read the complete analysis done by the Tax Foundation.
The unfunded tax cuts, if implemented, would have to be paid for somehow. I think we already know how that may take form given policy proposals from top Republicans and lessons from history - major cuts to entitlement programs and other government programs. Remember - the vast majority of the Federal budget is already spoken for with important social programs and other non-discretionary programs. President Trump has promised not to cut social security or Medicare, and has promised expanded and more effective coverage than Obamacare. He wants to have his cake and eat it too. Does this really seem possible?
Since tax law is so complex, I made some simplifying assumptions to make reaching some conclusions possible. These assumptions were conservative; that is, they likely understated the redistributive effects of Trump's plan.
Calculations of tax amounts due were based on different formulas for each plan. The tax brackets were gathered from current law and Trump's proposed plan.
Data on the current income distribution in the United States was gathered from the March 2016 Current Population Survey (CPS), which is produced by the US Census Bureau and the Bureau of Labor Statistics. This data was accessed via the University of Minnesota's IPUMS-CPS project.
This CPS sampled 69,458 households, from which I extrapolated a national income distribution. Total taxation changes were also extrapolated based on this sample to the roughly 125 million total households in the US.
My assumption of 60% married filers versus 40% single filers is based on US census data on Households by Type.
For further details, you can review my R file in the GitHub depository.


Whether renewing specific assemblies or conducting a complete building enclosure rehabilitation, JRS will ensure your project proceeds smoothly.
At JRS, we recognize that no two building enclosure projects are the same and no single implementation approach works for all projects.
Our MaP group works with you to develop strategies for the long- and short-term needs of your building.
In 1998, founding principal Joel R. Schwartz, P.Eng., FEC, BEP, established JRS Engineering in Vancouver, British Colombia. The company would provide specialist building envelope and roofing consulting services.
In late 2005 expanded our offices to Seattle to better serve our customers wide range of needs.
In late 2012 we developed a new team that is located in the heart of downtown Calgary. Consulting for projects like the Calgary International Airport.
Our original team of three has grown into an international firm with three offices: one in Burnaby, BC, one in Calgary, AB and one in Seattle, WA. Today’s JRS team includes experienced registered professional engineers and architects, project managers, roof inspectors, building science technologists, LEED® accredited professionals, CAD technicians and support personnel. In response to our ongoing success, we continue to grow and diversify, selecting our new team members for their superior technical knowledge, experience and desire to provide exceptional client service. Our mission is to lead our profession by consistently delivering high quality services, maintaining and cultivating our technical knowledge and valuing our client’s goals.
Senior Building Science Specialist | Principal
Senior Building Science Specialist | Principal
Principal
We work together as a team on every project, sharing our technical knowledge and experience to meet any challenge. We believe in sharing responsibility for project success and going to extra lengths to deliver efficient and cost-effective solutions to all of our clients. We know that the most critical member of the team is the client. We work with our clients every step of the way, communicating openly and pulling together to foster each project's success.


fsc
– Fast offline compiler for the Scala 2 language
fsc
[ <options> ] <source files>
<options>
<source files>
MyClass.scala
).
The offline compiler supports all options of scalac
plus the following:
–reset
–shutdown
–server <hostname:portnumber>
–J <flag>
The fsc
tool submits Scala compilation jobs to a compilation daemon. The first time it is executed, the daemon is started automatically. On subsequent runs, the same daemon can be reused, thus resulting in a faster compilation. The tool is especially effective when repeatedly compiling with the same class paths, because the compilation daemon can reuse a compiler instance.
The compilation daemon is smart enough to flush its cached compiler when the class path changes. However, if the contents of the class path change, for example due to upgrading a library, then the daemon should be explicitly shut down with -shutdown
.
Note that the scala
script runner will also use the offline compiler by default, with the same advantages and caveats.
The following session shows a typical speed up due to using the offline compiler.
> fsc -verbose -d /tmp test.scala \&... [Port number: 32834] [Starting new Scala compile server instance] [Classpath = ...] [loaded directory path ... in 692ms] \&... [parsing test.scala] \&... [total in 943ms] > fsc -verbose -d /tmp test.scala \&... [Port number: 32834] [parsing test.scala] \&... [total in 60ms] > fsc -verbose -d /tmp test.scala \&... [Port number: 32834] [parsing test.scala] \&... [total in 42ms] > fsc -verbose -shutdown [Scala compile server exited]
JAVACMD
java
command to be used for running the Scala code. Arguments may be specified as part of the environment variable; spaces, quotation marks, etc., will be passed directly to the shell for expansion.JAVA_HOME
java
command unless JAVACMD
variable set.JAVA_OPTS
java
command defined by JAVACMD
.
JAVA_OPTS="-Xmx512M -Xms16M -Xss16M"
JAVA_OPTS="--mx512m --ms16m"
fsc
returns a zero exit status if it succeeds to compile the specified input files. Non zero is returned in case of failure.
Written by Martin Odersky and other members of the Scala team.
Report bugs to http://lampsvn.epfl.ch/trac/scala
.
This is open-source software, available to you under a BSD-like license. See accomponying "copyright" or "LICENSE" file for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
sbaz(1), scala(1), scalac(1), scaladoc(1), scalap(1)


Chapter 7: Equivalences and Internationalization (I18N)
This chapter may seem complex at first, but it is not so. You will see that it is very natural. In fact, you will think... Why have we not used it before?
The best way of working is to start with an example, and then we will go into the subject in a more formal way.
I18N. One example
Let's make a simple example. For example, an actress/actor document:
Actress (www.example.com/actress.stxt): Name: Sheyla Queen Birthday: 2/21/1979 Filmography: Film: Title: The last thing Year: 1992 Film: Title: Garden in red Year: 1993
The grammar is quite simple:
Node Definition: Name: actor Alias: acress Type: NODE Child: Node: name Num: 1 Child: Node: birthday Num: 1 Child: Node: filmography Num: 1 Node Definition: Name: filmography type: NODE Child: Node: film Num: + Node Definition: Name: film Type: NODE Child: Type: title Num: 1 Child: Type: year Num: 1 Node Definition: Name: name Type: TEXT Node Definition: Name: birthday Type: TEXT Node Definition: Name: title Type: TEXT Node Definition: Name: year Type: TEXT
Now, let's imagine that we want the same information in Spanish, but instead of translating everything, we make a grammar that is almost the same, but with aliases in Spanish.
The grammar would be left like this:
Node Definition: Name: actor Alias: acress Alias: actriz Type: NODE Child: Type: name Num: 1 Child: Type: birthday Num: 1 Child: Type: filmography Num: 1 Node Definition: Name: filmography Alias: Filmografía type: NODE Child: Type: film Num: + Node Definition: Name: film Alias: película Type: NODE Child: Type: title Num: 1 Child: Type: year Num: 1 Node Definition: Name: name Alias: Nombre Type: TEXT Node Definition: Name: birthday Alias: Fecha de nacimiento Type: TEXT Node Definition: Name: title Alias: Título Type: TEXT Node Definition: Name: year Alias: Año Type: TEXT
And the document could be like this:
Actriz (www.example.com/actress_es.stxt): Nombre: Sheyla Queen Fecha de nacimiento: 2/21/1979 Filmografía: Película: Título: The last thing Año: 1992 Película: Título: Garden in red Año: 1993
Now we have the same document equal but in perfect Spanish!
In addition, these documents have something in common:
The compacted form is the same!
(except the Namespace)
Well, this is very important, because in order to translate from one to the other we only need to change to the compacted form, change the namespace, and... that's it! The document is exactly the same.
This is a case of equivalent grammars. We won’t talk about internationalization here, as we are looking for something even more generic than that. We are looking for connections between languages, and this is what the following sections will be about.
But what we just did is a very interesting application.
A good way to internationalize is to create an equivalent grammar in another language.
Equivalences (**)
Let's talk about connections that can be made between different grammars, and their potential transformations. Actually we could stretch this topic much more, but we're just going to reflect on it a little bit, and show certain things.
Equivalent grammars (**)
We say that two grammars are equivalent if any document has the same compacted form; with the exception of the namespace of the first node.
This is the previous internationalization example, where we had the compacted form be the same.
Otherwise, two grammars are equivalent if they have the same canonical names, and an equal child structure.
One of the advantages of this is that internationalization is almost direct, as we have seen in the previous section.
This is very useful, as we can say that the languages are virtually identical. This would let us make future transformations, and a whole series of very easily automated works.
Transformable (or convertible) grammars (**)
A B grammar is transformable into A if when we make the compacted form, just by changing the namespace of the original node B, it can be parsed by A. That is, the canonicals from B are either canonicals from A or aliases from A.
I think the definition is quite clear, it's like saying that it is like a subset of another larger language.
Another application might be for building bridges between different documents. We can create a type of document that serves as a transformer from one language to another. This would be done by combining the aliases from one with canonical names, so that the transformation would be almost direct.
Note: The compacted from this one can be read with the target namespace (in full), although it doesn’t have to be the other way around. It is like a form of inclusion.
One thought: transformables are an easy way of moving from one language to another. If this was XML, it would be like having an already implemented XSLT!
Extensions (**)
Extensions are like transformable grammars, but seen from the point of view of the destination grammar.
An A grammar is an extension of B, if when we make the compacted form of B, just by changing the namespace of the original node, it can be parsed by A. That is, the canonicals from B are either canonicals from A or aliases from A.
This tells us that A is an extension of B. What we do here is extend the functionality of B, but we allow compatibility the other way around. That is, if we have B documents, they can also be used.


{% extends "post/admin_base.html" %} {% block body %} << {{p.workflow.name}} Edit Workflow
drag and drop to change the order of screens.
Are you sure you want to delete the workflow?
Workflow: {{w.Name}}


About me
I'm James Amodeo, a video game developer currently based in Melbourne, Australia.
I graduated from Monash University with a Bachelor of Computer Science in 2021, and am currently working on a number of personal projects.
I'm James Amodeo, a video game developer currently based in Melbourne, Australia.
I graduated from Monash University with a Bachelor of Computer Science in 2021, and am currently working on a number of personal projects.
ゲームメーカーのジェームズ・アモデオです。
現在、オーストラリアのメルボルンに在住しています。
2021年、モナッシュ大学情報工学部から卒業しました。最近、個人作品を真剣に作っています。
Cyberpunk apartment (3D environment)
[work in progress]
Flooroscope - Measure your space with its floorplan


To read the entire README, including credits, special mentions, licenses, and more, click here to visit the repository or click here for the markdown file.


Lawrence Block is a legendary American crime writer best known for two long-running New York–set series about the recovering alcoholic P.I. Matthew Scudder and the gentleman burglar Bernie Rhodenbarr. He was named a Grand Master by the Mystery Writers of America in 1994 and is the author of more than 150 books under several pseudonyms.
1. Who were your literary influences and heroes as you were growing up?
Initially, American realists of the first half of the 20th century — James T. Farrell, John Steinbeck, Thomas Wolfe, John O’Hara.
When I began writing, I read no end of crime fiction, and especially admired Fredric Brown, Evan Hunter, Rex Stout, and, oh, too many to mention.
2. What is your writing routine?
I don’t know that I have one. Over the years I’ve tended to go off somewhere — a writers’ colony, a rented apartment — and focus entirely on the writing. I’ve also written much of my work at home. Nowadays I write little, and infrequently.
3. Where did the character of Matt Scudder come from and what made you decide to keep revisiting him over the years?
An agent suggested I develop a series featuring a tough NYC cop. It didn’t take me long to realize that I’m more comfortable with an outsider’s perspective, so I made him an ex-cop.
I’ve been able to stay so long with Scudder (and have in fact just completed a new novella, A Time to Scatter Stones, 40+ years after his debut in The Sins of the Fathers) because I’ve allowed him to change and grow over time. Typically, fictional detectives never changed much, and rarely aged, but I saw early on that the level of realism in the books demanded that Scudder be altered as a result of the experiences he undergoes.
I also elected to have the man age in real time. That’s worked out well for the character — but I’ve followed his example and aged in real time myself, and that is something I really do not recommend.
4. If you could re-write anyone else’s book in your own style which would you choose?
Not something to which I’ve ever aspired, but it’s an interesting question. Perhaps the Book of Job.
5. If someone read this and thought ‘I’d like to read some of his books’, where would be a good starting point for the new reader?
Probably the first volumes of each of my three major series: The Sins of the Fathers (Matthew Scudder), Burglars Can’t be Choosers (Bernie Rhodenbarr), Hit Man (Keller).
6. Do you have a message for your many readers in Suffolk Libraries?
Only that I hope you continue to enjoy them. I could add something saccharine about how important each and every one of you is to me, and how the writer is nothing without the reader, and — oh, that’s all rot, isn’t it? I’m having a good time, and hope you are as well.
7. Can you tell us one thing that your readers might not know about you?
My wife is the most beautiful woman in the world.


August 13
For who has known or understood the mind(the counsels and purposes) of the
Lord so as to guide and instruct [Him] and give Him knowledge? But we have the mind of Christ, the Messiah, and do hold the thoughts (feelings and purposes) of His heart. 1 Corinthians 2:16
Isn't it exciting to realize that you can hold the thoughts and feelings and purposes of God's very own heart in your heart? Isn't it thrilling to know the Creator of heaven and earth wants to be one spirit with you and transmit His thoughts to your mind?
First Corinthians 6:17 says that when you were joined to the Lord you became one spirit with Him. He came into union with you so that He can talk to you heart to heart. God wants you in this harmony with Him so that His thoughts can become your actions. He wants you to walk so closely with Him that you never lack power to overcome the evil of this world. He wants you to be so in tune with His Spirit that you are able to feel His heart of compassion toward those around you who are hurting or bowed down with sickness and pain. He wants to be one with you, so He can reach out through your hands and fulfill His purposes in the earth.
Make a fresh commitment today to walk in union with your God. Give your attention to His Spirit in your inner man. Determine to yield to His voice and not to the voices of the world or the flesh!
Allow the mind of Christ to flow through you!
Scripture Reading: 1 Corinthians 2


{% load static %}
A Simple Student Register for Creating, Reading, Updating & Deleting Student Information


We thank NSF for funding
this project. We have used all Open Source Modules to build this project. We thank each and every developer who
have helped us. To notice a few here are the open source modules we used. Please let us know if your module is used and not mentioned in this list.


Keep up to date with the historical stock price changes of a company.
Inspect trades in real time to help predict stock movement.


At present (but it may be easily changed, should the need arise),
RetroTector
recognizes 9 virus genera, each with a single-letter symbol:
- A: alpharetroviruses
- B: betaretroviruses
- C: gammaretroviruses
- D: deltaretroviruses
- E: epsilonretroviruses
- L: lentiviruses
- S: spumaviruses
- G: Gypsy elements
- O: Copia elements
Into RetroTector is built a matrix of rough
measures of relatedness between the genera, which looks like this:
A B C D E L S G O
A 3 2 1 1 1 0
0 0 0
B 2 3 1 1 1 0 0 0 0
C 1 1 3 2 1 0 1 0 0
D 1 1 2 3 1 1 0 0 0
E 1 1 1 1 3 0 0 0 0
L 0 0 0 1 0 3 0 0 0
S 0 0 1 0 0 0 3 0 0
G 0 0 0 0 0 0 0 3 0
O 0 0 0 0 0 0 0 0 3
RVectors
In order to keep track of the virus genus RetroTector uses
RVectors. An RVector is a vector with as many components as there are
virus genera. Each virus genus is associated with an RVector of unit
length. These are adjusted so that the scalar products between pairs of
them correspond to the matrix above.
Motif hits are associated with a
vector:
the RVector of the virus genus of the Motif times the hit score.
SubGene
hits and Chains are also associated with vectors which are the sum of
the
vectors of its elements, multiplied by some correction factors.


Notes on Final Grades
We understand that there is a lot of confusion about the way grading was done for this class, so want to provide more explanation of how we do the grading and why. The main explanation of final grading is what was provided on the syllabus: Final Grade Determination. The final grade in the course will be determined by combining the cohort grade and the final exam grade with both counting substantially.Final Peer Eval Posted
Hello students, your final peer evaluation is now available. This is due on Saturday, December 11 at noon. You can find instructions and a link to the evaluation itself here.
Final Preview Posted
A preview of the final exam is posted: Final Preview. We don’t want anyone to be surprised by what is on the exam, or not read the instructions carefully because you are in a stressful exam setting, so we encourage you to read the exam preview now. (This doesn’t include the full questions, of course, since we still want to see you demonstrate the ability to solve problems on your own during the exam.Practice Final Comments
To help you prepare for the final exam, we have posted some comments on the practice exam: Practice Final Comments.
Before looking at our comments and hints, though, you should try the Practice Final yourself.
As a reminder, for the final you will be allowed one page (front and back) of reference notes to use. You may work with others to prepare your notes.
December 1 Slides
Here are the slides from 1 December: cs3102f21-dec1.pdf
Project Omega Submission
Here’s the form to use to submit your Week Omega Project:
Practice Final Posted
The final exam is scheduled (by the registrar) for Friday, 10 December, 2-5pm in our lecture classroom. To help you prepare for the final exam, we have posted a practice exam: practice final. This practice final is intended to give you an idea of the variety of question styles, question difficulty, and length that you can expect on the actual exam. Based on what you have learned in cs3102 this semester, you should be able to answer all of the questions in the practice exam well (and if you can do this, you should expect to get an A on the final).Week Omega Posted
The guide and materials for Week Omega is now posted - see the Week Omega page for the details. Note that the schedule for Monday and Tuesday cohorts changes so you don’t need to have preparation meetings over the Thanksgiving holiday. Week Ω is different — there will be an assessed cohort meeting in which you present and answer questions about your project, and have an opportunity to discuss any concepts you want help with in preparing for the final exam.Dealing with Hard Problems
Slides used in 17 November class on intractable problems: nov17.pdf


some_command | ts- Add timestamps with microsecond precision:
some_command | ts "%b %d %H:%M:%.S"- Add [i]ncremental timestamps with microsecond precision, starting from zero:
some_command | ts -i "%H:%M:%.S"- Convert existing timestamps in a text file (eg. a log file) into [r]elative format:
cat path/to/file | ts -r


Hello world! This is from HTML5 Boilerplate.
And it's the start of my new wesite - time to get totally rid of that old 2000 site.
Sorry if you were looking for those old vacation slideshows. Gone.
And here's a link to a page with embedded Grammar Check infographic:
20 Writing Mistakes
By the way: Yes, I am a Microsoft Partner, and have been since the late '90s
I'm no longer a Microsoft Partner (effective February 2019): their terms changed such that I became no longer interested.


Hello Yapeng! Below are the annotations. Each row is an ave video and the images in each row are taken at the 0.4-second mark of each 1-second clip. Click 'draw grid' to see the bounding box. Best wishes - Justin


Our Partners
Delhi
Saubhagya Foundation was founded on 07 April 2018 under the society registration Act 1860. The aim of the society is to work and organise various kinds of programmes for the development and welfare of the society.
The aim of the society is to work and organise various programmes fo the development and welfare of the society.
To impact primary literacy and basic education to children, underprivileged and weaker section of the society to aim towards higher literacy levels across the country by running educational schools, colleges, degree colleges, institutions, vocational training centers.
Project WHY is a flagship program of Sri Ram Goburdhun Charitable Trust, that sets out to create spaces where by quality educational support to underprivileged children can improve their learning outcomes. It is an after-school support program that goes beyond academics to include life skills and all-round development.
It aims to provide life skills and all round development that goes beyond academics.
Project Why’s vision of a desirable world is where all children have quality education and are able to complete their schooling years. Where all the children have the support to build their skills and have a voice. We also believe in gender justice and self-reliance in improving socio-economic status through skill enhancement.
"HANDS FOR HELP" was registered as societies registration Act in Delhi/NCT, India, to start its vital work on24TH August 2015. We strongly believe in the active participation of children, and thus started working with them from 2015 onwards to address key child rights issues such as survival, protection, development and participation.
The society works in the field of facilitating better quality of life through community development, child welfare, education, and per the objectives.
The mission is to provide childhood empowerment through training and action, with a special focus on street and working children and especially girls, to ensure their rights.
This charity foundation started informally back in September but got registered in June 2016. In 2015, on a routine visit to an orphanage, Dr Varun was moved when one child mentioned that he’s never had his birthday celebrated. He could only imagine what their joy would be to have theirs celebrated at least once. Thus was born the idea of setting up “Chhoti Chhoti Khushiyan”, meaning joys from the trivial things.
The NGO aims at supporting children through the involvment of the care given to them and the quality of their life in general.
To be the most effective, approachable and sustainable children’s charity that we can be committed to supporting the children through the improvement of the care given to them and the quality of their lives in general.
Sakaar Outreach is a registered not-for- profit organization working for the cause and concern of the communities, those are in need. The word ‘Sakaar’ for us translates to providing a helping hand to the lesser-privileged by realizing their potential and equipping them with the skills required to enable them to stand on their own feet.
It aims to improve the living conditions of society in rural, semi-urban areas through the medium of architecture.
The foundation completed a large number of projects which cover an impressive range from religious, educational, housing, public, health care, commercial, urban designing and landscaping schemes.
To achieve these objectives, the Foundation has brought out three books, prepared, participated and organized various seminars.
Jazbaa Foundation is a non-governmental and non-profit making organization (NGO) based and working in Delhi, NCR. The journey of the organization began in 2017.
Jazbaa Foundation aims to provide education to the under privileged children, to build better livelihood opportunities for the rural and underprivileged urban youth, to enrich quality health services for adolescent girls and women.
The thought process behind Jazbaa Foundation is that quality education is the only medium that can improve the living standards of the poor people. It is the most powerful tool, which can equip them to make informed and intelligent choices about lives and future.
Jazbaa Foundation believes that education is the only weapon to fight poverty and truly empower the children who tomorrow through the medium of education and unleash the power of knowledge that is inaccessible to millions.
©All Rights Reserved to Centre for Social Innovation


Salmon Cookie Stands
Add a new store to the table
Location Name
Minimum Customers Per Hour
Maximum Customers Per Hour
Average Cookies Per Customer
Click here to add/update store!


|
Panda3D
|
Public Member Functions | |
| def | add_icon (self, icon, ordinal=2) |
| def | add_resource_section (self) |
| def | add_section (self, name, flags, data) |
| def | add_version_info (self, file_ver, product_ver, data, lang=1033, codepage=1200) |
| def | close (self) |
| def | get_address_offset (self, addr) |
| def | get_address_section (self, addr) |
| def | get_export_address (self, symbol_name) |
| def | open (self, fn, mode='r') |
| def | read (self, fp) |
| def | write_changes (self) |
Public Attributes | |
| exp_rva | |
| file_alignment | |
| fp | |
| header_size | |
| imp_rva | |
| imports | |
| res_rva | |
| resources | |
| rva_offset | |
| sections | |
| uninitialized_size | |
| vmem | |
Static Public Attributes | |
| tuple | imports = () |
| def add_icon | ( | self, | |
| icon, | |||
ordinal = 2 |
|||
| ) |
Adds an icon resource from the given Icon object. Requires calling add_resource_section() afterwards.
| def add_resource_section | ( | self | ) |
Adds a resource section to the file containing the resources that were previously added via add_icon et al. Assumes the file does not contain a resource section yet.
| def add_section | ( | self, | |
| name, | |||
| flags, | |||
| data | |||
| ) |
Adds a new section with the given name, flags and data. The virtual address space is automatically resized to fit the new data. Returns the newly created Section object.
| def add_version_info | ( | self, | |
| file_ver, | |||
| product_ver, | |||
| data, | |||
lang = 1033 , |
|||
codepage = 1200 |
|||
| ) |
Adds a version info resource to the file.
| def close | ( | self | ) |
| def get_address_offset | ( | self, | |
| addr | |||
| ) |
Turns an address into a offset relative to the file beginning.
| def get_address_section | ( | self, | |
| addr | |||
| ) |
Returns the section that this virtual address belongs to.
| def get_export_address | ( | self, | |
| symbol_name | |||
| ) |
Finds the virtual address for a named export symbol.
| def open | ( | self, | |
| fn, | |||
mode = 'r' |
|||
| ) |
| def read | ( | self, | |
| fp | |||
| ) |
Reads a PE file from the given file object, which must be opened in binary mode.
| def write_changes | ( | self | ) |
Assuming the file was opened in read-write mode, writes back the changes made via this class to the .exe file.
| exp_rva |
| file_alignment |
| fp |
| header_size |
| imp_rva |
|
static |
| imports |
| res_rva |
| resources |
| rva_offset |
| sections |
| uninitialized_size |
| vmem |


Cursed City - v. 0.01 - Early development (unstable)
Select Quest
Quest for the XYZ (CC Core)
Roll Event
Select Hostiles
Batswarm
Clear Selection
Show All Hostiles
Bat Swarm
Hidden
Engaged
In Cover
Close
Other
Bat Swarm Modifier Checkbox


TokenHandler(appId: String, password: String)
Handle the generation and the refresh of the token header This token is mandatory in request from bot to teams via microsoft-api


SwiftDDP
A client for Meteor servers, written in Swift
version 0.3.0
License
MIT
- Installation
- Documentation
- Quick Start
- Setting basic configuration options
- Connecting to a Meteor server
- Login & Logout with Facebook, Twitter, etc. (beta)
- Gotchas and implementation notes for OAuth login flows
- Login & Logout with password
- Subscribe to a subset of a collection
- Change the subscription’s parameters and manage your subscription with unsubscribe
- Call a method on the server
- Simple in-memory persistence
- Example Projects
- Example: Creating an array based custom collection
- Changelog
- Contributing
Installation
With CocoaPods. Add the following line to your Podfile:
pod "SwiftDDP", "~> 0.3.0"
Documentation
API Reference
Quick Start
Setting basic configuration options
import SwiftDDP
Meteor.client.allowSelfSignedSSL = true // Connect to a server that uses a self signed ssl certificate
Meteor.client.logLevel = .Info // Options are: .Verbose, .Debug, .Info, .Warning, .Error, .Severe, .None
Connecting to a Meteor server
// Meteor.connect will automatically connect and will sign in using
// a stored login token if the client was previously signed in.
Meteor.connect("wss://todos.meteor.com/websocket") {
// do something after the client connects
}
Login & Logout with Facebook, Twitter, etc. (beta)
These services use the standard Meteor accounts packages. Just add the appropriate package on the server (e.g. meteor add accounts-facebook
) and follow the web-based provider setup. Choose redirect, rather than popup and save your appId/clientId as you’ll need it again in your iOS application.
In your iOS app, create a UIButton and associate its’ action with the appropriate Meteor login method. That’s it! “`swift class ViewController: UIViewController {
// client id is the id that Facebook, Google etc. assigns your app.
let GITHUB_CLIENT_ID = "1234567890"
let FACEBOOK_CLIENT_ID = "qwertyuiop"
let GOOGLE_CLIENT_ID = "asdfghjkl"
// Note that Twitter does not require a client id
@IBAction func loginWithTwitterWasClicked(sender: UIButton) {
Meteor.loginWithTwitter(self)
}
@IBAction func loginWithFacebookWasClicked(sender: UIButton) {
Meteor.loginWithFacebook(FACEBOOK_CLIENT_ID, viewController: self)
}
@IBAction func loginWithGoogleWasClicked(sender: UIButton) {
Meteor.loginWithGoogle(GOOGLE_CLIENT_ID, viewController: self)
}
@IBAction func loginWithGithubWasClicked(sender: UIButton) {
Meteor.loginWithGithub(GITHUB_CLIENT_ID, viewController: self)
}
}
#### Gotchas and implementation notes for OAuth login flows
When configuring OAuth services
* If you connect over wss (as you should), then you must provide a https:// app url and redirect url to the service provider. If you connect over ws, you must use http:// for your app url and redirect url. In other words, you can't mix the two.
* You'll need to choose redirect rather than popup in the Meteor OAuth configuration dialog
* Once configured, Meteor provides the appId/clientId via the "meteor.loginServiceConfiguration" publication, which SwiftDDP automatically subscribes to. However, SwiftDDP currently requires that you explicitly provide the appId as this allows the user to begin logging in immediately, rather than waiting for the initial batch of subscriptions to finish.
#### Login & Logout with password
Login using email and password.
```swift
<EMAIL_ADDRESS>password: "********") { result, error in
// do something after login
}
Login using username and password.
Meteor.loginWithUsername("swiftddp", password: "********") { result, error in
// do something after login
}
Log out.
Meteor.logout() { result, error in
// do something after logout
}
The client also posts a notification when the user signs in and signs out.
// Notification name (a string global variable)
DDP_USER_DID_LOGIN
DDP_USER_DID_LOGOUT
// Example
NSNotificationCenter.defaultCenter().addObserver(self, selector: "userDidLogin", name: DDP_USER_DID_LOGIN, object: nil)
NSNotificationCenter.defaultCenter().addObserver(self, selector: "userDidLogout", name: DDP_USER_DID_LOGOUT, object: nil)
func userDidLogin() {
print("The user just signed in!")
}
func userDidLogout() {
print("The user just signed out!")
}
Subscribe to a subset of a collection
Meteor.subscribe("todos")
Meteor.subscribe("todos") {
// Do something when the todos subscription is ready
}
Meteor.subscribe("todos", [1,2,3,4]) {
// Do something when the todos subscription is ready
}
Change the subscription’s parameters and manage your subscription with unsubscribe
// Suppose you want to subscribe to a list of all cities and towns near a specific major city
// Subscribe to cities near Boston
let id1 = Meteor.subscribe("cities", ["lat": 42.358056 ,"lon": -71.063611]) {
// You are now subscribed to cities associated with the coordinates 42.358056, -71.063611
// id1 contains a key that allows you to cancel the subscription associated with
// the parameters ["lat": 42.358056 ,"lon": -71.063611]
}
// Subscribe to cities near Paris
let id2 = Meteor.subscribe("cities", ["lat": 48.8567, "lon": 2.3508]){
// You are now subscribed to cities associated with the coordinates 48.8567, 2.3508
// id2 contains a key that allows you to cancel the subscription associated with
// the parameters ["lat": 48.8567 ,"lon": 2.3508]
}
// Subscribe to cities near New York
let id3 = Meteor.subscribe("cities", ["lat": 40.7127, "lon": -74.0059]){
// You are now subscribed to cities associated with the coordinates 40.7127, -74.0059
// id3 contains a key that allows you to cancel the subscription associated with
// the parameters ["lat": 40.7127 ,"lon": -74.0059]
}
// When these subscriptions have completed, the collection associated with "cities" will now contain all
// documents returned from the three subscriptions
Meteor.unsubscribe(withId: id2)
// Your collection will now contain cities near Boston and New York, but not Paris
Meteor.unsubscribe("cities")
// You are now unsubscribed to all subscriptions associated with the publication "cities"
Call a method on the server
Meteor.call("foo", [1, 2, 3, 4]) { result, error in
// Do something with the method result
}
When passing parameters to a server method, the parameters object must be serializable with NSJSONSerialization
Simple in-memory persistence
SwiftDDP includes a class called MeteorCollection that provides simple, ephemeral dictionary backed persistence. MeteorCollection stores objects subclassed from MeteorDocument. Creating a collection is as simple as:
class List: MeteorDocument {
var collection:String = "lists"
var name:String?
var userId:String?
}
let lists = MeteorCollection<List>(name: "lists") // As with Meteorjs, the name is the name of the server-side collection
Meteor.subscribe("lists")
For client side insertions, updates and removals:
let list = List(id: Meteor.client.getId(), fields: ["name": "foo"])
// Insert the object on both the client and server.
lists.insert(list)
// Update the object on both the client and server
list.name = "bar"
lists.update(list)
// Remove the object on both the client and server
lists.remove(list)
For each operation the action is executed on the client, and rolled back if the server returns an error.
Example Projects
Todos
These are iOS implementations of Meteor’s Todos example. The best way to run the examples is to connect to a local instance of Meteor’s Todos app: meteor create --example todos && cd todos && meteor
. You can specify the server that the Todos app connects to by changing the url variable in AppDelegate.swift. There are currently two flavors: a simple example with dictionary based persistence and an example showing how to use SwiftDDP with Core Data and NSFetchedResultsController.
- Meteor Todos with dictionary based in-memory storage
- Meteor Todos Core Data integration
When running the examples with preexisting instances of the todos app hosted at *.meteor.com, note that connectivity to apps hosted on Meteor’s free hosting (not to be confused with Galaxy) can be erratic as the server periodically idles. If SwiftTodos does not connect or you cannot add or remove items or login, try connecting to a different instance. The surest way to do this is to run an instance of the todos app locally.
bash meteor create --example todos
Once you’ve created and started the Meteor todos server, set the url variable in AppDelegate.swift to ws://localhost:3000/websocket, then run the iOS app.
Example: Creating an array based custom collection
The following pattern can be used to create custom collections backed by any datastore
In this example, we’ll create a simple collection to hold a list of contacts. The first thing we’ll do is create an object to represent a contact. This object has four properties and a method named update that maps the fields NSDictionary to the struct’s properties. Update is called when an object is created and when an update is performed. Meteor will always transmit an id to identify the object that should be added, updated or removed, so objects that represent Meteor documents must always have an id field. Here we’re sticking to the MongoDB convention of naming our id _id.
struct Contact {
var _id:String?
var name:String?
var phone:String?
var email:String?
init(id:String, fields:NSDictionary?) {
self._id = id
update(fields)
}
mutating func update(fields:NSDictionary?) {
if let name = fields?.valueForKey("name") as? String {
self.name = name
}
if let phone = fields?.valueForKey("phone") as? String {
self.phone = phone
}
if let email = fields?.valueForKey("email") as? String {
self.email = email
}
}
}
Next, we’ll create the collection class that will hold our contacts and provide the logic to respond to server-side changes to the documents and the subscription set. SwiftDDP contains an abstract class called AbstractCollection that can be used to build custom collections. Subclassing AbstractCollection allows you to override three methods that are called in response to events on the server: documentWasAdded, documentWasChanged and documentWasRemoved.
class UserCollection: AbstractCollection {
var contacts = [Contact]()
// Include any logic that needs to occur when a document is added to the collection on the server
override public func documentWasAdded(collection:String, id:String, fields:NSDictionary?) {
let user = User(id, fields)
users.append(user)
}
// Include any logic that needs to occur when a document is changed on the server
override public func documentWasChanged(collection:String, id:String, fields:NSDictionary?, cleared:[String]?) {
if let index = contacts.indexOf({ contact in return contact._id == id }) {
contact = contacts[index]
contact.update(fields)
contacts[index] = contact
}
}
// Include any logic that needs to occur when a document is removed on the server
override public func documentWasRemoved(collection:String, id:String) {
if let index = contacts.indexOf({ contact in return contact._id == id }) {
contacts[index] = nil
}
}
}
So far, we’re able to process documents that have been added, changed or removed on the server. But the UserCollection class still lacks the ability to make changes to both the local datastore and on the server. We’ll change that. In the UserCollection class, create a method called insert.
class UserCollection: AbstractCollection {
/*
override public func documentWasAdded ...
override public func documentWasChanged ...
override public func documentWasRemoved ...
*/
public func insert(contact: Contact) {
// (1) save the document to the contacts array
contacts[contacts._id] = contact
// (2) now try to insert the document on the server
client.insert(self.name, document: [contacts.fields()]) { result, error in
// (3) However, if the server returns an error, reverse the action on the client by
// removing the document from the contacts collection
if error != nil {
self.contacts[contact._id] = nil
log.error("\(error!)")
}
}
}
}
The key parts of this method are: - (1) save the new contact to the array we created in UserCollection - (2) invoke client.insert to initiate an insert on the server - (3) remove the contact from the local store if the server rejects the insert
Creating update and remove methods are also easy to create, and follow the same patern as insert. For a more extensive example of the patterns shown here, have a look at MeteorCollection.swift. MeteorCollection is an in-memory collection implementation suitable for simple applications.
Changelog
0.3.0
- Changed default subscription behavior
- Added a method to sign a user in via username
Version 0.3.0 contains breaking changes
- You can now update a subscription by changing its parameters without first unsubscribing. This will subscribe the client to any documents associated with the new subscription and parameters. When you pass a new set of parameters to a subscription that you have previously subscribed to, you remain subscribed to any documents associated with that prior subscription.
- The subscription method returns an id. To unsubscribe to documents associated with a specific set of parameters, you must unsubscribe with this id.
- Unsubscribing by name now works differently. When unsubscribing by name, you unsubscribe to any and all subscriptions with that name.
- You can no longer pass a callback to unsubscribe(name:String)
. It now returns an array with the ids of the subscriptions you’ve unsubscribed to.
<IP_ADDRESS>
- Improved subscription handling across app states
- Dependencies updated for Swift 2.2
0.2.1
- Reconnection behavior improvements: reconnect attempts now follow an exponential backoff pattern
- Client now connects to servers using self signed SSL certificates when allowSelfSignedSSL is set to true
- The loglevel can now be set directly using the logLevel property on the client. The default setting is .None
0.2.0
- Integration with Meteor’s Facebook, Twitter & other login services
Contributing
Pull requests, feature requests are feedback are welcome. If you’re using SwiftDDP in a production app, let us know.


*** User 2017-05-05 20:09:42.205 ***
20:09:42.205 [info] Disabling blocking sync...
*** User 2017-05-05 20:09:42.211 ***
20:09:42.211 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-1@MacBook-Pro-de-Anne-France'
*** User 2017-05-05 20:09:43.792 ***
20:09:43.792 [info] Enabling membership...
*** User 2017-05-05 20:09:43.794 ***
20:09:43.794 [info] Disabling blocking sync...
*** User 2017-05-05 20:09:43.799 ***
20:09:43.799 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-2@MacBook-Pro-de-Anne-France'
*** User 2017-05-05 20:09:45.353 ***
20:09:45.353 [info] Enabling membership...
*** User 2017-05-05 20:09:45.356 ***
20:09:45.355 [info] Disabling blocking sync...
*** User 2017-05-05 20:09:45.361 ***
20:09:45.361 [info] Configured peer_service_manager partisan_default_peer_service_manager on node 'node-3@MacBook-Pro-de-Anne-France'
*** User 2017-05-05 20:09:45.639 ***
Joining node: 'node-3@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 57649
*** User 2017-05-05 20:09:45.639 ***
Joining issued: 'node-3@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 57649
*** User 2017-05-05 20:09:45.639 ***
Joining node: 'node-2@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 57631
*** User 2017-05-05 20:09:45.640 ***
Joining issued: 'node-2@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 57631
*** User 2017-05-05 20:09:45.640 ***
Joining node: 'node-1@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 57619
*** User 2017-05-05 20:09:45.641 ***
Joining issued: 'node-1@MacBook-Pro-de-Anne-France' to 'runner@MacBook-Pro-de-Anne-France' at port 57619
*** User 2017-05-05 20:09:45.702 ***
Waiting for join to complete with manager: partisan_default_peer_service_manager
*** User 2017-05-05 20:09:45.703 ***
Finished.
*** CT 2017-05-05 20:09:45.703 *** COVER INFO
Adding nodes to cover test: ['runner@MacBook-Pro-de-Anne-France']
*** CT 2017-05-05 20:09:45.712 *** COVER INFO
Successfully added nodes to cover test: []
*** User 2017-05-05 20:09:49.724 ***
Case finished: ivar_test
*** User 2017-05-05 20:09:56.782 ***
20:09:56.782 [info] Application lasp exited with reason: stopped
*** User 2017-05-05 20:09:56.783 ***
20:09:56.783 [info] Application partisan exited with reason: stopped
=== Ended at 2017-05-05 20:09:56
=== successfully completed test case
=== Returned value: ok
Test run history
| Top level test index


We are a woman owned full stack development company based in Seattle. We provide software engineering solutions in a variety of technologiest from static front-end websites to the back-end services and everything in between. Our experience incudes a wide range of languages, and frameworks and technologies.
Beasley IT Solutions is a leading consulting and IT services provider, delivering quality, cost-effective, end to end software development services supported by great customer service.
"Beasely IT allowed our organization to stop worrying about technology and get back to achieving our business goals."
Peggy Arnolds
CEO, Education Horizons, LLC
“Very pleased with the quality of IT services provided.
More importantly, Beasely IT's responsiveness to concerns is exceptional.”
Dana P. Lockwood
Attorney at Law, Owner
Dana P. Lockwood, PLC
For more information or to request a free initial consultation, contact us. We would love to hear from you.


There are no navigation on this device.
You must authorize the localisation to get the data.
Intern error when get the localisation data.
Time out to get the localisation.
Unknown error.
?


You should be able to toggle this one and get the selected state logged on each click
This is a normal button, clicks get logged, no selected attribute, on click the log will always show undefined
Group of mutually exclusive buttons, only one active at a time. It starts with the 2 selected and after 3 seconds none will. All changes get logged.
Mutually exclusive buttons, button C is preselected via existing markup.
This is a plain dropdown whose options have a selected attribute which is handled normally and does not get messed up with that of the toggle buttons or button groups. Initially the three label should show. The state of the selected option will be logged by showing an X in the position of the one selected.


Smart Savannah builds digital solutions for non-metropolitan Africa, ranging from mobile apps, IoT slutions to customized software solutions. The team is comprised of professionals with skills and experience in software development, UI/UX design, sales, product and project management.
We are also focussed on developing IoT solutions to help businesses prosper in the floriculture industry. Our flagship product, BloomCare, is already serving horticultural farms in Kenya by helping them to manage pests, diseases & staff productivity.
Reach us on email<EMAIL_ADDRESS>or call +254 740 500 600 if you are interested in our current products or have other ideas to improve non-metropolitan prosperity both of individuals and businesses.


Remembering that I'll be dead soon is the most important tool I've ever encountered to help me make the big choices in life. Because almost everything - all external expectations, all pride, all fear of embarrassment or failure - these things just fall away in the face of death, leaving only what is truly important. - Steve Jobs
Date Start:
Date End:
Based on the input information, you probably have the following number of hours left in your life. Use them wisely ;)


×
Home
Outdoor Plants
Flowers
Grasses
Veggies
Climbers
Bushes
Trees
Indoor Plants
Succulents
Pots
Ferns
Flowers
Trees
Invaders
Spraying
Weeding
Japanese Beetles
Friendlies
Bees
Butterflies
Other
Tools
Shovels
Handhelds
Structures
Pergolas
Garden Boxes
Compost
Patios
Furniture
Pots
Hardscaping
Lighting
Lights
Candles
Firepits
Recipes
Cocktails
Meals
Freezing
Desserts
Brewing
ZONE 5
A Style Guide to
Hardiness Gardens
Pause
Recent Articles
Roses
Succulents
Japanese Beetles
Spiders
Handhelds
Garden Boxes
Candles
Cocktails


StateMachine
public struct StateMachine<T> : CustomStringConvertible where T : Hashable
Represents a state machine.
-
An empty operation to be performed.
Declaration
Swift
public typealias Operation = () throws -> Void
-
Undocumented
Declaration
Swift
public typealias TransitionFilter = StateFlow<T>.TransitionFilter
-
The current state of the machine.
Declaration
Swift
public var state: T { get }
-
Instantiates a state machine by configuring the StateFlow instance.
Declaration
Swift
public init(initial: T, config: StateFlow<T>.Configurator)
Parameters
initial
The initial state.
config
A configurator for an instance of StateFlow.
-
Instantiates a state machine by passing an instance of StateFlow.
Declaration
Swift
public init(initial: T, stateFlow: StateFlow<T>)
Parameters
initial
The initial state.
stateFlow
The state flow to be used as configuration.
-
Triggers a transition to a given state and invokes a callback on completion.
Throws
Either TransitionError or rethrows underlying errors.Declaration
Swift
public mutating func transition(to: T, completion: Operation? = nil) throws
Parameters
to
The targeted state.
completion
An optional callback. Will be only be called on success and after all defined transition handlers were invoked.
Return Value
Wether the transition could be performed or not.
-
Returns wether transitioning to a state is allowed.
Declaration
Swift
public func allows(to: T) -> Bool
Parameters
to
The targeted state.
Return Value
true if allowed else false.
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
public mutating func onTransitions(like transition: Transition<T> = .nilTransition, perform op: @escaping Operation)
Parameters
transition
The most specific transition.
perform
The operation the be performed.
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
public mutating func subscribeTransitions(like transition: Transition<T> = .nilTransition, perform op: @escaping Operation) -> ReferenceDisposable
Parameters
transition
The most specific transition.
perform
The operation the be performed.
-
Returns the graph for the state machine
Declaration
Swift
public var description: String { get }
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
mutating func onTransitions(from: T, to: T, perform op: @escaping Operation)
Parameters
from
The source state.
to
The target state.
perform
The operation the be performed.
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
mutating func subscribeTransitions(from: T, to: T, perform op: @escaping Operation) -> ReferenceDisposable
Parameters
from
The source state.
to
The target state.
perform
The operation the be performed.
Return Value
subcription which needs to be kept.
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
mutating func onTransitions(from: T, perform op: @escaping Operation)
Parameters
from
The source state.
perform
The operation the be performed.
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
mutating func subscribeTransitions(from: T, perform op: @escaping Operation) -> ReferenceDisposable
Parameters
from
The source state.
perform
The operation the be performed.
Return Value
subcription which needs to be kept.
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
mutating func onTransitions(to: T, perform op: @escaping Operation)
Parameters
to
The target state.
perform
The operation the be performed.
-
Appends a transition handler for all more-equal general transitions.
Declaration
Swift
mutating func subscribeTransitions(to: T, perform op: @escaping Operation) -> ReferenceDisposable
Parameters
to
The target state.
perform
The operation the be performed.
Return Value
subcription which needs to be kept.
-
Appends a transition handler for all more-equal general transitions. Deprecated, use
StateMachine.onTransitions(like:perform:)
instead. Operations for .nilTransition will now be performed for every transition.Declaration
Swift
@available(*, deprecated, renamed: "onTransitions(like:perform:﹚", message: "Operations for .nilTransition will now be performed for every transition") mutating func onTransitions(transition: Transition<T>, perform op: @escaping Operation)
Parameters
transition
The most specific transition.
perform
The operation the be performed.


|
1. Mobile and Wireless Networks (Graduate Course)
– Capacity of Wireless Networks
– Mobility of Adhoc Network
– Routing in MANET
– Cross Layer Design and
Optimization
– Modeling of Medium Access Control
– Power and Rate Control
2. Stochastic
Processes and Queueing Theorey (Graduate)
– General Stochastic
Processes
– Markov Processes
– Queueing Theory
– Joint Queueing and Game
Theory
3. Wireless Communiations: Principles and Applications (Undergradate Core Course)
– Radio Propogation
– Cellular networks: 3G, 4G
– WLAN (802.11 Series)
– MANET (Mobile Ad-hoc Networks)
– Sensor Networks
– Satellite System
|


Need work done?
Post your project and receive competitive bids from freelancers within minutes. Our reputation system will make it easy.
-
Pick your favorite
Fill in our design brief and choose how much you'll pay.
-
Get dozens of designs
Fill in our design brief and choose how much you'll pay.
-
Tell us what you need
Fill in our design brief and choose how much you'll pay.


The Mercedes-Benz Sprinter is among the favorite buses of people in the RV industry. Its balanced proportions and dimensions, together with the robust engines and suspension, often make it the perfect choice for a custom camper, and we’ve seen many excellent builds based on that model. The one you will see in the gallery below is no different.
It comes from the Wales-based Hunter Sport Homes and features everything you could ask for during your summer vacation but we’ll get to that in a second. The exterior is equally cool and comes finished in Audi’s Daytona pearlescent grey color that we’ve seen on cars such as the Audi A5, A6, and A7. In addition, there’s a subtle body kit that adds wider bumpers, a custom grille, and two-tone aftermarket wheels.
Gallery: Mercedes Sprinter camper by Hunter Sport Homes
Getting back to the living space, it’s all custom-built and features a large bed for two grown-ups. There’s also a smaller foldable bed that’s formed from two of the passenger seats in the cabin and, judging by the photos, it’s ideal for kids. The kitchenette is nicely equipped with an oven, a gas stove, and a fridge. There’s also a small TV, which is mounted smartly on a rotating stand between the double bed and the dining area.
More Spinter-Based Motorhomes:
Hunter Sport Homes describes itself as a company that will strive to “work with you to build your dream home away from home” and will “always try to go that extra mile to offer the best service to keep you happy as a customer.“ The firm is not just using the Sprinter as its only starting point for its RV projects but is now also an official partner of the automaker.


--- layout: default ---
Videographers need a high quality camera slider that is easy to use and tweak. We think it can be sold at 1/3rd the price, while improving the design at the same time.
Are you interested? Be an early builder and adopter.


New reservation
Please follow the steps in order to make a new reservation.
Select date and time
Select tables
{{table.seatCount}}
Inside (nonsmoking)
Inside (smoking)
Garden (open)
Garden (closed)
Choose food and drink items (optional)
-
{{item.menuItem.name}}
{{item.amount}}
Invite friends (optional)
- {{user.firstName}} {{user.lastName}}
- {{user.firstName}} {{user.lastName}}