This is the default root page for Bloog, a simple RESTful blog/homepage on Google AppEngine, and
shows what it looks like out of the box with no posts or pages. You can see
a Bloog with data here or what Bloog likes like
out of the box.
Bloog is open sourced under the MIT License.
Source code can be found on the GitHub Bloog repository.
Git allows you to easily customize the base app while later merging changes from the main repository
(see here).
If you are old school and prefer a tarball of code,
click here.
Bloog includes the following features:
- A resource-oriented architecture, as described in the great book
RESTful Web Services
- A Drupal converter/uploader that queries a local MySQL database
and uploads the data to a Bloog through REST calls.
- A datastore deletion utility that can clear out your entities in your Bloog's datastore.
- Arbitrary URL aliases, which can be created by the drupal uploader, that provide redirection from legacy urls.
There's also a programmatic aliasing function that can take a regex like
'node/(.*)'
and map it to legacy IDs
stored with the blog entries. (http://foo.com/node/4 is a typical Drupal url.)
- A Yahoo UI
AJAX front-end for posting and managing entries in a RESTful way.
- Easy code syntax highlighting for a number of programming languages.
- Sanitization of incoming HTML via Beautiful Soup parsing.
- Some modularization of look-and-feel so you can more easily
modify the theme without yanking too much code apart (I hope).
- Dynamic per-article sidebars. (in progress)
From an AppEngine developer's perspective, you may find the source code a reasonable starting framework
on which you can build your own application. Points of coding interest include:
- RESTful design using webapp. Accepts http verbs via overloaded POSTs
using _method or X-HTTP-Method-Override headers. Simple urls provide
a uniform interface with standard verbs.
- Convention-over-configuration in organizing controller and view files.
- Authorization using python decorators and built-in Google authentication.
- Caching using the memcached API and also some timing caching using global variables.
- JSON serialization for db.Model.
- Sharded counters to decrease write contentions.
- Integrated python shell using one of Google's example apps.
This provides a command-line console even when running on Google's App Engine cloud.
- Serialization of a python object into a datastore blob.
- An example of full-text searching using an extended version of the appengine.ext.search module.
Extensions include ways of limiting indexed properties.
If your login has administrative permission for this Bloog, you can add articles after
login.


public class AWTKeyStroke extends Object implements Serializable
AWTKeyStroke
represents a key action on the
keyboard, or equivalent input device. AWTKeyStroke
s
can correspond to only a press or release of a
particular key, just as KEY_PRESSED
and
KEY_RELEASED
KeyEvent
s do;
alternately, they can correspond to typing a specific Java character, just
as KEY_TYPED
KeyEvent
s do.
In all cases, AWTKeyStroke
s can specify modifiers
(alt, shift, control, meta, altGraph, or a combination thereof) which must be present
during the action for an exact match.
AWTKeyStrokes
are immutable, and are intended
to be unique. Client code should never create an
AWTKeyStroke
on its own, but should instead use
a variant of getAWTKeyStroke
. Client use of these factory
methods allows the AWTKeyStroke
implementation
to cache and share instances efficiently.
getAWTKeyStroke(char)
,
Serialized Form| Modifier | Constructor and Description |
|---|---|
protected |
AWTKeyStroke()
Constructs an
AWTKeyStroke with default values. |
protected |
AWTKeyStroke(char keyChar,
int keyCode,
int modifiers,
boolean onKeyRelease)
Constructs an
AWTKeyStroke with the specified
values. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object anObject)
Returns true if this object is identical to the specified object.
|
static AWTKeyStroke |
getAWTKeyStroke(char keyChar)
Returns a shared instance of an
AWTKeyStroke
that represents a KEY_TYPED event for the
specified character. |
static AWTKeyStroke |
getAWTKeyStroke(Character keyChar,
int modifiers)
Returns a shared instance of an
AWTKeyStroke
that represents a KEY_TYPED event for the
specified Character object and a set of modifiers. |
static AWTKeyStroke |
getAWTKeyStroke(int keyCode,
int modifiers)
Returns a shared instance of an
AWTKeyStroke ,
given a numeric key code and a set of modifiers. |
static AWTKeyStroke |
getAWTKeyStroke(int keyCode,
int modifiers,
boolean onKeyRelease)
Returns a shared instance of an
AWTKeyStroke ,
given a numeric key code and a set of modifiers, specifying
whether the key is activated when it is pressed or released. |
static AWTKeyStroke |
getAWTKeyStroke(String s)
Parses a string and returns an
AWTKeyStroke . |
static AWTKeyStroke |
getAWTKeyStrokeForEvent(KeyEvent anEvent)
Returns an
AWTKeyStroke which represents the
stroke which generated a given KeyEvent . |
char |
getKeyChar()
Returns the character for this
AWTKeyStroke . |
int |
getKeyCode()
Returns the numeric key code for this
AWTKeyStroke . |
int |
getKeyEventType()
Returns the type of
KeyEvent which corresponds to
this AWTKeyStroke . |
int |
getModifiers()
Returns the modifier keys for this
AWTKeyStroke . |
int |
hashCode()
Returns a numeric value for this object that is likely to be unique,
making it a good choice as the index value in a hash table.
|
boolean |
isOnKeyRelease()
Returns whether this
AWTKeyStroke represents a key release. |
protected Object |
readResolve()
Returns a cached instance of
AWTKeyStroke (or a subclass of
AWTKeyStroke ) which is equal to this instance. |
protected static void |
registerSubclass(Class<?> subclass)
Registers a new class which the factory methods in
AWTKeyStroke will use when generating new
instances of AWTKeyStroke s. |
String |
toString()
Returns a string that displays and identifies this object's properties.
|
protected AWTKeyStroke()
AWTKeyStroke
with default values.
The default values used are:
| Property | Default Value |
|---|---|
| Key Char | KeyEvent.CHAR_UNDEFINED |
| Key Code | KeyEvent.VK_UNDEFINED |
| Modifiers | none |
| On key release? | false |
AWTKeyStroke
s should not be constructed
by client code. Use a variant of getAWTKeyStroke
instead.getAWTKeyStroke(char)
protected AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease)
AWTKeyStroke
with the specified
values. AWTKeyStroke
s should not be constructed
by client code. Use a variant of getAWTKeyStroke
instead.keyChar
- the character value for a keyboard keykeyCode
- the key code for this AWTKeyStroke
modifiers
- a bitwise-ored combination of any modifiersonKeyRelease
- true
if this
AWTKeyStroke
corresponds
to a key release; false
otherwisegetAWTKeyStroke(char)
protected static void registerSubclass(Class<?> subclass)
AWTKeyStroke
will use when generating new
instances of AWTKeyStroke
s. After invoking this
method, the factory methods will return instances of the specified
Class. The specified Class must be either AWTKeyStroke
or derived from AWTKeyStroke
, and it must have a
no-arg constructor. The constructor can be of any accessibility,
including private
. This operation
flushes the current AWTKeyStroke
cache.subclass
- the new Class of which the factory methods should create
instancesIllegalArgumentException
- if subclass is null
,
or if subclass does not have a no-arg constructorClassCastException
- if subclass is not
AWTKeyStroke
, or a class derived from
AWTKeyStroke
public static AWTKeyStroke getAWTKeyStroke(char keyChar)
AWTKeyStroke
that represents a KEY_TYPED
event for the
specified character.keyChar
- the character value for a keyboard keyAWTKeyStroke
object for that keypublic static AWTKeyStroke getAWTKeyStroke(Character keyChar, int modifiers)
AWTKeyStroke
that represents a KEY_TYPED
event for the
specified Character object and a set of modifiers. Note
that the first parameter is of type Character rather than
char. This is to avoid inadvertent clashes with
calls to getAWTKeyStroke(int keyCode, int modifiers)
.
The modifiers consist of any combination of following:keyChar
- the Character object for a keyboard charactermodifiers
- a bitwise-ored combination of any modifiersAWTKeyStroke
object for that keyIllegalArgumentException
- if keyChar
is
null
InputEvent
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers, boolean onKeyRelease)
AWTKeyStroke
,
given a numeric key code and a set of modifiers, specifying
whether the key is activated when it is pressed or released.
The "virtual key" constants defined in
java.awt.event.KeyEvent
can be
used to specify the key code. For example:
java.awt.event.KeyEvent.VK_ENTER
java.awt.event.KeyEvent.VK_TAB
java.awt.event.KeyEvent.VK_SPACE
java.awt.event.KeyEvent.getExtendedKeyCodeForChar
.
The modifiers consist of any combination of:keyCode
- an int specifying the numeric code for a keyboard keymodifiers
- a bitwise-ored combination of any modifiersonKeyRelease
- true
if the AWTKeyStroke
should represent a key release; false
otherwiseKeyEvent
,
InputEvent
public static AWTKeyStroke getAWTKeyStroke(int keyCode, int modifiers)
AWTKeyStroke
,
given a numeric key code and a set of modifiers. The returned
AWTKeyStroke
will correspond to a key press.
The "virtual key" constants defined in
java.awt.event.KeyEvent
can be
used to specify the key code. For example:
java.awt.event.KeyEvent.VK_ENTER
java.awt.event.KeyEvent.VK_TAB
java.awt.event.KeyEvent.VK_SPACE
keyCode
- an int specifying the numeric code for a keyboard keymodifiers
- a bitwise-ored combination of any modifiersAWTKeyStroke
object for that keyKeyEvent
,
InputEvent
public static AWTKeyStroke getAWTKeyStrokeForEvent(KeyEvent anEvent)
AWTKeyStroke
which represents the
stroke which generated a given KeyEvent
.
This method obtains the keyChar from a KeyTyped
event, and the keyCode from a KeyPressed
or
KeyReleased
event. The KeyEvent
modifiers are
obtained for all three types of KeyEvent
.
anEvent
- the KeyEvent
from which to
obtain the AWTKeyStroke
AWTKeyStroke
that precipitated the eventNullPointerException
- if anEvent
is nullpublic static AWTKeyStroke getAWTKeyStroke(String s)
AWTKeyStroke
.
The string must have the following syntax:
<modifiers>* (<typedID> | <pressedReleasedID>) modifiers := shift | control | ctrl | meta | alt | altGraph typedID := typed <typedKey> typedKey := string of length 1 giving Unicode character. pressedReleasedID := (pressed | released) key key := KeyEvent key code name, i.e. the name following "VK_".If typed, pressed or released is not specified, pressed is assumed. Here are some examples:
"INSERT" => getAWTKeyStroke(KeyEvent.VK_INSERT, 0); "control DELETE" => getAWTKeyStroke(KeyEvent.VK_DELETE, InputEvent.CTRL_MASK); "alt shift X" => getAWTKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK); "alt shift released X" => getAWTKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK, true); "typed a" => getAWTKeyStroke('a');
s
- a String formatted as described aboveAWTKeyStroke
object for that StringIllegalArgumentException
- if s
is null
,
or is formatted incorrectlypublic final char getKeyChar()
AWTKeyStroke
.getAWTKeyStroke(char)
,
KeyEvent.getKeyChar()
public final int getKeyCode()
AWTKeyStroke
.getAWTKeyStroke(int,int)
,
KeyEvent.getKeyCode()
public final int getModifiers()
AWTKeyStroke
.getAWTKeyStroke(int,int)
public final boolean isOnKeyRelease()
AWTKeyStroke
represents a key release.true
if this AWTKeyStroke
represents a key release; false
otherwisegetAWTKeyStroke(int,int,boolean)
public final int getKeyEventType()
KeyEvent
which corresponds to
this AWTKeyStroke
.KeyEvent.KEY_PRESSED
,
KeyEvent.KEY_TYPED
,
or KeyEvent.KEY_RELEASED
KeyEvent
public int hashCode()
hashCode
in class Object
Object.equals(java.lang.Object)
,
System.identityHashCode(java.lang.Object)
public final boolean equals(Object anObject)
equals
in class Object
anObject
- the Object to compare this object toObject.hashCode()
,
HashMap
public String toString()
String
returned by this method can be passed
as a parameter to getAWTKeyStroke(String)
to produce
a key stroke equal to this key stroke.toString
in class Object
getAWTKeyStroke(String)
protected Object readResolve() throws ObjectStreamException
AWTKeyStroke
(or a subclass of
AWTKeyStroke
) which is equal to this instance.ObjectStreamException
Dracula Javadoc Sample, Made with Allan Im.


Type the above code in your panel to connect this device to your account. This code will be expired in


--- layout: post status: publish published: true title: Forrst Invites up for Grabs! author: Arthur Rosa author_login: arthurlockman author_email<EMAIL_ADDRESS>author_url: https://b.rthr.me wordpress_id: 187 wordpress_url: http://b.rthr.me/?p=187 date: '2010-07-09 18:23:37 -0400' date_gmt: '2010-07-09 18:23:37 -0400' ---
Image via CrunchBase
I have a few invites to the Designer/Developer community site Forrst. If you think you deserve them, @reply me on twitter with some of your best work. I'll pick the winners tomorrow afternoon. Let's see some good stuff!


HOME
MENU
CONTACT US
ORDER HERE
MENU
Chicken
PLEASE PLACE YOUR ORDER HERE.


{% extends 'base.html' %} {% load staticfiles %} {% block content %}
Total studies: {{ total }}
Number of datasets available in cBioPortal: {{ available }}
Number of data requests in progress: {{ enroute }}
Number of datasets with associated ciations: {{ citations }} {% block extrahead %} {% endblock %} {% block heading %}


Some statistical jobs are either too memory-greedy or computationally intensive to run on a local machine. At the Johns Hopkins Medical Institutes (JHMI), researchers have access to a Linux cluster running a Oracle Grid Enginge (previously called the Sun Grid Engine).
Jobs on the Joint HPC Exchange (JHPCE) can be run interactively with the qrsh
command or through a qsub
bash submission. JHPCE also has Stata-MP installed so that’s another reason why I use it for larger jobs.
I usually submit a qsub
job by writing qsub Scripts/NAME_OF_SCRIPT
into terminal. All of my scripts are kept in the Scripts directory and usually named with the convention run<PROJECT>_<DO>.sh
or run017_05.sh
for a Stata bash file to run do file 05 in the 017 project (I explain my project organization in another post). The command qsub Scripts/run017_05.sh
will read the follow script.
#!/bin/bash -l
#$ -pe local 2
#$ -l mem_free=3G
#$ -l h_vmem=4G
#$ -m e
#$ -M<EMAIL_ADDRESS>#$ -e efiles
#$ -o ofiles
cd ~/ERGOT/000_workspace/017_multi_donor
stata-mp -b do 05_exp_multi
exit
The line -pe local 2
tells the cluster that I’ll need two computing cores. For JHPCE users - our current license only allows for 2-cores so there’s no benefit to requesting more.
The lines -l mem_free=3G
and h_vmem=4G
tells the cluster that I need 3G of memory allocated to this job. If Stata starts requesting more that 4G, then the job will be aborted. Stata-MP tends to benefit more from computing cores than RAM, so I generally keep these requests low (I often don’t go over 1G of actual use). R, on the otherhand, is memory-greedy so I sometimes request 10-20G of memory for complex jobs.
The next two lines, -m -e
and -M<EMAIL_ADDRESS>tell the cluster to send me an email when the job is done. I wouldn’t use this line if you’re submitting tons of jobs at once, but it’s useful for those one-off jobs that will take hours to complete.
The next two lines, -e efiles
and -o ofiles
tells qsub
to put error files in the efiles directory (located at ~/efiles
) and output files in the ofiles directory (located at ~/ofiles
).
Finally, we get to the actual Stata part. First I change to the working directory with the cd
command. Then I run bash stata using stata-mp -b
- note that you could also write stata-se -b
or stata -b
if you don’t want to use Stata-MP. On the same line I submit the stata command do
and the name of the do file. After that runs we’ll exit Stata with exit
.
Here’s a gist.
comments powered by Disqus


Please upload the short notice if required
Please attach the special resolution along with form 3 as one document
| Title | Comment | Progress | Actions | File |
|---|---|---|---|---|
| {{ rDoc.name }} | {{ rDoc.comments }} |
|
|
{{ comment.comments }}
Please upload your court case document(s) under the other document section
Have you been prosecuted by the court for not filing relevant form during the provided statutory period? * {{court_status}}
You have been discharged?


Beatnik Player's Embedding Properties
|
|
A Beatnik Player is embedded on a page using either an EMBED tag, an OBJECT tag, an EMBED/OBJECT tag combination, or Music Object's magicEmbed method. There are many properties that can be used to customize the appearance and behavior of a Beatnik Player instance. This reference describes all the properties that can be set when embedding Beatnik Player instances on a page.
|
THE BEATNIK EMBEDIFIER : To make your life as a Beatnik content developer a little easier, Beatnik Inc. has gone to the trouble of designing the free Beatnik EMBEDifier tool - a convenient way of creating your own custom EMBED / OBJECT code. Using the EMBEDifier is a breeze.
Try the Beatnik EMBEDifier
|
|
|
|
- Some properties described in this reference are specific to the Beatnik plug-in (Netscape Navigator), and others are specific to the Beatnik ActiveX Control (Microsoft Internet Explorer). This will be noted in the reference information for each property.
- Some of the properties are required, while others are optional. For instance, it is required that every EMBED and OBJECT tag on a page have the WIDTH and HEIGHT properties specified. If a particular property is required it will be noted in the reference for that property.
- For further guidance on using the properties described in this reference to create your own EMBED / OBJECT tags, consult the tutorial Putting Music on a Page.
The table below lists all the properties that can be used when embedding the Beatnik Player.
| Property Name |
Short Description |
| ALIGN |
Lets you specify how a player should be aligned against other HTML elements in a page's layout. |
| AUTOSTART |
Lets you specify whether or not the player should start playing automatically once it completes loading in its file. |
| CLASSID |
Lets you coerce Microsoft Internet Explorer into using the Beatnik Player to embed an audio file. |
| CODEBASE |
Lets you specify the URL location of the downloadable CAB file that will install the Beatnik ActiveX control. |
| DISPLAY |
Lets you specify the display type for the player instance's control panel. |
| ENDTIME |
Lets you specify the position within a file where you would like playback to stop automatically. |
| FILEVOLUMESCALING |
Lets you specify whether a file's internal volume setting should be scaled against the player volume, or simply be ignored. |
| GROOVOID |
Lets you specify the name of a Groovoid that should be played. |
| HEIGHT |
Lets you specify the height of the player instance's control panel, measured in pixels. |
| HIDDEN |
Lets you specify that the player instance's control panel should be hidden. |
| HSPACE |
Lets you specify the amount of horizontal padding space that should be placed around the player instance. |
| LOOP |
Lets you specify the desired looping behavior for the player instance. |
| MODE |
Lets you specify the DISPLAY mode for the information portion of the player instance's control panel. |
| PLUGINSPAGE |
Lets you specify the URL location of the Beatnik Player download page. |
| SRC |
Lets you specify the URL location of a music or audio file that should be loaded into the player instance.. |
| STARTTIME |
Lets you specify the position within a file where you would like playback to start. |
| TYPE |
Lets you coerce Netscape Navigator and Netscape Communicator into using the Beatnik Player to embed an audio file. |
| VOLUME |
Lets you specify the playback volume level for the player instance. |
| VSPACE |
Lets you specify the amount of vertical padding space that should be placed around the player instance. |
| WIDTH |
Lets you specify the width of the player instance's control panel, measured in pixels. |
|
|
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
yes |
| OBJECT Tag PARAM |
- |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The ALIGN property lets you specify how a player should be aligned against other HTML elements in a page's layout.
| |
ALIGN={LEFT | RIGHT | CENTER | TOP | BOTTOM | MIDDLE} |
The ALIGN property can be used as an attribute for the EMBED tag, an attribute for the OBJECT tag, and also a property for the magicEmbed method. Because the browser handles alignment of the player instance, the flow of HTML around the player instance will follow the same rules of alignment that are used for any other HTML elements, such as IMG tags, for example.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
TRUE |
| | |
|
The AUTOSTART property lets you specify whether or not the player should start playing automatically once it completes loading in the file specified by the SRC property.
| |
AUTOSTART={TRUE | FALSE} |
The AUTOSTART property can be used as an attribute for the EMBED tag, a parameter for the OBJECT tag, and also a property for the magicEmbed method. When this property is set to true, the file will play immediately upon loading, and when this property is set to false, the file will not automatically begin playing. All files that are subsequently played by the player instance using the Music Object play method will observe the value set for this property. The autostart state can be obtained and modified using the Music Object API's getAutostart and setAutostart methods, respectively.
- default is TRUE if the AUTOSTART property is specified without a value, and also TRUE if the property is not present at all
- attribute of the EMBED tag and parameter of the OBJECT tag
- can be used in Music Object's magicEmbed method
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
- |
| OBJECT Tag Attribute |
yes |
| OBJECT Tag PARAM |
- |
| magicEmbed Property |
- |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The CLASSID property lets you coerce Microsoft Internet Explorer into using the Beatnik Player to embed an audio file.
| |
CLASSID="CLSID:B384F118-18EE-11D1-95C8-00A024330339" |
This property is specific to Microsoft Internet Explorer and is used to specify the unique Windows class ID of the Beatnik ActiveX control. This property can be used to force the Beatnik Player to handle a file that is specified in the OBJECT tag's SRC parameter, in much the same way as the TYPE attribute is used with the EMBED tag. In order to invoke the Beatnik ActiveX control, the value specified for the CLASSID property must be exactly as shown above.
It is not necessary to specify this property if you are using the Music Object API's magicEmbed method (or other embedding methods) to embed player instances, as these methods set this property automatically.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
- |
| OBJECT Tag Attribute |
yes |
| OBJECT Tag PARAM |
- |
| magicEmbed Property |
- |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The CODEBASE property lets you specify the URL location of the downloadable CAB file that will install the Beatnik ActiveX control.
| |
CODEBASE="http://download.beatnik.com/beatnik-player/beatnik-player.cab" |
This property is specific to Microsoft Internet Explorer. In order for the automatic installation of the Beatnik Player to work correctly, the value specified for the CODEBASE property must be exactly as shown above.
It is not necessary to specify this property if you are using the Music Object API's magicEmbed method (or other embedding methods) to embed player instances, as these methods set this property automatically.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
SYSTEM |
| | |
|
The DISPLAY property lets you specify the display type for the player instance's control panel.
| |
DISPLAY={SONG | SYSTEM} |
Using this property, you can specify whether the player instance's control panel should display information specific to the currently loaded file, or information that is global in nature (such as the output meters or oscilloscope). The DISPLAY property can be used as an attribute for the EMBED tag, a parameter for the OBJECT tag, and also a property for the magicEmbed method. For an understanding of how different values for this property relate to different control panel layouts, consult the appendix Control Panel Layouts.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.3.0 |
| Default Value |
end of song |
| | |
|
The ENDTIME property lets you specify the position, within the file specified by the SRC property, where you would like playback to stop automatically.
The effect of this property is to override the file's natural end position. The ENDTIME property can be used as an attribute for the EMBED tag, a parameter for the OBJECT tag, and also a property for the magicEmbed method.
- end time position can also be set via scripting using the setEndTime method
- see also the companion STARTTIME property
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
2.1.0 |
| Default Value |
TRUE |
| | |
|
The FILEVOLUMESCALING property lets you specify whether a file's internal volume setting should be scaled against the player volume, or simply be ignored.
| |
FILEVOLUMESCALING={TRUE | FALSE | ON | OFF | 1 | 0} |
The values TRUE, ON, and 1 all have the same meaning and indicate that file volume scaling should be enabled. Similarly, the values FALSE, OFF, and 0 all have the same meaning and indicate that file volume scaling should be disabled. For a better understanding of file volume scaling, consult the section Important Concepts: File Volume Scaling.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The GROOVOID property lets you specify the name of a Groovoid that should be played in place of the file specified by the SRC property.
A Groovoid is a "pre-cooked" musical piece that is built right into the player's soundbank. For more information on Groovoids, consult the section Important Concepts: Groovoids. When using the GROOVOID property, the SRC property should still be used to specify the location of a stub file. This is to maintain backward compatibility with some older player versions that always required a SRC property to be specified - even when a Groovoid was being embedded. Newer versions of the player will ignore the SRC property if a GROOVOID property is specified, anyway.
- a stub file must still be specified in the SRC property
- the GROOVOID property should be used in conjunction with the TYPE and SRC properties
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
yes |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
60 |
| | |
|
The HEIGHT property lets you specify the height of the player instance's control panel, measured in pixels.
| |
HEIGHT={0 | 15 | 45 | 60} |
Different combinations of values for the HEIGHT and WIDTH properties correspond to different control panel layouts. For an understanding of how different values for this property relate to different control panel layouts, consult the appendix Control Panel Layouts.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
FALSE |
| | |
|
The HIDDEN property lets you specify that the player instance's control panel should be hidden.
| |
HIDDEN |
Embedding hidden player instances is especially useful for sonifying Web sites where you don't want the sonification to take up any of the sites' precious graphic real estate. When using the HIDDEN attribute, one should also specify the WIDTH=0 HEIGHT=0 embedding properties so that the hidden player instance doesn't occupy any significant space within the page layout. For instance, if you specified the embedding properties WIDTH=144 HEIGHT=60 HIDDEN, the embedded player instance would indeed be hidden, but would still create a blank 144 x 60 pixel space in the page layout - not really the desired effect.
- WIDTH=0 HEIGHT=0 should also be specified when using the HIDDEN property
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
yes |
| OBJECT Tag PARAM |
- |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The HSPACE property lets you specify the amount of horizontal padding space, measured in pixels, that should be placed around the player instance.
| |
HSPACE={pixels} |
The HSPACE property can be used as an attribute for the EMBED tag, an attribute for the OBJECT tag, and also a property for the magicEmbed method. Because the browser handles positioning of the player instance, the flow of HTML around the player instance will follow the same rules that are used for any other HTML elements, such as IMG tags, for example.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
FALSE |
| | |
|
The LOOP property lets you specify the desired looping behavior for the player instance.
| |
LOOP={TRUE | ON | FALSE | OFF | integer where 0 is infinite} |
When a value of true, on, or 0, is specified for this property, then the player will loop the file it is playing indefinitely. When a value of false, off, or 1 is specified, then the player will play through the file it is playing only once and will not repeat. When an integer greater than 1 is specified for this property, then the player will play through the file it is playing as many times as is specified by the property.
The LOOP property can be used as an attribute for the EMBED tag, a parameter for the OBJECT tag, and also a property for the magicEmbed method. All files that are subsequently played by the player instance using the Music Object play method will observe the value set for this property. The looping state can be obtained and modified using the Music Object API's getLoop and setLoop methods, respectively.
- default is TRUE if the LOOP attribute is specified without a value, and FALSE if the attribute is not present at all
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
SCOPE |
| | |
|
The MODE property lets you specify the DISPLAY mode of the information portion of the player instance's control panel.
| |
MODE={METERS | SCOPE | COPYRIGHT} |
When a value of SONG is specified for the DISPLAY property, then there is only one display mode available - the COPYRIGHT mode - which shows the song's author, copyright, and publisher information. When a value of SYSTEM is specified for the DISPLAY property, then there are two display modes available - METERS and SCOPE.
Depending on the values for the WIDTH and HEIGHT properties, there may or may not be an information portion present in the player instance's control panel layout. If this portion is not present, then setting this property will have no effect. The MODE property can be used as an attribute for the EMBED tag, a parameter for the OBJECT tag, and also a property for the magicEmbed method.
For an understanding of how different values for this property relate to different control panel layouts, consult the appendix Control Panel Layouts.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
- |
| magicEmbed Property |
- |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The PLUGINSPAGE property lets you specify the URL location of the Beatnik Player download page.
| |
PLUGINSPAGE="http://www.beatnik.com/to/?player" |
By using this property, you can direct Web site visitors who don't already have the Beatnik Player installed straight to the Beatnik Player download page. This is especially important if you are authoring a Web site to specifically make use of the features of the Beatnik Player. This property is specific to Netscape Navigator and Netscape Communicator. In order for the installation of the Beatnik Player to work correctly, the value specified for the PLUGINSPAGE property must be exactly as shown above.
It is not necessary to specify this property if you are using the Music Object API's magicEmbed method (or other embedding methods) to embed player instances, as these methods set this property automatically.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The SRC property lets you specify the URL location of a music or audio file that should be loaded into the player instance.
The file specified by this property can be a resource on the Web or on a local hard drive or other storage device. The file can be any one of the Beatnik Player's supported file types. New files can be loaded into the player instance subsequently via scripting, using the Music Object API's play method. This property should also be used when the GROOVOID property is specified, so as to maintain backward compatibility with some older player versions.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.3.0 |
| Default Value |
beginning of song |
| | |
|
The STARTTIME property lets you specify the position, within the file specified by the SRC property, where you would like playback to start.
The effect of this property is to override the song's natural beginning position. The STARTTIME property can be used as an attribute for the EMBED tag, a parameter for the OBJECT tag, and also a property for the magicEmbed method.
- start time position can also be set via scripting using the setStartTime method
- see also the companion ENDTIME property
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
- |
| magicEmbed Property |
- |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The TYPE property lets you coerce Netscape Navigator and Netscape Communicator into using the Beatnik Player to embed an audio file.
| |
TYPE="audio/rmf" |
This property is specific to Netscape Navigator and Netscape Communicator and can be used to force the Beatnik Plug-in to handle a file that is specified in the EMBED tag's SRC attribute, in much the same way as the CLASSID attribute is used with the OBJECT tag. In order to invoke the Beatnik Plug-in, the value specified for the TYPE property must be exactly as shown above. Using this property, one may eliminate the need to setup special MIME types on one's server.
It is not necessary to specify this property if you are using the Music Object API's magicEmbed method (or other embedding methods) to embed player instances, as these methods set this property automatically.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
- |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
100 |
| | |
|
The VOLUME property lets you specify the playback volume level for the player instance.
Player volume level is measured in percent, where a value of 100 represents maximum volume and a value of 0 represents minimum volume (or silence). For more information, see the Volume0to100 parameter.
The VOLUME property can be used as an attribute for the EMBED tag, a parameter for the OBJECT tag, and also a property for the magicEmbed method. This property can also be set via scripting using the Music Object API's setVolume method, or queried via scripting using the getVolume method.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
yes |
| OBJECT Tag PARAM |
- |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
- |
| | |
|
The VSPACE property lets you specify the amount of vertical padding space, measured in pixels, that should be placed around the player instance.
| |
VSPACE={pixels} |
The VSPACE property can be used as an attribute for the EMBED tag, an attribute for the OBJECT tag, and also a property for the magicEmbed method. Because the browser handles positioning of the player instance, the flow of HTML around the player instance will follow the same rules that are used for any other HTML elements, such as IMG tags, for example.
| |
| CATEGORY |
Embedding Property |
| EMBED Tag Attribute |
yes |
| OBJECT Tag Attribute |
yes |
| OBJECT Tag PARAM |
yes |
| magicEmbed Property |
yes |
| Min. Player Version |
1.0.0 |
| Default Value |
144 |
| | |
|
The WIDTH property lets you specify the width of the player instance's control panel, measured in pixels.
| |
WIDTH={0 | 144} |
Different combinations of values for the WIDTH and HEIGHT properties correspond to different control panel layouts. For an understanding of how different values for this property relate to different control panel layouts, consult the appendix Control Panel Layouts.


I wanted to implement different drawing apps in different "spaces," challenging myself to interpret what "space" means. In this sketch, I created a drawing app in 3D space. You can draw strokes with your mouse that exist in a 3D world that can be rotated. That way, you can draw on several planes to construct a 3D object viewable from (almost) every angle.


Ensuring effective tailings management at all mine sites in British Columbia
What are Tailings?
Tailings are a by-product of coal and metal mining. Tailings are composed of finely ground rocks and water and often contain reagents or chemicals used in the processing of the target material (e.g., coal and minerals containing metals such as copper or gold).
How are Tailings Different than Overburden and Waste Rock?
Overburden and waste rock are the material (e.g., soil, rock) that is moved during mining activities to access the target material. Unlike tailings, overburden and waste rock do not have concentrations of target materials of economic interest and are not processed. Overburden and waste rock are generally stored on mine sites in piles or dumps, but may also be stored underwater to mitigate leaching and acid rock drainage (ML/ARD).
How are Tailings Managed at mine sites?
Tailings management varies by mine site, in consideration of the processing method and the site conditions. At most major mines where tailings are produced, the tailings are mixed with water and deposited as a slurry into a purpose-built tailing storage facility (TSF). TSF’s often use dams to create capacity to permanently store tailings for the life of the mine and throughout closure.
How are Tailings Regulated?
TSF’s, including mining dams, in British Columbia are regulated under Part 10 of the Health, Safety and Reclamation Code for Mines in British Columbia (the Code), as established under the Mines Act. In response to the Report on Mount Polley Tailings Storage Facility Breach by the Independent Expert Engineering Investigation and Review Panel, Part 10 of the Code was updated in 2016 to introduce several new requirements to improve TSF safety and management.
Continuous Improvement in British Columbia’s Mining Regulations
The Ministry of Energy, Mines and Low Carbon Innovation is committed to continuous regulatory improvement of mining. To support this commitment, the 2016 revisions to TSF Code requirements was the topic of the first Chief Auditor’s report under the Mines Act, titled The Audit of Code Requirements for Tailings Storage Facilities. The audit examined industry compliance with four key Code requirements:
- Engineer of Record
- Independent Tailings Review Board
- TSF Qualified Person
- Annual TSF Inspection (commonly called Dam Safety Inspection)
The Ministry has prepared a table of TSF-related compliance status for metal and coal mines with one or more TSFs.
Visit the site-specific pages on this website to review Dam Safety Inspections.