|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| ch.ethz.* |
| ch.ethz.ssh2.ChannelCondition | ||
public static final int |
CLOSED |
2 |
public static final int |
EOF |
16 |
public static final int |
EXIT_SIGNAL |
64 |
public static final int |
EXIT_STATUS |
32 |
public static final int |
STDERR_DATA |
8 |
public static final int |
STDOUT_DATA |
4 |
public static final int |
TIMEOUT |
1 |
| ch.ethz.ssh2.Connection | ||
public static final java.lang.String |
identification |
"Ganymed Build_251beta1" |
| ch.ethz.ssh2.KnownHosts | ||
public static final int |
HOSTKEY_HAS_CHANGED |
2 |
public static final int |
HOSTKEY_IS_NEW |
1 |
public static final int |
HOSTKEY_IS_OK |
0 |
| ch.ethz.ssh2.packets.Packets | ||
public static final int |
SSH_DISCONNECT_AUTH_CANCELLED_BY_USER |
13 |
public static final int |
SSH_DISCONNECT_BY_APPLICATION |
11 |
public static final int |
SSH_DISCONNECT_COMPRESSION_ERROR |
6 |
public static final int |
SSH_DISCONNECT_CONNECTION_LOST |
10 |
public static final int |
SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE |
9 |
public static final int |
SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT |
1 |
public static final int |
SSH_DISCONNECT_ILLEGAL_USER_NAME |
15 |
public static final int |
SSH_DISCONNECT_KEY_EXCHANGE_FAILED |
3 |
public static final int |
SSH_DISCONNECT_MAC_ERROR |
5 |
public static final int |
SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE |
14 |
public static final int |
SSH_DISCONNECT_PROTOCOL_ERROR |
2 |
public static final int |
SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED |
8 |
public static final int |
SSH_DISCONNECT_RESERVED |
4 |
public static final int |
SSH_DISCONNECT_SERVICE_NOT_AVAILABLE |
7 |
public static final int |
SSH_DISCONNECT_TOO_MANY_CONNECTIONS |
12 |
public static final int |
SSH_EXTENDED_DATA_STDERR |
1 |
public static final int |
SSH_MSG_CHANNEL_CLOSE |
97 |
public static final int |
SSH_MSG_CHANNEL_DATA |
94 |
public static final int |
SSH_MSG_CHANNEL_EOF |
96 |
public static final int |
SSH_MSG_CHANNEL_EXTENDED_DATA |
95 |
public static final int |
SSH_MSG_CHANNEL_FAILURE |
100 |
public static final int |
SSH_MSG_CHANNEL_OPEN |
90 |
public static final int |
SSH_MSG_CHANNEL_OPEN_CONFIRMATION |
91 |
public static final int |
SSH_MSG_CHANNEL_OPEN_FAILURE |
92 |
public static final int |
SSH_MSG_CHANNEL_REQUEST |
98 |
public static final int |
SSH_MSG_CHANNEL_SUCCESS |
99 |
public static final int |
SSH_MSG_CHANNEL_WINDOW_ADJUST |
93 |
public static final int |
SSH_MSG_DEBUG |
4 |
public static final int |
SSH_MSG_DISCONNECT |
1 |
public static final int |
SSH_MSG_GLOBAL_REQUEST |
80 |
public static final int |
SSH_MSG_IGNORE |
2 |
public static final int |
SSH_MSG_KEX_DH_GEX_GROUP |
31 |
public static final int |
SSH_MSG_KEX_DH_GEX_INIT |
32 |
public static final int |
SSH_MSG_KEX_DH_GEX_REPLY |
33 |
public static final int |
SSH_MSG_KEX_DH_GEX_REQUEST |
34 |
public static final int |
SSH_MSG_KEX_DH_GEX_REQUEST_OLD |
30 |
public static final int |
SSH_MSG_KEXDH_INIT |
30 |
public static final int |
SSH_MSG_KEXDH_REPLY |
31 |
public static final int |
SSH_MSG_KEXINIT |
20 |
public static final int |
SSH_MSG_NEWKEYS |
21 |
public static final int |
SSH_MSG_REQUEST_FAILURE |
82 |
public static final int |
SSH_MSG_REQUEST_SUCCESS |
81 |
public static final int |
SSH_MSG_SERVICE_ACCEPT |
6 |
public static final int |
SSH_MSG_SERVICE_REQUEST |
5 |
public static final int |
SSH_MSG_UNIMPLEMENTED |
3 |
public static final int |
SSH_MSG_USERAUTH_BANNER |
53 |
public static final int |
SSH_MSG_USERAUTH_FAILURE |
51 |
public static final int |
SSH_MSG_USERAUTH_INFO_REQUEST |
60 |
public static final int |
SSH_MSG_USERAUTH_INFO_RESPONSE |
61 |
public static final int |
SSH_MSG_USERAUTH_REQUEST |
50 |
public static final int |
SSH_MSG_USERAUTH_SUCCESS |
52 |
public static final int |
SSH_OPEN_ADMINISTRATIVELY_PROHIBITED |
1 |
public static final int |
SSH_OPEN_CONNECT_FAILED |
2 |
public static final int |
SSH_OPEN_RESOURCE_SHORTAGE |
4 |
public static final int |
SSH_OPEN_UNKNOWN_CHANNEL_TYPE |
3 |
| ch.ethz.ssh2.sftp.AttribBits | ||
public static final int |
SSH_FILEXFER_ATTR_FLAGS_APPEND_ONLY |
256 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_ARCHIVE |
16 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_CASE_INSENSITIVE |
8 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_COMPRESSED |
64 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_ENCRYPTED |
32 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_HIDDEN |
4 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_IMMUTABLE |
512 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_READONLY |
1 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_SPARSE |
128 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_SYNC |
1024 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_SYSTEM |
2 |
public static final int |
SSH_FILEXFER_ATTR_FLAGS_TRANSLATION_ERR |
2048 |
| ch.ethz.ssh2.sftp.AttribFlags | ||
public static final int |
SSH_FILEXFER_ATTR_ACCESSTIME |
8 |
public static final int |
SSH_FILEXFER_ATTR_ACL |
64 |
public static final int |
SSH_FILEXFER_ATTR_ALLOCATION_SIZE |
1024 |
public static final int |
SSH_FILEXFER_ATTR_BITS |
512 |
public static final int |
SSH_FILEXFER_ATTR_CREATETIME |
16 |
public static final int |
SSH_FILEXFER_ATTR_CTIME |
32768 |
public static final int |
SSH_FILEXFER_ATTR_EXTENDED |
-2147483648 |
public static final int |
SSH_FILEXFER_ATTR_LINK_COUNT |
8192 |
public static final int |
SSH_FILEXFER_ATTR_MIME_TYPE |
4096 |
public static final int |
SSH_FILEXFER_ATTR_MODIFYTIME |
32 |
public static final int |
SSH_FILEXFER_ATTR_OWNERGROUP |
128 |
public static final int |
SSH_FILEXFER_ATTR_PERMISSIONS |
4 |
public static final int |
SSH_FILEXFER_ATTR_SIZE |
1 |
public static final int |
SSH_FILEXFER_ATTR_SUBSECOND_TIMES |
256 |
public static final int |
SSH_FILEXFER_ATTR_TEXT_HINT |
2048 |
public static final int |
SSH_FILEXFER_ATTR_UNTRANSLATED_NAME |
16384 |
public static final int |
SSH_FILEXFER_ATTR_V3_ACMODTIME |
8 |
public static final int |
SSH_FILEXFER_ATTR_V3_UIDGID |
2 |
| ch.ethz.ssh2.sftp.AttribPermissions | ||
public static final int |
S_IRGRP |
32 |
public static final int |
S_IROTH |
4 |
public static final int |
S_IRUSR |
256 |
public static final int |
S_ISGID |
1024 |
public static final int |
S_ISUID |
2048 |
public static final int |
S_ISVTX |
512 |
public static final int |
S_IWGRP |
16 |
public static final int |
S_IWOTH |
2 |
public static final int |
S_IWUSR |
128 |
public static final int |
S_IXGRP |
8 |
public static final int |
S_IXOTH |
1 |
public static final int |
S_IXUSR |
64 |
| ch.ethz.ssh2.sftp.AttribTypes | ||
public static final int |
SSH_FILEXFER_TYPE_BLOCK_DEVICE |
8 |
public static final int |
SSH_FILEXFER_TYPE_CHAR_DEVICE |
7 |
public static final int |
SSH_FILEXFER_TYPE_DIRECTORY |
2 |
public static final int |
SSH_FILEXFER_TYPE_FIFO |
9 |
public static final int |
SSH_FILEXFER_TYPE_REGULAR |
1 |
public static final int |
SSH_FILEXFER_TYPE_SOCKET |
6 |
public static final int |
SSH_FILEXFER_TYPE_SPECIAL |
4 |
public static final int |
SSH_FILEXFER_TYPE_SYMLINK |
3 |
public static final int |
SSH_FILEXFER_TYPE_UNKNOWN |
5 |
| ch.ethz.ssh2.sftp.AttrTextHints | ||
public static final int |
SSH_FILEXFER_ATTR_GUESSED_BINARY |
3 |
public static final int |
SSH_FILEXFER_ATTR_GUESSED_TEXT |
1 |
public static final int |
SSH_FILEXFER_ATTR_KNOWN_BINARY |
2 |
public static final int |
SSH_FILEXFER_ATTR_KNOWN_TEXT |
0 |
| ch.ethz.ssh2.sftp.ErrorCodes | ||
public static final int |
SSH_FX_BAD_MESSAGE |
5 |
public static final int |
SSH_FX_BYTE_RANGE_LOCK_CONFLICT |
25 |
public static final int |
SSH_FX_BYTE_RANGE_LOCK_REFUSED |
26 |
public static final int |
SSH_FX_CANNOT_DELETE |
22 |
public static final int |
SSH_FX_CONNECTION_LOST |
7 |
public static final int |
SSH_FX_DELETE_PENDING |
27 |
public static final int |
SSH_FX_DIR_NOT_EMPTY |
18 |
public static final int |
SSH_FX_EOF |
1 |
public static final int |
SSH_FX_FAILURE |
4 |
public static final int |
SSH_FX_FILE_ALREADY_EXISTS |
11 |
public static final int |
SSH_FX_FILE_CORRUPT |
28 |
public static final int |
SSH_FX_FILE_IS_A_DIRECTORY |
24 |
public static final int |
SSH_FX_GROUP_INVALID |
30 |
public static final int |
SSH_FX_INVALID_FILENAME |
20 |
public static final int |
SSH_FX_INVALID_HANDLE |
9 |
public static final int |
SSH_FX_INVALID_PARAMETER |
23 |
public static final int |
SSH_FX_LINK_LOOP |
21 |
public static final int |
SSH_FX_LOCK_CONFLICT |
17 |
public static final int |
SSH_FX_NO_CONNECTION |
6 |
public static final int |
SSH_FX_NO_MATCHING_BYTE_RANGE_LOCK |
31 |
public static final int |
SSH_FX_NO_MEDIA |
13 |
public static final int |
SSH_FX_NO_SPACE_ON_FILESYSTEM |
14 |
public static final int |
SSH_FX_NO_SUCH_FILE |
2 |
public static final int |
SSH_FX_NO_SUCH_PATH |
10 |
public static final int |
SSH_FX_NOT_A_DIRECTORY |
19 |
public static final int |
SSH_FX_OK |
0 |
public static final int |
SSH_FX_OP_UNSUPPORTED |
8 |
public static final int |
SSH_FX_OWNER_INVALID |
29 |
public static final int |
SSH_FX_PERMISSION_DENIED |
3 |
public static final int |
SSH_FX_QUOTA_EXCEEDED |
15 |
public static final int |
SSH_FX_UNKNOWN_PRINCIPAL |
16 |
public static final int |
SSH_FX_WRITE_PROTECT |
12 |
| ch.ethz.ssh2.sftp.OpenFlags | ||
public static final int |
SSH_FXF_ACCESS_APPEND_DATA |
8 |
public static final int |
SSH_FXF_ACCESS_APPEND_DATA_ATOMIC |
16 |
public static final int |
SSH_FXF_ACCESS_BLOCK_ADVISORY |
512 |
public static final int |
SSH_FXF_ACCESS_BLOCK_DELETE |
256 |
public static final int |
SSH_FXF_ACCESS_BLOCK_READ |
64 |
public static final int |
SSH_FXF_ACCESS_BLOCK_WRITE |
128 |
public static final int |
SSH_FXF_ACCESS_DELETE_ON_CLOSE |
2048 |
public static final int |
SSH_FXF_ACCESS_DISPOSITION |
7 |
public static final int |
SSH_FXF_ACCESS_NOFOLLOW |
1024 |
public static final int |
SSH_FXF_ACCESS_TEXT_MODE |
32 |
public static final int |
SSH_FXF_CREATE_NEW |
0 |
public static final int |
SSH_FXF_CREATE_TRUNCATE |
1 |
public static final int |
SSH_FXF_OPEN_EXISTING |
2 |
public static final int |
SSH_FXF_OPEN_OR_CREATE |
3 |
public static final int |
SSH_FXF_TRUNCATE_EXISTING |
4 |
| ch.ethz.ssh2.sftp.Packet | ||
public static final int |
SSH_FXP_ATTRS |
105 |
public static final int |
SSH_FXP_CLOSE |
4 |
public static final int |
SSH_FXP_DATA |
103 |
public static final int |
SSH_FXP_EXTENDED |
200 |
public static final int |
SSH_FXP_EXTENDED_REPLY |
201 |
public static final int |
SSH_FXP_FSETSTAT |
10 |
public static final int |
SSH_FXP_FSTAT |
8 |
public static final int |
SSH_FXP_HANDLE |
102 |
public static final int |
SSH_FXP_INIT |
1 |
public static final int |
SSH_FXP_LSTAT |
7 |
public static final int |
SSH_FXP_MKDIR |
14 |
public static final int |
SSH_FXP_NAME |
104 |
public static final int |
SSH_FXP_OPEN |
3 |
public static final int |
SSH_FXP_OPENDIR |
11 |
public static final int |
SSH_FXP_READ |
5 |
public static final int |
SSH_FXP_READDIR |
12 |
public static final int |
SSH_FXP_READLINK |
19 |
public static final int |
SSH_FXP_REALPATH |
16 |
public static final int |
SSH_FXP_REMOVE |
13 |
public static final int |
SSH_FXP_RENAME |
18 |
public static final int |
SSH_FXP_RMDIR |
15 |
public static final int |
SSH_FXP_SETSTAT |
9 |
public static final int |
SSH_FXP_STAT |
17 |
public static final int |
SSH_FXP_STATUS |
101 |
public static final int |
SSH_FXP_SYMLINK |
20 |
public static final int |
SSH_FXP_VERSION |
2 |
public static final int |
SSH_FXP_WRITE |
6 |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Web Development Reading List #163: The End-Of-Year Wrap-Up
Only one week left until Christmas, and people already start freaking out again. No gifts purchased yet, work isn’t finished either, and suddenly some budget has to be spent until the end of the year. All of this puts us under pressure. To avoid the stress, I’ve seen a lot of people take a vacation from now until the end of the year — probably a good idea.
Read more...


Repeat body
while the condition cond
is true.
tf.compat.v1.while_loop( cond, body, loop_vars, shape_invariants=None, parallel_iterations=10, back_prop=True, swap_memory=False, name=None, maximum_iterations=None, return_same_structure=False )
cond
is a callable returning a boolean scalar tensor. body
is a callable
returning a (possibly nested) tuple, namedtuple or list of tensors of the same
arity (length and structure) and types as loop_vars
. loop_vars
is a
(possibly nested) tuple, namedtuple or list of tensors that is passed to both
cond
and body
. cond
and body
both take as many arguments as there are
loop_vars
.
In addition to regular Tensors or IndexedSlices, the body may accept and return TensorArray objects. The flows of the TensorArray objects will be appropriately forwarded between loops and during gradient calculations.
Note that while_loop
calls cond
and body
exactly once (inside the
call to while_loop
, and not at all during Session.run()
). while_loop
stitches together the graph fragments created during the cond
and body
calls with some additional graph nodes to create the graph flow that
repeats body
until cond
returns false.
For correctness, tf.while_loop()
strictly enforces shape invariants for
the loop variables. A shape invariant is a (possibly partial) shape that
is unchanged across the iterations of the loop. An error will be raised
if the shape of a loop variable after an iteration is determined to be more
general than or incompatible with its shape invariant. For example, a shape
of [11, None] is more general than a shape of [11, 17], and [11, 21] is not
compatible with [11, 17]. By default (if the argument shape_invariants
is
not specified), it is assumed that the initial shape of each tensor in
loop_vars
is the same in every iteration. The shape_invariants
argument
allows the caller to specify a less specific shape invariant for each loop
variable, which is needed if the shape varies between iterations. The
tf.Tensor.set_shape
function may also be used in the body
function to indicate that
the output loop variable has a particular shape. The shape invariant for
SparseTensor and IndexedSlices are treated specially as follows:
a) If a loop variable is a SparseTensor, the shape invariant must be TensorShape([r]) where r is the rank of the dense tensor represented by the sparse tensor. It means the shapes of the three tensors of the SparseTensor are ([None], [None, r], [r]). NOTE: The shape invariant here is the shape of the SparseTensor.dense_shape property. It must be the shape of a vector.
b) If a loop variable is an IndexedSlices, the shape invariant must be a shape invariant of the values tensor of the IndexedSlices. It means the shapes of the three tensors of the IndexedSlices are (shape, [shape[0]], [shape.ndims]).
while_loop
implements non-strict semantics, enabling multiple iterations
to run in parallel. The maximum number of parallel iterations can be
controlled by parallel_iterations
, which gives users some control over
memory consumption and execution order. For correct programs, while_loop
should return the same result for any parallel_iterations > 0.
For training, TensorFlow stores the tensors that are produced in the forward inference and are needed in back propagation. These tensors are a main source of memory consumption and often cause OOM errors when training on GPUs. When the flag swap_memory is true, we swap out these tensors from GPU to CPU. This for example allows us to train RNN models with very long sequences and large batches.
cond
: A callable that represents the termination condition of the loop.body
: A callable that represents the loop body.loop_vars
: A (possibly nested) tuple, namedtuple or list of numpy array,
Tensor
, and TensorArray
objects.shape_invariants
: The shape invariants for the loop variables.parallel_iterations
: The number of iterations allowed to run in parallel. It
must be a positive integer.back_prop
: Whether backprop is enabled for this while loop.swap_memory
: Whether GPU-CPU memory swap is enabled for this loop.name
: Optional name prefix for the returned tensors.maximum_iterations
: Optional maximum number of iterations of the while loop
to run. If provided, the cond
output is AND-ed with an additional
condition ensuring the number of iterations executed is no greater than
maximum_iterations
.return_same_structure
: If True, output has same structure as loop_vars
. If
eager execution is enabled, this is ignored (and always treated as True).The output tensors for the loop variables after the loop.
If return_same_structure
is True, the return value has the same
structure as loop_vars
.
If return_same_structure
is False, the return value is a Tensor,
TensorArray or IndexedSlice if the length of loop_vars
is 1, or a list
otherwise.
TypeError
: if cond
or body
is not callable.ValueError
: if loop_vars
is empty.i = tf.constant(0) c = lambda i: tf.less(i, 10) b = lambda i: tf.add(i, 1) r = tf.while_loop(c, b, [i])
Example with nesting and a namedtuple:
import collections Pair = collections.namedtuple('Pair', 'j, k') ijk_0 = (tf.constant(0), Pair(tf.constant(1), tf.constant(2))) c = lambda i, p: i < 10 b = lambda i, p: (i + 1, Pair((p.j + p.k), (p.j - p.k))) ijk_final = tf.while_loop(c, b, ijk_0)
Example using shape_invariants:
i0 = tf.constant(0) m0 = tf.ones([2, 2]) c = lambda i, m: i < 10 b = lambda i, m: [i+1, tf.concat([m, m], axis=0)] tf.while_loop( c, b, loop_vars=[i0, m0], shape_invariants=[i0.get_shape(), tf.TensorShape([None, 2])])
Example which demonstrates non-strict semantics: In the following
example, the final value of the counter i
does not depend on x
. So
the while_loop
can increment the counter parallel to updates of x
.
However, because the loop counter at one loop iteration depends
on the value at the previous iteration, the loop counter itself cannot
be incremented in parallel. Hence if we just want the final value of the
counter (which we print on the line print(sess.run(i))
), then
x
will never be incremented, but the counter will be updated on a
single thread. Conversely, if we want the value of the output (which we
print on the line print(sess.run(out).shape)
), then the counter may be
incremented on its own thread, while x
can be incremented in
parallel on a separate thread. In the extreme case, it is conceivable
that the thread incrementing the counter runs until completion before
x
is incremented even a single time. The only thing that can never
happen is that the thread updating x
can never get ahead of the
counter thread because the thread incrementing x
depends on the value
of the counter.
import tensorflow as tf n = 10000 x = tf.constant(list(range(n))) c = lambda i, x: i < n b = lambda i, x: (tf.compat.v1.Print(i + 1, [i]), tf.compat.v1.Print(x + 1, [i], "x:")) i, out = tf.while_loop(c, b, (0, x)) with tf.compat.v1.Session() as sess: print(sess.run(i)) # prints [0] ... [9999] # The following line may increment the counter and x in parallel. # The counter thread may get ahead of the other thread, but not the # other way around. So you may see things like # [9996] x:[9987] # meaning that the counter thread is on iteration 9996, # while the other thread is on iteration 9987 print(sess.run(out).shape)


CSE 5914 - Knowledge Based Capstone
REST (REpresentational State Transfer) is a simple stateless architecture that generally runs over HTTP.REST is often used in mobile applications, social networking Web sites, mashup tools and automated business processes. The REST style emphasizes that interactions between clients and services is enhanced by having a limited number of operations (verbs). Flexibility is provided by assigning resources (nouns) their own unique universal resource indicators (URIs). Because each verb has a specific meaning (GET, POST, PUT and DELETE), REST avoids ambiguity.
It is resource based unlike action based. When I say resource based I mean that various endpoints of an api correspond to some resources which could be a database or an outcome of a computing algorithm. Where as action based means telling the machine what to do like GET or Post. So with rest we get the resource information rather doing actions unlike soap.
The resources are manipulated to be represented in any way which can be used in the desirable form. It can be represented as whole or a part of itself. Can be represented as json or xml. For example, resource = person(Ravi), Service= contact information(GET), representaion=name, address, phone number, json/xml.
Following are the six constraints required for an API to qualify as REST:
It defines the interface between a client and a server. In broad sense it means that REST gets identified by http verbs(PUT, GET, POST, DELETE), resource(uri) and response(status and body) which simplifies and decouples the architecture which in turn enables each part of the application to evolve independently. The four guiding principles of Uniform Interfaces are:
As explained above.
As explained above.
Each message is packed with enough information, which describes to process itself.
Services deliver state to clients via body content, response codes, and response headers. This is technically referred-to as hypermedia (or hyperlinks within hypertext).
It means that state which is required to handle the request is contained within the request itself, either as part of the URI, query-string parameters, body, or headers. This allows servers not to take part in the state and session maintenance at client's end.
As on the World Wide Web, clients can cache responses. Responses must therefore, implicitly or explicitly, define themselves as cacheable, or not, to prevent clients reusing stale or inappropriate data in response to further requests. Well-managed caching partially or completely eliminates some client–server interactions, further improving scalability and performance.
Rest assumes interaction between disconnected components. Uniform interface constraint links both of them.
It represents both client-server and cacheability constraints. There could be software or hardware intermediaries between client and server. And the client could take the data from the cache before it expires in it before refreshing the same from the darabase.
Server can send logic to the client in form of java applets or javascript. and this is option constraint, which means that an api can qualify as REST without complying with this particular constraint.
Abiding to the REST architecture by designing the API in accordance to the above mentioned constraint would ensure any distributed application infrastructure to have all desirable properties like performance, scalability, simplicity, modifiability, visibility, portability and reliability.
Following features can be leveraged in an aplication using the bleumix set of natural language processiong api's.
Apart from the features mentioned above, Alchemy api provides following two features to be exploited in an application.


All Classes
-
All Classes Interface Summary Class Summary Enum Summary Exception Summary Class Description AccessModifierEnum Created by Yuxiang Liao on 2020-07-08 14:09.AfterScanAndExtract AllTests AOPHandler Created by Yuxiang Liao on 2020-07-03 07:24.BasicController Created by Yuxiang Liao on 2020-06-23 22:50.BasicDatasetUtil Created by Yuxiang Liao on 2020-08-09 01:39.BasicMetric Created by Yuxiang Liao on 2020-07-18 03:55.BelongingnessScanner Created by Yuxiang Liao on 2020-06-16 01:18.BelongingnessScannerTest ClassInfo Created by Yuxiang Liao at 2020-06-09 22:55.ClassInfo.ClassDeclaration ClassInfo.ClassModifier ClassInfo.SLOCType Source File considers a java file as the minimum unit.ClassInfoVisitor Created by Yuxiang Liao on 2020-07-16 15:52.ClassLevelMetric ClassScanner Created by Yuxiang Liao on 2020-06-16 13:42.ClassScannerTest ClassService Created by Yuxiang Liao on 2020-06-26 15:56.ClassTypeUtil Created by Yuxiang Liao on 2020-08-09 01:44.CohesionController Created by Yuxiang Liao on 2020-07-21 23:23.CohesionMetric Created by Yuxiang Liao on 2020-07-17 05:34.CohesionMetric.MethodPair ComplexityController Created by Yuxiang Liao on 2020-07-21 23:23.ComplexityMetric Created by Yuxiang Liao on 2020-07-16 18:39.CouplingController Created by Yuxiang Liao on 2020-07-21 23:23.CouplingMetric Created by Yuxiang Liao on 2020-07-17 04:45.DeclarationVisitor Set the rest info for the classInfo object.DirectoryFileScanner Created by Yuxiang Liao on 2020-06-17 02:43.DirectoryFileScannerTest DirHierarchyNode Used to adjust the dependency of the module， Created by Yuxiang Liao on 2020-06-12 15:36.DocumentController Created by Yuxiang Liao on 2020-08-01 23:16.EntityUtil Created by Yuxiang Liao on 2020-06-21 15:52.FieldInfo Created by Yuxiang Liao on 2020-07-07 16:35.FileUtil Created by Yuxiang Liao on 2020-06-17 06:01.GlobalProperties Created by Yuxiang Liao on 2020-07-29 13:43.GlobalPropertiesTest HomeController Created by Yuxiang Liao on 2020-08-02 17:32.InheritanceController Created by Yuxiang Liao on 2020-07-21 23:23.InheritanceMetric Created by Yuxiang Liao on 2020-07-17 03:49.InMethodDependencyVisitor Created by Yuxiang Liao on 2020-07-11 11:16.JavaParserUtil Created by Yuxiang Liao on 2020-07-12 01:40.MathUtil Created by Yuxiang Liao on 2020-07-17 17:23.MethodInfo Created by Yuxiang Liao on 2020-06-09 22:56.MethodService Created by Yuxiang Liao on 2020-08-08 22:24.MetricsCalculator Created by Yuxiang Liao on 2020-07-16 17:21.MetricsCalculatorTest ModuleInfo Created by Yuxiang Liao on 2020-06-11 09:29.ModuleLevelMetric ModuleScanner Created by Yuxiang Liao on 2020-06-17 02:40.ModuleScannerTest ModuleService Created by Yuxiang Liao on 2020-06-26 13:48.OperationController Created by Yuxiang Liao on 2020-07-03 02:19.PackageInfo Created by Yuxiang Liao on 2020-07-07 18:35.PackageLevelMetric PackageScanner Created by Yuxiang Liao on 2020-06-17 02:40.PackageScannerTest PackageService Created by Yuxiang Liao on 2020-06-26 13:57.ProcessChain Created by Yuxiang Liao on 2020-08-08 01:02.ProcessNode ProjectInfo Created by Yuxiang Liao on 2020-06-09 14:02.ProjectRecordUtil Created by Yuxiang Liao on 2020-06-26 04:01.ProjectService Created by Yuxiang Liao on 2020-06-27 02:37.RegularExprUtil Created by Yuxiang Liao on 2020-08-08 07:21.RFCMetric Created by Yuxiang Liao on 2020-07-14 23:14.ServletInitializer SLOCController Created by Yuxiang Liao on 2020-07-21 23:23.SLOCDatasetUtil Created by Yuxiang Liao on 2020-08-09 01:18.SLOCMetric Created by Yuxiang Liao on 2020-06-19 13:30.SLOCMetric.SLOCCounter SourceCodeResolver Created by Yuxiang Liao on 2020-07-11 11:00.SourceCodeResolverTest SystemVariableNotFoundException Created by Yuxiang Liao on 2020-08-08 09:18.T4MExtractor Created by Yuxiang Liao on 2020-06-17 03:31.T4MProjectInfoSerializer Created by Yuxiang Liao on 2020-06-25 00:09.T4MProjectInfoSerializerTest T4mPropertiesUtil Created by Yuxiang Liao on 2020-06-18 00:58.T4MSerializer T4mWebApplication TimeUtil Created by Yuxiang Liao on 2020-06-25 01:00.


| DOSE: |
8 oz |
oral |
DXM |
(liquid) |
This is the real deal folks. Eat light, but not too light. This buzz will last between 5 - 8 hours (estimated 1 hour per ounce consumed). Chug 8 oz. (in touch with god, very strong buzz), 6 oz. (feeling extremely happy with hallucinations) or 4 oz. (continual buzz) and not less than 4 oz. Chug it!!!  Then, do not eat or drink anything else for about an hour. This would be a great time to watch a movie or something. During this hour you may feel a bit queezy and dizzy.  Then you are off on a psychedelic journey. Be sure to have good music on and visuals - i recomment The Orb (Advertures Beyond the Ultraworld) or Orbital or any techno music. Another great visual is Minds Eye or Virtual Nature (with the other music as background). Sit back, Relax and Enjoy the buzz!
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Before Change
experiment_object.save()
platform_dict = {k: experiment[k]
for k in ("platform_accession_code", "platform_accession_name")}
return experiment_object, platform_dict
def determine_sample_accession(self, experiment_accession: str, sample_source_name: str, sample_assay_name: str, filename: str) -> str:
After Change
// Illumina appears in the accession codes for
// platforms manufactured by Illumina
if "ILLUMINA" in experiment["platform_accession_code"].upper():
experiment["manufacturer"] = "ILLUMINA"
experiment["platform_accession_name"] = platform["platform_accession"]
else:
// It"s not Illumina, the only other supported Microarray platform is
// Affy. As our list of supported platforms grows this logic will
// need to get more sophisticated.
experiment["manufacturer"] = "AFFYMETRIX"
platform_mapping = get_readable_affymetrix_names()
experiment["platform_accession_name"] = platform_mapping[
platform["platform_accession"]]
if "platform_accession_code" not in experiment:
// We don"t know what platform this accession corresponds to.
experiment["platform_accession_code"] = external_accession
experiment["platform_accession_name"] = UNKNOWN


Venue
Vivanta by Taj, New Delhi
(More details will be updated soon)
Getting to Vivanta
Delhi is well connected by road, rail and air.
Flying in:
The nearest airport is Indira Gandhi
International Airport which is one hour
drive by road. The airport serves as a hub for AirAsia India, Alliance Air, Jet Airways, IndiGo,
Air
India and a focus city for SpiceJet. There are direct international flights to Delhi from
Kuala Lumpur, Bhubaneswar, Sharjah, Paris, Singapore, London, Hong-Kong, Dubai, Frankfurt,
Muscat, Bangkok etc... Prepaid taxis are available at the Indira Gandhi
International airport.
Also one can take metro (Airport Line) from airport.
By road:
Delhi is well connected by road network. One can
take
a cab and reach to Vivanta in Dwarka or
cheaper mode of transport can be Delhi Transport Corporation (DTC) buses on route 718.
By train:
The nearest railway station is New Delhi Railway Station (NDLS) from which one can take Airport Line
by walkig 500 meters.
By metro:
The nearest metro station is Dwarka Sector-21 on
Airport Line and Dwarka Sector-8 on
Blue Line.


A few days ago, a video surfaced on social of the immediate ex-boyfriend of Ghana-based Gambian Slay Queen, known as Frederick Badji, who wept over his breakup with the pretty lady.
According to Frederick Badji, who is a Senegalese young man, he will commit suicide if Princess Shyngle does not come back to him as soon as possible.
As you would have it, the Princess Shyngle herself shared a video of Frederic begging and crying for a second chance claiming that he never cheated on her.
The actress captioned the video saying that she is making it public because she wants to end the whole brouhaha publicly just the same way it all started.
Princess Shyngle further revealed that Frederick has been sending videos, threatening to kill himself if she doesn’t allow them to come back.
Princess Shyngle in reply to his threats said she doesn’t care about his suicide intention and she will not even return the ring Frederic proposed to her with.


Creating a File Accessor Plugin¶
Experimental
Please note that this functionality is currently experimental. Creating and using a plugin is not guaranteed to work as expected at this time.
Description
GEE Server implements a plugin system for file accessors. That is, plugins can be implemented that provide the ability to read from different types of file systems, either local or remote. The default POSIX accessor is built in, but additional plugins can be loaded at runtime. Currently, file accessors are only used when serving data, not when building, pushing, and publishing. In those cases, the standard file system functions are used to read and write data.
How to Implement a Plugin
A file accessor plugin needs 3 components. The first is a function called
get_factory_v1
that returns a FileAccessorFactory
pointer. The
signature should be as follows:
FileAccessorFactory* get_factory_v1 ();
The second component is a factory class that inherits from
FileAccessorFactory
and overrides the following method:
virtual AbstractFileAccessor* GetAccessor(const std::string &fileName);
The final component is a class that derives from AbstractFileAccessor
and overrides all of the pure virtual methods. See FileAccessor.h for the
complete interface.
Example
To see a barebones sample implementation, look at
earthenterprise/earth_enterprise/src/common/test_plugins/FileAccessorTestPlugin.cpp
.
Additional Information
get_factory_v1
should be exported asextern "C"
to avoid C++ name mangling.- Plugins need to be built with the same version of the C++ compiler that is used to build Open GEE to ensure compatibility.
- Plugins should be built as shared libraries (.so)
- Once built, plugins can be placed in
/opt/google/plugin/fileaccessor/
prior to running GEE Server. If a plugin fails to load, see the error log for more information.


quux
`Prev `__
Q
`Next `__
--------------
**quux**: /kwuhks/, n.
[Mythically, from the Latin semi-deponent verb quuxo, quuxare, quuxandum
iri; noun form variously ‘quux’ (plural ‘quuces’, anglicized to
‘quuxes’) and ‘quuxu’ (genitive plural is ‘quuxuum’, for four u-letters
out of seven in all, using up all the ‘u’ letters in Scrabble).]
1. Originally, a `*metasyntactic
variable* <../M/metasyntactic-variable.html>`__ like
`*foo* <../F/foo.html>`__ and `*foobar* <../F/foobar.html>`__. Invented
by Guy Steele for precisely this purpose when he was young and naive and
not yet interacting with the real computing community. Many people
invent such words; this one seems simply to have been lucky enough to
have spread a little. In an eloquent display of poetic justice, it has
returned to the originator in the form of a nickname.
2. interj. See `*foo* <../F/foo.html>`__; however, denotes very little
disgust, and is uttered mostly for the sake of the sound of it.
3. Guy Steele in his persona as ‘The Great Quux’, which is somewhat
infamous for light verse and for the ‘Crunchly’ cartoons.
4. In some circles, used as a punning opposite of ‘crux’. “Ah, that's
the quux of the matter!” implies that the point is *not* crucial
(compare `*tip of the ice-cube* <../T/tip-of-the-ice-cube.html>`__).
5. quuxy: adj. Of or pertaining to a quux.
--------------
+-----------------------------+----------------------------+------------------------+
| `Prev `__ | `Up <../Q.html>`__ | `Next `__ |
+-----------------------------+----------------------------+------------------------+
| quotient | `Home <../index.html>`__ | qux |
+-----------------------------+----------------------------+------------------------+


KTM 250 Adventure unveiled - smallest adventure bike in the KTM family
by Team ODWhile the KTM 390 Adventure stole the show at EICMA 2019, the younger, smaller and more accessible 250 Adventure has silently broken cover on the internet. The 250 Adventure wasn't showcased at the EICMA 2019, however, if rumours are to be believed, the adventure motorcycle could be seen in the flesh at its India launch early next month. Most likely, the 250 Adventure will be launched alongside the 390 Adventure in India and could be pitched as a more accessible adventure motorcycle in the KTM family.
As part of undercutting the 390 Adventure, the 250 Adventure misses out on most bells and whistles. To begin with the feature list, the 250 Adventure gets a halogen headlamp instead of an all-LED unit. For suspensions, the 250 Adventure gets standard upside-down forks in the front, and a pre-load and rebound adjustable monoshock in the rear as opposed to the fully adjustable separate function USD forks on the 390 Adventure. The 250 also misses out on the ride-by-wire and traction control, however, the 250 gets a dual-channel ABS that can be completely turned off.
The styling is identical to the elder 390 Adventure which has been a theme in KTM's hierarchy. The tank extensions on the 250 get the KTM's signature orange paint with decals. The seat height is 855mm high and the fuel tank capacity stands at 14.5 litres - identical to the 390 Adventure. The source of power is a 250cc single-cylinder, liquid-cooled, engine that we've seen in the 250 Duke. The power is rated at 29.5PS and 24Nm torque. The engine is mated to a six-speed gearbox.
As mentioned earlier, the 250 Adventure and the 390 Adventure could be launched early December and the deliveries are expected to commence by January 2020. The 250 Adventure could be launched at a price ranging between Rs 2 lakh and 2.1 lakh ex-showroom. With this, the 250 Adventure will be a direct rival to the Royal Enfield Himalayan which retails at Rs 1.8 lakh, ex-showroom Mumbai.
Also Read,
EICMA 2019: 2020 Kawasaki Z900 showcased
EICMA 2019: A closer look at the India-bound KTM 390 Adventure Image Gallery
EICMA 2019: Aprilia RS660 supersport unveiled
EICMA 2019: Husqvarna's Norden concept previews retro-styled ADV motorcycle
EICMA 2019: Brand-new KTM 890 Duke R revealed
EICMA 2019: Harley-Davidson's first-ever adventure tourer and streetfighter have broken cover!


Xiaomi Mi Band 3/4 app update brings seamless adaptation to Android Q -
by Efe UdinRate this post
Chinese manufacturing giant, Xiaomi, recently released a new update for its latest Mi Bands. According to the company, the latest version of the Xiaomi Sports App is currently available on all major app stores. This update brings a couple of upgrades and changes. Most notably, the Xiaomi Mi Band 3 and 4 NFC version add more cards in China and now seamlessly adapt to Android Q. See the list of the changelog below
Xiaomi Mi Band 3/4 app update changelog
On Device
- The Xiaomi Mi Band 4 NFC version adds Hainan card, Shijiazhuang card, Xiamen e cartoon card
- Xiaomi Mi Band 3 adds Hainan card, Shijiazhuang card, Xiamen e cartoon card
- NFC payment optimization
On App
- Three-way login registration allows skipping the binding phone number (iOS)
- Adapts seamlessly to Android Q
- Bugs Fixes
Recall that the Band 3 which arrived in May 2018 is the predecessor of the Mi Band 4 which was released in June this year. Xiaomi added the NFC version from the Band 3. However, this version is mostly available and useable in China. Nevertheless, recent unofficial reports claim that the upcoming Xiaomi Mi Band 5 will add NFC support outside China. According to the report, the Mi Band 5 NFC global version will support contactless payments, work pass and can be used as a bus card. Xiaomi releases its Mi Band every year so we expect the Band 5 next year. From previous hints, the Mi Band 5 may arrive in Q2 2020.


public class AudioSystem extends Object
AudioSystem
class acts as the entry point to the
sampled-audio system resources. This class lets you query and
access the mixers that are installed on the system.
AudioSystem
includes a number of
methods for converting audio data between different formats, and for
translating between audio files and streams. It also provides a method
for obtaining a Line
directly from the
AudioSystem
without dealing explicitly
with mixers.
Properties can be used to specify the default mixer
for specific line types.
Both system properties and a properties file are considered.
In the Oracle reference implementation, the properties file is
"lib/sound.properties" in the JRE
directory. If a property exists both as a system property and in the
properties file, the system property takes precedence. If none is
specified, a suitable default is chosen among the available devices.
The syntax of the properties file is specified in
Properties.load
. The
following table lists the available property keys and which methods
consider them:
| Property Key | Interface | Affected Method(s) |
|---|---|---|
javax.sound.sampled.Clip |
Clip |
getLine(javax.sound.sampled.Line.Info) , getClip() |
javax.sound.sampled.Port |
Port |
getLine(javax.sound.sampled.Line.Info) |
javax.sound.sampled.SourceDataLine |
SourceDataLine |
getLine(javax.sound.sampled.Line.Info) , getSourceDataLine(javax.sound.sampled.AudioFormat) |
javax.sound.sampled.TargetDataLine |
TargetDataLine |
getLine(javax.sound.sampled.Line.Info) , getTargetDataLine(javax.sound.sampled.AudioFormat) |
mixer provider
class. The mixer name is matched against
the String
returned by the getName
method of Mixer.Info
.
Either the class name, or the mixer name may be omitted.
If only the class name is specified, the trailing hash mark
is optional.
If the provider class is specified, and it can be
successully retrieved from the installed providers, the list of
Mixer.Info
objects is retrieved
from the provider. Otherwise, or when these mixers
do not provide a subsequent match, the list is retrieved
from getMixerInfo()
to contain
all available Mixer.Info
objects.
If a mixer name is specified, the resulting list of
Mixer.Info
objects is searched:
the first one with a matching name, and whose
Mixer
provides the
respective line interface, will be returned.
If no matching Mixer.Info
object
is found, or the mixer name is not specified,
the first mixer from the resulting
list, which provides the respective line
interface, will be returned.
For example, the property javax.sound.sampled.Clip
with a value
"com.sun.media.sound.MixerProvider#SunClip"
will have the following consequences when
getLine
is called requesting a Clip
instance:
if the class com.sun.media.sound.MixerProvider
exists
in the list of installed mixer providers,
the first Clip
from the first mixer with name
"SunClip"
will be returned. If it cannot
be found, the first Clip
from the first mixer
of the specified provider will be returned, regardless of name.
If there is none, the first Clip
from the first
Mixer
with name
"SunClip"
in the list of all mixers
(as returned by getMixerInfo
) will be returned,
or, if not found, the first Clip
of the first
Mixer
that can be found in the list of all
mixers is returned.
If that fails, too, an IllegalArgumentException
is thrown.
AudioFormat
,
AudioInputStream
,
Mixer
,
Line
,
Line.Info
| Modifier and Type | Field and Description |
|---|---|
static int |
NOT_SPECIFIED
An integer that stands for an unknown numeric value.
|
| Modifier and Type | Method and Description |
|---|---|
static AudioFileFormat |
getAudioFileFormat(File file)
Obtains the audio file format of the specified
File . |
static AudioFileFormat |
getAudioFileFormat(InputStream stream)
Obtains the audio file format of the provided input stream.
|
static AudioFileFormat |
getAudioFileFormat(URL url)
Obtains the audio file format of the specified URL.
|
static AudioFileFormat.Type[] |
getAudioFileTypes()
Obtains the file types for which file writing support is provided by the system.
|
static AudioFileFormat.Type[] |
getAudioFileTypes(AudioInputStream stream)
Obtains the file types that the system can write from the
audio input stream specified.
|
static AudioInputStream |
getAudioInputStream(AudioFormat.Encoding targetEncoding,
AudioInputStream sourceStream)
Obtains an audio input stream of the indicated encoding, by converting the
provided audio input stream.
|
static AudioInputStream |
getAudioInputStream(AudioFormat targetFormat,
AudioInputStream sourceStream)
Obtains an audio input stream of the indicated format, by converting the
provided audio input stream.
|
static AudioInputStream |
getAudioInputStream(File file)
Obtains an audio input stream from the provided
File . |
static AudioInputStream |
getAudioInputStream(InputStream stream)
Obtains an audio input stream from the provided input stream.
|
static AudioInputStream |
getAudioInputStream(URL url)
Obtains an audio input stream from the URL provided.
|
static Clip |
getClip()
Obtains a clip that can be used for playing back
an audio file or an audio stream.
|
static Clip |
getClip(Mixer.Info mixerInfo)
Obtains a clip from the specified mixer that can be
used for playing back an audio file or an audio stream.
|
static Line |
getLine(Line.Info info)
Obtains a line that matches the description in the specified
Line.Info object. |
static Mixer |
getMixer(Mixer.Info info)
Obtains the requested audio mixer.
|
static Mixer.Info[] |
getMixerInfo()
Obtains an array of mixer info objects that represents
the set of audio mixers that are currently installed on the system.
|
static SourceDataLine |
getSourceDataLine(AudioFormat format)
Obtains a source data line that can be used for playing back
audio data in the format specified by the
AudioFormat object. |
static SourceDataLine |
getSourceDataLine(AudioFormat format,
Mixer.Info mixerinfo)
Obtains a source data line that can be used for playing back
audio data in the format specified by the
AudioFormat object, provided by the mixer
specified by the Mixer.Info object. |
static Line.Info[] |
getSourceLineInfo(Line.Info info)
Obtains information about all source lines of a particular type that are supported
by the installed mixers.
|
static TargetDataLine |
getTargetDataLine(AudioFormat format)
Obtains a target data line that can be used for recording
audio data in the format specified by the
AudioFormat object. |
static TargetDataLine |
getTargetDataLine(AudioFormat format,
Mixer.Info mixerinfo)
Obtains a target data line that can be used for recording
audio data in the format specified by the
AudioFormat object, provided by the mixer
specified by the Mixer.Info object. |
static AudioFormat.Encoding[] |
getTargetEncodings(AudioFormat.Encoding sourceEncoding)
Obtains the encodings that the system can obtain from an
audio input stream with the specified encoding using the set
of installed format converters.
|
static AudioFormat.Encoding[] |
getTargetEncodings(AudioFormat sourceFormat)
Obtains the encodings that the system can obtain from an
audio input stream with the specified format using the set
of installed format converters.
|
static AudioFormat[] |
getTargetFormats(AudioFormat.Encoding targetEncoding,
AudioFormat sourceFormat)
Obtains the formats that have a particular encoding and that the system can
obtain from a stream of the specified format using the set of
installed format converters.
|
static Line.Info[] |
getTargetLineInfo(Line.Info info)
Obtains information about all target lines of a particular type that are supported
by the installed mixers.
|
static boolean |
isConversionSupported(AudioFormat.Encoding targetEncoding,
AudioFormat sourceFormat)
Indicates whether an audio input stream of the specified encoding
can be obtained from an audio input stream that has the specified
format.
|
static boolean |
isConversionSupported(AudioFormat targetFormat,
AudioFormat sourceFormat)
Indicates whether an audio input stream of a specified format
can be obtained from an audio input stream of another specified format.
|
static boolean |
isFileTypeSupported(AudioFileFormat.Type fileType)
Indicates whether file writing support for the specified file type is provided
by the system.
|
static boolean |
isFileTypeSupported(AudioFileFormat.Type fileType,
AudioInputStream stream)
Indicates whether an audio file of the specified file type can be written
from the indicated audio input stream.
|
static boolean |
isLineSupported(Line.Info info)
Indicates whether the system supports any lines that match
the specified
Line.Info object. |
static int |
write(AudioInputStream stream,
AudioFileFormat.Type fileType,
File out)
Writes a stream of bytes representing an audio file of the specified file type
to the external file provided.
|
static int |
write(AudioInputStream stream,
AudioFileFormat.Type fileType,
OutputStream out)
Writes a stream of bytes representing an audio file of the specified file type
to the output stream provided.
|
public static final int NOT_SPECIFIED
NOT_SPECIFIED
for such parameters. Other
methods may also accept or return this value, as documented.public static Mixer.Info[] getMixerInfo()
getMixer(javax.sound.sampled.Mixer.Info)
public static Mixer getMixer(Mixer.Info info)
info
- a Mixer.Info
object representing the desired
mixer, or null
for the system default mixerSecurityException
- if the requested mixer
is unavailable because of security restrictionsIllegalArgumentException
- if the info object does not represent
a mixer installed on the systemgetMixerInfo()
public static Line.Info[] getSourceLineInfo(Line.Info info)
info
- a Line.Info
object that specifies the kind of
lines about which information is requestedLine.Info
objects describing source lines matching
the type requested. If no matching source lines are supported, an array of length 0
is returned.Mixer.getSourceLineInfo(Line.Info)
public static Line.Info[] getTargetLineInfo(Line.Info info)
info
- a Line.Info
object that specifies the kind of
lines about which information is requestedLine.Info
objects describing target lines matching
the type requested. If no matching target lines are supported, an array of length 0
is returned.Mixer.getTargetLineInfo(Line.Info)
public static boolean isLineSupported(Line.Info info)
Line.Info
object. A line is supported if
any installed mixer supports it.info
- a Line.Info
object describing the line for which support is queriedtrue
if at least one matching line is
supported, otherwise false
Mixer.isLineSupported(Line.Info)
public static Line getLine(Line.Info info) throws LineUnavailableException
Line.Info
object.
If a DataLine
is requested, and info
is an instance of DataLine.Info
specifying at least
one fully qualified audio format, the last one
will be used as the default format of the returned
DataLine
.
If system properties
javax.sound.sampled.Clip
,
javax.sound.sampled.Port
,
javax.sound.sampled.SourceDataLine
and
javax.sound.sampled.TargetDataLine
are defined
or they are defined in the file "sound.properties",
they are used to retrieve default lines.
For details, refer to the class description
.
If the respective property is not set, or the mixer
requested in the property is not installed or does not provide the
requested line, all installed mixers are queried for the
requested line type. A Line will be returned from the first mixer
providing the requested line type.
info
- a Line.Info
object describing the desired kind of lineLineUnavailableException
- if a matching line
is not available due to resource restrictionsSecurityException
- if a matching line
is not available due to security restrictionsIllegalArgumentException
- if the system does not
support at least one line matching the specified
Line.Info
object
through any installed mixerpublic static Clip getClip() throws LineUnavailableException
Clip
object.
The returned clip must be opened with the
open(AudioFormat)
or
open(AudioInputStream)
method.
This is a high-level method that uses getMixer
and getLine
internally.
If the system property
javax.sound.sampled.Clip
is defined or it is defined in the file "sound.properties",
it is used to retrieve the default clip.
For details, refer to the class description
.
LineUnavailableException
- if a clip object
is not available due to resource restrictionsSecurityException
- if a clip object
is not available due to security restrictionsIllegalArgumentException
- if the system does not
support at least one clip instance through any installed mixergetClip(Mixer.Info)
public static Clip getClip(Mixer.Info mixerInfo) throws LineUnavailableException
The returned clip must be opened with the
open(AudioFormat)
or
open(AudioInputStream)
method.
This is a high-level method that uses getMixer
and getLine
internally.
mixerInfo
- a Mixer.Info
object representing the
desired mixer, or null
for the system default mixerLineUnavailableException
- if a clip
is not available from this mixer due to resource restrictionsSecurityException
- if a clip
is not available from this mixer due to security restrictionsIllegalArgumentException
- if the system does not
support at least one clip through the specified mixergetClip()
public static SourceDataLine getSourceDataLine(AudioFormat format) throws LineUnavailableException
AudioFormat
object. The returned line
will be provided by the default system mixer, or,
if not possible, by any other mixer installed in the
system that supports a matching
SourceDataLine
object.
The returned line should be opened with the
open(AudioFormat)
or
open(AudioFormat, int)
method.
This is a high-level method that uses getMixer
and getLine
internally.
The returned SourceDataLine
's default
audio format will be initialized with format
.
If the system property
javax.sound.sampled.SourceDataLine
is defined or it is defined in the file "sound.properties",
it is used to retrieve the default source data line.
For details, refer to the class description
.
format
- an AudioFormat
object specifying
the supported audio format of the returned line,
or null
for any audio formatSourceDataLine
objectLineUnavailableException
- if a matching source data line
is not available due to resource restrictionsSecurityException
- if a matching source data line
is not available due to security restrictionsIllegalArgumentException
- if the system does not
support at least one source data line supporting the
specified audio format through any installed mixergetSourceDataLine(AudioFormat, Mixer.Info)
public static SourceDataLine getSourceDataLine(AudioFormat format, Mixer.Info mixerinfo) throws LineUnavailableException
AudioFormat
object, provided by the mixer
specified by the Mixer.Info
object.
The returned line should be opened with the
open(AudioFormat)
or
open(AudioFormat, int)
method.
This is a high-level method that uses getMixer
and getLine
internally.
The returned SourceDataLine
's default
audio format will be initialized with format
.
format
- an AudioFormat
object specifying
the supported audio format of the returned line,
or null
for any audio formatmixerinfo
- a Mixer.Info
object representing
the desired mixer, or null
for the system
default mixerSourceDataLine
objectLineUnavailableException
- if a matching source data
line is not available from the specified mixer due
to resource restrictionsSecurityException
- if a matching source data line
is not available from the specified mixer due to
security restrictionsIllegalArgumentException
- if the specified mixer does
not support at least one source data line supporting
the specified audio formatgetSourceDataLine(AudioFormat)
public static TargetDataLine getTargetDataLine(AudioFormat format) throws LineUnavailableException
AudioFormat
object. The returned line
will be provided by the default system mixer, or,
if not possible, by any other mixer installed in the
system that supports a matching
TargetDataLine
object.
The returned line should be opened with the
open(AudioFormat)
or
open(AudioFormat, int)
method.
This is a high-level method that uses getMixer
and getLine
internally.
The returned TargetDataLine
's default
audio format will be initialized with format
.
If the system property
javax.sound.sampled.TargetDataLine
is defined or it is defined in the file "sound.properties",
it is used to retrieve the default target data line.
For details, refer to the class description
.
format
- an AudioFormat
object specifying
the supported audio format of the returned line,
or null
for any audio formatTargetDataLine
objectLineUnavailableException
- if a matching target data line
is not available due to resource restrictionsSecurityException
- if a matching target data line
is not available due to security restrictionsIllegalArgumentException
- if the system does not
support at least one target data line supporting the
specified audio format through any installed mixergetTargetDataLine(AudioFormat, Mixer.Info)
,
AudioPermission
public static TargetDataLine getTargetDataLine(AudioFormat format, Mixer.Info mixerinfo) throws LineUnavailableException
AudioFormat
object, provided by the mixer
specified by the Mixer.Info
object.
The returned line should be opened with the
open(AudioFormat)
or
open(AudioFormat, int)
method.
This is a high-level method that uses getMixer
and getLine
internally.
The returned TargetDataLine
's default
audio format will be initialized with format
.
format
- an AudioFormat
object specifying
the supported audio format of the returned line,
or null
for any audio formatmixerinfo
- a Mixer.Info
object representing the
desired mixer, or null
for the system default mixerTargetDataLine
objectLineUnavailableException
- if a matching target data
line is not available from the specified mixer due
to resource restrictionsSecurityException
- if a matching target data line
is not available from the specified mixer due to
security restrictionsIllegalArgumentException
- if the specified mixer does
not support at least one target data line supporting
the specified audio formatgetTargetDataLine(AudioFormat)
,
AudioPermission
public static AudioFormat.Encoding[] getTargetEncodings(AudioFormat.Encoding sourceEncoding)
sourceEncoding
- the encoding for which conversion support
is queriedsourceEncoding
is not supported,
an array of length 0 is returned. Otherwise, the array will have a length
of at least 1, representing sourceEncoding
(no conversion).public static AudioFormat.Encoding[] getTargetEncodings(AudioFormat sourceFormat)
sourceFormat
- the audio format for which conversion
is queriedsourceFormat
is not supported,
an array of length 0 is returned. Otherwise, the array will have a length
of at least 1, representing the encoding of sourceFormat
(no conversion).public static boolean isConversionSupported(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat)
targetEncoding
- the desired encoding after conversionsourceFormat
- the audio format before conversiontrue
if the conversion is supported,
otherwise false
public static AudioInputStream getAudioInputStream(AudioFormat.Encoding targetEncoding, AudioInputStream sourceStream)
targetEncoding
- the desired encoding after conversionsourceStream
- the stream to be convertedIllegalArgumentException
- if the conversion is not supportedgetTargetEncodings(AudioFormat.Encoding)
,
getTargetEncodings(AudioFormat)
,
isConversionSupported(AudioFormat.Encoding, AudioFormat)
,
getAudioInputStream(AudioFormat, AudioInputStream)
public static AudioFormat[] getTargetFormats(AudioFormat.Encoding targetEncoding, AudioFormat sourceFormat)
targetEncoding
- the desired encoding after conversionsourceFormat
- the audio format before conversionpublic static boolean isConversionSupported(AudioFormat targetFormat, AudioFormat sourceFormat)
targetFormat
- the desired audio format after conversionsourceFormat
- the audio format before conversiontrue
if the conversion is supported,
otherwise false
public static AudioInputStream getAudioInputStream(AudioFormat targetFormat, AudioInputStream sourceStream)
targetFormat
- the desired audio format after conversionsourceStream
- the stream to be convertedIllegalArgumentException
- if the conversion is not supported
#see #getTargetEncodings(AudioFormat)getTargetFormats(AudioFormat.Encoding, AudioFormat)
,
isConversionSupported(AudioFormat, AudioFormat)
,
getAudioInputStream(AudioFormat.Encoding, AudioInputStream)
public static AudioFileFormat getAudioFileFormat(InputStream stream) throws UnsupportedAudioFileException, IOException
IOException
.stream
- the input stream from which file format information should be
extractedAudioFileFormat
object describing the stream's audio file formatUnsupportedAudioFileException
- if the stream does not point to valid audio
file data recognized by the systemIOException
- if an input/output exception occursInputStream.markSupported()
,
InputStream.mark(int)
public static AudioFileFormat getAudioFileFormat(URL url) throws UnsupportedAudioFileException, IOException
url
- the URL from which file format information should be
extractedAudioFileFormat
object describing the audio file formatUnsupportedAudioFileException
- if the URL does not point to valid audio
file data recognized by the systemIOException
- if an input/output exception occurspublic static AudioFileFormat getAudioFileFormat(File file) throws UnsupportedAudioFileException, IOException
File
. The File
must
point to valid audio file data.file
- the File
from which file format information should be
extractedAudioFileFormat
object describing the audio file formatUnsupportedAudioFileException
- if the File
does not point to valid audio
file data recognized by the systemIOException
- if an I/O exception occurspublic static AudioInputStream getAudioInputStream(InputStream stream) throws UnsupportedAudioFileException, IOException
IOException
.stream
- the input stream from which the AudioInputStream
should be
constructedAudioInputStream
object based on the audio file data contained
in the input stream.UnsupportedAudioFileException
- if the stream does not point to valid audio
file data recognized by the systemIOException
- if an I/O exception occursInputStream.markSupported()
,
InputStream.mark(int)
public static AudioInputStream getAudioInputStream(URL url) throws UnsupportedAudioFileException, IOException
url
- the URL for which the AudioInputStream
should be
constructedAudioInputStream
object based on the audio file data pointed
to by the URLUnsupportedAudioFileException
- if the URL does not point to valid audio
file data recognized by the systemIOException
- if an I/O exception occurspublic static AudioInputStream getAudioInputStream(File file) throws UnsupportedAudioFileException, IOException
File
. The File
must
point to valid audio file data.file
- the File
for which the AudioInputStream
should be
constructedAudioInputStream
object based on the audio file data pointed
to by the File
UnsupportedAudioFileException
- if the File
does not point to valid audio
file data recognized by the systemIOException
- if an I/O exception occurspublic static AudioFileFormat.Type[] getAudioFileTypes()
public static boolean isFileTypeSupported(AudioFileFormat.Type fileType)
fileType
- the file type for which write capabilities are queriedtrue
if the file type is supported,
otherwise false
public static AudioFileFormat.Type[] getAudioFileTypes(AudioInputStream stream)
stream
- the audio input stream for which audio file type support
is queriedpublic static boolean isFileTypeSupported(AudioFileFormat.Type fileType, AudioInputStream stream)
fileType
- the file type for which write capabilities are queriedstream
- the stream for which file-writing support is queriedtrue
if the file type is supported for this audio input stream,
otherwise false
public static int write(AudioInputStream stream, AudioFileFormat.Type fileType, OutputStream out) throws IOException
AudioSystem.NOT_SPECIFIED
.stream
- the audio input stream containing audio data to be
written to the filefileType
- the kind of audio file to writeout
- the stream to which the file data should be writtenIOException
- if an input/output exception occursIllegalArgumentException
- if the file type is not supported by
the systemisFileTypeSupported(javax.sound.sampled.AudioFileFormat.Type)
,
getAudioFileTypes()
public static int write(AudioInputStream stream, AudioFileFormat.Type fileType, File out) throws IOException
stream
- the audio input stream containing audio data to be
written to the filefileType
- the kind of audio file to writeout
- the external file to which the file data should be writtenIOException
- if an I/O exception occursIllegalArgumentException
- if the file type is not supported by
the systemisFileTypeSupported(javax.sound.sampled.AudioFileFormat.Type)
,
getAudioFileTypes()
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 © 1993, 2015, Oracle and/or its affiliates. All rights reserved.


Buhari, Speakers of Houses of Assembly meet in Aso Rock
by https://www.facebook.com/CheerfulpraiseAugustine Ehikioya, Abuja
President Muhammadu Buhari on Thursday met behind closed doors with the Speakers of the 36 State Houses of Assembly.
The meeting started around 11am at the Council Chamber of the Presidential Villa, Abuja.
Before the meeting went into closed door, the Special Adviser to the President on Media and Publicity, Chief Femi Adesina, had announced that the Speakers were on a courtesy visit to the President.
But conspicuously absent as at the time the meeting started were the Speakers of Edo, Bayelsa and Oyo States Houses of Assembly.
Read Also: Buhari signs Executive Order 009 to end open defecation
Present at the meeting were the Speaker of the House of Representatives, Femi Gbajabiamila, Secretary to the Government of the Federation, SGF, Boss Mustapha, Chief of Staff to the President, Abba Kyari.
Others are Permanent Secretary, State House, Jamil Arabi and the Senior Special Assistant to the President on National Assembly Matters.
The meeting was still in progress at the time of filing this report.


Generate RDF or text from web documents in XML, JSON, CSV, GeoJSON, HTML, CBOR, plain text with regular expressions.
Generate RDF or text streams from large CSV documents, MQTT or WebSocket streams, repeated HTTP Get operations.
Directly generate HDT as the output of big transformations.
Use it as partial STTL and SPARQL Function implementations.
Extend it to support new data sources and formats.
SPARQL-Generate is an extension of SPARQL 1.1 for querying not only RDF datasets but also documents in arbitrary formats.
It offers a simple and expressive template-based option to generate RDF Graphs or text, from documents and different streams. It presents the following advantages:
See our predefined SPARQL binding functions and SPARQL-Generate iterator functions. You can also leverage the SPARQL 1.1 extension mechanism and implement your own functions to support any other format.
Try it online New: Integration with the Sublime Text editorMaxime Lefrançois, Antoine Zimmermann, Noorani Bakerally A SPARQL extension for generating RDF from heterogeneous formats, In Proc. Extended Semantic Web Conference, ESWC, May 2017, Portoroz, Slovenia (long paper - PDF - BibTeX)
Maxime Lefrançois, Antoine Zimmermann, Noorani Bakerally Flexible RDF generation from RDF and heterogeneous data sources with SPARQL-Generate, In Proc. the 20th International Conference on Knowledge Engineering and Knowledge Management, EKAW, Nov 2016, Bologna, Italy (demo track - PDF - BibTeX)
Maxime Lefrançois, Antoine Zimmermann, Noorani Bakerally Génération de RDF à partir de sources de données aux formats hétérogènes, Actes de la 17ème conférence Extraction et Gestion des Connaissances, EGC, Jan 2017, Grenoble, France - (PDF - BibTeX)
Use SPARQL-Generate:
Test, evaluate, contribute
Our tests contains tests from related work and more. You can request a new unit test, a new binding function or iterator function on GitHub. We also led a comparative evaluation with the RML reference implementation.
Thank you to the authors of HDT, STTL, SPARQL Function
This work has been partly funded by the ITEA2 12004 SEAS (Smart Energy Aware Systems) project, the ANR 14-CE24-0029 OpenSensingCity project, and bilateral research contracts with ENGIE R&D.


Gecode::Set::LUBndSet Class Reference
Shrinking sets of integers. More...
#include <var-imp.hpp>
Constructors and initialization | |
|
| |
| LUBndSet (void) | |
| Default constructor. Creates an empty set. | |
| LUBndSet (Space &home) | |
| Initialize as the full set including everything between Limits::min and Limits::max. | |
| LUBndSet (Space &home, int i, int j) | |
| Initialize as the set . | |
| LUBndSet (Space &home, const IntSet &s) | |
| Initialize as the set represented by s. | |
| void | init (Space &home) |
| Initialize as the full set including everything between Limits::min and Limits::max. | |
Update operations | |
|
| |
| bool | exclude (Space &home, int i, int j, SetDelta &d) |
| Exclude the set from this set. | |
| bool | intersect (Space &home, int i, int j) |
| Intersect this set with the set . | |
| template<class I > | |
| bool | intersectI (Space &home, I &i) |
| Exclude all elements not in the set represented by i from this set. | |
| template<class I > | |
| bool | excludeI (Space &home, I &i) |
| Exclude all elements in the set represented by i from this set. | |
| void | excludeAll (Space &home) |
| Exclude all elements from this set. |
Detailed Description
Shrinking sets of integers.
These sets provide operations for monotonically shrinking the set. Shrinking sets are used for implementing the least upper bound of set variables.
Definition at line 247 of file var-imp.hpp.
Constructor & Destructor Documentation
| Gecode::Set::LUBndSet::LUBndSet | ( | void | ) | [inline] |
Default constructor. Creates an empty set.
Definition at line 317 of file integerset.hpp.
| Gecode::Set::LUBndSet::LUBndSet | ( | Space & | home | ) | [inline] |
Initialize as the full set including everything between Limits::min and Limits::max.
Definition at line 320 of file integerset.hpp.
| Gecode::Set::LUBndSet::LUBndSet | ( | Space & | home, | |
| int | i, | |||
| int | j | |||
| ) | [inline] |
Initialize as the set .
Definition at line 324 of file integerset.hpp.
Initialize as the set represented by s.
Definition at line 328 of file integerset.hpp.
Member Function Documentation
| void Gecode::Set::LUBndSet::init | ( | Space & | home | ) | [inline] |
Initialize as the full set including everything between Limits::min and Limits::max.
Definition at line 332 of file integerset.hpp.
Exclude the set from this set.
Definition at line 343 of file integerset.hpp.
| bool Gecode::Set::LUBndSet::intersect | ( | Space & | home, | |
| int | i, | |||
| int | j | |||
| ) | [inline] |
Intersect this set with the set .
Definition at line 359 of file integerset.hpp.
| bool Gecode::Set::LUBndSet::intersectI | ( | Space & | home, | |
| I & | i | |||
| ) | [inline] |
Exclude all elements not in the set represented by i from this set.
Definition at line 374 of file integerset.hpp.
| bool Gecode::Set::LUBndSet::excludeI | ( | Space & | home, | |
| I & | i | |||
| ) | [inline] |
Exclude all elements in the set represented by i from this set.
Definition at line 389 of file integerset.hpp.
| void Gecode::Set::LUBndSet::excludeAll | ( | Space & | home | ) | [inline] |
Exclude all elements from this set.
Definition at line 399 of file integerset.hpp.
The documentation for this class was generated from the following files:
- gecode/set/var-imp.hpp (Revision: 15465)
- gecode/set/var-imp/integerset.cpp (Revision: 8082)
- gecode/set/var-imp/integerset.hpp (Revision: 14967)


My Favorite Sites
Duke University
Duke Computer Science
Duke Basketball
Duke Lemur Center
Duke Marine Lab
Events at Duke
Duke Chronicle
Duke Chapel


| 302 |
Camden |
2022001 |
Abacus Belsize Primary School |
£16,920 |
| 302 |
Camden |
2022019 |
Argyle Primary School |
£18,840 |
| 302 |
Camden |
2022036 |
Beckford Primary School |
£19,460 |
| 302 |
Camden |
2022065 |
Brecknock Primary School |
£19,120 |
| 302 |
Camden |
2022078 |
Brookfield Primary School |
£19,460 |
| 302 |
Camden |
2021101 |
Camden Primary Pupil Referral Unit |
£16,200 |
| 302 |
Camden |
2022095 |
Carlton Primary School |
£18,660 |
| 302 |
Camden |
2025950 |
Children's Hospital School at Gt Ormond Street and UCH |
£16,490 |
| 302 |
Camden |
2023323 |
Christ Church Primary School, Hampstead |
£17,640 |
| 302 |
Camden |
2023327 |
Christ Church School |
£17,720 |
| 302 |
Camden |
2022842 |
Christopher Hatton Primary School |
£17,760 |
| 302 |
Camden |
2022184 |
Edith Neville Primary School |
£17,630 |
| 302 |
Camden |
2022841 |
Eleanor Palmer Primary School |
£17,800 |
| 302 |
Camden |
2023340 |
Emmanuel Church of England Primary School |
£18,100 |
| 302 |
Camden |
2022797 |
Fitzjohn's Primary School |
£17,750 |
| 302 |
Camden |
2022219 |
Fleet Primary School |
£17,750 |
| 302 |
Camden |
2027008 |
Frank Barnes School for Deaf Children |
£16,260 |
| 302 |
Camden |
2022775 |
Gospel Oak Primary School |
£19,580 |
| 302 |
Camden |
2023352 |
Hampstead Parochial Church of England Primary School |
£17,990 |
| 302 |
Camden |
2022290 |
Hawley Primary School |
£17,130 |
| 302 |
Camden |
2023361 |
Holy Trinity and Saint Silas CofE Primary School, NW1 |
£17,780 |
| 302 |
Camden |
2023359 |
Holy Trinity CofE Primary School, NW3 |
£17,560 |
| 302 |
Camden |
2023370 |
Kentish Town Church of England Primary School |
£17,800 |
| 302 |
Camden |
2022002 |
Kings Cross Academy |
£17,180 |
| 302 |
Camden |
2022843 |
Kingsgate Primary School |
£21,300 |
| 302 |
Camden |
2022436 |
Netley Primary School & Centre for Autism |
£19,340 |
| 302 |
Camden |
2022438 |
New End Primary School |
£19,250 |
| 302 |
Camden |
2023655 |
Our Lady Roman Catholic Primary School |
£17,690 |
| 302 |
Camden |
2022475 |
Primrose Hill School |
£19,510 |
| 302 |
Camden |
2022502 |
Rhyl Primary School |
£19,240 |
| 302 |
Camden |
2022507 |
Richard Cobden Primary School |
£19,310 |
| 302 |
Camden |
2023391 |
Rosary Roman Catholic Primary School |
£18,520 |
| 302 |
Camden |
2027201 |
Royal Free Hospital Children's School |
£16,520 |
| 302 |
Camden |
2023398 |
St Alban's Church of England Primary School |
£17,610 |
| 302 |
Camden |
2023400 |
St Aloysius Catholic Primary School |
£18,750 |
| 302 |
Camden |
2023429 |
St Dominic's Catholic Primary School |
£17,940 |
| 302 |
Camden |
2023649 |
St Eugene de Mazenod Roman Catholic Primary School |
£17,720 |
| 302 |
Camden |
2023441 |
St George the Martyr Church of England Primary School |
£17,720 |
| 302 |
Camden |
2023482 |
St Josephs Catholic Primary School |
£17,580 |
| 302 |
Camden |
2022000 |
St Luke's Church of England Primary |
£16,890 |
| 302 |
Camden |
2023521 |
St Mary and St Pancras Church of England Primary School |
£17,730 |
| 302 |
Camden |
2023517 |
St Mary and St Pancras Church of England Primary School |
£2,300 |
| 302 |
Camden |
2027771 |
St Mary's Kilburn Church of England Primary School |
£17,720 |
| 302 |
Camden |
2023546 |
St Michael's Church of England Primary School |
£17,570
|
| 302 |
Camden |
2023560 |
St Patrick's Catholic Primary School |
£17,690 |
| 302 |
Camden |
2023568 |
St Paul's Church of England Primary School |
£17,780 |
| 302 |
Camden |
2027205 |
Swiss Cottage School - Development & Research Centre |
£16,910 |
| 302 |
Camden |
2022603 |
Torriano Primary School |
£19,490 |


|
Repeats a string instruction the number of times specified in the count register ((E)CX) or until the indicated condition of the ZF flag is no longer met. The REP (repeat), REPE (repeat while equal), REPNE (repeat while not equal), REPZ (repeat while zero), and REPNZ (repeat while not zero) mnemonics are prefixes that can be added to one of the string instructions. The REP prefix can be added to the INS, OUTS, MOVS, LODS, and STOS instructions, and the REPE, REPNE, REPZ, and REPNZ prefixes can be added to the CMPS and SCAS instructions. (The REPZ and REPNZ prefixes are synonymous forms of the REPE and REPNE prefixes, respectively.) The behavior of the REP prefix is undefined when used with non-string instructions.
The REP prefixes apply only to one string instruction at a time. To repeat a block of instructions, use the LOOP instruction or another looping construct.
All of these repeat prefixes cause the associated instruction to be repeated until the count in register (E)CX is decremented to 0 (see table below). (If the current address-size attribute is 32, register ECX is used as a counter, and if the address-size attribute is 16, the CX register is used.) The REPE, REPNE, REPZ, and REPNZ prefixes also check the state of the ZF flag after each iteration and terminate the repeat loop if the ZF flag is not in the specified state. When both termination conditions are tested, the cause of a repeat termination can be determined either by testing the (E)CX register with a JECXZ instruction or by testing the ZF flag with a JZ, JNZ, and JNE instruction.
Repeat Prefixes
| Repeat Prefix | Termination Condition 1 | Termination Condition 2 |
| REP | ECX=0 | None |
| REPE/REPZ | ECX=0 | ZF=0 |
| REPNE/REPNZ | ECX=0 | ZF=1 |
When the REPE/REPZ and REPNE/REPNZ prefixes are used, the ZF flag does not require initialization because both the CMPS and SCAS instructions affect the ZF flag according to the results of the comparisons they make.
A repeating string operation can be suspended by an exception or interrupt. When this happens, the state of the registers is preserved to allow the string operation to be resumed upon a return from the exception or interrupt handler. The source and destination registers point to the next string elements to be operated on, the EIP register points to the string instruction, and the ECX register has the value it held following the last successful iteration of the instruction. This mechanism allows long string operations to proceed without affecting the interrupt response time of the system.
When a fault occurs during the execution of a CMPS or SCAS instruction that is prefixed with REPE or REPNE, the EFLAGS value is restored to the state prior to the execution of the instruction.
Since the SCAS and CMPS instructions do not use EFLAGS as an input, the processor can resume the instruction after the page fault handler.
Use the REP INS and REP OUTS instructions with caution. Not all I/O ports can handle the rate at which these instructions execute.
A REP STOS instruction is the fastest way to initialize a large block of memory.
|


"JOIARIB "(whom Jehovah defends) = Jehoiarib. (1.) The founder of one of the courses of the priests (Nehemiah 11:10). (2.) Nehemiah 11:5; a descendant of Judah. (3.) Nehemiah 12:6. (4.) Ezra 8:16, a “man of understanding” whom Ezra sent to “bring ministers for the house of God.”
"JOIARIB "(whom Jehovah defends) = Jehoiarib. (1.) The founder of one of the courses of the priests (Nehemiah 11:10).
(2.) Nehemiah 11:5; a descendant of Judah.
(3.) Nehemiah 12:6.
(4.) Ezra 8:16, a “man of understanding” whom Ezra sent to “bring ministers for the house of God.”


Bills
|
Dashboard
|
Users
|
Cashbacks
|
Outlets
|
Offers
{{data.locality}}
Search By Locality
{{data.name}}
Search By Name
TRUE
FALSE
Search by Trending
Id
Name
Contact Number
Image
Location
Address
offer
cashback
trending
Created On
{{ data.id }}
{{ data.name }}
{{ data.mobile }}
{{ data.locality }}
{{ data.address }}
{{ data.offer }}
{{ data.cashback }}
{{ data.trending }}
{{ data.date }}


# Region-based Heterogeneous Memory Management
## Design
### Usage
To allocate 4KB CPU memory:
```cpp
p = memory::Alloc(platform::CPUPlace(), 4*1024);
```
To allocate 4KB memory on the 3rd GPU:
```cpp
p = memory::Alloc(platform::CUDAPlace(2), 4*1024);
```
To free memory and check the so-far used amount of memory on a place:
```cpp
auto pl = platform::CUDAPlace(0);
p = memory::Alloc(pl, 4*1024);
cout << memory::Used(pl);
memory::Free(pl, p);
```
### API
In `paddle/memory/memory.h` we have:
```cpp
namespace memory {
template void* Alloc(Place, size_t);
template void Free(Place, void*);
template size_t Used(Place);
} // namespace memory
```
These function templates have specializations on either `platform::CPUPlace` or `platform::CUDAPlace`:
```cpp
template<>
void* Alloc(CPUPlace p, size_t size) {
return GetCPUBuddyAllocator()->Alloc(size);
}
```
and
```cpp
template<>
void Alloc(CUDAPlace p, size_t size) {
return GetGPUBuddyAllocator(p.id)->Alloc(size);
}
```
Similar specializations exist for `Free` and `Used`.
### Implementation
`GetCPUBuddyAllocator` and `GetGPUBuddyAllocator` are singletions.
```cpp
BuddyAllocator* GetCPUBuddyAllocator() {
static BuddyAllocator* a = NULL;
if (a == NULL) {
a = new BuddyAllocator(new CPUAllocator /*backup allocator*/, ...);
}
return a;
}
BuddyAllocator* GetGPUBuddyAllocator(int gpu_id) {
static BuddyAllocator* as = NULL;
if (as == NULL) {
as = new BuddyAllocator*[platform::NumGPUs()];
for (int gpu = 0; gpu < platform::NumGPUs(); gpu++) {
as[gpu] = new BuddyAllocator(new GPUAllocator(gpu) /* backup allocator */, ...);
}
}
return as[gpu_id);
```
#### `BuddyAllocator`
`BuddyAllocator` implements the buddy allocation algorithm. Its constructor takes parameters only related with the algorithm:
```cpp
BuddyAllocator::BuddyAllocator(initial_pool_size, max_pool_size) {
...
}
```
Please be aware that **`BuddyAllocator` always allocate aligned memory**, aligned on 32-bytes, which can hold a `BuddyAllocator::Block` object:
```cpp
class BuddyAllocator {
private:
struct Block {
size_t size;
Block* left, right;
size_t index; // allocator id
};
...
};
```
Because BuddyAllocator has the meta-data of each block, it can trace the used memory -- record the amount returned by `Alloc` freed in `Free`. Instead, `CPUAllocator` and `GPUAllocator` doesn't know the size of freed memory block and cannot do the trace.
#### System Allocators
The `GPUAllocator` and `CPUAllocator` are calls *system allocators*. They work as the fallback allocators of `BuddyAllocator`.
## Justification
I got inspiration from Majel and Caffe2, though above design look different from both.
### Caffe2
In Caffe2, `Tensor::mutable_data()` allocates the memroy. In particular, [`Tensor::mutable_data`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/tensor.h#L523) calls [`Tensor::raw_mutable_data`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/tensor.h#L459), which in turn calls [`Context::New`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/tensor.h#L479).
There are two implementations of `Context`:
1. [`CPUContext`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/context.h#L105), whose [`New` method](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/context.h#L131) calls [`g_cpu_allocator.get()->New(size_t)`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/context.cc#L15) to allocate the memory.
1. [`CUDAContext`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/context_gpu.h#L99), which has a data member [`int gpu_id_`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/context_gpu.h#L202). This looks very similar to class `majel::CUDAPlace`, who also has an `int id_` data member. `CUDAContext::New(size_t)` calls [`g_cub_allocator->DeviceAllocate(&ptr, nbytes)`](https://github.com/caffe2/caffe2/blob/v0.7.0/caffe2/core/context_gpu.cu#L355) to allocate the memory.
### Majel
In Majel, there are basically two allocator types:
1. `cpu::SystemAllocator`, which has similar functionality to `caffe2::CPUContext::New/Delete`.
1. `gpu::SystemAllocator`, which has similar functionality to `caffe2::CUDAContext::New/Delete`.
However, memory allocation is not via these two allocators. Instead, these two allocators are defined in hidden namespaces.
In Majel there are hidden global variables like:
1. `cpu::SystemAllocator g_cpu_allocator`, and
1. `vector g_gpu_allocators(NUM_GPUS)`.
Programs allocate memory via a BuddyAllocator, which can take the `g_cpu_allocator` or a `g_gpu_allocators[gpu_id]` as its *fallback allocator*, so that if BuddyAllocator cannot find a block in its memory pool, it extends its memory pool by calling the fallback allocator's `New(size_t)`.


TICKETS ON SALE ● TICKETS ON SALE ● TICKETS ON SALE ● TICKETS ON SALE ● TICKETS ON SALE
JOCK BOYD (AU) ● PETER MCKINNON (EU) ● BORIS BREJCHA (NE) ● DJ MULLER (BR) ● DJ REKAB (UK) ● EMPERORS (AU) ● THE CHEVELLES (AU) ● COERCE (AU) ● FEMME FATALES (AU) ● HAWKS OF ALBA (AU) ● THE THIEVES (AU) ● AFOREMENTION (FR) ●
* Early bird price ends in August, when ticket costs for 3 days will change to full price.


{% load humanize %} {% load mathfilters %}
You have received PHP {{ total_inflow|intcomma }} and disbursed PHP {{ total_outflow|intcomma }}. Your net cash flow is PHP {{ net_flow|intcomma }} and you currently have PHP {{ total_money|intcomma }}.
{% if test_mode %}The balance of {{ title }} account is PHP {{ total_title|intcomma }}.
The balance of {{ type }} group of accounts is PHP {{ total_type|intcomma }}.
Test value: {{ test }}
{% endif %} {% endwith %}


GEANY(1) GEANY(1) NAME Geany — a small and lightweight IDE SYNOPSIS geany [option] [+number] [files ...] DESCRIPTION Geany is a small and fast editor with basic features of an integrated development environment. Some of its features: syntax highlighting, code completion, code folding, symbol/tag lists and many supported filetypes like C(++), Java, PHP, HTML, DocBook, Perl and more. Homepage: http://www.geany.org/ OPTIONS files ... A space-separated list of filenames. Absolute and relative filenames can be used. Geany also recognises line and column information when appended to the filename with colons, e.g. "geany foo.bar:10:5" will open the file foo.bar and place the cursor in line 10 at column 5. Projects can also be opened but a project file (*.geany) must be the first non-option argument. All additionally given files are ignored. +number Set initial line number for the first opened file (same as --line, do not put a space between the + sign and the number). E.g. "geany +7 foo.bar" will open the file foo.bar and place the cursor in line 7. --column Set initial column number for the first opened file (useful in conjunction with --line). -c, --config Use an alternate configuration directory. Default configuration directory is ~/.config/geany/ and there resides geany.conf and some template files. --ft-names Print a list of Geany's internal filetype names (useful snip‐ pets configuration). -g, --generate-tags Generate a global tags file (see documentation). -P, --no-preprocessing Don't preprocess C/C++ files when generating tags. -i, --new-instance Don't open files in a running instance, force opening a new instance. Only available if Geany was compiled with support for Sockets. -l, --line Set initial line number for the first opened file. --list-documents Return a list of open documents in a running Geany instance. This can be used to read the currently opened documents in Geany from an external script or tool. The returned list is separated by newlines (LF) and consists of the full, UTF-8 encoded filenames of the documents. Only available if Geany was compiled with support for Sockets. -m, --no-msgwin Don't show the message window. Use this option if you don't need compiler messages or VTE support. -n, --no-ctags Don't load symbol completion and call tip data. Use this option, if you don't want to use them. For more information please see documentation. -p, --no-plugins Don't load plugin support. --print-prefix Print installation prefix, the data directory, the lib direc‐ tory and the locale directory (in this order) to stdout, each per line. This is mainly intended for plugin authors to detect installation paths. -r, --read-only Open all files given on the command line in read-only mode. This only applies to files opened explicitly from the command line, so files from previous sessions or project files are unaffected. -s, --no-session Don't load the previous session's files. -t, --no-terminal Don't load terminal support. Use this option, if you don't want to load the virtual terminal emulator widget at startup. If you don't have libvte.so.4 installed, then terminal-support is automatically disabled. Only available if Geany was compiled with support for VTE. --socket-file Use this socket filename for communication with a running Geany instance --vte-lib Specify explicitly the path including filename or only the filename to the VTE library, e.g. /usr/lib/libvte.so or lib‐ vte.so. This option is only needed, when the autodetection doesn't work. Only available if Geany was compiled with support for VTE. -v, --verbose Be verbose (print useful status messages). -V, --version Show version information and exit. -?, --help Show help information and exit. Geany supports all generic GTK options, a list is available on the help screen. AUTHOR This manual page was written by the Geany developer team. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2. The complete text of the GNU General Public License can be found in /usr/share/geany/GPL-2. geany 1.22 June 18, 2012 GEANY(1)


---
layout: post
title: VIM + gpicker = SublimeText 2 like files fuzzy searching
date: 2012-06-15 12:40:23 UTC
updated: 2012-06-15 12:40:23 UTC
comments: true
category: editor
tags: [vim, fuzzy, linux, fuzzy-search, find, emacs, sublimetext]
---
Authors of SublimeText2 make great job with Fuzzy searching. In the past I've used Command-T and CtrlP plugins but both of them doesn't works well for me. Then i found Gpicker project it is written in C so its very fast and can be used in two most powerful editors: VIM (gpicker.vim) or Emacs (gpicker.el). I'm using now gpicker for both of them. It's not so powerful like SublimeText but it get the job done very well.
You can install gpicker in ubuntu
$ sudo apt-get install gpicker
map <Leader>p :GPickFile<CR> noremap <C-p> :GPickFile<CR> map <Leader>. :GPickBuffer<CR>
$ curl -L https://raw.github.com/exu/vim-dotfiles/master/gitinstall|bash


The setup interfaces are used for managing the application and its accounts.
Users with Principal View access can, within the scope of their assigned user roles, view and manage the application accounts, users, and devices. Permitted users obtain this view by selecting Principal on the main menu bar account drop-down menu.
Users with Account View access can, also within the scope of their assigned user roles, view and manage resources within the accounts to which they belong.


The SockUtil
structure provides a collection of utility functions for
programming with the Basis Library
Socket
structure
Synopsis
signature SOCK_UTIL
structure SockUtil : SOCK_UTIL
Interface
datatype port = PortNumber of int | ServName of string
datatype hostname = HostName of string | HostAddr of NetHostDB.in_addr
val scanAddr : (char, 'a) StringCvt.reader
-> ({host : hostname, port : port option}, 'a) StringCvt.reader
val addrFromString : string -> {host : hostname, port : port option} option
exception BadAddr of string
val resolveAddr : {host : hostname, port : port option}
-> {host : string, addr : NetHostDB.in_addr, port : int option}
type 'a stream_sock = ('a, Socket.active Socket.stream) Socket.sock
val connectINetStrm : {addr : NetHostDB.in_addr, port : int}
-> INetSock.inet stream_sock
val recvVec : ('a stream_sock * int) -> Word8Vector.vector
val recvStr : ('a stream_sock * int) -> string
val sendVec : ('a stream_sock * Word8Vector.vector) -> unit
val sendStr : ('a stream_sock * string) -> unit
val sendArr : ('a stream_sock * Word8Array.array) -> unit
Description
datatype port = PortNumber of int | ServName of string
-
specifies a port identifier, which either be a number (
Port
) or the name of a service (ServName
). datatype hostname = HostName of string | HostAddr of NetHostDB.in_addr
-
something
val scanAddr : (char, 'a) StringCvt.reader -> ({host : hostname, port : port option}, 'a) StringCvt.reader
-
scanAddr getc
returns an address reader. An address is a string of the form \(\mathit{addr}\,[\,\mathtt{:}\,\mathit{port}\,\)], where \(\mathit{addr}\) may either be a numeric or symbolic host name and the optional port is either a decimal port number or alphanumeric service name. Legal host names must begin with a letter, and may contain any alphanumeric character, the minus sign (-
) and period (.
), where the period is used as a domain separator. val addrFromString : string -> {host : hostname, port : port option} option
-
addrFromString addr
converts the stringaddr
to a host-port address specifier. The syntax of addresses is as described forscanAddr
.
exception BadAddr of string
-
This exception is raised by
resolveAddr
.
val resolveAddr : {host : hostname, port : port option} -> {host : string, addr : NetHostDB.in_addr, port : int option}
-
resolveAddr {host, port}
resolves the hostname and optional port in the host and service databases. If either the host or service name is not found, then theBadAddr
exception is raised. type 'a stream_sock = ('a, Socket.active Socket.stream) Socket.sock
-
A type abbreviation for active stream sockets.
val connectINetStrm : {addr : NetHostDB.in_addr, port : int} -> INetSock.inet stream_sock
-
connectINetStrm {addr, port}
establishs a client-side connection to an INET domain stream socket. val recvVec : ('a stream_sock * int) -> Word8Vector.vector
-
recvVec (sock, n)
readsn
bytes from the stream socketsock
; fewer thann
bytes is returned when the stream is closed at the other end of the connection. It raises theSize
exception whenn
is negative. val recvStr : ('a stream_sock * int) -> string
-
recvStr (sock, n)
readsn
characters from the stream socketsock
; fewer thann
characters is returned when the stream is closed at the other end of the connection. It raises theSize
exception whenn
is negative. val sendVec : ('a stream_sock * Word8Vector.vector) -> unit
-
sendVec (sock, vec)
sends the vectorvec
on the stream socketsock
. val sendStr : ('a stream_sock * string) -> unit
-
sendStr (sock, s)
sends the strings
on the stream socketsock
. val sendArr : ('a stream_sock * Word8Array.array) -> unit
-
sendArr (sock, arr)
sends the arrayarr
on the stream socketsock
.


Lesnoi Belochka Marathon
[Moscow oblast] RUS
Race Winners
(19 runnings)
07 Jul
2007
16 Jul
2006
03 Jul
2005
03 Jul
2004
2003
2002
07 Jul
2001
16 Jul
2000
1999
1998
Notes: The inaugural year was 1998.
16 Jul
2016
2:49:12
Ivan Motorin-3
3:42:28
Lyubov Vobikova (RUS)
12 Jul
2015
2:45:50
Ivan Motorin-2
3:33:14
Olga Klenovskaya (RUS)
13
Jul 2014
3:05:18
Sergey Zhivotenko (RUS)
3:42:55
Yuliya Gorina (RUS)
24 Aug
2013
2:40:40
Ivan Motorin (RUS)
3:29:40
Aleksandra Bikova (RUS)
14 Jul
2012
2:36:46
Dmitriy Tsyganov (RUS)
3:42:05
Rimma Vasina (RUS)
16 Jul
2011
3:12:31
Pavel Osipov (RUS)
3:28:30
Elena Simutina (RUS)
10 Jul
2010
2:54:24
Aleksandr Altintsev (RUS)
3:32:51
Svetlana Pashinina (RUS)
04 Jul
2009
4:08:00
Artem Stonozhenko (RUS)
05 Jul
2008
2:43:57
Andrey Lukashevich (RUS)
2:55:12
Irina Vishnevskaya-3
2:41:24
Dmitriy Meshkov (RUS)
2:58:57
Irina Vishnevskaya-2
2:36:58
Ilya Petrushenko (RUS)
3:02:01
Irina Vishnevskaya (RUS)
2:31:31
Ruslan Deulin (RUS)
3:20:21
Mariya Paicovska (RUS)
2:39:45
Roman Saliy (RUS)
---
n/a
2:42:22
Aleksandr Cheburkin (RUS)
---
n/a
2:51:54
Aleksey Novikov (RUS)
---
n/a
2:42:28
Viktor Zhdanov (RUS)
---
n/a
2:40:35
Eduard Khirov (RUS)
---
n/a
2:32:59
Aleksey Chibizov (RUS)
---
n/a
2:34:57
Nikolay Arinushkin (RUS)
---
n/a
Most Wins (1998/date)
Men
3
Ivan Motorin (RUS)
2013,2015-16
Women
3
Irina Vishnevskaya (RUS)
2006-08
Prize Money
(ADR qualified runners)
No information on prize money has been received for this race.
Race Time Bias
(sec/km)
Insufficient data to calculate the race time bias.
Competitive Level
(1990-date)
Insufficient data to calculate the competitive level.
Quality Performances
Men No men under 2:20 Women No women under 2:50
Last Updated on 10 Aug 2016
Contributor: Klaas Loonstra (33)


{%include 'base.html'%} {% load crispy_forms_tags %} {% load static %} {% block content %}
{{neighborhood.description}}
Police:
{{neighborhood.police_contact}}
Healthcare:
{{neighborhood.medical_contact}}
Fire Department:
{{neighborhood.fire_dept}}
Lives around the corner
{{ post.post }}
Posted {{ post.date_posted | timesince }} ago...{{ bus.description }}
Owner: {{ bus.user.user.username | title }}
{{ post.post }}
Posted {{ post.date_posted | timesince }} ago


Welcome to the web developers handbook
Thank you for choosing us to get started in the amazing world of web development. We are so excited to get started! However, before we do, make sure you have everything on this list:
- A computer(duh)
- Internet(duh... again?)
- Free time(du-- okay. I think you guys get the idea)
Great! Let’s get started! So, I made a cool framework to help the process go a bit faster. While you are learning, I will be making refrences to the documentation. You should keep it open in another tab.
Chapter 1: History of the web.
Sir Tim Berners-Lee invented the World Wide Web in 1989. (Please click the link to learn more. It is very interesting and will provide a further understanding on what you will be learning.) If you decide not to click the link, basically what happens is:
- Sir Tim is working, and finds it a hassle to log on to each computer to view the information kept on it
- He decides to create HTML(HyperText Markup Language), URI(Uniform Resource Identifier) also called URL, and HTTP(Hypertext Transfer Protocol.) Also, he creates the first Web page editor/viewer(WorldWideWeb.app), and the first Web server ("httpd")
- This leads to the open source creation of the Web and yada-yada, so-on, the Web is here.
Seriously though, check out the link.


--- extends: minimal.j2 default_block: main title: Talks and Presentations description: Videos of Talks and Presentations by Jake Vanderplas ---
Below I list a few of the talks, lectures, and tutorials I've given for which video is available online.
~ Updated January 2017 ~
PyData Seattle 2017: a 1-hour invited keynote. [Video|slides]
PyCon 2017: a 1-hour invited keynote. [Video|slides]
PyCon 2017: a 30-minute submitted talk. [Video|slides]
PyCon 2016: a 40-minute submitted talk. [Video|slides]
SciPy 2015: a 1-hour invited keynote. [Video|slides]
PyCon 2015: A 30 minute submitted talk. [Video|slides]
PyCon 2015: A 3.5 hour introductory tutorial on Scikit-learn. [Video|notebooks]
SciPy 2014: A 3.5 hour introductory tutorial on Scikit-learn. [Video|proceedings paper|slides]
PyCon 2014: A 3.5 hour introductory tutorial on Scikit-learn. [Video|notebooks]
PyData NYC 2013: A 1.5 hour advanced tutorial on Scikit-learn. [Video| notebook]
PyData NYC 2013: A 1:30 advanced tutorial on NumPy. [Video| notebook]
PyData NYC 2013: A half-hour talk on using SciDB in Python. [Video]
RuPy 2013: A 40 minute talk on LSST for non-astronomers. [Video]
Scipy 2013: A 20 minute talk about the astroML project [Video]
Scipy 2013: An eight-hour marathon scikit-learn tutorial co-taught with Gael Varoquaux and Olivier Grisel. Notebooks and supporting material available on GitHub.
Videos: [Part 1.1] [Part 1.2] [Part 1.3] [Part 2.1] [Part 2.2]
PyData 2013: A one-hour tutorial covering the tools to create dynamic and interactive visualizations with Matplotlib. Notebooks and other supporting material are available on GitHub. [Video]
PyCon 2013: A three-hour tutorial introducing Machine Learning and Scikit-learn. Notebooks and other supporting material are available on GitHub. [Video]
PyData NYC 2012: A 45-minute tutorial introducing Machine Learning and Scikit-learn. Notebooks and other supporting material are available at http://astroML.org/sklearn_tutorial. [Video]
PyData NYC 2012: A 45-minute tutorial introducing plotting with Matplotlib. Notebooks and other supporting material are available on http://jakevdp.github.io/mpl_tutorial/. [Video]
PyData NYC 2012: A 5-minute lightning talk on the AstroML package. [Video]
SciPy 2012: A three-hour tutorial introducing Machine Learning and Scikit-learn. Notebooks and other supporting material available at http://astroML.org/sklearn_tutorial. [Video]
SciPy 2012: A 20 minute talk in the Astronomy & Astrophysics mini-symposium. Source code for the plots shown is available at http://astroML.org/. [Video]
PyData Workshop 2012: A 1 hour tutorial on Scikit-learn. Notebooks and other supporting material available at http://astroML.org/sklearn_tutorial. [Video]
Queen Anne Science Cafe: A 30 minute public talk at a Seattle pub on dark matter and gravitational lensing. [Video]


Toggle navigation
New Grad Careers
Companies
Contact
New Grads !
You miss 100% of the shots you don't take.
Bring it on
Know more companies? Let us know.
[Under Construction]
Send Message


Congratulations! You’ve set up the file tree for your first project, added the boilerplate code for the homepage of your website, and found and navigated to a local URL. Add some more content to your page using HTML tags and refresh the page to see your changes!