📅 (2022-09-16 22:48:45 UTC)
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-num base Num library distributed with the OCaml compiler base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.7.0 Formal proof management system num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.05.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.05.0 Official 4.05.0 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.5 A library manager for OCaml # opam file: opam-version: "2.0" maintainer: "Mathematical Components<EMAIL_ADDRESS>homepage: "https://math-comp.github.io/math-comp/" bug-reports: "Mathematical Components<EMAIL_ADDRESS>dev-repo: "git+https://github.com/math-comp/fourcolor" license: "CeCILL-B" build: [ make "-j" "%{jobs}%" ] install: [ make "install" ] depends: [ "coq-mathcomp-algebra" { >= "1.10.0" & < "1.11" } ] tags: [ "keyword:Four color theorem" "keyword:small scale reflection" "keyword:mathematical components" ] authors: [ "Georges Gonthier" ] synopsis: "Mechanization of the Four Color Theorem" description: """ Proof of the Four Color Theorem This library contains a formalized proof of the Four Color Theorem, along with the theories needed to support stating and then proving the Theorem. This includes an axiomatization of the setoid of classical real numbers, basic plane topology definitions, and a theory of combinatorial hypermaps. """ url { src: "https://github.com/math-comp/fourcolor/archive/v1.2.1.tar.gz" checksum: "sha256=7bed7a08f388d7f0910d39593dc7e1dcb4fd30af76cba01d11502db713393281" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-fourcolor.1.2.1 coq.8.7.0
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
true
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-fourcolor.1.2.1 coq.8.7.0
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-fourcolor.1.2.1 coq.8.7.0
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-num base Num library distributed with the OCaml compiler base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.7.0 Formal proof management system coq-mathcomp-algebra 1.10.0 Mathematical Components Library on Algebra coq-mathcomp-fingroup 1.10.0 Mathematical Components Library on finite groups coq-mathcomp-ssreflect 1.10.0 Small Scale Reflection num 0 The Num library for arbitrary-precision integer and rational arithmetic ocaml 4.05.0 The OCaml compiler (virtual package) ocaml-base-compiler 4.05.0 Official 4.05.0 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.5 A library manager for OCaml [NOTE] Package coq is already installed (current version is 8.7.0). The following actions will be performed: - install coq-fourcolor 1.2.1 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/1: [coq-fourcolor.1.2.1: http] [coq-fourcolor.1.2.1] downloaded from https://github.com/math-comp/fourcolor/archive/v1.2.1.tar.gz Processing 1/1: <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/2: [coq-fourcolor: make 7] + /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j" "7" (CWD=/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-fourcolor.1.2.1) - coq_makefile -f _CoqProject -o Makefile.coq - make --no-print-directory -f Makefile.coq - COQDEP theories/fourcolor.v - COQDEP theories/combinatorial4ct.v - COQDEP theories/reducibility.v - COQDEP theories/unavoidability.v - COQDEP theories/task589to633.v - COQDEP theories/job623to633.v - COQDEP theories/job618to622.v - COQDEP theories/job611to617.v - COQDEP theories/job589to610.v - COQDEP theories/task542to588.v - COQDEP theories/job563to588.v - COQDEP theories/job554to562.v - COQDEP theories/job550to553.v - COQDEP theories/job546to549.v - COQDEP theories/job542to545.v - COQDEP theories/task507to541.v - COQDEP theories/job535to541.v - COQDEP theories/job531to534.v - COQDEP theories/job517to530.v - COQDEP theories/job511to516.v - COQDEP theories/job507to510.v - COQDEP theories/task486to506.v - COQDEP theories/job503to506.v - COQDEP theories/job499to502.v - COQDEP theories/job495to498.v - COQDEP theories/job490to494.v - COQDEP theories/job486to489.v - COQDEP theories/task323to485.v - COQDEP theories/job466to485.v - COQDEP theories/job439to465.v - COQDEP theories/job399to438.v - COQDEP theories/job384to398.v - COQDEP theories/job323to383.v - COQDEP theories/task303to322.v - COQDEP theories/job319to322.v - COQDEP theories/job315to318.v - COQDEP theories/job311to314.v - COQDEP theories/job307to310.v - COQDEP theories/job303to306.v - COQDEP theories/task283to302.v - COQDEP theories/job299to302.v - COQDEP theories/job295to298.v - COQDEP theories/job291to294.v - COQDEP theories/job287to290.v - COQDEP theories/job283to286.v - COQDEP theories/task235to282.v - COQDEP theories/job279to282.v - COQDEP theories/job271to278.v - COQDEP theories/job254to270.v - COQDEP theories/job239to253.v - COQDEP theories/job235to238.v - COQDEP theories/task215to234.v - COQDEP theories/job231to234.v - COQDEP theories/job227to230.v - COQDEP theories/job223to226.v - COQDEP theories/job219to222.v - COQDEP theories/job215to218.v - COQDEP theories/task001to214.v - COQDEP theories/job207to214.v - COQDEP theories/job190to206.v - COQDEP theories/job165to189.v - COQDEP theories/job107to164.v - COQDEP theories/job001to106.v - COQDEP theories/present11.v - COQDEP theories/present10.v - COQDEP theories/present9.v - COQDEP theories/present8.v - COQDEP theories/present7.v - COQDEP theories/present6.v - COQDEP theories/present5.v - COQDEP theories/present.v - COQDEP theories/discretize.v - COQDEP theories/approx.v - COQDEP theories/finitize.v - COQDEP theories/matte.v - COQDEP theories/gridmap.v - COQDEP theories/grid.v - COQDEP theories/hubcap.v - COQDEP theories/discharge.v - COQDEP theories/redpart.v - COQDEP theories/part.v - COQDEP theories/cfquiz.v - COQDEP theories/quiztree.v - COQDEP theories/quiz.v - COQDEP theories/embed.v - COQDEP theories/contract.v - COQDEP theories/birkhoff.v - COQDEP theories/cfreducible.v - COQDEP theories/cfcontract.v - COQDEP theories/cfcolor.v - COQDEP theories/configurations.v - COQDEP theories/cfmap.v - COQDEP theories/kempetree.v - COQDEP theories/ctreerestrict.v - COQDEP theories/gtreerestrict.v - COQDEP theories/initgtree.v - COQDEP theories/initctree.v - COQDEP theories/dyck.v - COQDEP theories/gtree.v - COQDEP theories/ctree.v - COQDEP theories/kempe.v - COQDEP theories/chromogram.v - COQDEP theories/revsnip.v - COQDEP theories/snip.v - COQDEP theories/sew.v - COQDEP theories/patch.v - COQDEP theories/coloring.v - COQDEP theories/color.v - COQDEP theories/cube.v - COQDEP theories/geometry.v - COQDEP theories/jordan.v - COQDEP theories/walkup.v - COQDEP theories/hypermap.v - COQDEP theories/realplane.v - COQDEP theories/realcategorical.v - COQDEP theories/dedekind.v - COQDEP theories/realprop.v - COQDEP theories/realsyntax.v - COQDEP theories/real.v - COQC theories/real.v - COQC theories/hypermap.v - COQC theories/color.v - COQC theories/dyck.v - COQC theories/realsyntax.v - COQC theories/dedekind.v - COQC theories/realplane.v - COQC theories/realprop.v - COQC theories/chromogram.v - COQC theories/ctree.v - COQC theories/walkup.v - COQC theories/grid.v - COQC theories/initctree.v - COQC theories/gtree.v - COQC theories/initgtree.v - COQC theories/gtreerestrict.v - COQC theories/ctreerestrict.v - COQC theories/matte.v - COQC theories/realcategorical.v - COQC theories/jordan.v - COQC theories/geometry.v - COQC theories/coloring.v - COQC theories/cfmap.v - COQC theories/part.v - COQC theories/cube.v - COQC theories/patch.v - COQC theories/kempe.v - COQC theories/quiz.v - COQC theories/approx.v - COQC theories/finitize.v - COQC theories/discharge.v - COQC theories/sew.v - COQC theories/snip.v - COQC theories/revsnip.v - COQC theories/gridmap.v - COQC theories/discretize.v - COQC theories/cfcolor.v - COQC theories/configurations.v - COQC theories/cfquiz.v - COQC theories/kempetree.v - COQC theories/cfcontract.v - COQC theories/birkhoff.v - COQC theories/contract.v - COQC theories/embed.v - COQC theories/cfreducible.v - COQC theories/quiztree.v - COQC theories/job001to106.v - COQC theories/job107to164.v - COQC theories/job165to189.v - COQC theories/job190to206.v - COQC theories/job207to214.v - COQC theories/job215to218.v - COQC theories/job219to222.v - COQC theories/job223to226.v - COQC theories/job227to230.v - COQC theories/job231to234.v - COQC theories/job235to238.v - COQC theories/job239to253.v - COQC theories/job254to270.v - COQC theories/job271to278.v - COQC theories/job279to282.v - COQC theories/job283to286.v - COQC theories/job287to290.v - COQC theories/job291to294.v - COQC theories/job295to298.v - COQC theories/job299to302.v - - Error: System error: "No space left on device" - - make[2]: *** [Makefile.coq:639: theories/job254to270.vo] Error 1 - make[2]: *** Waiting for unfinished jobs.... - make[1]: *** [Makefile.coq:313: all] Error 2 - make: *** [Makefile:15: invoke-coqmakefile] Error 2 [ERROR] The compilation of coq-fourcolor failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j 7". #=== ERROR while compiling coq-fourcolor.1.2.1 ================================# # context 2.0.1 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-fourcolor.1.2.1 # command ~/.opam/opam-init/hooks/sandbox.sh build make -j 7 # exit-code 2 # env-file ~/.opam/log/coq-fourcolor-11434-335865.env # output-file ~/.opam/log/coq-fourcolor-11434-335865.out ### output ### # [...] # COQC theories/job283to286.v # COQC theories/job287to290.v # COQC theories/job291to294.v # COQC theories/job295to298.v # COQC theories/job299to302.v # # Error: System error: "No space left on device" # # make[2]: *** [Makefile.coq:639: theories/job254to270.vo] Error 1 # make[2]: *** Waiting for unfinished jobs.... # make[1]: *** [Makefile.coq:313: all] Error 2 # make: *** [Makefile:15: invoke-coqmakefile] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build coq-fourcolor 1.2.1 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -y -v coq-fourcolor.1.2.1 coq.8.7.0' failed.
No files were installed.
true


--- layout: page title: "About" description: "Little bit about me." header-img: "img/about-bg.jpg" ---
I am software engineer experienced in various SW development and R&D activities. Currently I work as Software Test Specialist at Bitfactor Oy.
In my career I have obtained experience in various positions from testing and test automation to software development, system integration and project management. I have worked in various business domains including
Currently I am working in private sector on product development projects, but I have also many years of experience from public-funded Tekes and Eureka/EU research projects.
I maintain this blog as a hobby to write about interesting topics (mainly) related to software testing, development and test automation. Occasionally the blog may also cover other topics related to my hobbies and life.


Adventures with OpenOffice and XML
February 7, 2001
At the Open Source conference in Monterey last year, Sun announced their plans to release the current source code for Star Office, renamed OpenOffice. In October they followed up on their plans, releasing both the source code and binaries for OpenOffice build 605. One of the features added since Star Office 5.2 was the ability to save files as XML.
In addition to being open source, saving as XML makes OpenOffice truly open. Aside from being open source, XML's self-documenting nature allows us to dive into the document format without having to dive into C++. And more significantly, XML allows us to use simple, free tools to manipulate the documents themselves.
In this article we will examine the structure of the format. We will not go into great detail, as Sun has already done so in a 400 page specification. Instead we will focus on using the XML to generate something of potential interest to web developers and content editors.
It's important to note that OpenOffice isn't ready to be an every day word processor. Components like printing and spell checking were removed in the migration to open source because Sun didn't own them. I expect they will be added back by the open source community as time goes by. When Sun releases Star Office 6 I expect they will include the proprietary spell checker and print engine again. Also worth noting is that OpenOffice is relatively unstable at the moment. I experienced several crashes and other serious problems while working on this article. Thanks to Daniel Vogelheim of Sun for helping me through those troubles.
XML Requirements
Having migrated the project to open source, Sun did the right thing in opening the development process. Hence all of Sun's decisions are open to public discussion on the OpenOffice mailing lists. Sun had a specific set of requirements when designing the XML format for OpenOffice. The short list of requirements can be found on the OpenOffice XML site ; but let's review the list here.
Core Requirements:
-
The file format must be capable of being used as an office program's native file format. The format must be "non-lossy" and must support (at least) the full capability of a StarOffice/OpenOffice document. The format is likely to be used for document interchange but that alone is not enough.
-
Structured content should make use of XML's structuring capabilities and be represented in terms of XML elements and attributes.
-
The file format must be fully documented and have no "secret" features.
-
OpenOffice must be the reference implementation for this file format.
Sun plans for XML to become the default save format. This is not the case presently in build 605. I have to select "Save As" to export to XML, but when OpenOffice is finally released expect it to be the default save format.
Packaging
OpenOffice documents can be compound -- that is, they can contain multiple documents of different formats. Sun's examined the different ways of packaging up compound documents using XML. It picked the ZIP format. Initially this choice surprised me since I've always thought the most standard way to store binary data in XML was base64 encoding. However this decision is fully explained in detail on the OpenOffice site. Two factors were vital: ZIP's indexing ability and the importance of being able to load and save on demand. It means that an OpenOffice file will be a ZIP file containing at least one XML file, along with other files of relevance to the document (such as images, and possibly other OpenOffice files).
The OpenOffice XML Format
What about the details of the XML format itself. A specification document is available online, although it's a big document so I'll distill some of it here.
Document Root
<office:document> |
The document root element is <office:document>
. (I'm leaving namespaces
URIs out; OpenOffice appears to use namespaces to its advantage in a very clean manner,
unlike other office suites.)
According to the specification, this is a generic document root. All OpenOffice documents have this document root. A spreadsheet and word processor file will have the same document root, allowing us to do some generic processing.
Metadata
<office:meta> <dc:title>Adventures with Open Office and XML</dc:title> |
Document metadata is one of the more interesting features of the OpenOffice XML format.
OpenOffice metadata is enclosed in the <office:meta>
tag at the top level
of the document, immediately following the document root. Sun chose Dublin Core for
the
majority of their metadata elements. Where Dublin Core did not have an available element,
Sun created elements in their meta
namespace, including
-
generator -- the application that created this file;
-
initial-creator -- the original author of the file (dc:creator is used for the person who last edited the file);
-
creation-date -- the date this file was first created (dc:date is used for the date of the last edit);
-
keywords -- can be edited in the document properties dialog.
How is this useful? We could write a Perl script to display the author of OpenOffice files.
use XML::XPath; while (my $file = shift @ARGV) { next unless -f $file; eval { my $xp = XML::XPath->new(filename => $file); print $_, ": ", $xp->findvalue("//dc:creator"), "\n"; }; } |
If we call this script dcdir
, the results on a directory full of OpenOffice
XML files might be
$ dcdir *.sxw test.so.xml.sxw: Matt Sergeant |
This works regardless of the type of OpenOffice file we are examining. With a little more work we can ensure that the file is an XML file of the OpenOffice format (at the moment, this script will crash when it comes across a non-XML file). See Kip Hampton's regular Perl and XML column for more details on using XML::XPath.
Styles
<office:styles>


Well, AetherMud is, most importantly, a MUD Engine.
That means that AetherMud is a very large computer program that provides a foundation upon which one can most efficiently build a text based MUD of their very own. When you download the AetherMud software, you are dedicating yourself to weeks, months, even years of meticulous work using it to build a new world for others to log into and play.
A MUD Engine, also called a MUD Codebase, provides the gathering place for players all over the internet to congregate for the purpose of adventuring. The person who downloads, installs, and runs the AetherMud server is providing his computer as a host to the fantasy world in which the players reside and pursue their adventures. This means that the host must take the time to provide such a world for the players to wander around in. AetherMud contains software which provides both the foundation and the tools with which the host can create such a world.
So, as you can now see, those who wish to experience or play in MUDs do not need to download AetherMud in order to do so. They should skip most of the AetherMud page and download one of the MUD clients like GMud or ZMud. With those clients they can connect to one of the hundreds of existing mud engines which are running on the internet and play to their hearts content.
It is the TRULY adventurous among you, who wish to host and create your own text based worlds who might be interested in our humble codebase.
Enjoy!
Bo Zimmerman


--- layout: page title: Oops! That page can’t be found. description: Uh oh. The 404 page for Webworke.rs. page-class: page-404 sitemap: exclude: 'yes' ---
You seem to have taken a wrong turn. Sorry about that!


A retrospective of where we've been and what we've learned this quarter in CS 109.
I find it useful to think of a class in terms of the things I should be able to do after finishing. In general, what I expect you to know (really get) are the abilities we covered in the problem sets and on the midterm.
This is how the diagram works: see that large column in the middle? Those are the most important abilities we hope you have a grasp of after CS 109. The nodes to the left are (a subset of) the course topics. The nodes to the right are some key homework and midterm problems.
Another way to understand what we covered in CS 109 is through the more traditional concept hierarchy. During class I tried to augment your education with peripheral topics and gems of information. This list is not complete.


PKCS#12 Personal Information Exchange Syntax.
More...
#include "config.h"
#include "md.h"
#include "cipher.h"
#include "asn1.h"
#include <stddef.h>
Go to the source code of this file.
|
| int | mbedtls_pkcs12_pbe_sha1_rc4_128 (mbedtls_asn1_buf *pbe_params, int mode, const unsigned char *pwd, size_t pwdlen, const unsigned char *input, size_t len, unsigned char *output) |
| | PKCS12 Password Based function (encryption / decryption) for pbeWithSHAAnd128BitRC4. More...
|
| |
| int | mbedtls_pkcs12_pbe (mbedtls_asn1_buf *pbe_params, int mode, mbedtls_cipher_type_t cipher_type, mbedtls_md_type_t md_type, const unsigned char *pwd, size_t pwdlen, const unsigned char *input, size_t len, unsigned char *output) |
| | PKCS12 Password Based function (encryption / decryption) for cipher-based and mbedtls_md-based PBE's. More...
|
| |
| int | mbedtls_pkcs12_derivation (unsigned char *data, size_t datalen, const unsigned char *pwd, size_t pwdlen, const unsigned char *salt, size_t saltlen, mbedtls_md_type_t mbedtls_md, int id, int iterations) |
| | The PKCS#12 derivation function uses a password and a salt to produce pseudo-random bits for a particular "purpose". More...
|
| |
PKCS#12 Personal Information Exchange Syntax.
Definition in file pkcs12.h.
◆ MBEDTLS_ERR_PKCS12_BAD_INPUT_DATA
| #define MBEDTLS_ERR_PKCS12_BAD_INPUT_DATA -0x1F80 |
Bad input parameters to function.
Definition at line 64 of file pkcs12.h.
◆ MBEDTLS_ERR_PKCS12_FEATURE_UNAVAILABLE
| #define MBEDTLS_ERR_PKCS12_FEATURE_UNAVAILABLE -0x1F00 |
Feature not available, e.g. unsupported encryption scheme.
Definition at line 65 of file pkcs12.h.
◆ MBEDTLS_ERR_PKCS12_PASSWORD_MISMATCH
| #define MBEDTLS_ERR_PKCS12_PASSWORD_MISMATCH -0x1E00 |
Given private key password does not allow for correct decryption.
Definition at line 67 of file pkcs12.h.
◆ MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT
| #define MBEDTLS_ERR_PKCS12_PBE_INVALID_FORMAT -0x1E80 |
PBE ASN.1 data not as expected.
Definition at line 66 of file pkcs12.h.
◆ MBEDTLS_PKCS12_DERIVE_IV
| #define MBEDTLS_PKCS12_DERIVE_IV 2 |
initialization vector
Definition at line 70 of file pkcs12.h.
◆ MBEDTLS_PKCS12_DERIVE_KEY
| #define MBEDTLS_PKCS12_DERIVE_KEY 1 |
encryption/decryption key
Definition at line 69 of file pkcs12.h.
◆ MBEDTLS_PKCS12_DERIVE_MAC_KEY
| #define MBEDTLS_PKCS12_DERIVE_MAC_KEY 3 |
integrity / MAC key
Definition at line 71 of file pkcs12.h.
◆ MBEDTLS_PKCS12_PBE_DECRYPT
| #define MBEDTLS_PKCS12_PBE_DECRYPT 0 |
◆ MBEDTLS_PKCS12_PBE_ENCRYPT
| #define MBEDTLS_PKCS12_PBE_ENCRYPT 1 |
◆ mbedtls_pkcs12_derivation()
| int mbedtls_pkcs12_derivation |
( |
unsigned char * |
data, |
|
|
size_t |
datalen, |
|
|
const unsigned char * |
pwd, |
|
|
size_t |
pwdlen, |
|
|
const unsigned char * |
salt, |
|
|
size_t |
saltlen, |
|
|
mbedtls_md_type_t |
mbedtls_md, |
|
|
int |
id, |
|
|
int |
iterations |
|
) |
| |
The PKCS#12 derivation function uses a password and a salt to produce pseudo-random bits for a particular "purpose".
Depending on the given id, this function can produce an encryption/decryption key, an nitialization vector or an integrity key.
- Parameters
-
| data | buffer to store the derived data in |
| datalen | length to fill |
| pwd | password to use (may be NULL if no password is used) |
| pwdlen | length of the password (may be 0) |
| salt | salt buffer to use |
| saltlen | length of the salt |
| mbedtls_md | mbedtls_md type to use during the derivation |
| id | id that describes the purpose (can be MBEDTLS_PKCS12_DERIVE_KEY, MBEDTLS_PKCS12_DERIVE_IV or MBEDTLS_PKCS12_DERIVE_MAC_KEY) |
| iterations | number of iterations |
- Returns
- 0 if successful, or a MD, BIGNUM type error.
◆ mbedtls_pkcs12_pbe()
PKCS12 Password Based function (encryption / decryption) for cipher-based and mbedtls_md-based PBE's.
- Parameters
-
| pbe_params | an ASN1 buffer containing the pkcs-12PbeParams structure |
| mode | either MBEDTLS_PKCS12_PBE_ENCRYPT or MBEDTLS_PKCS12_PBE_DECRYPT |
| cipher_type | the cipher used |
| md_type | the mbedtls_md used |
| pwd | the password used (may be NULL if no password is used) |
| pwdlen | length of the password (may be 0) |
| input | the input data |
| len | data length |
| output | the output buffer |
- Returns
- 0 if successful, or a MBEDTLS_ERR_XXX code
◆ mbedtls_pkcs12_pbe_sha1_rc4_128()
| int mbedtls_pkcs12_pbe_sha1_rc4_128 |
( |
mbedtls_asn1_buf * |
pbe_params, |
|
|
int |
mode, |
|
|
const unsigned char * |
pwd, |
|
|
size_t |
pwdlen, |
|
|
const unsigned char * |
input, |
|
|
size_t |
len, |
|
|
unsigned char * |
output |
|
) |
| |
PKCS12 Password Based function (encryption / decryption) for pbeWithSHAAnd128BitRC4.
- Parameters
-
| pbe_params | an ASN1 buffer containing the pkcs-12PbeParams structure |
| mode | either MBEDTLS_PKCS12_PBE_ENCRYPT or MBEDTLS_PKCS12_PBE_DECRYPT |
| pwd | the password used (may be NULL if no password is used) |
| pwdlen | length of the password (may be 0) |
| input | the input data |
| len | data length |
| output | the output buffer |
- Returns
- 0 if successful, or a MBEDTLS_ERR_XXX code


DBSite¶
Read Oracle documentation for better understanding.
You use the DB_SITE handle to configure and manage replication sites.
DBSite Methods¶
-
close
(flags=0)¶ Close a DBSite handle. More info...
-
get_address
()¶ Returns a replication site’s network address. That is, this method returns a tuple with the site’s hostname and port. More info...
-
get_config
()¶ Returns whether the specified which parameter is currently set. More info...
-
get_eid
()¶ Returns a replication site’s Environment ID (EID). More info...
-
remove
()¶ Removes the site from the replication group. If called at the master site, repmgr updates the membership database directly. If called from a client, this method causes a request to be sent to the master to perform the operation. The method then awaits confirmation. More info...
-
set_config
(which, value)¶ Configures a replication site. More info...


securecrt_tools.scripts¶
This module contains classes for representing the execution of a script in SecureCRT. The attributes and methods defined with these classes are more “global” in nature, meaning that they focus on either the interaction with the application, or anything that is common to the entire script regardless of how many sessions (in tabs) are open to remote devices.
The Script Base Class¶
-
class
securecrt_tools.scripts.
Script
(script_path)¶ This is a base class for the script object. This class cannot be used directly, but is instead a blueprint that enforces what any sub-classes must implement. The reason for using this design (base class with sub-classes) is to allow the script to be run in different contexts without needing to change the code, as long as the correct sub-class is being used.
For example, the most important sub-class is the CRTScript subclass which is used when the script is executed from SecureCRT. This class is written to interact with SecureCRT’s Python API to be able to control the applications. If the script author wants to display something to the user, they can use the message_box() method to use SecureCRT’s pop-up message box (crt.Dialog.MessageBox() call). The other sub-class (currently) is the DebugScript sub-class, which was created to allow easier debugging of a script’s logic by letting you execute the script using a local python installation – ideally in your IDE of choice. This would allow you to use the fully debugging features of the IDE which are otherwise not available when executing a script inside SecureCRT. When the message_box() is called on the DebugScript sub-class, the message will be printed to the console.
This sub-class design can also allow for additional classes to be created in the future – perhaps one that uses Netmiko to connect to the remote devices. In this way, if a Netmiko sub-class was created, then all of the same scripts can be executed without needing to change them, because the Netmiko class would be required to implement all of the same methods that are defined in the base class (just like CRTScript and DebugScript)
DebugScript class is to allow the programmer to debug their code in their favorite IDE or debugger, which cannot be done when executing the script from SecureCRT (in which case you are forced to either use debug messages or write outputs to a messagebox. DebugScript allows the same code to run locally without SecureCRT and the class will prompt for the information it needs to continue running the main script.
Any methods that are not prepended with the @abstractmethod tag preceding the method definition will be inherited and available to the sub-classes without needing to define them specifically in each sub-class. Methods designed this way would use the exact same code in all sub-classes, and so there is no reason to re-create them in each subclass.
Methods defined with the @abstractmethod tag should be left empty in this class. They are required to be implemented in each sub-class. Methods are defined this way when they are required to exist in all sub-classes for consistency, but the code would be written completely different depending on which class is being used. One example is the message_box method below. Under the CRTScript class, this method uses the SecureCRT API to print messages and format the text box that should pop up to the user, but in the DebugScript class this method only prints the message to the console. In this way, a call to this method will work either way the script is called as long as the correct Script sub-class is being used (and the template are already written to do this).
-
get_main_session
()¶ Returns a CRTSession object that interacts with the SecureCRT tab that the script was lauched within. This is the primary tab that will be used to interact with remote devices. While new tabs can be created to connect to other devices, SecureCRT does not support multi-threading so multiple devices cannot be interacted with simultaneously via a script.
Returns: A session object that represents the tab where the script was launched Return type: sessions.Session
-
get_template
(name)¶ Retrieve the full path to a TextFSM template file.
Parameters: name (str) – Filename of the template Returns: Full path to the template location Return type: str
-
import_device_list
()¶ This function will prompt for a device list CSV file to import, returns a list containing all of the devices that were in the CSV file and their associated credentials. The CSV file must be of the format, and include a header row of [‘Hostname’, ‘Protocol’, ‘Username’, ‘Password’, ‘Enable’, ‘Proxy Session’]. An example device list CSV file is at ‘template/sample_device_list.csv’
The ‘Proxy Session’ options is looking for a SecureCRT session name that can be used to proxy this connection through. This sets the ‘Firewall’ option under a SecureCRT session to perform this connection proxy.
Some additional information about missing items from a line in the CSV: - If the hostname field is missing, the line will be skipped. - If the protocol field is empty, the script will try SSH2, then SSH1, then Telnet. - If the username is missing, this method will prompt the user for a default usernaem to use - If the password is missing, will prompt the user for a password for each username missing a password - If the enable password is missing, the method will ask the user if they want to set a default enable to use - If the IP is included then the device will be reached through the jumpbox, otherwise connect directly.
Returns: A list where each entry is a dictionary representing a device and the associated login information. Return type: list of dict
-
validate_dir
(path, prompt_to_create=True)¶ Verifies that the path to the supplied directory exists. If not, prompt the user to create it.
Parameters: path (str) – A directory path (not including filename) to be validated
-
CRTScript Class¶
-
class
securecrt_tools.scripts.
CRTScript
(crt)¶ Bases:
securecrt_tools.scripts.Script
This class is a sub-class of the Script base class, and is meant to be used in any scripts that are being executed from inside of SecureCRT. This sub-class is designed to interact with the SecureCRT application itself (not with tabs that have connections to remote devices) and represent a script being executed from within SecureCRT. This class inherits the methods from the Script class that are documented above, and is required to implement all of the abstract classes defined in the Script class.
-
connect
(host, username, password, protocol=None, proxy=None, prompt_endings=('#', '>'))¶ Attempts to connect to a device by any available protocol, starting with SSH2, then SSH1, then telnet
Parameters: - host (str) – The IP address of DNS name for the device to connect
- username (str) – The username to login to the device with
- password (str) – The password that goes with the provided username. If a password is not specified, the user will be prompted for one.
- protocol (str) – A string with the desired protocol (telnet, ssh1, ssh2, ssh). If left blank it will try all starting with SSH2, then SSH1 then Telnet. “ssh” means SSH2 then SSH1.
- proxy (str) – The name of a SecureCRT session object that can be used as a jumpbox to proxy the SSH connection through. This is the same as selecting a session under the “Firewall” selection under the SSH settings screen for a SecureCRT session.
- prompt_endings (list) – A list of strings that are possible prompt endings to watch for. The default is for Cisco devices (“>” and “#”), but may need to be changed if connecting to another type of device (for example “$” for some linux hosts).
-
connect_ssh
(host, username, password, version=None, proxy=None, prompt_endings=('#', '>'))¶ Connects to a device via the SSH protocol. By default, SSH2 will be tried first, but if it fails it will attempt to fall back to SSH1.
Parameters: - host (str) – The IP address of DNS name for the device to connect
- username (str) – The username to login to the device with
- password (str) – The password that goes with the provided username. If a password is not specified, the user will be prompted for one.
- version (int) – The SSH version to connect with (1 or 2). Default is None, which will try 2 first and fallback to 1 if that fails.
- proxy (str) – The name of a SecureCRT session object that can be used as a jumpbox to proxy the SSH connection through. This is the same as selecting a session under the “Firewall” selection under the SSH settings screen for a SecureCRT session.
- prompt_endings (list) – A list of strings that are possible prompt endings to watch for. The default is for Cisco devices (“>” and “#”), but may need to be changed if connecting to another type of device (for example “$” for some linux hosts).
-
connect_telnet
(host, username, password, proxy=None, prompt_endings=('#', '>'))¶ Connects to a device via the Telnet protocol.
Parameters: - host (str) – The IP address of DNS name for the device to connect
- username (str) – The username to login to the device with
- password (str) – The password that goes with the provided username. If a password is not specified, the user will be prompted for one.
- proxy (str) – The name of a SecureCRT session object that can be used as a jumpbox to proxy the SSH connection through. This is the same as selecting a session under the “Firewall” selection under the SSH settings screen for a SecureCRT session.
- prompt_endings (list) – A list of strings that are possible prompt endings to watch for. The default is for Cisco devices (“>” and “#”), but may need to be changed if connecting to another type of device (for example “$” for some linux hosts).
-
create_new_saved_session
(session_name, ip, protocol='SSH2', folder='_imports')¶ Creates a session object that can be opened from the Connect menu in SecureCRT.
Parameters: - session_name (str) – The name of the session
- ip (str) – The IP address or hostname of the device represented by this session
- protocol (str) – The protocol to use for this connection (TELNET, SSH1, SSH2, etc)
- folder (str) – The folder (starting from the configured Sessions folder) where this session should be saved.
-
disconnect
(command='exit')¶ Disconnects the main session used by the script by calling the disconnect method on the session object.
Parameters: command (str) – The command to be issued to the remote device to disconnect. The default is ‘exit’
-
file_open_dialog
(title, button_label='Open', default_filename='', file_filter='')¶ Prompts the user to select a file that will be processed by the script. In SecureCRT this will give a pop-up file selection dialog window, and will return the full path to the file chosen.
Parameters: - title (str) – Title for the File Open dialog window (Only displays in Windows)
- button_label (str) – Label for the “Open” button
- default_filename (str) – If provided a default filename, the window will open in the parent directory of the file, otherwise the current working directory will be the starting directory.
- file_filter (str) – Specifies a filter for what type of files can be selected. The format is: <Name of Filter> (.<extension>)|.<extension>|| For example, a filter for CSV files would be “CSV Files (.csv)|.csv||” or multiple filters can be used: “Text Files (.txt)|.txt|Log File (.log)|.log||”
Returns: The absolute path to the file that was selected
Return type: str
-
message_box
(message, title='', options=0)¶ Prints a message for the user. In SecureCRT, the message is displayed in a pop-up message box with a variety of buttons, depending on which options are chosen. The default is just an “OK” button.
This window can be customized by setting the “options” value, using the constants listed at the top of the sessions.py file. One constant from each of the 3 categories can be OR’d (|) together to make a single option value that will format the message box.
Parameters: - message (str) – The message to send to the user
- title (str) – Title for the message box
- options (int) – Sets the display format of the messagebox. (See Message Box constants in sessions.py)
Returns: The return code that identifies which button the user pressed. (See Message Box constants)
Return type: int
-
prompt_window
(message, title='', hide_input=False)¶ Prompts the user for an input value. In SecureCRT this will open a pop-up window where the user can input the requested information.
The “hide_input” input will mask the input, so that passwords or other senstive information can be requested.
Parameters: - message (str) – The message to send to the user
- title (str) – Title for the prompt window
- hide_input (bool) – Specifies whether to hide the user input or not. Default is False.
Returns: The value entered by the user
Return type: str
-
DebugScript Class¶
-
class
securecrt_tools.scripts.
DebugScript
(full_script_path)¶ Bases:
securecrt_tools.scripts.Script
This class is a sub-class of the Script base class, and is meant to be used in any scripts that are being executed directly from a local python installation. This sub-class is designed to simulate the interaction with SecureCRT while the script is being run from a local python installation. For example, when a script attempts to create a pop-up message box in SecureCRT, this class will simply print the information to the console (or request information from the user via the console).
This class inherits the methods from the Script class that are documented above, and is required to implement all of the abstract classes defined in the Script class. This way, it is a complete replacement for the CRTScript class if a script is run directly.
-
connect
(host, username, password, protocol=None, proxy=None, prompt_endings=('#', '>'))¶ Pretends to connect to a device. Simply marks the state of the session as connected. Never fails.
Parameters: - host (str) – The IP address of DNS name for the device to connect
- username (str) – The username to login to the device with
- password (str) – The password that goes with the provided username. If a password is not specified, the user will be prompted for one.
- protocol (str) – A string with the desired protocol (telnet, ssh1, ssh2, ssh). If left blank it will try all starting with SSH2, then SSH1 then Telnet. “ssh” means SSH2 then SSH1.
- proxy (str) – The name of a SecureCRT session object that can be used as a jumpbox to proxy the SSH connection through. This is the same as selecting a session under the “Firewall” selection under the SSH settings screen for a SecureCRT session.
- prompt_endings (list) – A list of strings that are possible prompt endings to watch for. The default is for Cisco devices (“>” and “#”), but may need to be changed if connecting to another type of device (for example “$” for some linux hosts).
-
connect_ssh
(host, username, password, version=None, proxy=None, prompt_endings=('#', '>'))¶ Pretends to connect to a device via SSH. Simply tracks that we are now connected to something within this session (this method never fails).
Parameters: - host (str) – The IP address of DNS name for the device to connect
- username (str) – The username to login to the device with
- password (str) – The password that goes with the provided username. If a password is not specified, the user will be prompted for one.
- version (int) – The SSH version to connect with (1 or 2). Default is None, which will try 2 first and fallback to 1 if that fails.
- proxy (str) – The name of a SecureCRT session object that can be used as a jumpbox to proxy the SSH connection through. This is the same as selecting a session under the “Firewall” selection under the SSH settings screen for a SecureCRT session.
- prompt_endings (list) – A list of strings that are possible prompt endings to watch for. The default is for Cisco devices (“>” and “#”), but may need to be changed if connecting to another type of device (for example “$” for some linux hosts).
-
connect_telnet
(host, username, password, proxy=None, prompt_endings=('#', '>'))¶ Pretends to connect to a device via the Telnet protocol, just like connect_ssh above. Never fails.
Parameters: - host (str) – The IP address of DNS name for the device to connect
- username (str) – The username to login to the device with
- password (str) – The password that goes with the provided username. If a password is not specified, the user will be prompted for one.
- proxy (str) – The name of a SecureCRT session object that can be used as a jumpbox to proxy the SSH connection through. This is the same as selecting a session under the “Firewall” selection under the SSH settings screen for a SecureCRT session.
- prompt_endings (list) – A list of strings that are possible prompt endings to watch for. The default is for Cisco devices (“>” and “#”), but may need to be changed if connecting to another type of device (for example “$” for some linux hosts).
-
create_new_saved_session
(session_name, ip, protocol='SSH2', folder='_imports')¶ Pretends to create a new SecureCRT session. Since we aren’t running in SecureCRT, it does nothing except print a message that a device was created.
Parameters: - session_name (str) – The name of the session
- ip (str) – The IP address or hostname of the device represented by this session
- protocol (str) – The protocol to use for this connection (TELNET, SSH1, SSH2, etc)
- folder (str) – The folder (starting from the configured Sessions folder) where this session should be saved.
-
disconnect
(command='exit')¶ Disconnects the main session used by the script by calling the disconnect method on the session object.
Parameters: command (str) – The command to be issued to the remote device to disconnect. The default is ‘exit’
-
file_open_dialog
(title, button_label='Open', default_filename='', file_filter='')¶ Prompts the user to select a file that will be processed by the script. In a direct session, the user will be prompted for the full path to a file.
Parameters: - title (str) – Title for the File Open dialog window (Only displays in Windows)
- button_label (str) – Label for the “Open” button
- default_filename (str) – If provided a default filename, the window will open in the parent directory of the file, otherwise the current working directory will be the starting directory.
- file_filter (str) – Specifies a filter for what type of files can be selected. The format is: <Name of Filter> (.<extension>)|.<extension>|| For example, a filter for CSV files would be “CSV Files (.csv)|.csv||” or multiple filters can be used: “Text Files (.txt)|.txt|Log File (.log)|.log||”
Returns: The absolute path to the file that was selected
Return type: str
-
message_box
(message, title='', options=0)¶ Prints a message for the user. When used in a DirectSession, the message is printed to the console and the user is prompted to type the button that would be selected.
This window can be customized by setting the “options” value, using the constants listed at the top of the sessions.py file. One constant from each of the 3 categories can be OR’d (|) together to make a single option value that will format the message box.
Parameters: - message (str) – The message to send to the user
- title (str) – Title for the message box
- options (int) – Sets the display format of the messagebox. (See Message Box constants in sessions.py)
Returns: The return code that identifies which button the user pressed. (See Message Box constants)
Return type: int
-
prompt_window
(message, title='', hide_input=False)¶ Prompts the user for an input value. In a direct session, the user will be prompted at the console for input.
The “hide_input” input will mask the input, so that passwords or other senstive information can be requested.
Parameters: - message (str) – The message to send to the user
- title (str) – Title for the prompt window
- hide_input (bool) – Specifies whether to hide the user input or not. Default is False.
Returns: The value entered by the user
Return type: str
-
ssh_in_new_tab
(host, username, password, prompt_endings=('#', '>'))¶ Pretends to open a new tab. Since this is being run directly and no tabs exist, the function really does nothing but return a new Session object.
Parameters: - host (str) – The IP address of DNS name for the device to connect (only for API compatibility - not used)
- username (str) – The username to login to the device with (only for API compatibility - not used)
- password (str) – The password that goes with the provided username. If a password is not specified, the user will be prompted for one. (only for API compatibility - not used)
- prompt_endings (list) – A list of strings that are possible prompt endings to watch for. The default is for Cisco devices (“>” and “#”), but may need to be changed if connecting to another type of device (for example “$” for some linux hosts). (only for API compatibility - not used)
-
Script Class Exceptions:¶
-
exception
securecrt_tools.scripts.
ScriptError
¶ An exception type that is raised when there is a problem with the main scripts, such as missing settings files.
-
exception
securecrt_tools.scripts.
ConnectError
¶ An exception type that is raised when there are problems connecting to a device.


| Created: | 4/29/2013 12:00:00 AM |
| Modified: | 4/30/2013 4:10:24 PM |
| Project: | |
| Advanced: |
| Attribute | ||
|
Public Identifier. Type UBLVersionID |
||
Details:
|
||
|
Public Identifier. Type CustomizationID |
||
Details:
|
||
|
Public Identifier. Type ProfileID |
||
Details:
|
||
|
Public Identifier. Type ProfileExecutionID |
||
Details:
|
||
|
Public Identifier. Type ID |
||
Details:
|
||
|
Public Indicator. Type CopyIndicator |
||
Details:
|
||
|
Public Identifier. Type UUID |
||
Details:
|
||
|
Public Date. Type IssueDate |
||
Details:
|
||
|
Public Time. Type IssueTime |
||
Details:
|
||
|
Public Text. Type Note |
||
Details:
|
||
|
Public Code. Type ProfileStatusCode |
||
Details:
|
| Element | Source Role | Target Role |
|
«ABIE» Customer Party Class |
Name: |
Name: Buyer Customer Party |
|
Details:
The buyer.
|
||
|
«ABIE» Document Reference Class |
Name: |
Name: |
|
Details:
A reference to another document associated with this document.
|
||
|
«ABIE» Item Management Profile Class |
Name: |
Name: |
|
Details:
A profile specifying replenishment policies for a particular trade item.
|
||
|
«ABIE» Party Class |
Name: |
Name: Sender Party |
|
Details:
The sender.
|
||
|
«ABIE» Party Class |
Name: |
Name: Receiver Party |
|
Details:
The receiver.
|
||
|
«ABIE» Period Class |
Name: |
Name: |
|
Details:
An association to Period.
|
||
|
«ABIE» Signature Class |
Name: |
Name: |
|
Details:
A signature applied to this document.
|
||
|
«ABIE» Supplier Party Class |
Name: |
Name: Seller Supplier Party |
|
Details:
The seller.
|


|
scp-bot
0.9
Application to synchronize files and folders across computer systems using SCP.
|
#include <Client.h>
Public Member Functions | |
| Client (std::string hostAddr, int portN) | |
| bool | startTransaction () |
| bool | sendMsg (std::string str) |
| Public Member Functions inherited from Socket | |
| Socket (std::string hostAddr, int portN) | |
| bool | config () |
| bool | isAsleep () |
| bool | isConnected () |
| void | waitToFinish () |
| void | finish () |
| std::string | getMessage () |
Additional Inherited Members | |
| Protected Member Functions inherited from Socket | |
| void | configAddr () |
| bool | createSocket () |
| bool | sendAMsg (std::string msg, int targetId=-1) |
| void | startReceiving (int targetId=-1) |
| void | closeSocket () |
| Protected Attributes inherited from Socket | |
| struct sockaddr_in | addr |
| int | socketId |
| int | hostPort |
| std::string | hostAddress |
| StringQueue | received |
| bool | asleep |
| bool | connected |
| bool | exitFlag |
| bool | receiving |
| Client::Client | ( | std::string | hostAddr, |
| int | portN | ||
| ) |
|
virtual |
|
virtual |


Sensitive data, such as encryption keys or private information, should be maintained in memory for the minimum amount of time required. As soon as the data is no longer is needed, it should be purged from memory. All traces of it must be eradicated, so it does not end up leaking to the swap file.
Sensitive data can be cleared by overwriting the memory where the sensitive data was stored. Deallocating the memory is not sufficient since the .NET garbage collector gives no guarantee as to when the deallocated memory will be collected or reused. Be aware that any time you assign a sensitive data to a new buffer, or pass it as a parameter, the sensitive data is being copied and is now in memory in a new location. When clearing memory, ensure you clear every instance.
The following code makes a use of a password. Although the pointer to the string is removed and garbage collection is called, .NET does not guarantee the data will be erased.
string pass = GetPassword();
...
pass = null;
GC.Collect();
The following code makes use of a password. After the password is used, the memory is explicitly cleared. Since strings are immutable objects, the code uses character arrays to store passwords. This makes it possible to overwrite the data after its use.
char[] pass = GetPassword();
...
ClearPassword(pass);
pass = null;
...
void ClearPassword(char[] pass)
{
for(int i=0; i<pass.Length; i++)
{
pass[i] = ' ';
}
}
Adapted from Microsoft patterns & practices guidance.


Config¶
The config class is used for set our model and operation. In general, we only need a part of his parameters. So, we just need to set the needed parameters when we create a config class.
from pyasv import Config
# The normal way to create a config.
config = Config(name='CTDnn-config',
batch_size=65,
n_gpu=4,
max_step=100,
n_speaker=166,
is_big_dataset=False,
url_of_bigdataset_temp_file=None,
learning_rate=1e-3,
save_path='/opt/user1/fhq/save/ctdnn')
# Load saved config.
config.save(name='ctdnn-config')
# Use config path to create a config
config = Config(config_path='/opt/user1/fhq/save/ctdnn/ctdnn-config.pkl')
-
class
pyasv.
Config
(config_path=None, name=None, n_speaker=None, batch_size=None, n_gpu=None, max_step=None, is_big_dataset=None, url_of_bigdataset_temp_file=None, learning_rate=None, save_path=None, conv_weight_decay=None, fc_weight_decay=None, bn_epsilon=None)[source]¶ Methods
save
([name])This method is used for save your config to save_path set
([n_speaker, batch_size, n_gpu, …])The set
method is used for reset some config.-
__init__
(config_path=None, name=None, n_speaker=None, batch_size=None, n_gpu=None, max_step=None, is_big_dataset=None, url_of_bigdataset_temp_file=None, learning_rate=None, save_path=None, conv_weight_decay=None, fc_weight_decay=None, bn_epsilon=None)[source]¶ Parameters: - config_path :
str
The path of config which you want to restore, If you want to create a new config, this param should be None.
- is_big_dataset :
bool
If we store the features to disk and restore a part of feature each step.
- url_of_bigdataset_temp_file :
str
To decide the save path of the features you want to restore. If the param “is_big_dataset” is False, this param should be None.
- config_path :
-


Carlos Lopez (33) M
| study | result | reference | visual |
|---|---|---|---|
| Hemoglobin | 9.2 g/dL | 9.3 .. 15.9 |
|
| Hematocrit | 27.4 % | 29 .. 48 |
|
| White Blood Cells | 8100 /mcL |
Age US Units SI Units 0-18 years N/A due to wide variability. See child's lab report for reference range. Adult 4,500-11,000 white cells/microliter (mcL) 4.5-11.0 x 109 cells/L |
|
| Red Blood Cells | 5.07 x 106/mcL |
Age US Units SI Units 0-18 years N/A due to wide variability. See child's lab report for reference range. Adult male 4.5-5.9 x 106/mcL 4.5-5.9 x 1012/L Adult female 4.5-5.1 x 106/mcL 4.1-5.1 x 1012/L |
|
| Mean Corpuscular Volume | 123 fL |
78-98 fL |
|


Hi, {{ name }}!
{{invite_sender_name}} with {{invite_sender_organization_name}}
has invited you to use [[ page.company.product ]] to collaborate with them.
Use the button below to set up your account and get started:
If you have any questions for {{invite_sender_name}}, you can reply to this email and it will go right to them.
Alternatively, feel free to contact our customer success team anytime.
(We're lightning quick at replying.) We also offer live chat during business hours.
Welcome aboard,
The [[ page.company.product ]] Team
P.S. Need help getting started? Check out our help documentation.
|
If you're having trouble with the button above, copy and paste the URL below into your web browser.
{{action_url}}
|


|
pyrax
Python Bindings for the Rackspace Cloud
|
This is the primary class for interacting with Images. More...
Public Member Functions | |
| def | list |
| Returns a list of resource objects. | |
| def | list_all |
| Returns all of the images in one call, rather than in paginated batches. | |
| def | update |
| Accepts an image reference (object or ID) and dictionary of key/value pairs, where the key is an attribute of the image, and the value is the desired new value for that image. | |
| def | create |
| Creates a new image with the specified name. | |
| def | change_image_name |
| Image name can be changed via the update() method. | |
| def | list_image_members |
| Returns a list of members (users) of the specified image. | |
| def | get_image_member |
| Returns the ImageMember object representing the specified member for the specified image. | |
| def | add_image_member |
| Adds the project (tenant) represented by the project_id as a member of the specified image. | |
| def | delete_image_member |
| Removes the project (tenant) represented by the project_id as a member of the specified image. | |
| def | update_image_member |
| Updates the image whose ID is given with the status specified. | |
| def | add_image_tag |
| Adds the tag to the specified image. | |
| def | delete_image_tag |
| Deletes the tag from the specified image. | |
| def | list_tasks |
| Returns a list of all tasks. | |
| def | get_task |
| Returns the ImageTask object for the supplied ID. | |
| def | export_task |
| Creates a task to export the specified image to the swift container named in the 'cont' parameter. | |
| def | import_task |
| Creates a task to import the specified image from the swift container named in the 'cont' parameter. | |
| def | get_images_schema |
| Returns a json-schema document that represents an image members entity, which is a container of image member entities. | |
| def | get_image_schema |
| Returns a json-schema document that represents a single image entity. | |
| def | get_image_members_schema |
| Returns a json-schema document that represents an image members entity (a container of member entities). | |
| def | get_image_member_schema |
| Returns a json-schema document that represents an image member entity. | |
| def | get_image_tasks_schema |
| Returns a json-schema document that represents a container of tasks entities. | |
| def | get_image_task_schema |
| Returns a json-schema document that represents an task entity. | |
Static Public Attributes | |
| string | name = "Images" |
This is the primary class for interacting with Images.
| def add_image_member | ( | self, | |
| img, | |||
| project_id | |||
| ) |
Adds the project (tenant) represented by the project_id as a member of the specified image.
| def add_image_tag | ( | self, | |
| img, | |||
| tag | |||
| ) |
Adds the tag to the specified image.
| def change_image_name | ( | self, | |
| img, | |||
| newname | |||
| ) |
| def create | ( | self, | |
| name, | |||
img_format = None , |
|||
data = None , |
|||
container = None , |
|||
obj = None , |
|||
metadata = None |
|||
| ) |
Creates a new image with the specified name.
The image data can either be supplied directly in the 'data' parameter, or it can be an image stored in the object storage service. In the case of the latter, you can either supply the container and object names, or simply a StorageObject reference.
| def delete_image_member | ( | self, | |
| img, | |||
| project_id | |||
| ) |
Removes the project (tenant) represented by the project_id as a member of the specified image.
| def delete_image_tag | ( | self, | |
| img, | |||
| tag | |||
| ) |
Deletes the tag from the specified image.
| def export_task | ( | self, | |
| img, | |||
| cont | |||
| ) |
Creates a task to export the specified image to the swift container named in the 'cont' parameter.
If the container does not exist, a NoSuchContainer exception is raised.
The 'img' parameter can be either an Image object or the ID of an image. If these do not correspond to a valid image, a NotFound exception is raised.
| def get_image_member | ( | self, | |
| img, | |||
| member | |||
| ) |
Returns the ImageMember object representing the specified member for the specified image.
| def get_image_member_schema | ( | self | ) |
Returns a json-schema document that represents an image member entity.
(a container of member entities).
| def get_image_members_schema | ( | self | ) |
Returns a json-schema document that represents an image members entity (a container of member entities).
| def get_image_schema | ( | self | ) |
Returns a json-schema document that represents a single image entity.
| def get_image_task_schema | ( | self | ) |
Returns a json-schema document that represents an task entity.
| def get_image_tasks_schema | ( | self | ) |
Returns a json-schema document that represents a container of tasks entities.
| def get_images_schema | ( | self | ) |
Returns a json-schema document that represents an image members entity, which is a container of image member entities.
| def import_task | ( | self, | |
| img, | |||
| cont, | |||
img_format = None , |
|||
img_name = None |
|||
| ) |
Creates a task to import the specified image from the swift container named in the 'cont' parameter.
The new image will be named the same as the object in the container unless you specify a value for the 'img_name' parameter.
By default it is assumed that the image is in 'vhd' format; if it is another format, you must specify that in the 'img_format' parameter.
| def list | ( | self, | |
limit = None , |
|||
marker = None , |
|||
name = None , |
|||
visibility = None , |
|||
member_status = None , |
|||
owner = None , |
|||
tag = None , |
|||
status = None , |
|||
size_min = None , |
|||
size_max = None , |
|||
sort_key = None , |
|||
sort_dir = None |
|||
| ) |
Returns a list of resource objects.
Pagination is supported through the optional 'marker' and 'limit' parameters. Filtering the returned value is possible by specifying values for any of the other parameters.
| def list_all | ( | self, | |
name = None , |
|||
visibility = None , |
|||
member_status = None , |
|||
owner = None , |
|||
tag = None , |
|||
status = None , |
|||
size_min = None , |
|||
size_max = None , |
|||
sort_key = None , |
|||
sort_dir = None |
|||
| ) |
Returns all of the images in one call, rather than in paginated batches.
The same filtering options available in list() apply here, with the obvious exception of limit and marker.
| def list_image_members | ( | self, | |
| img | |||
| ) |
Returns a list of members (users) of the specified image.
| def list_tasks | ( | self | ) |
Returns a list of all tasks.
| def update | ( | self, | |
| img, | |||
| value_dict | |||
| ) |
Accepts an image reference (object or ID) and dictionary of key/value pairs, where the key is an attribute of the image, and the value is the desired new value for that image.
| def update_image_member | ( | self, | |
| img_id, | |||
| status | |||
| ) |
Updates the image whose ID is given with the status specified.
This must be called by the user whose project_id is in the members for the image; that is, the user with whom the image is being shared. If called by the owner of the image, an `InvalidImageMember` exception will be raised.
Valid values for 'status' include: pending accepted rejected
Any other value will result in an `InvalidImageMemberStatus` exception being raised.
string name = "Images" [static] |
Reimplemented from BaseClient.


Matistat.us
Status for my projects and.. you're right here!
Loading...
Loading...
Is it down though?™
>_ Loading...
Loading...
Status for my projects and.. you're right here!
Loading...
Loading...
My portfolio, where you can find info about who I am and what I do.
Loading...
Loading...
The home platform for all of my projects, serious or not.
Loading...
Loading...
Open source and free image hosting service.
Loading...
Loading...
A set of unofficial high school projects.
Loading...
Loading...
Showcase and documentation for Oli, my own open-source PHP framework.
Loading...
Loading...
A cool domain name for web-related stuff hosting.
Loading...
Loading...


{% extends "prose.html" %} {% block title %}Bioregistry Downloads{% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% block content %}
The bioregistry database can be downloaded as:
The manually curated portions of these data are available under the CC0 1.0 Universal License.
There is preliminary work in generating a knowledge graph around the information in the Bioregistry, including the relations between resources, providers, and registries. It can be viewed on the Network Data Exchange (NDEx).
See the Swagger API documentation.
The Python source code can be found at
bioregistry/bioregistry.
It can be installed with pip install bioregistry
or in development mode by following
these instructions.
The Bioregistry can be used to normalize prefixes across MIRIAM and all the (very plentiful) variants that pop
up in ontologies in OBO Foundry and the OLS with the normalize_prefix()
function.
import bioregistry
# This works for synonym prefixes, like:
assert 'ncbitaxon' == bioregistry.normalize_prefix('taxonomy')
# This works for common mistaken prefixes, like:
assert 'chembl.compound' == bioregistry.normalize_prefix('chembl')
# This works for prefixes that are often written many ways, like:
assert 'eccode' == bioregistry.normalize_prefix('ec-code')
assert 'eccode' == bioregistry.normalize_prefix('EC_CODE')
# If a prefix is not registered, it gives back `None`
assert bioregistry.normalize_prefix('not a real key') is None
Entries in the Bioregistry can be looked up with the get()
function.
import bioregistry
entry = bioregistry.get('taxonomy')
# there are lots of mysteries to discover in this dictionary!
The full Bioregistry can be read in a Python project using:
import bioregistry
registry = bioregistry.read_bioregistry()
{% endblock %}


Whac-a-mole
Test your skill. How many boxes(moles) can you check(hit) in 30 seconds?
Start Game | Stop Game
Time:
Score:
Instructions:
Click on the radio buttons(moles) as they are selected randomly by the computer.
1 point per hit, minus 1 point per miss.


patients influenza NIV (%) ICU respiratory study hospital {border-style admitted mortality px;} #ffffff;} rate health-care invasive acute confirmed success ventilation use (.%) admission reported cases lower patients, score studies co-workers disease failure low mechanical using APACHE high incidence px; ranged virus {font-family (HN) (in Engl Med Ventilation days described font-size infection length needed signs treated used Table double; hours mask medical need pandemic patient ratio total ./NEJMoa ARF, Acute HN. ICU. Mechanical Respiratory admission. border-color border-width coexisting considered contamination higher manuscript. non-invasive participated solid; stay swine-origin time year {font-style {font-weight (-) (IQR) (MV) (PaO (median, Care HN, Hospital RT-RTPCR able alert avoid benefit bold collab: courier; data developed diagnosis em; hospital. maneuver measures median noninvasive patients. pressure promptly pt;} rates real-time severe studies, transplant undergoing ventilation. weaning


An accession is usually an identifier you receive for your project if you have submitted it to a repository such as GEO, Arrayexpress, ENA, SRA


Hilaria Baldwin confirms a second miscarriage
by Madeline Holcombe, CNNHilaria Baldwin shared her grief on Instagram Monday over her second miscarriage this year.
"We are very sad to share that today we learned that our baby passed away at 4 months. We also want you to know that even though we are not ok right now, we will be," Baldwin wrote in the caption of a video she shared of her and her daughter.
In the video, Baldwin's daughter, Carmen, hugs her mother and kisses her cheek as Baldwin thanks her for saying she was sorry that her mom was sad.
Baldwin has been open about the joys and struggles of her pregnancies in the past. In April, Baldwin confirmed that she had experienced a miscarriage, saying that she wanted to share more than just the happy moments.
"I have no shame or embarrassment with this experience," Baldwin wrote in an April Instagram post. "I want to be a part of the effort to normalize miscarriage and remove the stigma from it. There is so much secrecy during the first trimester."
Baldwin has four children with actor Alec Baldwin: their daughter and three boys. She had shared a video in October of the couple revealing to their children that the new baby was a girl.
"I told [Carmen] that this baby isn't going to come after all...but we will try very hard to give her a little sister another time," Baldwin wrote.


About Me
Hello! I am currently a student at University of Minnesota Coding Bootcamps. I also do comercial, and residential lawn mowing for Murtha Lawn Care LLC. I grew up about forty minutes east of the twin cities, in the small town of Hammond, WI. Outside of work and the classrom I enjoy many different activities such as; hunting, fishing, watching sports, and playing video games. The process of starting my developer career is not a short one. I came out of high school thinking that I was going to play college football for the University of Wisconsin-River Falls. I quickly realized that was not the route I wanted. I went on to change my major from Environmental Engineering, to Physical Therapy. I tansferred schools, and enrolled at Chippewa Valley Technical College. After leaving CVTC I was in search of a new career path, and my older brother came to me with the idea of becoming a Software Engineer like him. I never thought of the tech field as being where I would land, however I really enjoy technology and video games so it didn't seem out of reach. After researching more about web developpment, and learning to use some software on my own. I realized that I actually really enjoyed working with the different software programs!


We appreciate that ideas require resources to bring to market - especially on a global scale. We'll help prepare you for the pitch and put you in front of both local angel investors and some of Australia's biggest VCs
We aim to be as flexible and inclusive as possible. Bring your passion, enthusiasm and laptop and we'll provide the rest. We also have community events and a publicly bookable boardroom. If you don't see something that suits your needs, drop us a line and we can chat about your requirements.
We're just getting warmed up and want to hear from you to help us build something great -- together!


A B C D E F G H I L M N P Q R S T V W X misc
| ampute | Generate Missing Data for Simulation Purposes |
| anova.mira | Compare several nested models |
| appendbreak | Appends specified break to the data |
| as.mids | Converts an multiply imputed dataset (long format) into a 'mids' object |
| as.mira | Create a 'mira' object from repeated analyses |
| as.mitml.result | Converts into a 'mitml.result' object |
| boys | Growth of Dutch boys |
| brandsma | Brandsma school data used Snijders and Bosker (2012) |
| bwplot | Box-and-whisker plot of observed and imputed data |
| bwplot.mads | Box-and-whisker plot of amputed and non-amputed data |
| bwplot.mids | Box-and-whisker plot of observed and imputed data |
| cart | Imputation by classification and regression trees |
| cbind.mids | Combine 'mids' objects by columns |
| cc | Select complete cases |
| cci | Complete case indicator |
| complete | Extracts the completed data from a 'mids' object |
| complete.mids | Extracts the completed data from a 'mids' object |
| construct.blocks | Construct blocks from 'formulas' and 'predictorMatrix' |
| D1 | Compare two nested models using D1-statistic |
| D2 | Compare two nested models using D2-statistic |
| D3 | Compare two nested models using D3-statistic |
| densityplot | Density plot of observed and imputed data |
| densityplot.mids | Density plot of observed and imputed data |
| employee | Employee selection data |
| estimice | Computes least squares parameters |
| extractBS | Extract broken stick estimates from a 'lmer' object |
| fdd | SE Fireworks disaster data |
| fdd.pred | SE Fireworks disaster data |
| fdgs | Fifth Dutch growth study 2009 |
| fico | Fraction of incomplete cases among cases with observed |
| fix.coef | Fix coefficients and update model |
| flux | Influx and outflux of multivariate missing data patterns |
| fluxplot | Fluxplot of the missing data pattern |
| getfit | Extract list of fitted model |
| getqbar | Extract estimate from 'mipo' object |
| glm.mids | Generalized linear model for 'mids' object |
| hazard | Cumulative hazard rate or Nelson-Aalen estimator |
| ibind | Enlarge number of imputations by combining 'mids' objects |
| ic | Select incomplete cases |
| ici | Incomplete case indicator |
| ici-method | Incomplete case indicator |
| is.mads | Check for 'mads' object |
| is.mids | Check for 'mids' object |
| is.mipo | Check for 'mipo' object |
| is.mira | Check for 'mira' object |
| is.mitml.result | Check for 'mitml.result' object |
| leiden85 | Leiden 85+ study |
| lm.mids | Linear regression for 'mids' object |
| mads-class | Multivariate Amputed Data Set ('mads') |
| make.blocks | Creates a 'blocks' argument |
| make.blots | Creates a 'blots' argument |
| make.formulas | Creates a 'formulas' argument |
| make.method | Creates a 'method' argument |
| make.post | Creates a 'post' argument |
| make.predictorMatrix | Creates a 'predictorMatrix' argument |
| make.visitSequence | Creates a 'visitSequence' argument |
| make.where | Creates a 'where' argument |
| mammalsleep | Mammal sleep data |
| md.pairs | Missing data pattern by variable pairs |
| md.pattern | Missing data pattern |
| mdc | Graphical parameter for missing data plots. |
| mgg | Self-reported and measured BMI |
| mice | 'mice': Multivariate Imputation by Chained Equations |
| mice.impute.2l.bin | Imputation by a two-level logistic model using 'glmer' |
| mice.impute.2l.lmer | Imputation by a two-level normal model using 'lmer' |
| mice.impute.2l.norm | Imputation by a two-level normal model |
| mice.impute.2l.pan | Imputation by a two-level normal model using 'pan' |
| mice.impute.2lonly.mean | Imputation of most likely value within the class |
| mice.impute.2lonly.norm | Imputation at level 2 by Bayesian linear regression |
| mice.impute.2lonly.pmm | Imputation at level 2 by predictive mean matching |
| mice.impute.cart | Imputation by classification and regression trees |
| mice.impute.jomoImpute | Multivariate multilevel imputation using 'jomo' |
| mice.impute.lda | Imputation by linear discriminant analysis |
| mice.impute.logreg | Imputation by logistic regression |
| mice.impute.logreg.boot | Imputation by logistic regression using the bootstrap |
| mice.impute.mean | Imputation by the mean |
| mice.impute.midastouch | Imputation by predictive mean matching with distance aided donor selection |
| mice.impute.mnar.logreg | Imputation under MNAR mechanism by NARFCS |
| mice.impute.mnar.norm | Imputation under MNAR mechanism by NARFCS |
| mice.impute.norm | Imputation by Bayesian linear regression |
| mice.impute.norm.boot | Imputation by linear regression, bootstrap method |
| mice.impute.norm.nob | Imputation by linear regression without parameter uncertainty |
| mice.impute.norm.predict | Imputation by linear regression through prediction |
| mice.impute.panImpute | Impute multilevel missing data using 'pan' |
| mice.impute.passive | Passive imputation |
| mice.impute.pmm | Imputation by predictive mean matching |
| mice.impute.polr | Imputation of ordered data by polytomous regression |
| mice.impute.polyreg | Imputation of unordered data by polytomous regression |
| mice.impute.quadratic | Imputation of quadratic terms |
| mice.impute.rf | Imputation by random forests |
| mice.impute.ri | Imputation by the random indicator method for nonignorable data |
| mice.impute.sample | Imputation by simple random sampling |
| mice.mids | Multivariate Imputation by Chained Equations (Iteration Step) |
| mice.theme | Set the theme for the plotting Trellis functions |
| mids | Multiply imputed data set ('mids') |
| mids-class | Multiply imputed data set ('mids') |
| mids2mplus | Export 'mids' object to Mplus |
| mids2spss | Export 'mids' object to SPSS |
| mira | Multiply imputed repeated analyses ('mira') |
| mira-class | Multiply imputed repeated analyses ('mira') |
| mnar.logreg | Imputation under MNAR mechanism by NARFCS |
| mnar.norm | Imputation under MNAR mechanism by NARFCS |
| mnar_demo_data | MNAR demo data |
| name.blocks | Name imputation blocks |
| name.formulas | Name formula list elements |
| ncc | Number of complete cases |
| nelsonaalen | Cumulative hazard rate or Nelson-Aalen estimator |
| nhanes | NHANES example - all variables numerical |
| nhanes2 | NHANES example - mixed numerical and discrete variables |
| nic | Number of incomplete cases |
| nimp | Number of imputations per block |
| norm | Imputation by Bayesian linear regression |
| norm.boot | Imputation by linear regression, bootstrap method |
| norm.draw | Draws values of beta and sigma by Bayesian linear regression |
| norm.nob | Imputation by linear regression without parameter uncertainty |
| norm.predict | Imputation by linear regression through prediction |
| parlmice | Wrapper function that runs MICE in parallel |
| pattern | Datasets with various missing data patterns |
| pattern1 | Datasets with various missing data patterns |
| pattern2 | Datasets with various missing data patterns |
| pattern3 | Datasets with various missing data patterns |
| pattern4 | Datasets with various missing data patterns |
| plot.mids | Plot the trace lines of the MICE algorithm |
| pmm | Imputation by predictive mean matching |
| pool | Combine estimates by Rubin's rules |
| pool.compare | Compare two nested models fitted to imputed data |
| pool.r.squared | Pooling: R squared |
| pool.scalar | Multiple imputation pooling: univariate version |
| popmis | Hox pupil popularity data with missing popularity scores |
| pops | Project on preterm and small for gestational age infants (POPS) |
| pops.pred | Project on preterm and small for gestational age infants (POPS) |
| potthoffroy | Potthoff-Roy data |
| print.mads | Print a 'mads' object |
| print.mice.anova | Print a 'mids' object |
| print.mice.anova.summary | Print a 'mids' object |
| print.mids | Print a 'mids' object |
| print.mira | Print a 'mids' object |
| quadratic | Imputation of quadratic terms |
| quickpred | Quick selection of predictors from the data |
| rbind.mids | Combine 'mids' objects by rows |
| ri | Imputation by the random indicator method for nonignorable data |
| selfreport | Self-reported and measured BMI |
| sleep | Mammal sleep data |
| squeeze | Squeeze the imputed values to be within specified boundaries. |
| stripplot | Stripplot of observed and imputed data |
| stripplot.mids | Stripplot of observed and imputed data |
| summary.mads | Summary of a 'mira' object |
| summary.mice.anova | Summary of a 'mira' object |
| summary.mids | Summary of a 'mira' object |
| summary.mira | Summary of a 'mira' object |
| supports.transparent | Supports semi-transparent foreground colors? |
| tbc | Terneuzen birth cohort |
| tbc.target | Terneuzen birth cohort |
| terneuzen | Terneuzen birth cohort |
| toenail | Toenail data |
| toenail2 | Toenail data |
| transparent | Supports semi-transparent foreground colors? |
| version | Echoes the package version number |
| walking | Walking disability data |
| windspeed | Subset of Irish wind speed data |
| with.mids | Evaluate an expression in multiple imputed datasets |
| xyplot | Scatterplot of observed and imputed data |
| xyplot.mads | Scatterplot of amputed and non-amputed data against weighted sum scores |
| xyplot.mids | Scatterplot of observed and imputed data |
| .norm.draw | Draws values of beta and sigma by Bayesian linear regression |
| .pmm.match | Finds an imputed value from matches in the predictive metric (deprecated) |
| 2l.pan | Imputation by a two-level normal model using 'pan' |
| 2lonly.mean | Imputation of most likely value within the class |
| 2lonly.norm | Imputation at level 2 by Bayesian linear regression |
| 2lonly.pmm | Imputation at level 2 by predictive mean matching |


Thank you for signing up to use Multi-factor authentication (MFA) to protect your Office 365 account. To complete the MFA enrollment process you must verify your recovery email by clicking on the link below. This account will be used to verify your identity in the event that you need to lose, wipe or replace the mobile device that is connected to MFA.


- saveData(Project, String) - Static method in class core.SerializeData
-
Uses serialization to save the current root state to a binary file
- scanner - Static variable in class mockClient.Client
-
- SerializeData - Class in core
-
- SerializeData() - Constructor for class core.SerializeData
-
- serialVersionUID - Static variable in class core.Activity
-
- serialVersionUID - Static variable in class core.BasicTask
-
- serialVersionUID - Static variable in class core.Clock
-
- serialVersionUID - Static variable in class core.Interval
-
- serialVersionUID - Static variable in class core.ProgrammedEvent
-
- serialVersionUID - Static variable in class core.Project
-
- serialVersionUID - Static variable in class core.SpecialTask
-
- serialVersionUID - Static variable in class core.Task
-
- serialVersionUID - Static variable in class core.TaskSequence
-
- serialVersionUID - Static variable in class core.TimedTask
-
- setActivityList(ArrayList<Activity>) - Method in class core.Project
-
- setCurrentDate(Date) - Static method in class core.Clock
-
- setDescription(String) - Method in class core.Activity
-
- setDescription(String) - Method in class core.Interval
-
- setEndDate(Date) - Method in class core.Activity
-
- setEndDate(Date) - Method in class core.Interval
-
- setEndingDate(Date) - Method in class core.ProgrammedEvent
-
- setFather(Project) - Method in class core.Activity
-
- setFatherTask(Task) - Method in class core.Interval
-
- setIntervalLength(long) - Static method in class core.Clock
-
- setIntervalList(ArrayList<Interval>) - Method in class core.Task
-
- setLength(long) - Method in class core.Clock
-
- setLength(long) - Method in class core.Interval
-
- setName(String) - Method in class core.Activity
-
- setName(String) - Method in class core.Interval
-
- setProject(Project) - Method in class core.Activity
-
- setRoot(Project) - Static method in class mockClient.Client
-
- setRunning(boolean) - Method in class core.Clock
-
- setStartDate(Date) - Method in class core.Activity
-
- setStartDate(Date) - Method in class core.Interval
-
- setTaskType(String) - Method in class core.Task
-
- setTimer(Timer) - Method in class core.Clock
-
- singleClock - Static variable in class core.Clock
-
- SpecialTask - Class in core
-
- SpecialTask(String, String, Project, ArrayList<Activity>, String) - Constructor for class core.SpecialTask
-
Special task decorator constructor, delegates the implementation to Task
- SpecialTask() - Constructor for class core.SpecialTask
-
No arg constructor used to serialize
- start() - Method in class core.Clock
-
Starts the clock instance
- startDate - Variable in class core.Activity
-
- startDate - Variable in class core.Interval
-
- startingDate - Variable in class core.ProgrammedEvent
-
- startTaskInterval(String, String) - Method in class core.Task
-
Starts a new task interval
- stop() - Method in class core.Clock
-
Stops the clock instance
- stopTaskInterval() - Method in class core.Task
-
Stops this task's lest running interval and updates the project tree accordingly.
- stopTaskInterval() - Method in class core.TaskSequence
-


More New Mexico Democrats endorse Senate bid by congressman
SANTA FE, N.M. (AP) - U.S. Rep. Ben Ray Luján says his Senate election bid in 2020 has the support of New Mexico’s two current senators.
In a statement Monday, Luján announced endorsements of his campaign by retiring Sen. Tom Udall and second-term Sen. Martin Heinrich.
Leading Democrats are falling in line behind Luján as the only Democratic contender to replace Udall after Secretary of State Maggie Toulouse Oliver dropped out of the race last week.
Republican contractor Mick Rich and college professor Gavin Clarkson are pursuing the GOP nomination for Senate. They both lost statewide elections in 2018.
Luján represents northern New Mexico and currently holds the No. 4 leadership position among House Democrats. A crowded field of candidates are vying for his seat in Congress.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Interface VideoFrameProcessor
-
- All Known Implementing Classes:
DefaultVideoFrameProcessor
@Deprecated public interface VideoFrameProcessor
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Interface for a video frame processor that applies changes to individual video frames.The changes are specified by
Effect
instances passed toVideoFrameProcessor.Factory.create(android.content.Context, java.util.List<com.google.android.exoplayer2.util.Effect>, com.google.android.exoplayer2.util.DebugViewProvider, com.google.android.exoplayer2.video.ColorInfo, com.google.android.exoplayer2.video.ColorInfo, boolean, java.util.concurrent.Executor, com.google.android.exoplayer2.util.VideoFrameProcessor.Listener)
.Manages its input
Surface
, which can be accessed viagetInputSurface()
. The outputSurface
must be set by the caller usingsetOutputSurfaceInfo(SurfaceInfo)
.The caller must register input frames before rendering them to the input
Surface
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
VideoFrameProcessor.Factory
Deprecated.A factory forVideoFrameProcessor
instances.static interface
VideoFrameProcessor.InputType
Deprecated.Specifies how the input frames are made available to theVideoFrameProcessor
.static interface
VideoFrameProcessor.Listener
Deprecated.Listener for asynchronous frame processing events.
-
Field Summary
Fields Modifier and Type Field Description static long
DROP_OUTPUT_FRAME
Deprecated.Indicates the frame should be dropped afterrenderOutputFrame(long)
is invoked.static int
INPUT_TYPE_BITMAP
Deprecated.Input frames come from aBitmap
.static int
INPUT_TYPE_SURFACE
Deprecated.Input frames come from asurface
.static int
INPUT_TYPE_TEXTURE_ID
Deprecated.Input frames come from a traditional GLES texture.static long
RENDER_OUTPUT_FRAME_IMMEDIATELY
Deprecated.Indicates the frame should be rendered immediately afterrenderOutputFrame(long)
is invoked.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
flush()
Deprecated.Flushes theVideoFrameProcessor
.Surface
getInputSurface()
Deprecated.Returns the inputSurface
, whereVideoFrameProcessor
consumes input frames from.int
getPendingInputFrameCount()
Deprecated.Returns the number of input frames that have been made available to theVideoFrameProcessor
but have not been processed yet.void
queueInputBitmap(Bitmap inputBitmap, long durationUs, float frameRate)
Deprecated.Provides an inputBitmap
to theVideoFrameProcessor
.void
queueInputTexture(int textureId, long presentationTimeUs)
Deprecated.Provides an input texture ID to theVideoFrameProcessor
.void
registerInputFrame()
Deprecated.Informs theVideoFrameProcessor
that a frame will be queued to its input surface.void
<EMAIL_ADDRESS>int inputType)
Deprecated.Informs theVideoFrameProcessor
that a new input stream will be queued.void
release()
Deprecated.Releases all resources.void
renderOutputFrame(long renderTimeNs)
Deprecated.Renders the oldest unrendered output frame that has become available for rendering at the givenrenderTimeNs
.void
setInputFrameInfo(FrameInfo inputFrameInfo)
Deprecated.Sets information about the input frames.void
setOnInputFrameProcessedListener(OnInputFrameProcessedListener listener)
Deprecated.Sets theOnInputFrameProcessedListener
.void
setOutputSurfaceInfo(SurfaceInfo outputSurfaceInfo)
Deprecated.Sets the output surface and supporting information.void
signalEndOfInput()
Deprecated.Informs theVideoFrameProcessor
that no further input frames should be accepted.
-
-
-
Field Detail
-
INPUT_TYPE_SURFACE
static final int INPUT_TYPE_SURFACE
Deprecated.Input frames come from asurface
.- See Also:
- Constant Field Values
-
INPUT_TYPE_BITMAP
static final int INPUT_TYPE_BITMAP
Deprecated.Input frames come from aBitmap
.- See Also:
- Constant Field Values
-
INPUT_TYPE_TEXTURE_ID
static final int INPUT_TYPE_TEXTURE_ID
Deprecated.Input frames come from a traditional GLES texture.- See Also:
- Constant Field Values
-
RENDER_OUTPUT_FRAME_IMMEDIATELY
static final long RENDER_OUTPUT_FRAME_IMMEDIATELY
Deprecated.Indicates the frame should be rendered immediately afterrenderOutputFrame(long)
is invoked.- See Also:
- Constant Field Values
-
DROP_OUTPUT_FRAME
static final long DROP_OUTPUT_FRAME
Deprecated.Indicates the frame should be dropped afterrenderOutputFrame(long)
is invoked.- See Also:
- Constant Field Values
-
-
Method Detail
-
queueInputBitmap
void queueInputBitmap(Bitmap inputBitmap, long durationUs, float frameRate)
Deprecated.- Parameters:
inputBitmap
- TheBitmap
queued to theVideoFrameProcessor
.durationUs
- The duration for which to display theinputBitmap
, in microseconds.frameRate
- The frame rate at which to display theinputBitmap
, in frames per second.- Throws:
UnsupportedOperationException
- If theVideoFrameProcessor
does not accept bitmap input.
-
queueInputTexture
void queueInputTexture(int textureId, long presentationTimeUs)
Deprecated.Provides an input texture ID to theVideoFrameProcessor
.It must be called after the
onInputFrameProcessedListener
and theframeInfo
have been set.Can be called on any thread.
- Parameters:
textureId
- The ID of the texture queued to theVideoFrameProcessor
.presentationTimeUs
- The presentation time of the queued texture, in microseconds.
-
setOnInputFrameProcessedListener
void setOnInputFrameProcessedListener(OnInputFrameProcessedListener listener)
Deprecated.Sets theOnInputFrameProcessedListener
.Can be called on any thread.
- Parameters:
listener
- TheOnInputFrameProcessedListener
.
-
getInputSurface
Surface getInputSurface()
Deprecated.Returns the inputSurface
, whereVideoFrameProcessor
consumes input frames from.Can be called on any thread.
- Throws:
UnsupportedOperationException
- If theVideoFrameProcessor
does not accept surface input.
-
registerInputStream
void<EMAIL_ADDRESS>int inputType)
Deprecated.Informs theVideoFrameProcessor
that a new input stream will be queued.Call
setInputFrameInfo(com.google.android.exoplayer2.util.FrameInfo)
before this method if theFrameInfo
of the new input stream differs from that of the current input stream.
-
setInputFrameInfo
void setInputFrameInfo(FrameInfo inputFrameInfo)
Deprecated.Sets information about the input frames.The new input information is applied from the next frame registered or queueInputTexture(int, long) queued} onwards.
Pixels are expanded using the
FrameInfo.pixelWidthHeightRatio
so that the output frames' pixels have a ratio of 1.Can be called on any thread.
-
registerInputFrame
void registerInputFrame()
Deprecated.Informs theVideoFrameProcessor
that a frame will be queued to its input surface.Must be called before rendering a frame to the input surface.
Can be called on any thread.
- Throws:
UnsupportedOperationException
- If theVideoFrameProcessor
does not accept surface input.IllegalStateException
- If called aftersignalEndOfInput()
or beforesetInputFrameInfo(FrameInfo)
.
-
getPendingInputFrameCount
int getPendingInputFrameCount()
Deprecated.Returns the number of input frames that have been made available to theVideoFrameProcessor
but have not been processed yet.Can be called on any thread.
-
setOutputSurfaceInfo
void setOutputSurfaceInfo(@Nullable SurfaceInfo outputSurfaceInfo)
Deprecated.Sets the output surface and supporting information. When output frames are rendered and not dropped, they will be rendered to this outputSurfaceInfo
.The new output
SurfaceInfo
is applied from the next output frame rendered onwards. If the outputSurfaceInfo
isnull
, theVideoFrameProcessor
will stop rendering pending frames and resume rendering once a non-nullSurfaceInfo
is set.If the dimensions given in
SurfaceInfo
do not match the output size after applying the final effect the frames are resized before rendering to the surface and letter/pillar-boxing is applied.The caller is responsible for tracking the lifecycle of the
SurfaceInfo.surface
including calling this method with a new surface if it is destroyed. When this method returns, the previous output surface is no longer being used and can safely be released by the caller.
-
renderOutputFrame
void renderOutputFrame(long renderTimeNs)
Deprecated.Renders the oldest unrendered output frame that has become available for rendering at the givenrenderTimeNs
.This will either render the output frame to the output surface, or drop the frame, per
renderTimeNs
.This method must only be called if
renderFramesAutomatically
was set tofalse
using theVideoFrameProcessor.Factory
and should be called exactly once for each frame that becomes available for rendering.The
renderTimeNs
may be passed toEGLExt.eglPresentationTimeANDROID(android.opengl.EGLDisplay, android.opengl.EGLSurface, long)
depending on the implementation.- Parameters:
renderTimeNs
- The render time to use for the frame, in nanoseconds. The render time can be before or after the current system time. UseDROP_OUTPUT_FRAME
to drop the frame, orRENDER_OUTPUT_FRAME_IMMEDIATELY
to render the frame immediately.
-
signalEndOfInput
void signalEndOfInput()
Deprecated.Informs theVideoFrameProcessor
that no further input frames should be accepted.Can be called on any thread.
- Throws:
IllegalStateException
- If called more than once.
-
flush
void flush()
Deprecated.Flushes theVideoFrameProcessor
.All the frames that are registered prior to calling this method are no longer considered to be registered when this method returns.
VideoFrameProcessor.Listener
methods invoked prior to calling this method should be ignored.- Throws:
UnsupportedOperationException
- If theVideoFrameProcessor
does not accept surface input.
-
release
void release()
Deprecated.Releases all resources.If the
VideoFrameProcessor
is released before it has ended, it will attempt to cancel processing any input frames that have already become available. Input frames that become available after release are ignored.This method blocks until all resources are released or releasing times out.
Can be called on any thread.
-
-