|
<actions>
|
http://moyaproject.com/forms
|
mark a group of action buttons in a form |
|
<adapt-field>
|
http://moyaproject.com/forms
|
adapt a field in a form |
|
<add-choices>
|
http://moyaproject.com/forms
|
add choices to a select tag |
|
<add-feed-item>
|
http://moyaproject.com
|
add an item to an RSS feed |
|
<add-permission>
|
http://moyaproject.com/auth
|
add a permission to a group or user |
|
<add-theme-style>
|
http://moyaproject.com/widgets
|
add theme style |
|
<add-user-to-group>
|
http://moyaproject.com/auth
|
add a user to a group |
|
<admin-only>
|
http://moyaproject.com
|
return a forbidden response if the user is not admin |
|
<append>
|
http://moyaproject.com
|
append a value to a list |
|
<apply>
|
http://moyaproject.com/forms
|
apply a form to an object |
|
<apply-field>
|
http://moyaproject.com/forms
|
apply a form field |
|
<arg>
|
http://moyaproject.com
|
add a positional argument to a command |
|
<argument>
|
http://moyaproject.com
|
define an argument to a macro |
|
<ask>
|
http://moyaproject.com
|
ask a yes / no question |
|
<atomic>
|
http://moyaproject.com/db
|
mark a block as being atomic |
|
<attempt>
|
http://moyaproject.com
|
repeat a block until it is successful |
|
<attribute>
|
http://moyaproject.com
|
define an attribute in a custom tag |
|
<bbcode>
|
http://moyaproject.com
|
add bbcode to content |
|
<big-integer>
|
http://moyaproject.com/db
|
a field that stores a big integer |
|
<bind>
|
http://moyaproject.com/forms
|
Add data to a form |
|
<bool>
|
http://moyaproject.com
|
create a boolean |
|
<boolean>
|
http://moyaproject.com/db
|
a field that is True or False |
|
<breadcrumbs>
|
http://moyaproject.com/widgets
|
navigation breadcrumbs |
|
<break>
|
http://moyaproject.com
|
end a loop prematurely |
|
<breakpoint>
|
http://moyaproject.com
|
drop in to the debugger |
|
<bulk-create>
|
http://moyaproject.com/db
|
bulk create database objects |
|
<button>
|
http://moyaproject.com/widgets
|
render a simple button |
|
<button-link>
|
http://moyaproject.com/widgets
|
render a link styled as a button |
|
<buttons>
|
http://moyaproject.com/widgets
|
renders enclosed links as buttons |
|
<cache-return>
|
http://moyaproject.com
|
cache returned values |
|
<call>
|
http://moyaproject.com
|
invoke a macro |
|
<call-element>
|
http://moyaproject.com
|
invoke a macro element |
|
<case>
|
http://moyaproject.com
|
define a case in a switch |
|
<case>
|
http://moyaproject.com/test
|
define a test case |
|
<catch>
|
http://moyaproject.com
|
catch exceptions from the previous block |
|
<cell>
|
http://moyaproject.com/tables
|
a cell in a table |
|
<check>
|
http://moyaproject.com/db
|
check connection to the database |
|
<check>
|
http://moyaproject.com/recaptcha
|
|
|
<check>
|
http://moyaproject.com/widgets
|
render a check |
|
<check-modified>
|
http://moyaproject.com
|
|
|
<check-password>
|
http://moyaproject.com/auth
|
check a user password |
|
<check-select>
|
http://moyaproject.com/forms
|
add a check select control to a form |
|
<checkbox>
|
http://moyaproject.com/forms
|
add a checkbox to a form |
|
<choice>
|
http://moyaproject.com
|
|
|
<choices>
|
http://moyaproject.com
|
define choices |
|
<choose>
|
http://moyaproject.com
|
choose a random value from a collection |
|
<column>
|
http://moyaproject.com/admin
|
define a column in an admin view |
|
<columns>
|
http://moyaproject.com/tables
|
define the columns in a table |
|
<command>
|
http://moyaproject.com
|
define a command |
|
<comments>
|
http://moyaproject.com/comments
|
enable comments |
|
<commit>
|
http://moyaproject.com/db
|
commit the current transaction |
|
<content>
|
http://moyaproject.com
|
define content |
|
<continue>
|
http://moyaproject.com
|
skip remaining code in a loop |
|
<copy>
|
http://moyaproject.com
|
copy a value |
|
<copy>
|
http://moyaproject.com/image
|
create a copy of an image |
|
<create>
|
http://moyaproject.com/db
|
create an object in the database |
|
<crop>
|
http://moyaproject.com/image
|
crop an image |
|
<css>
|
http://moyaproject.com
|
add a CSS to content |
|
<danger>
|
http://moyaproject.com/widgets
|
danger alert |
|
<data-tag>
|
http://moyaproject.com
|
define a data tag |
|
<date>
|
http://moyaproject.com/db
|
a field that stores a date |
|
<datetime>
|
http://moyaproject.com
|
create a date/time object |
|
<datetime>
|
http://moyaproject.com/db
|
a field that stores a date and time |
|
<debug>
|
http://moyaproject.com
|
execute debug code |
|
<dec>
|
http://moyaproject.com
|
decrement a value |
|
<decimal>
|
http://moyaproject.com/db
|
a fix precision number |
|
<dedent>
|
http://moyaproject.com
|
remove common whitespace from a string |
|
<default-case>
|
http://moyaproject.com
|
default case in a switch |
|
<default-markup>
|
http://moyaproject.com
|
use default markup for missing values |
|
<defer>
|
http://moyaproject.com
|
jump to another element |
|
<delete>
|
http://moyaproject.com/db
|
delete from the database |
|
<delete-all>
|
http://moyaproject.com/db
|
delete all objects in a table |
|
<delete-cookie>
|
http://moyaproject.com
|
delete a cookie |
|
<dialog>
|
http://moyaproject.com/widgets
|
container for dialog |
|
<dialog-buttons>
|
http://moyaproject.com/widgets
|
container for dialog buttons |
|
<dict>
|
http://moyaproject.com
|
create a dict object |
|
<do>
|
http://moyaproject.com
|
repeat a block until a condition becomes true |
|
<doc>
|
http://moyaproject.com
|
document a tag |
|
<done>
|
http://moyaproject.com
|
return from a macro or callable without any data |
|
<echo>
|
http://moyaproject.com
|
write text to the console |
|
<editor>
|
http://moyaproject.com/wysihtml5
|
|
|
<elif>
|
http://moyaproject.com
|
an <else> with a condition |
|
<else>
|
http://moyaproject.com
|
execute a block if the previous <if> statement is false |
|
<email>
|
http://moyaproject.com/email
|
define an email |
|
<enum>
|
http://moyaproject.com
|
map numbers on to identifiers |
|
<error>
|
http://moyaproject.com/forms
|
add an error message to a form |
|
<error>
|
http://moyaproject.com/jsonrpc
|
return an rpc error |
|
<error>
|
http://moyaproject.com/widgets
|
error alert |
|
<exit>
|
http://moyaproject.com
|
exit the current command |
|
<extend>
|
http://moyaproject.com
|
add values from one sequence to another |
|
<fail>
|
http://moyaproject.com/forms
|
set a fail in a form validation |
|
<fail>
|
http://moyaproject.com/test
|
fail a test case |
|
<false>
|
http://moyaproject.com
|
create a False boolean |
|
<feed>
|
http://moyaproject.com
|
create an RSS feed |
|
<feed-link>
|
http://moyaproject.com/widgets
|
renders a link to a feed |
|
<field>
|
http://moyaproject.com/forms
|
add a custom field to a form |
|
<filter>
|
http://moyaproject.com
|
define a filter |
|
<filter-seq>
|
http://moyaproject.com
|
filter values from a sequence |
|
<find-element>
|
http://moyaproject.com
|
retrieve information regarding an element |
|
<find-elements>
|
http://moyaproject.com
|
retrieve information regarding elements of a given type |
|
<fire>
|
http://moyaproject.com
|
fire a signal |
|
<float>
|
http://moyaproject.com
|
create a floating point value |
|
<float>
|
http://moyaproject.com/db
|
a field that stores a floating point number |
|
<for>
|
http://moyaproject.com
|
iterate over a sequence |
|
<for-children>
|
http://moyaproject.com
|
iterate over the children of an element |
|
<forbidden>
|
http://moyaproject.com
|
respond with a forbidden response |
|
<foreign-key>
|
http://moyaproject.com/db
|
a key to another model |
|
<form>
|
http://moyaproject.com/forms
|
begin a form definition |
|
<generate>
|
http://moyaproject.com/thumbnail
|
generate thumbnails |
|
<generic-key>
|
http://moyaproject.com/db
|
a generic foreign key |
|
<get>
|
http://moyaproject.com/db
|
get an object in the database. |
|
<get>
|
http://moyaproject.com/email
|
get an email object |
|
<get>
|
http://moyaproject.com/forms
|
get a form |
|
<get>
|
http://moyaproject.com/links
|
get advertised links |
|
<get-children>
|
http://moyaproject.com
|
get an elements children |
|
<get-column>
|
http://moyaproject.com/db
|
get a column from a model |
|
<get-count>
|
http://moyaproject.com/comments
|
get number of comments |
|
<get-counts>
|
http://moyaproject.com/comments
|
get comment counts |
|
<get-data>
|
http://moyaproject.com
|
get data from custom data tags |
|
<get-data-item>
|
http://moyaproject.com
|
get data from a single custom tag |
|
<get-element>
|
http://moyaproject.com
|
get information about an element |
|
<get-enum>
|
http://moyaproject.com
|
get an enumeration |
|
<get-exist>
|
http://moyaproject.com/db
|
get an object in the database. |
|
<get-fq-url>
|
http://moyaproject.com
|
get a fully qualified URL |
|
<get-info>
|
http://moyaproject.com/fs
|
get an info object for a file |
|
<get-locale>
|
http://moyaproject.com
|
get locale information |
|
<get-markup-choices>
|
http://moyaproject.com
|
get supported markups |
|
<get-markup-types>
|
http://moyaproject.com
|
get supported markups |
|
<get-md5>
|
http://moyaproject.com/fs
|
get the md5 of a file |
|
<get-one>
|
http://moyaproject.com/db
|
get precisely one matching object |
|
<get-or-create>
|
http://moyaproject.com/db
|
get an object from the database, or create it if it doesn't exist. |
|
<get-parent-element>
|
http://moyaproject.com
|
|
|
<get-permissions>
|
http://moyaproject.com/auth
|
query user permissions |
|
<get-recent>
|
http://moyaproject.com/blog
|
|
|
<get-required>
|
http://moyaproject.com/db
|
get an object from the database, or return a 404 if it doesn't exist |
|
<get-response>
|
http://moyaproject.com/test
|
get a test response |
|
<get-size>
|
http://moyaproject.com/fs
|
get the size of a file |
|
<get-size>
|
http://moyaproject.com/image
|
get the dimensions of an image |
|
<get-syspath>
|
http://moyaproject.com/fs
|
get a system path |
|
<get-tag-text>
|
http://moyaproject.com
|
get text from the parent tag |
|
<get-timezone-groups>
|
http://moyaproject.com
|
get timezone choices |
|
<get-timezones>
|
http://moyaproject.com
|
get common timezones |
|
<get-url>
|
http://moyaproject.com
|
get a named URL |
|
<get-user>
|
http://moyaproject.com/auth
|
get current user details |
|
<group>
|
http://moyaproject.com
|
group a sequence by common keys |
|
<group>
|
http://moyaproject.com/forms
|
render a group of form elements |
|
<handle>
|
http://moyaproject.com
|
respond to a signal |
|
<header>
|
http://moyaproject.com/tables
|
define a column header in a table |
|
<hidden-input>
|
http://moyaproject.com/forms
|
add a hidden input value to a form |
|
<highlight>
|
http://moyaproject.com
|
syntax highlight code |
|
<html>
|
http://moyaproject.com
|
create raw html |
|
<html>
|
http://moyaproject.com/email
|
add HTML to an email |
|
<if>
|
http://moyaproject.com
|
execute block if a condition is true |
|
<if-exists>
|
http://moyaproject.com/db
|
execute a block if an object exists in the database |
|
<if-get>
|
http://moyaproject.com
|
exectute a block if this is a GET request |
|
<if-not-exists>
|
http://moyaproject.com/db
|
executes a block of code if an object does not exist in the db |
|
<if-post>
|
http://moyaproject.com
|
execute a block if this is a POST request |
|
<import>
|
http://moyaproject.com
|
import a library |
|
<inc>
|
http://moyaproject.com
|
increment a value |
|
<include-css>
|
http://moyaproject.com
|
include CSS with content |
|
<include-js>
|
http://moyaproject.com
|
include a JS file in content |
|
<info>
|
http://moyaproject.com/widgets
|
info alert |
|
<input>
|
http://moyaproject.com
|
ask the user for information in a command |
|
<input>
|
http://moyaproject.com/forms
|
add an input to a form |
|
<inspect>
|
http://moyaproject.com
|
inspect elements in the project |
|
<inspect>
|
http://moyaproject.com/db
|
get model information |
|
<install>
|
http://moyaproject.com
|
create an application from a library |
|
<int>
|
http://moyaproject.com
|
create an integer |
|
<integer>
|
http://moyaproject.com/db
|
a field that stores an integer |
|
<interface>
|
http://moyaproject.com/jsonrpc
|
create an interface for remote methods |
|
<js>
|
http://moyaproject.com
|
insert Javascript content |
|
<json>
|
http://moyaproject.com
|
create data from JSON |
|
<large-well>
|
http://moyaproject.com/widgets
|
render a large well |
|
<let>
|
http://moyaproject.com
|
create variables from expressions |
|
<let-parallel>
|
http://moyaproject.com
|
set values in parallel. |
|
<let-str>
|
http://moyaproject.com
|
create string variables |
|
<lines>
|
http://moyaproject.com
|
create a list from lines |
|
<link>
|
http://moyaproject.com
|
link variables |
|
<link>
|
http://moyaproject.com/admin
|
link to admin content |
|
<link>
|
http://moyaproject.com/links
|
define a line |
|
<link>
|
http://moyaproject.com/widgets
|
renders a link |
|
<list>
|
http://moyaproject.com
|
create a list |
|
<load-project>
|
http://moyaproject.com/test
|
load a project for testing |
|
<log>
|
http://moyaproject.com
|
write information to the log |
|
<log-debug>
|
http://moyaproject.com
|
write information to the log |
|
<log-error>
|
http://moyaproject.com
|
write information to the log |
|
<log-fatal>
|
http://moyaproject.com
|
write information to the log |
|
<log-info>
|
http://moyaproject.com
|
write information to the log |
|
<log-warn>
|
http://moyaproject.com
|
write information to the log |
|
<login>
|
http://moyaproject.com/auth
|
log in a user with username/password |
|
<login-user>
|
http://moyaproject.com/auth
|
log in a user |
|
<logout>
|
http://moyaproject.com/auth
|
log out a user |
|
<macro>
|
http://moyaproject.com
|
define a re-usable block of code |
|
<make-token>
|
http://moyaproject.com
|
make an opaque token |
|
<many-to-many>
|
http://moyaproject.com/db
|
define a many to may relationship |
|
<map>
|
http://moyaproject.com
|
map an expression on to sequence |
|
<map-dict>
|
http://moyaproject.com
|
generate a list of dictionaries |
|
<markdown>
|
http://moyaproject.com
|
add markdown to content |
|
<markup>
|
http://moyaproject.com
|
insert markup in to content |
|
<markup-insert>
|
http://moyaproject.com
|
insert code from markup |
|
<max>
|
http://moyaproject.com
|
get the maximum value in a sequence |
|
<media-url>
|
http://moyaproject.com
|
get a URL to media |
|
<method>
|
http://moyaproject.com/jsonrpc
|
define a remote method |
|
<middleware>
|
http://moyaproject.com
|
add middleware to a mountpoint |
|
<min>
|
http://moyaproject.com
|
get the minimum value in a sequence |
|
<model>
|
http://moyaproject.com/db
|
define a database model |
|
<module>
|
http://moyaproject.com/admin
|
define a module in the admin interface |
|
<mount>
|
http://moyaproject.com
|
mount a library on a given URL |
|
<mountpoint>
|
http://moyaproject.com
|
define a collection of url routes |
|
<moya>
|
http://moyaproject.com
|
begin a Moya file |
|
<new>
|
http://moyaproject.com/image
|
create a blank image |
|
<new-permission>
|
http://moyaproject.com/auth
|
create a new permission |
|
<new-query>
|
http://moyaproject.com/db
|
dynamically create a database query |
|
<new-user>
|
http://moyaproject.com/auth
|
create a new user |
|
<no-wrap>
|
http://moyaproject.com/widgets
|
set no wrap on contents |
|
<node>
|
http://moyaproject.com
|
creates a template node in content |
|
<none>
|
http://moyaproject.com
|
Create a value of None |
|
<not-found>
|
http://moyaproject.com
|
serve a '404 not found' response |
|
<now>
|
http://moyaproject.com
|
get the current date/time |
|
<odict>
|
http://moyaproject.com
|
create a dict object |
|
<one-to-one>
|
http://moyaproject.com/db
|
create a one to one relationship |
|
<opt-group>
|
http://moyaproject.com/forms
|
add an optgroup to a select |
|
<option>
|
http://moyaproject.com
|
Add an option to a command |
|
<option>
|
http://moyaproject.com/forms
|
an option in a select control |
|
<page>
|
http://moyaproject.com
|
get a page of results |
|
<paginate>
|
http://moyaproject.com/widgets
|
paginate a list of results |
|
<parameter>
|
http://moyaproject.com/jsonrpc
|
define an rpc parameter |
|
<password>
|
http://moyaproject.com/forms
|
add a password field to a form |
|
<pop>
|
http://moyaproject.com
|
remove a value from a dictionary |
|
<preflight>
|
http://moyaproject.com
|
check initial settings |
|
<process-markup>
|
http://moyaproject.com
|
markup text |
|
<processor>
|
http://moyaproject.com/thumbnail
|
define a thumbnail processor |
|
<profile-python>
|
http://moyaproject.com
|
profile python code |
|
<progress>
|
http://moyaproject.com
|
render an ascii progress bar |
|
<progress-msg>
|
http://moyaproject.com
|
set a progress message |
|
<property>
|
http://moyaproject.com/db
|
add a property to a database object |
|
<qualify-elementref>
|
http://moyaproject.com
|
create an element reference with an app/lib name |
|
<query>
|
http://moyaproject.com/db
|
query the database |
|
<radio>
|
http://moyaproject.com/forms
|
add a radio button to a field |
|
<radio-group>
|
http://moyaproject.com/forms
|
add a radio group to a form |
|
<read>
|
http://moyaproject.com/image
|
read an image from disk |
|
<read-data>
|
http://moyaproject.com
|
read and process data |
|
<recaptcha>
|
http://moyaproject.com/recaptcha
|
render a reCAPTCHA widget |
|
<redirect>
|
http://moyaproject.com
|
redirect to a named URL |
|
<redirect-to>
|
http://moyaproject.com
|
redirect to a new location |
|
<relationship>
|
http://moyaproject.com/db
|
define a model relationship that creates a collection |
|
<remove>
|
http://moyaproject.com
|
remove a value from a collection |
|
<remove-file>
|
http://moyaproject.com/fs
|
delete a file |
|
<render>
|
http://moyaproject.com
|
render an object in content |
|
<render-all>
|
http://moyaproject.com
|
render a sequence of renderable objects |
|
<render-content>
|
http://moyaproject.com
|
render content |
|
<render-processor>
|
http://moyaproject.com/thumbnail
|
render a thumbnail for a given processor |
|
<render-template>
|
http://moyaproject.com
|
render a template and store the result |
|
<render-template-fs>
|
http://moyaproject.com
|
render a template in a filesystem |
|
<repeat>
|
http://moyaproject.com
|
repeat a block |
|
<request>
|
http://moyaproject.com
|
make an http request |
|
<request>
|
http://moyaproject.com/test
|
make a mock request |
|
<request-get>
|
http://moyaproject.com
|
make a get requests |
|
<request-post>
|
http://moyaproject.com
|
make a post request |
|
<require>
|
http://moyaproject.com/test
|
require an exception to be thrown in a test case |
|
<reset>
|
http://moyaproject.com/forms
|
reset a form |
|
<resize>
|
http://moyaproject.com/image
|
resize an image |
|
<resize-canvas>
|
http://moyaproject.com/image
|
resize the image canvas |
|
<resize-to-fit>
|
http://moyaproject.com/image
|
resize an image to fit within new dimensions |
|
<resolve-template>
|
http://moyaproject.com
|
resolve a relative template path |
|
<response>
|
http://moyaproject.com
|
create a response object |
|
<return>
|
http://moyaproject.com
|
return data from a macro or other callable |
|
<return-dict>
|
http://moyaproject.com
|
shortcut to return a dictionary |
|
<return-false>
|
http://moyaproject.com
|
shortcut to return false |
|
<return-scope>
|
http://moyaproject.com
|
return values from the current scope |
|
<return-str>
|
http://moyaproject.com
|
shortcut to return a string |
|
<return-true>
|
http://moyaproject.com
|
shortcut to return true |
|
<rewrite>
|
http://moyaproject.com
|
serve response from a different named URL |
|
<rewrite-to>
|
http://moyaproject.com
|
serve response from a different location |
|
<roll-back>
|
http://moyaproject.com/db
|
roll back the current transactions |
|
<row>
|
http://moyaproject.com/tables
|
define a row in a table |
|
<rows>
|
http://moyaproject.com/tables
|
a collection of rows in a table |
|
<scope>
|
http://moyaproject.com
|
create a temporary scope |
|
<scope-node>
|
http://moyaproject.com
|
creates a template node using the current scope |
|
<search-input>
|
http://moyaproject.com/widgets
|
|
|
<section>
|
http://moyaproject.com
|
create a content section |
|
<section-body>
|
http://moyaproject.com
|
add a 'body' content section |
|
<section-content>
|
http://moyaproject.com
|
add a 'content' content section |
|
<section-css>
|
http://moyaproject.com
|
add a 'css' content section |
|
<section-footer>
|
http://moyaproject.com
|
add a 'footer' content section |
|
<section-head>
|
http://moyaproject.com
|
add a 'head' content section |
|
<section-includecss>
|
http://moyaproject.com
|
add a 'includecss' content section |
|
<section-includejs>
|
http://moyaproject.com
|
add a 'includejs' content section |
|
<section-js>
|
http://moyaproject.com
|
add a 'js' content section |
|
<section-jsfoot>
|
http://moyaproject.com
|
add a 'jsfoot' content section |
|
<select>
|
http://moyaproject.com/forms
|
add a select box to a form |
|
<send>
|
http://moyaproject.com/email
|
send an email |
|
<serve>
|
http://moyaproject.com
|
serve a response object |
|
<serve-content>
|
http://moyaproject.com
|
render and serve content |
|
<serve-file>
|
http://moyaproject.com
|
serve a file |
|
<serve-json>
|
http://moyaproject.com
|
serve an object as JSON |
|
<serve-template>
|
http://moyaproject.com
|
render and serve a template |
|
<serve-template-fs>
|
http://moyaproject.com
|
render and serve a template in a filesystem |
|
<serve-xml>
|
http://moyaproject.com
|
serve xml |
|
<server>
|
http://moyaproject.com
|
define a server |
|
<set>
|
http://moyaproject.com
|
create a set object |
|
<set-contents>
|
http://moyaproject.com/fs
|
write data to a file |
|
<set-cookie>
|
http://moyaproject.com
|
set a cookie |
|
<set-header>
|
http://moyaproject.com
|
add additional headers |
|
<set-item>
|
http://moyaproject.com
|
set an indexed value on a collection |
|
<set-language>
|
http://moyaproject.com
|
set the current language |
|
<set-locale>
|
http://moyaproject.com
|
switch the current locale |
|
<set-password>
|
http://moyaproject.com/auth
|
set a user's password |
|
<set-up>
|
http://moyaproject.com/test
|
setup code for a test suite |
|
<show>
|
http://moyaproject.com/image
|
show an image |
|
<show-code>
|
http://moyaproject.com/widgets
|
render contents as code |
|
<signature>
|
http://moyaproject.com
|
define the attributes / arguments to a tag / macro |
|
<sleep>
|
http://moyaproject.com
|
wait for while |
|
<slice>
|
http://moyaproject.com
|
get a 'slice' of a collection |
|
<small-integer>
|
http://moyaproject.com/db
|
a field that stores a small integer |
|
<small-well>
|
http://moyaproject.com/widgets
|
render a small well |
|
<sort>
|
http://moyaproject.com
|
sort a sequence |
|
<sort>
|
http://moyaproject.com/db
|
sort a query set |
|
<sort-header>
|
http://moyaproject.com/tables
|
define a sortable header column in a table |
|
<sort-map>
|
http://moyaproject.com/db
|
sort a query set dynamically |
|
<sql>
|
http://moyaproject.com/db
|
execute raw sql |
|
<square>
|
http://moyaproject.com/image
|
square crop an image |
|
<str>
|
http://moyaproject.com
|
create a string |
|
<string>
|
http://moyaproject.com/db
|
a field that stores a string of characters |
|
<string-map>
|
http://moyaproject.com/db
|
a field that stores a mapping of keys and strings |
|
<subject>
|
http://moyaproject.com/feedback
|
set subject option in feedback form |
|
<submit-button>
|
http://moyaproject.com/forms
|
add a submit button in a form |
|
<success>
|
http://moyaproject.com/widgets
|
success alert |
|
<suite>
|
http://moyaproject.com/test
|
define a suite of test cases |
|
<sum>
|
http://moyaproject.com
|
sums a sequence of values |
|
<summary>
|
http://moyaproject.com/blog
|
a summary of recent posts |
|
<switch>
|
http://moyaproject.com
|
jump to matching case |
|
<system-call>
|
http://moyaproject.com
|
run a system command |
|
<tab>
|
http://moyaproject.com/widgets
|
individial tab |
|
<tab-panel>
|
http://moyaproject.com/widgets
|
tab panel container |
|
<table>
|
http://moyaproject.com/admin
|
define a table view in the admin interface |
|
<table>
|
http://moyaproject.com/tables
|
add a table to content |
|
<tag>
|
http://moyaproject.com
|
define a custom tag |
|
<tear-down>
|
http://moyaproject.com/test
|
tear down (finalize) code for a test suite |
|
<text>
|
http://moyaproject.com/db
|
a field that stores arbitrary length text |
|
<text>
|
http://moyaproject.com/email
|
add text to an email |
|
<text-area>
|
http://moyaproject.com/forms
|
add a textarea to a form |
|
<thread>
|
http://moyaproject.com
|
run a thread |
|
<throw>
|
http://moyaproject.com
|
throw an exception |
|
<thumbnails>
|
http://moyaproject.com/thumbnail
|
a container for thumbnail processors |
|
<time-span>
|
http://moyaproject.com
|
create a timespan object |
|
<timer>
|
http://moyaproject.com
|
time a block of code |
|
<timezone>
|
http://moyaproject.com/db
|
a field that stores a timezone |
|
<title>
|
http://moyaproject.com
|
set content title |
|
<token>
|
http://moyaproject.com/db
|
create a randomly generated token in the database |
|
<transaction>
|
http://moyaproject.com/db
|
commit changes to the database |
|
<true>
|
http://moyaproject.com
|
create a True boolean |
|
<try>
|
http://moyaproject.com
|
detect exceptions within a block |
|
<unique-together>
|
http://moyaproject.com/db
|
require combinations of fields to be unique |
|
<update>
|
http://moyaproject.com
|
add new values to a dictionary |
|
<update>
|
http://moyaproject.com/db
|
update fields in a query |
|
<upload>
|
http://moyaproject.com/db
|
a field to store the path of an uploaded file |
|
<upload>
|
http://moyaproject.com/forms
|
add a file upload to a form |
|
<upload-file>
|
http://moyaproject.com/admin
|
|
|
<url>
|
http://moyaproject.com
|
add a url to a mountpoint |
|
<url>
|
http://moyaproject.com/widgets
|
renders a hyperlinked URL |
|
<uuid>
|
http://moyaproject.com/db
|
create a UUID in the database |
|
<validate>
|
http://moyaproject.com/forms
|
validate a form |
|
<validate-field>
|
http://moyaproject.com/forms
|
validate a field in a form |
|
<validate-post>
|
http://moyaproject.com/forms
|
validate a form for post requests |
|
<value>
|
http://moyaproject.com
|
a value in an enumeration |
|
<var>
|
http://moyaproject.com
|
create a value |
|
<verify>
|
http://moyaproject.com/recaptcha
|
verify a recaptcha response |
|
<view>
|
http://moyaproject.com
|
define a view to handle a URL |
|
<wait-on-threads>
|
http://moyaproject.com
|
wait threads to complete |
|
<walk>
|
http://moyaproject.com/fs
|
go through the files in a directory |
|
<warning>
|
http://moyaproject.com/widgets
|
warning alert |
|
<well>
|
http://moyaproject.com/widgets
|
render a well |
|
<while>
|
http://moyaproject.com
|
repeat a block while a condition is true |
|
<widget>
|
http://moyaproject.com
|
create a re-uasable widget |
|
<widget-yield>
|
http://moyaproject.com
|
yield to code block in a widget |
|
<with>
|
http://moyaproject.com
|
create a new data scope |
|
<wrap-tag>
|
http://moyaproject.com
|
wrap a string in a HTML tag |
|
<write>
|
http://moyaproject.com/image
|
write an image to disk |
|
<yield>
|
http://moyaproject.com
|
yield to code block |
|
<zoom-to-fit>
|
http://moyaproject.com/image
|
resize an image to fit in new dimensions, with cropping |


Dear Sir / Madam, I am Mr Mathias Seah, from Ivory Coast Abidjan but residing in Dakar Senegal in Africa. It is my desire to contact you on honesty and sincerity to assist me in transferring the sum of $8,500,000(Eight Million Five Hundred Thousand United States Dollars) inherited from my father late Dr. Seah Ahmed, to your country for investment. I am motivated in contacting you and hope to gradually build trust, relationship and confidence in you as I get to know you better. So please I want to know if you will be of assistance but first I want to get to know you better. I am willing to offer you 35%(of the total fund, for your effort input after the successful transfer of this money and investment. Indicate your interest towards assisting me by sending your phone #and address to me so that I can communicate with you at any time. I will be waiting for your response. My althernative email<EMAIL_ADDRESS><EMAIL_ADDRESS>) reply as soon as possible for more details. Thanks Mr Mathias Seah


{% extends "ask/login_bar.html" %} {% block site_title %}
Logged out sucessfully
Go back to the main page or log in again.


Our bus routes could terminate at Northgate as soon as 2021
Under a tentative proposal, commuters would transfer to trains, losing direct bus service to inner Seattle.
by Lizz GiordanoEVERETT — Snohomish County commuters could start riding light rail years before the Lynnwood Link extension opens in 2024.
A new proposal by Community Transit and Sound Transit would reroute some buses to Northgate Station starting in 2021, when the extension to north Seattle is set to open. There passengers would transfer to light rail for a reliable six-minute ride to the U District Station, according to Martin Munguia, a spokesperson for Community Transit.
Giving up a one-seat bus ride and transferring to light rail would likely be faster during peak times, Munguia said. But it also would give passengers a more reliable trip by getting them out of the fickle traffic that plagues I-5.
Potential changes include terminating all Sound Transit express routes that run along I-5 into Seattle — buses 510, 511, 512, 513 — at Northgate, along with Community Transit routes 810, 821, 855, 860, 871 and 880, which currently run to the University of Washington campus.
The transfer could save passengers between 10 and 15 minutes on trips to UW — depending on where rides originate — and even more when heading to downtown Seattle, Munguia said.
Buses that now sit stuck in freeway congestion would be freed up, allowing the agencies to add more bus trips midday and in the afternoon.
While it’s too early for exact numbers, the agency estimates the change could add upwards of a dozen more northbound trips, which would add about 25% more service.
Predicted typical wait times to transfer between buses and light rail at Northgate range from 3 to 7 minutes, with the reverse — from light rail to buses — 3 to 15 minutes.
Under the proposal, the 400 series bus routes would continue to run into downtown Seattle.
This is just a preview of what’s to come. Starting in 2024, when the Lynnwood Link extension opens, riders will have no choice but to transfer to light rail. The transit agencies will instead focus on integrating buses into the Link system, rather than taking riders all the way into Seattle.
An online open house on the proposed changes is available until Dec. 31 at northgate.participate.online. The agencies want to hear what’s more important to riders — a faster or more reliable trip?
A refined plan will be presented in the spring, including how saved bus hours would be reinvested. A final decision is expected by summer.
Got a question? Email me at<EMAIL_ADDRESS>or call<PHONE_NUMBER>. Please include your name and city of residence.
Gallery
Map shows proposed bus-link connections. (Sound Transit/Community Transit)


[gecode-users] Gist - linking error
Yannick Parmentier
yannick.parmentier at univ-orleans.fr
Wed Nov 11 20:12:51 CET 2009
Thanks Christian for your answer.
I did not have any libgecodegist. I just recompiled gecode using the flag --enable-gist and, as you suggested, making sure that libqt was installed.
Now I can link against libgecodegist and use Gist.
Thanks again,
Yannick
On Wed, Nov 11, 2009 at 06:37:59PM +0100, Christian Schulte wrote:
> Please read how to link your program: like all other libraries you already
> link against (-lgecodeint, ...) you also have to link against libgecodegist
> (-lgecodegist).
>
> If the problem pertains - as your message suggests - did you actually build
> the Gist library? Do you have the required Qt libraries installed?
>
> Christian
>
> --
> Christian Schulte, www.ict.kth.se/~cschulte/
>
>
> -----Original Message-----
> From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
> Of Yannick Parmentier
> Sent: Wednesday, November 11, 2009 6:24 PM
> To: users at gecode.org
> Subject: [gecode-users] Gist - linking error
>
>
> Hi all,
>
> I am trying to use Gist (in stand alone mode) to explore the search tree of
> my CSP, but unfortunately, I cannot get it to work.
> Without Gist, the CSP is solved as expected.
>
> I just added:
>
> #include <gecode/gist.hh>
>
> and then called Gist::dfs on my Space object.
>
> When I compile, I get:
>
> c++ RCG.cc -o RCG -lgecodeint -lgecodeset -lgecodesearch
> /tmp/cc7peTxn.o: In function `Gecode::Gist::dfs(Gecode::Space*,
> Gecode::Gist::Options const&)':
> RCG.cc:(.text._ZN6Gecode4Gist3dfsEPNS_5SpaceERKNS0_7OptionsE[Gecode::Gist::d
> fs(Gecode::Space*, Gecode::Gist::Options const&)]+0x1c): undefined reference
> to `Gecode::Gist::explore(Gecode::Space*, bool, Gecode::Gist::Options
> const&)'
> /tmp/cc7peTxn.o: In function `RCG::doSearch(RCG*)':
> RCG.cc:(.text._ZN3RCG8doSearchEPS_[RCG::doSearch(RCG*)]+0x3a): undefined
> reference to `Gecode::Gist::Options::def'
> collect2: ld returned 1 exit status
> make: *** [RCG] Error 1
>
> I tried to link against any gecode library, the result remains the same.
>
> Cheers,
>
> Yannick
>
>
> _______________________________________________
> Gecode users mailing list
> users at gecode.org
> https://www.gecode.org/mailman/listinfo/gecode-users
>
>
--
Yannick Parmentier
--------------------------------------------
tel: +33 2 38 41 72 68 (LIFO)
+33 2 38 49 25 98 (IUT)
www: http://sourcesup.cru.fr/tulipa/yannick
--------------------------------------------
More information about the gecode-users
mailing list


from {{item.author.username}} {{item.price}} $
Can be bold Italic
Can have list:
And anything from WYSIWYG editor
Some line
Finished on this line.


Siya Kolisi's mentor on what it takes to nurture a future Bok captain
by Kamva SomdyalaEric Songwiqi, the man who mentored Springbok captain Siya Kolisi after spotting him as a youngster, lights up as he talks about the Boks' first black Test captain.
One would imagine that since Kolisi's appointment last year by coach Rassie Erasmus, Songwiqi has had to tell the story numerous times to both local and international journalists. One, however, cannot miss the joy on his face as he speaks about Kolisi.
His well-documented rags-to-riches story, a once in a generation one, prompts the question as to how many other Kolisis can be found and supported within the system.
"I felt that I changed the trajectory of someone else"
Songwiqi is clear: when discipline and determination meet, that is the recipe for success.
He also points to discipline from the player and keen determination from mentors to nurture their young talents.
"Communication is very important [from mentors] as well as monitoring… you aren't necessarily controlling the child, but you try and control the situation.
"Stay in contact with young talents as mentors," Songwiqi said.
It has certainly worked for Songwiqi. Some of the players he has coached are now fully involved in the administration of African Bombers, the rugby club in Zwide, Port Elizabeth, which is a huge part of Kolisi's story.
On managing players and expectations, he said it helped that he was a teacher as it allowed him to connect better with children.
"You would look to honing the raw talent that many of these children possess, because the talent is certainly there.
Ripple effect
"When Kolisi was named captain, it was an exuberant moment not only for me, but for the community of Zwide at large.
"I felt that I changed the trajectory of someone else."
Changing Kolisi's life, said Songwiqi, had a ripple effect in how young people viewed their opportunities in life.
He listed some of Kolisi's best attributes: humility, generosity and a man with impeccable manners.
Songwiqi wished the Boks well for the final on Saturday when they take on England in Yokohama, Japan, saying: "You have made us proud already… bring that Webb Ellis Cup home."
The match is expected to kick off at 11:00. Sport24 will be bringing you the latest on the coverage in the lead-up to the game.


Functional tests¶
The functional tests run against a live Designate, making real requests and verifying they were successful.
Installation¶
The functional tests are written using tempest-lib
. All the dependencies
should be in the requirements files:
cd designate
pip install -r requirements.txt -r test-requirements.txt
pip install -e .
Configuration¶
The Tempest tests require a config file. The config specifies the keystone endpoint to authenticate against, or to run in noauth mode against a Designate without keystone.
Set the TEMPEST_CONFIG
environment variable to specify where the config
file is:
export TEMPEST_CONFIG=tempest.conf
The config file should look like the following:
[identity]
# optionally override the url from the service catalog
# designate_override_url = http://designate.example.com
# Replace these with values that represent your identity configuration
uri = http://localhost:5000/v2.0
uri_v3 = http://localhost:5000/v3
auth_version = 3
region = RegionOne
username = demo
tenant_name = demo
password = password
domain_name = Default
alt_username = alt_demo
alt_tenant_name = alt_demo
alt_password = password
alt_domain_name = Default
admin_username = admin
admin_tenant_name = admin
admin_password = password
admin_domain_name = Default
[noauth]
# set this to True to run against designate in noauth mode
use_noauth = False
designate_endpoint = http://<IP_ADDRESS>:9001
tenant_id = demo
alt_tenant_id = alt_demo
admin_tenant_id = admin
[designate]
# the tests will verify changes propagate out to these nameservers
nameservers = <IP_ADDRESS>:53,<IP_ADDRESS>:53
[testconfig]
# Specify how build the path for the request. This will be appended
# directly to the url from the service catalog (or the override url).
# {tenant_id} - the tenant id
# {tenant_name} - the tenant name
# {user} - the username of the tenant
# {user_id} - the user_id of the tenant
# {path} - the versionless resource path, e.g. /zones/ID"),
v2_path_pattern = '/v2/{path}'
# if true, skip doing admin actions like increasing quotas in test setups
no_admin_setup = False
Running the tests¶
Make sure to set the TEMPEST_CONFIG
environment variable to point to your
test config file.
Then run the tests with tox (you may need to pip install tox
):
tox -e functional


--- title: Search description: "Search Apps" layout: default permalink: /search tipue_search_active: true exclude_from_search: true ---


This presentation is not authoritative material that you should refer to when in doubt about how something works, be it writing code, discussing concurrency or anything else.
This is a simplified overview with a lot of details omitted. The subject is much, much more sophisticated than what you will see here. Still, it should be enough to avoid a huge number of basic mistakes that you are bound to make unless you know what comes next.
The number of transistors incorporated in a chip will approximately double every 24 months
Processor A has the value of x in its cache.
Processor B modifies the value of x.
How does processor A know?
private int value = 0; private boolean finished = false;
void executedOnCpu0() { value = 10; finished = true; }
void executedOnCpu1() { while(!finished); assert value == 10; }
A set of rules that restricts possible outcomes that instructions of an application executed by the JVM can have
JMM, like everything Java, is platform-independent. So, if your code is correct under JMM, its behavior will be the same on all the hardware (although the performance might differ)
When you want a read executed by one thread to return the value written by another thread, visibility is what you want.
private volatile boolean shouldStop = false;
void serve() { while(!shouldStop) { doTheStuff(); } }
void stop() { shouldStop = true; }
private volatile boolean finished = false; private volatile int value = 0;
void executedOnCpu0() { value = 10; finished = true; }
void executedOnCpu1() { while(!finished); assert value == 10; }
volatile
!
Given:
Define A happens-before B as:
private volatile boolean finished = false;
private volatile int value = 0;
void executedOnCpu0() { value = 10; finished = true; }
void executedOnCpu1() { while(!finished); assert value == 10; }
class Holder { int first; final int second; Holder(int first, second) { this.first = first; this.second = second; } }
Holder holder;
void executedOnCpu0() { holder = new Holder(4, 2); }
void executedOnCpu1() { while(holder == null); assert holder.first == 4; }
class Holder {
final int first; final int second;
Holder(int first, second) {
this.first = first; this.second = second;
}
}
Holder holder;
void executedOnCpu0() { holder = new Holder(4, 2); }
void executedOnCpu1() { while(holder == null); assert holder.first == 4; }
final
fields class Pair { int a, b; Holder(int a, int b) { //... } }
class PairHolder { final Pair pair; PairHolder(Pair pair) { this.pair = pair; } }
PairHolder holder;
void executedOnCpu0() { holder = new PairHolder( new Pair(4, 2) ); }
void executedOnCpu1() { while(holder == null); assert holder.pair.a == 4; assert holder.pair.a == 2; }
final
final
field itself
When you want multiple operations to be executed as if
it were a single operation, meaning that no other operation in any other thread
interjects, atomicity is what you want.
class Holder<T> {
volatile T value;
public boolean compareAndSet(T expectedValue, T newValue) {
if(Objects.equals(value, expectedValue)) {
// another thread overwrites $value here
value = newValue;
return true;
} else {
return false;
}
}
}
volatile int online = 0; public void onLogIn() { online ++; }
2: getfield // another thread 5: iconst_1 // another thread 6: iadd // another thread 7: putfield
java.util.concurrent.atomic.*
final AtomicReference<Integer> online = /*...*/; public void onLogIn() { while(true) { int previous = online.get(); if(online.compareAndSet(previous, previous + 1)) { break; } } } public void onlineNow() { return online.get(); }
java.util.concurrent.atomic.*
final AtomicInteger online = new AtomicInteger(); public void onLogIn() { int current = online.incrementAndGet(); } public void onlineNow() { return online.get(); }
final LongAdder online = new LongAdder; public void onLogIn() { online.increment(); } public long onlineNow() { return online.sum(); }
When you want to ensure that no other thread observes an object in an inconsistent state in the middle of a complex operation, you want mutual exclusion.
class AccessHistory { long lastAccess; long lastUserId; }
void logAccess(long userId) { lastAccess = now(); lastUserId = userId; // ... }
AccessInfo getLastAccess() { return new AccessInfo( this.lastAccess, this.lastUserId ); }
synchronized
keywordsynchronized void logAccess(long userId) { lastAccess = now(); lastUserId = userId; }
synchronized AccessInfo getLastAccess() { return new AccessInfo( this.lastAccess, this.lastUserId ); }
synchronized
keywordvoid logAccess(long userId) { synchronized(this) { lastAccess = now(); lastUserId = userId; } }
AccessInfo getLastAccess() { synchronized(this) { return new AccessInfo(this.lastAccess, this.lastUserId); } }
private final Object accessLock = new Object();
private final Object someOtherLock = new Object();
void logAccess(long userId) { synchronized(accessLock) { lastAccess = now(); lastUserId = userId; } }
AccessInfo getLastAccess() { synchronized(accessLock) { return new AccessInfo(this.lastAccess, this.lastUserId); } }
private final ReentrantLock accessLock = new ReentrantLock();
void logAccess(long userId) { accessLock.lock(); try { lastAccess = now(); lastUserId = userId; } finally { accessLock.unlock(); } }
AccessInfo getLastAccess() { accessLock.lock(); try { return new AccessInfo(this.lastAccess, this.lastUserId); } finally { accessLock.unlock(); } }
When you want to ensure that some state has been reached before you proceed, synchronization is what you want.
final CountDownLatch finished = new CountDownLatch(1); int value = 0;
void executedOnCpu0() { value = 10; finished.countDown(); }
void executedOnCpu1() { finished.await(); assert value == 10; }
final CountDownLatch players = new CountDownLatch(nOfPlayers);
void onPlayerConnected() { players.countDown(); }
void startTheGame() { players.await(); }
j.u.c.Executors
j.u.c.*Queue
j.u.c.ConcurrentHashMap
,
j.u.c.CopyOnWriteArrayList


Looking at the plot, there isn't a trend of cloudiness that is dependent on the latitude. Pattern seem to be random where cloudiness is scattered throughout percentagaes at all locations. When only the cloudiness is looked, we can noticed that the 0, 75 and 90% are the most common percentages of cloudiness. This can show that when clouds form, it's usually in large amount.


--- layout: post permalink: alistfurniture.html Tags: Array NameOfCoupon: A-List Furniture Cash Back Summary: See our A-List Furniture Coupon Code, A-List Furniture Rebate, A-List Furniture Promo Code, A-List Furniture Discount, A-List Furniture Coupon Cash Back Rebate here. MetaKeywords: A-List Furniture Coupon Code, A-List Furniture Rebate, A-List Furniture Promo Code, A-List Furniture Cash Back Rebate, A-List Furniture Discount, A-List Furniture Coupon Image: images/14830.jpg LinkURL: http://www.shareasale.com/r.cfm?b=101361&u=412002&m=14830 affiliate_url_link: http://www.icouponblog.com/jane.php?id=1465 thesis_readmore: See the A-List Furniture Coupon thesis_thumb: http://www.icouponblog.com/tn.php?merchantURL=alistfurniture.com Title: Save 5% - A-List Furniture Coupon Code for alistfurniture.com. A-List Furniture Rebate & Discount thesis_description: Our A-List Furniture Discount Coupon Code for alistfurniture.com. We have the best A-List Furniture Rebate anywhere. thesis_keywords: A-List Furniture, A-List Furniture Coupon Code, A-List Furniture Discount, A-List Furniture Rebate product_name: A-List Furniture hop_url: http://www.icouponblog.com/hop.php?id=1465 ---
A-List Furniture is the best place to shop at when you need quality products. For your home or business . A-List Furniture offers high quality decoration, toss pillows, rugs, cushions and more. Brighten up any room with beautiful colors and designs. A-List Furniture is the best place online to buy decorative needle point toss pillows, kitchen furniture and garden décor and coastal decor. A-List Furniture offers you great ideas for decorating your home, beach house or cottage on the lake. Get beautiful, creative and attractive products from A-List Furniture at a great price. Use our discount coupon to get even better prices.
A-List Furniture has a large selection of products to choose from, get high quality decoration materials, cushions, toss pillows, statues, tapestry, area rugs. Visit A-List Furniture online and check out beautiful, quality products. You will find the website easy and fun to use. Find everything you are looking for in minutes. The website is also secure so your identity won’t be compromised. Use our cash back rebate coupon to get the best deals on A-List Furniture.
A-List Furniture is the place to be when you are looking for quality products for your home.  You can also get animal pillows, fruit toss pillows, horse and western pillows. A-List Furniture is the place to buy high quality decorative, needlepoint pillows. Decorate your home with the best of the best, check out A-List Furniture today. Save money with our coupons on these quality products from A-List Furniture,


|
|
ExitCode | exitcode () |
| | Generate an exit condition for the problem, either full or reduced precision.
|
| |
|
void | loadSolution () |
| | Loads back the solution of the node with best statistics.
|
| |
|
void | storeSolution () |
| | Stores the solution of the node with best statistics so far.
|
| |
|
void | initializeRootNode () |
| | Initialize the root node of BnB solver.
|
| |
|
int | selectNodeToExplore () |
| | Function to select the node to be explored.
|
| |
|
double | getProblemLowerBound () |
| | This function computes the lower bound out of the nodes explored so far.
|
| |
|
int | optimilityCheck (int node_id) |
| | Convergence check in BnB routine search.
|
| |
|
void | createBranches (int node_id) |
| | Function to create branches for the new variable to explore.
|
| |
|
void | updateNodeBounds (int node_id) |
| |
|
void | selectPartitionVariable (int &partition_id, double &partition_val) |
| | Function to select the variable to explore to refine the space search.
|
| |
|
void | updateProblemData (const Eigen::Ref< const Eigen::VectorXi > &bool_node_id) |
| | function to update problem data from node to explore
|
| |
|
OptimizationInfo & | getInfo () |
| |
|
InteriorPointSolver & | getSolver () |
| |
|
|
OptimizationInfo | optimization_info_ |
| |
|
InteriorPointSolver * | interior_point_solver_ |
| |
|
ExitCode | opt_status_ |
| |
|
OptimizationVector | opt_ |
| |
|
std::vector< node > | nodes_ |
| |
|
Eigen::VectorXi | binvars_ids_ |
| |
|
Eigen::VectorXi | binvars_vec_id_ |
| |
|
Eigen::MatrixXi | binvars_mat_id_ |
| |
|
int | nbin_vars_ |
| |
|
int | iteration_ |
| |
|
int | node_id_ |
| |
|
double | prob_upper_bound_ |
| |
|
double | prob_lower_bound_ |
| |
| ExitCode solver::BnBSolver::optimize |
( |
| ) |
|
Create branches for the problem
Updating problem bounds
Decision on exploration node
The documentation for this class was generated from the following files:


SuperClass for other DataObj Classes
commonDataObj
R6Class
object.
Object of R6Class
with methods for getting/setting features for flowDashboard.
annotation
Annotation (can be extracted as phenoData from a GatingSet) as data.table.
subsetOptions
set which columns in annotation to use for subsetting. Set by setSubsetAndSortOptions()
.
subsetOptionList
named list, where every entry corresponds to levels in a column in annotation.
new()
initialize method.
checkIntegrity()
This method checks whether the identifier used in annotation and data agree and ensures data integrity between the two.
setSubsetAndSortOptions()
set the subset and sortOptions
subsetAnnotation(ids)
given a vector of ids, subset both the data and annotation slots.
setAnnotationDisplayOptions(annotCols)
given a vector of column names in annotation, select those columns and drop the rest.
See \code{\link{qcFlowObj}}, \code{\link{gatingObj}}, and \code{\link{populationExpressionObj}} for code examples.#> Error: <text>:1:5: unexpected input #> 1: See \ #> ^


Float left on all viewport sizes
Float right on all viewport sizes
Don't float on all viewport sizes


-- these are the details
-- this should start open (class=open)
-- this should start open (attr open)


This sample scripts uses Windows Management Instrumentation (WMI) provider for IIS to change properties in the IIS metabase. The properties and computers on which you want to change them are listed in a tab-delimited text file that you create. There is a matching Active Directory Services Interface (ADSI) version of this sample.
Important These samples are provided for educational purposes only. They are not intended to be used in a production environment, have not been tested in a production environment, and Microsoft does not provide technical support for them.
Sample Overview
Requirements
Location of the Source Code
Build and Install the Sample
Run the Sample
Sample Output
Helpdesk
WMI can be used to access most resource on your computer, including IIS resources. IIS comes installed with an WMI provider that allows you to configure your metabase from script files and compiled code.
When running this sample, the folowing conditions must be met:
This sample requires the installation of the following software to function properly:
IIS samples are included in the IIS Software Developer Kit (SDK). You can download the IIS SDK from Platform SDK Update. You can view the SDK at MSDN Online. In the table of contents at MSDN Online, click Web Development, Server Technologies, Internet Information Services (IIS), SDK Documentation, Internet Information Services, Samples.
The following source code files are required for this sample:
| File | Description |
|---|---|
| ChangeProperties_WMI.js | A JScript file containing the sample code. |
Nothing is required to build this sample.
To install this sample, the following steps must be performed:
C:\Samples
and copy the files to that folder.
In order to run this sample, follow the instructions listed below:
cmd
in the text box, and click OK.C:\Samples
, type the following in the command window:
cd C:\Samples
Cscript /nologo ChangeProperties_WMI.js
<machine name> <metabase path> <property name> <value> <node type>The following is an example of a tab-delimited text file that this sample can use:
Server1 w3svc ConnectionTimeout 999 IIsWebServiceSetting Server2 w3svc/1 ServerComment My Default Server IIsWebServerSetting Server2 w3svc/1/root Path c:\webroot IIsWebVirtualDirSetting Server1 msftpsvc ConnectionTimeout 999 IIsFtpServiceSetting
C:\Samples\MyChanges.txt
, you would use the following command in the command window:
Cscript /nologo ChangeProperties_WMI.js C:\Samples\MyChanges.txt
The following example of output is displayed for each successful change after you perform step 5 from Run the Sample.
Success: Server2 w3svc/ConnectionTimeout, 900 -> 999
Errors like the following are also displayed:
*** Error: setting property, line 1 *** -2146828218 - Permission denied ConnectionTimeout can not be set at w3svc.to top
If here you do not find answers to your questions, visit the Microsoft Help and Support Web site.
| Problem | Possible Solution |
|---|---|
| Permission denied errors | Only administrators can run WMI scripts.
To keep security risks low, log on to your computer using an account that is not in the
Administrators group, and then use the Run As
command to run your script or executable as an
administrator. From the command prompt, type runas /user: administrative_accountname
"script_name" . |
© 1997-2002 Microsoft Corporation. All rights reserved.


|
Mackey
V3.3
A C++ library for computing RO(G) graded homology
|
Performs algebraic Morse theory reduction preserving equivariance. More...
#include <Morse.hpp>
Public Member Functions | |
| EquivariantAMT (Chains< rank_t, diff_t > &C, bool compute_original_to_reduced, bool compute_reduced_to_original) | |
| Constructor that performs the computation. More... | |
| Public Member Functions inherited from AMT< diff_t > | |
| const auto & | original_to_reduced () const |
| Returns vector of "change of basis" matrices from the original to the reduced basis. More... | |
| const auto & | reduced_to_original () const |
| Returns vector of "change of basis" matrices from the reduced to the original basis. More... | |
| double | reduction_ratio () const |
| Returns the average compression ratio as a double in [0,1]. Ideally as close to 0 as possible. More... | |
| AMT (std::vector< diff_t > &A, bool compute_original_to_reduced, bool compute_reduced_to_original) | |
| Constructor that reduces. More... | |
Additional Inherited Members | |
| Protected Types inherited from AMT< diff_t > | |
| typedef diff_t::StorageIndex | ind |
| The storage type of the differential matrices (eg size_t) More... | |
| typedef diff_t::Scalar | scalar_t |
| The scalar type of the differential matrices (eg int or Z2) More... | |
| typedef Eigen::SparseMatrix< scalar_t, 1, ind > | row_major_t |
| The type of row major of the differential matrices (eg size_t) More... | |
| Protected Member Functions inherited from AMT< diff_t > | |
| AMT (std::vector< diff_t > &A, bool compute_original_to_reduced, bool compute_reduced_to_original, bool onlyresize) | |
| Constructor that allows only to resize. More... | |
| void | reduce () |
| Performs the reduction and sets the "change of basis" f,g. More... | |
| void | find_Morse_matching (int k, bool normalize) |
| Sets the morse matchiing and normalizes diff if normalize=1 (this speeds up the AMT algorithm) More... | |
| void | normalize (int k) |
| Normalize diff if not done in find_Morse_matching. More... | |
| void | erase_matchings (int k, const std::vector< std::pair< ind, ind >> &toremove) |
| Erase the given morse matchings (eg if they are not equivariant). More... | |
| Protected Attributes inherited from AMT< diff_t > | |
| std::vector< diff_t > & | diff |
| The reduced differential. More... | |
| std::vector< std::map< ind, ind > > | morse |
| The morse matching. More... | |
| std::vector< std::vector< ind > > | critical |
| The critical basis elements. More... | |
Performs algebraic Morse theory reduction preserving equivariance.
Reduces given equivariant chain complex to a homotopy equivalent one but ideally smaller, using equivariant variant of algebraic Morse theory
| EquivariantAMT | ( | Chains< rank_t, diff_t > & | C, |
| bool | compute_original_to_reduced, | ||
| bool | compute_reduced_to_original | ||
| ) |
Constructor that performs the computation.


News, articles and reviews of a variety of web development frameworks and modules.
© 2016. All rights reserved.
Posted by xuduoduo on 19 Oct 2016 : summary css
Posted by xuduoduo on 17 Oct 2016 : summary js


HOME
SEARCH-PAGE
TASTE-MAKER
Menu Items Containing Rice
Lemon Rice
Includes: Basmati rice, Turmeric, Curry and Mustard seed
Check out some of our other recipes!
Xoi La Cam, a Vietnamese Sticky Rice
Includes: Magenta water, Sweet Rice, Coconut Cream, Sugar, Salt
Check out some of our other recipes!
Chinese Zongzi, Bamboo sticky rice dumplings
Includes: Marinated Pork, Bamboo Leaves, Red Bean Paste, Glutinous Rice, Shiitake Mushroom, Chinese Dates
Check out some of our other recipes!
Mexican Brown Rice Bake
Includes: Diced Tomatoes, Yellow Onion, Garlic, Olive Oil, Brown Rice, Jalepeno, Vegetable Broth
Check out some of our other recipes!
Garlic Cilantro Rice
Includes: Garlic, Onion, Long Grain Rice, Chicken Broth, Lime Zest, Fresh Cilantro
Check out some of our other recipes!


{% extends 'helpers/layout.html' %} {% from 'govuk/components/button/macro.njk' import govukButton %} {% block pageTitle %} Upload overseas claims {% endblock %} {% block content %}
Total claims to upload: {{ total }}
{{ govukButton({ text: 'Get a claim', href: '/claims/overseas/completed-claim/details', attributes: { id: 'get-a-claim-button' } }) }} {% else %}There are currently no claims to upload
{% endif %}


To design a register machine, we must design its data paths (registers and operations) and the controller that sequences these operations. To illustrate the design of a simple register machine, let us examine Euclid's Algorithm, which is used to compute the greatest common divisor (GCD) of two integers. As we saw in section \ref{sec:gcd}, Euclid's Algorithm can be carried out by an iterative process, as specified by the following function:
A machine to carry out this algorithm must keep track of two numbers,
$a$ and $b$, so let us assume that these numbers are stored in two
registers with those names. The basic operations required are testing
whether the contents of register b is zero and computing the
remainder of the contents of register a divided by the contents
of register b. The remainder operation is a complex process,
but assume for the moment that we have a primitive device that
computes remainders. On each cycle of the GCD algorithm, the contents
of register a must be replaced by the contents of register b, and the contents of b must be replaced by the remainder of
the old contents of a divided by the old contents of b.
It would be convenient if these replacements could be done
simultaneously, but in our model of register machines we will assume
that only one register can be assigned a new value at each step. To
accomplish the replacements, our machine will use a third
temporary
register, which we call t. (First the remainder
will be placed in t, then the contents of b will be placed
in a, and finally the remainder stored in t will be placed
in b.)
We can illustrate the registers and operations required for this
machine by using the data-path diagram shown in
figure \ref{fig:gcd-machine}. In this
diagram, the registers (a, b, and t) are represented
by rectangles. Each way to assign a value to a register is
indicated by an arrow with an X behind the head, pointing from
the source of data to the register. We can think of the X as a
button that, when pushed, allows the value at the source to flow
into the designated register. The label next to each button is the
name we will use to refer to the button. The names are arbitrary, and
can be chosen to have mnemonic value (for example, a<-b denotes
pushing the button that assigns the contents of register b to
register a). The source of data for a register can be another
register (as in the a<-b assignment), an operation result (as in
the t<-r assignment), or a constant (a built-in value that
cannot be changed, represented in a data-path diagram by a triangle
containing the constant).
An operation that computes a value from constants and the contents of registers is represented in a data-path diagram by a trapezoid containing a name for the operation. For example, the box marked rem in figure \ref{fig:gcd-machine} represents an operation that computes the remainder of the contents of the registers a and b to which it is attached. Arrows (without buttons) point from the input registers and constants to the box, and arrows connect the operation's output value to registers. A test is represented by a circle containing a name for the test. For example, our GCD machine has an operation that tests whether the contents of register b is zero. A test also has arrows from its input registers and constants, but it has no output arrows; its value is used by the controller rather than by the data paths. Overall, the data-path diagram shows the registers and operations that are required for the machine and how they must be connected. If we view the arrows as wires and the X buttons as switches, the data-path diagram is very like the wiring diagram for a machine that could be constructed from electrical components. \begin{figure}[H] \centering \maxsizebox{\linewidth}{0.8\paperheight}{\includegraphics[scale=0.8]{{img\string_original/Fig5.1a.std}.svg}} \caption{Data paths for a GCD machine. } \label{fig:gcd-machine} \end{figure}
In order for the data paths to actually compute GCDs, the buttons must be pushed in the correct sequence. We will describe this sequence in terms of a controller diagram, as illustrated in figure \ref{fig:gcd-controller}. The elements of the controller diagram indicate how the data-path components should be operated. The rectangular boxes in the controller diagram identify data-path buttons to be pushed, and the arrows describe the sequencing from one step to the next. The diamond in the diagram represents a decision. One of the two sequencing arrows will be followed, depending on the value of the data-path test identified in the diamond. We can interpret the controller in terms of a physical analogy: Think of the diagram as a maze in which a marble is rolling. When the marble rolls into a box, it pushes the data-path button that is named by the box. When the marble rolls into a decision node (such as the test for b$\, =0$), it leaves the node on the path determined by the result of the indicated test. Taken together, the data paths and the controller completely describe a machine for computing GCDs. We start the controller (the rolling marble) at the place marked start, after placing numbers in registers a and b. When the controller reaches done, we will find the value of the GCD in register a. \begin{figure}[H] \centering \maxsizebox{\linewidth}{0.8\paperheight}{\includegraphics[scale=0.8]{{img\string_original/Fig5.2.std}.svg}} \caption{Controller for a GCD machine.} \label{fig:gcd-controller} \end{figure}
n ? product : iter(counter * product, counter + 1); \end{JavaScriptClickable} \end{lrbox} \begin{JavaScriptClickable} /*!\href{https://sourceacademy.nus.edu.sg/playground#chap=5&prgrm=GYVwdgxgLglg9mABMAhtOAnGKA2AKMASkQG8AoRS5caeJGKAUwzwAcM4ATEaAGkQhxwTDMXJUJiDIyggMSQcOaIAfIiQVJWqgH5E7LjyibtWgFyIGzPIrAjEAKn0dufE6Y+Vb9gNSIAjIQA3CYAvibSsvKWInj+-IEhoUA}{\usebox\lstbox}!*/ } return iter(1, 1); } \end{JavaScriptClickable}


The generated content will be inserted immediately before the marker token (with a newline separator).
Example:
Token = "{jenkins-marker:before}"
Generated text = "2011-06-19"
Existing content:
Lorem ipsum
{jenkins-marker:before}
Ipsum lorem
New content:
Lorem ipsum
2011-06-19
{jenkins-marker:before}
Ipsum lorem
If you have administrative access to your Confluence installation, consider creating a custom user
macro:
Name: jenkins-marker
[ ] Macro has a body (uncheck the box)
"Macro generates HTML markup"
Template: **blank**
This will create a new macro ("{jenkins-marker}"), which you can use to mark the location before
which content will be inserted. Using the confluence macro tag parameter capability, you can
reuse this single tag configuration for several single-token (Before/After) editors, by simply
making the string after the colon unique (e.g., "{jenkins-marker:build-url-inserted-before-this}").
This token configuration does not render in the wiki output.


This is the accessibility statement for the Chipster service, required by the Act on the Provision of Digital Services. The accessibility status of the service has been by assessed by the development team.
The service conform to the AA level of the WCAG 2.1 criteria partially. We are actively working on improving the accessibility and usability of the service.
Should you experience any difficulty in accessing the Chipster service, please don’t hesitate to contact the server maintainers. You can also contact the development team by email at chipster@csc.fi.


Home
Settings
Appearence
Link web:
http://healbook.000webhostapp.com
Share
Welcome,
Toan Nguyen
Add a New Link
Daily Views
0
Customers
0
Blogs
0
Rate
0
Information
Name
DoB
Email address
Permission
Position
Privacy
Description
Edit Information
Address Contact
Email
Phone Number
Who can see your information?
Address
Edit


Returns the absolute value or vector length of x.
X = (x,y,z) abs(X)
┌ ┐1/2 │ 2 2 2│ │x + y + z │ │ │ └ ┘
Returns the adjunct of matrix m. Adjunct is equal to determinant times inverse.
A = ((a,b),(c,d)) adj(A) == det(A) inv(A)
1
Returns 1 if all arguments are true (nonzero). Returns 0 otherwise.
and(1=1,2=2)
1
Returns the arc cosine of x.
arccos(1/2)
1 ╶─╴ π 3
Returns the arc hyperbolic cosine of x.
Returns the arc sine of x.
arcsin(1/2)
1 ╶─╴ π 6
Returns the arc hyperbolic sine of x.
Returns the arc tangent of y over x. If x is omitted then x = 1 is used.
arctan(1,0)
1 ╶─╴ π 2
Returns the arc hyperbolic tangent of x.
Returns the angle of complex z.
arg(2 - 3i)
arctan(-3,2)
The result of evaluating a symbol can differ from the symbol's binding. For example, the result may be expanded. The binding function returns the actual binding of a symbol.
p = quote((x + 1)^2) p
2 p = x + 2 x + 1
binding(p)
2 (x + 1)
Returns the smallest integer greater than or equal to x.
ceiling(1/2)
1
If x is true (nonzero) then continue in a script, else stop. Expression x can include the relational operators =, ==, <, <=, >, >=. Use the not function to test for inequality.
A = exp(i pi) B = -1 check(A == B) -- stop here if A not equal to B
Returns expression x with circular and hyperbolic functions converted to exponentials.
circexp(cos(x) + i sin(x))
exp(i x)
Clears all symbol definitions.
Returns complex z in polar form with base of negative 1 instead of e.
clock(2 - 3i)
arctan(−3,2) ╶────────────╴ 1/2 π 13 (−1)
Returns the cofactor of matrix m for row i and column j.
A = ((a,b),(c,d)) cofactor(A,1,2) == adj(A)[2,1]
1
Returns the complex conjugate of z.
conj(2 - 3i)
2 + 3 i
Returns tensor a summed over indices i and j. If i and j are omitted then 1 and 2 are used. The expression contract(m) computes the trace of matrix m.
A = ((a,b),(c,d)) contract(A)
a + d
Returns the cosine of x.
cos(pi/4)
1 ╶────╴ 1/2 2
Returns the hyperbolic cosine of x.
circexp(cosh(x))
1 1 ╶─╴ exp(−x) + ╶─╴ exp(x) 2 2
Returns the derivative of f with respect to x and any additional arguments.
d(sin(x),x)
cos(x)Multiderivatives are computed by extending the argument list.
d(sin(x),x,x)
−sin(x)A numeric argument n computes the nth derivative with respect to the previous symbol.
d(sin(x y),x,2,y,2)
2 2 x y sin(x y) − 4 x y cos(x y) − 2 sin(x y)
Argument f can be a tensor of any rank. Argument x can be a vector. When x is a vector the result is the gradient of f.
F = (f(),g(),h()) X = (x,y,z) d(F,X)
┌ ┐ │ d(f(),x) d(f(),y) d(f(),z) │ │ │ │ d(g(),x) d(g(),y) d(g(),z) │ │ │ │ d(h(),x) d(h(),y) d(h(),z) │ └ ┘
Symbol d can be used as a variable name. Doing so does not conflict with function d.
Symbol d can be redefined as a different function. The function derivative, a synonym for d, can be used to obtain a partial derivative.
Returns the definite integral of f with respect to x evaluated from a to b. The argument list can be extended for multiple integrals as shown in the following example.
f = (1 + cos(theta)^2) sin(theta) defint(f, theta, 0, pi, phi, 0, 2 pi) -- integrate over theta then over phi
16 ╶──╴ π 3
Returns the denominator of expression x.
denominator(a/b)
b
Returns the determinant of matrix m.
A = ((a,b),(c,d)) det(A)
a d - b c
Returns the dimension of the nth index of tensor a. Index numbering starts with 1.
A = ((1,2),(3,4),(5,6)) dim(A,1)
3
Evaluates each argument from left to right. Returns the result of the final argument.
do(A=1,B=2,A+B)
3
Returns the dot product of vectors, matrices, and tensors. Also known as the matrix product. Arguments are evaluated from right to left. The following example solves for X in AX = B.
A = ((1,2),(3,4)) B = (5,6) X = dot(inv(A),B) X
┌ ┐ │ −4 │ │ │ X = │ 9 │ │ ╶─╴ │ │ 2 │ └ ┘
Draws a graph of f(x). Drawing ranges can be set with xrange and yrange.
xrange = (0,1) yrange = (0,1) draw(x^2,x)
Returns eigenvectors for matrix m. Matrix m is required to be numerical, real, and symmetric. The return value is a matrix with each column an eigenvector. Eigenvalues are obtained as shown.
A = ((1,2),(3,4)) A = A + transpose(A) -- symmetrize Q = eigenvec(A) D = dot(transpose(Q),A,Q) -- eigenvalues are on the diagonal of D dot(Q,D,transpose(Q))
┌ ┐ │ 2 5 │ A = │ │ │ 5 8 │ └ ┘
Returns expression f evaluated at x equals a. The argument list can be extended as shown.
f = sqrt(x^2 + y^2) eval(f,x,3,y,4) -- evaluate f at x=3 and y=4
5
The eval function can be used for substitution. In the following example, eval is used to replace x with cos(theta).
-- associated legendre of cos theta P(l,m) = test(m < 0, (-1)^m (l + m)! / (l - m)! P(l,-m), 1 / (2^l l!) sin(theta)^m * eval(d((x^2 - 1)^l,x,l + m),x,cos(theta))) P(2,-1)
1 −╶─╴ cos(θ) sin(θ) 2
Returns the exponential of x.
exp(i pi)
-1
Returns the cosine of z in exponential form.
expcos(z)
1 1 ╶─╴ exp(i z) + ╶─╴ exp(−i z) 2 2
Returns the hyperbolic cosine of z in exponential form.
expcosh(z)
1 1 ╶─╴ exp(−z) + ╶─╴ exp(z) 2 2
Returns the sine of z in exponential form.
expsin(z)
1 1 −╶─╴ i exp(i z) + ╶─╴ i exp(−i z) 2 2
Returns the hyperbolic sine of z in exponential form.
expsinh(z)
1 1 −╶─╴ exp(−z) + ╶─╴ exp(z) 2 2
Returns the tangent of z in exponential form.
exptan(z)
i i exp(2 i z) ╶──────────────╴ − ╶──────────────╴ exp(2 i z) + 1 exp(2 i z) + 1
Returns the hyperbolic tangent of z in exponential form.
exptanh(z)
1 exp(2 z) −╶────────────╴ + ╶────────────╴ exp(2 z) + 1 exp(2 z) + 1
Returns the factorial of n. The expression n! can also be used.
20!
2432902008176640000
Returns expression x with rational numbers and integers converted to floating point values. The symbol pi and the natural number are also converted.
float(212^17)
39 3.52947 10
Returns the largest integer less than or equal to x.
floor(1/2)
0
For i equals j through k evaluate a, b, etc.
for(k,1,3,A=k,print(A))
A = 1 A = 2 A = 3
Note: The original value of i is restored after for completes. If symbol i is used for index variable i then the imaginary unit is overridden in the scope of for.
Returns the Hadamard (element-wise) product. The arguments are required to have the same dimensions. The Hadamard product is also accomplished by simply multiplying the arguments.
A = ((A11,A12),(A21,A22)) B = ((B11,B12),(B21,B22)) A B
┌ ┐ │ A B A B │ │ 11 11 12 12 │ │ │ │ A B A B │ │ 21 21 22 22 │ └ ┘
Symbol i is initialized to the imaginary unit (−1)1/2.
exp(i pi)
-1
Note: It is OK to clear or redefine i and use the symbol for something else.
Returns the imaginary part of complex z.
imag(2 - 3i)
-3
Converts expression x to a string and returns the result.
p = (x + 1)^2 infixform(p)
x^2 + 2 x + 1
Returns the inner product of vectors, matrices, and tensors. Also known as the matrix product. Arguments are evaluated from right to left.
A = ((a,b),(c,d)) B = (x,y) inner(A,B)
┌ ┐ │ a x + b y │ │ │ │ c x + d y │ └ ┘
Note: inner and dot are the same function.
Returns the integral of f with respect to x.
integral(x^2,x)
1 3 ╶─╴ x 3
Returns the inverse of matrix m.
A = ((1,2),(3,4)) inv(A)
┌ ┐ │ −2 1 │ │ │ │ 3 1 │ │ ╶─╴ −╶─╴ │ │ 2 2 │ └ ┘
Set j=sqrt(-1) to use j for the imaginary unit instead of i.
j = sqrt(-1) 1/sqrt(-1)
-j
Returns the Kronecker product of vectors and matrices.
A = ((1,2),(3,4)) B = ((a,b),(c,d)) kronecker(A,B)
┌ ┐ │ a b 2 a 2 b │ │ │ │ c d 2 c 2 d │ │ │ │ 3 a 3 b 4 a 4 b │ │ │ │ 3 c 3 d 4 c 4 d │ └ ┘
The result of the previous calculation is stored in last.
212^17
3529471145760275132301897342055866171392
last^(1/17)
212
Note: Symbol last is an implied argument when a function has no argument list.
212^17
3529471145760275132301897342055866171392
float
39 3.52947 10
Returns the natural logarithm of x.
log(x^y)
y log(x)
Returns the magnitude of complex z.
mag(x + i y)
┌ ┐1/2 │ 2 2│ │x + y │ │ │ └ ┘
Returns the minor of matrix m for row i and column j.
A = ((1,2,3),(4,5,6),(7,8,9)) minor(A,1,1) == det(minormatrix(A,1,1))
1
Returns a copy of matrix m with row i and column j removed.
A = ((1,2,3),(4,5,6),(7,8,9)) minormatrix(A,1,1)
┌ ┐ │ 5 6 │ │ │ │ 8 9 │ └ ┘
Returns the remainder of a over b.
mod(5,3/8)
1 ╶─╴ 8
Evaluates expression x without expanding products of sums.
noexpand((x + 1)^2 / (x + 1))
x + 1
Returns 0 if x is true (nonzero). Returns 1 otherwise.
not(1=1)
0
Returns the approximate roots of polynomials with real or complex coefficients. Multiple roots are returned as a vector. See also roots.
p = x^5 - 1 nroots(p,x)
┌ ┐ │ 1 │ │ │ │ −0.809017 + 0.587785 i │ │ │ │ −0.809017 − 0.587785 i │ │ │ │ 0.309017 + 0.951057 i │ │ │ │ 0.309017 − 0.951057 i │ └ ┘
Returns the numerator of expression x.
numerator(a/b)
a
Returns 1 if at least one argument is true (nonzero). Returns 0 otherwise.
or(1=1,2=2)
1
Returns the outer product of vectors, matrices, and tensors.
A = (a,b,c) B = (x,y,z) outer(A,B)
┌ ┐ │ a x a y a z │ │ │ │ b x b y b z │ │ │ │ c x c y c z │ └ ┘
Symbol for π.
exp(i pi)
-1
Returns complex z in polar form.
polar(x - i y)
┌ ┐1/2 │ 2 2│ │x + y │ exp(i arctan(−y,x)) │ │ └ ┘
Use ^ to raise something to a power. Use parentheses for negative powers.
x^(-1/2)
1 ╶────╴ 1/2 x
Evaluate expressions and print the results. Useful for printing from inside a for loop.
for(j,1,3,print(j))
j = 1 j = 2 j = 3
For i equals j through k evaluate f. Returns the product of all f.
product(j,1,3,x + j)
3 2 x + 6 x + 11 x + 6
The original value of i is restored after product completes. If symbol i is used for index variable i then the imaginary unit is overridden in the scope of product.
product(y)
Returns the product of components of y.
y = (1,2,3,4) product(y)
24
Returns expression x without evaluating it first.
quote((x + 1)^2)
2 (x + 1)
Returns the number of indices that tensor a has.
A = ((a,b),(c,d)) rank(A)
2
Returns expression x with everything over a common denominator.
rationalize(1/a + 1/b + 1/2)
2 a + a b + 2 b ╶───────────────╴ 2 a b
Note: rationalize returns an unexpanded expression. If the result is assigned to a symbol, evaluating the symbol will expand the result. Use binding to retrieve the unexpanded expression.
f = rationalize(1/a + 1/b + 1/2) binding(f)
2 a + a b + 2 b ╶───────────────╴ 2 a b
Returns the real part of complex z.
real(2 - 3i)
2
Returns complex z in rectangular form.
rect(exp(i x))
cos(x) + i sin(x)
Returns the rational roots of a polynomial. Multiple roots are returned as a vector. See also nroots.
p = (x + 1) (x - 2) roots(p,x)
┌ ┐ │ −1 │ │ │ │ 2 │ └ ┘
If no roots are found then nil is returned. A nil result prints as blank so the following example uses infixform to print nil as a string.
p = x^2 + 1 infixform(roots(p,x))
nil
Rotates vector u and returns the result. Vector u is required to have 2n elements where n is an integer from 1 to 15. Arguments s,k,... are a sequence of rotation codes where s is an upper case letter and k is a qubit number 0 to n − 1. Rotations are evaluated from left to right. The available rotations are
| C, k | Control prefix |
| H, k | Hadamard |
| P, k, φ | Phase modifier (use φ = 1/4 π for T rotation) |
| Q, k | Quantum Fourier transform |
| V, k | Inverse quantum Fourier transform |
| W, k, j | Swap qubits |
| X, k | Pauli X |
| Y, k | Pauli Y |
| Z, k | Pauli Z |
Control prefix C, k modifies the next rotation code so that it is a controlled rotation with k as the control qubit. Use two or more prefixes to specify multiple control qubits. For example, C, k, C, j, X, m is a Toffoli rotation. Fourier rotations Q, k and V, k are applied to qubits 0 through k. (Q and V ignore any control prefix.) See also section 3 of the Eigenmath manual.
psi = (1,0,0,0) rotate(psi,H,0)
┌ ┐ │ 1 │ │ ╶────╴ │ │ 1/2 │ │ 2 │ │ │ │ 1 │ │ ╶────╴ │ │ 1/2 │ │ 2 │ │ │ │ 0 │ │ │ │ 0 │ └ ┘
Run script x where x evaluates to a filename string. Useful for importing function libraries.
run("EVA2.txt")
For Eigenmath installed from the Mac App Store, run files need to be put in the directory ~/Library/Containers/com.gweigt.eigenmath/Data/
Returns expression x in a simpler form.
simplify(sin(x)^2 + cos(x)^2)
1
Returns the sine of x.
sin(pi/4)
1 ╶────╴ 1/2 2
Returns the hyperbolic sine of x.
circexp(sinh(x))
1 1 −╶─╴ exp(−x) + ╶─╴ exp(x) 2 2
Returns the square root of x.
sqrt(10!)
1/2 720 7
In a script, it does what it says.
For i equals j through k evaluate f. Returns the sum of all f.
sum(j,1,5,x^j)
5 4 3 2 x + x + x + x + x
The original value of i is restored after sum completes. If symbol i is used for index variable i then the imaginary unit is overridden in the scope of sum.
sum(y)
Returns the sum of components of y.
y = (1,2,3,4) sum(y)
10
Returns the tangent of x.
Returns the hyperbolic tangent of x.
circexp(tanh(x))
1 exp(2 x) −╶────────────╴ + ╶────────────╴ exp(2 x) + 1 exp(2 x) + 1
Returns the nth order Taylor series expansion of f(x) at a. If argument a is omitted then zero is used for the expansion point.
taylor(1/(1-x),x,5)
5 4 3 2 x + x + x + x + x + 1
If argument a is true (nonzero) then b is returned, else if c is true then d is returned, etc. If the number of arguments is odd then the final argument is returned if all else fails. Expressions can include the relational operators =, ==, <, <=, >, >=. Use the not function to test for inequality. (The equality operator == is available for contexts in which = is the assignment operator.)
A = 1 B = 1 test(A=B,"yes","no")
yes
Set trace=1 in a script to print the script as it is evaluated. Useful for debugging.
trace = 1
Note: The contract function is used to obtain the trace of a matrix.
Returns the transpose of tensor a with respect to indices i and j. If i and j are omitted then 1 and 2 are used. Hence a matrix can be transposed with a single argument.
A = ((a,b),(c,d)) transpose(A)
┌ ┐ │ a c │ │ │ │ b d │ └ ┘
Note: The argument list can be extended for multiple transpose operations. The arguments are evaluated from left to right. For example, transpose(A,1,2,2,3) is equivalent to transpose(transpose(A,1,2),2,3).
Returns an n by n identity matrix.
unit(3)
┌ ┐ │ 1 0 0 │ │ │ │ 0 1 0 │ │ │ │ 0 0 1 │ └ ┘
Returns a null tensor with dimensions i, j, etc. Useful for creating a tensor and then setting the component values.
A = zero(3,3) for(k,1,3,A[k,k]=k) A
┌ ┐ │ 1 0 0 │ │ │ A = │ 0 2 0 │ │ │ │ 0 0 3 │ └ ┘


1)
as cold as
ice
2)
as quick as
lightening
3)
as strong as an
ox
4)
as light as a
feather
5)
as tall as a
giraffe
6)
as cool as a
cucumber
7)
as black as
coal
8)
as wise as an
owl
9)
as easy as
ABC
10)
as quiet as a
mouse
11)
as sharp as a
knife
12)
as brave as a
lion


Home > Reference > Functions reference > Number functions > Sign
Sign Purpose Returns one of three possible values: -1 when number is negative, 0 when it’s zero, and 1 when it’s positive. Format Sign(number) Parameters number - any numeric expression or field containing a numeric expression Data type returned number Originated in FileMaker Pro 6.0 or earlier Examples Sign(15.12) returns 1. Sign(-175) returns -1. Sign(BalanceDue) returns 0, if BalanceDue is a number field containing 0. Related topics Functions reference (category list) Functions reference (alphabetical list) About formulas About functions Defining calculation fields Using operators in formulas


Use the man command to see the manual for a command, if one is available.
The manual entry for commands contains a description, command syntax, and available options.
$ man command
Press q to quit when you're done.
q


Because our programs provide young people and moms with funding and personalized assistance over a period long enough to allow significant sustainable change, it is not every day that we have a graduate. Below are just a few of our graduates. We could not be more proud of all of them!


Home
Winners
Login
Register
Account
Home
Winners
Login
Register
Account
WIND CASH PRIZES AND SUPPORT THE LOTTERY
And more importantly much needed support for newcastle United Foundation
Personal
Information
Please enter your first name
First Name
Please enter your last name
Last Name
Please Enter your email address
Email
Please confirm your email
Email Confirm
Please enter your mobile number
Mobile Phone
Please enter your Address
Street Address
Please enter your city
City
Please enter your postcode
Post Code
Please enter your age
I am at least 16 years of age
Please indicate your have read and accepted the terms
Terms & Conditions
Next
NEXT
Newcastle United
How the draw works
Previous Winning Numbers
Benefits of subscribing


{extend name="../template/public/base.html" /} {block name="title"}留言列表{/block} {block name="navbar"}
Gently you come, please do not go gently, knocking a keyboarding , leave your footprints.
{$item.content}


--- layout: default title: Our Discussion Paper permalink: discussion-paper/index.html --- You can read the discussion paper by section below, or download the PDF version here.


There is a problem
Only a knowledge base organisation can lead this application.
Find your organisation
Select your knowledge base organisation.
Knowledge base organisation
Save and continue


Loads ABF2 files containing gap-free data from electrophysiological recordings, as created by Axon Instruments/Molecular Devices software such as pClamp 10.
| Version: | 0.7-1 |
| Published: | 2015-03-04 |
| Author: | Matthew Caldwell |
| Maintainer: | Matthew Caldwell <m.caldwell at ucl.ac.uk> |
| License: | Artistic-2.0 |
| NeedsCompilation: | no |
| CRAN checks: | abf2 results |
| Reference manual: | abf2.pdf |
| Package source: | abf2_0.7-1.tar.gz |
| Windows binaries: | r-devel: abf2_0.7-1.zip, r-release: abf2_0.7-1.zip, r-oldrel: abf2_0.7-1.zip |
| OS X binaries: | r-release: abf2_0.7-1.tgz, r-oldrel: abf2_0.7-1.tgz |
| Old sources: | abf2 archive |
Please use the canonical form https://CRAN.R-project.org/package=abf2 to link to this page.


Berkeley DB Reference Guide: Programmer Notes
Berkeley DB Reference Guide: Programmer Notes
Building multi-threaded applications
The Berkeley DB library is not itself multi-threaded.
The library was deliberately architected to not use threads internally
because of the portability problems that using threads within the library
would introduce.
Object handles returned from Berkeley DB library functions are free-threaded,
i.e., threads may use handles concurrently, by specifying the DB_THREAD
flag to db_appinit and the other subsystem open functions.
Threading is assumed in the Java API, so no special flags are required,
and Berkeley DB functions will always behave as if the DB_THREAD flag was specified.
Berkeley DB supports multi-threaded applications with the caveat that it loads
and calls functions that are commonly available in C language environments
and which may not themselves be thread-safe.
Other than this usage,
Berkeley DB has no static data and maintains no local context between calls to
Berkeley DB functions.
To ensure that applications can safely use threads in the context of Berkeley DB,
porters to new operating systems and/or C libraries must confirm that the
system and C library functions used by the Berkeley DB library are thread-safe.
There are some additional caveats about using threads to access
the Berkeley DB library:
- The DB_THREAD flag must be specified for all subsystems either explicitly
or via the db_appinit function. Threading is assumed in the Java
API, so no special flags are required, and Berkeley DB functions will always
behave as if the DB_THREAD flag was specified.
Setting the DB_THREAD flag inconsistently may result in database corruption.
- Only a single thread may call the DB->close function for a
returned database or subsystem handle.
- When using the non-cursor Berkeley DB calls to retrieve key/data items (e.g.,
DB->get), the memory referenced by the pointer stored into the Dbt
is only valid until the next call to using the DB handle
returned by db_open. (This includes any use of the returned
DB handle, including by another thread of control within the
process. For this reason, when multiple threads are using the returned
DB handle concurrently, either the DB_DBT_MALLOC or
DB_DBT_USERMEM flag must be specified for any non-cursor
DBT used for key or data retrieval.) When using the cursor Berkeley DB
calls to retrieve key/data items (e.g., dbc_get), the memory
referenced by the pointer into the DBT is only valid until the
next call to Berkeley DB using the DBC handle returned by
DB->cursor.
- The DB_CURRENT, DB_NEXT and DB_PREV flags to the log_get function
may not be used by a free-threaded handle. If such calls are necessary,
a thread should explicitly create a unique DB_LOG handle by calling
log_open.
- Each database operation (i.e., any call to a function underlying the
handles returned by db_open and DB->cursor is normally
performed on behalf of a unique locker. If, within a single thread of
control, multiple calls on behalf of the same locker are desired, then
transactions must be used. For example, consider the case where a cursor
scan locates a record, and then based on that record, accesses some other
item in the database. If these are done using the default lockers for
the handle, there is no guarantee that these two operations will not
conflict. If the application wishes to guarantee that the operations do
not conflict, locks must be obtained on behalf of a transaction, instead
of the default locker id, and a transaction must be specified to the
cursor creation and the subsequent
Berkeley DB calls.
- Transactions may not span threads, i.e., each transaction must begin and
end in the same thread, and each transaction may only be used by a single
thread.
- Spinlocks must have been implemented for the compiler/architecture
combination. Attempting to specify the DB_THREAD flag will fail if
spinlocks are not available.
- The Berkeley DB library makes a system call to pause for some number of
microseconds when it is necessary to wait on a lock. This may not be
optimal, especially in a thread-only environment where it will be more
efficient to explicitly yield the processor to another thread. It is
possible to specify a
yield function
on an per-application basis.
Compiling Threaded Applications
Special compile-time flags are required when compiling threaded applications
with the UNIX include files on some architectures.
On FreeBSD, if you are compiling a threaded application, you must
compile with the _THREAD_SAFE flag and link with the libc_r.a
library:
cc -D_THREAD_SAFE ... -lc_r
On IRIX, if you are compiling a threaded application,
you must compile with the _SGI_MP_SOURCE flag:
cc -D_SGI_MP_SOURCE ...
On OSF/1, if you are compiling a threaded application,
you must compile with the _REENTRANT flag:
cc -D_REENTRANT ...
On Solaris, if you are compiling a threaded application, you must compile
with the _REENTRANT flag and link with the libthread.a library:
cc -D_REENTRANT ... -lthread


Preparation time
30 mins to 1 hour
Cooking time
10 to 30 mins
Serves
Serves 4
You could easily make this when you come home from work. The curry is extremely tangy, full of flavour and pretty filling, while the chilli and black pepper roti bread are kind of like naan bread - quick to make and great for dipping.
For the chilli roti bread, put the flour(s), baking powder, chilli flakes, black pepper and salt in a large bowl. Toss together and make a well in the centre. Pour in 125ml/4fl oz cold water and mix everything together to give a nice soft dough. Knead the dough for 10 minutes by hand or five minutes in a stand mixer fitted with a dough hook and then leave it in a warm place for about 20 minutes.
Preheat the oven to 110C/225F/Gas ¼ (fan 80C). Put two large frying pans on the hob over a low to medium heat.
Divide the roti dough into four equal pieces and shape each one into a ball. Roll one out on a lightly floured work surface until it is as thin as you can get it to give about an 18cm/7in diameter circle. Dust the top with a little more flour. Drizzle one teaspoon of oil into one pan and pop the dough disc in, leaving it to cook for about two minutes on each side.
Meanwhile, quickly roll out the second piece of dough in the same way. Drizzle another teaspoon of oil into the second pan and cook this roti in the same way.
Once cooked, fold the roti in half, place on a small baking tray and put in the oven to keep warm. Repeat until all the roti breads are cooked.
For the prawn, sweet potato and lime curry, put a large pan over a medium heat and toast the coconut for 2-3 minutes, tossing regularly until it turns golden-brown. Tip into a bowl and set aside.
Return the pan to a medium heat, add the curry powder and cook for about two minutes or so, tossing regularly, until aromatic. Add the sweet potato, ginger and chilli and stir well.
Add the coconut milk and stock and cook stirring for a couple of minutes until it comes to the boil. Turn down the heat and simmer for about 6-8 minutes, or until the sweet potato is almost tender.
Add the sugar snaps and baby corn and cook for 4-6 minutes, or until tender, stirring occasionally. Mix in the prawns and cook for two minutes, or until they turn from grey to pink. Remove from the heat, throw in the spring onions, squeeze in the lime juice and season to taste.
Spoon into serving bowls, scatter the coconut over and serve with the warm roti breads.


{% extends "base.html" %} {% block title %}
Medieval catalogues > AUGUSTINIAN CANONS > Thurgarten > Inventory, 15th cent.
{% endif %}78 identified entries found.
All data was derived from the List of Identifications by Professor Richard Sharpe.
{% if not printing %}
A key to codes used in the List is available (opens in new tab).{% endif %}


Basic metadata dialog¶
A basic dialog, basicMetaDataDlg, is included with the metadata tools package in order to make it easy to add unified metalata entry to existing device control software. This section describes how to use this basic dialog.
In what follows it is assumed that the metadata defaultsTree has already been loaded into memory as defaultsTree.
The dialog provides a ‘live’ temperature and humidity display while the metadata entry dialog is open. It what follows it is assumed that is the done using a RS232 based sensor from Precon. Note, this sensor can easily be changed as the dialog itself contains no acquisition code but rather obtains these values via a listener.
The following code sample show how to call start the basic dialog and set up the temperature and humidity listener. It is assumed that this code is called from a GUI callback function and the port, mode and defaultsTree are existing fields of the handles structure.
% Create basic dialog and get its handle
dialogHdl = basicMetaDataDlg(handles.defaultsTree,handles.mode);
% Set up temperature and humidity sensing
sampler = THSampler('precon',handles.port);
% Set temperature and humidity even listener
dialogHandles = guidata(dialogHdl);
THListener = dialogHandles.THListener;
sampler.addlistener('THSampleAcquired',@THListener.eventHandler);
% Start temperature & humitidy sensor and wait for dialog to exit
sampler.start();
uiwait(dialogHdl);
% Stop sensor and delete
sampler.stop();
delete(sampler);


Preparation time
overnight
Cooking time
30 mins to 1 hour
Serves
Serves 4
To make the wheat grain pudding, pour boiling water over the wheat berries to cover and leave overnight to soak.
Preheat the oven to 200C/180C Fan/Gas 6.
To make the celeriac, place the hay on a baking tray and toast in the oven for 5–10 minutes. Set aside to cool then moisten with a little water.
Wrap the celeriac in an even layer of the hay, place on a baking tray and cover tightly with tin foil. Bake for 20 minutes or until tender then set aside to cool, still wrapped.
To make the hay butter, finely chop 15g/½oz of the hay that was used to bake the celeriac and pour the melted butter over to infuse in a bowl. Strain the mixture through a sieve and place the butter in the fridge to chill, discarding the hay.
To make the chicken and yeast crumb, place the chicken skin between two flat baking sheets and cook in the oven for 5–10 minutes. Remove from the oven, cool and roughly chop the skin.
Toast the yeast flakes in a dry frying pan over a medium heat until golden-brown. Allow to cool then mix with the chicken skin and set aside.
To make the whey sauce, simmer the whey over a medium heat until reduced by two thirds. Add the cream and gradually whisk in the butter. Pass through a sieve, season with salt and pepper and add the verjus. Keep warm.
To finish the wheat grain pudding, drain the wheat berries and cook in a saucepan with the stock until tender. Add the cheese, lemon zest and parsley, stir through and keep warm until ready to serve.
To finish the celeriac, remove it from the hay, heat the hay infused butter in a frying pan and brown the celeriac on all sides until golden-brown. Brush each celeriac with reduced chicken stock and roll in the chicken and yeast crumb.
Fry the trumpet mushrooms and celeriac roots in a little butter, season with salt and pepper and drain.
To serve, place some of the wheat grain pudding on each plate and place a celeriac alongside, spoon over some whey sauce and scatter with the mushrooms, celeriac roots and watercress shoots.


Result
=
(λ [(Ref (Result a b)), (Ref (Result a b))] Bool)
(= a b)
equality is defined as the equality of both the constructor and the contained value, i.e. (Success 1)
and (Success 1)
are the same, but (Success 1)
and (Success 2)
are not.
and-then
(λ [(Result a b), (Ref (λ [a] (Result c b)))] (Result c b))
(and-then a f)
takes a Result
and applies a function f
to it if it is a Success
type. In the case that it is an Error
, it is returned as is.
It is thus quite similar to map
, but it will unwrap the value.
apply
(λ [(Result a b), (Ref (λ [a] c)), (Ref (λ [b] d))] (Result c d))
(apply a success-f error-f)
takes a Result
a
and applies functions to them, one in the case that it is an Error
, one in the case that it is a Success
.
delete
(λ [(Result a b)] ())
deletes a (Result a b)
. Should usually not be called manually.
from-error
(λ [(Result a b), b] b)
(from-error a dflt)
is an unwrapper that will get the value from an Error
. If a
is a Success
, a default value will be returned.
from-success
(λ [(Result a b), a] a)
(from-success a dflt)
is an unwrapper that will get the value from a Success
. If a
is an Error
, a default value will be returned.
map
(λ [(Result a b), (Ref (λ [a] c))] (Result c b))
(map a f)
takes a Result
and applies a function f
to it if it is a Success
type, and wraps it back up. In the case that it is an Error
, it is returned as is.
map-error
(λ [(Result a b), (Ref (λ [b] c))] (Result a c))
(map-error a f)
takes a Result
and applies a function f
to it if it is an Error
type, and wraps it back up. In the case that it is a Success
, it is returned as is.
or-else
(λ [(Result a b), (Ref (λ [b] (Result a c)))] (Result a c))
(or-else a f)
takes a Result
and applies a function f
to it if it is an Error
type. In the case that it is a Success
, it is returned as is.
It is the inverse of and-then
.
success?
(λ [(Ref (Result a b))] Bool)
(success? a)
checks whether the given value a
is an Error
.
It is the inverse of success?
.
to-maybe
(λ [(Result a b)] (Maybe a))
(to-maybe a)
is a function that will convert a Result
to a Maybe
, where a Success
becomes a Just
and an Error
becomes a Nothing
.
The error value is thrown away.
unsafe-from-error
(λ [(Result a b)] b)
(unsafe-from-error a)
is an unsafe unwrapper that will get the value from an Error
. If a
is a Success
, a runtime error will be generated.
unsafe-from-success
(λ [(Result a b)] a)
(unsafe-from-success a)
is an unsafe unwrapper that will get the value from a Success
. If a
is an Error
, a runtime error will be generated.
unwrap-or-else
(λ [(Result a b), (Ref (λ [b] a))] a)
(unwrap-or-else a f)
takes a Result
and either unwraps it if it is a Success
, or calls a function f
on the value contained in the Error
.
unwrap-or-zero
(λ [(Result a b)] a)
(unwrap-or-zero a)
takes a Result
and either unwraps it if it is a Success
, or calls zero
. zero
must be defined on the Success
type.