We do this by offering the best resources to PTs like you who are passionate about health and fitness and dedicated to delivering measurable results to their clients.
As a member of our team, we provide you with a mini-portal to introduce yourself and your skills to your future clients. Together with that, we provide software to serve them better, breakthrough marketing material and a simple, step-by-step business approach.
Best of all, we show how you can easily apply a user friendly scientific method of training that is proven to deliver real, measurable results for clients.
Anyone who ever succeeded at any enterprise, did so by following a series of steps. Whether he was learning to ride a bike or bake a cake, success required a recipe and a procedure—a system.
“The proof is always in the pudding!”
If the texture and taste are good, the recipe must be good.
Not only has every aspect of this approach been adopted by numerous PTs,
it has worked for many years, paving their way to success.
You will discover many revolutionary marketing strategies to go along with all the tools and resources provided in your starters book.
Once you have been approved, we will send you an email with your login information and links to download your materials. In addition, within 4–7 business days you will receive a package containing your QPT tools and accessories.
You’ll be in the fast lane to success!


JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
A
C
D
E
G
H
I
L
P
R
S
U
W
A
acceptAlert()
- Method in class CodeHouse.
Page
accepts the alert present.
alertAuthenticateWithCredentials(String, String)
- Method in class CodeHouse.
Page
alertGetText()
- Method in class CodeHouse.
Page
alertSetValue(String)
- Method in class CodeHouse.
Page
C
cleanAndRebuildElement(WebElement, int)
- Method in class CodeHouse.
Page
cleanAndRebuildElement(WebElement, int, int)
- Method in class CodeHouse.
Page
clearInputElement(WebElement)
- Method in class CodeHouse.
Page
clickAndClearField(WebElement)
- Method in class CodeHouse.
Page
clickWithJS(WebElement)
- Method in class CodeHouse.
Page
CodeHouse
- package CodeHouse
D
deadWait(int)
- Method in class CodeHouse.
Page
deleteAllCookies()
- Method in class CodeHouse.
Page
This method performs the WebDriver Delete All Cookies action.
deleteCookiesByCookieName(Cookie)
- Method in class CodeHouse.
Page
deleteCookiesByCookieName(String)
- Method in class CodeHouse.
Page
deselectAll(WebElement)
- Method in class CodeHouse.
Page
deselectByIndex(WebElement, int)
- Method in class CodeHouse.
Page
deselectByValue(WebElement, String)
- Method in class CodeHouse.
Page
deselectByVisibleText(WebElement, String)
- Method in class CodeHouse.
Page
dismissAlert()
- Method in class CodeHouse.
Page
Dismisses the Alert
doubleClickElement(WebElement)
- Method in class CodeHouse.
Page
doubleClickWebElement(WebElement)
- Method in class CodeHouse.
Page
CHECK THIS duplicated
driver
- Static variable in class CodeHouse.
Page
E
explicitWaitForElementNotToBeSelected(WebElement)
- Method in class CodeHouse.
Page
explicitWaitForElementToBeClickable(WebElement, int)
- Method in class CodeHouse.
Page
explicitWaitForElementToBeSelected(WebElement)
- Method in class CodeHouse.
Page
explicitWaitForElementToBeVisible(WebElement, int)
- Method in class CodeHouse.
Page
G
getActionsHandle()
- Method in class CodeHouse.
Page
getAllSelectedOptions(WebElement, boolean)
- Method in class CodeHouse.
Page
getBrowserInnerDimension()
- Method in class CodeHouse.
Page
getCurrentURL()
- Method in class CodeHouse.
Page
getCurrentWindowHandle()
- Method in class CodeHouse.
Page
getDocumentTitleByJS()
- Method in class CodeHouse.
Page
getDriver()
- Method in class CodeHouse.
Page
getHardAssertionObject()
- Method in class CodeHouse.
Page
getInnerTextOfWebPageByJS()
- Method in class CodeHouse.
Page
getJsDriver()
- Method in class CodeHouse.
Page
getMeCurrentMethodInfo()
- Method in class CodeHouse.
Page
This void method returns information about the current method at runtime.
getSelectObject(WebElement)
- Method in class CodeHouse.
Page
getSoftAssertionObject()
- Method in class CodeHouse.
Page
getWebDriverWait(int)
- Method in class CodeHouse.
Page
getWindowHandles()
- Method in class CodeHouse.
Page
H
hardAssertTrue(boolean, String)
- Method in class CodeHouse.
Page
hardAssertTrue(boolean, String, String)
- Method in class CodeHouse.
Page
I
info(String)
- Method in class CodeHouse.
Page
isCorrectPageIsLoaded(String)
- Method in class CodeHouse.
Page
L
log4JLogger
- Static variable in class CodeHouse.
Page
logger
- Static variable in class CodeHouse.
Page
P
Page
- Class in
CodeHouse
Page(WebDriver, Logger)
- Constructor for class CodeHouse.
Page
Page(WebDriver, Log4JLogger)
- Constructor for class CodeHouse.
Page
Page(WebDriver)
- Constructor for class CodeHouse.
Page
R
refreshBrowserWindow()
- Method in class CodeHouse.
Page
rightClickAndChooseOptionByPartialLinkText(WebElement, String)
- Method in class CodeHouse.
Page
rightClickOnElement(WebElement)
- Method in class CodeHouse.
Page
S
scrollToElement(WebElement)
- Method in class CodeHouse.
Page
scrollToPageVerticalJS(int)
- Method in class CodeHouse.
Page
selectByValue(WebElement, String)
- Method in class CodeHouse.
Page
selectWindowHandle(String)
- Method in class CodeHouse.
Page
setValueInInputField(WebElement, String)
- Method in class CodeHouse.
Page
setValueInInputFieldJS(WebElement, String)
- Method in class CodeHouse.
Page
simpleClick(WebElement)
- Method in class CodeHouse.
Page
softAssert(boolean, String)
- Method in class CodeHouse.
Page
softAssert(boolean, String, String)
- Method in class CodeHouse.
Page
U
useKeyboardButton(WebElement, Keys)
- Method in class CodeHouse.
Page
W
waitForJQueryToComplete()
- Method in class CodeHouse.
Page
waits for the JQuery to complete.
waitForPageLoadToComplete()
- Method in class CodeHouse.
Page
This method wais for the page to be laoded ; waits for the document reference from the DOM waits until the refrenced time inside the method.
waitForPageTitleToBeLoaded(String)
- Method in class CodeHouse.
Page
warn(String)
- Method in class CodeHouse.
Page
A
C
D
E
G
H
I
L
P
R
S
U
W
Skip navigation links
Package
Class
Use
Tree
Deprecated
Index
Help
Prev
Next
Frames
No Frames
All Classes
Copyright © 2018. All rights reserved.


:a pliable material made usually by weaving, felting, or knitting natural or synthetic fibers and filaments
:a similar material (as of glass)
:a piece of cloth adapted for a particular purpose
:tablecloth
:a distinctive dress of a profession or calling
:the dress of the clergy
:clergy


{% extends 'layouts/base.html' %} {% block content %}
{{ college.description }}
Overall Cost of Attendance: ${{ college.cost_of_attendance }}
Early: {{ college.early_deadline }}
Regular: {{ college.regular_deadline }}
Scholarship: {{ college.scholarship_deadline }}
FAFSA Deadline: {{ college.fafsa_deadline }}
Acceptance Deadline: {{ college.acceptance_deadline }}
{% if college.plot_SAT1600 %}


inquisitive, experienced, problem-solver
Currently working as a data science analyst at Adobe, I'm interested in answering stimulating questions with a data-driven approach in a reproducable, efficient manner. Find my full resume here.


Status: Passed (as amended) Jan 89 X3J13(And reaffirmed Jun 89 X3J13 that this was the version wanted)
Forum: Cleanup
Issue: FUNCTION-COMPOSITION
References: None
Category: ADDITION
Edit history: 21-Jun-88, Version 1 by Pitman
05-Oct-88, Version 2 by Pitman
7-Dec-88, Version 3 by Masinter
12-Dec-88, Version 4 by Masinter (additional comments)
10-Feb-89, Version 5 (as amended by X3J13 Jan 89)
Related-Issues: TEST-NOT-IF-NOT
Problem Description:
A number of useful functions on functions are conspicuously
absent from Common Lisp's basic set. Among them are functions
which return constant T, constant NIL, and functions which
combine functions in common, interesting ways.
Proposal (FUNCTION-COMPOSITION:JAN89-X3J13):
Add the following functions:
COMPLEMENT function [Function]
Returns a function whose value is the same as the NOT of the
given function applied to the same arguments.
CONSTANTLY value [Function]
Returns a function whose value is always VALUE.
Examples:
(MAPCAR #'(LAMBDA (X) (DECLARE (IGNORE X)) T) '(3 A 4.3))
==
(MAPCAR (CONSTANTLY T) '(3 A 4.3))
=> (T T T)
(FIND-IF-NOT #'ZEROP '(0 0 3))
==
(FIND-IF (COMPLEMENT #'ZEROP) '(0 0 3))
=> 3
Rationale:
The presence of these functions will contribute to syntactic
conciseness in some cases.
Current Practice:
No Common Lisp implementations provide these functions,
but they do exist in the T language.
Cost to Implementors:
A straightforward implementation is simple to cook up. The definitions
given here would suffice. Typically some additional work might be
desirable to make these open code in interesting ways.
(NOT (APPLY FUNCTION ARGUMENTS))))
(DEFUN CONSTANTLY (VALUE)
VALUE))
Cost to Users:
None. This change is upward compatible.
Cost of Non-Adoption:
(COMPLEMENT BENEFITS)
Benefits:
Some code would be more clear.
Some compilers might be able to produce better code.
Takes a step toward being able to flush the -IF-NOT functions
and the :TEST-NOT keywords, both of which are high on the list
of what people are referring to when they say Common Lisp is
bloated by too much garbage.
Aesthetics:
In situations where these could be used straightforwardly, the
alternatives are far less perspicuous.
Discussion:
Several additional functions (COMPOSE, CONJOIN) were
considered and rejected at the Jan 89 X3J13 meeting.


Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to<EMAIL_ADDRESS>so we can send you a copy immediately.
__toString(
)
:
string
Serialize to string
Required by the Reflector interface
| Type | Description |
|---|---|
| string |
_checkFileDocBlock(
array $tokens
)
:
void
Validate / check a file level docblock
| Name | Type | Description |
|---|---|---|
| $tokens | array | Array of tokenizer tokens |
_reflect(
)
:
void
This method does the work of "reflecting" the file
Uses PHP's tokenizer to perform file reflection.
export(
)
:
null
Export
Required by the Reflector interface.
| Type | Description |
|---|---|
| null |
findRealpathInIncludePath(
string $fileName
)
:
string
Find realpath of file based on include_path
| Name | Type | Description |
|---|---|---|
| $fileName | string |
| Type | Description |
|---|---|
| string |
getClass(
null|string $name
=
null, string $reflectionClass
=
Zend_Reflection_Class
)
:
\Zend_Reflection_Class
Retrieve the reflection class of a given class found in this file
| Name | Type | Description |
|---|---|---|
| $name | null|string | |
| $reflectionClass | string | Reflection class to use when creating reflection instance |
| Type | Description |
|---|---|
| \Zend_Reflection_Class |
| Exception | Description |
|---|---|
| \Zend_Reflection_Exception | for invalid class name or invalid reflection class |
getClasses(
string $reflectionClass
=
Zend_Reflection_Class
)
:
array
Return the reflection classes of the classes found inside this file
| Name | Type | Description |
|---|---|---|
| $reflectionClass | string | Name of reflection class to use for instances |
| Type | Description |
|---|---|
| array | Array of Zend_Reflection_Class instances |
getDocblock(
string $reflectionClass
=
Zend_Reflection_Docblock
)
:
\Zend_Reflection_Docblock
Return the docblock
| Name | Type | Description |
|---|---|---|
| $reflectionClass | string | Reflection class to use |
| Type | Description |
|---|---|
| \Zend_Reflection_Docblock |
getFunctions(
string $reflectionClass
=
Zend_Reflection_Function
)
:
array
Return the reflection functions of the functions found inside this file
| Name | Type | Description |
|---|---|---|
| $reflectionClass | string | Name of reflection class to use for instances |
| Type | Description |
|---|---|
| array | Array of Zend_Reflection_Functions |


60%
Urgent:
Rails 4.1.0 upgrade
3 notes added by James 2h ago...
83%
Primary:
Sing Web App
verifying stable probability status
44%
Finish The Road to Hell Song
last update: 2h ago
86%
Complete project planning
no, no way this is not working...
100%
Completed:
Instruct newbies on coding standards
last update: April 22, 2014 2:36 pm


Repographer Documentation¶
Repographer is a command-line tool to assist in breaking up large Microsoft .NET repositories. In an ideal configuration, every .NET system (whether desktop, web, or service) is contained within its own repository, uses one .sln file per independently deployable unit of the system, and has each .sln only containing projects that define that unit. Projects that are shared by multiple units, or even multiple systems, are done so via versioned NuGet packages. This allows each deployable unit to be versioned independently, and to define the NuGet package versions on which it depends independent of updates made to those packages.
Many companies, however, still have one very large .NET repository consisting of many .sln files. These .sln files not only contain code that defines the system, but also cross-referenced shared projects that often are scattered throughout the repository. It is difficult to distinguish the code that is “owned” by any one system vs. code that is shared across multiple systems. This causes problems when breaking changes are made to a shared project without the awareness of all .sln files that reference that project. Likewise when shared project locations are moved, breaking reference paths that are difficult to identify. This, in effect, makes the repository a “big ball of mud” and the stability of any one given system as it progresses through the development pipeline highly unpredictable.
Features¶
Repographer has commands for the following:
Change the NuGet package location to a central (relative) path in ALL projects
- This is helpful if you want to use a nuget.config to provide a root-level “global” packages folder
Delete all folders that have a given name out of the repository, regardless of location
- Again, helpful if you want to purge out the individual “packages” folders created by NuGet by default to switch to a central “packages” folder.
Change a project reference to a NuGet Package reference in ALL projects
- For when you extract out a shared project into a NuGet package, and want to update all existing references to that project accordingly.
Remove a project from ALL .sln files in a repository
- After switching a shared project to a NuGet package reference, you’ll want to remove that project from the respective .sln files.
Remove a reference from ALL projects in a repository
- In case you ever have an old, obsolete reference to a non-existant project after refactoring efforts.
Contents:


Features
Hover your cursor over the buttons to see Tippy in action!Tap the buttons to see Tippy in action!
NOTE: These docs refer to v1. New features from minor version increases are highlighted. Make sure you're up to date!
important_devices Browser support
Tippy gracefully degrades on older browsers (and with JavaScript disabled) by using the
browser's default title
tooltip.
Supported browsers
Browsers which support requestAnimationFrame
.
See caniuse. If
your audience has low Opera Mini usage (common in western countries), then support should be
>96%.
Touch devices
Tippy works on touch devices almost the same as on desktop/mouse devices. However on iOS devices, in order for tooltips to close
when tapping anywhere on the body and to trigger hover events on non-clickable elements, a .tippy-touch { cursor: pointer !important; }
class is added to the body.
Dynamic input detection
For certain settings to work reliably depending on the type of user input (such as mouse or touch), dynamic input detection is enabled by default. This is only available in v1.0.0+. This can be disabled and enabled at any time via:
tippy.enableDynamicInputDetection()
tippy.disableDynamicInputDetection()
You may also access the Browser
object settings set internally via:
tippy.Browser
Accessibility
Tooltips have ARIA labelling to ensure accessibility.
tag_facesGetting started
file_download Download the latest release (.zip)
Alternatively, you can install through npm:
npm install --save tippy.js
or use the unpkg.com CDN:
https://unpkg.com/tippy.js/dist/
1. Place the tippy.css
stylesheet in your document's head
.
<link rel="stylesheet" href="css/tippy.css">
2. Include the tippy.min.js
file in your document before your own scripts:

If you installed the npm package, the JS and CSS files are available in the dist folder:
tippy.js
tippy.min.js
tippy.standalone.js
tippy.css
tippy.js
comes bundled with popper.js
(unminified), and tippy.standalone.js
(minified) is Tippy by itself if you want use a different version of Popper.js.
buildCreating a tooltip
First, give an element a title
attribute containing what you want the tooltip to say.
<button class="btn" title="I'm a tooltip!">Text</button>
Then, to give it a Tippy tooltip, call the tippy()
function by passing in a CSS selector.
tippy('.btn')
Result:
You can also directly pass in a DOM element:
const el = document.querySelector('#myElement')
tippy(el)
Or an array of them: v1.2+
const els = Array.from(document.querySelectorAll('.myElements'))
tippy(els)
Elements without a title
attribute or an HTML template will not receive a tooltip. You can pass in any CSS selector to initialize it. See document.querySelectorAll() for reference.
Minimal Working Example, with all files in the same directory:
<!DOCTYPE html>

<link rel="stylesheet" href="tippy.css">

<button id="myId" title="Tooltip text">Button text</button>

settingsCustomizing tooltips
tippy()
takes an object as a second argument for you to customize the tooltips being instantiated. Here's an example:
tippy('.tippy', {
position: 'right',
animation: 'scale',
duration: 1000,
arrow: true
})
Result:
Data attributes
You can also specify settings on the element itself by adding data-*
attributes. This overrides any global settings specified in the instance.
<button
class="btn tippy"
title="I'm a tooltip!"
data-duration="[400, 0]"
data-arrow="false"
data-animation="shift"
data-position="bottom"
>
Overridden
</button>
Result:
This is helpful if you want to globally define settings, but make a few tooltips different without having to call tippy()
again with different settings.
settings_applicationsAll settings
Note: settings with camelCase are lowercase in HTML. For example, animateFill
is data-animatefill
in HTML.
| Settingsettings | Defaultremove | Optionssettings_input_component | Rolebuild |
|---|---|---|---|
position |
'top' |
'top' 'bottom' 'left' 'right'
|
Specifies which direction to position the tooltip on the element.
Add the suffix -start
or -end to shift the position. 'top-end' is an example.
|
trigger |
'mouseenter focus' |
'mouseenter' 'focus' 'click' 'manual' {custom} |
Specifies which type of events will trigger a tooltip to show. Separate each by a space.
mouseenter is for hovering and touch on mobile, and focus is for keyboard navigation.
Use manual if you want to show/hide the tooltip manually
(see the Methods section below).
{custom} refers to the fact that you can have any event listener, but it won't have the opposite "hide" event.
|
interactive |
false |
Boolean |
Makes a tooltip interactive, i.e. will not close when the user hovers over or clicks on the tooltip. This lets you create a popover (similar to Bootstrap) when used in conjunction with a click trigger. |
interactiveBorder |
2 |
Number (pixels) |
Specifies the size of the invisible border around an interactive tooltip that will prevent it from closing. Only applies to mouseenter triggered tooltips. |
delay |
0 |
Number | Array (milliseconds) |
Specifies how long it takes after a show or hide event is fired for a tooltip to begin showing or hiding.
Use an array to specify a different show and hide delay, such as [300, 100] .
|
animation |
'shift' |
'shift' 'perspective' 'fade' 'scale' |
Specifies the type of transition animation a tooltip has. |
arrow |
false |
Boolean |
Adds an arrow pointing to the tooltipped element. Setting this to true disables animateFill . |
arrowSize |
'regular' |
'small' 'regular' 'big' |
Specifies how big the tooltip's arrow is. The sizes are 5px, 7px and 10px respectively. |
animateFill |
true |
Boolean |
Adds a material design-esque filling animation. This is disabled if you have arrow set to true . |
duration |
350 |
Number | Array (milliseconds) |
Specifies how long the transition animation takes to complete when showing a tooltip.
Use an array to specify a different show and hide duration, such as [300, 100] .
|
html |
false |
false | template id | Element |
Allows you to add HTML to a tooltip. See Creating HTML templates. |
size |
'regular' |
'small' 'regular' 'big' |
Specifies how big the tooltip is. |
distance |
10 |
Number (pixels) |
Specifies how far away the tooltip is from its element. |
theme |
'dark' |
'dark' 'light' 'transparent' |
The CSS styling theme. You can add your own easily. See Creating themes. |
offset |
0 |
Number (pixels) |
Offsets the tooltip on its opposite axis. For position top and bottom, it acts as offsetX. For position left and right, it acts as offsetY. |
hideOnClick |
true |
true false 'persistent' |
Specifies whether to hide a tooltip upon clicking its element after hovering over and when clicking elsewhere on the document. For click-triggered tooltips when using false , toggle functionality remains unless you use 'persistent' . |
multiple |
false |
Boolean |
Specifies whether to allow multiple tooltips open on the page (click trigger only). |
followCursor |
false |
Boolean |
Specifies whether to follow the user's mouse cursor (mouse devices only). |
inertia |
false |
Boolean |
Modifies the transition-timing-function with a cubic bezier to create a "slingshot" intertial effect. |
flipDuration |
300 |
Number (milliseconds) |
Specifies the transition duration between flips and when updating a tooltip's position on window resize. |
sticky |
false |
Boolean |
Specifies whether the tooltip should stick to its element reference when it's showing (for example, if the element is animated/moves). |
stickyDuration |
200 |
Number (milliseconds) |
Specifies the 'smoothing' transition when the popper's position updates as its element moves. |
appendTo |
document.body |
Element |
Specifies which element the tooltip popper is appended to. |
zIndex |
9999 |
Number |
Specifies the z-index of the tooltip popper. |
touchHold |
false |
Boolean |
Changes the trigger behavior on touch devices. It will change it from a tap to show and tap off to hide, to a tap and hold to show, and a release to hide. |
performance |
false |
Boolean |
Disables data-* attribute settings to make initial instantiation time faster. |
dynamicTitle |
false |
Boolean |
Each time the tooltip is shown, the title attribute on the reference element is fetched and the tooltip's content is updated. |
popperOptions |
{} |
Object |
Allows more control over tooltip positioning and behavior. See right below. |
Finer control over tooltips
You can define a popperOptions
setting with Popper.js settings.
View the Popper.js documentation
to see the settings you can specify.
Here's an example of how to integrate Popper.js settings into Tippy, so that a tooltip will flip to the bottom from the right if there's not enough room in the viewport.
tippy('.mySelector', {
position: 'right',
popperOptions: {
modifiers: {
flip: {
behavior: ['right', 'bottom']
}
}
}
})
Flipping
By default, tooltips will flip on their opposite axis if there is not enough room in the viewport. If you want to force no flip, then use:
tippy('.mySelector', {
popperOptions: {
modifiers: {
flip: {
enabled: false
}
}
}
})
Tooltips inside a scrollable container
You may encounter issues with tooltip positioning when it's given to an element within a scrollable container.
Firstly, when the element is no longer visible, the tooltip will stay stuck within the viewport. Secondly, it transitions between position updates.
To solve this, simply specify a flipDuration
of 0
and add the following popperOptions
:
tippy('.mySelector', {
flipDuration: 0,
popperOptions: {
modifiers: {
preventOverflow: {
enabled: false
}
}
}
})
Callbacks
If you want things to happen at certain times during a tooltip's show/hide events, you can add callback functions in the settings object. There are 5 to use:
Note: Callback functions prior to v1.1 should not have the on
prefix; simply use show
, hide
, etc.
However, starting from v1.1 they are deprecated in favor of the more semantic on*
names which better indicate a callback function.
tippy('.tippy', {
onShow: function () {
// When the tooltip has been triggered and has started to transition in
},
onShown: function () {
// When the tooltip has fully transitioned in and is showing
},
onHide: function () {
// When the tooltip has begun to transition out
},
onHidden: function () {
// When the tooltip has fully transitioned out and is hidden
},
wait: function (show, event) {
// See below for an explanation
}
})
this
inside the callbacks refers to the popper being shown or hidden.
wait
is a special callback that allows you to control the show
method
for easier integration into UI libraries like React when using HTML tooltips with components.
The function itself takes a callback as a parameter, which is just the show
method for the tooltip.
Example usage (ES6 syntax):
tippy('.tippy', {
wait(show, event) {
// Change your app model to be rendered by the UI library/framework
// Queue show to run once rendering is complete
setTimeout(() => {
// update(popper) content
// event.type to see what trigger fired the event
show()
}, 0)
}
})
See here for reference.
Modify the default settings
You can change the default settings by accessing them via tippy.Defaults
.
settings_remoteMethods
tippy()
returns a new Tippy object with the following methods available:
getPopperElement
- returns the tooltip popper elementgetReferenceElement
- returns the element that has the tooltipgetReferenceData
- returns the object containing information about the referenceshow
- shows a tooltiphide
- hides a tooltipupdate
- updates a tooltip with new contentdestroy
- destroys an individual tooltipdestroyAll
- destroys all tooltips created by the instance
Terminology
The popper
is the parent element while the tooltip
is the child of the popper.
The element you give the tooltip to is called the reference
element.
Showing and hiding tooltips programmatically
<button id="myButton" title="Tooltip">My element</button>
First, save the instance:
const tip = tippy('#myButton')
Next, find the reference element's popper reference by calling the method
getPopperElement
and passing the element in directly:
const el = document.querySelector('#myButton')
const popper = tip.getPopperElement(el)
Then, call the show()
or hide()
method by passing in the popper element:
tip.show(popper)
tip.hide(popper)
Pass a number in the second argument to specify a transition duration:
tip.show(popper, 500)
Finding the reference element from the popper element
Pass the popper element to find its reference element into this method:
const el = tip.getReferenceElement(popper)
Updating a tooltip with new content
The update()
method will check for a new title
attribute on the element
that has the tooltip.
el.setAttribute('title', 'New content!')
tip.update(popper)
If it's a HTML template instead, it will inject the new HTML of the template.
Destroying tooltips
The destroy()
method will destroy an individual tooltip.
tip.destroy(popper)
The destroyAll()
method will destroy every tooltip created by the instance.
tip.destroyAll()
Reference data
Retrieve the reference data object by passing in either the reference element or the popper element.
const refData = tip.getReferenceData(el || popper)
The reference data object contains information about the reference element and its popper element.
A particularly important piece of data stored in the object is the popperInstance
object,
which allows you to update the position of the tooltip manually (for example, with dynamic AJAX-powered content).
In order to optimize performance, the popperInstance
is not created until the very first show of a tooltip,
so the data object will not contain it until you've shown a tooltip at least once. If you're dealing with asynchronous content this most likely won't be an issue.
AJAX tooltips
Here's an example of dynamic content which on show, fetches a new random image from the Unsplash API. Note: this requires a browser which supports the newer fetch API.
Reactivity v1.1+
Tooltips react to content changes. For example, if a paragraph element inside the tooltip is removed or changed, the tooltip will automatically update its position.
Note: This isn't supported in IE10 natively (unless polyfilled) because it uses MutationObserver
.
codeCreating HTML templates
It's worth noting that basic HTML can be injected straight into the element's
title
attribute. Example:
title="text"
, so there's no need to
create a template if you want something simple like that (though for backwards
browser compatibility/fallback it won't look pretty).
For more complex scenarios, use a template.
Regarding fallback: HTML template tooltips can't be shown to older browsers (IE <= 9), so you'll need to consider that when using them on your site.
Create an HTML template on the document. Set its style
to
display: none;
so it won't be seen. You don't need to specify a
title
attribute with a HTML templated tooltip; it will be ignored.
You may want to add a title attribute however to notify incompatible users of
something.

Fun non-interactive HTML here

If you want to clone the template's content into the tooltip, specify the template's id
in the html
setting.
Otherwise use the DOM element itself, which allows you to keep listeners attached.
If you use the DOM element choice, ensure it's not hidden with display: none;
.
tippy('#myElement', {
html: '#my-template-id', // OR document.querySelector('#my-template-id')
arrow: true,
animation: 'fade'
})
Result:
Styling tooltips with HTML content
Use this selector to target your tooltip template. Replace "#my-template-id" with
your own template's id
, including the leading hash. If you're using a DOM element
in the html
setting and no id
is found,
it defaults to tippy-html-template
.
.tippy-tooltip[data-template-id="#my-template-id"] {
/* Your styling here. Example: */
padding: 2rem;
}
Interactive elements also receive a class of active
upon triggering so
that you can still style hover effects when the user has moved the cursor away from
the tooltipped element and onto the tooltip itself.
.my-tooltipped-element:hover, .my-tooltipped-element.active {
/* Your hover styling here. */
}
brushCreating themes
Tippy allows you to create your own theme for your tooltips easily. If you wanted to make a theme called honeybee
, then your CSS would look like:
.tippy-tooltip.honeybee-theme {
/* Your styling here. Example: */
background-color: yellow;
border: 2px solid orange;
}
Themes need the -theme
suffix.
To style the arrow, target the element with an x-arrow
attribute:
.tippy-tooltip.honeybee-theme [x-arrow] {
/* Your arrow styling here. */
}
Arrows are CSS triangles, read this comment to see how to style arrows properly.
In case you want to target the content directly:
.tippy-tooltip.honeybee-theme .tippy-tooltip-content {
/* Your styling here. Example: */
color: black;
}
To style the animateFill circle, target the element with an x-circle
attribute:
.tippy-tooltip.honeybee-theme [x-circle] {
/* Your styling here. Example: */
background-color: yellow;
}
Then, specify a theme
setting with your theme's name:
tippy('.tippy', {
theme: 'honeybee'
})
...or specify a data-theme
attribute on your tooltipped element.
<button class="btn tippy" title="I'm a tooltip" data-theme="honeybee">Honeybee theme</button>
Example custom theme:
Multiple themes
Add multiple themes by separating each by a space.
tippy('.tippy', {
theme: 'menu light'
})
This will add the classes .menu-theme
and .light-theme
to the tooltip's class list.
flash_onPerformance
You can have thousands of tooltipped elements without affecting page performance after the initial instantiation. Tooltips are only appended to the DOM when shown, and removed when hidden. Popper.js only listens to scroll and resize events when a popper (tooltip) is showing, and also updates the position on show.
Note: these tooltips are created with performance
mode set to true
.
License
MIT. Also check Popper.js' license.


The incident occurred at Spring Valley High School in Columbia when the unnamed student refused to leave class. Video shows the officer knocking her down and pulling her across the floor. The officer, Ben Fields, has been placed on leave and there has been an outcry from various civil rights and parents' groups. Richland County Sheriff Leon Lott, who asked for federal help to investigate, said he wanted to avoid a "conflict of interest". The FBI, which will carry out the probe, said in a statement it would "collect all available facts and evidence". The South Carolina Law Enforcement Division will assist in the investigation as well


MEAN Stack Developer - Programmer
A project is basically works as social platform in which we create edit delete and add images to posts or blogs.
A project is based on the python.which work as keeping records of the business like stock details of items,buying details of customers and so on.. and give the final bill to customers.when we enter bill number it fetchs the details.
MANY MORE PROJECT...
Greetings Reader! Myself Piyesh Rathore and I am from Guna,Madhya Pradesh,India. I am currently pursuing B-Tech from Jaypee University of Engineering and Technology,Guna,Madhya Pradesh. I am a MEAN Stack developer and programmer .I was interested in doing frontend as well as Backend development. and also comfortable to work on linux.Always read to for sharping my skills and some of the project are discuss above.you can contact me any time the information is given below.
Motto:“A journey of a thousand miles begins with a single step.”


Foursquare HQ
50 W 23rd St, 7th Floor
New York City (Flatiron District)
At the Open Visualization Collaborator Summit, we'll be bringing together an international audience of geospatial minds to discuss how they are using deck.gl to build apps, foster more contribution and envisage the future of the leading open source mapping library.
GET YOUR TICKET NOWWe'll be hosting the Open Visualization Collaborator Summit in New York City, at Foursquare's offices in the iconic Flatiron district in Manhattan.
Developers who are passionate about building visualization applications with deck.gl. Come along to share amazing work, meet others facing similar challenges, and to discuss the future of the community. This isn't a huge conference, but more of an intimate event - however a recording will be available later.
Agenda coming soon
Technical Steering Committee
CTO @ CARTO
Open source contributor and Maplibre cofounder
ArcGIS
Technical Steering Committee
Distinguished Engineer @ Foursquare
Creative Technical Director at Joby Aviation
Former member of the Uber Visualization engineering team
Google Maps
Sr. Systems SW Engineer @ NVIDIA, Inc
Ix/Rx JS, Apache Arrow, NVIDIA RAPIDS contributor


Admin Panel
Client
Vincent Gabriel
Profile
Logout
Home
Screen
Category
Products
Wine List
Cookbook
Gallery
Contacts
User List
User List
Search
Permissions


Feeling slow with your SQL query?
You wrote an SQL query. Then executed it.
Then waited for it ... and saw the result. That was OK.
But, maybe user who uses your product
will not seem that's 'OK'.
In that case, of course, you need to speed it up,
or your boss will ask you to do that.
Almost all projects that I made at university and even
projects which I was joined in my company.
There is almost every SQL query which looked like very simple,
was used.
About 50 percents of them do the job like Create
or Modify or Delete some record. This kind of query
will not take a long time to wait for.
The rest was used for retrieving data. In the regular case,
these queries sometimes look like a little bit slower than another
but still acceptable.
So, what is optimizing for?
A normal day in the past, I came to my office like another day
and my team leader said to me:
"Hey guy, I wonder why this function was too slow.
Can you improve it?"
Thirty minutes later, I found the reason. That function retrieved data
from a table with about thirty million records inside.
 @@
In some case, maybe rare cases, you work with a 'huge table' but you didn't notice about the out-of-size of this table. Then you create queries like you did. They work properly but few of them seem slow or even very slow.
In my case, someone else wrote the function a year ago. At that time, maybe that table not big enough to drag the whole function slows down. But now, it was. Unfortunately, that guy had left the team a long time ago and now I am maintaining his function.
With few simple query, I found that the table has more than thirty million records. And the target query with where clause covers about six million records. Beside it, the query requires a function max to retrieve the newest records which were inserted into the table.
I mention the function max here because it causes a problem. When you use any 'group by' function like Count or Sum or Average ... on a non-index column, it requests database management system (DBMS) scan through all records satisfy where clause to calculate the final result.
One more problem here is function max was used on time stamp column. That's mean, compare operation has to work on date data type and if you were tried it before, you will know it takes a bunch of time, much more than comparing numeric data type.
You can do nothing to reduce table size. Data was saved down for some reason, is not the thing you can freely remove without permission (except testing data). The thing you can do is face the size no matter how big it is.
Fortunately, the data of this table have a special property
can be tricked. That property is a relation between time stamp column was
used to compare and identified column which increases automatic.
That's mean, function max use on time stamp column or identified
column give the same result. In addition, in my case, identified colum
is a numeric column.
With this trick, I solve the data type problem. How about the last one?
If you know well about the index in a relational database system. You will see the last problem about scan through a large number of records was solve with about trick. I read it somewhere on the internet that when cause function min on an indexed column, DBMS just need to return record matches the first index. So, I think if we use function max instead of min function, DBMS do the same thing with the last index.
Think about DBMS's index like an array index. If you have an index, you can immediately access your array item data with this index. So, when an index was specified, DBMS can immediately return the record denote by this index. Finding first or the last index is not too difficult to.
With above trick, the function much faster than before. Now it takes total six hundred millisecond instead of twenty seconds with the old query.
Few date later, my department leader ask me to support another team
run in the same trouble like this. I do the same trick and receive
the same result.
If you're in my case, let try it. This trick really cool at all.


---
layout: feedback
title: Larry Rohr - 2016-07-25 19:43:31
date: 2016-07-25 19:43:31.000000000 -05:00
type: feedback
published: true
status: publish
categories: []
tags: []
meta:
_feedback_email: |-
a:2:{s:2:"to";a:1:{i:0;s:21:"broberts_az@yahoo.com";}s:7:"message";s:650:"Name: Larry Rohr
Email<EMAIL_ADDRESS>Website:
Comment: I am developing a family genealogy website that I am paying for myself using ROR, responsive Bootstrap, Apache2 and PostgreSQL. I currently have a first draft model of it in MSAccess. I would collaborate through repositories on GitHub. I want to remain the principal developer but need help in doing so. Would you be interested in assisting me?
Time: July 25, 2016 at 7:43 pm
IP Address: <IP_ADDRESS>
Contact Form URL: https://bob-roberts.net/contact/
Sent by an unverified visitor to your site.";}
_feedback_extra_fields: a:0:{}
author:
---
I am developing a family genealogy website that I am paying for myself using ROR, responsive Bootstrap, Apache2 and PostgreSQL. I currently have a first draft model of it in MSAccess. I would collaborate through repositories on GitHub. I want to remain the principal developer but need help in doing so. Would you be interested in assisting me?
AUTHOR: Larry Rohr
AUTHOR EMAIL<EMAIL_ADDRESS>AUTHOR URL:
SUBJECT: Email from Blog
IP: <IP_ADDRESS>
Array
(
[1_Name] => Larry Rohr
[2_Email] =><EMAIL_ADDRESS>[3_Website] =>
[4_Comment] => I am developing a family genealogy website that I am paying for myself using ROR, responsive Bootstrap, Apache2 and PostgreSQL. I currently have a first draft model of it in MSAccess. I would collaborate through repositories on GitHub. I want to remain the principal developer but need help in doing so. Would you be interested in assisting me?
)


Grab a friend and collaborate to race to the finish! One player will control the red character while the other will control the blue one. Each character interacts with the environment differently, but characters have the ability to swap places to leverage their "strengths." There are a total of five exciting and challenging levels. Note: This game was made with a homemade Typescript engine, and as such will likely push the browser to the limit in an effort to hit 60 FPS. It is best not to have anything else constraining the CPU when you play.
It is recommended to play with gamepads. Plug two Xbox controllers in and P1 will control red and P2 will control blue. If you lack controllers, a keyboard will work as well.


|
a
j
a
y
@
.
c
o
m
birchdenim
Professional email.
For the business you built.
Gmail for Work
Look more professional with
custom Gmail from Google
Start free trial


AsynCoin
Blocks
Configuration
Wallet
URI
Generate Keys
Private Key:
Address:
Generate Keys
Check Balance
Balance:
Address
Check Balance
Send Transaction
Recipient
Amount
Fee
Private Key
Send Transaction


Cultural Blog: Asking the Right Questions
October 2nd, 2014
Formulating Good Questions
It’s an amazing feeling knowing that I’ve gotten through 2 months of prep for DBC. Within this prep period, I’ve asked numerous questions - whether it was to other students, GPS guides, tutors in office hour, or speaking to someone already working in the web development field. I found that the article from Stackoverflow is a great reminder as to how we should go about asking questions, especially in the web development community. Well-asked questions will provide insightful answers so we should make them engaging, specific and thoughtful.
Some tips for good questions!
- Try not to ask yes or no questions, whenever possible: When you ask a yes or no question, you will most often get incomplete information. Instead, ask an open-ended question. By using an open-ended question you get insights and additional information you might not have known existed.
- Dig deeper: Always consider using follow-up questions. Unless you are looking strictly for the facts, there is some sort of assumption in the answer the person gives you. Ask them a follow up question such as, "What makes you say that?" or "Why do you think that?"
- Don't let silence make you uncomfortable: Start getting comfortable with asking a question, waiting for response, listening to the response and then waiting some more. Many times the person you are questioning has more information and will bring it out when you wait for it.
- Lastly, don’t interrupt: Don’t interrupt the person with whom you are talking. First, it tells the person you don’t value what they are saying. Interrupting stops their train of thought and directs the conversation the way you want, not necessarily the way it should go. Ask your question, then let the person answer it in full, even when you think you are not getting the answer you want. Listen fully to what they are saying and use that to direct them back to the topic in the next question when there is a natural pause.


|
Copy Image URL |
Download Image |
| URL copied! |
Party Pyrrot |
|
Copy Image URL |
Download Image |
| URL copied! |


Sensors
Dashboard
Electricity
Temperature
CO2
Motion
Smoke
IoBeez Dashboard
Manage and view IoT Sensors
Enter User ID
Choose Sensor
Electricity
Temperature
CO2
Connect
Refresh
Sensor
Current Reading
15 min avg
60 min avg
Electricity (w)
Temperature (f)
Motion
N/A
N/A
Smoke
N/A
N/A
CO2 (ppm)


Pagerank Centrality
In graph theory, centrality is any measure that determines how structurally important a node is within a graph.
Pagerank Centrality is a measure of a node’s importance calculated by counting the number and quality of incoming
transactions. The assumption is that important nodes are more likely to receive transactions from other nodes.
Parameters
- Transaction Types -
Calculate on only the subgraph of transactions of these types
- Include Undirected -
Treat undirected connections as bidirectional connections
- Damping Factor -
The damping factor to apply at each iteration
- Iterations -
The number of iterations to run before returning a result
- Epsilon -
The change threshold at which equilibrium can be considered reached
- Normalise By Max Available Score -
Normalise calculated scores by the maximum calculated score


Getting things together...
Modal title
Modal body text goes here.
User Guide
Key
=> Predefined locations on map
=> Click for help
=> Close/Exit the application
=> Current location.
NB: May not be 100% accurate


About
I am a colombo based Tech Enthusiast and a Fullstack JavaScript Developer. I have graduated from SEUSL as a Mechanical Engineer and I focused on Software Developing and Architecture. And I want to become a great software architect
Developer | Tech Junkie | Nitpicker
I am a colombo based Tech Enthusiast and a Fullstack JavaScript Developer. I have graduated from SEUSL as a Mechanical Engineer and I focused on Software Developing and Architecture. And I want to become a great software architect
Below you can see my most favourite tools and technologies.
One of my generic quality is I do not like to stick to the same stuff. I want to pack up new things and new experiments instead of moaning there is nothing new under the sun. So I am the guy who tend ants in my pants and cause a stir. That is why I choose a software development path for my career and I am walking through the path happily. Due to the dynamic state of software development, technologies changes rapidly day by day. Because the fact is every day as software developers, we need to solve problems and should be better than yesterday. Hence we need to stay up to date about technologies and treat the wound at the right moment with the right resource. Above I have shown you my most favorite technologies so far and I am willing to touch any useful technology without a hesitation and get dirty my hands with them. Also I am good at grasping new things quickly and toy with them as a youg child. So hit the below button to see my entire tech skills.
I am always ready to leave my comfort zone. I am not afraid to do whatever I need to do to achieve my goals.
Despite any hard situation, I keep my focus on my goals and always move towards them.
I am a quick learner and keen to learn and improve skills. And I have ability to teach and mentor.


DOCTOR REGISTRATION
DOCTOR ID :
>
FIRST NAME:
LAST NAME:
HOUSE NUMBER:
STREET:
CITY:
DISTRICT:
DOCTOR QUALIFICATION:
GENDER:
Male
Female
E-MAIL:
MOBILE NUMBER:
DESIGNATION
DATE OF BIRTH:
DATE OF JOINING:
DEPARTMENT
ONCOLOGY
PSYCHIATRY
NEUROSCIENCES
DERMATOLOGY
MORNING TIMESLOT:
AFTERNOON TIMESLOT:
DAYS:
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
PASSWORD:


Hi {{ user.profile.first_name }}, Welcome to ModelChimp. You can get started by installing the python package and reading the docs. pip install ModelChimp Best, ModelChimp


Police seek four suspects after alleged gunpoint carjacking in Toronto
Police say they’re looking for four suspects after an alleged violent carjacking in northwest Toronto.
City police say the incident took place on Friday afternoon while a 56-year-old man was stopped at a stop sign in his Mercedes.
They allege he was rear-ended by a dark-coloured SUV, which prompted the man to get out of his own vehicle to inspect the damage.
Police allege three men came out of the SUV and held him at gunpoint, demanding car keys and cellphones.
Police say the three suspects then got into the Mercedes and drove away, followed by the SUV.
They’re urging anyone with information about the alleged incident to come forward.
Our Morning Update and Evening Update newsletters are written by Globe editors, giving you a concise summary of the day’s most important headlines. Sign up today .


DocuTube is a utility addon which finds YouTube links in the document and adds them to a popup window right in the doc when run.
Google Docs do not allow you to embed videos. Rather than jumping in and out of your document each time you click a video link, DocuTube automatically creates an embedded YouTube video in a popup using the links already in the document.
It reads any type of YouTube link including links in images.
Note that Google Drawings are not supported at this point due to limitations in Google’s code.
If you run into strange errors or weird issues, leave a comment on this page. I’ve tested as much as I can on a variety of documents, but something is sure to slip through. I’ll reply here with fixes, so be sure to subscribe.
Everything I do is as is and licensed under The MIT License
Copyright 2017 – Brian Bennett
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


:: com :: sun :: star :: deployment ::
|
| unpublished |
interface XUpdateInformationProvider |
|
|
|
- Usage Restrictions
- not published
- Description
- Objects implementing this interface provide access to the xml root of
one or more update information files for a given set of URLs.
- Since
- OOo 2.2
|
| Methods' Summary |
| getUpdateInformation |
get update information for a specific extension or all available
information from a repository.
|
| cancel |
interrupts a getUpdateInformation call and let's it return immediatly.
|
| setInteractionHandler |
Sets an interaction handler to be used for further operations.
|
| getUpdateInformationEnumeration |
get update information for a specific extension or all available
information from a repository.
|
| Methods' Details |
getUpdateInformation
| sequence< ::com::sun::star::xml::dom::XElement > |
| getUpdateInformation( |
[in] sequence< string > |
repositories, |
| [in] string |
extensionId ) |
| raises( |
::com::sun::star::uno::Exception ); |
- Description
- get update information for a specific extension or all available
information from a repository.
- Parameter repositories
- a repository and its mirrors.
- Parameter extensionId
- the unique identifier of an extension. If it is not empty and
the update document is an atom feed, only items whose 'term'
attribute of the atom:category tag matches extensionId are returned.
|
|
cancel
- Description
- interrupts a getUpdateInformation call and let's it return immediatly.
|
|
setInteractionHandler
- Description
- Sets an interaction handler to be used for further operations.
A default interaction handler is available as service
::com::sun::star::task::InteractionHandler.
The documentation of this service also contains further
information about the interaction handler concept.
- Parameter handler
- The interaction handler to be set
- See also
- ::com::sun::star::task::InteractionHandler
|
|
getUpdateInformationEnumeration
| ::com::sun::star::container::XEnumeration |
| getUpdateInformationEnumeration( |
[in] sequence< string > |
repositories, |
| [in] string |
extensionId ) |
| raises( |
::com::sun::star::uno::Exception ); |
- Description
- get update information for a specific extension or all available
information from a repository.
- Parameter repositories
- a repository and its mirrors.
- Parameter extensionId
- the unique identifier of an extension. If it is not empty and
the update document is an atom feed, only items whose 'term'
attribute of the atom:category tag matches extensionId are returned.
- Returns
- an enumeration of UpdateInformationEntry.
|
|
Top of Page
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


Find the resources you need to create with Cohort below.
Web Client
Cohort's Web Client allows you the ability to create web based experiences that can receive cued actions.
OSC Bridge
Cohort's OSC bridge allows for communication between a Cohort application and another piece of software that can send/receive OSC messages (such as QLab or Isadora).
Unity Client
The Unity Client allows you to integrate Cohort functionality within your Unity project and more easily create apps for both iOS and Android.
Cohort Server
The Cohort Server acts as the guts of the operation, allowing you to control and talk to your devices. This acts as the middle-man between your cueing source (QLab, Isadora, or our admin website) and smartphone(s). We host a server in the cloud for general use, development, and workshopping. If you take a Cohort show into production, you'll probably want to run a dedicated server in the cloud or on a show computer — contact us for help with this step.


Hi.
I'm checking the code of realtime and multigraph visualizations.
Is it very hard to create a realtime multigraph? Has anyone done that or thought about that?
By realtime multigraph I mean a multigraph visualization that auto updates like the realtime one.
I've made some search but don't seem to find anything related.
Cheers.
Re: Multigraph with realtime updates
Hi.
I managed to make some changes in the javascript so it updates like the realtime graph.
I haven't take to long correcting some bugs that I know now exist with the zoom in/out and forward/back buttons as I normally don't use them (I thought of removing this buttons but they can still be usefull).
If someone think the code is useful I can publish it, but anyone with basic javascript knowledge can do it.
Cheers.
Re: Multigraph with realtime updates
I would be interested to see how it's done, It would be a really good feature for emoncms to have, perhaps it could find it's way into the source code.
Paul
Re: Multigraph with realtime updates
Hi.
My changes to the file emoncms\Modules\vis\visualisations\multigraph\multigraph.js
can be downloaded from:
https://vieirasoft.net/multigraph.js
I'm sure the code is not very professional but it is doing the job (except for the part I refered)
Cheers.
Re: Multigraph with realtime updates
Thanks, I will need to do a side by side comparison to recognize the changes as I'm not familiar with js or the original code, so I'm not really qualified to comment on the coding. But unless there is a reason multigraphs shouldn't update in realtime hopefully someone in the know will take a look too.
Paul
Re: Multigraph with realtime updates
If necessary I can explain the changes I've made, but if I was able understand how the original code works (at least enough to make the changes), the original coder will be able to understand my changes and improve them.
About the bugs I know the code still have, I believe that what is necessary is to stop the timeout when the zoom in/out and forward/back buttons are used and start it again when the time interval buttons are pressed again, and/or maybe add a checkbox that activates/deactivates the realtime update.
With time I can do that changes, but now I'm trying to build my own CT sensor circuit to activate a relay when current is higher than a set value using scrap parts so my mind is elsewhere.
Cheers.


Common Babylonian Religious Praxis
A statistical comparisons of religious theory and practice
Introduction
The ancient city of Nippur was a vibrant and ethnically diverse polis populated by Babylonians and Non-Babylonians alike.
We set out to learn to what degree did Non-Babylonians differ from Babylonians in their religious observance. ▶
Skip Intro
Traditionally, scholars have turned to priestly and regal texts to learn about a civilization.
However, these texts can only reveal how the elite groups practiced their relgions and shed little light on the practices and beliefs of the commoners.
What information could there be that may uncover the religious participation of regular folk?
And, how much did such potential religious participation have to do with ethnicity?
▶
In order to gain access to non-elite social circles, we combined information from two types of texts:
common texts recording the transactions of middle class people;
and a religious text known today as the Babylonian Almanac, which notes for each day of the calendar year whether it is positive/lucky or not.
Our expectation was that Babylonians would proscribe to the Babylonian Almanac and would avoid doing business on negative days, while targeting positive days for their transactions.
On the other hand, the transactions of non-Babylonians would be evenly distributed on both positive and negative days. ▶
We collected 6,000 personal names from 600 texts, tagged them as either Babylonians or non-Babylonians.

Finally, we analyzed whether there was any difference in adherence to the Babylonian Almanac based on ethnicity.
We also divided the individuals into seperate groupings to determine if there were any other trends.
For instance, are there differences in practice based on the time of year of the transaction? What about over the course of time, from one king to the next?
▶
In this visualization, each individual that conducted a transaction is represeted by a .
The color of the square indicates ethnicity (Babylonian, Non-Babylonian, or Unknown).
Explore


unknown/2
[development]unknown(
-OldAction,
+NewAction)
Unifies OldAction with the current action on unknown procedures, and then sets the current action to NewAction.
[error,fail,trace,warning]
[error,fail,trace,warning]
, must be nonvar
This action determines what happens when an undefined predicate is
called, and user:unknown_predicate_handler/3
does not handle
the goal, by accessing the unknown
Prolog flag:
trace
fail
warning
error
| ?- unknown(Action, Action).
just returns Action without changing it.
Procedures that are known to be dynamic just fail when there are no clauses for them.
instantiation_error
type_error
domain_error
Undefined Predicates, ref-ere.


12/6/13 8:37 PM
| Name: | Personal site |
| Type: | Open |
| Unclassified cards: | Yes |
| Sub-groups: | Yes |
| Number of cards: | 10 |
| Number of groups: | 5 |
| Number of sorts: | 1 |
| Number of profiles: | 1 |
These results were obtained using the following criteria:
| Profiles: | designer |
| Gender: | Male and female |
| Age: | All ages |
| Clustering Method: | Single Linkage |
| Used Sub-groups: | Yes |


Grades
Documentation
The complete documentation for the Grades APIs is available here.
API Keys
You will need keys to work with the APIs.
- Application ID: Identifies your Application for analytics and quota limits.
- Campus Keys: A Token Key Moniker (TKM), Shared Secret, and Client String identifies the LearningStudio campus where your data comes from.
You can get an Application ID for your app and campus keys for our Sandbox Campus by creating an app on the PDN. Learn more here.
Supported Formats
This library only supports JSON-formatted requests.
Identifier Parameter Types
Except where specified, all parameters types are strings including identifiers like Course ID, User ID, etc.
Contents
Introduction
The Grades library facilitates working with our Grades APIs for LearningStudio. This is one of our most commonly used APIs, because customers need to retrieve or post grades from outside LearningStudio, and third parties need to send grades into LearningStudio.
This library provides a C#-specific method for each of the Grades API endpoints. Note that the library speaks in JSON, so you will provide JSON payloads to POST and PUT requests, and receive responses as JSON-formatted strings. The parameters of the method are the values that would be inserted into the endpoint, for example, /users/{userId}/courses
. The complete documentation for each method is linked in the Methods section, below.
There is one composite method that combines multiple API calls into one method, making it easier to create a custom gradebook category and related item.
Using Grades
Instantiating the Library
Setup
To begin, include the classes you'll be instantiating.
using Com.Pearson.Pdn.Learningstudio.OAuth;
using Com.Pearson.Pdn.Learningstudio.OAuth.Config;
using Com.Pearson.Pdn.Learningstudio.Grades;
using Com.Pearson.Pdn.Learningstudio.Core;
Authentication
You'll need to provide your authentication details (keys, client string, etc) so the Core library can handle authentication. The OAuthConfig
class is a generic carrier for the configuration information for all authentication methods. You'll add the information you need using the following methods.
OAuthConfig config = new OAuthConfig();
config.ApplicationId = {applicationID};
config.ApplicationName = {applicaitonName};
config.ConsumerKey = {tokenKeyMoniker};
config.ConsumerSecret = {sharedSecret};
config.ClientString = {clientString};
There are differences in what values are needed between the different OAuth methods. Generally, adding all five pieces of information is most flexible, but you can leave out the pieces you don't need. For example, if using OAuth 1 only (System to System calls), you don't need the Application Name or Client String.
The OAuthServiceFactory
object instantiates the appropriate service for the authentication method you want to use. When using core, you only need to create the Factory and pass it to the Core library.
OAuthServiceFactory oauthFactory = new OAuthServiceFactory(config);
Requests
Next, you'll instantiate the GradeService
class, which handles all the work of making an API call and provides C#-specific methods for the Grades API. When creating the object, pass the OAuth Factory as the only parameter:
GradeService gradeService = new GradeService(oauthFactory);
Before making an API call, set the service to the OAuth method you'll use. If using OAuth 2 for a user token, pass the user's username, and if using Password grant type, also send the password.
// OAuth 1
gradeService.UseOAuth1();
//OAuth 2 Assertion Grant Type
gradeService.UseOAuth2({userName});
//OAuth 2 Assertion Grant Type
gradeService.UseOAuth2({userName}, {password});
Finally, use the methods detailed below to make requests.
Results
All of the Grades methods will return a Response
object. This object has these methods:
| Property | Description |
|---|---|
string ContentType |
The type of response, either JSON or XML if it's text-based, or the MIME type of the content if binary content. |
string Content |
The text-based body of the response from the API. It is returned as a string of either JSON or XML , and is not parsed into a native object. |
sbyte[] BinaryContent |
The binary-based body of the response from the API. |
| About the API Request | |
System.Net.WebHeaderCollection Headers |
The headers used in the request. |
string Method |
The HTTP method that was used. |
System.Net.HttpStatusCode StatusCode |
The HTTP Status Code from the API request. Example:200 , 201 , 400 , etc. |
string StatusMessage |
The HTTP Status message from the API request. Example:Created or Not Found . |
string Url |
The URL that was called to make the request. |
bool Error |
Either true or false as to whether there was a problem with the API request. |
Example
using Com.Pearson.Pdn.Learningstudio.OAuth;
using Com.Pearson.Pdn.Learningstudio.OAuth.Config;
using Com.Pearson.Pdn.Learningstudio.Grades;
using Com.Pearson.Pdn.Learningstudio.Core;
using System;
namespace GradeServiceExample
{
class Program
{
static void Main(string[] args)
{
string applicationId = ""; // Identifies your Application
string applicaitonName = ""; // No spaces for best results (e.g., MyAppName)
string tokenKeyMoniker = "";
string sharedSecret = "";
string clientString = "";
string userName = "";
string userId = "";
string courseId = "";
OAuthConfig config = new OAuthConfig();
config.ApplicationId = applicationId;
config.ApplicationName = applicaitonName; // Needed only for OAuth 2 Assertion
config.ConsumerKey = tokenKeyMoniker;
config.ConsumerSecret = sharedSecret; // Needed only for OAuth 1 & OAuth 2 Assertion
config.ClientString = clientString; // Needed only for OAuth 2
OAuthServiceFactory oauthFactory = new OAuthServiceFactory(config);
GradeService gradeService = new GradeService(oauthFactory);
gradeService.UseOAuth2(userName);
Response response = null;
try
{
response = gradeService.GetCurrentGrade(userId, courseId);
}
catch (Exception ex)
{
Console.WriteLine("Exception from GetCurrentGrade: {0}", ex);
return;
}
if (response.Error)
{
int httpStatusCode = (int)response.StatusCode; // 404
string httpStatusMessage = response.StatusMessage; // Not Found
Console.WriteLine("{0}: {1}", httpStatusCode, httpStatusMessage);
}
else
{
string contentType = response.ContentType; // application/json
string contentString = response.Content; // { ... }
Console.WriteLine("{0}: {1}", contentType, contentString);
}
Console.ReadLine();
}
}
}
Available Methods
Identifier Overloads
Wherever you need to pass a user ID or a course ID, you can also use username and call number overloads. For example, either of these requests would work:
GetCurrentGrade("12345678", "987654321");
GetCurrentGrade("loginid={CLIENT_STRING}|{USERNAME}", "ccn={CALL_NUMBER}");
Gradebook Structure
A Gradebook Item is the association of a category with a unit. Normal gradebook items, those associated with course content, can only be created using the LearningStudio user interface. But you can update details such as the points possible using the APIs.
GetGradebookItems(string courseId)
- Returns all the gradebook items for a course.
- Sample Response Body in the API Documentation
GetGradebookItem(string courseId, string gradebookItemId)
- Returns a specific gradebook item in a course.
- You'll need the Gradebook Item ID, which looks like a GUID (e.g., 12ea8161-3062-4e9c-b231-364dec307687).
- Sample Request with Response Body in the API Documentation
UpdateGradebookItem(string courseId, string gradebookItemId, string gradebookItem)
- Updates the details like points possible, whether to include the item in the course grade, or whether the item is extra credit.
gradebookItem
is the JSON-formatted payload to send to the API.- On completion, there is no response body. HTTP Code 204 indicates a successful update.
- Sample Request in the API Documentation
GetCourseGradebookUserItems(string userId, string courseId)
- Returns the gradebook items from a course that the user is able to see or that the user will receive grades for. (Some courses may set up their gradebooks such that different items apply to different groups of students.)
- API Documentation
GetCourseGradebookUserItem(string userId, string courseId, string userGradebookItemId)
GetCourseGradebookUserItem(string userId, string courseId, string userGradebookItemId, bool expandGrade)
- Returns a specific gradebook item from a course for a given user.
- The User Gradebook Item ID will be a concatenated string of their user ID and a GUID (e.g., 12345678-12ea8161-3062-4e9c-b231-364dec307687)
expandGrade
is optional. Iftrue
, the response body will include the user's grade. Otherwise you'd need to retrieve their grade using theGetGrade()
method (below)- API Documentation
Custom Categories & Items
Normal gradebook items (previous section) are associated with content items in the course. Custom Gradebook Categories allow a course to grade things that don't appear in the content structure, like "attendance" or "participation." Third party software can use Custom Categories for the grades they send back to the gradebook, as well.
To create custom gradebook entries, you need to first create the Custom Category (which is essentially just a string for the category name). Then you create a Custom Item by associating the Custom Category with a Unit ID (you can get Unit IDs from the Content Structure APIs; hint: Unit IDs always start with "200..."). This association creates a gradable item where a grade can be posted.
CreateCustomGradebookCategoryAndItem(string courseId, string customCategory, string customItem)
- This is a composite method that facilitates creating a custom category and item in one request. It combines
CreateCustomGradebookCategory()
andCreateCustomGradebookItem()
. customCategory
andcustomItem
are the respective JSON-formatted payloads to send to the APIs.- The response will be a standard
Response
object. The content from both API calls is combined to a JSON object with two keys:customCategory
andcustomItem
. - Custom Categories API Documentation
- Custom Items API Documentation
GetCustomGradebookCategories(string courseId)
- Returns all the custom categories in a course.
- API Documentation
GetCustomGradebookCategory(string courseId, string customCategoryId)
- Returns the detail for a custom category.
customCategoryId
is a GUID for the category.- API Documentation
CreateCustomGradebookCategory(string courseId, string customCategory)
- Creates a custom category in the gradebook. Note that category titles must be unique, and this request will respond with an error if you try to duplicate a category title.
customCategory
is the JSON-formatted payload to send to the API.- Sample Request and Payload in the API Documentation
UpdateCustomGradebookCategory(string courseId, string customCategoryId, string customCategory)
- Update a custom category in the gradebook. You can change the title (as long as it's still unique) and change whether the category can be assigned.
customCategoryId
is a GUID for the category.customCategory
is the JSON-formatted payload to send to the API.- Sample Request and Payload in the API Documentation
DeleteCustomGradebookCategory(string courseId, string customCategoryId)
- Delete a custom category from the gradebook.
customCategoryId
is a GUID for the category.- On successful deletion, there is no response body; HTTP Status Code 204 signifies a successful deletion.
- API Documentation
GetGradebookCustomItems(string courseId, string customCategoryId)
- Returns all the custom gradebook items for a specified custom category.
customCategoryId
is a GUID for the category.- API Documentation
GetGradebookCustomItem(string courseId, string customCategoryId, string customItemId)
- Returns the detail for a custom item.
customCategoryId
is a GUID for the category.customItemId
is a GUID for the custom item.- API Documentation
CreateCustomGradebookItem(string courseId, string customCategoryId, string customItem)
- Creates a Custom Item for a Custom Category. This is the work of associating a category with a Unit to create a Gradable Item.
customCategoryId
is a GUID for the category.customItem
is the JSON-formatted payload to send to the API. The Unit ID is sent in this payload. You can get the Unit ID from the Content Structure APIs (hint, Unit IDs always start with "200").- Sample Request and Payload in the API Documentation
DeleteCustomGradebookItem(string courseId, string customCategoryId, string customItemId)
- Deletes a Custom Item from the Gradebook.
customCategoryId
is a GUID for the category.customItemId
is a GUID for the custom item.- On successful deletion, there is no response body; HTTP Status Code 204 signifies a successful deletion.
- Sample Request in the API Documentation
Individual Item Grades
Grades can be saved for Gradable Items. A Gradable Item is always tied to a content item, or to a custom category.
CreateGrade(string userId, string courseId, string gradebookItemId, string grade)
- Creates a new grade for a gradable item (grade should not already exist).
grade
is the JSON-formatted payload to send to the API.- Sample Request and Payload in the API Documentation
UpdateGrade(string userId, string courseId, string gradebookItemId, string grade)
- Updates an existing grade.
grade
is the JSON-formatted payload to send to the API.- Sample Request and Payload in the API Documentation
DeleteGrade(string userId, string courseId, string gradebookItemId)
- Deletes a grade.
- On successful deletion, there is no response body; HTTP Status Code 204 signifies a successful deletion.
- Sample Request in the API Documentation
GetGrades(string userId, string courseId)
GetGrades(string userId, string courseId, bool useSourceDomain)
- This is a composite function that returns all of a user's grades in a course.
- Only returns actual grades awarded; if a gradebook item does not have a grade for the user, there's no indication of that here.
useSourceDomain
is optional; iftrue
, any URLs in the content of grade detail (e.g., links to images hosted in LearningStudio) will be prepended with a hostname. Grades rarely need this feature.- API Documentation
GetGrade(string userId, courseId, gradebookItemId)
GetGrade(string userId, courseId, gradebookItemId, bool useSourceDomain)
- Returns the user's grade for a given Gradable Item.
useSourceDomain
is optional; iftrue
, any URLs in the content of grade detail (e.g., links to images hosted in LearningStudio) will be prepended with a hostname. Grades rarely need this feature.- API Documentation
Course Grades
These are roll-up APIs that calculate the aggregate, total grade for a course (i.e., grade to date).
GetCurrentGrade(string userId, string courseId)
- Returns a single user's grade to date in the course.
- API Documentation
GetCurrentGrades(string courseId, int offset, int limit)
GetCurrentGrades(string courseId, string studentIds)
GetCurrentGrades(string courseId, string studentIds, int offset, int limit)
- Returns the current grades to date for all users in the course.
- You can request the grades to date for specific users by sending the User IDs in the
studentIds
parameter. The IDs should be separated by commas; you must use IDs, this feature does not accept username overloads. If using pagination and not student IDs, set this toNULL
. - The API only returns up to 30 students at a time, so if there are more students, use the
offset
andlimit
parameters to paginate. - API Documentation
GetTotalPointsAvailable(string userId, string courseId)
- Returns the total points possible for the given user in the given course.
- API Documentation


Next:
Merging Pathnames
, Previous:
Pathname Components
, Up:
Pathnames
19.2.2 Interpreting Pathname Component Values
•
Strings in Component Values
:
•
Special Characters in Pathname Components
:
•
Case in Pathname Components
:
•
Local Case in Pathname Components
:
•
Common Case in Pathname Components
:
•
Special Pathname Component Values
:
•
NIL as a Component Value
:
•
->WILD as a Component Value
:
•
->UNSPECIFIC as a Component Value
:
•
Relation between component values NIL and ->UNSPECIFIC
:
•
Restrictions on Wildcard Pathnames
:
•
Restrictions on Examining Pathname Components
:
•
Restrictions on Examining a Pathname Host Component
:
•
Restrictions on Examining a Pathname Device Component
:
•
Restrictions on Examining a Pathname Directory Component
:
•
Directory Components in Non-Hierarchical File Systems
:
•
Restrictions on Examining a Pathname Name Component
:
•
Restrictions on Examining a Pathname Type Component
:
•
Restrictions on Examining a Pathname Version Component
:
•
Notes about the Pathname Version Component
:
•
Restrictions on Constructing Pathnames
:
Next:
Merging Pathnames
, Previous:
Pathname Components
, Up:
Pathnames


|
My Project
|
A chain shape is a free form sequence of line segments. The chain has two-sided collision, so you can use inside and outside collision. Therefore, you may use any winding order. Connectivity information is used to create smooth collisions. WARNING: The chain will not collide properly if there are self-intersections. More...
Public Member Functions | |
| ChainShape () | |
| Constructor for ChainShape. By default have 0 in density. More... | |
| ChainShape (Vertices vertices, bool createLoop=false) | |
| Create a new chainshape from the vertices. More... | |
| EdgeShape | GetChildEdge (int index) |
| Get a child edge. More... | |
| override bool | TestPoint (ref Transform transform, ref Vector2 point) |
| Test a point for containment in this shape. Note: This only works for convex shapes.  More... | |
| override void | ComputeAABB (out AABB aabb, ref Transform transform, int childIndex) |
| Given a transform, compute the associated axis aligned bounding box for a child shape. More... | |
| override float | ComputeSubmergedArea (ref Vector2 normal, float offset, ref Transform xf, out Vector2 sc) |
| Used for the buoyancy controller More... | |
| bool | CompareTo (ChainShape shape) |
| Compare the chain to another chain More... | |
| override Shape | Clone () |
| Clone the concrete shape More... | |
Public Attributes | |
| Vertices | Vertices |
| The vertices. These are not owned/freed by the chain Shape. More... | |
| Public Attributes inherited from tainicom.Aether.Physics2D.Collision.Shapes.Shape | |
| MassData | MassData |
| Contains the properties of the shape such as: More... | |
Protected Member Functions | |
| override void | ComputeProperties () |
| Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin, not the centroid. More... | |
| Protected Member Functions inherited from tainicom.Aether.Physics2D.Collision.Shapes.Shape | |
| Shape (float density) | |
Properties | |
| override int | ChildCount [get] |
| Vector2 | PrevVertex [get, set] |
| Establish connectivity to a vertex that precedes the first vertex. Don't call this for loops. More... | |
| Vector2 | NextVertex [get, set] |
| Establish connectivity to a vertex that follows the last vertex. Don't call this for loops. More... | |
| Properties inherited from tainicom.Aether.Physics2D.Collision.Shapes.Shape | |
| ShapeType | ShapeType [get, set] |
| Get the type of this shape. More... | |
| abstract int | ChildCount [get] |
| Get the number of child primitives. More... | |
| float | Density [get, set] |
| Gets or sets the density. Changing the density causes a recalculation of shape properties. More... | |
| float | Radius [get, set] |
| Radius of the Shape Changing the radius causes a recalculation of shape properties. More... | |
A chain shape is a free form sequence of line segments. The chain has two-sided collision, so you can use inside and outside collision. Therefore, you may use any winding order. Connectivity information is used to create smooth collisions. WARNING: The chain will not collide properly if there are self-intersections.
| tainicom.Aether.Physics2D.Collision.Shapes.ChainShape.ChainShape | ( | ) |
Constructor for ChainShape. By default have 0 in density.
| tainicom.Aether.Physics2D.Collision.Shapes.ChainShape.ChainShape | ( | Vertices | vertices, |
| bool | createLoop = false |
||
| ) |
Create a new chainshape from the vertices.
| vertices | The vertices to use. Must contain 2 or more vertices. |
| createLoop | Set to true to create a closed loop. It connects the first vertice to the last, and automatically adjusts connectivity to create smooth collisions along the chain. |
|
virtual |
Clone the concrete shape
Implements tainicom.Aether.Physics2D.Collision.Shapes.Shape.
| bool tainicom.Aether.Physics2D.Collision.Shapes.ChainShape.CompareTo | ( | ChainShape | shape | ) |
Compare the chain to another chain
| shape | The other chain |
|
virtual |
Given a transform, compute the associated axis aligned bounding box for a child shape.
| aabb | The aabb results. |
| transform | The world transform of the shape. |
| childIndex | The child shape index. |
Implements tainicom.Aether.Physics2D.Collision.Shapes.Shape.
|
protectedvirtual |
Compute the mass properties of this shape using its dimensions and density. The inertia tensor is computed about the local origin, not the centroid.
Implements tainicom.Aether.Physics2D.Collision.Shapes.Shape.
|
virtual |
Used for the buoyancy controller
Implements tainicom.Aether.Physics2D.Collision.Shapes.Shape.
| EdgeShape tainicom.Aether.Physics2D.Collision.Shapes.ChainShape.GetChildEdge | ( | int | index | ) |
Get a child edge.
| index | The index. |
|
virtual |
Cast a ray against a child shape.
| output | The ray-cast results. |
| input | The ray-cast input parameters. |
| transform | The transform to be applied to the shape. |
| childIndex | The child shape index. |
Implements tainicom.Aether.Physics2D.Collision.Shapes.Shape.
|
virtual |
Test a point for containment in this shape. Note: This only works for convex shapes.
| transform | The shape world transform. |
| point | A point in world coordinates. |
Implements tainicom.Aether.Physics2D.Collision.Shapes.Shape.
| Vertices tainicom.Aether.Physics2D.Collision.Shapes.ChainShape.Vertices |
The vertices. These are not owned/freed by the chain Shape.
|
getset |
Establish connectivity to a vertex that follows the last vertex. Don't call this for loops.
|
getset |
Establish connectivity to a vertex that precedes the first vertex. Don't call this for loops.


--- layout: docpage title: "Documentation" is_homepage: false is_sphinx_doc: true doc-parent: "The Cassandra Query Language (CQL)" doc-title: "JSON Support" doc-header-links: ' ' doc-search-path: "../search.html" extra-footer: ' ' ---
Cassandra 2.2 introduces JSON support to SELECT and INSERT statements. This support does not fundamentally alter the CQL API (for example, the schema is still enforced), it simply provides a convenient way to work with JSON documents.
With SELECT
statements, the JSON
keyword can be used to return each row as a single JSON
encoded map. The
remainder of the SELECT
statement behavior is the same.
The result map keys are the same as the column names in a normal result set. For example, a statement like SELECT JSON
a, ttl(b) FROM ...
would result in a map with keys "a"
and "ttl(b)"
. However, this is one notable exception:
for symmetry with INSERT JSON
behavior, case-sensitive column names with upper-case letters will be surrounded with
double quotes. For example, SELECT JSON myColumn FROM ...
would result in a map key "\"myColumn\""
(note the
escaped quotes).
The map values will JSON
-encoded representations (as described below) of the result set values.
With INSERT
statements, the new JSON
keyword can be used to enable inserting a JSON
encoded map as a single
row. The format of the JSON
map should generally match that returned by a SELECT JSON
statement on the same
table. In particular, case-sensitive column names should be surrounded with double quotes. For example, to insert into a
table with two columns named “myKey” and “value”, you would do the following:
INSERT INTO mytable JSON '{ "\"myKey\"": 0, "value": 0}'
By default (or if DEFAULT NULL
is explicitly used), a column omitted from the JSON
map will be set to NULL
,
meaning that any pre-existing value for that column will be removed (resulting in a tombstone being created).
Alternatively, if the DEFAULT UNSET
directive is used after the value, omitted column values will be left unset,
meaning that pre-existing values for those column will be preserved.
Where possible, Cassandra will represent and accept data types in their native JSON
representation. Cassandra will
also accept string representations matching the CQL literal format for all single-field types. For example, floats,
ints, UUIDs, and dates can be represented by CQL literal strings. However, compound types, such as collections, tuples,
and user-defined types must be represented by native JSON
collections (maps and lists) or a JSON-encoded string
representation of the collection.
The following table describes the encodings that Cassandra will accept in INSERT JSON
values (and fromJson()
arguments) as well as the format Cassandra will use when returning data for SELECT JSON
statements (and
fromJson()
):
| Type | Formats accepted | Return format | Notes |
|---|---|---|---|
ascii |
string | string | Uses JSON’s \u character escape |
bigint |
integer, string | integer | String must be valid 64 bit integer |
blob |
string | string | String should be 0x followed by an even number of hex digits |
boolean |
boolean, string | boolean | String must be “true” or “false” |
date |
string | string | Date in format YYYY-MM-DD , timezone UTC |
decimal |
integer, float, string | float | May exceed 32 or 64-bit IEEE-754 floating point precision in client-side decoder |
double |
integer, float, string | float | String must be valid integer or float |
float |
integer, float, string | float | String must be valid integer or float |
inet |
string | string | IPv4 or IPv6 address |
int |
integer, string | integer | String must be valid 32 bit integer |
list |
list, string | list | Uses JSON’s native list representation |
map |
map, string | map | Uses JSON’s native map representation |
smallint |
integer, string | integer | String must be valid 16 bit integer |
set |
list, string | list | Uses JSON’s native list representation |
text |
string | string | Uses JSON’s \u character escape |
time |
string | string | Time of day in format HH-MM-SS[.fffffffff] |
timestamp |
integer, string | string | A timestamp. Strings constant allows to input timestamps
as dates. Datestamps with format YYYY-MM-DD
HH:MM:SS.SSS are returned. |
timeuuid |
string | string | Type 1 UUID. See constant for the UUID format |
tinyint |
integer, string | integer | String must be valid 8 bit integer |
tuple |
list, string | list | Uses JSON’s native list representation |
UDT |
map, string | map | Uses JSON’s native map representation with field names as keys |
uuid |
string | string | See constant for the UUID format |
varchar |
string | string | Uses JSON’s \u character escape |
varint |
integer, string | integer | Variable length; may overflow 32 or 64 bit integers in client-side decoder |
The fromJson()
function may be used similarly to INSERT JSON
, but for a single column value. It may only be used
in the VALUES
clause of an INSERT
statement or as one of the column values in an UPDATE
, DELETE
, or
SELECT
statement. For example, it cannot be used in the selection clause of a SELECT
statement.
The toJson()
function may be used similarly to SELECT JSON
, but for a single column value. It may only be used
in the selection clause of a SELECT
statement.


archive
2017
-
Dec 27christmas party 7th edition
-
Dec 24sevies... now college graduates
-
Dec 14talking about some stuff
-
Dec 13DINER DINER DINER
-
Dec 13the tech guys
-
Dec 13aquatic addiction
-
Dec 12secret santa @ICLP
-
Dec 11the trusty 24/7 豆漿 stand
-
Dec 10an... anime convention?
-
Dec 5who wore it better!?
-
Dec 4good morning
-
Dec 3a dinner of many, many eggs
-
Nov 28stopping by the pool again
-
Nov 27thank you, humble fruit stand
-
Nov 12sunday brunch
-
Nov 10azn pi sa bing
-
Nov 10soup: taiwanese style
-
Nov 9WOW YES SO GOOD MIND-BLOWN
-
Nov 8wall-sitting x cramming for dictation
-
Nov 6studying shenanigans
-
Nov 5another family dinner
-
Nov 4our own harvard-yale reunion
-
Nov 4no peanut allergies this time!
-
Nov 42 lil snowwomen
-
Nov 3SYS the homie
-
Nov 2素食素食素食 all day every day
-
Nov 2i am banana
-
Nov 1this was pretty just OK
-
Oct 29get u some friends that can Maple
-
Oct 28先秦哲學課 get-together
-
Oct 28feeling so free
-
Oct 26all the pretty lights
-
Oct 26中正紀念堂
-
Oct 25the BEST food item consumed here, by far
-
Oct 25girls night in
-
Oct 23a lillian appears!
-
Oct 22the day we scared away potential friends
-
Oct 21in search of bok choy
-
Oct 21i shall be back many times
-
Oct 20b bo bowl bowling
-
Oct 18i'm not sure what's going on here either
-
Oct 15post-church studying in a hip lil' spot
-
Oct 10when you and your roomie are meant to be
-
Oct 2a monday night dinner party
-
Oct 1a dumpling birthday celebration
-
Sep 30the wormhole
-
Sep 27guqin lesson number 1
-
Sep 24beijing -> taipei reunion
-
Sep 23the polo cafe of hsinchu
-
Sep 23day trip to the one
-
Sep 22raohe night market
-
Sep 21visiting the once-home of the Atayal aborigines
-
Sep 20trying something new!
-
Sep 19頭城搶孤 ghost festival
-
Sep 17shida night market
-
Sep 16look we found a temple
-
Sep 16when you happen upon 火 walls and claw machines
-
Sep 16a too hot museum day
-
Sep 16extracurricular spectacular
-
Sep 15taiwanese ikea! automated soft-serve!!
-
Sep 14the weakest typhoon there ever was
-
Sep 13this is not aesthetic (but it was good)
-
Sep 12f00d
-
Sep 11gongguan in nighttime
-
Sep 11looking for boba and sim cards
-
Sep 10new friends from old places
-
Sep 8take-off


the and model stable with from Brownian for ancestral that motion distribution The which under evolution evolutionary likelihood phylogenetic state reconstruction are body data models probability rate {background \begin{document} \documentclass[pt]{minimal} \setlength{\oddsidemargin}{-pt} \usepackage{amsbsy} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb} \usepackage{mathrsfs} \usepackage{upgreek} \usepackage{wasysym} character \end{document} large value may states than trait this values continuous margin process increments random selection using {border-style have not stochastic Markov []. but heterogenous maximum methods over parameter px;} simulated such #ffffff;} each estimates evolving model, variance [], chain comparative drawn mass more size Ornstein-Uhlenbeck also can density mean number tree This branch branches fit normal posterior prior some analysis conditional constant has heavy traits trees across all biological phylogeny stability were any between distributed distributions our parameters scale set small while Figure case characters homogenous mammalian other proposal single slice use used was (Table Bayesian Criterion Information Table current early equal error finite index its model. new node rates statistical taxa testing Burst Carlo Early For Monte adaptive change fossil general hypothesis limit neutral priors processes proposals px; sampler special tails their various without zero {\mathrm {font-family .-. Eastman according along based better complexity derived deviance deviation distribution, diversification drift estimation fitting font-size generated independent into known most occasional since software squared sum symmetrical time when Stable Type _{i}^{\prime al. approach approaches been changes comparison considered criterion data. defined densities does double; empirical estimate estimated eutherian found given greater here highly historical internal jumps made method only order paper patterns presented process. ratio reconstruction, relatively resulting sample shifts should standard step studies symmetric these uniform variation volatile where $\bar (Figure Ancestral Evolutionary Our Press Results Statistical University application appropriate associated border-color border-width both cases chain, conservative dataset departures did evolve fixed focal gamma generalization high including inferred lengths many means median multi-modal neutrality nodes null numerical permits possible procedure rapid reconstructed reconstructions regression rise solid; species through useful versus volatility within {D}}$ {font-style {font-weight $\theta BPIC Biol Comparative Cooper Distributions Nat./ Purvis Rodentia, Soc \theta accruing accumulating around average being bold calculated close common complex consistent courier; covariance degree denoted differ driven em; evolution, exhibits expected function generate global goodness here, incorporating increase indicates inference inverted likely line log low mode models, offer over-fitting phylogeny, phylogeny. probabilistically proportional provide pt;} rare real results root sampling search several simple smaller stabilizing study surface tend then toward trees. typically underlying unit variates varying walk walks would yield zero-centred