| Package | Description |
|---|---|
| javafx.animation |
Provides the set of classes for ease of use transition based animations.
|
| javafx.beans.property |
The package
javafx.beans.property defines read-only
properties and writable properties, plus a number of implementations. |
| javafx.beans.property.adapter | |
| javafx.concurrent |
Provides the set of classes for javafx.task.
|
| javafx.css |
Provides API for making properties styleable via CSS and for supporting
pseudo-class state.
|
| javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
| javafx.scene.chart |
The JavaFX User Interface provides a set of chart components that
are a very convenient way for data visualization.
|
| javafx.scene.control |
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
|
| javafx.scene.image |
Provides the set of classes for loading and displaying images.
|
| javafx.scene.layout |
Provides classes to support user interface layout.
|
| javafx.scene.media |
Provides the set of classes for integrating audio and video into Java FX
Applications.
|
| javafx.scene.text |
Provides the set of classes for fonts and renderable Text Node.
|
| javafx.scene.web |
This package provides means for loading and displaying Web content.
|
| javafx.stage |
Provides the top-level container classes for JavaFX content.
|
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
Animation.currentRateProperty()
Read-only variable to indicate current direction/speed at which the
Animation is being played. |
| Modifier and Type | Class and Description |
|---|---|
class |
DoubleProperty
This class defines a
Property wrapping a double value. |
class |
DoublePropertyBase
The class
DoublePropertyBase is the base class for a property
wrapping a double value. |
class |
ReadOnlyDoublePropertyBase
Base class for all readonly properties wrapping a
double . |
class |
ReadOnlyDoubleWrapper
This class provides a convenient class to define read-only properties.
|
class |
SimpleDoubleProperty
This class provides a full implementation of a
Property wrapping a
double value. |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
ReadOnlyDoubleWrapper.getReadOnlyProperty()
Returns the read-only property, that is synchronized with this
ReadOnlyDoubleWrapper . |
static <T extends Number> |
ReadOnlyDoubleProperty.readOnlyDoubleProperty(ReadOnlyProperty<T> property)
Returns a
ReadOnlyDoubleProperty that wraps a
ReadOnlyProperty . |
| Modifier and Type | Class and Description |
|---|---|
class |
JavaBeanDoubleProperty
A
JavaBeanDoubleProperty provides an adapter between a regular
Java Bean property of type double or Double and a JavaFX
DoubleProperty . |
class |
ReadOnlyJavaBeanDoubleProperty
A
ReadOnlyJavaBeanDoubleProperty provides an adapter between a regular
read only Java Bean property of type double or Double and a JavaFX
ReadOnlyDoubleProperty . |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
Service.progressProperty() |
ReadOnlyDoubleProperty |
Task.progressProperty() |
ReadOnlyDoubleProperty |
Worker.progressProperty()
Gets the ReadOnlyDoubleProperty representing the progress.
|
ReadOnlyDoubleProperty |
Service.totalWorkProperty() |
ReadOnlyDoubleProperty |
Task.totalWorkProperty() |
ReadOnlyDoubleProperty |
Worker.totalWorkProperty()
Gets the ReadOnlyDoubleProperty representing the maximum amount of work
that needs to be done.
|
ReadOnlyDoubleProperty |
Service.workDoneProperty() |
ReadOnlyDoubleProperty |
Task.workDoneProperty() |
ReadOnlyDoubleProperty |
Worker.workDoneProperty()
Gets the ReadOnlyDoubleProperty representing the current progress.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleStyleableDoubleProperty
This class extends
SimpleDoubleProperty and provides a full
implementation of a StyleableProperty . |
class |
StyleableDoubleProperty
This class extends
DoublePropertyBase and provides a partial
implementation of a StyleableProperty . |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
Scene.heightProperty()
The height of this
Scene |
ReadOnlyDoubleProperty |
ImageCursor.hotspotXProperty()
The X coordinate of the cursor's hot spot.
|
ReadOnlyDoubleProperty |
ImageCursor.hotspotYProperty()
The Y coordinate of the cursor's hot spot.
|
ReadOnlyDoubleProperty |
Scene.widthProperty()
The width of this
Scene |
ReadOnlyDoubleProperty |
Scene.xProperty()
The horizontal location of this
Scene on the Window . |
ReadOnlyDoubleProperty |
Scene.yProperty()
The vertical location of this
Scene on the Window . |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
CategoryAxis.categorySpacingProperty()
This is the gap between one category and the next along this axis
|
ReadOnlyDoubleProperty |
ValueAxis.scaleProperty()
The scale factor from data units to visual units
|
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
Dialog.heightProperty()
Property representing the height of the dialog.
|
ReadOnlyDoubleProperty |
Dialog.widthProperty()
Property representing the width of the dialog.
|
ReadOnlyDoubleProperty |
TableColumnBase.widthProperty()
The width of this column.
|
ReadOnlyDoubleProperty |
Dialog.xProperty()
The horizontal location of this
Dialog . |
ReadOnlyDoubleProperty |
Dialog.yProperty()
The vertical location of this
Dialog . |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
Image.heightProperty()
The image height or
0 if the image loading fails. |
ReadOnlyDoubleProperty |
Image.progressProperty()
The approximate percentage of image's loading that
has been completed.
|
ReadOnlyDoubleProperty |
Image.widthProperty()
The image width or
0 if the image loading fails. |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
Region.heightProperty()
The height of this resizable node.
|
ReadOnlyDoubleProperty |
TilePane.tileHeightProperty()
The actual height of each tile.
|
ReadOnlyDoubleProperty |
TilePane.tileWidthProperty()
The actual width of each tile.
|
ReadOnlyDoubleProperty |
Region.widthProperty()
The width of this resizable node.
|
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
MediaPlayer.currentRateProperty()
The current rate of playback regardless of settings.
|
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
Text.baselineOffsetProperty()
The 'alphabetic' (or roman) baseline offset from the Text node's
layoutBounds.minY location.
|
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
WebView.heightProperty()
Height of this
WebView . |
ReadOnlyDoubleProperty |
WebView.widthProperty()
Width of this
WebView . |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyDoubleProperty |
PopupWindow.anchorXProperty()
Specifies the x coordinate of the popup anchor point on the screen.
|
ReadOnlyDoubleProperty |
PopupWindow.anchorYProperty()
Specifies the y coordinate of the popup anchor point on the screen.
|
ReadOnlyDoubleProperty |
Window.heightProperty()
The height of this
Window . |
ReadOnlyDoubleProperty |
Window.widthProperty()
The width of this
Window . |
ReadOnlyDoubleProperty |
Window.xProperty()
The horizontal location of this
Window on the screen. |
ReadOnlyDoubleProperty |
Window.yProperty()
The vertical location of this
Window on the screen. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2021, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.


Logout
< Back to Welcome Page
Let's find out what you need to bring for your trip!
How will you be traveling?
Car
Plane
Ship
Train
Where are you going?

Yes
No
How long is your trip?
1 day
2 days
3 days
4 days
5 days
6 days
1 week
2 weeks
More than 2 weeks
Submit


Value to Add/Remove: Add Remove
Value to check for presence: Note: This will not work for numeric input, because it treats all input as text


ApiApplication extends Entity
ApiApplication class
Tags
Table of Contents
- $_propDict : array<string|int, mixed>
- The array of properties available to the model
- __construct() : mixed
- Construct a new Entity
- getAcceptMappedClaims() : bool|null
- Gets the acceptMappedClaims When true, allows an application to use claims mapping without specifying a custom signing key.
- getId() : string|null
- Gets the id Read-only.
- getKnownClientApplications() : string|null
- Gets the knownClientApplications Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant.
- getOauth2PermissionScopes() : PermissionScope|null
- Gets the oauth2PermissionScopes The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes.
- getODataType() : string|null
- Gets the ODataType
- getPreAuthorizedApplications() : PreAuthorizedApplication|null
- Gets the preAuthorizedApplications Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent.
- getProperties() : array<string|int, mixed>
- Gets the property dictionary of the Entity
- getRequestedAccessTokenVersion() : int|null
- Gets the requestedAccessTokenVersion Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2
- jsonSerialize() : array<string|int, mixed>
- Serializes the object by property array Manually serialize DateTime into RFC3339 format
- setAcceptMappedClaims() : ApiApplication
- Sets the acceptMappedClaims When true, allows an application to use claims mapping without specifying a custom signing key.
- setId() : Entity
- Sets the id Read-only.
- setKnownClientApplications() : ApiApplication
- Sets the knownClientApplications Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant.
- setOauth2PermissionScopes() : ApiApplication
- Sets the oauth2PermissionScopes The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes.
- setODataType() : Entity
- Sets the ODataType
- setPreAuthorizedApplications() : ApiApplication
- Sets the preAuthorizedApplications Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent.
- setRequestedAccessTokenVersion() : ApiApplication
- Sets the requestedAccessTokenVersion Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2
Properties
$_propDict
The array of properties available to the model
protected
array<string|int, mixed>
$_propDict
Methods
__construct()
Construct a new Entity
public
__construct([array<string|int, mixed> $propDict = array() ]) : mixed
Parameters
- $propDict : array<string|int, mixed> = array()
-
A list of properties to set
Return values
mixed —getAcceptMappedClaims()
Gets the acceptMappedClaims When true, allows an application to use claims mapping without specifying a custom signing key.
public
getAcceptMappedClaims() : bool|null
Return values
bool|null —The acceptMappedClaims
getId()
Gets the id Read-only.
public
getId() : string|null
Return values
string|null —The id
getKnownClientApplications()
Gets the knownClientApplications Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant.
public
getKnownClientApplications() : string|null
Return values
string|null —The knownClientApplications
getOauth2PermissionScopes()
Gets the oauth2PermissionScopes The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes.
public
getOauth2PermissionScopes() : PermissionScope|null
Return values
PermissionScope|null —The oauth2PermissionScopes
getODataType()
Gets the ODataType
public
getODataType() : string|null
Return values
string|null —The ODataType
getPreAuthorizedApplications()
Gets the preAuthorizedApplications Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent.
public
getPreAuthorizedApplications() : PreAuthorizedApplication|null
Return values
PreAuthorizedApplication|null —The preAuthorizedApplications
getProperties()
Gets the property dictionary of the Entity
public
getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed> —The list of properties
getRequestedAccessTokenVersion()
Gets the requestedAccessTokenVersion Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2
public
getRequestedAccessTokenVersion() : int|null
Return values
int|null —The requestedAccessTokenVersion
jsonSerialize()
Serializes the object by property array Manually serialize DateTime into RFC3339 format
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —The list of properties
setAcceptMappedClaims()
Sets the acceptMappedClaims When true, allows an application to use claims mapping without specifying a custom signing key.
public
setAcceptMappedClaims(bool $val) : ApiApplication
Parameters
- $val : bool
-
The value of the acceptMappedClaims
Return values
ApiApplication —setId()
Sets the id Read-only.
public
setId(string $val) : Entity
Parameters
- $val : string
-
The id
Return values
Entity —setKnownClientApplications()
Sets the knownClientApplications Used for bundling consent if you have a solution that contains two parts: a client app and a custom web API app. If you set the appID of the client app to this value, the user only consents once to the client app. Azure AD knows that consenting to the client means implicitly consenting to the web API and automatically provisions service principals for both APIs at the same time. Both the client and the web API app must be registered in the same tenant.
public
setKnownClientApplications(string $val) : ApiApplication
Parameters
- $val : string
-
The value of the knownClientApplications
Return values
ApiApplication —setOauth2PermissionScopes()
Sets the oauth2PermissionScopes The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes.
public
setOauth2PermissionScopes(PermissionScope $val) : ApiApplication
Parameters
- $val : PermissionScope
-
The value to assign to the oauth2PermissionScopes
Return values
ApiApplication —The ApiApplication
setODataType()
Sets the ODataType
public
setODataType(string $val) : Entity
Parameters
- $val : string
-
The ODataType
Return values
Entity —setPreAuthorizedApplications()
Sets the preAuthorizedApplications Lists the client applications that are pre-authorized with the specified delegated permissions to access this application's APIs. Users are not required to consent to any pre-authorized application (for the permissions specified). However, any additional permissions not listed in preAuthorizedApplications (requested through incremental consent for example) will require user consent.
public
setPreAuthorizedApplications(PreAuthorizedApplication $val) : ApiApplication
Parameters
- $val : PreAuthorizedApplication
-
The value to assign to the preAuthorizedApplications
Return values
ApiApplication —The ApiApplication
setRequestedAccessTokenVersion()
Sets the requestedAccessTokenVersion Specifies the access token version expected by this resource. This changes the version and format of the JWT produced independent of the endpoint or client used to request the access token. The endpoint used, v1.0 or v2.0, is chosen by the client and only impacts the version of id_tokens. Resources need to explicitly configure requestedAccessTokenVersion to indicate the supported access token format. Possible values for requestedAccessTokenVersion are 1, 2, or null. If the value is null, this defaults to 1, which corresponds to the v1.0 endpoint. If signInAudience on the application is configured as AzureADandPersonalMicrosoftAccount, the value for this property must be 2
public
setRequestedAccessTokenVersion(int $val) : ApiApplication
Parameters
- $val : int
-
The value of the requestedAccessTokenVersion


{% extends 'layouts/base.html' %} {% load staticfiles %} {% block title %} about page {% endblock %} {% block content %}
Select one or more categories by clicking "Resource Types" in the sidebar to the left and selecting the desired checkboxes from the resulting drop down menu.
Further define your search by selecting one or more filters from the drop down menus: "Demographics", "Disorders", "Behaviors" and "Additional".
*If "Services" is selected an additional menu will automatically appear under "Select Filters" that only applies to service resources.
Click the blue "Submit" button below the drop down menus. You will be showed resources on the results page pertaining to the filters you have selected. Click a resource to see its details.
The resource details page will offer specific information about the resource, including how to access it. If it is a physical library item, such as a book or dvd, you can use the contact info at the bottom of the page to make an appointment to rent the item from our library!
{% endblock %}


Configure(Serial readers)
Read & Write Settings and Performance Tuning
- These settings define the persistent operational configuration that will be saved to the module.
Display Options
- Defines the additional metadata fields that will be returned with each tag read and displayed on when using the Read tab.
Profile
- Allows the settings selected in Read & Write, Performance Tuning and Display Options to be saved to a file. The saved options can then be loaded when connected to another module to simplify applying common settings to a number of modules.
Firmware Update
- Install a new firmware image on the module. NOTE: This will reset autonomous configuration settings.
Apply Button
- When clicked all the settings specified in the other sections will be persistently stored on the module. This will cause the module to boot into autonomous mode.
Configure(Elara)
General Settings
- These settings define the persistent operational configuration that will be saved to the reader.
Advanced Settings
- Displays the Protocol Settings currently used by the reader as per the Mode set.
User Interface
- Allows enabling/disabling HID interface, configure keyboard output data format, selection of metadata flags to be displayed along with tag reports and also configure buzzer volume.


Kirk Herbstreit Predicts What’ll Happen If Georgia Beats LSU
by Matt HladikKirk Herbstreit is one of the more interactive college football media personalities on Twitter. The ESPN commentator is always up to respond to fans, whether they need expertise or admonishment.
With only one week of the regular season and conference championship weekend left, the College Football Playoff picture is shaping up. Herbstreit offered his thoughts on one potential playoff scenario tonight.
What happens if Clemson and Ohio State win their conference championship games, as expected, but Georgia knocks off LSU in the SEC title game? The Bulldogs are currently the No. 4 team in the playoff rankings, while LSU is No. 1.
Of course, Georgia would move up at least one spot in the playoff foursome if it beats LSU. But what would happen to the Tigers?
In Herbstreit’s mind, they would still get in the field as the fourth team.
For what it’s worth, we’d tend to agree with Herbie here. Say LSU, Oklahoma and Utah are all 12-1.
Well, the Tigers would be the only one of those three without a conference title, but they’d have wins over Alabama, Auburn, Florida, Texas and Texas A&M.
We’ll see how the next two weeks shake out.


Draw By Numeral is a programming environment and language designed to introduce the basic concepts of computer programming by giving immediate feedback through a simple graphics rendering context.
The DBN environment presents a code editor and graphical output side-by-side in a single window. The features of the environment are described below.
Saving DBN Images: Holding down your keyboard's option key while hovering the mouse pointer over the output pane turns the cursor into a camera icon. Click to save the current image as a PNG file.
Explaining Pixels: Holding down the shift key while hovering the mouse pointer over the output pane highlights the line of code that produced the pixel under the mouse position.
The DBN language is designed to be easy for beginners. The language intentonally leaves out many features that are common in general-purpouse languages such as Python or JavaScript. By limiting the features of DBN, we can spend less time learning the complexities of a general-purpose language and more time learning broader concepts of computer programming.
A DBN program's output is a virtual sheet of paper. The paper is divided into a grid of 101 × 101 squares, each of which can be filled with a shade of gray. This document describes the basic concepts of the DBN language, which you can use to construct any number of programs that are capable of producing a vast universe of images.
The simplest DBN program consists of a single statement:
Paper 0 |
This statement tells DBN to color the entire paper white.
Taking a closer look at the statement, we see it consists of
a command name (Paper
), followed by a space, and
then a number that tells DBN how light or dark the paper
should be. We call this numerical value an argument.
Grayscale values in DBN are represented as numbers from 0 (white) to 100 (black).
Let's look at a more complex example. The following DBN program draws a single line from the lower left to the upper right of the paper.
Paper 0 Pen 100 Line 0 0 100 100 |
This program consists of three statements, each on its own line. In DBN, only one statement may be written per line, and statements cannot span multiple lines.
Looking at the second line, we see a new command,
Pen
, which takes one argument. Like
the Paper
command, the argument represents
the desired grayscale value. The Line
command
expects four arguments, which must be separated by spaces.
The arguments to the Line
command tell it
the x and y coordinates of the two points that will be
connected by a line. In this example, the program draws a
line from
A variable is a placeholder for a numeric value. Anywhere a number is used, a variable may be used in its place.
We can give the variable a value using the Set
command. Set
expects two arguments: the first
argument is the name we will use to refer to the variable
and the second argument is the value that will be assigned
to the variable.
Set X 50
In the previvous statement, the variable called X
gets the value 50. We can refer to X
elsewhere
in our program by its name, as in the following Line
command:
Line 20 X 80 X
Since the variable X
was previously given
the value 50, the program will draw a line from
Sometimes it's helpful to relate multiple values together into a single number. A calculation tells the computer to perform arithmetic on a sequence of numbers and variables.
Two of the symbols we use for calculation will be familiar from
mathematics lessons in school: +
and -
signify addition and subtraction. Instead of × and ÷,
however, we use *
and /
to signify
multiplication and division because we have keys for them on our
keyboards.
A calculation must be wrapped in parentheses to signal to DBN where the expression begins and ends. The statement in the following example calculates the value 100−50 and sets the paper to the resulting value:
Paper (100 - 50)
Parentheses may also be used to force a different order
of operations. DBN will compute multiplication and division
before addition and subtraction (just like how we learned
to do arithmetic in school). If we want to perform addition
before multiplication, just enclose the addition in parentheses
like this: ((10 + 1) * 50)
.
Loops are a way to perform a sequence of statements repeatedly. We could perform a command multiple times by typing it in repeatedly, but as you can see in the following example, it quickly becomes tedious to type.
Paper 0 Pen 70 Line 0 40 100 40 Line 0 60 100 60 Line 0 70 100 70 Line 0 75 100 75 Line 0 78 100 78 Line 0 80 100 80 |
To make it easier to perform repetition in your programs,
DBN provides commands to repeat a sequence of statements
multiple times. Repeat
is one such command.
A Repeat
statement expects a variable name
that will hold the current iteration count, a value from
which to start counting, and a value to count until. The
Repeat
statement must be followed by a
sequence of statements enclosed in braces (called a
block.)
Inside the block, we can refer to the variable and use it as a value to the repeated statements. This lets us repeat ourselves while changing what we say slightly each time
Paper 0 Repeat X 0 100 { Pen X Line X 0 X 100 } |
In the preceding example, the Repeat
statement begins by giving X
the value 0. It then executes
the statements in the block and increments the value of X
by one before repeating. Once the value of X
exceeds 100,
the repetition stops and execution continues with the rest
of the program.
Loops don't always have to count up! If
the Repeat
statement's end value is
less than the start value, the iteration count will
decrement by 1 after each execution of the loop body.
Occasionally we would like to be able to run a sequence of statements only when certain conditions are true. DBN provides four comparison commands that test whether the two provided values have a particular relation, and execute the block directly below them only when the desired relation holds.
Consider this program:
Paper 0 Pen 100 Set A 20 Smaller? A 50 { Line A A 50 50 } |
The Smaller?
command tests whether the first
argument is less than the second, and since the value in
the variable A
is less than 50, the test passes
and the program executes the block with the Line
command. If we were to edit the program so the value of
A
were 80, the test would fail and no line
would be drawn.
The three other comparison commands are NotSmaller?
,
which tests whether the first argument is larger than or
the same as the second argument; Same?
which
tests whether the two arguments are equal; and
NotSame?
, which tests whether the two arguments
are different.
Comparisons are frequently helpful when writing loops. If we want to execute certain commands only when the iteration count is within a desired range, we can use a comparison statement inside the loop body
Repeat X 0 100 { Pen X Smaller? X 50 { Line 0 X 100 X } } |
As we repeat from 0 to 100, we test the value of X
each time through the loop, and only draw a line if X
is less than 50.
We can define our own commands with the Command
command.
Paper 0 Pen 100 Command Rectangle x0 y0 x1 y1 { Line x0 y0 x1 y0 Line x0 y0 x0 y1 Line x0 y1 x1 y1 Line x1 y0 x1 y1 } Rectangle 30 30 70 70 |


--- layout: post title: The Highest Socially Organized Mammals date: 2008-12-09 05:04:00.000000000 -08:00 type: post parent_id: "0" published: true password: "" status: publish categories: [] tags: - Evolution - Interesting Things meta: blogger_blog: philihp.blogspot.com blogger_author: Philihp<EMAIL_ADDRESS>blogger_permalink: "/2008/12/highest-socially-organized-mammals.html" _edit_last: "1" tmac_last_id: "166390265060401152" _jetpack_related_posts_cache: a:1:{s:32:"8f6677c9d6b0f903e98ad32ec61f8deb";a:2:{s:7:"expires";i:1542846404;s:7:"payload";a:3:{i:0;a:1:{s:2:"id";i:695;}i:1;a:1:{s:2:"id";i:961;}i:2;a:1:{s:2:"id";i:746;}}}} author: login: Philihp email<EMAIL_ADDRESS>display_name: Philihp first_name: "" last_name: "" ---
The Naked Mole Rat is the only other mammal known to exhibit eusocial
behavior; a behavior that would otherwise be exclusive to ants, bees, wasps,
termites, and
sci-fi sequels from the 80s.
Heterocephalus glaber
A rodent which lives in colonies underground, digging with its enlarged front teeth. Only one female in a colony breed, and her offspring become workers or soldiers, helping dig the burrows in search of tubers underground. (bbc.com)
Also interesting in this species: they feel no pain!
The skin of naked mole rats lacks a key neurotransmitter called Substance P that is responsible in mammals for sending pain signals to the central nervous system.


31. Luqman: Lukman
1
Alif. Lam. Mim.
2
These are revelations of the wise Scripture,
3
A guidance and a mercy for the good,
4
Those who establish worship and pay the poor-due and have sure faith in the Hereafter.
5
Such have guidance from their Lord. Such are the successful.
6
And of mankind is he who payeth for mere pastime of discourse, that he may mislead from Allah's way without knowledge, and maketh it the butt of mockery. For such there is a shameful doom.
7
And when Our revelations are recited unto him he turneth away in pride as if he heard them not, as if there were a deafness in his ears. So give him tidings of a painful doom.
8
Lo! those who believe and do good works, for them are the gardens of delight,
9
Wherein they will abide. It is a promise of Allah in truth. He is the Mighty, the Wise.
10
He hath created the heavens without supports that ye can see, and hath cast into the earth firm hills, so that it quake not with you; and He hath dispersed therein all kinds of beasts. And We send down water from the sky and We cause (plants) of every goodly kind to grow therein.
11
This is the Creation of Allah. Now show me that which those (ye worship) beside Him have created. Nay, but the wrong-doers are in error manifest!
12
And verily We gave Luqman wisdom, saying: Give thanks unto Allah; and whosoever giveth thanks, he giveth thanks for (the good of) his soul. And whosoever refuseth - Lo! Allah is Absolute, Owner of Praise.
13
And (remember) when Luqman said unto his son, when he was exhorting him: O my dear son! Ascribe no partners unto Allah. Lo! to ascribe partners (unto Him) is a tremendous wrong -
14
And We have enjoined upon man concerning his partners - His mother beareth him in weakness upon weakness, and his weaning is in two years - Give thanks unto Me and unto thy parents. Unto Me is the journeying.
15
But if they strive with thee to make thee ascribe unto Me as partner that of which thou hast no knowledge, then obey them not. Consort with them in the world kindly, and follow the path of him who repenteth unto Me. Then unto Me will be your return, and I shall tell you what ye used to do -
16
O my dear son! Lo! though it be but the weight of a grain of mustard-seed, and though it be in a rock, or in the heavens, or in the earth, Allah will bring it forth. Lo! Allah is Subtile, Aware.
17
O my dear son! Establish worship and enjoin kindness and forbid iniquity, and persevere whatever may befall thee. Lo! that is of the steadfast heart of things.
18
Turn not thy cheek in scorn toward folk, nor walk with pertness in the land. Lo! Allah loveth not each braggart boaster.
19
Be modest in thy bearing and subdue thy voice. Lo! the harshest of all voices is the voice of the ass.
20
See ye not how Allah hath made serviceable unto you whatsoever is in the skies and whatsoever is in the earth and hath loaded you with His favours both without and within ? Yet of mankind is he who disputeth concerning Allah, without knowledge or guidance or a scripture giving light.
21
And if it be said unto them: Follow that which Allah hath revealed, they say: Nay, but we follow that wherein we found our fathers. What! Even though the devil were inviting them unto the doom of flame ?
22
Whosoever surrendereth his purpose to Allah while doing good, he verily hath grasped the firm hand-hold. Unto Allah belongeth the sequel of all things.
23
And whosoever disbelieveth, let not his disbelief afflict thee (O Muhammad). Unto Us is their return, and We shall tell them what they did. Lo! Allah is Aware of what is in the breasts (of men).
24
We give them comfort for a little, and then We drive them to a heavy doom.
25
If thou shouldst ask them: Who created the heavens and the earth ? they would answer: Allah. Say: Praise be to Allah! But most of them know not.
26
Unto Allah belongeth whatsoever is in the heavens and the earth. Lo! Allah, He is the Absolute, the Owner of Praise.
27
And if all the trees in the earth were pens, and the sea, with seven more seas to help it, (were ink), the words of Allah could not be exhausted. Lo! Allah is Mighty, Wise.
28
Your creation and your raising (from the dead) are only as (the creation and the raising of) a single soul. Lo! Allah is Hearer, Knower.
29
Hast thou not seen how Allah causeth the night to pass into the day and causeth the day to pass into the night, and hath subdued the sun and the moon (to do their work), each running unto an appointed term; and that Allah is Informed of what ye do ?
30
That (is so) because Allah, He is the True, and that which they invoke beside Him is the False, and because Allah, He is the Sublime, the Great.
31
Hast thou not seen how the ships glide on the sea by Allah's grace, that He may show you of His wonders ? Lo! therein indeed are portents for every steadfast, grateful (heart).
32
And if a wave enshroudeth them like awnings, they cry unto Allah, making their faith pure for Him only. But when He bringeth them safe to land, some of them compromise. None denieth Our signs save every traitor ingrate.
33
O mankind! Keep your duty to your Lord and fear a Day when the parent will not be able to avail the child in aught, nor the child to avail the parent. Lo! Allah's promise is the very truth. Let not the life of the world beguile you, nor let the deceiver beguile you, in regard to Allah.
34
Lo! Allah! With Him is knowledge of the Hour. He sendeth down the rain, and knoweth that which is in the wombs. No soul knoweth what it will earn to- morrow, and no soul knoweth in what land it will die. Lo! Allah is Knower, Aware.
-- Sura 31 --


s6
Software
skarnet.org
The s6-ftrig-listen program
s6-ftrig-listen subscribes to several fifodirs, then
spawns a program, then waits for pattern of events to occur on the fifodirs.
Interface
In an execlineb
script:
s6-ftrig-listen [ -a | -o ] [ -t timeout ] { fifodir1 regexp1 fifodir2 regexp2 ... } prog...
- s6-ftrig-listen subscribes to fifodir1 with the regexp regexp1,
to fifodir2 with the regexp regexp2, and so on.
- It then forks and exec prog... with all its arguments
- It waits for the series of events received on fifodir-i
to match regexp-i, The regexp-i must be
Extended
Regular Expressions.
- When the series of read events matches the regexps,
s6-ftrig-listen exits 0.
Options
- -t timeout : if the events on the fifodirs have not
matched the regexps after timeout milliseconds, print an error message on
stderr and exit 1. By default, s6-ftrig-listen waits indefinitely for a matching series
of events.
- -a : and (conjunction). s6-ftrig-listen will only exit when all
the fifodir-i have been notified with events matching the corresponding regexp-i.
This is the default.
- -o : one (disjunction). s6-ftrig-listen will exit as soon as one
of the fifodir-i has been notified with events matching its regexp-i.
Notes
s6-ftrig-listen can be used outside of an execlineb script by using the
internal argv syntax, but this syntax is an implementation detail and is
not documented as stable. In a shell
script, use execlineb -Pc 's6-ftrig-listen ...' to get the
benefits of the execlineb brace syntax.