API Previews
- Enhanced deployments
- Reactions
- Timeline
- Pre-receive environments
- Projects
- Commit search
- Repository topics
- Codes of conduct
- Nested teams
- Global webhooks
- Repository transfer
- Add lock reason
- Require signed commits
- Require multiple approving reviews
- Check runs and check suites API
- Anonymous Git access to repositories
- Project card details
- Deployment statuses
- Repository creation permissions
- Content attachments
- Draft pull requests
- Enable and disable Pages
- List branches or pull requests for a commit
- Uninstall a GitHub App
- Enable or disable vulnerability alerts for a repository
- Update a pull request branch
- Create and use repository templates
API previews let you try out new APIs and changes to existing API methods before they become part of the official GitHub API.
During the preview period, we may change some features based on developer feedback. If we do make changes, we'll announce them on the developer blog without advance notice.
To access an API preview, you'll need to provide a custom
media type in the
Accept
header for your requests. Feature documentation
for each preview specifies which custom media type to provide.
Enhanced deployments
Exercise greater control over deployments with more information and finer granularity.
Custom media type: ant-man-preview
Announced:
2016-04-06
Reactions
Manage reactions for commits, issues, and comments.
Custom media type:
squirrel-girl-preview
Announced:
2016-05-12
Update:
2016-06-07
Timeline
Get a list of events for an issue or pull request.
Custom media type:
mockingbird-preview
Announced:
2016-05-23
Pre-receive environments
Create, list, update, and delete environments for pre-receive hooks.
Custom media type: eye-scream-preview
Announced:
2015-07-29
Custom media type:
machine-man-preview
Announced:
2016-09-14
Projects
Manage projects.
Custom media type: inertia-preview
Announced:
2016-09-14
Update:
2016-10-27
Commit search
Custom media type: cloak-preview
Announced:
2017-01-05
Repository topics
View a list of repository topics in calls that return repository results.
Custom media type: mercy-preview
Announced:
2017-01-31
Codes of conduct
View all codes of conduct or get which code of conduct a repository has currently.
Custom media type:
scarlet-witch-preview
Nested teams
Include nested team content in team payloads.
Custom media type: hellcat-preview
Announced:
2017-09-01
Global webhooks
Enables global webhooks for organization and user event types. This API preview is only available for GitHub Enterprise Server.
Custom media type: superpro-preview
Announced:
2017-12-12
Repository transfer
Transfer a repository to an organization or user.
Custom media type: nightshade-preview
Announced:
2017-11-09
Add lock reason
You can now add a reason when you lock an issue.
Custom media type: sailor-v-preview
Announced:
2018-01-10
Require signed commits
You can now use the API to manage the setting for requiring signed commits on protected branches.
Custom media type: zzzax-preview
Announced:
2018-02-22
Require multiple approving reviews
You can now require multiple approving reviews for a pull request using the API.
Custom media type: luke-cage-preview
Announced:
2018-03-16
Check runs and check suites API
Allows a GitHub App to run external checks on a repository's code. See the Check runs and Check suites APIs for more details.
Custom media type: antiope-preview
Announced:
2018-05-07
Anonymous Git access to repositories
When a GitHub Enterprise Server instance is in private mode, site and repository administrators can enable anonymous Git access for a public repository.
Custom media type: x-ray-preview
Announced:
2018-07-12
Project card details
The REST API v3 responses for
issue events and
issue timeline events
now return the project_card
field for project-related
events.
Custom media type: starfox-preview
Announced:
2018-09-05
Deployment statuses
You can now update the environment
of a
deployment status
and use the in_progress
and queued
states.
When you create deployment statuses, you can now use the
auto_inactive
parameter to mark old
production
deployments as inactive
.
Custom media type: flash-preview
Announced:
2018-10-16
Repository creation permissions
You can now configure whether organization members can create repositories and which types of repositories they can create. See "Update an organization" for more details.
Custom media types: surtur-preview
Announced:
2019-12-03
Content attachments
You can now provide more information in GitHub for URLs that link to registered domains by using the Content Attachments API. See "Using content attachments" for more details.
Custom media types: corsair-preview
Announced:
2018-12-10
Draft pull requests
You can use the Draft Pull Requests API and its pull request endpoints to see whether a pull request is in draft state. To learn more about draft pull requests, see "About pull requests" in the GitHub Help documentation.
Custom media types:
shadow-cat-preview
Announced:
2019-02-14
Enable and disable Pages
You can use the new endpoints in the Pages API to enable or disable Pages. To learn more about Pages, see "GitHub Pages Basics" in the GitHub Help documentation.
Custom media types:
switcheroo-preview
Announced:
2019-03-14
List branches or pull requests for a commit
You can use two new endpoints in the Commits API to list branches or pull requests for a commit.
Custom media types: groot-preview
Announced:
2019-04-11
Uninstall a GitHub App
Owners of GitHub Apps can now uninstall an app using the Apps API.
Custom media types: gambit-preview
Enable or disable vulnerability alerts for a repository
You can use two new endpoints in the Repos API to enable or disable vulnerability alerts.
Custom media types: dorian-preview
Announced:
2019-04-24
Update a pull request branch
You can use a new endpoint to update a pull request branch with changes from the HEAD of the upstream branch.
Custom media types: lydian-preview
Announced:
2019-05-29
Create and use repository templates
You can use a new endpoint to
Create a repository using a template
and
Create a repository for the authenticated user
that is a template repository by setting the
is_template
parameter to true
.
Get a repository
to check whether it's set as a template repository using the
is_template
key.
Custom media types: baptiste-preview
Announced:
2019-07-05


int DonutCreate(PDONUT_CONFIG pConfig)
int DonutDelete(PDONUT_CONFIG pConfig)
When provided with a valid configuration, DonutCreate
will generate a shellcode to load a .NET assembly from memory. If the function returns DONUT_ERROR_SUCCESS
, the configuration will contain three components:
The key to decrypt the Module is stored in the Instance so that if a module is discovered on a rogue server by an adversary, it should not be possible to decrypt the contents without the instance. DonutDelete
will release any memory allocated by a successful call to DonutCreate
. The Instance will already be attached to the PIC ready for executing in-memory, but the module may require saving to disk if the PIC will retrieve it from a remote HTTP server.
A configuration requires a target architecture (only x86 and x86-64 are currently supported), a path to a .NET assembly that will be loaded from memory by the shellcode, a namespace/class, the name of a method to invoke, including any parameters passed to the method. If the module will be stored on a remote server, a URL is required, but not a module name because that will be generated randomly.
typedef struct _DONUT_CONFIG { int arch; // target architecture for shellcode int type; // URL or PIC char domain[DONUT_MAX_NAME]; // name of domain to create for assembly char *cls; // name of class and optional namespace char *method; // name of method to execute char *param; // string parameters passed to method, separated by comma or semi-colon char *file; // assembly to create module from char url[DONUT_MAX_URL]; // points to root path of where module will be on remote http server char runtime[DONUT_MAX_NAME]; // runtime version to use. v4.0.30319 is used by default char modname[DONUT_MAX_NAME]; // name of module written to disk int mod_len; // size of DONUT_MODULE void *mod; // points to encrypted DONUT_MODULE int inst_len; // size of DONUT_INSTANCE void *inst; // points to encrypted DONUT_INSTANCE int pic_len; // size of shellcode void *pic; // points to PIC/shellcode } DONUT_CONFIG, *PDONUT_CONFIG;
| Member | Description |
|---|---|
arch |
Indicates the type of assembly code to generate. DONUT_ARCH_X86 and DONUT_ARCH_X64 are recognized options. ARM64 will be supported at some point. |
type |
DONUT_INSTANCE_PIC indicates a self-contained payload which means the .NET assembly is embedded in executable code. DONUT_INSTANCE_URL indicates the .NET assembly is stored on a remote server with a URL embedded in the instance. |
domain |
AppDomain name to create. If one is not specified by the caller, it will be generated randomly. |
cls |
The class name with method to invoke. A namespace is optional. e.g: namespace.class |
method |
The method that will be invoked by the shellcode once .NET assembly is loaded into memory. |
param |
Contains a list of parameters for the method. Each separated by semi-colon or comma. |
file |
The path of the .NET assembly that will be loaded from memory. |
url |
If the type is DONUT_INSTANCE_URL , this should contain the server and path of where module will be stored. e.g: https://www.rogueserver.com/modules/ |
runtime |
The CLR runtime version to use for the .NET assembly. If none is provided, v4.0.30319 is used by default. |
modname |
If the type is DONUT_INSTANCE_URL , this will contain a randomly generated name for the module that should be used when saving the contents of mod to disk. |
mod_len |
The total size of the Module pointed to by mod . |
mod |
Points to encrypted Module. If the type is DONUT_INSTANCE_URL , this should be saved to file using the modname and accessible via HTTP server. |
inst_len |
The total size of the Instance pointed to by inst . |
inst |
Points to an encrypted Instance after a successful call to DonutCreate . Since it's already attached to the pic , this is only provided for debugging purposes. |
pic_len |
The size of data pointed to by pic . |
pic |
Points to executable code for the target architecture which also contains an instance. This should be injected into a remote process. |
Everything that follows here concerns internal workings of Donut and is not required to generate a payload.
The position-independent code will always contain an Instance which can be viewed simply as a configuration for the code itself. It will contain all the data that would normally be stored on the stack or in the .data
and .rodata
sections of an executable. Once the main code executes, it will decrypt the instance before attempting to resolve the address of API functions. If successful, it will check if a .NET assembly is embedded or must be downloaded from a remote server. To verify successful decryption, a randomly generated string is stored in the sig
field that when hashed using Maru should match the value in mac
.
typedef struct _DONUT_INSTANCE { uint32_t len; // total size of instance DONUT_CRYPT key; // decrypts instance // everything from here is encrypted int dll_cnt; // the number of DLL to load before resolving API char dll_name[DONUT_MAX_DLL][32]; // a list of DLL strings to load uint64_t iv; // the 64-bit initial value for maru hash int api_cnt; // the 64-bit hashes of API required for instance to work union { uint64_t hash[48]; // holds up to 48 api hashes void *addr[48]; // holds up to 48 api addresses // include prototypes only if header included from payload.h #ifdef PAYLOAD_H struct { // imports from kernel32.dll LoadLibraryA_t LoadLibraryA; GetProcAddress_t GetProcAddress; VirtualAlloc_t VirtualAlloc; VirtualFree_t VirtualFree; // imports from oleaut32.dll SafeArrayCreate_t SafeArrayCreate; SafeArrayCreateVector_t SafeArrayCreateVector; SafeArrayPutElement_t SafeArrayPutElement; SafeArrayDestroy_t SafeArrayDestroy; SysAllocString_t SysAllocString; SysFreeString_t SysFreeString; // imports from wininet.dll InternetCrackUrl_t InternetCrackUrl; InternetOpen_t InternetOpen; InternetConnect_t InternetConnect; InternetSetOption_t InternetSetOption; InternetReadFile_t InternetReadFile; InternetCloseHandle_t InternetCloseHandle; HttpOpenRequest_t HttpOpenRequest; HttpSendRequest_t HttpSendRequest; HttpQueryInfo_t HttpQueryInfo; // imports from mscoree.dll CorBindToRuntime_t CorBindToRuntime; CLRCreateInstance_t CLRCreateInstance; }; #endif } api; // GUID required to load .NET assembly GUID xCLSID_CLRMetaHost; GUID xIID_ICLRMetaHost; GUID xIID_ICLRRuntimeInfo; GUID xCLSID_CorRuntimeHost; GUID xIID_ICorRuntimeHost; GUID xIID_AppDomain; DONUT_INSTANCE_TYPE type; // PIC or URL struct { char url[DONUT_MAX_URL]; char req[16]; // just a buffer for "GET" } http; uint8_t sig[DONUT_MAX_NAME]; // string to hash uint64_t mac; // to verify decryption ok DONUT_CRYPT mod_key; // used to decrypt module uint64_t mod_len; // total size of module union { PDONUT_MODULE p; // for URL DONUT_MODULE x; // for PIC } module; } DONUT_INSTANCE, *PDONUT_INSTANCE;
Modules can be attached to an instance or stored on a remote HTTP server. They are encrypted using a key stored in the instance.
typedef struct _DONUT_MODULE { DWORD type; // EXE or DLL WCHAR runtime[DONUT_MAX_NAME]; // runtime version WCHAR domain[DONUT_MAX_NAME]; // domain name to use WCHAR cls[DONUT_MAX_NAME]; // name of class and optional namespace WCHAR method[DONUT_MAX_NAME]; // name of method to invoke DWORD param_cnt; // number of parameters to method WCHAR param[DONUT_MAX_PARAM][DONUT_MAX_NAME]; // string parameters passed to method CHAR sig[DONUT_MAX_NAME]; // random string to verify decryption ULONG64 mac; // to verify decryption ok DWORD len; // size of .NET assembly BYTE data[4]; // .NET assembly file } DONUT_MODULE, *PDONUT_MODULE;
A hash function called Maru is used to resolve the address of API at runtime. It uses a Davies-Meyer construction and the SPECK block cipher to derive a 64-bit hash from an API string. The padding is similar to what's used by MD4 and MD5 except only 32-bits of the string length are stored in the buffer instead of 64-bits. An initial value (IV) chosen randomly ensures the 64-bit API hashes are unique for each instance.
Chaskey is a 128-bit block cipher with support for 128-bit keys. Counter (CTR) mode turns the block cipher into a stream cipher that is then used to decrypt a Module or an Instance at runtime.
If for any reason you modify payload.c and require recompiling into assembly code, you need to install Microsoft Visual Studio.


cc_w_package.Rmd
maskpath <- "../data-raw/MNI152_T1_2mm_brain_mask.nii.gz"
template <- fslsub2(maskpath, intern = TRUE)
template <- template@.Data[1:40+3,1:48+3,1:34+6]
mask <- template
mask[mask < 0.1] = 0; mask[mask > 0.1] = 1
list_files
: Extract complete-case filelists and subject ID’sThe neurorct package provides a function list_files
that recognizes the ID of patients with both baseline and follow-up imaging data. list_files
returns a list of length 3 - baseline images, follow-up images, and ID’s.
folderpath = './con_0001/' # replace this with your local folder that contains images
filelist = list_files(folderpath)
bl_filelist = filelist[[1]]
fu_filelist = filelist[[2]]
id_cc = filelist[[3]]
id_cc
#> [1] "58002" "58018" "58022" "58024" "58028" "58032" "58034" "58035"
#> [9] "58039" "58041" "58043" "58045" "58051" "58052" "58056" "58062"
#> [17] "58065" "58068" "58074" "58076" "58077" "58078" "58085" "58092"
#> [25] "58093" "58095" "58097" "58106" "58110" "58113" "58114" "58128"
#> [33] "58135" "58140" "58146" "58154" "58156" "58157" "58174" "58181"
#> [41] "58189" "58190" "58197" "58206" "58213" "58214" "58221" "58226"
#> [49] "58233" "58234" "58236" "58247" "58263" "58265" "58269" "58271"
#> [57] "58277" "58279" "58281" "58288" "58289" "58292" "58298" "58304"
We can generate design matrix using the ID’s above. We import the csv file of group assignment for all the subjects, including those with missing image.
group_assignment = read_csv("../data-raw/group_assignment.csv")
head(group_assignment)
#> # A tibble: 6 x 2
#> subject_id random_group
#> <dbl> <dbl>
#> 1 58001 2
#> 2 58002 1
#> 3 58005 1
#> 4 58008 2
#> 5 58011 1
#> 6 58012 2
The design matrix is made by keeping all the complete-case subjects.
import_image
: Import imaging dataThe import_image
function imports image data from the folder that contains individual imaging files. Mask can be specified using maskpath
argument. If complete = TRUE
, only images for complete data analysis are imported. Subsampling by factor of 2 can be done if user’s local environment allows and sub2 = TRUE
. Here we use subsampling for the sake of computation power.
img_data <-
import_image(folderpath = './con_0001/',
maskpath = './MNI152_T1_2mm_brain_mask.nii.gz',
complete = TRUE,
sub2 = TRUE)
datamat_bl_CC = img_data[[1]]
datamat_fu_CC = img_data[[2]]
dims = img_data[[3]]; dims
#> [1] 40 48 34
dim(datamat_bl_CC)
#> [1] 30382 64
The function returns baseline data and follow-up data in 2D matrices with dimensions number of voxels * number of complete-case subjects. In other words, each row in the matrix represents a subject, and each column represents a voxel. It also returns the dimensions of the original 3D image. In the above example, there are 64 subjects and 30382 voxels for each subject. The data is ready for the following linear regression.
fast_lm
: Fast linear regressionfast_lm
can be used to conduct fast linear regression of voxel-level difference on random group assignment. The function returns regression coefficients and degrees of freedom. The following example first calculates change-score, and then does linear regression without adjusting for baseline image. x_matrix
is the design matrix generated above.
datmat_diff = datamat_fu_CC - datamat_bl_CC
lm_result = fast_lm(x = x_matrix, y = datmat_diff)
lm_result$df
#> [1] 62
tmaps = lm_result$tmap
tmap_group = lm_result$tmap[,2]
fast_lm
also supports adjusting for baseline image. The code is shown below.
bl_adjust = fast_lm(x = x_matrix, y = datmat_diff, bl = datamat_bl_CC)
Now we plot the ‘tmap’ of group assignment.
tmap_array = array(0, dim = dims[1:3])
tmap_array[mask==1] <- tmap_group
range(tmap_group, na.rm = T)
#> [1] -3.156687 3.697510
template = fslsub2("./con_0001/Exercise58_FLANKERS_spm8_P00058002_S0001_con_0001.hdr")
<EMAIL_ADDRESS>= tmap_array


|
GetTime
The GetTime function obtains the local
system time.
|
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:GetTime hh nn ss tt
::
:: By: Ritchie Lawrence, updated 2007-05-12. Version 1.3
::
:: Func: Loads local system time components into args 1 to 4.
:: For NT4/2000/XP/2003
::
:: Args: %1 Var to receive hours, 2 digits, 00 to 23 (by ref)
:: %2 Var to receive minutes,
2 digits, 00 to 59 (by ref)
:: %3 Var to receive seconds,
2 digits, 00 to 59 (by ref)
:: %4 Var to receive centiseconds,
2 digits, 00 to 99 (by ref)
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
setlocal ENABLEEXTENSIONS
for /f "tokens=5-8 delims=:,. " %%a in ('echo/^|time') do
(
set hh=%%a&set nn=%%b&set ss=%%c&set cs=%%d)
if 1%hh% LSS 20 set hh=0%hh%
endlocal&set %1=%hh%&set %2=%nn%&set %3=%ss%&set %4=%cs%&goto
:EOF
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: |
|
Parameters
%1 Var to receive hours, 2 digits, 00 to 23 (by ref)
%2 Var to receive minutes, 2 digits, 00 to 59 (by ref)
%3 Var to receive seconds, 2 digits, 00 to 59 (by ref)
%4 Var to receive centiseconds, 2 digits, 00 to 99 (by ref)
Return Values
See parameters above.
Example
@echo off & setlocal ENABLEEXTENSIONS
call :GetTime h n s t
echo/Time is: %h%:%n%:%s%
goto :EOF
Remarks
This function is independant of regional settings on English versions of Windows.
Update: Added a comma to the delims statement - thanks to 'Alvydas'.
See Also
GetDate
|


Create Account
We can't find an account for
{{.Username}}
. Want to create an account?
By creating an account, I agree to the
Terms of Service
and
Privacy Policy
.
Cancel
Create Account
{{googleAnalytics}}


The battery can produce or consume energy. This widget can not be controlled through the UI, but will be controlled by the smart grid application that is active.
State of charge
...
Total capacity
...
Current mode
...


Official site
Demos: [
Plain text
] | [
Popup mode
] | [
IFrame mode (isolated from page)
] | [
Lite install
] | [
TinyMCE
] | [
TinyMCE 3
] | [
Xinha
] | [
FCKEditor
] | [
CKEditor
]
VirtualKeyboard developer demo
Simple input:
Password (no keyboard animation):
Text area:
toggle
Resources
Bugtracker
Support forum
Project page
Project page @CodeProject
Project page @Freshmeat
Layouts filter
Skins
Supported languagues


HealthCareAbroad.com™ is a directory that provides a World of Healthcare Options. Be among the first to know when we launch Healthcare Abroad! Sign up below: Notify me


Recently I’ve been working on an iOS project that loads data that we publish via the Open Data Protocol.
At first everything was working perfectly. I was using JSONKit and
NSOperation
to download and process the information. That was until I had to get a DateTime
object…which resulted in an epic
fail!
It turns out that WCF Data Services publish DateTime objects as a new Date object represented by the time in milliseconds (not seconds) since January 1, 1970. Anyone familiar with EPOCH dates knows about January 1, 1970 right?
The problem isn’t so much in that it publishes dates from a known time, rather that it does it in the least accessible
way! The value is rendered out (in JSON) as "\/Date(1311836400000)\/"
- yeah..I know, right?
So now I had to figure out a nice way to parse this very custom date format in Objective-C. This led me to the shocking (and borderline unacceptable) realization that objective-c (lower case to drive the point home) has no support for regular expressions!!!. There’s no punch-line to this joke…for real. No support for regex. A Unix-based OS has a development language that has no support for something that is natively supported (see the * below)!
To start, I decided to add a category to the NSDate
object that would allow me to work with these ridiculous strings.
The code above allows me to get an NSDate
from the crazy OData DateTime string and also convert an NSDate
to another
(quite different) format used by OData to query based on a DateTime value.
To get an NSDate
from the OData string, I am substring’ing the value between the two brackets. This value is then
converted to a long long value (twice on purpose for you .NET developers out there). The NSDate
has a static method
called dateWithTimeIntervalSince1970:
that will return an (autoreleased) NSDate object with the value of the time (in
seconds) since January 1, 1970.
To get the date to the query format used by OData (see OData URI
Conventions), we need to take an NSDate
and get it into
the format yyyy-MM-dd'T'HH:mm:ss
for example, 2011-07-29T18:15:00
.
I hope this information helps someone, as I was unable to find a simple example online anywhere (although I will concede that my googling skills could use some work).


Search
Preparing search index...


'Joy' in Bougainville as Pacific islands begin independence vote
The people of Bougainville, a group of islands in the heart of the Pacific Ocean, began voting on Saturday in a historic referendum to decide if they want to become the world’s newest nation by gaining independence from Papua New Guinea.
The poll runs over two weeks and is a key part of a 2001 peace agreement that ended a brutal civil war in which at least 15,000 people died in the islands.
Voters are expected to overwhelmingly support independence, says the Lowy Institute expert group in Sydney.
The president of the autonomous Bougainville government, John Momis, cast his ballot on Saturday.
Just over 200,000 people are eligible to vote in the referendum, with the results due to be announced in mid-December.
However, the vote will not be the final word. The referendum is non binding, and a vote for independence would then need to be negotiated by leaders from both Bougainville and Papua New Guinea.
The war triggered by disputes over the now-closed Panguna gold and copper mine, once run by a forerunner of the giant Rio Tinto mine, and anger over royalties from land and rivers polluted by mining.
Gianluca Rampolla, the United Nations resident coordinator in Papua New Guinea, said the world body has been working hard to ensure the vote is peaceful, transparent, inclusive and credible. He said there are 40 U.N. staffers on the ground and more than 100 international observers.
Rampolla said he thought it unlikely there would be violence during voting. “They’ve been waiting 19 years for this historic moment,” he said. “I think they will be left with joy.”


Vector3
A vector with three components.
Constructor Summary
| Public Constructor | ||
| public |
constructor(x: Number, y: Number, z: Number) Constructs a new vector. |
Member Summary
| Public Members | ||
| public |
The X component. |
|
| public |
The Y component. |
|
| public |
The Z component. |
Method Summary
| Public Methods | ||
| public |
Adds a vector to this one. |
|
| public |
Adds a scalar to this vector. |
|
| public |
addScaledVector(v: Vector3, s: Number): Vector3 Adds a scaled vector to this one. |
|
| public |
addVectors(a: Vector3, b: Vector3): Vector3 Sets this vector to the sum of two given vectors. |
|
| public |
Computes the angle to the given vector. |
|
| public |
applyMatrix3(m: Matrix3): Vector3 Applies a matrix to this vector. |
|
| public |
applyMatrix4(m: Matrix4): Vector3 Applies a matrix to this vector. |
|
| public |
Applies a normal matrix to this vector and normalizes it. |
|
| public |
Applies a quaternion to this vector. |
|
| public |
Ceils this vector. |
|
| public |
Clamps this vector. |
|
| public |
Clones this vector. |
|
| public |
Copies the values of another vector. |
|
| public |
Calculates the cross product of this vector and the given one. |
|
| public |
crossVectors(a: Vector3, b: Vector3): Vector3 Sets this vector to the cross product of the given vectors. |
|
| public |
distanceTo(v: Vector3): Number Calculates the distance to a given vector. |
|
| public |
Calculates the squared distance to a given vector. |
|
| public |
Divides this vector by another vector. |
|
| public |
divideScalar(s: Number): Vector3 Divides this vector by a given scalar. |
|
| public |
Calculates the dot product with another vector. |
|
| public |
Checks if this vector equals the given one. |
|
| public |
Floors this vector. |
|
| public |
Copies values from an array. |
|
| public |
Calculates the length of this vector. |
|
| public |
Calculates the squared length of this vector. |
|
| public |
Lerps towards the given vector. |
|
| public |
lerpVectors(v1: Vector3, v2: Vector3, alpha: Number): Vector3 Sets this vector to the lerp result of the given vectors. |
|
| public |
Calculates the Manhattan distance to a given vector. |
|
| public |
Calculates the Manhattan length of this vector. |
|
| public |
Adopts the max value for each component of this vector and the given one. |
|
| public |
Adopts the min value for each component of this vector and the given one. |
|
| public |
Multiplies this vector with another vector. |
|
| public |
multiplyScalar(s: Number): Vector3 Multiplies this vector with a given scalar. |
|
| public |
multiplyVectors(a: Vector3, b: Vector3): Vector3 Sets this vector to the product of two given vectors. |
|
| public |
Negates this vector. |
|
| public |
Normalizes this vector. |
|
| public |
Randomizes the values of this vector |
|
| public |
Reflects this vector. |
|
| public |
Rounds this vector. |
|
| public |
Sets the values of this vector |
|
| public |
Sets the values of this vector based on a cylindrical description. |
|
| public |
setFromCylindricalCoords(radius: Number, theta: Number, y: Number): Vector3 Sets the values of this vector based on cylindrical coordinates. |
|
| public |
setFromMatrix3Column(m: Matrix4, index: Number): Vector3 Copies the values of a matrix column. |
|
| public |
setFromMatrixColumn(m: Matrix4, index: Number): Vector3 Copies the values of a matrix column. |
|
| public |
Extracts the position from a matrix. |
|
| public |
Extracts the scale from a matrix. |
|
| public |
Sets the values of this vector based on a spherical description. |
|
| public |
setFromSphericalCoords(radius: Number, phi: Number, theta: Number): Vector3 Sets the values of this vector based on spherical coordinates. |
|
| public |
Sets the length of this vector. |
|
| public |
Subtracts a vector from this vector. |
|
| public |
Subtracts a scalar from this vector. |
|
| public |
subVectors(a: Vector3, b: Vector3): Vector3 Sets this vector to the difference between two given vectors. |
|
| public |
Stores this vector in an array. |
|
| public |
Applies a matrix to this direction vector. |
Public Constructors
Public Members
Public Methods
public add(v: Vector3): Vector3 source
Adds a vector to this one.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | The vector to add. |
public addScalar(s: Number): Vector3 source
Adds a scalar to this vector.
Params:
| Name | Type | Attribute | Description |
| s | Number | The scalar to add. |
public addVectors(a: Vector3, b: Vector3): Vector3 source
Sets this vector to the sum of two given vectors.
public angleTo(v: Vector3): Number source
Computes the angle to the given vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public applyMatrix3(m: Matrix3): Vector3 source
Applies a matrix to this vector.
Params:
| Name | Type | Attribute | Description |
| m | Matrix3 | A matrix. |
public applyMatrix4(m: Matrix4): Vector3 source
Applies a matrix to this vector.
Params:
| Name | Type | Attribute | Description |
| m | Matrix4 | A matrix. |
public applyNormalMatrix(m: Matrix3): Vector3 source
Applies a normal matrix to this vector and normalizes it.
Params:
| Name | Type | Attribute | Description |
| m | Matrix3 | A normal matrix. |
public applyQuaternion(q: Quaternion): Vector3 source
Applies a quaternion to this vector.
Params:
| Name | Type | Attribute | Description |
| q | Quaternion | A quaternion. |
public copy(v: Vector3): Vector3 source
Copies the values of another vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public cross(v: Vector3): Vector3 source
Calculates the cross product of this vector and the given one.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public crossVectors(a: Vector3, b: Vector3): Vector3 source
Sets this vector to the cross product of the given vectors.
public distanceTo(v: Vector3): Number source
Calculates the distance to a given vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public distanceToSquared(v: Vector3): Number source
Calculates the squared distance to a given vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public divide(v: Vector3): Vector3 source
Divides this vector by another vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public divideScalar(s: Number): Vector3 source
Divides this vector by a given scalar.
Params:
| Name | Type | Attribute | Description |
| s | Number | A scalar. |
public dot(v: Vector3): Number source
Calculates the dot product with another vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public equals(v: Vector3): Boolean source
Checks if this vector equals the given one.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public lerpVectors(v1: Vector3, v2: Vector3, alpha: Number): Vector3 source
Sets this vector to the lerp result of the given vectors.
public manhattanDistanceTo(v: Vector3): Number source
Calculates the Manhattan distance to a given vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public max(v: Vector3): Vector3 source
Adopts the max value for each component of this vector and the given one.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public min(v: Vector3): Vector3 source
Adopts the min value for each component of this vector and the given one.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public multiply(v: Vector3): Vector3 source
Multiplies this vector with another vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | A vector. |
public multiplyScalar(s: Number): Vector3 source
Multiplies this vector with a given scalar.
Params:
| Name | Type | Attribute | Description |
| s | Number | A scalar. |
public multiplyVectors(a: Vector3, b: Vector3): Vector3 source
Sets this vector to the product of two given vectors.
public reflect(n: Vector3): Vector3 source
Reflects this vector. The given plane normal is assumed to be normalized.
Params:
| Name | Type | Attribute | Description |
| n | Vector3 | A normal. |
public setFromCylindrical(c: Cylindrical): Vector3 source
Sets the values of this vector based on a cylindrical description.
Params:
| Name | Type | Attribute | Description |
| c | Cylindrical | A cylindrical description. |
public setFromCylindricalCoords(radius: Number, theta: Number, y: Number): Vector3 source
Sets the values of this vector based on cylindrical coordinates.
public setFromMatrix3Column(m: Matrix4, index: Number): Vector3 source
Copies the values of a matrix column.
public setFromMatrixColumn(m: Matrix4, index: Number): Vector3 source
Copies the values of a matrix column.
public setFromMatrixPosition(m: Matrix4): Vector3 source
Extracts the position from a matrix.
Params:
| Name | Type | Attribute | Description |
| m | Matrix4 | A 4x4 matrix. |
public setFromMatrixScale(m: Matrix4): Vector3 source
Extracts the scale from a matrix.
Params:
| Name | Type | Attribute | Description |
| m | Matrix4 | A 4x4 matrix. |
public setFromSpherical(s: Spherical): Vector3 source
Sets the values of this vector based on a spherical description.
Params:
| Name | Type | Attribute | Description |
| s | Spherical | A spherical description. |
public setFromSphericalCoords(radius: Number, phi: Number, theta: Number): Vector3 source
Sets the values of this vector based on spherical coordinates.
public setLength(length: Number): Vector3 source
Sets the length of this vector.
Params:
| Name | Type | Attribute | Description |
| length | Number | The new length. |
public sub(v: Vector3): Vector3 source
Subtracts a vector from this vector.
Params:
| Name | Type | Attribute | Description |
| v | Vector3 | The vector to subtract. |
public subScalar(s: Number): Vector3 source
Subtracts a scalar from this vector.
Params:
| Name | Type | Attribute | Description |
| s | Number | The scalar to subtract. |
public subVectors(a: Vector3, b: Vector3): Vector3 source
Sets this vector to the difference between two given vectors.


Programing: Python 2.7/3.3, JavaScript, Jquery, HTML5, CSS3, C, C++,C#, PHP7, Prolog, Lisp, Restful API
Database: Oracle SQL, MySQL, PostgreSQL, Microsoft SQL Server
Software: Matlab, Emacs, Visual Studio, Android Studio, Eclipse, github, WordPress, Godaddy
Systems: Linux Ubuntu, Windows
University of Alberta -- Edmonton| Computer Science, BSc
Junior Web developer for client commercial web development and Maintenance. Supported clients need by setting up websites, creating user accounts and troubleshooting through helpdesk inquiries.
Junior Web developer for client commercial web development and Maintenance. Supported clients need by setting up websites, creating user accounts and troubleshooting through helpdesk inquiries.
Freelance front end web designer/developer in startup company named CampusU. CampusU is a social media website which connect all university students together. Provided platform to students to create personal account, chat and upload notes.
This web application is fundamentally interconnected and peer to peer. used bootstrap to decorate webpages. Users are allowed to create their own account, profile, share their posts and be able to follow other users in order to read their posts.
This project is from the competition of Kaggle, our purpose is building the predictive model to distinguish between main product categories of Otto Group products. Firstly, we are using Gradient boosting trees, Gradient boosting logistic regression, Neural network, Random forest and linear discriminant analysis to build stacking models in order to classify a dataset with 93 features for more than 200,000 products. Secondly, we use folds for train dataset to predict the stacking models. Thirdly, we use calibration and model ensemble technique to minimize the logloss. Finally, our lightweight model achieved a logloss of 0.42593, and our team’s rank is in top 8% for this Kaggle competition.


In this project, you're going to make an instrument using Tone.js!
1. In CodePen, click on the gear next to JS and add Tone as an external script.
2. Add an event listener to your document that detects when you have pressed a key and create a callback function for it. Leave the callback function empty for now.
3. Go to the Tone.js API. Look for the synth documentation under instrument on the left. Click the link.
4. Scroll down and copy the example. Then paste it inside of your callback function. Congratulations! You just made sound!
Click this link to see what you should hear.
Don't forget to press a key to trigger the event!
5. Pass your event into the callback function. Choose a key and have the function detect that you are pressing that key. Once it does, have it play your synth. (Hint: this website will tell you what event code your callback function needs to see to detect your key.)
Click this link to play a sound when you press the "a" key.
Don't forget to press a key!
6. Use a switch statement to read multiple keys. Put three cases in your switch statement that detect three
different keys. Each key should play a different note. Go to this website
to learn about Scientific Pitch Notation. This is how the .triggerAttackRelease()
method can play different notes.
Click this link to play different notes when you press the "a", "s", and "d" keys.
7. Now we need to see what keys we are pressing! Put three div
tags in your HTML. Give them the same class and three
different id's. The id's should be the names of the notes you're using. Use the class to give them the same
background-color, border, and padding
. Can you get them all on one line?
8.  Put this in your switch statement!
9. Create an event listener that detects when you've released a key.
Have this event listener's callback function change your div
tags' color to their original color.
10. Make it look nice! Put an h1
tag above your div
tags
that says what keys you need to press to play your keys. Make everything centered.
Bonus) Can you create a full keyboard? Can you include all of the white keys? What about the black keys? How many keys could you fit on your keyboard?


{{ list.title }} Updated: {{ list.lastUpdated | date }}
You do not have any lists created. Click here to create a new one


"Animals and plants can reproduce themselves,
but it was only recently shown that machines can be made which also
reproduce themselves... Other kinds of self-reproducing machines
will be described, and one simple mechanical
model, with no electrical or magnetic complications,
will be there in working order for the audience to inspect and operate."
-- Edward Forrest Moore
In cellular automata, the
Moore neighborhood comprises the eight cells surrounding a central cell on a two-dimensional square lattice.
The neighborhood is named after Edward F. Moore, a pioneer of cellular automata theory.
Many board games are played on a rectangular grid with squares as cells.
For some games, it is important to know the conditions of neighbouring cells for chip
(figure, draught, checker, etc) placement and strategy.
You are given a state for a rectangular board game grid with chips in a binary matrix, where 1
is a cell with a chip and 0 is an empty cell. You are also given the coordinates for a cell in
the form of row and column numbers (starting from 0). You should determine how many chips are
close to this cell. Every cell interacts with its eight neighbours; those cells that are
horizontally, vertically, or diagonally adjacent.
The two examples shown use the same grid:
{% if interpreter.slug == "js-node" %}
[[1, 0, 0, 1, 0],
[0, 1, 0, 0, 0],
[0, 0, 1, 0, 1],
[1, 0, 0, 0, 0],
[0, 0, 1, 0, 0]]
{% else %}
((1, 0, 0, 1, 0),
(0, 1, 0, 0, 0),
(0, 0, 1, 0, 1),
(1, 0, 0, 0, 0),
(0, 0, 1, 0, 0),)
{% endif %}
For the first example, coordinates of the cell are (1, 2) and
as we can see from the schema this cell has 3 neighbour chips.
For the second example coordinates are (0, 0). This cell contains
a chip, but we count only neighbours and the answer is 1.
Input: Three arguments:
- A grid as a tuple of tuples containing integers 1 or 0)
- A row number for a cell, as an integer
- A column number for a cell, as an integer
Output: The number of neighbouring cells that have chips, as an integer.
Example:
{% if interpreter.slug == "js-node" %}
countNeighbours([[1, 0, 0, 1, 0],
[0, 1, 0, 0, 0],
[0, 0, 1, 0, 1],
[1, 0, 0, 0, 0],
[0, 0, 1, 0, 0]], 1, 2) == 3
countNeighbours([[1, 0, 0, 1, 0],
[0, 1, 0, 0, 0],
[0, 0, 1, 0, 1],
[1, 0, 0, 0, 0],
[0, 0, 1, 0, 0]], 0, 0) == 1
{% else %}
count_neighbours(((1, 0, 0, 1, 0),
(0, 1, 0, 0, 0),
(0, 0, 1, 0, 1),
(1, 0, 0, 0, 0),
(0, 0, 1, 0, 0),), 1, 2) == 3
count_neighbours(((1, 0, 0, 1, 0),
(0, 1, 0, 0, 0),
(0, 0, 1, 0, 1),
(1, 0, 0, 0, 0),
(0, 0, 1, 0, 0),), 0, 0) == 1
{% endif %}
How it is used:
As we mentioned in the beginning, this idea can be useful for developing board game algorithms.
In addition, the same principles it can be useful for navigational software, or geographical
surveying software.
Precondition:
3 ≤ len(grid) ≤ 10
all(len(grid[0]) == len(row) for row in grid)


<fields> element. iterable
More...
#include <Field.hpp>
template<typename STR>
struct nodamushi::svd::Fields< STR >
<fields> element. iterable
- See also
- http://www.keil.com/pack/doc/CMSIS/SVD/html/elem_registers.html#elem_fields
Definition at line 84 of file Field.hpp.
◆ citerator
◆ iterator
◆ begin() [1/2]
◆ begin() [2/2]
◆ empty()
<field> is empty.
Definition at line 89 of file Field.hpp.
◆ end() [1/2]
◆ end() [2/2]
◆ length()
count of <field>
Definition at line 99 of file Field.hpp.
◆ size()
count of <field>
Definition at line 94 of file Field.hpp.
◆ field
The documentation for this struct was generated from the following file:


• Why are you visiting?
• Are you or have you been injured?
• How long have you been in pain?
• Have you seen any providers or therapists for this issue?
• Are you taking any medications to treat this? Any others?
• Do you take vitamins or herbal medications?
• Have you broken any bones or had any fractures?
• Have you missed work because of this problem? How much?
• On a scale of 1-10 (10 being the worst) what level is your pain?
• Is there anything else you would like to discuss?


Contract start date: {{contract.startDate | date }}
Contract end date: {{contract.endDate | date}}
Annual gross salary: {{contract.amount | currency:'EUR':true }}
Employee: {{contract.employee.firstName}} {{contract.employee.lastName}}
Are you sure that you want to delete this contract?


NLP
Sentiment Analysis for movie review
Word Embedding
Sentiment Analysis using NLP
Is This Review is Positive (+) or Negative(-) ?
Let's get Started
Sentiment analysis on movie review
MOVIE: Is This Review Positive (+) or Negative(-) ?
Read More About NLP
{% block section %}
Put your Review Here
Predict
{% endblock %}


Installs all dependencies locally including TypeScript 1.4 + Gulp + Server
Compiles TypeScript to /dist/, uglifies, Runs server locally, Opens browser
Compiles TypeScript to /dist/, uglifies
Compiles TSC into /dist/
Watches for changes to /src/ files, Compiles TypeScript to /dist/app.js


Meet the team
United we stand divided we fail
Bill Bigsby IV
CEO
Jane Jewels
CFO
Doughy Digital
Lead Developer
Ralph Raider
Lead Designer
Nolan Nitro
Senior Developer
Donna Danger
Senior Developer
Rebecca Roo
Senior Designer
Lenny Lowes
Senior Designer
Eli Elfs
Designer
Trevor Tuesday
Junior Developer
Tori Traffic
Project Mangagement
Fido Fur
Office Manager


Formed by vaudevillian performer Johnny Blazes as a way of bringing the traditionally karaoke or lip-synching art of drag into the realm of live music, Johnny Blazes and The Pretty Boys have been bombing East Coast audiences with their glitter-filled, horn-heavy sound since 2011. For their first two years of existence, The Pretty Boys covered classic soul and funk songs with an unapologetic flamboyance and verve. The band also used its powers of soul to cover songs in other genres, including artists that range from Frank Zappa to Spinal Tap, and to re-define those tunes with their own horn-heavy sound.
Now, entering their fifth year, The Pretties blasts audiences with sassy originals and clever covers. The band is co-run by the father-kid duo of Johnny Blazes and J. Johnson (affectionately known in Boston rock circles as 'Darth'.)
The Pretty Boys have been honored to perform at the Boston Pride Festival, the first-ever North Shore Gay Pride Festival in Salem, MA, at The Hynes Convention Center as part of First Night Boston, as well as at clubs, theaters, and fundraisers throughout the Boston area, including Johnny D's, TT the Bear's, Radio, Precinct, Jacques, The Midway, Sally O'Brien's, Beat Brasserie, and ONCE/Cuisine En Locale. Along with traditional club shows, The Pretties love to get involved with projects that connect them with their cabaret roots, including being the dance band for the inaugural AlternaTease conference, The Slutcracker after party, and Org: Prom. They've also been involved more directly with some stage productions including Sparkletown Productions' Pretty Little Things (an all-Jacksons burlesque show), and The Boston Circus Guild's Cirque of the Dead.
Johnny Blazes and The Pretty Boys' debut album, Soul Vernacular, was released in September 2015. Soul Vernacular includes both tracks from the Blue Skies single release (February 2014), as well as 5 new original tracks, and a cover of Spinal Tap's "Big Bottom". Victor Infante writes in the Worcester Telegram & Gazette that the title track "is a spectacular groove that’s as much the conclusion to a funk thesis as it is a musical catharsis. Every inch of the song is big, and everything throttles ahead at full-force, a show-stopping end to one of the most thoroughly enjoyable albums in recent memory." Another track from the album, "Cold Clear Light", was included in the Harmonix video game Rock Band 4, released in October 2015.


Image Map Example Topic
This page was generated in Flare (the Skin + stylesheets have been removed).
The following screenshot was taken from w3schools.com:
- This will be the image in your Flare project. We add some extra attributes to the code to get this to work in Flare, for example, 'Class', 'ID', and 'data-name'.
- This is the image map, our image maps should be responsive. If you have any problems, try setting the image dimensions inline and removing any CSS resizing.
- A third option.
- A fourth option.
- A fifth?


{% extends "base.html" %} {% from "macros.jinja" import window_vars with context %} {{ window_vars(user, extensions) }}{% block page %}
Manage Extensions
You are about to remove the extension for all users.
Are you sure you want to continue?


Do not store cardholder PIN information.
The cardholder PIN is used for authentication at ATMs and that makes it of high value to an attacker. In the rare event it is required for a transaction, it should not be stored after the transaction has been processed.
Identify the storage mechanism that stores the PIN, for example a script or a database query. Change the storage mechanism so that it does not record the PIN.


Web Developer Examples and Resources by Hien Nguyen
Form Research
HTML form on a web page allows a user to enter data that is sent to a server for processing. According to Brandon Satrom, “A web form is a medium that allows your visitors to get in contact with you and to send information, such as an order, a catalog request, or even a query, which is passed on to your database. On some websites, information that is submitted through web forms is transferred directly to the company email. Web forms are constructed in programming languages like PHP, HTML, or JavaScript. A successful implementation of the code is essential for the success of the form”(Puri).
Web forms play an important role in creating the communication bridge between business and customers. An appropriate form to the right audience and targeted market will enhance the business image. In contrast, illogical and inappropriate questions will hamper the company image quite easily. Example: Asking for a residential address is rather irrelevant if the goal is making the users create an account with the website. Users will wonder why the site asks for a residential address just for registration. Not only will this cause confusion, but also a loss of trust, and most likely the user might quit the registration process (Puri).
Another reason why you need to use a web form is that it acts like the substitute and is available to take queries at all times. According to Kaveri Bharali, “running a business is not very easy. It involves a lot of tasks to be taken care of. Being the owner you are responsible to look over every aspect of your business. So you may not be able to answer all inquiries immediately. But with a Contact form in hand, this is no longer an issue. You can set an automated reply which will be received by the sender as soon as he/she hits the send button” (Bharali).
In addition, using a form also helps protect the website from spams. Kaveri Bharali noted that “adding your email address directly on your website can only open your inbox to spammers. Using a Contact Form saves all your time and energy from clearing them out. It helps you keep a very secured layer around your website because it constantly works by filtering any kind of spam that comes your way” (Bharali).
A good web form is one that is capable of calling to the users action and predicting their participation. The key to create a form is to understand the common mistakes users make. Designers need to create a pleasant and convenient user experience and keep the form clear, simple, and reliable (Puri).


Now Hop RubyStack - a FREE Rails stack for developers that includes FiveHops TuneUp.
Community-supported Rails and Merb application proffiling for developers.
Monitor your full Ruby on Rails production stack from OS to app.
Instrumentation and other building blocks for the Ruby dev commynity.
FiveHops provides simple and affordable products for monitoring Rails applications.


This site demonstrate the capability of exosite backend server combined with smart parking.
Smart.......


2012-11-05 v1.4.0
- update according to reviewers' comments
- several bug fixes based on users' feedback
2012-05-31 v1.3.1
- add HowToContribute section with test examples in README to show how to write one's own feature selection algorithms and/or contribute them to FSelector on GitHub.com
- all discretization algorithms now set feature type as CATEGORICAL, this will allow correct file format conversion after discretization
- add RandomSubset algorithm (primarily for test purpose)
2012-05-24 v1.3.0
- update clear_vars() in Base by use of Ruby metaprogramming, this trick avoids repetitive overriding it in each derived subclass
- re-organize LasVegasFilter, LasVegasIncremental and Random into algo_both/, since they are applicable to dataset with either discrete or continuous features, even with mixed type
- update data_from_csv() so that it can read CSV file more flexibly. note by default, the last column is class label
- add data_from_url() to read on-line dataset (in CSV, LibSVM or Weka ARFF file format) specified by a url
2012-05-20 v1.2.0
- add KS-Test algorithm for continuous feature
- add KS-CCBF algorithm for continuous feature
- add J-Measure algorithm for discrete feature
- add KL-Divergence algorithm for discrete feature
- include the Discretizer module for algorithms requiring data with discrete feature, which allows to deal with continuous feature after discretization. Those algorithms requiring data with continuous feature now do not include the Discretizer module
2012-05-15 v1.1.0
- add replace_by_median_value! for replacing missing value with feature median value
- add replace_by_knn_value! for replacing missing value with weighted feature value from k-nearest neighbors
- replace_by_mean_value! and replace_by_median_value! now support both column and row mode
- add EnsembleSingle class for ensemble feature selection by creating an ensemble of feature selectors using a single feature selection algorithm
- rename Ensemble to EnsembleMultiple for ensemble feature selection by creating an ensemble of feature selectors using multiple feature selection algorithms of the same type
- bug fix in FileIO module
2012-05-08 v1.0.1
- modify Ensemble module so that ensemble_by_score() and ensemble_by_rank() now take Symbol, instead of Method, as argument. This allows easier and clearer function call
- enable select_feature! interface in Ensemble module for the type of subset selection algorithms
2012-05-04 v1.0.0
- add new algorithm INTERACT for discrete feature
- add Consistency module to deal with data inconsistency calculation, which bases on a Hash table and is efficient in both storage and speed
- update the Chi2 algorithm to try to reproduce the results of the original Chi2 algorithm
- update documentation whenever necessary
2012-04-25 v0.9.0
- add new discretization algorithm (Three-Interval Discretization, TID)
- add new algorithm Las Vegas Filter (LVF) for discrete feature
- add new algorithm Las Vegas Incremental (LVI) for discrete feature
2012-04-23 v0.8.1
- correct a bug in the example in the README file because discretize_by_ChiMerge!() now takes confidence alpha value as argument instead of chi-square value
2012-04-23 v0.8.0
- add new algorithm FTest (FT) for continuous feature
- add .yardoc_opts to gem to use the MarkDown documentation syntax
2012-04-20 v0.7.0
- update to v0.7.0
2012-04-19 v0.6.0
- add new algorithm BetweenWithinClassesSumOfSquare (BSS_WSS) for continuous feature
- add new algorithm WilcoxonRankSum (WRS) for continuous feature
2012-04-18 v0.5.0
require the RinRuby gem (http://rinruby.ddahl.org) to access the statistical routines in the R package (http://www.r-project.org/)
because of RinRuby (and thus R), removed the following modules or implementations: RubyStats (FishersExactTest.calculate, get_icdf) and ChiSquareCalculator


{{'Become our NPOs partner to amplify the impact'|_}}
{{'LIN provides a varity of services to our NPO partners,
from consultaton and training to grantmaking and volunteer
matching.'|_}}
{{'LIN community'|_}}
{{"Use LIN's space to help you develop your
organzation. With a library, not-for-profit
orgarization (NPO) incubator workspaces, LIN office,
meeting training, and one-on consultation rcoms, we
aim to become a second home for NPO staff,
volunteers and donors"|_}}
{{"NPO capacty Buiding"|_}}
{{"Receive quality training on how to improve your
organization, LIN helps to build NPOs' capacity for
better program design, best practice evaluation and
research, improved fundising outcomes, new
communication strategies, and training programs. For
details on our upcoming workshops Link to LIN Event
Calendar"|_}}
{{"Narrow the Gap Community Fund"|_}}
{{"Raise money for your organization's operations
and programs. Expand on-going programs or pilot new
programs and services."|_}}
{{"Request a Skiled Volunteer"|_}}
{{"Pair up with professionals providing their skills
pro bono. LIN maintains a database of skilled
professionals who want to volunteer their services.
donors|_"}}
{{"Network Building"|_}}
{{"Expand your network and increase collaboration.
There are always benefits for NPOs that take the
time to network and share their experiences."|_}}
{{"Discover our NPOs programs"|_}}
{{"NPO AND VOLUNTEER NETWORKING EVENTS"|_}}
{{"NPO MORNING CAFE - BEST PRACTICE SHARING EVENTS"|_}}
{{"ONLINE NPO FORUM"|_}}
{{"Resources"|_}}
{{"LIN enhances capacity of local NPOs, volunteer and donor"|_}}-
{{"For"|_}} {{"NPOs"|_}}{{"LIN supports local nonprofits that improve access to opportunities for disadvantaged people or enhance the quality of life for all people in HCMC."|_}}
-
{{"For"|_}} {{"Volunteers"|_}}{{"LIN helps to match volunteers with a range of professional skills who want to help build the capacity of local nonprofit organizations."|_}}
-
{{"For"|_}} {{"Donors"|_}}{{"LIN helps donor that want to engage in strategic philanthropy."|_}}


A solver for 'ompr' based on the R Optimization Infrastructure ('ROI'). The package makes all solvers in 'ROI' available to solve 'ompr' models. Please see the 'ompr' website <https://dirkschumacher.github.io/ompr> and package docs for more information and examples on how to use it.
| Version: | 0.8.0 |
| Depends: | R (≥ 3.4.0) |
| Imports: | ROI (≥ 0.3.0), slam, methods, Matrix, ompr (≥ 0.8.0) |
| Suggests: | testthat, magrittr, ROI.plugin.glpk |
| Published: | 2018-06-11 |
| Author: | Dirk Schumacher [aut, cre] |
| Maintainer: | Dirk Schumacher <mail at dirk-schumacher.net> |
| BugReports: | https://github.com/dirkschumacher/ompr.roi/issues |
| License: | GPL-3 |
| URL: | https://github.com/dirkschumacher/ompr.roi |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | ompr.roi results |
| Reference manual: | ompr.roi.pdf |
| Package source: | ompr.roi_0.8.0.tar.gz |
| Windows binaries: | r-devel: ompr.roi_0.8.0.zip, r-release: ompr.roi_0.8.0.zip, r-oldrel: ompr.roi_0.8.0.zip |
| OS X binaries: | r-release: ompr.roi_0.8.0.tgz, r-oldrel: ompr.roi_0.8.0.tgz |
| Old sources: | ompr.roi archive |
Please use the canonical form https://CRAN.R-project.org/package=ompr.roi to link to this page.


Mesmerizing photo of leaping rabbits wins top nature photo award
by Melissa KleinThese bunnies are top dogs.
A snap of a pair of leaping rabbits won top honors in an annual contest for Nature Photographer of the Year.
Csaba Daroczi took the winning photo at dawn near the Hungarian village of Bocsa.
He bested 14,000 entrants from 73 countries to get the prize of $3,300.


Setting up your DMM Skype Account
How to Recover Skype from Virus
Troubleshooting for Slow Internet Connection and Audio Problems
Lesson Flow
Lesson Note Guideline
Common Errors of Students and How to Determine Student’s Proficiency Level


The ones who runs this company
CEO & Founder
The Leader who brought us together and founded this company
Art Director
The Awesome creator that made this website
Moderator
The one who helped build the server
Moderator
Our full time moderators who ensure security and prosperity in the servers
Choose a pricing plan that fits your needs.
| # | Server | Link | Status |
|---|---|---|---|
| 1 | 24/7 Retake server | link | Active |
| 2 | 24/7 DM server | link | Closed |
| 3 | 24/7 PUG server | link | Closed |
Lets get in touch. Send us a message:
Mumbai, India
Phone: +00 151515
Email: mail@mail.com


‘At Westland, the welfare of our Customer is our top priority. We provide best serene and secure environment just for your pleasure. For Enquiry, don’t hesitate to contact us.
-
+234706 537 0738
<EMAIL_ADDRESS>From Anywhere in Lagos, Enter a bus or cab to Iyana-
If you are coming from Isolo through Ijegun side, drop at Saviour Bus Stop and enter Ayanlaja Street.
Address: 1-
Tel: 0706 537 0738
Email<EMAIL_ADDRESS>Web: www.westlandhotelsandsuite.com


Gateway
BOT
10-Aug-18 02:09 PM
[telegram] <CryptoBlockchain38> How does Komodo work?
dPoW secured Blockchain projects are like highways and built on the Komodo platform. These projects are fully independent with Lightning fast transaction speeds (within seconds), no point of failures, no traffic jams, unlike projects that are build on an Ethereum-based ERC20 token.
When a picture speaks a thousand words
[telegram] <CryptoBlockchain38>
[telegram] <Rubinho> thing is right now... ethereum has traffic(people using)... and kmd doesn't yet
[telegram] <Zyzzkaka> Good afternoon. About your project I am the owner of a large telegram channel on cryptocurrency (more than 28000 participants). I can offer you advertising your project if you are interested. I will tell you why it is worth investing in your project, why your project will grow, etc
***Интервью в оригинале на английском. Перевод скоро) Every ten minutes our notary nodes save a "snap" of our blockchain into Bitcoin's ledger, this mirrors ...
[telegram] <BearTheTrader> i cannot wait that this farce of fiat money ends, i sent € to kraken and after 4 days nothing, after i contact them the money miraculously appears, let’s not even talk about all the nonsense the banks do all around and all the thievery they are used to do, komodo please take the world by storm and free us form the evil, amen!
[telegram] <golovka4lena> 1M tx done?
[telegram] <Rubinho> Wish Daniel Pigeon will go on better Podcasts.. Epicenter, Unchained
[telegram] <Rubinho> Charles from ADA is doing a great job explaining his project... gives it alot of cred


top
|
up
|
prev
|
next
DebuggerSetBreakOnThrowCommand Class
Definition at line
359
of
Debugger.hpp
Constructors
DebuggerSetBreakOnThrowCommand
(
bool
breakOnThrow_)
Member Functions
DebuggerCommand
*
Clone
()
override
void
Execute
(
Debugger
& debugger)
override
Member Variables
bool
breakOnThrow
Constructor Details
DebuggerSetBreakOnThrowCommand Constructor
cmajor::debug::DebuggerSetBreakOnThrowCommand::DebuggerSetBreakOnThrowCommand(
bool
breakOnThrow_)
Definition at line
2530
of
Debugger.cpp
:
2530
:
DebuggerCommand
(
Kind
::
setBreakOnThrow
)
,
breakOnThrow
(
breakOnThrow_
)
2531
{
2532
}
Declaration at line
362
of
Debugger.hpp
Member Function Details
Clone Member Function
DebuggerCommand
* cmajor::debug::DebuggerSetBreakOnThrowCommand::Clone()
override
Definition at line
2539
of
Debugger.cpp
:
2540
{
2541
return
new
DebuggerSetBreakOnThrowCommand
(
breakOnThrow
)
;
2542
}
Declaration at line
364
of
Debugger.hpp
Base class overridden functions:
cmajor::debug::DebuggerCommand::Clone
Execute Member Function
void
cmajor::debug::DebuggerSetBreakOnThrowCommand::Execute(
Debugger
& debugger)
override
Definition at line
2534
of
Debugger.cpp
:
2535
{
2536
debugger
.
SetBreakOnThrow
(
breakOnThrow
,
true
)
;
2537
}
Declaration at line
363
of
Debugger.hpp
Base class overridden functions:
cmajor::debug::DebuggerCommand::Execute
Calls:
cmajor::debug::Debugger::SetBreakOnThrow
top
|
up
|
prev
|
next


Functions | |
| EDMA3_DRV_Result | EDMA3_DRV_requestChannel (EDMA3_DRV_Handle hEdma, uint32_t *pLCh, uint32_t *pTcc, EDMA3_RM_EventQueue evtQueue, EDMA3_RM_TccCallback tccCb, void *cbData) |
| Request a DMA/QDMA/Link channel. | |
| EDMA3_DRV_Result | EDMA3_DRV_freeChannel (EDMA3_DRV_Handle hEdma, uint32_t channelId) |
| Free the specified channel (DMA/QDMA/Link) and its associated resources (PaRAM Set, TCC etc) and removes various mappings. | |
| EDMA3_DRV_Result | EDMA3_DRV_clearErrorBits (EDMA3_DRV_Handle hEdma, uint32_t channelId) |
| Disables the DMA Channel by clearing the Event Enable Register and clears Error Register & Secondary Event Register for a specific DMA channel. | |
| EDMA3_DRV_Result | EDMA3_DRV_setOptField (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_OptField optField, uint32_t newOptFieldVal) |
| Set a particular OPT field in the PaRAM set associated with the logical channel 'lCh'. | |
| EDMA3_DRV_Result | EDMA3_DRV_getOptField (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_OptField optField, uint32_t *optFieldVal) |
| Get a particular OPT field in the PaRAM set associated with the logical channel 'lCh'. | |
| EDMA3_DRV_Result | EDMA3_DRV_setSrcParams (EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t srcAddr, EDMA3_DRV_AddrMode addrMode, EDMA3_DRV_FifoWidth fifoWidth) |
| DMA source parameters setup. | |
| EDMA3_DRV_Result | EDMA3_DRV_setDestParams (EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t destAddr, EDMA3_DRV_AddrMode addrMode, EDMA3_DRV_FifoWidth fifoWidth) |
| DMA Destination parameters setup. | |
| EDMA3_DRV_Result | EDMA3_DRV_setSrcIndex (EDMA3_DRV_Handle hEdma, uint32_t lCh, int32_t srcBIdx, int32_t srcCIdx) |
| DMA source index setup. | |
| EDMA3_DRV_Result | EDMA3_DRV_setDestIndex (EDMA3_DRV_Handle hEdma, uint32_t lCh, int32_t destBIdx, int32_t destCIdx) |
| DMA destination index setup. | |
| EDMA3_DRV_Result | EDMA3_DRV_setTransferParams (EDMA3_DRV_Handle hEdma, uint32_t lCh, uint32_t aCnt, uint32_t bCnt, uint32_t cCnt, uint32_t bCntReload, EDMA3_DRV_SyncType syncType) |
| DMA transfer parameters setup. | |
| uint32_t | EDMA3_DRV_getVersion (void) |
| Version information. | |
| const char * | EDMA3_DRV_getVersionStr (void) |
| Version string querry. | |
| EDMA3_DRV_Result | EDMA3_DRV_enableTransfer (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_TrigMode trigMode) |
| Start EDMA transfer on the specified channel. | |
| EDMA3_DRV_Result | EDMA3_DRV_disableTransfer (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_TrigMode trigMode) |
| Disable DMA transfer on the specified channel. | |
| EDMA3_DRV_Result | EDMA3_DRV_disableLogicalChannel (EDMA3_DRV_Handle hEdma, uint32_t lCh, EDMA3_DRV_TrigMode trigMode) |
| Disable the event driven DMA channel or QDMA channel. |
| EDMA3_DRV_Result EDMA3_DRV_requestChannel | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t * | pLCh, | |||
| uint32_t * | pTcc, | |||
| EDMA3_RM_EventQueue | evtQueue, | |||
| EDMA3_RM_TccCallback | tccCb, | |||
| void * | cbData | |||
| ) |
Request a DMA/QDMA/Link channel.
Each channel (DMA/QDMA/Link) must be requested before initiating a DMA transfer on that channel.
This API is used to allocate a logical channel (DMA/QDMA/Link) along with the associated resources. For DMA and QDMA channels, TCC and PaRAM Set are also allocated along with the requested channel. User can also specify a specific TCC which needs to be allocated with the DMA/QDMA channel or else can request any available TCC.
For Link channels, ONLY a PaRAM Set is allocated and the allocated PaRAM Set number is returned as the logical channel no. A TCC code can also be specified while making the request. This TCC code will be copied to the LINK field of the allocated PaRAM Set and will be associated with the Link channel.
User can request a specific logical channel - DMA, QDMA and Link, by passing the channel id in 'pLCh'. Note that the channel id is the same as the actual resource id in case of DMA channels and Link channels. For DMA channels, channel id lies between 0 and (max dma channels - 1). For Link channels, channel id lies between (max dma channels) and (max param sets - 1). To allocate specific QDMA channels, user SHOULD use the defines EDMA3_DRV_QDMA_CHANNEL_X mentioned above.
User can also request ANY available logical channel by specifying the below mentioned values in '*pLCh': a) EDMA3_DRV_DMA_CHANNEL_ANY: For DMA channels b) EDMA3_DRV_QDMA_CHANNEL_ANY: For QDMA channels, and c) EDMA3_DRV_LINK_CHANNEL: For Link channels. Normally user should use this value to request link channels (PaRAM Sets used for linking purpose only), unless he wants to use some specific link channels (PaRAM Sets) which is also allowed. d) EDMA3_DRV_LINK_CHANNEL_WITH_TCC: For Link channels. User should use this value to request link channels with TCC code.
This API internally uses EDMA3_RM_allocResource () to allocate the desired resources (DMA/QDMA channel, PaRAM Set and TCC).
This API also registers a specific callback function, in case the same is provided, against the allocated TCC. To do this, this API calls EDMA3_RM_registerTccCb(), which is a part of the Resource Manager. Please note that the interrupts are enabled for the specific TCC only if callback function is provided. In the absence of this, the API assumes that the requested logical channel is going to be used in Poll mode environment.
For DMA/QDMA channels, after allocating all the EDMA3 resources, this API sets the TCC field of the OPT PaRAM Word with the allocated TCC. It also sets the event queue for the channel allocated. The event queue needs to be specified by the user.
For DMA channel, it also sets the DCHMAP register, if required.
For QDMA channel, it sets the QCHMAP register and CCNT as trigger word and enables the QDMA channel by writing to the QEESR register.
| hEdma | [IN] Handle to the previously opened Driver Instance. | |
| pLCh | [IN/OUT] Requested logical channel id. Examples:
|
In case user passes a specific channel Id, pLCh value is left unchanged. In case user requests ANY available resource, the allocated channel id is returned in pLCh.
*pLCh = EDMA3_DRV_LINK_CHANNEL or EDMA3_DRV_LINK_CHANNEL_WITH_TCC
This function will update *pLCh with the allocated Link channel handle.
| pTcc | [IN/OUT] The channel number on which the completion/error interrupt is generated. Not used if user requested for a Link channel. Examples:
|
| evtQueue | [IN] Event Queue Number to which the channel will be mapped (valid only for the Master Channel (DMA/QDMA) request) | |
| tccCb | [IN] TCC callback - caters to channel- specific events like "Event Miss Error" or "Transfer Complete" | |
| cbData | [IN] Data which will be passed directly to the tccCb callback function |
| EDMA3_DRV_Result EDMA3_DRV_freeChannel | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | channelId | |||
| ) |
Free the specified channel (DMA/QDMA/Link) and its associated resources (PaRAM Set, TCC etc) and removes various mappings.
This API internally uses EDMA3_RM_freeResource () to free the desired resources.
For Link channels, this API only frees the associated PaRAM Set.
For DMA/QDMA channels, it does the following operations: a) Disable any ongoing transfer on the channel, b) Unregister the TCC Callback function and disable the interrupts, c) Remove the channel to Event Queue mapping, d) For DMA channels, clear the DCHMAP register, if available e) For QDMA channels, clear the QCHMAP register, f) Frees the DMA/QDMA channel in the end.
| hEdma | [IN] Handle to the EDMA Driver Instance. | |
| channelId | [IN] Logical Channel number to be freed. |
| EDMA3_DRV_Result EDMA3_DRV_clearErrorBits | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | channelId | |||
| ) |
Disables the DMA Channel by clearing the Event Enable Register and clears Error Register & Secondary Event Register for a specific DMA channel.
This API clears the Event Enable register, Event Miss register and Secondary Event register for a specific DMA channel. It also clears the CC Error register.
| hEdma | [IN] Handle to the EDMA Driver Instance. | |
| channelId | [IN] DMA Channel needs to be cleaned. |
| EDMA3_DRV_Result EDMA3_DRV_setOptField | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| EDMA3_DRV_OptField | optField, | |||
| uint32_t | newOptFieldVal | |||
| ) |
Set a particular OPT field in the PaRAM set associated with the logical channel 'lCh'.
This API can be used to set various optional parameters for an EDMA3 transfer. Like enable/disable completion interrupts, enable/disable chaining, setting the transfer mode (A/AB Sync), setting the FIFO width etc.
| hEdma | [IN] Handle to the EDMA Driver Instance. | |
| lCh | [IN] Logical Channel, bound to which PaRAM set OPT field needs to be set. | |
| optField | [IN] The particular field of OPT Word that needs setting | |
| newOptFieldVal | [IN] The new OPT field value |
| EDMA3_DRV_Result EDMA3_DRV_getOptField | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| EDMA3_DRV_OptField | optField, | |||
| uint32_t * | optFieldVal | |||
| ) |
Get a particular OPT field in the PaRAM set associated with the logical channel 'lCh'.
This API can be used to read various optional parameters for an EDMA3 transfer. Like enable/disable completion interrupts, enable/disable chaining, setting the transfer mode (A/AB Sync), setting the FIFO width etc.
| hEdma | [IN] Handle to the EDMA Driver Instance. | |
| lCh | [IN] Logical Channel, bound to which PaRAM set OPT field is required. | |
| optField | [IN] The particular field of OPT Word that is needed | |
| optFieldVal | [IN/OUT] Value of the OPT field |
| EDMA3_DRV_Result EDMA3_DRV_setSrcParams | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| uint32_t | srcAddr, | |||
| EDMA3_DRV_AddrMode | addrMode, | |||
| EDMA3_DRV_FifoWidth | fifoWidth | |||
| ) |
DMA source parameters setup.
It is used to program the source address, source side addressing mode (INCR or FIFO) and the FIFO width in case the addressing mode is FIFO.
In FIFO Addressing mode, memory location must be 32 bytes aligned.
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] Logical Channel for which the source parameters are to be configured | |
| srcAddr | [IN] Source address | |
| addrMode | [IN] Address mode [FIFO or Increment] | |
| fifoWidth | [IN] Width of FIFO (Valid only if addrMode is FIFO)
|
| EDMA3_DRV_Result EDMA3_DRV_setDestParams | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| uint32_t | destAddr, | |||
| EDMA3_DRV_AddrMode | addrMode, | |||
| EDMA3_DRV_FifoWidth | fifoWidth | |||
| ) |
DMA Destination parameters setup.
It is used to program the destination address, destination side addressing mode (INCR or FIFO) and the FIFO width in case the addressing mode is FIFO.
In FIFO Addressing mode, memory location must be 32 bytes aligned.
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] Logical Channel for which the destination parameters are to be configured | |
| destAddr | [IN] Destination address | |
| addrMode | [IN] Address mode [FIFO or Increment] | |
| fifoWidth | [IN] Width of FIFO (Valid only if addrMode is FIFO)
|
| EDMA3_DRV_Result EDMA3_DRV_setSrcIndex | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| int32_t | srcBIdx, | |||
| int32_t | srcCIdx | |||
| ) |
DMA source index setup.
It is used to program the source B index and source C index.
SRCBIDX is a 16-bit signed value (2s complement) used for source address modification between each array in the 2nd dimension. Valid values for SRCBIDX are between -32768 and 32767. It provides a byte address offset from the beginning of the source array to the beginning of the next source array. It applies to both A-synchronized and AB-synchronized transfers.
SRCCIDX is a 16-bit signed value (2s complement) used for source address modification in the 3rd dimension. Valid values for SRCCIDX are between -32768 and 32767. It provides a byte address offset from the beginning of the current array (pointed to by SRC address) to the beginning of the first source array in the next frame. It applies to both A-synchronized and AB-synchronized transfers. Note that when SRCCIDX is applied, the current array in an A-synchronized transfer is the last array in the frame, while the current array in an AB-synchronized transfer is the first array in the frame.
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] Logical Channel for which source indices are to be configured | |
| srcBIdx | [IN] Source B index | |
| srcCIdx | [IN] Source C index |
| EDMA3_DRV_Result EDMA3_DRV_setDestIndex | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| int32_t | destBIdx, | |||
| int32_t | destCIdx | |||
| ) |
DMA destination index setup.
It is used to program the destination B index and destination C index.
DSTBIDX is a 16-bit signed value (2s complement) used for destination address modification between each array in the 2nd dimension. Valid values for DSTBIDX are between -32768 and 32767. It provides a byte address offset from the beginning of the destination array to the beginning of the next destination array within the current frame. It applies to both A-synchronized and AB-synchronized transfers.
DSTCIDX is a 16-bit signed value (2s complement) used for destination address modification in the 3rd dimension. Valid values are between -32768 and 32767. It provides a byte address offset from the beginning of the current array (pointed to by DST address) to the beginning of the first destination array TR in the next frame. It applies to both A-synchronized and AB-synchronized transfers. Note that when DSTCIDX is applied, the current array in an A-synchronized transfer is the last array in the frame, while the current array in a AB-synchronized transfer is the first array in the frame
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] Logical Channel for which dest indices are to be configured | |
| destBIdx | [IN] Destination B index | |
| destCIdx | [IN] Destination C index |
| EDMA3_DRV_Result EDMA3_DRV_setTransferParams | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| uint32_t | aCnt, | |||
| uint32_t | bCnt, | |||
| uint32_t | cCnt, | |||
| uint32_t | bCntReload, | |||
| EDMA3_DRV_SyncType | syncType | |||
| ) |
DMA transfer parameters setup.
It is used to specify the various counts (ACNT, BCNT and CCNT), B count reload and the synchronization type
ACNT represents the number of bytes within the 1st dimension of a transfer. ACNT is a 16-bit unsigned value with valid values between 0 and 65535. Therefore, the maximum number of bytes in an array is 65535 bytes (64K - 1 bytes). ACNT must be greater than or equal to 1 for a TR to be submitted to EDMA3 Transfer Controller. An ACNT equal to 0 is considered either a null or dummy transfer. A dummy or null transfer generates a completion code depending on the settings of the completion bit fields in OPT.
BCNT is a 16-bit unsigned value that specifies the number of arrays of length ACNT. For normal operation, valid values for BCNT are between 1 and 65535. Therefore, the maximum number of arrays in a frame is 65535 (64K - 1 arrays). A BCNT equal to 0 is considered either a null or dummy transfer. A dummy or null transfer generates a completion code depending on the settings of the completion bit fields in OPT.
CCNT is a 16-bit unsigned value that specifies the number of frames in a block. Valid values for CCNT are between 1 and 65535. Therefore, the maximum number of frames in a block is 65535 (64K - 1 frames). A CCNT equal to 0 is considered either a null or dummy transfer. A dummy or null transfer generates a completion code depending on the settings of the completion bit fields in OPT. A CCNT value of 0 is considered either a null or dummy transfer.
BCNTRLD is a 16-bit unsigned value used to reload the BCNT field once the last array in the 2nd dimension is transferred. This field is only used for A-synchronized transfers. In this case, the EDMA3CC decrements the BCNT value by 1 on each TR submission. When BCNT (conceptually) reaches 0, the EDMA3CC decrements CCNT and uses the BCNTRLD value to reinitialize the BCNT value. For AB-synchronized transfers, the EDMA3CC submits the BCNT in the TR and the EDMA3TC decrements BCNT appropriately. For AB-synchronized transfers, BCNTRLD is not used.
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] Logical Channel for which transfer parameters are to be configured | |
| aCnt | [IN] Count for 1st Dimension. | |
| bCnt | [IN] Count for 2nd Dimension. | |
| cCnt | [IN] Count for 3rd Dimension. | |
| bCntReload | [IN] Reload value for bCnt. | |
| syncType | [IN] Transfer synchronization dimension 0: A-synchronized. Each event triggers the transfer of a single array of ACNT bytes. 1: AB-synchronized. Each event triggers the transfer of BCNT arrays of ACNT bytes. |
| uint32_t EDMA3_DRV_getVersion | ( | void | ) |
Version information.
The function is used to get the version information of the EDMA LLD.
| const char* EDMA3_DRV_getVersionStr | ( | void | ) |
Version string querry.
The function is used to get the version string for the EDMA LLD.
| EDMA3_DRV_Result EDMA3_DRV_enableTransfer | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| EDMA3_DRV_TrigMode | trigMode | |||
| ) |
Start EDMA transfer on the specified channel.
There are multiple ways to trigger an EDMA3 transfer. The triggering mode option allows choosing from the available triggering modes: Event, Manual or QDMA.
In event triggered, a peripheral or an externally generated event triggers the transfer. This API clears the Secondary Event Register and Event Miss Register and then enables the DMA channel by writing to the EESR.
In manual triggered mode, CPU manually triggers a transfer by writing a 1 in the Event Set Register (ESR/ESRH). This API writes to the ESR/ESRH to start the transfer.
In QDMA triggered mode, a QDMA transfer is triggered when a CPU (or other EDMA3 programmer) writes to the trigger word of the QDMA channel PaRAM set (auto-triggered) or when the EDMA3CC performs a link update on a PaRAM set that has been mapped to a QDMA channel (link triggered). This API enables the QDMA channel by writing to the QEESR register.
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] Channel on which transfer has to be started | |
| trigMode | [IN] Mode of triggering start of transfer (Manual, QDMA or Event) |
| EDMA3_DRV_Result EDMA3_DRV_disableTransfer | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| EDMA3_DRV_TrigMode | trigMode | |||
| ) |
Disable DMA transfer on the specified channel.
There are multiple ways by which an EDMA3 transfer could be triggered. The triggering mode option allows choosing from the available triggering modes: Event, Manual or QDMA.
To disable a channel which was previously triggered in manual mode, this API clears the Secondary Event Register and Event Miss Register, if set, for the specific DMA channel.
To disable a channel which was previously triggered in QDMA mode, this API clears the QDMA Event Enable Register, for the specific QDMA channel.
To disable a channel which was previously triggered in event mode, this API clears the Event Enable Register. It also clears Event Register, Secondary Event Register and Event Miss Register, if set, for the specific DMA channel.
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] Channel on which transfer has to be stopped | |
| trigMode | [IN] Mode of triggering start of transfer |
| EDMA3_DRV_Result EDMA3_DRV_disableLogicalChannel | ( | EDMA3_DRV_Handle | hEdma, | |
| uint32_t | lCh, | |||
| EDMA3_DRV_TrigMode | trigMode | |||
| ) |
Disable the event driven DMA channel or QDMA channel.
This API disables the DMA channel (which was previously triggered in event mode) by clearing the Event Enable Register; it disables the QDMA channel by clearing the QDMA Event Enable Register.
This API should NOT be used for DMA channels which are not mapped to any hardware events and are used for memory-to-memory copy based transfers. In case of that, this API returns error.
| hEdma | [IN] Handle to the EDMA Driver Instance | |
| lCh | [IN] DMA/QDMA Channel which needs to be disabled | |
| trigMode | [IN] Mode of triggering start of transfer |


Welcome to AdNostalgia.com -- a gallery of vintage Southern California advertisements from the 1930's, 1940's, and 1950's. This collection of advertisements is rich with colorful landscapes and eye-catching scenery depicting the idyllic vacation setting of Southern California.


FILM TITLE: LADYHAWKE DIRECTOR: RICHARD DONNER COUNTRY: USA 1985 CINEMATOGRAPHY: VITTORIO STORARO MUSIC: ANDREW POWELL ( Allan Parsons Project ) CAST: Mathew Broderick, Rutger Hauer, Michelle Pfeiffer, Leo McKern, John Wood, Ken Hutchinson. SUPER FEATURES: The story. And a beautifully done film.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Some films stand out as love stories.  This story, and it may be because the film is so well done, is better than most romances.
There was a time when the church ruled. And there were many knights who fought for these rulers. And, on occasion, one knight falls prey to the greed of the church. This knight, Navarre, has made the mistake of falling in love with a woman, whom the cardinal is also interested in. The result is that the knight is doomed to never meet this woman again. At night he turns into a wolf, and during the day she turns into a hawk. They can never share their time again.
It was all the work of a priest who, eventually, fell out of favor with the cardinal. And this same priest, has to live day and night with his sin. And a hope that one day he can do something about it to save not only the love affair, but also destroy the glut and evil of the cardinal.
Involved in all this is Garcon, the mouse as he is known, who has escaped the dungeons of the law which oppresses the weak and the poor. And it is he who becomes the messenger between the two loves and connects them with the aging priest who is trying to forget his old ways. He lives in a castle in ruins, amidst his books and torments.
And, the story develops to decipher the riddles and the meaning of the many words which the potent magic contains, but they do not understand.
Cast very nicely, and in a very well photographed film, are all the leading characters in the film, starting with both Rutger Hauer and Michelle Pfeiffer.
While the directing in the film does not appear obtrusive, or overly typecast, it is the cinematography that makes this film stand out, along a very nice soundtrack, which, although modern, still adds a nice flow to the film. The impressionistic style of Vittorio Storaro and his magnificent use of color makes this film appear even better than it really is. But it is nonetheless a good film that stands out.
Worth seeing.
5 GIBLOONS out of 5.
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