|
Unishox
A hybrid encoder for Short Unicode Strings
|
API for Unishox2 Compression and Decompression. More...
Data Structures | |
| struct | us_lnk_lst |
Macros | |
| #define | UNISHOX_VERSION "2.0" |
| Unicode spec version. | |
| #define | UNISHOX_API_WITH_OUTPUT_LEN 0 |
| #define | UNISHOX_MAGIC_BITS 0xFF |
| Upto 8 bits of initial magic bit sequence can be included. Bit count can be specified with UNISHOX_MAGIC_BIT_LEN. | |
| #define | UNISHOX_MAGIC_BIT_LEN 1 |
| Desired length of Magic bits defined by UNISHOX_MAGIC_BITS. | |
| #define | USX_HCODES_DFLT (const unsigned char[]) {0x00, 0x40, 0x80, 0xC0, 0xE0} |
| Default Horizontal codes. When composition of text is know beforehand, the other hcodes in this section can be used to achieve more compression. | |
| #define | USX_HCODE_LENS_DFLT (const unsigned char[]) {2, 2, 2, 3, 3} |
| Length of each default hcode. | |
| #define | USX_HCODES_ALPHA_ONLY (const unsigned char[]) {0x00, 0x00, 0x00, 0x00, 0x00} |
| Horizontal codes preset for English Alphabet content only. | |
| #define | USX_HCODE_LENS_ALPHA_ONLY (const unsigned char[]) {0, 0, 0, 0, 0} |
| Length of each Alpha only hcode. | |
| #define | USX_HCODES_ALPHA_NUM_ONLY (const unsigned char[]) {0x00, 0x00, 0x80, 0x00, 0x00} |
| Horizontal codes preset for Alpha Numeric content only. | |
| #define | USX_HCODE_LENS_ALPHA_NUM_ONLY (const unsigned char[]) {1, 0, 1, 0, 0} |
| Length of each Alpha numeric hcode. | |
| #define | USX_HCODES_ALPHA_NUM_SYM_ONLY (const unsigned char[]) {0x00, 0x80, 0xC0, 0x00, 0x00} |
| Horizontal codes preset for Alpha Numeric and Symbol content only. | |
| #define | USX_HCODE_LENS_ALPHA_NUM_SYM_ONLY (const unsigned char[]) {1, 2, 2, 0, 0} |
| Length of each Alpha numeric and symbol hcodes. | |
| #define | USX_HCODES_FAVOR_ALPHA (const unsigned char[]) {0x00, 0x80, 0xA0, 0xC0, 0xE0} |
| Horizontal codes preset favouring Alphabet content. | |
| #define | USX_HCODE_LENS_FAVOR_ALPHA (const unsigned char[]) {1, 3, 3, 3, 3} |
| Length of each hcode favouring Alpha content. | |
| #define | USX_HCODES_FAVOR_DICT (const unsigned char[]) {0x00, 0x40, 0xC0, 0x80, 0xE0} |
| Horizontal codes preset favouring repeating sequences. | |
| #define | USX_HCODE_LENS_FAVOR_DICT (const unsigned char[]) {2, 2, 3, 2, 3} |
| Length of each hcode favouring repeating sequences. | |
| #define | USX_HCODES_FAVOR_SYM (const unsigned char[]) {0x80, 0x00, 0xA0, 0xC0, 0xE0} |
| Horizontal codes preset favouring symbols. | |
| #define | USX_HCODE_LENS_FAVOR_SYM (const unsigned char[]) {3, 1, 3, 3, 3} |
| Length of each hcode favouring symbols. | |
| #define | USX_HCODES_FAVOR_UMLAUT (const unsigned char[]) {0x80, 0xA0, 0xC0, 0xE0, 0x00} |
| Horizontal codes preset favouring umlaut letters. | |
| #define | USX_HCODE_LENS_FAVOR_UMLAUT (const unsigned char[]) {3, 3, 3, 3, 1} |
| Length of each hcode favouring umlaut letters. | |
| #define | USX_HCODES_NO_DICT (const unsigned char[]) {0x00, 0x40, 0x80, 0x00, 0xC0} |
| Horizontal codes preset for no repeating sequences. | |
| #define | USX_HCODE_LENS_NO_DICT (const unsigned char[]) {2, 2, 2, 0, 2} |
| Length of each hcode for no repeating sequences. | |
| #define | USX_HCODES_NO_UNI (const unsigned char[]) {0x00, 0x40, 0x80, 0xC0, 0x00} |
| Horizontal codes preset for no Unicode characters. | |
| #define | USX_HCODE_LENS_NO_UNI (const unsigned char[]) {2, 2, 2, 2, 0} |
| Length of each hcode for no Unicode characters. | |
| #define | USX_FREQ_SEQ_DFLT (const char *[]) {"\": \"", "\": ", "</", "=\"", "\":\"", "://"} |
| Default frequently occuring sequences. When composition of text is know beforehand, the other sequences in this section can be used to achieve more compression. | |
| #define | USX_FREQ_SEQ_TXT (const char *[]) {" the ", " and ", "tion", " with", "ing", "ment"} |
| Frequently occuring sequences in text content. | |
| #define | USX_FREQ_SEQ_URL (const char *[]) {"https://", "www.", ".com", "http://", ".org", ".net"} |
| Frequently occuring sequences in URL content. | |
| #define | USX_FREQ_SEQ_JSON (const char *[]) {"\": \"", "\": ", "\",", "}}}", "\":\"", "}}"} |
| Frequently occuring sequences in JSON content. | |
| #define | USX_FREQ_SEQ_HTML (const char *[]) {"</", "=\"", "div", "href", "class", "<p>"} |
| Frequently occuring sequences in HTML content. | |
| #define | USX_FREQ_SEQ_XML (const char *[]) {"</", "=\"", "\">", "<?xml version=\"1.0\"", "xmlns:", "://"} |
| Frequently occuring sequences in XML content. | |
| #define | USX_TEMPLATES (const char *[]) {"tfff-of-tfTtf:rf:rf.fffZ", "tfff-of-tf", "(fff) fff-ffff", "tf:rf:rf", 0} |
| Commonly occuring templates (ISO Date/Time, ISO Date, US Phone number, ISO Time, Unused) | |
| #define | USX_PSET_DFLT USX_HCODES_DFLT, USX_HCODE_LENS_DFLT, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Default preset parameter set. When composition of text is know beforehand, the other parameter sets in this section can be used to achieve more compression. | |
| #define | USX_PSET_ALPHA_ONLY USX_HCODES_ALPHA_ONLY, USX_HCODE_LENS_ALPHA_ONLY, USX_FREQ_SEQ_TXT, USX_TEMPLATES |
| Preset parameter set for English Alphabet only content. | |
| #define | USX_PSET_ALPHA_NUM_ONLY USX_HCODES_ALPHA_NUM_ONLY, USX_HCODE_LENS_ALPHA_NUM_ONLY, USX_FREQ_SEQ_TXT, USX_TEMPLATES |
| Preset parameter set for Alpha numeric content. | |
| #define | USX_PSET_ALPHA_NUM_SYM_ONLY USX_HCODES_ALPHA_NUM_SYM_ONLY, USX_HCODE_LENS_ALPHA_NUM_SYM_ONLY, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Preset parameter set for Alpha numeric and symbol content. | |
| #define | USX_PSET_ALPHA_NUM_SYM_ONLY_TXT USX_HCODES_ALPHA_NUM_SYM_ONLY, USX_HCODE_LENS_ALPHA_NUM_SYM_ONLY, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Preset parameter set for Alpha numeric symbol content having predominantly text. | |
| #define | USX_PSET_FAVOR_ALPHA USX_HCODES_FAVOR_ALPHA, USX_HCODE_LENS_FAVOR_ALPHA, USX_FREQ_SEQ_TXT, USX_TEMPLATES |
| Preset parameter set favouring Alphabet content. | |
| #define | USX_PSET_FAVOR_DICT USX_HCODES_FAVOR_DICT, USX_HCODE_LENS_FAVOR_DICT, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Preset parameter set favouring repeating sequences. | |
| #define | USX_PSET_FAVOR_SYM USX_HCODES_FAVOR_SYM, USX_HCODE_LENS_FAVOR_SYM, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Preset parameter set favouring symbols. | |
| #define | USX_PSET_FAVOR_UMLAUT USX_HCODES_FAVOR_UMLAUT, USX_HCODE_LENS_FAVOR_UMLAUT, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Preset parameter set favouring unlaut letters. | |
| #define | USX_PSET_NO_DICT USX_HCODES_NO_DICT, USX_HCODE_LENS_NO_DICT, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Preset parameter set for when there are no repeating sequences. | |
| #define | USX_PSET_NO_UNI USX_HCODES_NO_UNI, USX_HCODE_LENS_NO_UNI, USX_FREQ_SEQ_DFLT, USX_TEMPLATES |
| Preset parameter set for when there are no unicode symbols. | |
| #define | USX_PSET_NO_UNI_FAVOR_TEXT USX_HCODES_NO_UNI, USX_HCODE_LENS_NO_UNI, USX_FREQ_SEQ_TXT, USX_TEMPLATES |
| Preset parameter set for when there are no unicode symbols favouring text. | |
| #define | USX_PSET_URL USX_HCODES_DFLT, USX_HCODE_LENS_DFLT, USX_FREQ_SEQ_URL, USX_TEMPLATES |
| Preset parameter set favouring URL content. | |
| #define | USX_PSET_JSON USX_HCODES_DFLT, USX_HCODE_LENS_DFLT, USX_FREQ_SEQ_JSON, USX_TEMPLATES |
| Preset parameter set favouring JSON content. | |
| #define | USX_PSET_JSON_NO_UNI USX_HCODES_NO_UNI, USX_HCODE_LENS_NO_UNI, USX_FREQ_SEQ_JSON, USX_TEMPLATES |
| Preset parameter set favouring JSON content having no Unicode symbols. | |
| #define | USX_PSET_XML USX_HCODES_DFLT, USX_HCODE_LENS_DFLT, USX_FREQ_SEQ_XML, USX_TEMPLATES |
| Preset parameter set favouring XML content. | |
| #define | USX_PSET_HTML USX_HCODES_DFLT, USX_HCODE_LENS_DFLT, USX_FREQ_SEQ_HTML, USX_TEMPLATES |
| Preset parameter set favouring HTML content. | |
| #define | UNISHOX_API_OUT_AND_LEN(out, olen) out |
Functions | |
| int | unishox2_compress_simple (const char *in, int len, char *out) |
| int | unishox2_decompress_simple (const char *in, int len, char *out) |
| int | unishox2_compress (const char *in, int len, UNISHOX_API_OUT_AND_LEN(char *out, int olen), const unsigned char usx_hcodes[], const unsigned char usx_hcode_lens[], const char *usx_freq_seq[], const char *usx_templates[]) |
| int | unishox2_decompress (const char *in, int len, UNISHOX_API_OUT_AND_LEN(char *out, int olen), const unsigned char usx_hcodes[], const unsigned char usx_hcode_lens[], const char *usx_freq_seq[], const char *usx_templates[]) |
| int | unishox2_compress_lines (const char *in, int len, UNISHOX_API_OUT_AND_LEN(char *out, int olen), const unsigned char usx_hcodes[], const unsigned char usx_hcode_lens[], const char *usx_freq_seq[], const char *usx_templates[], struct us_lnk_lst *prev_lines) |
| int | unishox2_decompress_lines (const char *in, int len, UNISHOX_API_OUT_AND_LEN(char *out, int olen), const unsigned char usx_hcodes[], const unsigned char usx_hcode_lens[], const char *usx_freq_seq[], const char *usx_templates[], struct us_lnk_lst *prev_lines) |
API for Unishox2 Compression and Decompression.
This file describes each function of the Unishox2 API
For finding out how this API can be used in your program,
please see test_unishox2.c.
| #define UNISHOX_API_OUT_AND_LEN | ( | out, | |
| olen | |||
| ) | out |
This macro is for internal use, but builds upon the macro UNISHOX_API_WITH_OUTPUT_LEN When the macro UNISHOX_API_WITH_OUTPUT_LEN is defined, the all the API functions except the simple API functions accept an additional parameter olen that enables the developer to pass the size of the output buffer provided so that the api function may not write beyond that length. This can be disabled if the developer knows that the buffer provided is sufficient enough so no additional parameter is passed and the program is faster since additional check for output length is not performed at each step
| #define UNISHOX_API_WITH_OUTPUT_LEN 0 |
Macro switch to enable/disable output buffer length parameter in low level api
Disabled by default
When this macro is defined, the all the API functions
except the simple API functions accept an additional parameter olen
that enables the developer to pass the size of the output buffer provided
so that the api function may not write beyond that length.
This can be disabled if the developer knows that the buffer provided is sufficient enough
so no additional parameter is passed and the program is faster since additional check
for output length is not performed at each step
The simple api, i.e. unishox2_(de)compress_simple will always omit the buffer length
| int unishox2_compress | ( | const char * | in, |
| int | len, | ||
| UNISHOX_API_OUT_AND_LEN(char *out, int olen) | , | ||
| const unsigned char | usx_hcodes[], | ||
| const unsigned char | usx_hcode_lens[], | ||
| const char * | usx_freq_seq[], | ||
| const char * | usx_templates[] | ||
| ) |
Comprehensive API for compressing a string
Presets are available for the last four parameters so they can be passed as single parameter.
See USX_PSET_* macros. Example call:
unishox2_compress(in, len, out, olen, USX_PSET_ALPHA_ONLY);
| [in] | in | Input ASCII / UTF-8 string |
| [in] | len | length in bytes |
| [out] | out | output buffer - should be large enough to hold compressed output |
| [in] | olen | length of 'out' buffer in bytes. Can be omitted if sufficient buffer is provided |
| [in] | usx_hcodes | Horizontal codes (array of bytes). See macro section for samples. |
| [in] | usx_hcode_lens | Length of each element in usx_hcodes array |
| [in] | usx_freq_seq | Frequently occuring sequences. See USX_FREQ_SEQ_* macros for samples |
| [in] | usx_templates | Templates of frequently occuring patterns. See USX_TEMPLATES macro. |
| int unishox2_compress_lines | ( | const char * | in, |
| int | len, | ||
| UNISHOX_API_OUT_AND_LEN(char *out, int olen) | , | ||
| const unsigned char | usx_hcodes[], | ||
| const unsigned char | usx_hcode_lens[], | ||
| const char * | usx_freq_seq[], | ||
| const char * | usx_templates[], | ||
| struct us_lnk_lst * | prev_lines | ||
| ) |
More Comprehensive API for compressing array of strings
See unishox2_compress() function for parameter definitions.
This function takes an additional parameter, i.e. 'prev_lines' - the usx_lnk_lst structure
See -g parameter in test_unishox2.c to find out how this can be used.
This function is used when an array of strings need to be compressed
and stored in a compressed array of bytes for use as a constant in other programs
where each element of the array can be decompressed and used at runtime.
| int unishox2_compress_simple | ( | const char * | in, |
| int | len, | ||
| char * | out | ||
| ) |
Simple API for compressing a string
| [in] | in | Input ASCII / UTF-8 string |
| [in] | len | length in bytes |
| [out] | out | output buffer - should be large enough to hold compressed output |
| int unishox2_decompress | ( | const char * | in, |
| int | len, | ||
| UNISHOX_API_OUT_AND_LEN(char *out, int olen) | , | ||
| const unsigned char | usx_hcodes[], | ||
| const unsigned char | usx_hcode_lens[], | ||
| const char * | usx_freq_seq[], | ||
| const char * | usx_templates[] | ||
| ) |
Comprehensive API for de-compressing a string
Presets are available for the last four parameters so they can be passed as single parameter.
See USX_PSET_* macros. Example call:
unishox2_decompress(in, len, out, olen, USX_PSET_ALPHA_ONLY);
| [in] | in | Input compressed bytes (output of unishox2_compress functions) |
| [in] | len | length of 'in' in bytes |
| [out] | out | output buffer - should be large enough to hold de-compressed output |
| [in] | olen | length of 'out' buffer in bytes. Can be omitted if sufficient buffer is provided |
| [in] | usx_hcodes | Horizontal codes (array of bytes). See macro section for samples. |
| [in] | usx_hcode_lens | Length of each element in usx_hcodes array |
| [in] | usx_freq_seq | Frequently occuring sequences. See USX_FREQ_SEQ_* macros for samples |
| [in] | usx_templates | Templates of frequently occuring patterns. See USX_TEMPLATES macro. |
| int unishox2_decompress_lines | ( | const char * | in, |
| int | len, | ||
| UNISHOX_API_OUT_AND_LEN(char *out, int olen) | , | ||
| const unsigned char | usx_hcodes[], | ||
| const unsigned char | usx_hcode_lens[], | ||
| const char * | usx_freq_seq[], | ||
| const char * | usx_templates[], | ||
| struct us_lnk_lst * | prev_lines | ||
| ) |
More Comprehensive API for de-compressing array of strings
This function is not be used in conjuction with unishox2_compress_lines()
See unishox2_decompress() function for parameter definitions.
Typically an array is compressed using unishox2_compress_lines() and
a header (.h) file is generated using the resultant compressed array.
This header file can be used in another program with another decompress
routine which takes this compressed array as parameter and index to be
decompressed.
| int unishox2_decompress_simple | ( | const char * | in, |
| int | len, | ||
| char * | out | ||
| ) |
Simple API for decompressing a string
| [in] | in | Input compressed bytes (output of unishox2_compress functions) |
| [in] | len | length of 'in' in bytes |
| [out] | out | output buffer for ASCII / UTF-8 string - should be large enough |


|
Graphitti
A toolkit/software architecture to ease creating high-performance neural network simulators
|
Orchestrates most functionality in the simulation. More...
#include <fstream>
#include "Global.h"
#include "../ThirdParty/paramcontainer/ParamContainer.h"
#include "log4cplus/logger.h"
#include "log4cplus/configurator.h"
#include "log4cplus/loggingmacros.h"
#include "AllEdges.h"
#include "CPUModel.h"
#include "Inputs/FSInput.h"
#include "IRecorder.h"
#include "Model.h"
#include "OperationManager.h"
#include "ParameterManager.h"
#include "Simulator.h"
#include <cereal/archives/xml.hpp>
#include <cereal/archives/binary.hpp>
#include "ConnGrowth.h"
#include "ConnStatic.h"
Go to the source code of this file.
Functions | |
| bool | parseCommandLine (int argc, char *argv[]) |
| bool | deserializeSynapses () |
| void | serializeSynapses () |
| int | main (int argc, char *argv[]) |
Orchestrates most functionality in the simulation.
/
The driver performs the following steps: 1) Instantiates Simulator object 2) Parses command line to get configuration file and additional information if provided 3) Loads global Simulator parameters from configuration file 4) Instantiates all simulator objects (Layout, Connections, Synapases, Vertices) 5) Reads simulator objects' parameters from configuration file 6) Simulation setup (Deseralization, Initailizing values, etc.) 7) Run Simulation 8) Simulation shutdown (Save results, serialize)
Definition in file Driver.cpp.
| bool deserializeSynapses | ( | ) |
Deserializes synapse weights, source vertices, destination vertices, maxEdgesPerVertex, totalVertices, and if running a connGrowth model and radii is in serialization file, deserializes radii as well
Definition at line 241 of file Driver.cpp.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Main for Simulator. Handles command line arguments and loads parameters from parameter file. All initial loading before running simulator in Network is here.
| argc | argument count. |
| argv | arguments. |
Definition at line 70 of file Driver.cpp.
| bool parseCommandLine | ( | int | argc, |
| char * | argv[] | ||
| ) |
Handles parsing of the command line
| argc | argument count. |
| argv | arguments. |
Definition at line 190 of file Driver.cpp.


Miscellaneous R functions, including functions related to graphics (mostly for base graphics), permutation tests, running mean/median, and general utilities.
| Version: | 0.68-2 |
| Depends: | R (≥ 2.15.0) |
| Imports: | utils, graphics, grDevices, stats, assertthat, RPushbullet, jsonlite, ggplot2, grid |
| Suggests: | testthat, devtools, roxygen2 |
| Published: | 2018-07-25 |
| Author: | Karl W Broman, with contributions from Aimee Teo Broman |
| Maintainer: | Karl W Broman <kbroman at biostat.wisc.edu> |
| BugReports: | https://github.com/kbroman/broman/issues |
| License: | GPL-3 |
| URL: | https://github.com/kbroman/broman |
| NeedsCompilation: | yes |
| Materials: | README NEWS |
| CRAN checks: | broman results |
| Reference manual: | broman.pdf |
| Package source: | broman_0.68-2.tar.gz |
| Windows binaries: | r-devel: broman_0.68-2.zip, r-release: broman_0.68-2.zip, r-oldrel: broman_0.68-2.zip |
| OS X binaries: | r-release: broman_0.68-2.tgz, r-oldrel: broman_0.68-2.tgz |
| Old sources: | broman archive |
Please use the canonical form https://CRAN.R-project.org/package=broman to link to this page.


Development Team
Nick
Batmanglidj
Team Leader
Daniel
Rippberger
Ux Developer
Nolan
Allen
Front-end Developer
Nick
Ballenger
Back-end Developer
Zacharry
Imbriaco
UI DeveloperI
Carlos
Santana
UI DeveloperII


--- authors: - brad-czerniak #categories: ["one", "two"] #date: 2020-03-03 02:02:02 front: true #hero_classes: "background-color--main-dark color--white" menus: # copyright: 1 footer: 1 main: 1 # utility: 1 meta: description: "Brad Czerniak is a Drupal and JAMstack developer in Michigan." # image: # alt: "Default social image" # src: required/meta-image--default.jpg # robots: "index,follow" # title: "Overrides the tab title and social titles" #permalink: /index.html #published: true redirect_from: - /home #schema: # type: "Thing" sections: - freshness - cta - mailchimp #sitemap: true #tags: ["three", "four"] title: "Home" --- {% include atoms/heading.html children="Brad would rather be at trivia night" classes="" level="1" %} {% include atoms/spacer.html size="4" %} {% include atoms/heading.html children="Biography" classes="text-align--center" level="2" %} {% include atoms/spacer.html size="4" %}


How to play: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!
Note: This site is NOT the official version of 2048. It is based on the git http://git.io/2048. The git is open source and I took the code and made it better.
Full list of changes:
Bigger board: The board of 2560 is 5*5, unlike the board of 2048 which is 4 by 4.
The numbers are different: The numbers of 2560 are:
5
10
20
40
80
160
320
640
1280
2560
(9 steps to win, unlike 10 steps in 2048)
Better colors: The colors of 2560 are variations of blue-green, unlike the boring yellow of 2048.
Difficulty levels: In 2560 you have 4 different ways to play: Easy is very easy to win, but once you've done that try to play on Medium or Hard mode.
Impossible is... well, (almost) impossible.
Created by Reuven Karasik. Based on 2048 by Gabriele Cirulli, who published his amazing app open source on Github. God knows I couldn't make it from scratch.


--- title: Removed Extensions version: "5.4" tags: - "5.4" - removed-extensions ---
These extensions have been moved to PECL and are no longer part of the PHP distribution. The PECL package versions of these extensions will be created according to user demand.


主页
Latest Stats
Accounts
Subscribers
Pending
Completed
Collapsible
毕业生管理系统
This template was developed with Middleman and includes .erb layouts and views.
All of the views you see here (sign in, sign up, users, etc) are already split up so you don't have to waste your time doing it yourself!
The layout.erb file includes the header, footer, and side navigation and all of the views are broken out into their own files.
If you aren't using Ruby, there is also a set of plain HTML files for each page, just like you would expect.


- ban(long, String) - Method in class com.rath.rathbot.disc.InfractionData
-
Sets a user's banned status to true and increments the ban count.
- BanCmd - Class in com.rath.rathbot.cmd.disc.actions
-
Bans user by UID or @mention for a given reason.
- BanCmd() - Constructor for class com.rath.rathbot.cmd.disc.actions.BanCmd
-
- banCount - Variable in class com.rath.rathbot.disc.InfractionData
-
How many times the user has been banned.
- banUser(long, long, String) - Static method in class com.rath.rathbot.disc.Infractions
-
Sets the user's banned status to true and increments their ban count.
- banUser(IUser, IUser, long, String) - Static method in class com.rath.rathbot.RathBot
-
Bans the user of the given message for a reason.
- buildAndLoadDataStructures() - Static method in class com.rath.rathbot.RathBot
-
Builds and loads the various data structures the bot needs.
- buildChannelMap() - Static method in class com.rath.rathbot.RathBot
-
Builds a map of Channel Name to Channel ID.
- buildCmdDescrMsg(String, Map<String, RBCommand>) - Static method in class com.rath.rathbot.msg.MessageHelper
-
Builds a message with commands and their descriptions.
- buildCommands() - Static method in class com.rath.rathbot.RathBot
-
Builds the command map from the command list and initializes each command.
- buildDiscNotificationMessage(PunishmentType, int, String) - Static method in class com.rath.rathbot.msg.MessageHelper
-
Builds a notification message for an infraction, delivered to the user in a direct message.
- buildHelpCommand() - Static method in class com.rath.rathbot.RathBot
-
Builds the help command's entries after all other commands have been registered.
- buildListString(String, List<?>, boolean) - Static method in class com.rath.rathbot.msg.MessageHelper
-
Builds a String from a header and list of entries with the option to break lines between each.


WITNESS LIST Transportation Committee February 1, 2005-8:00A Invited Testimony On: Saenz Jr., Amadeo (Texas Dept. of Transportation) Transportation On: Bass, James (Texas Department of Transportation) Behrens, Michael W. (Texas Department of Transportation) Simmons, Steven E. (Texas Department of Transportation)


{% extends 'base.html' %} {% load static %} {% block main %} Forgot your password? Enter your email address below, and we'll email instructions for setting a new one. {% csrf_token %} {{ form.as_p }} {% endblock %}
Enter your email address below, and we'll email instructions for setting a new one.


pepper.brain.basic_brain module¶
-
class
pepper.brain.basic_brain.
BasicBrain
(address='http://localhost:7200/repositories/leolani', clear_all=False, quiet=False)[source]¶ Bases:
object
-
get_instance_of_type
(instance_type)[source]¶ Get instances of a certain class type :param instance_type: name of class in ontology :return:
-
get_triples_with_predicate
(predicate)[source]¶ Get triples that contain this predicate :param predicate: :return:
-


Behavior
This is a very irritable, ruthless and territorial Pokémon. Within their domain, no Pokémon or human can feel safe. The intruder will be attacked not just by one Pokemon, but by a whole swarm. The most dangerous thing is to approach their nests, it is convenient to catch vidlov and kakun there, but it is also easy to run into the stings of the Bidrills. They attack anyone who happens to be on their territory, even if he just "passed by". Also, this Pokemon is distinguished by great persistence - it will pursue the intruder to the end. When meeting a person, he behaves aggressively. There are numerous known cases of attacks on people.


A lightweight javascript date library for parsing, validating, manipulating, and formatting dates.
There are a number of small backwards incompatible changes with version 2.0.0.
See them and their descriptions here
Changed language ordinal method to return the number + ordinal instead of just the ordinal.
Changed two digit year parsing cutoff to match strptime.
Removed moment#sod
and moment#eod
in favor of moment#startOf
and moment#endOf
.
Removed moment.humanizeDuration()
in favor of moment.duration().humanize()
.
Removed the lang data objects from the top level namespace.
Duplicate Date
passed to moment()
instead of referencing it.
You need node, use nvm or nenv to install it.
Then, in your shell
bash
git clone https://github.com/moment/moment.git
cd moment
npm install -g grunt-cli
npm install
git checkout develop # all patches against develop branch, please!
grunt # this runs tests and jshint
Removed a trailing comma [1169] and fixed a bug with months
, weekdays
getters #1171.
Changed isValid, added strict parsing. Week tokens parsing.
Fixed bug in string prototype test. Updated authors and contributors.
Added bower support.
Language files now use UMD.
Creating moment defaults to current date/month/year.
Added a bundle of moment and all language files.
Added better week support.
Added ability to set offset with moment#zone
.
Added ability to set month or weekday from a string.
Added moment#min
and moment#max
Added short form localized tokens.
Added ability to define language a string should be parsed in.
Added support for reversed add/subtract arguments.
Added support for endOf('week')
and startOf('week')
.
Fixed the logic for moment#diff(Moment, 'months')
and moment#diff(Moment, 'years')
moment#diff
now floors instead of rounds.
Normalized moment#toString
.
Added isSame
, isAfter
, and isBefore
methods.
Added better week support.
Added moment#toJSON
Bugfix: Fixed parsing of first century dates
Bugfix: Parsing 10Sep2001 should work as expected
Bugfix: Fixed wierdness with moment.utc()
parsing.
Changed language ordinal method to return the number + ordinal instead of just the ordinal.
Changed two digit year parsing cutoff to match strptime.
Removed moment#sod
and moment#eod
in favor of moment#startOf
and moment#endOf
.
Removed moment.humanizeDuration()
in favor of moment.duration().humanize()
.
Removed the lang data objects from the top level namespace.
Duplicate Date
passed to moment()
instead of referencing it.
Bugfixes
Bugfixes
Added moment.fn.endOf()
and moment.fn.startOf()
.
Added validation via moment.fn.isValid()
.
Made formatting method 3x faster. http://jsperf.com/momentjs-cached-format-functions
Add support for month/weekday callbacks in moment.fn.format()
Added instance specific languages.
Added two letter weekday abbreviations with the formatting token dd
.
Various language updates.
Various bugfixes.
Added Durations.
Revamped parser to support parsing non-separated strings (YYYYMMDD vs YYYY-MM-DD).
Added support for millisecond parsing and formatting tokens (S SS SSS)
Added a getter for moment.lang()
Various bugfixes.
There are a few things deprecated in the 1.6.0 release.
The format tokens z
and zz
(timezone abbreviations like EST CST MST etc) will no longer be supported. Due to inconsistent browser support, we are unable to consistently produce this value. See this issue for more background.
The method moment.fn.native
is deprecated in favor of moment.fn.toDate
. There continue to be issues with Google Closure Compiler throwing errors when using native
, even in valid instances.
The way to customize am/pm strings is being changed. This would only affect you if you created a custom language file. For more information, see this issue.
Added UTC mode.
Added automatic ISO8601 parsing.
Various bugfixes.
Added moment.fn.toDate
as a replacement for moment.fn.native
.
Added moment.fn.sod
and moment.fn.eod
to get the start and end of day.
Various bugfixes.
Added support for parsing month names in the current language.
Added escape blocks for parsing tokens.
Added moment.fn.calendar
to format strings like ‘Today 2:30 PM’, ‘Tomorrow 1:25 AM’, and ‘Last Sunday 4:30 AM’.
Added moment.fn.day
as a setter.
Various bugfixes
Added timezones to parser and formatter.
Added moment.fn.isDST
.
Added moment.fn.zone
to get the timezone offset in minutes.
Various bugfixes
Added time specific diffs (months, days, hours, etc)
Added moment.fn.format
localized masks. ‘L LL LLL LLLL’ issue 29
Fixed issue 31.
Added moment.version
to get the current version.
Removed window !== undefined
when checking if module exists to support browserify. issue 25
Added convenience methods for getting and setting date parts.
Added better support for moment.add()
.
Added better lang support in NodeJS.
Renamed library from underscore.date to Moment.js
Added Portuguese, Italian, and French language support
Added _date.lang() support. Added support for passing multiple formats to try to parse a date. _date(“07-10-1986”, [“MM-DD-YYYY”, “YYYY-MM-DD”]); Made parse from string and single format 25% faster.
Bugfix for issue 8 and issue 9.
Bugfix for issue 5.
Dropped the redundant _date.date()
in favor of _date()
.
Removed _date.now()
, as it is a duplicate of _date()
with no parameters.
Removed _date.isLeapYear(yearNumber)
. Use _date([yearNumber]).isLeapYear()
instead.
Exposed customization options through the _date.relativeTime
, _date.weekdays
, _date.weekdaysShort
, _date.months
, _date.monthsShort
, and _date.ordinal
variables instead of the _date.customize()
function.
Added date input formats for input strings.
Added underscore.date to npm. Removed dependencies on underscore.
Added 'z'
and 'zz'
to _.date().format()
. Cleaned up some redundant code to trim off some bytes.
Cleaned up the namespace. Moved all date manipulation and display functions to the _.date() object.
Switched to the Underscore methodology of not mucking with the native objects’ prototypes. Made chaining possible.
Changed date names to be a more pseudo standardized ‘dddd, MMMM Do YYYY, h:mm:ss a’.
Added Date.prototype
functions add
, subtract
, isdst
, and isleapyear
.
Changed function names to be more concise. Changed date format from php date format to custom format.
Initial release
Moment.js is freely distributable under the terms of the MIT license.


<textarea>
This is a textarea
<contenteditable>
This is a
contenteditable
div
CodeMirror
This is a CodeMirror field
Ace
This is a Ace field


- offset - Variable in class org.jfree.chart.axis.CyclicNumberAxis
-
The offset.
- offsetFromNewest(int) - Method in class org.jfree.data.time.DynamicTimeSeriesCollection
-
Returns the actual index to a time offset by "delta" from newestAt.
- offsetFromOldest(int) - Method in class org.jfree.data.time.DynamicTimeSeriesCollection
-
??
- OHLC - Class in org.jfree.data.time.ohlc
-
A data record containing open-high-low-close data (immutable).
- OHLC(double, double, double, double) - Constructor for class org.jfree.data.time.ohlc.OHLC
-
Creates a new instance of OHLC
.
- OHLCDataItem - Class in org.jfree.data.xy
-
- OHLCDataItem(Date, double, double, double, double, double) - Constructor for class org.jfree.data.xy.OHLCDataItem
-
Creates a new item.
- OHLCDataset - Interface in org.jfree.data.xy
-
An interface that defines data in the form of (x, high, low, open, close)
tuples.
- OHLCItem - Class in org.jfree.data.time.ohlc
-
An item representing data in the form (time-period, open, high, low,
close)
.
- OHLCItem(RegularTimePeriod, double, double, double, double) - Constructor for class org.jfree.data.time.ohlc.OHLCItem
-
Creates a new instance of OHLCItem
.
- OHLCSeries - Class in org.jfree.data.time.ohlc
-
- OHLCSeries(Comparable) - Constructor for class org.jfree.data.time.ohlc.OHLCSeries
-
Creates a new empty series.
- OHLCSeriesCollection - Class in org.jfree.data.time.ohlc
-
- OHLCSeriesCollection() - Constructor for class org.jfree.data.time.ohlc.OHLCSeriesCollection
-
Creates a new instance of OHLCSeriesCollection
.
- org.jfree.chart - package org.jfree.chart
-
- org.jfree.chart.annotations - package org.jfree.chart.annotations
-
A framework for adding annotations to charts.
- org.jfree.chart.axis - package org.jfree.chart.axis
-
Axis classes and interfaces.
- org.jfree.chart.block - package org.jfree.chart.block
-
Blocks and layout classes used extensively by the
LegendTitle
class.
- org.jfree.chart.demo - package org.jfree.chart.demo
-
Some basic demos to get you started.
- org.jfree.chart.editor - package org.jfree.chart.editor
-
Provides a simple (but so far incomplete) framework for editing chart
properties.
- org.jfree.chart.encoders - package org.jfree.chart.encoders
-
Classes related to the encoding of charts to different image formats.
- org.jfree.chart.entity - package org.jfree.chart.entity
-
Classes representing components of (or entities in) a chart.
- org.jfree.chart.event - package org.jfree.chart.event
-
Event classes and listener interfaces, used to provide a change
notification mechanism so that charts are automatically redrawn
whenever changes are made to any chart component.
- org.jfree.chart.imagemap - package org.jfree.chart.imagemap
-
- org.jfree.chart.labels - package org.jfree.chart.labels
-
Generators and other classes used for the display of item labels and tooltips.
- org.jfree.chart.needle - package org.jfree.chart.needle
-
A range of objects that can be used to represent the needle on a
CompassPlot
.
- org.jfree.chart.panel - package org.jfree.chart.panel
-
- org.jfree.chart.plot - package org.jfree.chart.plot
-
Plot classes and related interfaces.
- org.jfree.chart.plot.dial - package org.jfree.chart.plot.dial
-
Classes for creating dial plots.
- org.jfree.chart.renderer - package org.jfree.chart.renderer
-
- org.jfree.chart.renderer.category - package org.jfree.chart.renderer.category
-
- org.jfree.chart.renderer.xy - package org.jfree.chart.renderer.xy
-
Plug-in renderers for the
XYPlot
class.
- org.jfree.chart.resources - package org.jfree.chart.resources
-
Localised resources for the JFreeChart class library.
- org.jfree.chart.servlet - package org.jfree.chart.servlet
-
Classes for providing useful servlet and JSP functionality.
- org.jfree.chart.title - package org.jfree.chart.title
-
Classes used to display chart titles and subtitles.
- org.jfree.chart.urls - package org.jfree.chart.urls
-
Classes for adding URLS to charts for HTML image map generation.
- org.jfree.chart.util - package org.jfree.chart.util
-
Utility classes used by JFreeChart.
- org.jfree.data - package org.jfree.data
-
The base package for classes that represent various types of data.
- org.jfree.data.category - package org.jfree.data.category
-
- org.jfree.data.contour - package org.jfree.data.contour
-
- org.jfree.data.function - package org.jfree.data.function
-
Representation for simple functions.
- org.jfree.data.gantt - package org.jfree.data.gantt
-
Data interfaces and classes for Gantt charts.
- org.jfree.data.general - package org.jfree.data.general
-
Data interfaces and classes.
- org.jfree.data.io - package org.jfree.data.io
-
Miscellaneous support for input/output of data.
- org.jfree.data.jdbc - package org.jfree.data.jdbc
-
Dataset classes that fetch data from a database via JDBC.
- org.jfree.data.resources - package org.jfree.data.resources
-
Resource bundles for items that require localisation.
- org.jfree.data.statistics - package org.jfree.data.statistics
-
Classes for representing statistical data.
- org.jfree.data.time - package org.jfree.data.time
-
Interfaces and classes for time-related data.
- org.jfree.data.time.ohlc - package org.jfree.data.time.ohlc
-
Classes for representing financial data in open-high-low-close form.
- org.jfree.data.xml - package org.jfree.data.xml
-
Support for reading datasets from XML files.
- org.jfree.data.xy - package org.jfree.data.xy
-
A package containing the
XYDataset
interface and related classes.
- Outlier - Class in org.jfree.chart.renderer
-
Represents one outlier in the box and whisker plot.
- Outlier(double, double, double) - Constructor for class org.jfree.chart.renderer.Outlier
-
Constructs an outlier item consisting of a point and the radius of the
outlier ellipse
- OutlierList - Class in org.jfree.chart.renderer
-
A collection of outliers for a single entity in a box and whisker plot.
- OutlierList(Outlier) - Constructor for class org.jfree.chart.renderer.OutlierList
-
Creates a new list containing a single outlier.
- OutlierListCollection - Class in org.jfree.chart.renderer
-
A collection of outlier lists for a box and whisker plot.
- OutlierListCollection() - Constructor for class org.jfree.chart.renderer.OutlierListCollection
-
Creates a new empty collection.
- OUTSIDE1 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE1.
- OUTSIDE10 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE10.
- OUTSIDE11 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE11.
- OUTSIDE12 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE12.
- OUTSIDE2 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE2.
- OUTSIDE3 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE3.
- OUTSIDE4 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE4.
- OUTSIDE5 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE5.
- OUTSIDE6 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE6.
- OUTSIDE7 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE7.
- OUTSIDE8 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE8.
- OUTSIDE9 - Static variable in class org.jfree.chart.labels.ItemLabelAnchor
-
OUTSIDE9.
- overlaps(Outlier) - Method in class org.jfree.chart.renderer.Outlier
-
Returns a true if outlier is overlapped and false if it is not.
- overlapsWith(SimpleHistogramBin) - Method in class org.jfree.data.statistics.SimpleHistogramBin
-
Returns true
if this bin overlaps with the specified bin,
and false
otherwise.
- Overlay - Interface in org.jfree.chart.panel
-
Defines the interface for an overlay that can be added to a
ChartPanel
.
- overlayChanged(OverlayChangeEvent) - Method in class org.jfree.chart.ChartPanel
-
Handles a change to an overlay by repainting the panel.
- overlayChanged(OverlayChangeEvent) - Method in interface org.jfree.chart.event.OverlayChangeListener
-
This method is called to notify a listener of a change event.
- OverlayChangeEvent - Class in org.jfree.chart.event
-
- OverlayChangeEvent(Object) - Constructor for class org.jfree.chart.event.OverlayChangeEvent
-
Creates a new change event.
- OverlayChangeListener - Interface in org.jfree.chart.event
-
A listener for changes to an
Overlay
.
- OverLIBToolTipTagFragmentGenerator - Class in org.jfree.chart.imagemap
-
Generates tooltips using the OverLIB library
(http://www.bosrup.com/web/overlib/).
- OverLIBToolTipTagFragmentGenerator() - Constructor for class org.jfree.chart.imagemap.OverLIBToolTipTagFragmentGenerator
-
Creates a new instance.
- OverwriteDataSet(double[], double[], XYDataset) - Constructor for class org.jfree.chart.renderer.xy.CyclicXYItemRenderer.OverwriteDataSet
-
Creates a new dataset.


{% extends "page.html" %}{% load i18n l10n %} {% block meta_tags %}{{ block.super }} {% endblock %} {% block body_class %}activation-error{% endblock %} {% block menu_signup %}
{% blocktrans %}This site is currently in closed beta. If you want to be a beta tester of this service please contact us by contact form.{% endblocktrans %}


Movie Search:
Start Exploration
Relations:
alternate language version of
edited into
features
follows
references
remake of
spin off
spoofs
version of


A hybrid Exhibition to highlight how digital exhibit companion pieces can increase engagement, accessibility and understanding of artists' work.
Problem Statement
The Coronavirus has brought the physical art world to a halt.1 Since the onset of COVID-19, 92% of Minnesota Art Organizations have reported canceled events, with an estimated loss of 2,351,612 attendees. Americans for the Arts has found that out of those Minnesota organizations, 11% are not confident their organizations will survive the impact of COVID-19.2
In response to the changing time, many organizations are quickly increasing their online presence and making artwork more accessible through digital means than ever before. The rise of online viewing rooms and virtual tours are becoming more and more common, from large and small organizations alike.3
Despite this, there will always be a desire for collectors and art viewers to have an in-person experience and to be able to physically interact with works of art. The transition from Coronavirus to a new normal will likely reveal a new hybrid exhibition approach of physical and digital in the future.4 For artists delving into New Media Art, this presents a special opportunity to expand their influence and enhance viewers understanding of their work and process.
The aim of my capstone project is to show how digital exhibition companion pieces can increase engagement and accessibility, specifically in regards to New Media artists' work, in times of social distancing and beyond, creating tools that can be used both online and in the exhibition space to engage the viewers and enhance the understanding of their work.
Questions and Inspirations
In February 2020, I attended the CoExhibition’s Interior Violence, the first solo exhibition of artist Meg Lionel Murphy’s work. From the pink walls to the delicate details along the floor and various points on the walls, I was transfixed by the way these details created an intimacy with the paintings and how they enhanced my overall experience of the artist’s work.
Fast forward a few weeks and the world found itself in a much different reality, where attending in person exhibitions was no longer possible, due to a stay-at-home order during the rise of the COVID-19 pandemic.During this stay-at-home order, my mind wandered back to the show, and to the show that was supposed to follow, which, of course, I never had a chance to see. The impact on the gallery, as well as the artists, felt significant.
With these restrictions in place, I began to notice how unengaging a traditional exhibition website could be. They typically hold a brief overview of the work with single images and the title and prices below the piece. With the recent exhibition in mind, I wondered if you could bring in the doll houses and horses that line the floor and shelves next to the paintings through digital means. Could there be digital coloring books, animated horses galloping as you scroll through the page?
This is where the idea for my capstone project originated - how to create an engaging experience on the website exhibition page that allows a viewer to get a glimpse of the details that make the exhibition or work special.
Tools and Process
I took this concept and set out to explore it with my own work. I took in the feedback from my previous exhibition, Infinite Abyss in Motion Millyard show at Stonebridge Lofts. The works featured were my Computational Drawings created with p5.js. Some of the viewers had trouble understanding how the pieces were made. Were they drawings? Were they made by the computer? If so, how?
For my computational designs, I felt an appropriate digital companion piece to a physical exhibition would be a drawing tool that aims to help the viewer get an inside look at how these drawings are being created. The drawing tool would also allow the viewer to interact with the work, seeing firsthand how the designs can be transformed and altered with just a few small changes, thus creating an active versus passive viewing experience.
I have been working with p5.js and exploring Computational Aesthetics since my introduction to the topic during the Experimental Interaction course taught at MCAD in 2015.
What I found so engaging was the ability the program gave me to create delicate lines, similar to a pencil drawing. I wanted to build this drawing tool with my aesthetic in mind and demonstrate why I find the world of computational drawings to be so transfixing.
My initial thoughts are sketched above, where the tool could be experienced in person or at home on-line. The user will interact by means of sliders or knobs to control the sketch.
Drawing Tool Prototype First Phase:
Research to expand on complexity and create the physical pieces for the exhibition:
Full process can be found documented on my Progress Platform
User Testing and Research
Deliverables
Drawing Tool and Exhibition PageSummary
Endnotes
- "The Economc Impact of Coronavirus on the Arts and Culture Sector," Americans for the Arts, accessed Septerrber 23, 2020, https://WV.Jw. americansforthearts. org/by-t opic/disaster-preparedness/the-economc-irTl)act -of -coronavirus-on-the-arts-and-culture-sector
- Dotnnic-Madori Davis, "No more ritzy galas, dinner parties, or jet-set fairs: The art world is cotnng to terms with a 'shelter-in-place' market. 5 insiders reveal how the in-dustry is faring - and their hopes for what's next," Business Insider, June 13, 2020, https://WV.Jw. businessinsider. corn'how-5-key-art -industry-insiders-are-handling-coronavirus-pandetTic-2020-5
- Arrericans for the Arts, "The Economc Impact of Coronavirus on the Arts and Culture Sector."
- Arrericans for the Arts, "The Economc Impact of Coronavirus on the Arts and Culture Sector."


{% load static %}
I have been working in software development, of one sort or another, for almost the past 11 years. In that time, I've worked with a few different languages, in a variety of industries. At the moment, I'm a CG Pipeline Supervisor in a 3D Animation company that's working on TV series and features. I'm constantly looking to learn new technologies, which is what prompted me to build this blog and to keep it as a log of stuff that I've found useful. Hopefully it will be useful to other developers too!


fun end(gameResult: GameResult): Unit
This method is called when a player won the game. The game freezes and the EndScreen is displayed.
gameResult - Result of the game
gameResult


class Object
Public Instance Methods
_k1_set(market, start, period)
click to toggle source
# File lib/daemons/k.rb, line 41 def _k1_set(market, start, period) ts = JSON.parse(@r.lindex(key(market, 1), 0)).first left = offset = (start.to_i - ts) / 60 left = 0 if left < 0 right = offset + period - 1 right < 0 ? [] : @r.lrange(key(market, 1), left, right).map{|str| JSON.parse(str)} end
append_point(market, period, ts)
click to toggle source
# File lib/daemons/k.rb, line 79 def append_point(market, period, ts) k = key(market, period) point = get_point(market, period, ts) @logger.info "append #{k}: #{point.to_json}" @r.rpush k, point.to_json if period == 1 # 24*60 = 1440 if point = @r.lindex(key(market, period), -1441) Rails.cache.write "peatio:#{market}:ticker:open", JSON.parse(point)[4] end end end
fill(market, period = 1)
click to toggle source
# File lib/daemons/k.rb, line 103 def fill(market, period = 1) ts = next_ts(market, period) # 30 seconds is a protect buffer to allow update_point to update the previous # period one last time, after the previous period passed. After the protect # buffer a new point of current period will be created, the previous point # is freezed. # # The protect buffer also allows MySQL slave have enough time to sync data. while (ts + 30.seconds) <= Time.now append_point(market, period, ts) ts = next_ts(market, period) end update_point(market, period, last_ts(market, period)) end
get_point(market, period, ts)
click to toggle source
# File lib/daemons/k.rb, line 68 def get_point(market, period, ts) point = period == 1 ? k1(market, ts) : kn(market, ts, period) if point.nil? point = JSON.parse @r.lindex(key(market, period), -1) point = [ts.to_i, point[4], point[4], point[4], point[4], 0] end point end
k1(market, start)
click to toggle source
# File lib/daemons/k.rb, line 52 def k1(market, start) trades = Trade.with_currency(market).where('created_at >= ? AND created_at < ?', start, 1.minutes.since(start)).pluck(:price, :volume) return nil if trades.count == 0 prices, volumes = trades.transpose [start.to_i, prices.first.to_f, prices.max.to_f, prices.min.to_f, prices.last.to_f, volumes.sum.to_f.round(4)] end
key(market, period = 1)
click to toggle source
# File lib/daemons/k.rb, line 21 def key(market, period = 1) "peatio:#{market}:k:#{period}" end
kn(market, start, period = 5)
click to toggle source
# File lib/daemons/k.rb, line 60 def kn(market, start, period = 5) arr = _k1_set(market, start, period) return nil if arr.empty? _, _, high, low, _, volumes = arr.transpose [start.to_i, arr.first[1], high.max, low.min, arr.last[4], volumes.sum.round(4)] end
last_ts(market, period = 1)
click to toggle source
# File lib/daemons/k.rb, line 25 def last_ts(market, period = 1) latest = @r.lindex key(market, period), -1 latest && Time.at(JSON.parse(latest)[0]) end
next_ts(market, period = 1)
click to toggle source
# File lib/daemons/k.rb, line 30 def next_ts(market, period = 1) if ts = last_ts(market, period) ts += period.minutes else if first_trade = Trade.with_currency(market).first ts = Trade.with_currency(market).first.created_at.to_i period == 10080 ? Time.at(ts).beginning_of_week : Time.at(ts - ts % (period * 60)) end end end
update_point(market, period, ts)
click to toggle source
# File lib/daemons/k.rb, line 94 def update_point(market, period, ts) k = key(market, period) point = get_point(market, period, ts) @logger.info "update #{k}: #{point.to_json}" @r.rpop k @r.rpush k, point.to_json end


Björk first came to prominence as one of the lead vocalists of the avant pop Icelandic sextet the Sugarcubes, but when...
November 5, 1955
Wait a minute. Wait a minute, Doc. Uhhh... Are you telling me that you built a time machine... out of a DeLorean?! Whoa. This is heavy.


gh pr
Manage GitHub pull requests from the command-line.
Some subcommands such as `gh pr create` have their own usage documentation.
More information: home page
- Create a pull request:
gh pr create
- Check out a specific pull request locally:
gh pr checkout pr_number
- View the changes made in the pull request for the current branch:
gh pr diff
- Approve the pull request for the current branch:
gh pr review --approve
- Merge the pull request associated with the current branch interactively:
gh pr merge
- Edit a pull request interactively:
gh pr edit
- Edit the base branch of a pull request:
gh pr edit --base branch_name
- Check the status of the current repository's pull requests:
gh pr status


To reach the dialog box that allows you to select specific cases or records from your data set, click on the Observations tab at the top of the dialog boxes. This will bring the Observations dialog box to the front.
The scrolling text box in the upper left corner provides brief, on-screen documentation on how to select particular data records based on conditions that you specify. The variables of the input data set are listed in the box at the right of the screen.
At the bottom of the screen is the case-selection field in which you enter the case selection, or WHERE, expression that will specify cases. This expression gives the conditions on the variables that will define the subgroup of the data set that you wish to select.
Variable names can be entered in this field by selecting their names from the variable list box. When you double-click on a variable name it will be copied to the case-selection box.
Case-Selection Expressions
The WHERE statement is used to give the conditions on the variables that will define the subgroup of the data set that you wish to select.
The case-selection, or WHERE, expression, has the following form:
WHERE variable expression relational operator selection condition
Here, variable expression consists of a single variable or an expression involving several variables, relational operator is one of the operators listed below, while selection condition gives specifications for the variables to be selected.
Variable Expression
All of the usual arithmetic operators [+ - / * ( ) ] are available for use in this expression.
If variable names used in WHERE expressions contain embedded blanks or characters such as relational operators or arithmetic like '/', then they must be enclosed in single quotes.
Internal Variable
An internal variable, '_rownum' is available which allows specific rows or records of the data set to be referenced.
Relational Operators
The following relational operators are available:
|
= |
equals |
|
|
!= |
not equal |
|
|
< |
less than |
|
|
> |
greater than |
|
|
<= |
less than or equal |
|
|
>= |
greater than or equal |
|
|
& |
and |
|
|
| |
or |
|
|
, |
or (used in a series) |
|
|
| |
not |
|
|
The modulus operator is also available: |
||
|
% |
remainder after division by the operand following |
Selection Conditions
If variable values consist of string, then when they contain blanks or characters such as '/', they must be enclosed in double quotes.
Examples
Examples of selection conditions given by WHERE expressions are:
where educ = 12 & rate > .2
where (income1 + income2)/famsize < 20000
where income1 >= 20000 | income2 >= 20000
where acct != 2001
where name = smith
where 'dept-sales' = "auto loan"
where id % 2 = 0 (which selects all even values of 'ID')
where _rownum < 200 (which selects rows 1 - 199)
Wildcards in Selection Conditions
Wildcards ( * or ? ) are available to select subgroups of string variables. For example:
where account = ?3*
where name = mc* | name = mac*
Note that when the wildcard '?' is used, it replaces a single character, while the wildcard '*' replaces an unspecified number of characters. Thus the specification '?3*' will select account numbers of any length that have a three in the second place.
Comma Operator
The comma operator ',' is used to list different values of the same variable name that will be used as selection criteria. It allows you to bypass potentially lengthy OR expressions when selecting lists of values. For example, the WHERE expression above can be more easily written:
where name = mc*,mac*
Other examples are:
where age = 21,31,41,51,61
which will select only the listed ages, and
where caseid != 22*,30??,4?00
which will select all cases except those id's starting with '22', or four character id's starting with '30', or starting with '4' and ending with '00'.
Preserving WHERE expressions
Ordinarily the WHERE expression is cleared after a transfer operation. If you wish to apply the same expression to several input files, you can check the box Preserve expression between transfers and your expression will be available for re-use or editing for your next transfer run.
See also:


Basic Text Feilds with different sizes by height and column.
Floating Label - Floating animation for label when Input feild is active.
Input Status - Focused and Disabled
Basic Example
Height Auto Growing
Disabled State
Basic Example
Disabled Stat
Basic Example
Inline Checkboxes and Radios - Use the '.checkbox-inline' or '.radio-inline' classes on a series of checkboxes or radios for controls that appear on the same line.


|
PRAgMaTIc
master
|
PRAgMaTIc (Parallel anisotRopic Adaptive Mesh ToolkIt) provides 2D/3D anisotropic mesh adaptivity for meshes of simplexes. The target applications are finite element and finite volume methods although it can also be used as a lossy compression algorithm for 2 and 3D data (e.g. image compression). It takes as its input the mesh and a metric tensor field which encodes desired mesh element size anisotropically.
The toolkit is written in C++ but also provides interfaces for Fortran. It has been integrated with FEniCS/Dolfin and integration with PETSc/DMPlex is planned. One of the design goals of PRAgMaTIc is to develop highly scalable algorithms for clusters of multi-core and many-core nodes. PRAgMaTIc uses OpenMP for thread parallelism and MPI for domain decomposition parallelisation.
A thread-parallel algorithm for anisotropic mesh adaptation Under review: arXiv:1308.2480
Hybrid OpenMP/MPI anisotropic mesh smoothing DOI: 10.1016/j.procs.2012.04.166
Accelerating Anisotropic Mesh Adaptivity on nVIDIA's CUDA Using Texture Interpolation DOI: 10.1007/978-3-642-23397-5_38
$ cmake . $ make
$ make test
If you want to install to a specific location then specify the argument –prefix=/target_location for ./configure. The default location is /usr/local.
$ make install
A RPM spec file is provided in the source root directory. Typically you need to create a tar ball of the source directory and then execute rpmbuild, e.g.:
$ rpmbuild -ta pragmatic-0.1.tar.gz
See rpmbuild documentation for more details.
A Debian package is provided. To build a deb simply cd to the source directory and execute:
$ dpkg-buildpackage -us -uc


Beautiful Images
Search:
submit
Gallery
House
Chess
Music
Magic Balls
Street
Boat
Magical hands
Magical ring
Space


"All That Jazz"
A Review by Ryan Kohler
You'd think that a musical with Roy Scheider as the lead would probably not be very good. You know, because when I think of singing and dancing I think of Roy Scheider. In that aspect, Bob Fosse's 1979 film, "All That Jazz", is one of the best film musical films of the last thirty years and one of the best films of the late 70's.
Scheider plays Joe Gideon, an overstressed stage/film director who is pushing himself toward an early grave. He overworks himself, is constantly smoking, and does various other things detrimental to his health. This character is clearly the celluloid Bob Fosse, an overstressed stage/film director. This autobiographical film seems to infer that Fosse knows what he did right and wrong during his life. He presents those episodes with Scheider as his surrogate persona.
Gideon runs into trouble with his professional AND personal life. He is seen many times laboring over the editing of a film based on a controversial stand-up comedian (re: "Lenny", Fosse's 1974 film, starring Dustin Hoffman.) The edit is not going well and the studio is soon on his back. Then there is the stage production Gideon is in charge of; we see a musical sequence he has created, titled "AirRotica". Involving VERY permiscuous flight attendants, it soon angers the plays backers. It is obvious that Gideon is in trouble.
Fosse's directoral skills come to light during the dance sequence involving "AirRotica". He combines his cinematic skills with his theater background to create an almost disturbing number. The scantily-clad dancers in compromising positions combined with the lighting that Fosse chooses creates a decided air of decadence. It is very easy to see why uptight producers and backers would get upset about it. As theater its controversial, as film, however, this sequence it is brilliant.
Gideon doesn't have a great family life either. Obsessed in his work he is perhaps not the best father to his daughter, Michelle (Erzsebet Foldi). He is not a bad father, it seems, because when he is with Michelle they get along great. It simply seems that he is a father who may love his work more. He is still on speaking terms with his ex-wife, Audrey (Leland Palmer), a Broadway star in her own right. Thrown into the mix is Kate Jagger, (played by Ann Reinking, who may be playing her own alter-ego), a younger dancer that Joe is involved with. One more woman is around, too, though not in a conventional way. Angelique, an apparition played by Jessica Lange, is around to advise Joe on his problems and his future. If Clarence from "It's a Wonderful Life" had a kid, Angelique may have been her.
Much of the dancing involves the women of Joe's life. All the female stars, with the exception of Lange, sing and dance with much style and grace. Reinking and Palmer perform their acting roles teriffically as well, though it is in the musical segments they shine.
Gideon has a major heart-attack near the end of the film and as he lies unconscious he has a dream. He dreams of a television show, hosted by the gregarious O'Connor Flood (Ben Vereen), that celebrates his upcoming death: call it "This Is Your Death." Many of the people Gideon has been involved with in his life are there and various musical numbers come about.
Fosse kicks the style into high-gear at this point. Neon lights are abound on the stage, characters don different costumes, and, for a death march, it is quite upbeat. Even Gideon/Scheider gets into the singing/dancing act near the end, echoing the sung refrain during this segment: "Goodbye my life, goodbye." This masterful sequence combines all of Fosse's talents into one last shot of adrenaline and cinematic brilliance.
Roy Scheider gives the performance of his career in "All That Jazz." Since this film isn't a "conventional" musical (i.e. people don't randomly burst into song in this film, the musical sequences are logical and fit into the plot), Scheider doesn't have to sing or dance. All he has to do is to act, and boy does he! He captures all the pain the Gideon has inside of him as things happen to him. Gideon is a passionate man, especially about his work. Scheider shows us how Gideon cares deeply in all his work, the painstaking brilliance that goes into creating what he creates.
Fosse was a great filmmaker. "All That Jazz" is the zenith of his film work, a film that is entertaining and introspective. Bob Fosse made a movie about himself, about things that he believes in. The material is truthful about what is going on, as most of it happened to Fosse himself. With his film, "All That Jazz", Fosse's execution was flawless.
Rating (out of 4.0): 4.0
"All That Jazz" (1979). Directed by Bob Fosse. Written by Robert Alan Aurthur and Bob Fosse. Cinematography by Giuseppe Rotunno. Original music by Ralph Burns. Produced by Robert Alan Aurthur. With Roy Scheider, Ann Reinking, Leland Palmer, Jessica Lange, Ben Vereen, Erzsebet Foldi. Running time: 123 minutes. Distributed by 20th Century Fox. Rated: R. Available on home video.
---
16 June 1998
Visit my Film Review Multiplex: http://pages.prodigy.com/XWKZ01B/index.htm
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


This submodule contains helper functions to help with quick prototyping using pymunk together with pyglet.
Intended to help with debugging and prototyping, not for actual production use in a full application. The methods contained in this module is opinionated about your coordinate system and not very optimized (they use batched drawing, but there is probably room for optimizations still).
Draw one or many pymunk objects. It is perfectly fine to pass in a whole Space object.
If a Space is passed in all shapes in that space will be drawn. Unrecognized objects will be ignored (for example if you pass in a constraint).
Typical usage:
>>> pymunk.pyglet_util.draw(my_space)
You can control the color of a Shape by setting shape.color to the color you want it drawn in.
>>> my_shape.color = (255, 0, 0) # will draw my_shape in red
If you do not want a shape to be drawn, set shape.ignore_draw to True.
>>> my_shape.ignore_draw = True
(However, if you want to ignore most shapes its probably more performant to only pass in those shapes that you want to be drawn to the draw method)
You can optionally pass in a batch to use. Just remember that you need to call draw yourself.
>>> pymunk.pyglet_util.draw(my_shape, batch = my_batch)
>>> my_batch.draw()
See pyglet_util.demo.py for a full example
| Param : |
|
|---|


You are requesting to add the following communities to the {{ teamName }} Areas of Responsibility list.
You are requesting to remove the following communities from the {{ teamName }} Areas of Responsibility list.


|
|
void | availableServicesChanged (const QStringList &names) |
| |
|
|
| ChannelConnectionModel (QObject *parent=0) |
| |
|
ChannelConnection * | getConnection (int row) const |
| |
|
QModelIndex | add (ChannelConnection *channelConnection, int beforeRow) |
| |
|
bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| |
|
void | moveUp (int row) |
| |
|
void | moveDown (int row) |
| |
|
int | getRowFor (ChannelConnection *channelConnection) const |
| |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| |
|
QModelIndex | index (int row, int column=0, const QModelIndex &parent=QModelIndex()) const |
| |
|
bool | hasChannel (const QString &name) const |
| |
Definition at line 17 of file ChannelConnectionModel.h.
The documentation for this class was generated from the following files: