public class SerialPort
extends java.lang.Object
The current implementation uses the VISA formatted I/O mode. This means that all traffic goes through the formatted buffers. This allows the intermingled use of print(), readString(), and the raw buffer accessors read() and write().
More information can be found in the NI-VISA User Manual here: http://www.ni .com/pdf/manuals/370423a.pdf and the NI-VISA Programmer's Reference Manual here: http://www.ni.com/pdf/manuals/370132c.pdf
| Modifier and Type | Class and Description |
|---|---|
static class |
SerialPort.FlowControl
Represents what type of flow control to use for serial communication.
|
static class |
SerialPort.Parity
Represents the parity to use for serial communications.
|
static class |
SerialPort.Port |
static class |
SerialPort.StopBits
Represents the number of stop bits to use for Serial Communication.
|
static class |
SerialPort.WriteBufferMode
Represents which type of buffer mode to use when writing to a serial m_port.
|
| Constructor and Description |
|---|
SerialPort(int baudRate,
SerialPort.Port port)
Create an instance of a Serial Port class.
|
SerialPort(int baudRate,
SerialPort.Port port,
int dataBits)
Create an instance of a Serial Port class.
|
SerialPort(int baudRate,
SerialPort.Port port,
int dataBits,
SerialPort.Parity parity)
Create an instance of a Serial Port class.
|
SerialPort(int baudRate,
SerialPort.Port port,
int dataBits,
SerialPort.Parity parity,
SerialPort.StopBits stopBits)
Create an instance of a Serial Port class.
|
SerialPort(int baudRate,
java.lang.String portName,
SerialPort.Port port,
int dataBits,
SerialPort.Parity parity,
SerialPort.StopBits stopBits)
Deprecated.
Will be removed for 2019
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableTermination()
Disable termination behavior.
|
void |
enableTermination()
Enable termination with the default terminator '\n'
|
void |
enableTermination(char terminator)
Enable termination and specify the termination character.
|
void |
flush()
Force the output buffer to be written to the port.
|
void |
free()
Destructor.
|
int |
getBytesReceived()
Get the number of bytes currently available to read from the serial port.
|
byte[] |
read(int count)
Read raw bytes out of the buffer.
|
java.lang.String |
readString()
Read a string out of the buffer.
|
java.lang.String |
readString(int count)
Read a string out of the buffer.
|
void |
reset()
Reset the serial port driver to a known state.
|
void |
setFlowControl(SerialPort.FlowControl flowControl)
Set the type of flow control to enable on this port.
|
void |
setReadBufferSize(int size)
Specify the size of the input buffer.
|
void |
setTimeout(double timeout)
Configure the timeout of the serial m_port.
|
void |
setWriteBufferMode(SerialPort.WriteBufferMode mode)
Specify the flushing behavior of the output buffer.
|
void |
setWriteBufferSize(int size)
Specify the size of the output buffer.
|
int |
write(byte[] buffer,
int count)
Write raw bytes to the serial port.
|
int |
writeString(java.lang.String data)
Write a string to the serial port.
|
@Deprecated public SerialPort(int baudRate, java.lang.String portName, SerialPort.Port port, int dataBits, SerialPort.Parity parity, SerialPort.StopBits stopBits)
baudRate
- The baud rate to configure the serial port.port
- The Serial port to useportName
- The direct portName to usedataBits
- The number of data bits per transfer. Valid values are between 5 and 8 bits.parity
- Select the type of parity checking to use.stopBits
- The number of stop bits to use as defined by the enum StopBits.public SerialPort(int baudRate, SerialPort.Port port, int dataBits, SerialPort.Parity parity, SerialPort.StopBits stopBits)
baudRate
- The baud rate to configure the serial port.port
- The Serial port to usedataBits
- The number of data bits per transfer. Valid values are between 5 and 8 bits.parity
- Select the type of parity checking to use.stopBits
- The number of stop bits to use as defined by the enum StopBits.public SerialPort(int baudRate, SerialPort.Port port, int dataBits, SerialPort.Parity parity)
baudRate
- The baud rate to configure the serial port.dataBits
- The number of data bits per transfer. Valid values are between 5 and 8 bits.parity
- Select the type of parity checking to use.public SerialPort(int baudRate, SerialPort.Port port, int dataBits)
baudRate
- The baud rate to configure the serial port.dataBits
- The number of data bits per transfer. Valid values are between 5 and 8 bits.public SerialPort(int baudRate, SerialPort.Port port)
baudRate
- The baud rate to configure the serial port.public void free()
public void setFlowControl(SerialPort.FlowControl flowControl)
By default, flow control is disabled.
flowControl
- the FlowControl m_value to usepublic void enableTermination(char terminator)
Termination is currently only implemented for receive. When the the terminator is received, the read() or readString() will return fewer bytes than requested, stopping after the terminator.
terminator
- The character to use for termination.public void enableTermination()
Termination is currently only implemented for receive. When the the terminator is received, the read() or readString() will return fewer bytes than requested, stopping after the terminator.
The default terminator is '\n'
public void disableTermination()
public int getBytesReceived()
public java.lang.String readString()
public java.lang.String readString(int count)
count
- the number of characters to read into the stringpublic byte[] read(int count)
count
- The maximum number of bytes to read.public int write(byte[] buffer, int count)
buffer
- The buffer of bytes to write.count
- The maximum number of bytes to write.public int writeString(java.lang.String data)
data
- The string to write to the serial port.public void setTimeout(double timeout)
This defines the timeout for transactions with the hardware. It will affect reads if less bytes are available than the read buffer size (defaults to 1) and very large writes.
timeout
- The number of seconds to to wait for I/O.public void setReadBufferSize(int size)
Specify the amount of data that can be stored before data from the device is returned to Read. If you want data that is received to be returned immediately, set this to 1.
It the buffer is not filled before the read timeout expires, all data that has been received so far will be returned.
size
- The read buffer size.public void setWriteBufferSize(int size)
Specify the amount of data that can be stored before being transmitted to the device.
size
- The write buffer size.public void setWriteBufferMode(SerialPort.WriteBufferMode mode)
When set to kFlushOnAccess, data is synchronously written to the serial port after each call to either print() or write().
When set to kFlushWhenFull, data will only be written to the serial port when the buffer is full or when flush() is called.
mode
- The write buffer mode.public void flush()
This is used when setWriteBufferMode() is set to kFlushWhenFull to force a flush before the buffer is full.
public void reset()
Empty the transmit and receive buffers in the device and formatted I/O.


Donation
Rules:
- You don't get any benefits/perks from donating
- Donations don't influence the amount, longevity, availability, features, or nature of the services provided by gang.moe
- If possible, please donate anonymously, I want to treat all my users the same, donator or not
- These rules can be changed in any way, at any time, and for any reason, without prior notice
If you would still like to donate after having read these rules, you can send any amount:
- via PayPal, or
- via Bitcoin (bc1qghd58cp0e792676vn3m5u3qgel96srgvrg3xr5).


Internet Security - Cryptography fundamentals
by Wenwei Weng
Internet security is becoming more relevant in life as internet is growing daily. There are many aspects of internet security. Cryptograph is a fundamental element when we talk about internet security related to encryption and decryption.
In this post, I will give a summary of cypto used in network security.
terminology
Cipher
A cipher is an algorithm for performing data encryption and decryption. e.g. old day’s Caesar Cipher, Vigenere Cipher, Tranposition Cipher; today’s DES, 3DES, AES, Rivest Ciphers. See a brief desciption for each.
DES
The Data Encryption Standard (DES) has now been in use for over 35 years and still has not been found to have a signifi cant fl aw. However, because its key length is relatively short, it can be susceptible to brute - force attacks. DES uses a 64 -bit key, but only 56 of the bits are used for encryption. Unfortunately, 16 of those remaining 56 bits are known and 40 bits are unknown. The other 8 bits are used for parity. What that means, essentially, is that DES has a 40 - bit key strength. DES has two operating modes, stream cipher and block cipher. Further, each of these two modes has two types within it.
3DES
Triple DES, as the 3DES encryption algorithm has become known, essentially strengthens the original DES algorithm by applying it three times. Because the original DES algorithm is cryptographically strong, it can be made much stronger by encrypting the data three times. This triple encryption makes a brute - force attack unfeasible. The effective key strength can be either 112 bit or 168 bit, which is what Cisco uses. Let us examine how the 3DES algorithm works.
- A first 56 -bit key is used to encrypt the plaintext.
- A second 56 -bit key is used to decrypt the data.
- A third 56 -bit key is used to encrypt the data again.
AES
Advanced Encryption Algorithm (AES) came about after the federal government decided that it needed to create a new standard that would replace DES as the offi cial government encryption cipher. A bake - off of sorts was initiated in 1997. The winner, selected in 2000, was the Rijndael cipher, a mixture of the last names of the two creators, Joan Daemen and Vincent Rijmen. This cipher became an offi cial government standard in 2002. The Rijndael cipher uses a variable key length and block size in the implementation of the cipher. There are potentially nine different combinations of key length and block size. You may use a key length of 256 bits, 192 bits, or 128 bits to encrypt block sizes of 128 bits, 192 bits, or 256 bits.
Rivest Ciphers
The Rivest ciphers are also known as the RC ciphers. Ron Rivest is a well -known cryptographer and professor at MIT. He is the author of the Rivest ciphers known as RC2, RC4, and RC5 and coauthor of RC6.
- RC2: Variable - length key - block cipher, designed to be an alternative to DES.
- RC4: Variable key - length stream cipher used frequently in file encryption products, as well as in Secure Sockets Layer (SSL).
- RC5: RC5 has a variable - length key and variable - length block size.
- RC6: Block cipher meant to compete for the AES standard.
Examples: encryt and decrypt a text file
We can use openssl in linux to encrypt and decryt file.
First let’s create a file named as “plaintext-hello.txt”
Second, let’s encrypt it using passord “cipherme”
Third, let’s decrypt the binary to see if we can restore “hello world” plain text. As shown below, we did it.
In the above example, the algorithm aes-256-cbc is picked. For supported encrypt algorithm, use “man openssl” to find out.
Digital signature
hashing
What is hashing? Simply put, hashing is taking some type of input data and generating some sort of value. This value is typically a fixed - length integer. The process of taking input data and generating the value is called a hash function . The output of the hash function is called the hash value. A hash function has fi ve main features:
- Easily compute the hash value for any message ---> Fast and Efficient
- Must never create the same hash value from two different sets of data ---> Collision Resistant
- Cannot modify the message without altering the hash value ---> Manipulation resistant
- Cannot determine the message from the hash value ---> One-way hash
- Take variable -length data and produce a fixed-length value ---> Fixed-length hash value
The typical hashing used are: MD5, SHA1, SHA256, SHA512. See example below.
Hash Message Authentication Code (HMAC)
Hash Message Authentication Code (HMAC) is a way to further secure a hash. HMAC is not a hash function requirement but has its place when we talk about securing the hash function. Because some popular hash algorithms have been shown not to be completely collision resistant, it is important to add newer techniques to validate the integrity of a hash. HMAC accomplishes this by adding another layer of data into the hashing mix. This layer is called a secret key . The secret key is known only by the sender and receiver, and it provides authentication to HMAC. In the HMAC process, the input data is taken and a secret key is added. Both the input data and secret key are put through the hashing algorithm. This produces an HMAC hash . The size of the HMAC hash is the same as that of the corresponding hashing algorithm. (The two main types of HMAC hashes are HMAC - MD5, which produces a 128 - bit hash, and HMAC - SHA - 1, which produces a 160 -bit hash.)
See example below, HMAC of “Hello World” from file plaintext-hello.txt, using secret key “mykey”. The sender sends the message along with HMAC using shared secret key (in below example “mykey”). The receiver gets the message, and computes HMAC using received data, plus shared secret key, generate HMAC, and comparing too received HMAC. If both are equal, then it means message is received as sent exactly.
Digital Signatures
A digital signature is an electronic means to validate the authenticity and integrity of a message, software, or document. Most digital signatures use asymmetric cryptography to accomplish the authenticity.
As shown above, it uses private key to genearte HMAC in the sender side, however the pubic key is used in receiver side to generate HMAC to compare. This is the key feature of asymmetric encryption technology, which we talk next.
Asymmetric encryption
PKI
Digital Certificate
Subscribe via RSS


3 drug peddlers busted
by Joel dela TorrePOLICE arrested three alleged drug pushers who yielded P1.7 million worth of shabu during a buy-bust at a condominium early morning yesterday in Quezon City.
Acting QCPD director Col. Ronnie Montejo identified the suspects as Emilyn Luna, 35, of Bgy. Tatalon; Zainodin Encio, 45, of Bgy. Sto. Cristo, Diliman, and Mark Mercado, 33, of Bgy. Vasra.
Montejo said a joint operation conducted by the Galas Police Station (PS 11) and the Criminal Investigation and Detection Group (CIDG) of Northern Manila District Field Unit arrested the suspects inside Room 12 at the 21st floor of Grass Residences Condominium Corporation located at the corner of Nueva Ecija Street and Nueva Viscaya in Bgy. Sto. Cristo, at around 3 a.m.
A deal was set up after the operatives completed a drug deal with the suspects.
Seized from the suspects were 250 grams of suspected illegal drugs with estimated value of P1,700,000, the buy-bust money and cell phones used in their drug deals.
Montejo said Encio has been previously arrested for the same offense while Luna was included in the drug watch list of the station.


{% import "_includes/forms" as forms %} {% set name = craft.spamguard.getName() %} {% set alias = craft.spamguard.getName(false) %} {% set version = craft.spamguard.getVersion() %} {% set origin = settings.akismetOriginUrl | length ? settings.akismetOriginUrl : siteUrl %} {% block content %}
{{ name }} allows you to harness the power of Akismet to fight spam.
Enable Contact Form Support?
{{ forms.lightswitch({ name: "enableFormSupport", on: settings.enableFormSupport }) }}Log Submissions To Database?
{{ forms.lightswitch({ name: "logSubmissions", on: settings.logSubmissions }) }}Display Plugin Tab?
{{ forms.lightswitch({ name: "enableCpTab", on: settings.enableCpTab }) }} {{ forms.textField({ id: "pluginAlias", name: "pluginAlias", label: "Plugin Alias"|t, instructions: "Allows you to rename "~name~" to something more meaningful while retaining its name internally."|t, value: alias, errors: "" }) }}© {{ "now" | date("Y") }} Patrol ({{ version }}) by Selvin Ortiz


AUTORECONF(1) User Commands AUTORECONF(1) NAME autoreconf - Update generated configuration files SYNOPSIS autoreconf [OPTION] ... [CONFIGURE-AC or DIRECTORY] ... DESCRIPTION Run `autoconf' (and `autoheader', `aclocal', `automake', `autopoint' (formerly `gettextize'), and `libtoolize' where appropriate) repeatedly to remake the GNU Build System files in the DIRECTORIES or the directory trees driven by CONFIGURE-AC (defaulting to `.'). By default, it only remakes those files that are older than their prede‐ cessors. If you install new versions of the GNU Build System, running `autoreconf' remakes all of the files by giving it the `--force' option. Operation modes: -h, --help print this help, then exit -V, --version print version number, then exit -v, --verbose verbosely report processing -d, --debug don't remove temporary files -f, --force consider all files obsolete -i, --install copy missing auxiliary files -s, --symlink with -i, install symbolic links instead of copies -m, --make when applicable, re-run ./configure && make -W, --warnings=CATEGORY report the warnings falling in CATEGORY [syntax] Warning categories include: `cross' cross compilation issues `gnu' GNU coding standards (default in gnu and gnits modes) `obsolete' obsolete features or constructions `override' user redefinitions of Automake rules or variables `portability' portability issues `syntax' dubious syntactic constructs (default) `unsupported' unsupported or incomplete features (default) `all' all the warnings `no-CATEGORY' turn off warnings in CATEGORY `none' turn off all the warnings `error' treat warnings as errors The environment variable `WARNINGS' is honored. Some subtools might sup‐ port other warning types, using `all' is encouraged. Library directories: -B, --prepend-include=DIR prepend directory DIR to search path -I, --include=DIR append directory DIR to search path The environment variables AUTOCONF, AUTOHEADER, AUTOMAKE, ACLOCAL, AUTO‐ POINT, LIBTOOLIZE are honored. AUTHOR Written by David J. MacKenzie and Akim Demaille. REPORTING BUGS Report bugs to<EMAIL_ADDRESS>COPYRIGHT Copyright © 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO autoconf(1), automake(1), autoreconf(1), autoupdate(1), autoheader(1), autoscan(1), config.guess(1), config.sub(1), ifnames(1), libtool(1). The Debian project regards the full documentation for autoreconf to be non-free, so it is not included in Debian. Nevertheless, the non-free distribution that accompanies Debian includes the manual in its autoconf- doc package. Otherwise, you may be able to access the Autoconf manual online. autoreconf 2.59 September 2005 AUTORECONF(1)


@@include('./_head.html', { "path": "../..", "title": "Pixel Documentation - Owl carousels" })
MenuTouch enabled jQuery plugin that lets you create a beautiful responsive carousel slider.
Owl Carousel documentationFirst, include two CSS files into your HTML head:
<link rel="stylesheet" href="owlcarousel/owl.carousel.min.css">
<link rel="stylesheet" href="owlcarousel/owl.theme.default.min.css">
owl.carousel.css
file is required and should be included before any *.js
files.
owl.theme.default.min.css
file is optional and feel free to edit it. However, it is required if you'd like the default nav controls like dots or next buttons. Inside the source package you can
also find SCSS files for easy generation of your own themes.
Yep, include jQuery and owl.carousel.min.js
into the footer.


Merchant Raudia:
What do you want, sir? Tell me what you want.
Buy Fighter equipment.
Buy Wizard equipment.


fill(r, g, b, a=1.0) fill(h, s, v, a=1.0) fill(c, m, y, k, a=1.0) fill(v, a=1.0) fill(color) fill(*colors, angle, steps=[0,1]) # axial gradient fill(*colors, steps=[0,1], center=[0,0]) # radial gradient
Sets the current fill color, interpeting the arguments according to the canvas's current color-mode and range. For details see the color() command.
If more than one color arg is included, a gradient will be drawn. Pass a list with the steps
keyword arg to set the relative location of each color in the gradient (0-1.0). The relative locations are based on the bounding-box of the object being filled (not its convex hull). So for highly rounded objects, you'll need to adjust the steps to account for the dead-space in the corners of the bounds.
Including an angle
keyword arg will draw a linear gradient at that orientation (otherwise it will be radial). Radial gradients will draw from the object center by default, but a relative center can be specified with the center
keyword arg. If included, the center arg should be a 2-tuple with x,y
values in the range -1 to +1.
In addition to colors, you can also call fill() with an image() as its sole argument. In this case the image will be tiled to fit the object being filled.
fill(1.0, 0.0, 0.5) rect(10, 10, 25, 25) fill(.3, 0.0, 0.4) oval(40, 40, 40, 40)


- Application Type
- The platform that this application supports.
- Name
- This is the name of the application that will display to users.
- Description
- The description of the application.
- Category
- The category for which the application belongs. An application can't belong to multiple categories.
- Icon
- The icon must be square, at least 72x72 pixels and less than 800 kilobytes.
- Screen Shots
- The screen shots must be less than 800 kilobytes.


Case study
Blessed Trinity Roman Catholic School uses an ‘on-call’ room, supports pupils in a nurture room to manage their social skills.
Blessed Trinity Roman Catholic School (Burnley) for 11- to 16-year-olds, was formed in 2006 as an amalgamation of a boy’s school and a girl’s school which ran on a split site until 2010. Pupils at the school come from both privileged and deprived backgrounds. Approximately one-fifth of pupils are eligible for the pupil premium, and the vast majority come from white British backgrounds. In 2011 Ofsted rated the school ‘inadequate’ overall and in behaviour, but in 2013, the school was rated as ‘requires improvement’ with behaviour rated as ‘good’.
The school uses an on-call room where pupils who are removed from the classroom can go to reflect upon their behaviour and cool down from the incident. An on-call member of staff collects the pupil from the classroom and takes them to the room. If a pupil is frequently removed to the on-call room, the school will provide tailored support to help them manage their behaviour.
Before a pupil is removed to the on-call room, the school has a procedure in the behaviour policy for all staff to follow when dealing with poor behaviour in the classroom:
The school has a nurture room to support pupils who struggle to manage their own behaviour. The purpose of the room is to foster:
and to develop pupils’ social skills.
A range of interventions away from the nurture room is also in place including, catch-up learning such as reading support. This was introduced because the school found that poor behaviour often stemmed from class disengagement due to a lack of basic reading and writing skills.
Published: 25 March 2014


Thank you for creating an online ordering account with orderOS,
the technology that powers Bollywood Bite’s
online ordering.
See you soon at
Bollywood Bites!
Monday - Sunday
11AM - 10PM


Software configuration procedures¶
Fix broken GPT table (broken disk partition)¶
If a GPT table is broken, a message like the following should be observed when the command...
$ sudo parted -l
... is run.
... Error: The backup GPT table is corrupt, but the primary appears OK, so that will be used. OK/Cancel?
To fix this, firstly install the
gdisk
program to fix this:$ sudo aptitude install gdisk
Run
gdisk
for the particular drive with the damaged partition:On the command prompt, type
r
(recovery and transformation options), followed byd
(use main GPT header) ,v
(verify disk) and finallyw
(write table to disk and exit). Will also need to enterY
when prompted in order to confirm actions.Command (? for help): r Recovery/transformation command (? for help): d Recovery/transformation command (? for help): v Caution: The CRC for the backup partition table is invalid. This table may be corrupt. This program will automatically create a new backup partition table when you save your partitions. Caution: Partition 1 doesn't begin on a 8-sector boundary. This may result in degraded performance on some modern (2009 and later) hard disks. Caution: Partition 2 doesn't begin on a 8-sector boundary. This may result in degraded performance on some modern (2009 and later) hard disks. Caution: Partition 3 doesn't begin on a 8-sector boundary. This may result in degraded performance on some modern (2009 and later) hard disks. Identified 1 problems! Recovery/transformation command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed, possibly destroying your data? (Y/N): Y OK; writing new GUID partition table (GPT). The operation has completed successfully.
Running the command:
$ sudo parted /dev/sd#
Should now show that the partition is recovered and healthy again.
Finally, uninstall
gdisk
from the node:$ sudo aptitude remove gdisk
Procedure: Fix broken XFS filesystem¶
A filesystem may be corrupt or broken if the following output is observed when checking its label:
$ sudo xfs_admin -l /dev/sd# cache_node_purge: refcount was 1, not zero (node=0x25d5ee0) xfs_admin: cannot read root inode (117) cache_node_purge: refcount was 1, not zero (node=0x25d92b0) xfs_admin: cannot read realtime bitmap inode (117) bad sb magic # 0 in AG 1 failed to read label in AG 1
Run the following commands to remove the broken/corrupt filesystem and replace. (This example uses the filesystem
/dev/sdb2
) Firstly need to replace the partition:$ sudo parted GNU Parted 2.3 Using /dev/sda Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) select /dev/sdb Using /dev/sdb (parted) p Model: HP LOGICAL VOLUME (scsi) Disk /dev/sdb: 2000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 1024MB 1024MB ext3 boot 2 1024MB 1751GB 1750GB xfs sw-aw2az1-object045-disk1 3 1751GB 2000GB 249GB lvm (parted) rm 2 (parted) mkpart primary 2 -1 Warning: You requested a partition from 2000kB to 2000GB. The closest location we can manage is 1024MB to 1751GB. Is this still acceptable to you? Yes/No? Yes Warning: The resulting partition is not properly aligned for best performance. Ignore/Cancel? Ignore (parted) p Model: HP LOGICAL VOLUME (scsi) Disk /dev/sdb: 2000GB Sector size (logical/physical): 512B/512B Partition Table: gpt Number Start End Size File system Name Flags 1 17.4kB 1024MB 1024MB ext3 boot 2 1024MB 1751GB 1750GB xfs primary 3 1751GB 2000GB 249GB lvm (parted) quit
Next step is to scrub the filesystem and format:
$ sudo dd if=/dev/zero of=/dev/sdb2 bs=$((1024*1024)) count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.00480617 s, 218 MB/s $ sudo /sbin/mkfs.xfs -f -i size=1024 /dev/sdb2 meta-data=/dev/sdb2 isize=1024 agcount=4, agsize=106811524 blks = sectsz=512 attr=2, projid32bit=0 data = bsize=4096 blocks=427246093, imaxpct=5 = sunit=0 swidth=0 blks naming =version 2 bsize=4096 ascii-ci=0 log =internal log bsize=4096 blocks=208616, version=2 = sectsz=512 sunit=0 blks, lazy-count=1 realtime =none extsz=4096 blocks=0, rtextents=0
You should now label and mount your filesystem.
Can now check to see if the filesystem is mounted using the command:
$ mount
Procedure: Checking if an account is okay¶
Note
swift-direct
is only available in the HPE Helion Public Cloud.
Use swiftly
as an alternate (or use swift-get-nodes
as explained
here).
You must know the tenant/project ID. You can check if the account is okay as follows from a proxy.
$ sudo -u swift /opt/hp/swift/bin/swift-direct show AUTH_<project-id>
The response will either be similar to a swift list of the account containers, or an error indicating that the resource could not be found.
Alternatively, you can use swift-get-nodes
to find the account database
files. Run the following on a proxy:
$ sudo swift-get-nodes /etc/swift/account.ring.gz AUTH_<project-id>
The response will print curl/ssh commands that will list the replicated
account databases. Use the indicated curl
or ssh
commands to check
the status and existence of the account.
Procedure: Getting swift account stats¶
Note
swift-direct
is specific to the HPE Helion Public Cloud. Go look at
swifty
for an alternate or use swift-get-nodes
as explained
in Procedure: Checking if an account is okay.
This procedure describes how you determine the swift usage for a given swift account, that is the number of containers, number of objects and total bytes used. To do this you will need the project ID.
Log onto one of the swift proxy servers.
Use swift-direct to show this accounts usage:
$ sudo -u swift /opt/hp/swift/bin/swift-direct show AUTH_<project-id>
Status: 200
Content-Length: 0
Accept-Ranges: bytes
X-Timestamp:<PHONE_NUMBER>.88364
X-Account-Bytes-Used:<PHONE_NUMBER>5994
X-Account-Container-Count: 1
Content-Type: text/plain; charset=utf-8
X-Account-Object-Count: 8436776
Status: 200
name: my_container count: 8436776 bytes:<PHONE_NUMBER>5994
This account has 1 container. That container has 8436776 objects. The total bytes used is<PHONE_NUMBER>5994.
Procedure: Revive a deleted account¶
Swift accounts are normally not recreated. If a tenant/project is deleted, the account can then be deleted. If the user wishes to use Swift again, the normal process is to create a new tenant/project – and hence a new Swift account.
However, if the Swift account is deleted, but the tenant/project is not deleted from Keystone, the user can no longer access the account. This is because the account is marked deleted in Swift. You can revive the account as described in this process.
Note
The containers and objects in the “old” account cannot be listed anymore. In addition, if the Account Reaper process has not finished reaping the containers and objects in the “old” account, these are effectively orphaned and it is virtually impossible to find and delete them to free up disk space.
The solution is to delete the account database files and re-create the account as follows:
You must know the tenant/project ID. The account name is AUTH_<project-id>. In this example, the tenant/project is
4ebe3039674d4864a11fe0864ae4d905
so the Swift account name isAUTH_4ebe3039674d4864a11fe0864ae4d905
.Use
swift-get-nodes
to locate the account’s database files (on three servers). The output has been truncated so we can focus on the import pieces of data:$ sudo swift-get-nodes /etc/swift/account.ring.gz AUTH_4ebe3039674d4864a11fe0864ae4d905 ... curl -I -XHEAD "http://<IP_ADDRESS>:6202/disk1/3934/AUTH_4ebe3039674d4864a11fe0864ae4d905" curl -I -XHEAD "http://<IP_ADDRESS>:6202/disk0/3934/AUTH_4ebe3039674d4864a11fe0864ae4d905" curl -I -XHEAD "http://<IP_ADDRESS>:6202/disk1/3934/AUTH_4ebe3039674d4864a11fe0864ae4d905" ... Use your own device location of servers: such as "export DEVICE=/srv/node" ssh <IP_ADDRESS> "ls -lah ${DEVICE:-/srv/node*}/disk1/accounts/3934/052/f5ecf8b40de3e1b0adb0dbe576874052" ssh <IP_ADDRESS> "ls -lah ${DEVICE:-/srv/node*}/disk0/accounts/3934/052/f5ecf8b40de3e1b0adb0dbe576874052" ssh <IP_ADDRESS> "ls -lah ${DEVICE:-/srv/node*}/disk1/accounts/3934/052/f5ecf8b40de3e1b0adb0dbe576874052" ... note: `/srv/node*` is used as default value of `devices`, the real value is set in the config file on each storage node.
Before proceeding check that the account is really deleted by using curl. Execute the commands printed by
swift-get-nodes
. For example:$ curl -I -XHEAD "http://<IP_ADDRESS>:6202/disk1/3934/AUTH_4ebe3039674d4864a11fe0864ae4d905" HTTP/1.1 404 Not Found Content-Length: 0 Content-Type: text/html; charset=utf-8
Repeat for the other two servers (<IP_ADDRESS> and <IP_ADDRESS>). A
404 Not Found
indicates that the account is deleted (or never existed).If you get a
204 No Content
response, do not proceed.Use the ssh commands printed by
swift-get-nodes
to check if database files exist. For example:$ ssh <IP_ADDRESS> "ls -lah ${DEVICE:-/srv/node*}/disk1/accounts/3934/052/f5ecf8b40de3e1b0adb0dbe576874052" total 20K drwxr-xr-x 2 swift swift 110 Mar 9 10:22 . drwxr-xr-x 3 swift swift 45 Mar 9 10:18 .. -rw------- 1 swift swift 17K Mar 9 10:22 f5ecf8b40de3e1b0adb0dbe576874052.db -rw-r--r-- 1 swift swift 0 Mar 9 10:22 f5ecf8b40de3e1b0adb0dbe576874052.db.pending -rwxr-xr-x 1 swift swift 0 Mar 9 10:18 .lock
Repeat for the other two servers (<IP_ADDRESS> and <IP_ADDRESS>).
If no files exist, no further action is needed.
Stop Swift processes on all nodes listed by
swift-get-nodes
(In this example, that is <IP_ADDRESS>, <IP_ADDRESS> and <IP_ADDRESS>).We recommend you make backup copies of the database files.
Delete the database files. For example:
$ ssh <IP_ADDRESS> $ cd /srv/node/disk1/accounts/3934/052/f5ecf8b40de3e1b0adb0dbe576874052 $ sudo rm *
Repeat for the other two servers (<IP_ADDRESS> and <IP_ADDRESS>).
Restart Swift on all three servers
At this stage, the account is fully deleted. If you enable the auto-create option, the next time the user attempts to access the account, the account will be created. You may also use swiftly to recreate the account.
Procedure: Temporarily stop load balancers from directing traffic to a proxy server¶
You can stop the load balancers sending requests to a proxy server as follows. This can be useful when a proxy is misbehaving but you need Swift running to help diagnose the problem. By removing from the load balancers, customer’s are not impacted by the misbehaving proxy.
Ensure that in /etc/swift/proxy-server.conf the
disable_path
variable is set to/etc/swift/disabled-by-file
.Log onto the proxy node.

Create the
/etc/swift/disabled-by-file
file. For example:sudo touch /etc/swift/disabled-by-file
Optional, restart Swift:
sudo swift-init proxy start
It works because the healthcheck middleware looks for /etc/swift/disabled-by-file. If it exists, the middleware will return 503/error instead of 200/OK. This means the load balancer should stop sending traffic to the proxy.
Procedure: Ad-Hoc disk performance test¶
You can get an idea whether a disk drive is performing as follows:
sudo dd bs=1M count=256 if=/dev/zero conv=fdatasync of=/srv/node/disk11/remember-to-delete-this-later
You can expect ~600MB/sec. If you get a low number, repeat many times as Swift itself may also read or write to the disk, hence giving a lower number.


S.K.Samanta & Co.(P) Ltd
Time left
:
Test User
Log out
Home
Finance
Accounts
Voucher Entry
Bill Serial
Party Bill
Bank Gurantee
Monthly Estimate
RA Bill
Fixed Deposit
Insurance Policy
Inventory
Voucher Entry
Party Bill
Bank Gurantee
RA Bill
Fixed Deposit
Insurance Policy
Mechanical
Voucher Entry
Party Bill
Bank Gurantee
RA Bill
Fixed Deposit
Insurance Policy
Client Billing
Voucher Entry
Party Bill
Bank Gurantee
RA Bill
Fixed Deposit
Insurance Policy
Engineering
Project Costing
Tender Rate Annually
Project Reports
Drawings & Activity
Profile Settings
HR & Admin
Payroll
HR & Payroll Master
HR & Payroll Transaction
HR & Payroll Reports
Master Reports
Utility
Labor
Labor Transaction Entry
Labour Bills
Reports
Master List
Utility
Master
Primary Master
Account Master
Inventory Master
PO Master
Labor Master
Utility
Access Control
User Control
Project code
084
011
161
165
168
169
Policy Number
Policy date
Insurance Policy Insert
Insurance Policy Search
INSURANCE POLICY DETAILS ENTRY
Entry serial no.
Policy type
Policy of company
Policy from
Policy To
Policy status
Policy Coverage
Policy Amount
Policy premium
File No.
Remarks
INSURANCE POLICY SEARCH
Project Code
Policy No.
Policy Type
Policy Status
Policy to
Policy of company
print
#
Project code
Policy No.
Policy type
Policy status
Policy to
Company
Policy premium
Policy Coverage


--- layout: post title: Equine show concept sketch date: '2017-07-14T10:30:26+02:00' categories: - Sketches - Horses picture_url: https://film-Storyboards.tumblr.com/post/162981209014 ---


A responsive control written in both Swift and Objective-C for a draggable ViewController gliding over another ViewController.
Very acclaimed app in USA for offering vouchers and discounts to users, several times in the Top 50 in the AppStore.
Tomtom's client for MyDrive service. to plan a route from you device and then read it in your nav device.
Jumpy Chewie was a universal game for iOS written in Objective-C using SpriteKit.
App to complement the yearly urban art festival with the same name happening in the city of Lodz, Poland.
It allows tracking all public transportations of the city of Lodz, including management of local travel-card called "Migawka".
iPad adhoc app to help executives manage their relation with delegates / attendees to the Summit conference.
It was an app for the University of León which connected with existing University platform allowing students and faculty to access all its information.
A Windows desktop utility that provided an extra help using a selected range of large format HP printers


Click me!
Click me!
Click
the nested
element
Click
the nested
element with no href
Click me, I will not follow the link!
Click Me
link
link2


{include file="layouts/_header" /} {block name="content"}content{/block} {include file="layouts/_layui" /} {block name="single-content"}{/block} {include file="layouts/_footer" /}
Copyright © moTzxx 你若盛开 清风自来 心若浮沉 浅笑安然


Generate
Add / modify / remove
Import database
Export database
Click here and paste your data
Click on entry name, login or password to copy it to clipboard. Modify entry with empty login and password to delete it.
Please sign in
Email address
Password
Login
Sign up
GitHub


Flot Tooltip Examples
Basic Configuration
Custom Label Text
Custom Ticks
Dollar in tickFormatter
Many Series
Multiple Axes
Real-time Data
Two Charts
Supported Plugin Examples
Curved Lines
Pie
Stacking
Threshold
Time Bars


Joan-Chilling Combat The Messenger
By Ross Anthony
"The Messenger" is a great movie that doesn't know when to quit. So in an effort to enhance your viewing pleasure allow me to deliver this message, "Leave the theater when Joan is captured."
I know that's a bold thing to say about a bold film that is thick with vitality and blood-curdling drama. Directed with great care from a rather slow paced introduction to a catapulting climax; this "mini-epic" is definitely a surging "A" grade at this point. But there's forty-five more minutes of film that unravel from the reel like Joan's spirit from her tortured ribcage.
But allow me to praise for a while. Forget Joan of Arc, I believe in Milla Jovovich! I would follow her into battle! Her tremblingly honest portrayal of God's own peasant woman divinely sent to unify the French armies against the invading British of the 1400's will have you reaching for your mighty daggers against your personal demons (no undue insult meant to our current British neighbors). Milla is magnificent and the cinematography grand! (And I don't usually get excited about costume period pieces.) One inspired woman charms the allegiance of even hard core warrior leaders leaving them, as well as us, dumbfounded.
Hungry, yet oddly hypnotized by Joan's faith, the French soldiers rush the British fortress. Joan, twelve feet up the wall, takes an arrow to the upper torso. Cut to British archer POV (point of view). We've just shot an arrow into the legendary Joan of Arc, her mysteriously innocent (despite the chain mail and steel sword) blue eyes peer deep into ours ... with shock, no ... pity, pity for us. Then in slow motion she falls backward from the ladder into the mass of French warriors who stop dodging gnashing hatchets in order to catch her. It's the kind of silver screen moment that movie-goers live for! I loved it!
That's why it's personally difficult not to ignore the imperfections that mar this near masterpiece. The biggest of which is the aforementioned needlessly lengthy resolution that serves only to deconstruct the film's main character. Second, is the under use of John Malkovich as the king of France who is so wonderfully overwhelmed by Joan's nervously potent proem. Yet, his character too, is also deconstructed (this time without due process) into a rather cold immature puppet. I may have been convinced, were I given glimpses of his internal struggle with the question on everyone's tongues, "Is this Joan really set ablaze by the voice of the one God, or is she just a loon?" A tormented Malkovich at battle with himself cut intermittently into Joan's grizzly battle scenes, would have served this bold picture well.
Still, an extremely strong "B+" with performances, direction and cinema moments that will burn themselves at the stake into your memory.
The Messenger. Copyright © 1999. Rated R. Starring Milla Jovovich, John Malkovich, Faye Dunaway, and Dustin Hoffman. Written by Andrew Birkin and Luc Besson. Directed by Luc Besson. Produced by Patrice Ledoux at Columbia
Grade..........................B+
-- Copyright © 1999 Ross Anthony, currently based in Los Angeles, has scripted and shot documentaries, music videos, and shorts in 35 countries across North America, Europe, Africa and Asia. For more reviews visit: http://RossAnthony.com
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


| Path: | README.markdown |
| Last Update: | Tue Jun 09 11:48:37 -0500 2009 |
Welcome to the official Ruby driver for [Selenium Remote Control](selenium-rc.openqa.org)
Mission
Provide a **lightweight, simple and idiomatic API to write Selenium tests in Ruby**. Focus is also on improving test feedback -- especially on failures -- by providing out-of-the-box **state-of-the-art reporting capabilities**. With screenshots, HTML snapshopts and log captures, investigating test failures becomes a breeze.
Install It
The easiest way to install the install selenium-client using RubyGems: sudo gem install selenium-client
Features
See [the generated driver](http://selenium-client.rubyforge.org/classes/Selenium/Client/GeneratedDriver.html) to get an extensive reference.
See the [Extensions](http://selenium-client.rubyforge.org/classes/Selenium/Client/Extensions.html) for more details.
Check out the `click`, `go_back` and `wait_for` methods of the [Idiomatic Module](selenium-client.rubyforge.org/classes/Selenium/Client/Idiomatic.html)
Plain API
Selenium client is just a plain Ruby API, so you can use it wherever you can use Ruby. To used the new API just require the client driver: require "rubygems" require "selenium/client" For a fully backward compatible API you can start with: require "rubygems" gem "selenium-client" require "selenium" For instance to write a little Ruby script using selenium-client you could write something like: #!/usr/bin/env ruby # # Sample Ruby script using the Selenium client API # require "rubygems" gem "selenium-client", ">=1.2.15" require "selenium/client" begin @browser = Selenium::Client::Driver.new \ :host => "localhost", :port => 4444, :browser => "*firefox", :url => "http://www.google.com", :timeout_in_second => 60 @browser.start_new_browser_session @browser.open "/" @browser.type "q", "Selenium seleniumhq.org" @browser.click "btnG", :wait_for => :page puts @browser.text?("seleniumhq.org") ensure @browser.close_current_browser_session end
Writing Tests
Most likely you will be writing functional and acceptance tests using selenium-client. If you are a `Test::Unit` fan your tests will look like: #!/usr/bin/env ruby # # Sample Test:Unit based test case using the selenium-client API # require "test/unit" require "rubygems" gem "selenium-client", ">=1.2.15" require "selenium/client" class ExampleTest < Test::Unit::TestCase attr_reader :browser def setup @browser = Selenium::Client::Driver.new \ :host => "localhost", :port => 4444, :browser => "*firefox", :url => "http://www.google.com", :timeout_in_second => 60 browser.start_new_browser_session end def teardown browser.close_current_browser_session end def test_page_search browser.open "/" assert_equal "Google", browser.title browser.type "q", "Selenium seleniumhq" browser.click "btnG", :wait_for => :page assert_equal "Selenium seleniumhq - Google Search", browser.title assert_equal "Selenium seleniumhq", browser.field("q") assert browser.text?("seleniumhq.org") assert browser.element?("link=Cached") end end If BDD is more your style, here is how you can achieve the same thing using RSpec: require 'rubygems' gem "rspec", "=1.2.6" gem "selenium-client", ">=1.2.15" require "selenium/client" require "selenium/rspec/spec_helper" describe "Google Search" do attr_reader :selenium_driver alias :page :selenium_driver before(:all) do @selenium_driver = Selenium::Client::Driver.new \ :host => "localhost", :port => 4444, :browser => "*firefox", :url => "http://www.google.com", :timeout_in_second => 60 end before(:each) do selenium_driver.start_new_browser_session end # The system capture need to happen BEFORE closing the Selenium session append_after(:each) do @selenium_driver.close_current_browser_session end it "can find Selenium" do page.open "/" page.title.should eql("Google") page.type "q", "Selenium seleniumhq" page.click "btnG", :wait_for => :page page.value("q").should eql("Selenium seleniumhq") page.text?("seleniumhq.org").should be_true page.title.should eql("Selenium seleniumhq - Google Search") page.text?("seleniumhq.org").should be_true page.element?("link=Cached").should be_true end end
Start/Stop a Selenium Remote Control Server
Selenium client comes with some convenient Rake tasks to start/stop a Remote Control server. To leverage the latest selenium-client capabilities, you may need to download a recent nightly build of a standalone packaging of Selenium Remote Control. You will find the nightly build at http://nexus.openqa.org/content/repositories/snapshots/org/seleniumhq/selenium/server/selenium-server/ You typically "freeze" the Selenium Remote Control jar in your `vendor` directory. require 'selenium/rake/tasks' Selenium::Rake::RemoteControlStartTask.new do |rc| rc.port = 4444 rc.timeout_in_seconds = 3 * 60 rc.background = true rc.wait_until_up_and_running = true rc.jar_file = "/path/to/where/selenium-rc-standalone-jar-is-installed" rc.additional_args << "-singleWindow" end Selenium::Rake::RemoteControlStopTask.new do |rc| rc.host = "localhost" rc.port = 4444 rc.timeout_in_seconds = 3 * 60 end If you do not explicitly specify the path to selenium remote control jar it will be "auto-discovered" in `vendor` directory using the following path : `vendor/selenium-remote-control/selenium-server*-standalone.jar` Check out [RemoteControlStartTask](http://selenium-client.rubyforge.org/classes/Selenium/Rake/RemoteControlStartTask.html) and [RemoteControlStopTask](http://selenium-client.rubyforge.org/classes/Selenium/Rake/RemoteControlStopTask.html) for more
details.
State-of-the-Art RSpec Reporting
Selenium Client comes with out-of-the-box RSpec reporting that include HTML snapshots, O.S. screenshots, in-browser page
screenshots (not limited to current viewport), and a capture of the latest remote controls for all failing tests. And all course all this works even if your infrastructure is distributed (In particular in makes wonders with [Selenium Grid](selenium-grid.openqa.org))
Using selenium-client RSpec reporting is as simple as using `SeleniumTestReportFormatter` as one of you RSpec formatters. For instance: require 'spec/rake/spectask' desc 'Run acceptance tests for web application' Spec::Rake::SpecTask.new(:'test:acceptance:web') do |t| t.libs << "test" t.pattern = "test/*_spec.rb" t.spec_opts << '--color' t.spec_opts << "--require 'rubygems,selenium/rspec/reporting/selenium_test_report_formatter'" t.spec_opts << "--format=Selenium::RSpec::SeleniumTestReportFormatter:./tmp/acceptance_tests_report.html" t.spec_opts << "--format=progress" t.verbose = true end You can then get cool reports like [this one](http://ph7spot.com/examples/selenium_rspec_report.html) To capture screenshots and logs on failures, also make sure you require the following files in your `spec_helper`: require "rubygems" require "spec" require "selenium/client" require "selenium/rspec/spec_helper"
Other Resources
Contribute and Join the Fun!
We welcome new features, add-ons, bug fixes, example, documentation, etc. Make the gem work the way you envision!
generated gem with `sudo gem install pkg/*.gem`
Core Team
Contributors
- More robust Selenium RC shutdown - Support for locator including single quotes in `wait_for_...` methods - Do not capture system state on execution errors for pending examples (ExamplePendingError, NotYetImplementedError)
- Fix for incremental calls to `wait_for_text` - Regex support in `wait_for_text`
- Fixed method_missing in selenium_helper to only delegate to methods that @selenium responds to
- Added the ability to redirect output to a log file, when launching Selenium Remote Control with the Rake task


{% extends 'base.html'%} {% import "bootstrap/wtf.html" as wtf %}
{% if title %}{{quote.author}}
Oftentimes we have I deas and don't know how to share them due to lack of time.
We have made the task easier for you. you do not have to create a blog.
All you have to do is just CERATE AN ACCOUNT on this platform and share your ideas all you want.
As a writer you can delete comments to your blog Post if you find them insulting or not constructive
If you are here just to read and would love to be notified everytime a new blog post is made please click on the subscribe button and leave us your mail address
subscribe {%endblock%}


These are the credits and source locations of the images used in the documentation.
The kid the town forgot. BlogsForGeeks
Old Scroll by Konstantin Roshchin
Ares in Xena: Warrior Princess, played by Kevin Smith
anime girl with black hair and red eyes by K.Quynhh on Pinterest


Genetic Algorithm Visualisation
Neural network
Genetic algorithm
×
Select Neural Network and Genetic Algorithm parameter
Hidden layer size:
Training dataset:
y = sin(x)
y = x^2
y = x^3
y = exp(-x^2)
Iterations count:
Population size:
Mutation probability:
Mutation range:


Explanation
A histogram representing the number of peaks per MS/MS spectrum in the whole experiment. This chart assumes centroid data. Too few peaks can identify poor fragmentation or a detector fault, as opposed to a large number of peaks representing very noisy spectra. This chart is extensively dependent on the pre-processing steps performed to the spectra (centroiding, deconvolution, peak picking approach…).


| Package | Description |
|---|---|
| com.teamdev.jxbrowser.browser.callback |
This package provides the classes that allow you to work with browser callback.
|
| com.teamdev.jxbrowser.dom |
Provides the interfaces and classes for the Document Object Model (DOM).
|
| com.teamdev.jxbrowser.dom.event |
Contains the classes and interfaces of the DOM events.
|
| com.teamdev.jxbrowser.frame |
This package provides the classes that allow you to work with frames in browser.
|
| com.teamdev.jxbrowser.ui |
The utility classes for the user interface (UI) related functionality.
|
| com.teamdev.jxbrowser.ui.event |
The user interface events.
|
| Modifier and Type | Method and Description |
|---|---|
default Point |
ShowContextMenuCallback.Params.location()
Returns the context menu location.
|
| Modifier and Type | Method and Description |
|---|---|
default Point |
PointInspection.localPoint()
Returns coordinates of the point relative to the node.
|
| Modifier and Type | Method and Description |
|---|---|
default Point |
WheelEventParams.clientLocation()
Returns the location of the mouse cursor in the component's coordinate system at the time the
event occurred.
|
Point |
MouseEvent.clientLocation()
Returns the location of the mouse cursor in the local (DOM content) coordinate system at the
time the event occurred.
|
default Point |
MouseEventParams.clientLocation()
Returns the location of the mouse cursor in the local (DOM content) coordinate system at the
time the event occurred.
|
Point |
MouseEvent.offsetLocation()
Returns the location of the mouse cursor in the component's coordinate system at the time the
event occurred.
|
default Point |
MouseEventParams.offsetLocation()
Returns the location of the mouse cursor in the component's coordinate system at the time the
event occurred.
|
Point |
MouseEvent.pageLocation()
Returns the location of the mouse cursor in the
document coordinate system at the
time the event occurred. |
default Point |
MouseEventParams.pageLocation()
Returns the location of the mouse cursor in the
document coordinate system at the
time the event occurred. |
default Point |
WheelEventParams.screenLocation()
Returns the location of the mouse cursor in the screen's coordinate system at the time the
event occurred.
|
Point |
MouseEvent.screenLocation()
Returns the location of the mouse cursor in the screen's coordinate system at the time the
event occurred.
|
default Point |
MouseEventParams.screenLocation()
Returns the location of the mouse cursor in the screen's coordinate system at the time the
event occurred.
|
| Modifier and Type | Method and Description |
|---|---|
MouseEventParams.Builder |
MouseEventParams.Builder.clientLocation(Point location)
Sets the location of the mouse cursor in the component's coordinate system at the time
the event occurred.
|
MouseEventParams.Builder |
MouseEventParams.Builder.screenLocation(Point location)
Sets the location of the mouse cursor in the screen's coordinate system at the time the
event occurred.
|
| Modifier and Type | Method and Description |
|---|---|
PointInspection |
Frame.inspect(Point location)
Inspects the given
location on the web page containing this frame and returns the
result of the inspection. |
| Modifier and Type | Method and Description |
|---|---|
static Point |
Point.empty()
Returns an empty
Point that has x and y values set to zero. |
static Point |
Point.of(int x,
int y)
Returns the
Point instance for the given x and y values. |
default Point |
Rect.origin()
Returns the upper-left corner of the rectangle.
|
| Modifier and Type | Method and Description |
|---|---|
static Rect |
Rect.of(Point origin,
Size size)
Returns the
Rect instance for the given origin and size values. |
| Modifier and Type | Method and Description |
|---|---|
Point |
MouseEvent.location()
Returns the mouse position relative to the bounds of the browser instance.
|
default Point |
MouseDragged.location() |
default Point |
MouseReleased.location() |
default Point |
MouseExited.location() |
default Point |
MouseWheel.location() |
default Point |
MousePressed.location() |
default Point |
MouseMoved.location() |
default Point |
MouseEntered.location() |
Point |
MouseEvent.locationOnScreen()
Returns the mouse position relative to the bounds of the screen.
|
default Point |
MouseDragged.locationOnScreen() |
default Point |
MouseReleased.locationOnScreen() |
default Point |
MouseExited.locationOnScreen() |
default Point |
MouseWheel.locationOnScreen() |
default Point |
MousePressed.locationOnScreen() |
default Point |
MouseMoved.locationOnScreen() |
default Point |
MouseEntered.locationOnScreen() |
| Modifier and Type | Method and Description |
|---|---|
MouseDragged.Builder |
MouseDragged.Builder.locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
MouseReleased.Builder |
MouseReleased.Builder.locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
MouseExited.Builder |
MouseExited.Builder.locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
MouseWheel.Builder |
MouseWheel.Builder.locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
MousePressed.Builder |
MousePressed.Builder.locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
MouseMoved.Builder |
MouseMoved.Builder.locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
MouseEntered.Builder |
MouseEntered.Builder.locationOnScreen(Point locationOnScreen)
Sets the mouse position relative to the bounds of the screen.
|
static MouseDragged.Builder |
MouseDragged.newBuilder(Point location)
Creates a new
MouseDragged builder with the given required parameters. |
static MouseReleased.Builder |
MouseReleased.newBuilder(Point location)
Creates a new
MouseReleased builder with the given required parameters. |
static MouseExited.Builder |
MouseExited.newBuilder(Point location)
Creates a new
MouseExited builder with the given required parameters. |
static MouseWheel.Builder |
MouseWheel.newBuilder(Point location)
Creates a new
MouseWheel builder with the given required parameters. |
static MousePressed.Builder |
MousePressed.newBuilder(Point location)
Creates a new
MousePressed builder with the given required parameters. |
static MouseMoved.Builder |
MouseMoved.newBuilder(Point location)
Creates a new
MouseMoved builder with the given required parameters. |
static MouseEntered.Builder |
MouseEntered.newBuilder(Point location)
Creates a new
MouseEntered builder with the given required parameters. |


ABOUT US
When you work with us, you are part of a team of committed collaborators. All aspects of our software development process are intergrated, interactive and agile.
Our approach unifies design, development and product management to create exceptional products.
We start each project by understanding your business goals, user needs and product requirements,
then we help translate them to effective and elegant solutions.


1935's "The Bride of Frankenstein" remains one of the great horror films of all time. It is cheerful, dark, mysterious, comical, compelling and quite frightening at times. It is the sequel to 1931's "Frankenstein," which starred Boris Karloff, and is significantly superior in every aspect.
The opening prologue is set in 1816 with Elsa Lanchester as the lovely author of the "Frankenstein" novel, Mary Shelley, who tells her close admirers, Percy Shelley, her husband, and Lord Byron, "London's greatest sinner," how her story didn't really end. Thus, we get the sequel with the Monster (Karloff again) escaping from the burning windmill and wrecking vengeance on everything and everyone who crosses his path. He attacks village women, gypsies, peasants and so on. He encounters a blind old man in one of the most famous sequences in history as the old man teaches him the virtues of fire, smoking, music ("Ave Maria"), and how to speak. Of course, two men (one of them is played by John Carradine) find the Monster and try to kill him. The Monster escapes again and is caught by all the villagers, tied to a pole in crucifixion-style, and eventually chained in prison before escaping yet again.
Dr. Frankenstein (Colin Clive) managed to survive the fiery debacle of the original, and is all set to marry his sweet Elizabeth (Valerie Hobson who was only 17 at the time) before being convinced to create a mate for the Monster by the evil Dr. Praetorius (Ernest Thesiger). Naturally, they create a mate with the help of a drooling assistant, Karl (Dwight Frye in reportedly a combination of two roles) who memorably shrieks "It's a very fresh one," after killing a bystander on the street to get a fresh heart. The Monster finally has a new mate (Elsa Lanchester) who memorably shrieks herself and turns her head in jerky, robotic movements recalling Brigitte Helm in Metropolis. The film ends with the fiery explosion of Praetorius's castle, and the good doctor and Elizabeth manage to escape and embrace in a happy ending devised to let the good doctor live.
"The Bride of Frankenstein" has some oddball moments although I can't say I know what era the film is set in. At one point, Dr. Praetorius lets Frankenstein communicate with Elizabeth through a voice transmission device! However, the villagers and every other citizen travel by horse and carriage, so is it set before the 1900's? And there's an abrupt finale where simply pulling a lever causes an explosion (this is how most mad scientist movies would end).
Still, "The Bride of Frankenstein" is a great film with some horrifying moments and some weirdly funny ones such as Dr. Praetorius's own creations which are life-like dolls in glass containers, including a smitten king, a ballerina, and a mermaid. "This is not science. This is black magic," says the dumbfounded Frankenstein. The scene is darkly comic yet there's something fundamentally horrific about it too - it shows a man who has gone at extreme lengths to give life to dead beings for his own pleasure, like Frankenstein himself. There are also several religious symbols throughout, especially during a quixotic moment when a crucifix shines brightly in the background while the blind man weeps after finding a companion in his home again. The entrance of the Bride towards the end is one of the loveliest sights in history as we see a ravishing beauty given life to please a monster whom she despises.
The performances are top-notch. Colin Clive is credibly and constantly uptight - he gets to yell the immortal line "She's alive! She's alive!" Ernest Thesiger plays the most evil villain in eons, and is unmatched in its baneful nature until Henry Fonda's cold killer in Once Upon a Time in the West. Thesiger has some delicious quips throughout and appears to be more frightening than the Monster itself. Karloff is given more to do this time as he's allowed to speak threateningly to Frankenstein, and even laugh! Elsa Lanchester is grandly beautiful and tremendously adept playing two roles: first as a delightful Mary Shelley in the wonderful prologue, and then in an extended cameo as the shrilly Bride with Nefertiti-shock hair and piercing eyes (if only screenwriters John L. Balderston and William Hurlbut gave her more to do). Also noteworthy is Una O'Connor who is hilarious as Frankenstein's maid servant, Minnie, who screams every time she sees the Monster - I love the way she utters "Dr. Praaeeetttorius!" when the doctor enters the house. Her role is quite similar to her equally delectable parts in "The Invisible Man" and "The Adventures of Robin Hood." Another small but significant role is the pompous burgomaster played by E.E. Clive with a big mustache - he was also cast in "The Invisible Man."
Other pluses in "Bride of Frankenstein" are the moody, evocative cinematography by John Mescall, including the justly famous graveyard scenes populated by fog and crucifixes; the creepy music score by Frank Waxman that is among the greatest ever composed for the silver screen and was used in many films since; and James Whale's fine direction and his extraordinary feel for the supernatural and the monstrous ironies in Shelley's text. There is simply not a better film about Frankenstein to see and, although it doesn't follow the novel too closely, this is among the finest and most visually spectacular Universal horror films ever made.
For more reviews, check out JERRY AT THE MOVIES at http://buffs.moviething.com/buffs/faust/
E-mail me with comments, suggestions, or complaints at<EMAIL_ADDRESS>or at<EMAIL_ADDRESS>The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Boobs Against "Fascism": Naked FEMEN Protesters Crash Franco Supporters' Rally in Spain - Video
The march which the female activists were trying to disrupt was held in protest against Franco’s exhumation and Spain’s historical memory law.
A group of topless female activists belonging to the FEMEN movement has attempted to interrupt a rally held by the supporters of the late Spanish dictator Francisco Franco held on the 44th anniversary of his death in Madrid.
The activists, who had "To fascism neither honour no glory" painted on their bare chests and who were chanting the same slogan, burst into the demonstration as it reached Plaza de Oriente, but were quickly apprehended by police and then removed from the vicinity of the gathering.
Dictator of Discord
The march the FEMEN protestors were trying to disrupt is an annual gathering held around 20 November to commemorate Franco’s death.
Jesus Munoz, leader of Spain's Falange party, explained that this year’s rally was held against Franco’s exhumation, which took place in October, as well as against the country’s historical memory law which recognises the people who suffered during the dictator’s reign.
"Now they start desecrating tombs, this is not going to be like 1936 (when the Spanish Civil War started) but much worse," he complained.


//= partials/header.html
//= partials/section-medical-servicec.html
//= partials/section-advantages.html
//= partials/section-medical-center.html
//= partials/section-services.html
//= partials/section-specialists.html
//= partials/section-appointment.html
//= partials/hidden-block.html
//= partials/footer.html
//= partials/scripts.html


A way to filter out specific event types from affecting the outcome of the OverOps Reliability report.
Event types include: Uncaught Exception, Caught Exception, Swallowed Exception, Logged Error,
Logged Warning, Timer. This filter enables the removal of one or more of these event types from
the final results.
Example filter expression with pipe separated list: "type":"s*(Logged Error|Logged Warning|Timer)"


NEWS.md
resolve_known_issues
that resulted from having both targets and results for the same mechanism and indicator that need to be removed.set_pano
, pano_user()
, pano_pwd()
, pano_session()
, and load_secrets()
.pano_content()
, pano_elements()
, pano_unpack()
, pano_extract()
, pano_download()
, pano_items()
, pano_extract_msd()
pepfar_data_calendar
with FY22 datessource_info()
to allow it to work correctly with FSD (misspelling in the filename).remove_sch()
.set_path
, causing an error if any path was missing from the .Rprofiletemp_folder()
creates and stores a folder in your Global Envir to use, which will be automatically be deleted on the end of your RStudio session.pkgdown
to create a siteget_outable()
, identify_ouuids()
or identify_levels()
, defaults to using datim_user()
and datim_pwd()
get_outable()
/identify_levels()
output, changing community to community_lvl and prioritization to psnu_lvl to match other indicators.convert_date_to_qtr()
and convert_qtr_to_date()
.vignette(package = glamr)
set_paths()
, allowing for path_downloads
and improve backend efficiency.set_email()
for use with googledrive::drive_auth()
and googlesheets4::gs4_auth()
without having to provide an email.clean_filename()
function to remove apostrophe and other pesky characters from a filename, especially for use when uploading to Google Drive.load_secrets()
to allow user to specify which accounts to load in a session.mypwd()
which has been superseded by datim_pwd()
.source_info
function to extract information from the file to use in the caption/source.setup_gitignore()
and setup_readme()
to not duplicate text if its already existssetup_gitignore()
to not overwrite existing file.pepfar_data_calendar
data frame to be used in conjunction with source info.pepfar_country_list
data frame to have a set of PEPFAR countries and their ISO codes.pepfar_country_xwalk
data frame as a cross-walk for PEPFAR, UN, CountryCode country namesdatim_*
functions for datim queriesclean_countries()
to account for short version of PEPFAR OU/CountriesNEWS.md
file to track changes to the package.


The Language Learning Experiences Ike has been through
Working and living in NYC
Regained French @Yale
French school
American high school
30
5
22
13
18
Started J school @NYU
Study abroad @Paris
The Language Learning Experiences Ike has been through
Working and living in NYC
Regained French @Yale
French school
American high school
30
5
22
13
18
Started J school @NYU
Study abroad @Paris


Access-Control-Allow-Origin "*"
Thesis - project A
The 10 millisecond AUCTION
How Google serves you ads
Who do you want to be?
User
Google
Advertiser
Waiting for content
...
PLAY
send
query
to google
pair
query
with AdWords
get cookies from user


We are a brother and sister duo and I am Jai (big brother) of my little sister Yami and we both are learning html5 from various youtube channels. We learn new things every day and I seriously love html5. You can also visit my Youtube channel.
Fill This form and register in


Custom chatbot Dashboard
×
Get reports
give me reports
×
contact info
contact info or how do I contact your company
×
contact info
contact info or how do I contact your company
×
Connect with live agent
chat with a person
×
Delivery time
when can I receive my order
×
Refund request
refund my purchase. Transaction id is 123
×
Reports
Hi, below is your report:
Sale of products for
Today
Aticle: 11.33%
Product Abc: 49.77%
Product 123: 16.09%
Item one: 5.41%
Item two: 1.62%
Item one three: 2%


--- layout: archive title: Zulip Chat Archive permalink: /stream/116395-maths/topic/vector.20spaces.20vs.20modules.20over.20a.20field.html ---
I have a module over a field. How do I upgrade it to a vector_space? We can't have a generic instance, because we would immediately get loops (every vector_space is already a module).
I really wish this would be transparent, because there is no content at all.
Something like this?
import linear_algebra.basic variables {F : Type*} [field F] {M : Type*} [m : module F M] instance Mvector_space : vector_space F M := {..m}
Maybe make vector_space a reducible definition for module?
@Chris Hughes That is tricky right? Because then we get cycles in the type class system.
@Gabriel Ebner How do I make a class reducible?
I agree it does seem a little silly. I'm not sure we'd get cycles any more than we would by any other use of extends. This is a little weird because there aren't any extra axioms, but extends is used all the time without any problems.
In fact just making what I just wrote a global instance is probably a good idea.
Not class, just @[reducible] def vector_space (α : Type u) (β : Type v) [field α] := module α β
But then we can't use the type class instance anymore...
Chris, Hmmm, I thought introducing cycles was a bad idea. I think we try to avoid them.
extends
does not introduce cycles. So I don't understand your point.
The definition of vector_space
just extends
module
with no extra axioms. So it won't introduce cycles.
If extends
doesn't introduce cycles.
@Chris Hughes There is the cycle module -> vector_space -> module.
(If you add the instance.)
Oh I see.
@Johan Commelin I just tried replacing the vector_space class by a definition and everything seems to work. Why do you think it would break type class instances?
I mean, then I can't any longer write {V : Type} [vector_space real V]
in my theorems. Right?
Because the []
only work for classes.
Maybe it will just interpret it as module real V
The reason that nothing breaks after your change, is because mathlib has not really used vector spaces yet. It only defines them...
Chris, hmm, that might be true! Then it might work!
@Gabriel Ebner Ok, I see that in fact on the line below there is already [vector_space ...]
and it seems to work. You are right. Thanks!
IIRC I set this up before (vector_space
as reducible def) and @Johannes Hölzl reverted it to the current wrapper class style, so there was probably a reason although I forget what it is.
I think the preferred solution is just to have instances of vector_space
for all your vector spaces
Ok, but aren't you scared that this creates cycles?
Chris's instance will create cycles. I'm not suggesting that
Or, you mean, explicitly saying
instance foobar : vector_space real V := {}
whenever V
is a module over the reals.
depends on what V
is there
if V
is an arbitrary module over the reals, then no
if you replace V
with my_R_vec
then yes
If you want to deal with an arbitrary real vector space, the assumption should say vector_space
not module
What happens if you have something like a vector space instance for polynomials over a field, but also a module instance for polynomials over a ring. Then you have cycles.
no
that's perfectly okay
that's a diamond not a cycle
and the defeq constraint will be easy to satisfy here
Mario, I am defining Lie algebras. They are modules over a ring with extra data and properties. But if my ring happens to be a field, then I want to prove extra things about my Lie algebras (using things like dimension
etc...). How should I explain to Lean that if I have [field R]
I want to upgrade my [lie_algebra L]
to a [vector_space R L]
instead of just the module R L
that it extends?
you can have an instance for that
instance [field R] [lie_algebra L] : vector_space R L
ok, I see
That's a good solution, I guess (-;
I don't remember why I changed it to a class
maybe I had a problem in combination with the inout
parameter. We can change it back and see what happens.
Last updated: Apr 24 2020 at 19:02 UTC


Beside managing your personal profile, you can CERTIFY the scientific production of your research
line.
Click on the arrow and select the research line to access its profile, as shown in the image.
In the SUGGESTED section,
you will find automatically all the publications of your team and there you can VERIFY them directly.
You can check and modify your team members by clicking on the research line name in the SCIENTILLA top bar.


org.elasticsearch.search.suggest
Interfaces
SuggestContextParser
Classes
DirectSpellcheckerSettings
Suggest
Suggest.Fields
Suggest.Suggestion
Suggest.Suggestion.Entry
Suggest.Suggestion.Entry.Option
SuggestBuilder
SuggestBuilder.SuggestionBuilder
SuggestBuilders
Suggester
Suggesters
SuggestionSearchContext
SuggestionSearchContext.SuggestionContext
SuggestParseElement
SuggestPhase
SuggestUtils
SuggestUtils.Fields
SuggestUtils.TokenConsumer
Enums
Suggest.Suggestion.Sort


PageElementList provides a way to manage multiple PageElements which all have the same type and selector.
By default, PageElements mapped by PageElementList can only be accessed via their index of occurrence in the DOM using the following accessor methods:
.first
to retrieve the PageElement which maps to the first HTML element found in the DOM that is identified by
PageElementList's selector.at
to retrieve the PageElement which maps to the HTML element found in the DOM at the defined index that is
identified by PageElementList's selector.all
to retrieve all PageElements which map to HTML elements found in the DOM that are identified by
PageElementList's selectorHowever, PageElementList also features two other methods to access managed PageElements which are not restricted to index-based access:
where
accessor modifies the XPath expression used to identify PageElements by adding additional
constraints to PageElementList's XPath selector.identify
method can be used to access managed PageElements via the key names of a mappingObject
whose
values are matched with the return values of a mappingFunc
that is executed on each managed PageElement. Be aware
that this form of PageElement identification can be quite slow because PageElementList needs to fetch all managed
PageElements from the page before mappingFunc
can be executed on them.Therefore, always prefer where
to identify
for the identification of managed PageElements. The only exception
to this rule are cases in which the identification of PageElements cannot be described by the modification of an
XPath selector (eg. identifying PageElements via their location coordinates on the page).
an XPath expression which identifies all PageElements managed by PageElementList
the options used to configure PageElementList
_$
provides access to the PageNode retrieval functions of PageElementList's PageNodeStore and prefixes the
selectors of all PageNodes retrieved via _$
with the selector of PageElementList.
By default, the results of an "identification process" (the last invocation of PageElementList's identify
function) are cached for future invocations of PageElementList's identify
function.
If _disableCache
is set to true, this caching of identification results will be disabled and a new
"identification process" will be performed on each invocation of PageElementList's identify
function.
Disabling the identification results cache can be useful if the contents of a PageElementList change often.
If the contents of a PageElementList rarely change, PageElementList's identify
function can be invoked with the
resetCache
option set to true in order to repeat the "identification process" for a changed page content.
the options passed to _elementStoreFunc
to configure a managed PageElement instance
This function retrieves an instance of a PageElement mapped by PageElementList from the list's PageNodeStore.
caches the last result of PageElementList's identify
function for future invocations of the function
This is the default identifier
used to identify a PageElementList's managed PageElements via the key names
defined in identifier
's mappingObject
by matching mappingObject
's values with the return values of
identifier's mappingFunc
.
This default identifier
can be overwritten by passing a custom identifier
in the function parameters of
PageElementList's identify
function.
the default interval used by PageElementList for all of its functions that operate with intervals
(eg. wait
and eventually
)
Stores the last differences of PageNode's check state functions.
Intended for framework-internal usage only.
the XPath selector of PageNode
an instance of PageNodeStore which can be used to retrieve/create PageNodes
the default timeout used by PageElementList for all of its functions that operate with timeouts
(eg. wait
and eventually
)
Stores an instance of ListWhereBuilder which allows to select subsets of the PageElements managed by PageElementList by modifying the list's selector using XPath modification functions.
an XPath expression which identifies all PageElements managed by PageElementList
$
provides access to the PageNode retrieval functions of PageElementList's PageNodeStore and prefixes the
selectors of all PageNodes retrieved via $
with the selector of PageElementList.
Retrieves all PageElements found in the DOM that are identified by PageElementList's XPath selector.
Fetches all webdriverio elements identified by PageElementList's XPath selector from the HTML page.
Retrieves the first PageElement found in the DOM that is identified by PageElementList's XPath selector.
The .where
accessor allows to select and retrieve subsets of the PageElements managed by PageElementList by
constraining the list's selector using XPath modification functions.
Provides custom error handling of 'could not be located' and 'WaitUntilTimeoutError' errors for functions that check if a condition returns true within a specific timeout.
the function which is supposed to return true within a specific timeout
Executes func and trows any errors that occur during its execution.
If an error occurs because an element could not be located on the page, throws a custom 'could not be located' error message.
the function to be executed
the result value of the executed function
Provides custom error handling of 'could not be located' and 'WaitUntilTimeoutError' errors for functions that wait for a condition to become true within a specific timeout and throw an error if the condition does not become true.
the function which is supposed to return true within a specific timeout and throws an error if the condition does not become true
an errorMessage that describes the condition which did not become true within a specific timeout
the timeout used to wait for the result of the passed func to return true
this (an instance of PageNode)
This function executes a waitFunc until it returns true or a specific timeout is reached. If the return value of waitFunc does not become true within the timeout, this function throws a 'WaitUntilTimeoutError'.
__waitUntil also provides custom error handling for 'could not be located' errors.
the function which is supposed to return true within a specific timeout
a function that returns an errorMessage which describes the condition that did not become true within a specific timeout
the timeout used to wait for the result of the waitFunc to return true
the interval used to check for the result of the waitFunc to return true
this (an instance of PageNode)
This function implements custom error handling for 'could not be located' and 'WaitUntilTimeoutError' errors.
an arbitrary type of error
used to describe the failed condition check which caused a WaitUntilTimeoutError
the timeout used to wait for an element to be located or for a wait condition to return true
Used to determine if a function of a managed PageElement should be invoked or if its invocation should be skipped because the PageElement is not included by a filterMask.
a filterMask entry that refers to a corresponding managed PageElement
Retrieves the PageElement found in the DOM at the defined index of occurrence that is identified by PageElementList's XPath selector.
the index of occurrence in the DOM of the retrieved PageElement - STARTS AT 0
Invokes a state check function for each PageElement in a passed elements
array and returns true if the result of
each state check function invocation was true.
If the passed elements
array was empty, this function will always return true.
an array containing all PageElements for which checkFunc
should be executed
a state check function executed for each PageElement in elements
. It is passed a PageElement as
first parameter and an expected value used by the state check comparison as an optional second parameter.
a single expected value or an array of expected values used for the state check comparisons
If expected
is a single value, this value is compared to each element in the array of actual values.
If expected
is an array of values, its length must match the length of elements
and the values of its
array elements are compared to the array of actual values.
if set to true, the expected
parameter represents a filterMask which can be used to skip the
invocation of the state check function for some or all PageElements
true if the state check functions of all checked PageElements returned true or if no state check functions were invoked at all
Invokes a state check function for each PageElement in a passed elements
array and returns an array of state
check function results.
an array containing all PageElements for which checkFunc
should be executed
a state check function executed for each PageElement in elements
. It is passed a PageElement as
first parameter and an expected value used by the state check comparison as an optional second parameter.
a single expected value or an array of expected values used for the state check comparisons
If expected
is a single value, this value is compared to each element in the array of actual values.
If expected
is an array of values, its length must match the length of elements
and the values of its
array elements are compared to the array of actual values.
if set to true, the expected
parameter represents a filterMask which can be used to skip the
invocation of the state check function for some or all PageElements.
The results of skipped function invocations are not included in the total results array.
an array of results of a state check function executed for each PageElement of elements
Executes an action for each of PageElementList's managed PageElements.
an action executed for each of PageElementList's managed PageElements
can be used to skip the execution of an action for some or all PageElements
this (an instance of PageElementList)
Invokes a state retrieval function for each PageElement in a passed elements
array and returns an array of state
retrieval function results.
an array containing all PageElements for which getFunc
should be executed
a state retrieval function executed for each PageElement in elements
. It is passed a PageElement
as first parameter.
can be used to skip the invocation of the state retrieval function for some or all PageElements. The results of skipped function invocations are not included in the total results array.
an array of results of a state retrieval function executed for each PageElement of elements
Invokes a setter function for each PageElement in a passed elements
array.
an array containing all PageElements for which setFunc
should be executed
a setter function executed for each PageElement in elements
. It is passed a PageElement as
first parameter and the value to be set as second parameter.
a single setter value or an array of setter values
If values
is a single value, all PageElements in the elements
array are set to this value.
If values
is an array of values, its length must match the length of elements
and all PageElements
in the elements
array are set to the values of the values
array in the order that the PageElements were
retrieved from the DOM.
this (an instance of PageElementList)
Invokes a wait function for each PageElement in a passed elements
array.
Throws an error if the wait condition of an invoked wait function was not met within a specific timeout.
an array containing all PageElements for which waitFunc
should be executed
a wait function executed for each PageElement in elements
. It is passed a PageElement as
first parameter and an expected value used by the wait condition as an optional second parameter.
a single expected value or an array of expected values used for the wait conditions
If expected
is a single value, this value is compared to each element in the array of actual values.
If expected
is an array of values, its length must match the length of elements
and the values of its
array elements are compared to the array of actual values.
if set to true, the expected
parameter represents a filterMask which can be used to skip the
invocation of the wait function for some or all PageElements
this (an instance of PageElementList)
Returns the 'containsDirectText' status of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
A PageElement's 'containsDirectText' status is set to true if its actual direct text contains the expected direct text.
A direct text is a text that resides on the level directly below the selected HTML element. It does not include any text of the HTML element's nested children HTML elements.
the expected direct text used in the comparisons which set the 'containsDirectText' status.
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns the 'containsText' status of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
A PageElement's 'containsText' status is set to true if its actual text contains the expected text.
the expected text used in the comparisons which set the 'containsText' status.
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its array
elements are compared to the array of actual values of all PageElements.
Returns the direct texts of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
A direct text is a text that resides on the level directly below the selected HTML element. It does not include any text of the HTML element's nested children HTML elements.
can be used to skip the invocation of the getDirectText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the 'hasAnyDirectText' status of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
A PageElement's 'hasAnyDirectText' status is set to true if the PageElement has any direct text.
A direct text is a text that resides on the level directly below the selected HTML element. It does not include any text of the HTML element's nested children HTML elements.
can be used to skip the invocation of the getHasAnyDirectText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the 'hasAnyText' status of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
A PageElement's 'hasAnyText' status is set to true if the PageElement has any text.
can be used to skip the invocation of the getHasAnyText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the 'hasDirectText' status of all PageElements managed by PageElementList as an array after performing the initial waiting condition each managed PageElement.
A PageElement's 'hasDirectText' status is set to true if its actual direct text equals the expected direct text.
A direct text is a text that resides on the level directly below the selected HTML element. It does not include any text of the HTML element's nested children HTML elements.
the expected direct text used in the comparisons which set the 'hasDirectText' status.
If directText
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If directText
is an array of values, its length must match the length of PageElementList and the values of its
array elements are compared to the array of actual values of all PageElements.
Returns the 'hasText' status of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
A PageElement's 'hasText' status is set to true if its actual text equals the expected text.
the expected text used in the comparisons which set the 'hasText' status
If text
is a single value, this value is compared to each element in the array of actual values of all
PageElements.
If text
is an array of values, its length must match the length of PageElementList and the values of its array
elements are compared to the array of actual values of all PageElements.
Returns the default interval that a PageElementList uses if no other explicit interval is passed to one of its functions which operates with intervals (eg. wait, eventually)
Returns the 'enabled' status of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
can be used to skip the invocation of the getIsEnabled
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the current number of PageElements managed by PageElementList (the number of PageElements found in the DOM which are identified by PageElementList's XPath selector).
Returns the XPath selector that identifies all PageElements managed by PageElementList.
Returns the texts of all PageElements managed by PageElementList as an array after performing the initial waiting condition of each managed PageElement.
can be used to skip the invocation of the getText
function for some or all managed
PageElements. The results of skipped function invocations are not included in the total results array.
Returns the default timeout that a PageElementList uses if no other explicit timeout is passed to one of its functions which operates with timeouts (eg. wait, eventually)
This function identifies PageElements managed by PageElementList with the aid of an identifier
's mappingObject
and mappingFunc
.
It returns an identification results object which allows for PageElements managed by PageElementList to be accessed
via the key names of mappingObject
's properties. To create this results object, an "identification process" needs
to be performed:
mappingFunc
is executed on each fetched PageElement and its return value is compared to the values of
mappingObject
's properties.mappingFunc
's return value and the value of a mappingObject
's property,
a new property is written to the results object whose key name is taken from the matched mappingObject
's property
and whose value is the PageElement on which mappingFunc
was invoked.By default, the identification results object is cached for future invocations of the identify
method. This
behavior can be overwritten by passing a resetCache
flag to the identify
method.
Disabling the identification results cache can be useful if the contents of a PageElementList change often.
If the contents of a PageElementList rarely change, PageElementList's identify
function can be invoked with the
resetCache
flag set to true in order to repeat the "identification process" for a changed page content.
Be aware that the invocation of identify
can be quite slow (if no identification result is cached yet) because
PageElementList needs to fetch all managed PageElements from the page before mappingFunc
can be executed on them.
Therefore, always prefer PageElementList's where
accessor to its identify
method for the identification of
managed PageElements. The only exception to this rule are cases in which the identification of PageElements cannot
be described by the modification of an XPath selector (eg. identifying PageElements via their location coordinates
on the page).
Use this method to initialize properties that rely on the this type which is not available in the constructor.
Make sure that this method is invoked immediately after construction.
creates a copy of PageElementList which manages a subset of the original list's PageElements
Sets a new default identifier
for PageElementList's identify
function.
used to identify a PageElementList's managed PageElements via the key names defined in
identifier
's mappingObject
by matching mappingObject
's values with the return values of identifier
's
mappingFunc
Generated using TypeDoc
A PageElementList provides a way to manage multiple related "dynamic" PageElements which all have the same type and the same "base" selector.
Typically, the PageElements managed by PageElementList are not known in advance and often change (eg. the entries of a news feed). In order to access certain PageElements, they therefore need to be dynamically identified at runtime.
By default, PageElements mapped by PageElementList can only be accessed via their index of occurrence in the DOM using the following accessor methods:
.first
to retrieve the first PageElement found in the DOM that is identified by PageElementList's XPath selector.at
to retrieve the PageElement found in the DOM at the defined index of occurrence that is identified by PageElementList's XPath selector.all
to retrieve all PageElements found in the DOM that are identified by PageElementList's XPath selectorHowever, PageElementList also features two other methods to access managed PageElements which are not restricted to index-based access:
where
accessor modifies the XPath expression used to identify PageElements by adding additional constraints to PageElementList's XPath selector.identify
method can be used to access managed PageElements via the key names of amappingObject
whose values are matched with the return values of amappingFunc
that is executed on each managed PageElement. Be aware that this form of PageElement identification can be quite slow because PageElementList needs to fetch all managed PageElements from the page beforemappingFunc
can be executed on them.Therefore, always prefer
where
toidentify
for the identification of managed PageElements. The only exception to this rule are cases in which the identification of PageElements cannot be described by the modification of an XPath selector (eg. identifying PageElements via their location coordinates on the page).


Cooling of your PC can mean many things, either fans installed on the case or fans installed on the CPU or GPU.
Fans on the case is used for shifting the air in your case so the hot air is pushed out and cold air is taken in. Minimum you want 2 fans, 1 in and 1 out, but you can add more. Size and depth of the fans depends where bigger and deeper fans is best, bigger fans also can run slower than smaller fans that will reduce noise.
Fans CPU and GPU is for cooling the parts itself, but it exists more than fans you can use, we have water cooling, passive cooling, nitrogen cooling and phase change cooling.
Fans is the most normal way to cool your PC parts, the easiest and the cheapest. Some PC don’t need the fans either, only the airflow from your case fans.
If you are thinking of extreme overclocking water-cooling, nitrogen-cooling or phase change cooling is the way to go. Water-cooling is become more and more common with closed loop water-cooling, but that is something we will not talk about. Nitrogen-cooling and phase change cooling is for the most extreme of us, and not suitable for normal days’ use, because of all the work and maintaining needed.
When buying cooling parts, you have to check if the parts will fit with your parts, does your case take 200mm fans? You have to check if your CPU fan will fit with your platform / socket.
PSU or Power Supply Unit is what deliver power to your PC, the important things here are Watts, certification and size.
Your PC will draw a certain amount of power, that is the watt, your PSU have to match this number. It can be hard to know this number, you have to look at your parts specs and see how much they use and match this number, some normal numbers in between 400-1000w a big range.
PSU have Bronze, Silver, Gold, Platinum certification this means how well build and performing the PSU is, where Bronze is worst and Platinum is the best.
It is where important that you can fit your PSU into your case, this is measured in the same matter as your motherboard, ATX, ATX-Mini.
Cases comes in many different sizes and forms. What you buy is up to you, but you have to match your case with your parts. Motherboard, PSU, cooling have to fit in the case.
We have big/mid/small towers the is the normal form for a PC, but also cube form plus many more. Here again ATX, ATX-Mini is an indication of size, where a ATX case will fit a ATX board.