Posted by {{ post.user.username }} at {{ post.date|date:'P l, F jS, Y' }}
{% if not post.nt %}
{{ post.body.html }}
{# We need to be careful about newlines here because we preserve them #}
{{ post.body.markdown }}
{% else %}
No text was supplied with this post.
{% endif %}
{% if user.is_authenticated %}
{% else %}
{#Stubbing this out for when post-login redirection is implemented#}
{#{% octicon 'reply' %} Reply#}
{% endif %}
{% include 'forum/markdown_help.html' %}
{% endblock %}


hinton(w) h = hinton(w)
hinton(w)
takes a matrix w
and plots the Hinton diagram.
h = hinton(net)
also returns the figure handle h
which can be used, for instance, to delete the
figure when it is no longer needed.
To print the figure correctly in black and white, you should call
set(h, 'InvertHardCopy', 'off')
before printing.
demhint
, hintmat
, mlphint
Copyright (c) Ian T Nabney (1996-9)


|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.izforge.izpack.event.SimpleInstallerListener
public class SimpleInstallerListener
This class implements all methods of interface InstallerListener, but do not do anything. It can be used as base class to save implementation of unneeded methods.
Additional there are some common helper methods which are used from the base class SpecHelper.
| Field Summary | |
|---|---|
protected static boolean |
doInformProgressBar
|
private AutomatedInstallData |
installdata
|
protected static java.lang.String |
LANG_FILE_NAME
The name of the XML file that specifies the panel langpack |
protected static LocaleDatabase |
langpack
The packs locale database. |
private static java.util.ArrayList<SimpleInstallerListener> |
progressBarCaller
|
private SpecHelper |
specHelper
|
| Fields inherited from interface com.izforge.izpack.event.InstallerListener |
|---|
AFTER_DIR, AFTER_FILE, AFTER_PACK, AFTER_PACKS, BEFORE_DIR, BEFORE_FILE, BEFORE_PACK, BEFORE_PACKS |
| Constructor Summary | |
|---|---|
SimpleInstallerListener()
The default constructor. |
|
SimpleInstallerListener(boolean useSpecHelper)
Constructs a simple installer listener. |
| Method Summary | |
|---|---|
void |
afterDir(java.io.File dir,
PackFile pf)
This method will be called from the unpacker after one directory was created. |
void |
afterFile(java.io.File file,
PackFile pf)
This method will be called from the unpacker after one file was installed. |
void |
afterInstallerInitialization(AutomatedInstallData data)
Called when the installer creates the listener instance, immediately after the install data is parsed. |
void |
afterPack(Pack pack,
java.lang.Integer i,
AbstractUIProgressHandler handler)
This method will be called from the unpacker after the installation of one pack was performed. |
void |
afterPacks(AutomatedInstallData idata,
AbstractUIProgressHandler handler)
This method will be called from the unpacker after the installation of all packs was performed. |
void |
beforeDir(java.io.File dir,
PackFile pf)
This method will be called from the unpacker before one directory should be created. |
void |
beforeFile(java.io.File file,
PackFile pf)
This method will be called from the unpacker before one file should be installed. |
void |
beforePack(Pack pack,
java.lang.Integer i,
AbstractUIProgressHandler handler)
This method will be called from the unpacker before the installation of one pack will be performed. |
void |
beforePacks(AutomatedInstallData idata,
java.lang.Integer npacks,
AbstractUIProgressHandler handler)
This method will be called from the unpacker before the installation of all packs will be performed. |
AutomatedInstallData |
getInstalldata()
Returns the current installdata object. |
protected java.lang.String |
getMsg(java.lang.String id)
Returns the language dependant message from the resource CustomActionsLang.xml or the common language pack for the given id. |
static int |
getProgressBarCallerCount()
Returns the count of listeners which are registered as progress bar caller. |
protected int |
getProgressBarCallerId()
Returns the progress bar caller id of this object. |
SpecHelper |
getSpecHelper()
Returns current specification helper. |
protected boolean |
informProgressBar()
Returns whether this object should inform the progress bar or not. |
boolean |
isFileListener()
Returns true if this listener would be informed at every file and directory installation, else false. |
void |
setInstalldata(AutomatedInstallData data)
Sets the installdata object. |
protected void |
setProgressBarCaller()
Sets this object as progress bar caller. |
void |
setSpecHelper(SpecHelper helper)
Sets the given specification helper to the current used helper. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static java.util.ArrayList<SimpleInstallerListener> progressBarCaller
protected static final java.lang.String LANG_FILE_NAME
protected static LocaleDatabase langpack
protected static boolean doInformProgressBar
private AutomatedInstallData installdata
private SpecHelper specHelper
| Constructor Detail |
|---|
public SimpleInstallerListener()
public SimpleInstallerListener(boolean useSpecHelper)
useSpecHelper
- | Method Detail |
|---|
public void afterFile(java.io.File file, PackFile pf) throws java.lang.Exception
InstallerListener
afterFile
in interface InstallerListener
file
- current File object of the just installed filepf
- corresponding PackFile object
java.lang.Exception
public void afterDir(java.io.File dir, PackFile pf) throws java.lang.Exception
InstallerListener
afterDir
in interface InstallerListener
dir
- current File object of the just created directorypf
- corresponding PackFile object
java.lang.Exception
public void afterPacks(AutomatedInstallData idata, AbstractUIProgressHandler handler) throws java.lang.Exception
InstallerListener
afterPacks
in interface InstallerListener
idata
- object containing the current installation datahandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public void afterPack(Pack pack, java.lang.Integer i, AbstractUIProgressHandler handler) throws java.lang.Exception
InstallerListener
afterPack
in interface InstallerListener
pack
- current pack objecti
- current pack numberhandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public void beforePacks(AutomatedInstallData idata, java.lang.Integer npacks, AbstractUIProgressHandler handler) throws java.lang.Exception
InstallerListener
beforePacks
in interface InstallerListener
idata
- object containing the current installation datanpacks
- number of packs which are defined for this installationhandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public void beforePack(Pack pack, java.lang.Integer i, AbstractUIProgressHandler handler) throws java.lang.Exception
InstallerListener
beforePack
in interface InstallerListener
pack
- current pack objecti
- current pack numberhandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public boolean isFileListener()
InstallerListener
isFileListener
in interface InstallerListener
public void beforeFile(java.io.File file, PackFile pf) throws java.lang.Exception
InstallerListener
beforeFile
in interface InstallerListener
file
- current File object of the file which should be installedpf
- corresponding PackFile object
java.lang.Exception
public void beforeDir(java.io.File dir, PackFile pf) throws java.lang.Exception
InstallerListener
beforeDir
in interface InstallerListener
dir
- current File object of the just directory which should be createdpf
- corresponding PackFile object
java.lang.Exception
public void afterInstallerInitialization(AutomatedInstallData data)
InstallerListener
afterInstallerInitialization
in interface InstallerListener
public SpecHelper getSpecHelper()
public void setSpecHelper(SpecHelper helper)
helper
- specification helper which should be usedpublic AutomatedInstallData getInstalldata()
public void setInstalldata(AutomatedInstallData data)
data
- installdata object which should be set to currentpublic static int getProgressBarCallerCount()
protected int getProgressBarCallerId()
protected void setProgressBarCaller()
protected boolean informProgressBar()
protected java.lang.String getMsg(java.lang.String id)
id
- string id for which the message should be resolved
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


public class MailSession extends Properties
The SMTP protocol provider supports the following properties, which may be set in the MailSession
object. The properties are always set as strings; the Type column describes how the string is interpreted. For
example, use
props.put("mail.smtp.port", "888");to set the
mail.smtp.port
property, which is of type int.
| Name | Type | Description |
|---|---|---|
| mail.smtp.user | String | Default user name for SMTP. |
| mail.smtp.password | String | SMTP Password for the default user name. |
| mail.smtp.host | String | The SMTP server to connect to. |
| mail.smtp.port | int | The SMTP server port to connect to, if the connect() method doesn't explicitly specify one. Defaults to 25. |
| mail.smtp.connectiontimeout | int | Socket connection timeout value in milliseconds. Default is 5000 milliseconds. |
| mail.smtp.timeout | int | Socket I/O timeout value in milliseconds. Default is 2000 milliseconds. |
| mail.smtp.from | String | Email address to use for SMTP MAIL command. This sets the envelope return address. Defaults to msg.getFrom()[0] or ConnectionManager.getLocalHost(). NOTE: mail.smtp.user was previously used for this. |
| mail.smtp.auth | boolean | If true, attempt to authenticate the user using the AUTH command. Defaults to false. |
| mail.smtp.starttls.enable | boolean |
If true, enables the use of the STARTTLS command (if supported by the server) to switch the connection
to a TLS-protected connection before issuing any login commands. Note that an appropriate trust store must configured
so that the client will trust the server's certificate. Defaults to false. |
| mail.smtp.starttls.required | boolean | If true, requires the use of the STARTTLS command. If the server doesn't support the STARTTLS command, or the command fails, the connect method will fail. Defaults to false. |
| mail.smtp.ssl.port | int | The SMTP server port to connect to when STARTTLS is enabled, if the connect() method doesn't explicitly specify one. Defaults to 587. |
| mail.smtp.ssl.socketFactory.class | String | If set, specifies the name of a class that extends the totalcross.net.ssl.SSLSocketFactory class. This class will be used to create SMTP SSL sockets. |
The POP3 protocol provider supports the following properties, which may be set in the MailSession
object. The properties are always set as strings; the Type column describes how the string is interpreted. For
example, use
props.put("mail.pop3.port", "888");to set the
mail.pop3.port
property, which is of type int.
| Name | Type | Description |
|---|---|---|
| mail.pop3.user | String | Default user name for POP3. |
| mail.pop3.host | String | The POP3 server to connect to. |
| mail.pop3.port | int | The POP3 server port to connect to, if the connect() method doesn't explicitly specify one. Defaults to 110. |
| mail.pop3.connectiontimeout | int | Socket connection timeout value in milliseconds. Default is infinite timeout. |
| mail.pop3.timeout | int | Socket I/O timeout value in milliseconds. Default is infinite timeout. |
Properties.Boolean, Properties.Double, Properties.Int, Properties.Long, Properties.Str, Properties.Value
| Modifier and Type | Field and Description |
|---|---|
static String |
POP3_CONNECTIONTIMEOUT |
static String |
POP3_HOST |
static String |
POP3_PASS |
static String |
POP3_PORT |
static String |
POP3_TIMEOUT |
static String |
POP3_USER |
static String |
SMTP_AUTH
If true, attempt to authenticate the user using the AUTH command.
|
static String |
SMTP_CONNECTIONTIMEOUT
Socket connection timeout value in milliseconds.
|
static String |
SMTP_FROM
Email address to use for SMTP MAIL command.
|
static String |
SMTP_HOST
The SMTP server to connect to.
|
static String |
SMTP_PASS
SMTP Password for the default user name.
|
static String |
SMTP_PORT
The SMTP server port to connect to, if the connect() method doesn't explicitly specify one.
|
static String |
SMTP_SSL_PORT
The SMTP server port to connect to when STARTTLS is enabled, if the connect() method doesn't explicitly specify
one.
|
static String |
SMTP_SSL_SOCKET_FACTORY_CLASS
If set, specifies the name of a class that extends the totalcross.net.ssl.SSLSocketFactory class.
|
static String |
SMTP_STARTTLS
If true, enables the use of the STARTTLS command (if supported by the server) to switch the connection to a
TLS-protected connection before issuing any login commands.
|
static String |
SMTP_STARTTLS_REQUIRED
If true, requires the use of the STARTTLS command.
|
static String |
SMTP_TIMEOUT
Socket I/O timeout value in milliseconds.
|
static String |
SMTP_USER
Default user name for SMTP.
|
MAX_PROPS
| Modifier | Constructor and Description |
|---|---|
protected |
MailSession() |
| Modifier and Type | Method and Description |
|---|---|
static MailSession |
getDefaultInstance()
Returns a static instance of MailSession, which may be initialized during the application startup.
|
static MailSession |
getInstance()
Creates a new empty MailSession.
|
Store |
getStore(String protocol)
Get a Store object that implements the specified protocol.
|
Transport |
getTransport(String protocol)
Get a Transport object that implements the specified protocol.
|
void |
load(DataStream ds)
Load properties from the given DataStream, but unlike Properties, the contents of the MailSession are not cleared
before reading from the DataStream.
|
clear, dumpKeysValues, get, getKeys, load, put, remove, save, size
public static final String SMTP_USER
public static final String SMTP_PASS
public static final String SMTP_HOST
public static final String SMTP_PORT
public static final String SMTP_CONNECTIONTIMEOUT
public static final String SMTP_TIMEOUT
public static final String SMTP_FROM
public static final String SMTP_AUTH
public static final String SMTP_STARTTLS
public static final String SMTP_STARTTLS_REQUIRED
public static final String SMTP_SSL_PORT
public static final String SMTP_SSL_SOCKET_FACTORY_CLASS
public static final String POP3_USER
public static final String POP3_HOST
public static final String POP3_PORT
public static final String POP3_CONNECTIONTIMEOUT
public static final String POP3_TIMEOUT
public static final String POP3_PASS
public static MailSession getInstance()
public static MailSession getDefaultInstance()
public Store getStore(String protocol)
protocol
- public Transport getTransport(String protocol)
protocol
- public void load(DataStream ds) throws IOException
load
in class Properties
IOException


2 Kings 12:13
Howbeit there were not made for the house of the LORD bowls of silver, snuffers, basins, trumpets, any vessels of gold, or vessels of silver, of the money that was brought into the house of the LORD:


N+1 Problem - Database Query
Oct 20, 2016
When your database slow, what will you do?
Have you heard about N+1 problems in ActiveRecord? When we make associations in ActiveRecord and call the associations like @article.comments.count, it hits the database unnecessarily more than you may wish.
This operation hit total deals number * experts number to just render each expert's name. Instead of calling database everytime when we look up the expert.first_name, we can 'preload' experts when we load deal.
Preload
This will preload all experts instance associated with the deals. I actually had to limit(3) because the data was too big so I wasn't able to trace.
Preload will actually show 'join' record. So it doesn't have to go back to database every instance. There is another way to solve this problem - eager_loading. eager_load is much popular because it allows using the 'select' statement.
Eater Load
Eager loading is actually using LEFT OUTER JOIN. In terms of performance, eger_load nad preload are pretty similar. So which one to use?
Includes
Ya know that rails is pretty smart. They knew all rails developers are wondering about which method to use, they made '.includes' method.
Includes is flexible so it can be either eager_load or preload. If you are not use '.where' at the end of the query, it will use preload otherwise it will use eager_load. This is pretty cool, huh?
Count - Customized database query
Let's say you want to show how many experts in individual expert_category.
In order to render experts number by expert_category, we will do operation like this:
In this case, unfortunately, includes or eager_load do not make the query faster. Becuase it is separate query. Although expert_category and experts are loaded(or preloaded), the count operation need to be done separately. In this case we can make hash of the each count by category_id by using 'group' method.


Photography
Designs
About
Lorem Ipsum
Eighty Days
Harry Potter
Spirits
Wall Street
Hollywood
Sweet Scoops


StanfordNLP Python Toolkit 0.3.0 (updated 2019-??-??)
— Text to annotate —
— Annotations —
parts-of-speech
universal parts-of-speech
lemmas
dependency parse
— Language —
Afrikaans
Ancient Greek
Arabic
Armenian
Basque
Bulgarian
Buryat
Catalan
Chinese (traditional)
Croatian
Czech
Danish
Dutch
English
Estonian
Finnish
French
Galician
German
Gothic
Greek
Hebrew
Hindi
Hungarian
Indonesian
Irish
Italian
Japanese
Kazakh
Korean
Kurmanji
Latin
Latvian
North Sami
Norwegian (Bokmaal)
Norwegian (Nynorsk)
Old Church Slavonic
Old French
Persian
Polish
Portuguese
Romanian
Russian
Serbian
Slovak
Slovenian
Spanish
Swedish
Turkish
Ukrainian
Upper Sorbian
Urdu
Uyghur
Vietnamese
Submit


| |
Corona Health Guide: Action Plan for {0}
|
|
Good Morning, {5}!
|
|
Here is a practical, step-by-step action plan for you to follow to return to good health. Let us know when you are back to feeling well!
|
|
|
|
| |
|
|
|
Book Your Testing Appointment on Solv Health
|
|
Solv Health is a healthcare startup that enables you to book your testing appointment yourself:
|
{3}
|
[Complete Data in Attachment]
|
Book Your Telehealth Appointment on Solv Health
|
|
Solv Health allows you to book your own telehealth appointment as well:
|
{4}
|
[Complete Data in Attachment]
|
|
Stay Updated
|
|
Keep us informed of your most recent information so we are sending you the right update every day!
|
|
|
|
|
Life in the Time of Corona
|
|
Copyright © 2020 Team Pi, All Rights Reserved.
|
|


If you have any questions please contact Mark Breese x36751.
Melissa Solis
x35167
***********
EDRM Enron Email Data Set has been produced in EML, PST and NSF format by ZL Technologies, Inc. This Data Set is licensed under a Creative Commons Attribution 3.0 United States License <http://creativecommons.org/licenses/by/3.0/us/> . To provide attribution, please cite to "ZL Technologies, Inc. (http://www.zlti.com)."
***********
California


Space Bound Rocketship
POSTED ON
Thursday, May 12, 2016
in
General
제 작 자
As we got further and further away, it [the Earth] diminished in size. Finally it shrank to the size of a marble, the most beautiful you can imagine. That beautiful, warm, living object looked so fragile, so delicate, that if you touched it with a finger it would crumble and fall apart. Seeing this has to change a man.
Failure is not an option.
You know, being a test pilot isn’t always the healthiest business in the world.
To go places and do things that have never been done before – that’s what living is all about.
Here men from the planet Earth first set foot upon the Moon. July 1969 AD. We came in peace for all mankind.


Angular UI Tree is an AngularJS UI component that can sort nested lists, provides drag & drop support and doesn’t depend on jQuery. If you are a user who uses angular-nestedSortable
, this is How to migrate From v1.x to v2.0.
The Angular UI Tree is tested with the following browsers:
For IE8 support, make sure you do the following:
Watch the Tree component in action on the demo page.
Load the css file: angular-ui-tree.min.css
in your application:
html
<link rel="stylesheet" href="bower_components/angular-ui-tree/dist/angular-ui-tree.min.css">
Load the script file: angular-ui-tree.js
or angular-ui-tree.min.js
in your application:
html

Add the sortable module as a dependency to your application module:
js
var myAppModule = angular.module('MyApp', ['ui.tree'])
Injecting ui.tree
, ui-tree-nodes
, ui-tree-node
, ui-tree-handle
to your html.
html

{{item.title}}

{{subItem.title}}

Developing Notes:
- Adding ui-tree
to your root element of the tree.
- Adding ui-tree-nodes
to the elements which contain the nodes. ng-model
is required, and it should be an array, so that the directive knows which model to bind and update.
- Adding ui-tree-node
to your node element, it always follows the ng-repeat
attribute.
- Adding ui-tree-handle
to the element used to drag the object.
- All ui-tree
, ui-tree-nodes
, ng-model
, ui-tree-node
are necessary. And they can be nested.
- If you don’t add a ui-tree-handle
for a node, the entire node can be dragged.
html

```json data = [ { “id”: 1, “title”: “No childs, and I have an empty array in my items property so I’m nestable”, “items”: [] }, { “id”: 2, “title”: “With childs”, “items”: [ { “id”: 3, “title”: “No childs, and I have DON’T have an empty array in my items property so I’m NOT nestable” } ] },
] ```
ui-tree --> Root of tree
ui-tree-nodes --> Container of nodes
ui-tree-node --> One of the node of a tree
ui-tree-handle --> Handle
ui-tree-nodes --> Container of child-nodes
ui-tree-node --> Child node
ui-tree-handle --> Handle
ui-tree-node --> Child node
ui-tree-node --> Another node
ui-tree-handle --> Handle
ui-tree
is the root scope for a tree
##### ui-tree-dir
Set the direction of the tree for nesting
- ltr
(default)
- rtl
note: The default value is configured at the ui.tree module, in the treeConfig constants
Turn on dragging and dropping of nodes.
- true
(default): allow drag and drop
- false
: turn off drag and drop
Number of levels a nodes can be nested (default 0). 0 means no limit.
Note
If you write your own $callbacks.accept method, you have to check data-max-depth
by yourself.
Number of milliseconds a click must be held to start a drag. (default 0)
If a tree is empty, there will be an empty place hoder which is used to drop node from other trees by default.
- true
(default): display an empty place holder if the tree is empty
- false
: do not display an empty place hoder

 ```
##### collapseAll() Collapse all it’s child nodes.
Expand all it’s child nodes.
$callbacks
is a very important property for angular-ui-tree
. When some special events trigger, the functions in $callbacks
are called. The callbacks can be passed through the directive.
Example:
js
myAppModule.controller('MyController', function($scope) {
$scope.treeOptions = {
accept: function(sourceNodeScope, destNodesScope, destIndex) {
return true;
},
};
});
html

{{node.title}}

##### accept(sourceNodeScope, destNodesScope, destIndex)
Check if the current dragging node can be dropped in the ui-tree-nodes
.
Parameters:
- sourceNodeScope
: The scope of source node which is dragging.
- destNodesScope
: The scope of ui-tree-nodes
which you want to drop in.
- destIndex
: The position you want to drop in.
Return
If the nodes accept the current dragging node.
- true
Allow it to drop.
- false
Not allow.
Check if the current selected node can be dragged.
Parameters:
- sourceNodeScope
: The scope of source node which is selected.
Return
If current node is draggable.
- true
Allow it to drag.
- false
Not allow.
If a node moves it’s position after dropped, the nodeDropped
callback will be called.
Parameters:
- event
: Event arguments, it’s an object.
* source
: Source object
+ nodeScope
: The scope of source node which was dragged.
+ nodesScope
: The scope of the parent nodes of source node when it began to drag.
+ index
: The position when it began to drag.
* dest
: Destination object
+ nodesScope
: The scope of ui-tree-nodes
which you just dropped in.
+ index
: The position you dropped in.
* elements
: The dragging relative elements.
+ placeholder
: The placeholder element.
+ dragging
: The dragging element.
* pos
: Position object.
The dragStart
function is called when the user starts to drag the node.
Parameters:
Same as Parameters of dropped.
The dragMove
function is called when the user moves the node.
Parameters: Same as Parameters of dropped.
The dragStop
function is called when the user stop dragging the node.
Parameters: Same as Parameters of dropped.
The beforeDrop
function is called before the dragging node is dropped.
Parameters: Same as Parameters of dropped.
ui-tree-nodes
is the container of nodes. Every ui-tree-node
should have a ui-tree-nodes
as it’s container, a ui-tree-nodes
can have multiple child nodes.
##### data-nodrop
Turn off drop of nodes.
##### data-max-depth
Number of levels a nodes can be nested (default 0). 0 means no limit. It can override the data-max-depth
in ui-tree
.
Note
If you write your own $callbacks.accept method, you have to check data-nodrop
and data-max-depth
by yourself.
Example: turn off drop.
html

{{node.title}}

##### $element (type: AngularElement)
The html element which bind with the ui-tree-nodes
scope.
The data which bind with the scope.
All it’s child nodes. The type of child node is scope of ui-tree-node
.
The scope of node which current ui-tree-nodes
belongs to.
For example:
ui-tree-nodes --> nodes 1
ui-tree-node --> node 1.1
ui-tree-nodes --> nodes 1.1
ui-tree-node --> node 1.1.1
ui-tree-node --> node 1.1.2
ui-tree-node --> node 1.2
The property $nodeScope of
nodes 1.1
is node 1.1
. The property $nodes
of nodes 1.1
is [node 1.1.1
, node 1.1.2
]
Number of levels a node can be nested. It bases on the attribute data-max-depth.
Turn off drop on nodes. It bases on the attribute data-nodrag.
##### depth() Get the depth.
Check if depth limit has reached
Check if the nodes is the parent of the target node.
Parameters:
- nodeScope
: The target node which is used to check with the current nodes.
A node of a tree. Every ui-tree-node
should have a ui-tree-nodes
as it’s container.
##### data-nodrag
Turn off drag of node.
Example: turn off drag.
html

{{node.title}}

Collapse the node.
##### $element (type: AngularElement)
The html element which bind with the ui-tree-nodes
scope.
The data which bind with the scope.
If the node is collapsed
true
: Current node is collapsed;false
: Current node is expanded.The scope of parent node.
The scope of it’s ui-tree-nodes
.
The scope of it’s parent ui-tree-nodes
.
For example:
ui-tree-nodes --> nodes 1
ui-tree-node --> node 1.1
ui-tree-nodes --> nodes 1.1
ui-tree-node --> node 1.1.1
ui-tree-node --> node 1.1.2
ui-tree-node --> node 1.2
node 1.1.1
.$parentNodeScope
is node 1.1
.node 1.1
.$childNodesScope
is nodes 1.1
.node 1.1
.$parentNodesScope
is nodes 1
.##### collapse() Collapse current node.
Expand current node.
Toggle current node.
Remove current node.
Get the depth of the node.
Get the max depth of all the child nodes. If there is no child nodes, return 0.
Check if the current node is sibling with the target node.
Parameters:
- targetNodeScope
: The target node which is used to check with the current node.
Check if the current node is a child of the target node.
Parameters:
- targetNodeScope
: The target node which is used to check with the current node.
Use the ui-tree-handle
to specify an element used to drag the object. If you don’t add a ui-tree-handle
for a node, the entire node can be dragged.
#### Prerequisites
Run the commands below in the project root directory.
$ sudo npm install -g gulp bower
$ npm install
$ bower install
To debug code and run end-to-end tests, it is often useful to have a local HTTP server. For this purpose, we have made available a local web server based on Node.js.
To start the web server, run:
$ gulp serve
To access the local server, enter the following URL into your web browser:
http://localhost:9000
By default, it serves the contents of the examples
directory.
To build angular-ui-tree, you use the following command.
$ gulp build
This will generate non-minified and minified JavaScript files in the dist
directory.
You can run the unit test using a separate task.
$ gulp test


|
| file | CO_LSS.h |
| | CANopen Layer Setting Services protocol (common).
|
| |
| file | CO_LSSmaster.h |
| | CANopen Layer Setting Service - master protocol.
|
| |
| file | CO_LSSslave.h |
| | CANopen Layer Setting Service - slave protocol.
|
| |
|
| enum | CO_LSS_cs_t {
CO_LSS_SWITCH_STATE_GLOBAL = 0x04U,
CO_LSS_SWITCH_STATE_SEL_VENDOR = 0x40U,
CO_LSS_SWITCH_STATE_SEL_PRODUCT = 0x41U,
CO_LSS_SWITCH_STATE_SEL_REV = 0x42U,
CO_LSS_SWITCH_STATE_SEL_SERIAL = 0x43U,
CO_LSS_SWITCH_STATE_SEL = 0x44U,
CO_LSS_CFG_NODE_ID = 0x11U,
CO_LSS_CFG_BIT_TIMING = 0x13U,
CO_LSS_CFG_ACTIVATE_BIT_TIMING = 0x15U,
CO_LSS_CFG_STORE = 0x17U,
CO_LSS_IDENT_SLAVE = 0x4FU,
CO_LSS_IDENT_FASTSCAN = 0x51U,
CO_LSS_INQUIRE_VENDOR = 0x5AU,
CO_LSS_INQUIRE_PRODUCT = 0x5BU,
CO_LSS_INQUIRE_REV = 0x5CU,
CO_LSS_INQUIRE_SERIAL = 0x5DU,
CO_LSS_INQUIRE_NODE_ID = 0x5EU
} |
| | LSS protocol command specifiers. More...
|
| |
| enum | CO_LSS_cfgNodeId_t { CO_LSS_CFG_NODE_ID_OK = 0x00U,
CO_LSS_CFG_NODE_ID_OUT_OF_RANGE = 0x01U,
CO_LSS_CFG_NODE_ID_MANUFACTURER = 0xFFU
} |
| | Error codes for Configure node ID protocol. More...
|
| |
| enum | CO_LSS_cfgBitTiming_t { CO_LSS_CFG_BIT_TIMING_OK = 0x00U,
CO_LSS_CFG_BIT_TIMING_OUT_OF_RANGE = 0x01U,
CO_LSS_CFG_BIT_TIMING_MANUFACTURER = 0xFFU
} |
| | Error codes for Configure bit timing parameters protocol. More...
|
| |
| enum | CO_LSS_cfgStore_t { CO_LSS_CFG_STORE_OK = 0x00U,
CO_LSS_CFG_STORE_NOT_SUPPORTED = 0x01U,
CO_LSS_CFG_STORE_FAILED = 0x02U,
CO_LSS_CFG_STORE_MANUFACTURER = 0xFFU
} |
| | Error codes for Store configuration protocol. More...
|
| |
| enum | CO_LSS_fastscan_bitcheck { CO_LSS_FASTSCAN_BIT0 = 0x00U,
CO_LSS_FASTSCAN_BIT31 = 0x1FU,
CO_LSS_FASTSCAN_CONFIRM = 0x80U
} |
| | Fastscan BitCheck. More...
|
| |
| enum | CO_LSS_fastscan_lss_sub_next { CO_LSS_FASTSCAN_VENDOR_ID = 0,
CO_LSS_FASTSCAN_PRODUCT = 1,
CO_LSS_FASTSCAN_REV = 2,
CO_LSS_FASTSCAN_SERIAL = 3
} |
| | Fastscan LSSsub, LSSnext. More...
|
| |
| enum | CO_LSS_state_t { CO_LSS_STATE_WAITING = 0,
CO_LSS_STATE_CONFIGURATION = 1
} |
| | LSS finite state automaton. More...
|
| |
| enum | CO_LSS_bitTimingTable_t {
CO_LSS_BIT_TIMING_1000 = 0,
CO_LSS_BIT_TIMING_800 = 1,
CO_LSS_BIT_TIMING_500 = 2,
CO_LSS_BIT_TIMING_250 = 3,
CO_LSS_BIT_TIMING_125 = 4,
CO_LSS_BIT_TIMING_50 = 6,
CO_LSS_BIT_TIMING_20 = 7,
CO_LSS_BIT_TIMING_10 = 8,
CO_LSS_BIT_TIMING_AUTO = 9
} |
| | Definition of table_index for /CiA301/ bit timing table. More...
|
| |
CANopen Layer Setting Services protocol (common).
LSS protocol is according to CiA DSP 305 V3.0.0.
LSS services and protocols are used to inquire or to change the settings of three parameters of the physical layer, data link layer, and application layer on a CANopen device with LSS slave capability by a CANopen device with LSS master capability via the CAN network.
The following parameters may be inquired or changed:
- Node-ID of the CANopen device
- Bit timing parameters of the physical layer (bit rate)
- LSS address compliant to the identity object (1018h)
The connection is established in one of two ways:
- addressing a node by it's 128 bit LSS address. This requires that the master already knows the node's LSS address.
- scanning the network for unknown nodes (Fastscan). Using this method, unknown devices can be found and configured one by one.
Be aware that changing the bit rate is a critical step for the network. A failure will render the network unusable!
Using this implementation, only master or slave can be included in one node at a time.
For CAN identifiers see CO_Default_CAN_ID_t
◆ CO_LSS_cs_t
LSS protocol command specifiers.
The LSS protocols are executed between the LSS master device and the LSS slave device(s) to implement the LSS services. Some LSS protocols require a sequence of CAN messages.
As identifying method only "LSS fastscan" is supported.
| Enumerator |
|---|
| CO_LSS_SWITCH_STATE_GLOBAL | Switch state global protocol.
|
| CO_LSS_SWITCH_STATE_SEL_VENDOR | Switch state selective protocol - Vendor ID.
|
| CO_LSS_SWITCH_STATE_SEL_PRODUCT | Switch state selective protocol - Product code.
|
| CO_LSS_SWITCH_STATE_SEL_REV | Switch state selective protocol - Revision number.
|
| CO_LSS_SWITCH_STATE_SEL_SERIAL | Switch state selective protocol - Serial number.
|
| CO_LSS_SWITCH_STATE_SEL | Switch state selective protocol - Slave response.
|
| CO_LSS_CFG_NODE_ID | Configure node ID protocol.
|
| CO_LSS_CFG_BIT_TIMING | Configure bit timing parameter protocol.
|
| CO_LSS_CFG_ACTIVATE_BIT_TIMING | Activate bit timing parameter protocol.
|
| CO_LSS_CFG_STORE | Store configuration protocol.
|
| CO_LSS_IDENT_SLAVE | LSS Fastscan response.
|
| CO_LSS_IDENT_FASTSCAN | LSS Fastscan protocol.
|
| CO_LSS_INQUIRE_VENDOR | Inquire identity vendor-ID protocol.
|
| CO_LSS_INQUIRE_PRODUCT | Inquire identity product-code protocol.
|
| CO_LSS_INQUIRE_REV | Inquire identity revision-number protocol.
|
| CO_LSS_INQUIRE_SERIAL | Inquire identity serial-number protocol.
|
| CO_LSS_INQUIRE_NODE_ID | Inquire node-ID protocol.
|
◆ CO_LSS_cfgNodeId_t
Error codes for Configure node ID protocol.
| Enumerator |
|---|
| CO_LSS_CFG_NODE_ID_OK | Protocol successfully completed.
|
| CO_LSS_CFG_NODE_ID_OUT_OF_RANGE | NID out of range.
|
| CO_LSS_CFG_NODE_ID_MANUFACTURER | Manufacturer specific error.
No further support
|
◆ CO_LSS_cfgBitTiming_t
Error codes for Configure bit timing parameters protocol.
| Enumerator |
|---|
| CO_LSS_CFG_BIT_TIMING_OK | Protocol successfully completed.
|
| CO_LSS_CFG_BIT_TIMING_OUT_OF_RANGE | Bit timing / Bit rate not supported.
|
| CO_LSS_CFG_BIT_TIMING_MANUFACTURER | Manufacturer specific error.
No further support
|
◆ CO_LSS_cfgStore_t
Error codes for Store configuration protocol.
| Enumerator |
|---|
| CO_LSS_CFG_STORE_OK | Protocol successfully completed.
|
| CO_LSS_CFG_STORE_NOT_SUPPORTED | Store configuration not supported.
|
| CO_LSS_CFG_STORE_FAILED | Storage media access error.
|
| CO_LSS_CFG_STORE_MANUFACTURER | Manufacturer specific error.
No further support
|
◆ CO_LSS_fastscan_bitcheck
Fastscan BitCheck.
BIT0 means all bits are checked for equality by slave.
| Enumerator |
|---|
| CO_LSS_FASTSCAN_BIT0 | Least significant bit of IDnumbners bit area to be checked.
|
| CO_LSS_FASTSCAN_BIT31 | dito
|
| CO_LSS_FASTSCAN_CONFIRM | All LSS slaves waiting for scan respond and previous scan is reset.
|
◆ CO_LSS_fastscan_lss_sub_next
Fastscan LSSsub, LSSnext.
| Enumerator |
|---|
| CO_LSS_FASTSCAN_VENDOR_ID | Vendor ID.
|
| CO_LSS_FASTSCAN_PRODUCT | Product code.
|
| CO_LSS_FASTSCAN_REV | Revision number.
|
| CO_LSS_FASTSCAN_SERIAL | Serial number.
|
◆ CO_LSS_state_t
LSS finite state automaton.
The LSS FSA shall provide the following states:
- Initial: Pseudo state, indicating the activation of the FSA.
- LSS waiting: In this state, the LSS slave device waits for requests.
- LSS configuration: In this state variables may be configured in the LSS slave.
- Final: Pseudo state, indicating the deactivation of the FSA.
| Enumerator |
|---|
| CO_LSS_STATE_WAITING | LSS FSA waiting for requests.
|
| CO_LSS_STATE_CONFIGURATION | LSS FSA waiting for configuration.
|
◆ CO_LSS_bitTimingTable_t
Definition of table_index for /CiA301/ bit timing table.
| Enumerator |
|---|
| CO_LSS_BIT_TIMING_1000 | 1000kbit/s
|
| CO_LSS_BIT_TIMING_800 | 800kbit/s
|
| CO_LSS_BIT_TIMING_500 | 500kbit/s
|
| CO_LSS_BIT_TIMING_250 | 250kbit/s
|
| CO_LSS_BIT_TIMING_125 | 125kbit/s
|
| CO_LSS_BIT_TIMING_50 | 50kbit/s
|
| CO_LSS_BIT_TIMING_20 | 20kbit/s
|
| CO_LSS_BIT_TIMING_10 | 10kbit/s
|
| CO_LSS_BIT_TIMING_AUTO | Automatic bit rate detection.
|


Recording duration: {{duration/1000|number}} s
Native sample rate: {{sampleRate/1000|number}} ksps
Estimated file size: {{duration*sampleRate*sampleSize/sampleRateDiv/(1000*1024*1024)|number}} MiB


Bio
Welcome to my site. I hope you will take some time to read through the site to get to know me a little bit better. I am a life long learner, I feel like I have wasted a day if I haven't learned something new. On the rest of the page you see how many interests and skills I have accumulated so far. I am always ready to start working on the next skill.
Education
- Embry-Riddle Aeronautical University
- Prescott, Az.
- 2004-2008
- Big Bend Community College
- Moses Lake, Wa
- 2001-2004
- King's High School
- Shoreline, Wa
- 1998-2001
Job Experience
- Skywest Airlines
- Job Title: Captain
- 2007-present
- Aeroflight
- Job Title: Captain
- 2006-2007
- Snohomish Flying Service
- Job Title: Flight Instructor
- 2005-2006
- CrossFit Loft
- Job Title: Equipment Maintenance Technician
- 2020-present
Goals
- Be retired by 50
- Start and own a contract software engineering business
- Own and race my own sailboat
Interests:
I have so many hobbies and sports. My sports range from racing sailing yachts to Olympic Weightlifting. My hobbies include building and flying radio controlled aircraft to playing boardgames.
Here is a list of my top 10 favorite wargames and boardgames:
- Warmachine
- Mage Knight
- Netrunner
- Legend of the Five Rings
- Tash Kalar
- Space Alert
- Race or the Galaxy
- Small World
- Quantum
- Battlelore


--- layout: post title: Introducing Cascalog-Contrib ---
I've had the pleasure of working with Cascalog for about ten months now, and have seen the community produce some fantastic work. A number of businesses are using Cascalog in production; I use Cascalog at Twitter every day to write MapReduce queries for the new Twitter Web Analytics product.
One thing Cascalog doesn't yet have is a community repository for generic queries and operations. To fill this gap we've created cascalog-contrib.
Cascalog-contrib will be home to any higher-level abstractions over Cascalog that the community is willing to submit. If you have an idea for a module, file a pull request on GitHub or bring it up on the mailing list for discussion.
The first cascalog-contrib modules are now live on clojars. To include them in your leiningen or cake project, add any of the following to project.clj
:
[cascalog-checkpoint "0.1.1"] [cascalog-incanter "0.1.0"] [cascalog-math "0.1.0"]
Contrib currently has three modules: cascalog.math
, cascalog.incanter
and cascalog.checkpoint
. math
and incanter
are still fairly sparse, but checkpoint
is quite interesting and battle-tested at Twitter. Read on if you're interested in the details of the checkpoint
module; otherwise, I'll see you on the mailing list!
The workflow
macro in the checkpoint module allows you to break complicated workflows out into small, checkpointed steps. If one of these steps causes a job to fail and you restart the job, the workflow macro will skip every step up to the previous point of failure. Fault-tolerant MapReduce topologies ftw!
Let's look at the workflow macro in action. The following function takes an input-path to some existing Twitter data and an output-path, and executes a tweet-processing workflow with five steps:
(defn -main [input-path output-path] (workflow ["/tmp/example-checkpoint"] step-1 ([:tmp-dirs [staging-path]] (transfer-tweets input-path staging-path)) step-2 ([:deps :last :tmp-dirs user-path] (harvest-users staging-path user-path)) step-3a ([:deps step-2 :tmp-dirs [cluster-path friend-path]] (cluster-users user-path cluster-path) (count-friends user-path friend-path)) step-3b ([:deps step-2 :tmp-dirs age-path] (examine-ages user-path age-path)) final-step ([:deps :all] (big-analysis cluster-path friend-path age-path output-path))))
Let's look at this one piece at a time. The first argument to workflow
is a vector with some path that the workflow can use to stage temporary files.
(workflow ["/tmp/example-checkpoint"] ...)
It doesn't matter what path you choose; just make sure that Hadoop has access and can write data to the folder.
Following this vector, workflow
expects pairs of the form
step-name ([:deps <optional-deps, defaults to :last>] :tmp-dirs [<optional, creates temp-dirs if supplied>] ...<body, same as inside let>...)
Steps can identify other steps as dependencies by referencing their step-names with the :deps
keyword argument.
The first step creates a temporary directory by supplying the symbol staging-path
to the :tmp-dirs
keyword argument. It then transfers tweets from the input directory into this staging directory, where they will remain available for future steps to consume.
step-1 ([:tmp-dirs [staging-path]] (transfer-tweets input-path staging-path))
Step 2 marks :last
as a dependency. :last
is the default, and marks the step as dependent only on the step directly above. A step will not execute until all of its dependencies have completed successfully.
step-2
uses staging-path
defined in step-1
and creates a new temp directory (user-path
) for its results.
If step-2
fails for any reason and you restart the workflow, the workflow macro will skip step-1
, destroy any temporary directories created in the previous run of step-2
, and start step-2
afresh.
step-2 ([:deps :last :tmp-dirs user-path] (harvest-users staging-path user-path))
The next two steps, step-3a
and step-3b
, each mark step-2
as a dependency. Once step-2
completes, step-3a
and step-3b
will run in parallel.
step-3a ([:deps step-2 :tmp-dirs [cluster-path friend-path]] (cluster-users user-path cluster-path) (count-friends user-path friend-path)) step-3b ([:deps step-2 :tmp-dirs age-path] (examine-ages user-path age-path))
The final step marks its dependencies as :all
. This signifies that the step must wait for every step defined above it to complete before running. Again, if final-step
fails and the workflow restarts, all previous successful steps will be skipped.
final-step ([:deps :all] (big-analysis cluster-path friend-path age-path output-path))
I'm quite excited about the Cascalog-contrib project and hope you all make heavy use of it as its functionality grows. In the short-term, I'm planning on hooking Cascalog in to Incanter's amazing visualization suite through the cascalog.incanter
module.


| Protagonists | |||
| No | Picture | Name | Voice Actor |
| 1 | Yukito Kunisaki | Hikaru Midorikawa | |
| 2 | Ryūya | Nobutoshi Canna Saitō Chiwa (child) |
|
| 3 | Sora | - |
| Main Characters | |||
| No | Picture | Name | Voice Actor |
| 1 | Misuzu Kamio | Tomoko Kawakami | |
| 2 | Kannabi no Mikoto | Chinami Nishimura | |
| 3 | Kano Kirishima | Asami Okamoto | |
| 4 | Minagi Tohno | Ryōka Yuzuki |
| Side Characters | |||
| No | Picture | Name | Voice Actor |
| 1 | Haruko Kamio | Aya Hisakawa | |
| 2 | Hijiri Kirishima | Yumi Tōma | |
| 3 | Michiru | Yukari Tamura | |
| 4 | Potato | Hiromi Konno | |
| 5 | Keisuke Tachibana | Shin'ichirō Miki | |
| 6 | Uraha | Kikuko Inoue |


Etherscan
Overview
This app creates a server that stands up 3 different endpoints:
/api/queryEtherscan
Makes a request to the Etherscan api with an Ethereum address as an input and stores the associated transactions and balance in mongodb.
/api/getTransactions
Returns a list of transactions that matches provided parameters on req.body. Accepted parameters include:
- minTime and maxTime: Returns transactions with dates that fall within the provided timestamp (in milliseconds).
- minGasPrice and maxGasPrice: Returns transactions with gas prices that fall within the provided range.
- from: Returns transactions originating from provided address.
- to: Returns transactions going to provided address.
- isError: Returns transactions that are Pass/Error. Input '0' for Pass, '1' for Error.
/api/getAddressBalances
Returns stored address balances by ETH address. Also includes date pulled from Etherscan as well as numTransactions.
Usage
To start the app, make sure an instance of mongodb is running, and then run:
npm start
Testing the App
To test the app, run:
npm test


SDG AI Lab and UN Volunteers hosted joint Annual Demo Day event to showcase volunteer digital solutions for Sustainable Development and SDGs
IICPSD partners with PPMI to unleash the potential of frontier technologies for SDGs acceleration
SDG AI Lab established the Advisory Board and held the first online meeting
On-site UN Volunteers and Online Volunteers join forces for digital transformation to accelerate SDG achievement
IICPSD - UNV Joint Webinar Showcased Digital Development Solutions from SDG AI Lab and UN Volunteers


J2EE applications that authenticate their clients using a username and password combination must store these credentials somewhere within the application’s realm. Some J2EE applications directly store credentials in a file or a database server while others allow browsers to store client credentials in the cache or browser’s history for future logins. During a local machine credential attack, the attacker first gets access to the computer where credentials are stored and then reads the credentials to execute further attacks on the application.
Follow these steps to test for local machine credential theft bugs in J2EE:
First it is necessary to understand the anatomy of an attack scenario for local credential theft bugs in J2EE applications.
J2EE applications that deal with authentication keep a record of valid credentials in a credential store such as a file or a database in a local computer. During local machine credential theft attacks, an attacker logs in to the computer used to store the target client’s J2EE application credentials and uses different methods to steal the credentials from the target computer. Depending on how J2EE applications implement authentication, credentials may be stored in a file or a database server. Additional credentials might be found in cache history and browser’s store.
In detail:
Next it is necessary to review the different causes and countermeasures for local credential theft bugs.
J2EE applications that store credentials in a location accessible to any low-privileged users of the host computer are vulnerable to local machine credential attacks. For instance, an application that stores credentials in the c:\user_files folder must make sure to set the appropriate permissions or Access Control Lists (ACLs) on this folder. If the application uses the credential file c:\user_files\credentials.txt and doesn’t restrict its access to administrators or a low-privileged account that used only by the J2EE application (and not any logged-in user), the application allows any logged-in attacker to read the file and steal the credentials. The same applies to a database table; a J2EE application that doesn’t set the permissions on the table used to store username and passwords allows any database server guest user to read and steal credentials from the database.
Applications that need to store credentials must take the appropriate precautions so that if attackers steal client credentials, they can’t use them to log in to the target application. Thus, it is recommended to store password verifiers in their encryption version as one-way hashes with an added cryptographic salt. As a result, if the attacker executes a successful local credential theft attack, he or she will only be able to get the password’s hash but fail to get the actual password required to log in to the target application.
J2EE applications can choose to allow their clients to remember the password for future uses. This option commonly appears as the “remember me next time” check box in the login form. To avoid credential theft attacks, developers are encouraged to disallow this option by default and always require its clients to enter valid credentials. This will avoid credentials being stored in the browser’s cache for future use.
Now that you’ve reviewed the theoretical aspects of local credential theft bugs, it is necessary to execute the following test cases to check if your application is vulnerable.
Test for insecure credential stores in file system
Follow these steps to test for insecure credentials in the file system:
Expected results: The application is vulnerable if it allows a low-privileged user to read client credentials from the file system or registry.
Follow these steps to test for local credential theft in browser’s cache.
Expected results: The application is vulnerable if the HTTP proxy shows the target client username and password in the intercepted login request.
Local machine credential theft attacks consist of logging in to the target computer (used to store credentials) and trying to recover the credentials of a legitimate user. For protection, J2EE applications that use authentication must not to store credentials with poor permissions or in clear text, as this allows for local machine credential theft attacks to be successful. To test for credential theft attacks in your J2EE application, be sure to understand well the details of this bug’s attack scenarios as well as what causes it and how to protect against it. Then execute the appropriate test cases depending on what credential store your J2EE application uses. Make sure to execute an additional test case to attempt to recover credentials in the browser’s history using a low-privileged account.


- testFinished(Description) - Method in class org.mockito.internal.runners.util.FrameworkUsageValidator
-
- TestMethodsFinder - Class in org.mockito.internal.runners.util
-
- TestMethodsFinder() - Constructor for class org.mockito.internal.runners.util.TestMethodsFinder
-
- then(T) - Static method in class org.mockito.BDDMockito
-
Bdd style verification of mock behavior.
- then(Answer<?>) - Method in class org.mockito.internal.stubbing.ConsecutiveStubbing
-
- then(Answer<?>) - Method in class org.mockito.internal.stubbing.OngoingStubbingImpl
-
- then(Answer<?>) - Method in interface org.mockito.stubbing.OngoingStubbing
-
Sets a generic Answer for the method.
- thenAnswer(Answer<?>) - Method in class org.mockito.internal.stubbing.ConsecutiveStubbing
-
- thenAnswer(Answer<?>) - Method in class org.mockito.internal.stubbing.OngoingStubbingImpl
-
- thenAnswer(Answer<?>) - Method in interface org.mockito.stubbing.OngoingStubbing
-
Sets a generic Answer for the method.
- thenCallRealMethod() - Method in class org.mockito.internal.stubbing.BaseStubbing
-
- thenCallRealMethod() - Method in interface org.mockito.stubbing.OngoingStubbing
-
Sets the real implementation to be called when the method is called on a mock object.
- thenInject() - Method in interface org.mockito.internal.configuration.injection.filter.OngoingInjecter
-
Inject the mock.
- thenReturn(T) - Method in class org.mockito.internal.stubbing.BaseStubbing
-
- thenReturn(T, T...) - Method in class org.mockito.internal.stubbing.BaseStubbing
-
- thenReturn(T) - Method in interface org.mockito.stubbing.OngoingStubbing
-
Sets a return value to be returned when the method is called.
- thenReturn(T, T...) - Method in interface org.mockito.stubbing.OngoingStubbing
-
Sets consecutive return values to be returned when the method is called.
- thenThrow(Throwable...) - Method in class org.mockito.internal.stubbing.BaseStubbing
-
- thenThrow(Class<? extends Throwable>...) - Method in class org.mockito.internal.stubbing.BaseStubbing
-
- thenThrow(Throwable...) - Method in interface org.mockito.stubbing.OngoingStubbing
-
Sets Throwable objects to be thrown when the method is called.
- thenThrow(Class<? extends Throwable>...) - Method in interface org.mockito.stubbing.OngoingStubbing
-
Sets Throwable classes to be thrown when the method is called.
- thenTry(MockInjectionStrategy) - Method in class org.mockito.internal.configuration.injection.MockInjectionStrategy
-
Enqueue next injection strategy.
- ThreadSafeMockingProgress - Class in org.mockito.internal.progress
-
- ThreadSafeMockingProgress() - Constructor for class org.mockito.internal.progress.ThreadSafeMockingProgress
-
- threwException() - Method in class org.mockito.internal.listeners.NotifiedMethodInvocationReport
-
- threwException() - Method in interface org.mockito.listeners.MethodInvocationReport
-
- ThrowsException - Class in org.mockito.internal.stubbing.answers
-
- ThrowsException(Throwable) - Constructor for class org.mockito.internal.stubbing.answers.ThrowsException
-
- ThrowsExceptionClass - Class in org.mockito.internal.stubbing.answers
-
- ThrowsExceptionClass(Class<? extends Throwable>) - Constructor for class org.mockito.internal.stubbing.answers.ThrowsExceptionClass
-
- timeout(long) - Static method in class org.mockito.Mockito
-
Allows verifying with timeout.
- Timeout - Class in org.mockito.verification
-
- Timeout(long, VerificationMode) - Constructor for class org.mockito.verification.Timeout
-
- Timer - Class in org.mockito.internal.util
-
- Timer(long) - Constructor for class org.mockito.internal.util.Timer
-
- Times - Class in org.mockito.internal.verification
-
- Times(int) - Constructor for class org.mockito.internal.verification.Times
-
- times(int) - Static method in class org.mockito.internal.verification.VerificationModeFactory
-
- times(int) - Static method in class org.mockito.Mockito
-
Allows verifying exact number of invocations.
- times(int) - Method in interface org.mockito.verification.VerificationAfterDelay
-
Verifies that there are exactly N invocations during the given period.
- times(int) - Method in interface org.mockito.verification.VerificationWithTimeout
-
Allows verifying exact number of invocations within given timeout
verify(mock, timeout(100).times(2)).someMethod("some arg");
- times(int) - Method in class org.mockito.verification.VerificationWrapper
-
- toAnswer(Answer<?>) - Method in class org.mockito.internal.stubbing.ConsecutiveStubbing
-
- toAnswer(Answer<?>) - Method in class org.mockito.internal.stubbing.OngoingStubbingImpl
-
- toAnswer(Answer<?>) - Method in class org.mockito.internal.stubbing.VoidMethodStubbableImpl
-
- toAnswer(Answer<?>) - Method in interface org.mockito.stubbing.DeprecatedOngoingStubbing
-
Set a generic Answer for the stubbed method.
- toAnswer(Answer<?>) - Method in interface org.mockito.stubbing.VoidMethodStubbable
-
Stubs a void method with generic
Answer
- toArray() - Method in class org.mockito.internal.util.collections.HashCodeAndEqualsSafeSet
-
- toArray(T[]) - Method in class org.mockito.internal.util.collections.HashCodeAndEqualsSafeSet
-
- toIterable(Enumeration<T>) - Static method in class org.mockito.internal.util.collections.Iterables
-
Converts enumeration into iterable
- tooLittleActualInvocations(Discrepancy, DescribedInvocation, Location) - Method in class org.mockito.exceptions.Reporter
-
- TooLittleActualInvocations - Error in org.mockito.exceptions.verification
-
- TooLittleActualInvocations(String) - Constructor for error org.mockito.exceptions.verification.TooLittleActualInvocations
-
- tooLittleActualInvocationsInOrder(Discrepancy, DescribedInvocation, Location) - Method in class org.mockito.exceptions.Reporter
-
- tooManyActualInvocations(int, int, DescribedInvocation, Location) - Method in class org.mockito.exceptions.Reporter
-
- TooManyActualInvocations - Error in org.mockito.exceptions.verification
-
- TooManyActualInvocations(String) - Constructor for error org.mockito.exceptions.verification.TooManyActualInvocations
-
- tooManyActualInvocationsInOrder(int, int, DescribedInvocation, Location) - Method in class org.mockito.exceptions.Reporter
-
- toReturn(T) - Method in class org.mockito.internal.stubbing.BaseStubbing
-
- toReturn() - Method in class org.mockito.internal.stubbing.VoidMethodStubbableImpl
-
- toReturn(T) - Method in interface org.mockito.stubbing.DeprecatedOngoingStubbing
-
Set a return value for the stubbed method.
- toReturn() - Method in interface org.mockito.stubbing.VoidMethodStubbable
-
Stubs void method to 'just return' (e.g.
- toString() - Method in interface org.mockito.exceptions.PrintableInvocation
-
Deprecated.
- toString() - Method in error org.mockito.exceptions.verification.ArgumentsAreDifferent
-
- toString() - Method in error org.mockito.exceptions.verification.junit.ArgumentsAreDifferent
-
- toString() - Method in error org.mockito.exceptions.verification.WantedButNotInvoked
-
- toString() - Method in class org.mockito.internal.debugging.LocationImpl
-
- toString() - Method in class org.mockito.internal.invocation.InvocationImpl
-
- toString() - Method in class org.mockito.internal.invocation.InvocationMatcher
-
- toString() - Method in class org.mockito.internal.matchers.LocalizedMatcher
-
- toString() - Method in class org.mockito.internal.progress.MockingProgressImpl
-
- toString() - Method in class org.mockito.internal.progress.ThreadSafeMockingProgress
-
- toString() - Method in class org.mockito.internal.stubbing.answers.Returns
-
- toString() - Method in class org.mockito.internal.stubbing.InvocationContainerImpl
-
- toString() - Method in class org.mockito.internal.stubbing.StubbedInvocationMatcher
-
- toString() - Method in class org.mockito.internal.util.collections.HashCodeAndEqualsMockWrapper
-
- toString() - Method in class org.mockito.internal.util.collections.HashCodeAndEqualsSafeSet
-
- toString() - Method in class org.mockito.internal.util.MockNameImpl
-
- toString() - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport.TypeVarBoundedType
-
- toString() - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport.WildCardBoundedType
-
- toString() - Method in class org.mockito.internal.verification.AtLeast
-
- toString() - Method in class org.mockito.internal.verification.Calls
-
- toString() - Method in class org.mockito.internal.verification.Times
-
- toString() - Method in interface org.mockito.invocation.DescribedInvocation
-
Describes the invocation in the human friendly way.
- toString() - Method in interface org.mockito.invocation.Location
-
- toString() - Method in interface org.mockito.mock.MockName
-
the name
- toThrow(Throwable) - Method in class org.mockito.internal.stubbing.BaseStubbing
-
- toThrow(Throwable) - Method in class org.mockito.internal.stubbing.VoidMethodStubbableImpl
-
- toThrow(Throwable) - Method in interface org.mockito.stubbing.DeprecatedOngoingStubbing
-
Set a Throwable to be thrown when the stubbed method is called.
- toThrow(Throwable) - Method in interface org.mockito.stubbing.VoidMethodStubbable
-
Stubs void method with an exception.
- tryConstructorInjection() - Method in class org.mockito.internal.configuration.injection.MockInjection.OngoingMockInjection
-
- tryPropertyOrFieldInjection() - Method in class org.mockito.internal.configuration.injection.MockInjection.OngoingMockInjection
-
- TWO_SUB_MATCHERS - Static variable in class org.mockito.internal.progress.ArgumentMatcherStorageImpl
-
- TypeBasedCandidateFilter - Class in org.mockito.internal.configuration.injection.filter
-
- TypeBasedCandidateFilter(MockCandidateFilter) - Constructor for class org.mockito.internal.configuration.injection.filter.TypeBasedCandidateFilter
-
- typeMatches(Object) - Method in interface org.mockito.internal.matchers.ContainsExtraTypeInformation
-
- typeMatches(Object) - Method in class org.mockito.internal.matchers.Equals
-
- typeMatches(Object) - Method in class org.mockito.internal.matchers.LocalizedMatcher
-
- typeToMock - Variable in class org.mockito.internal.creation.settings.CreationSettings
-
- typeVariable() - Method in class org.mockito.internal.util.reflection.GenericMetadataSupport.TypeVarBoundedType
-


{% load static %} About Jitendra I do not believe in talent because I don't have any. Home About Jitendra's Blog Learning is a Journey. It never ends. I am here because I made some choices.
I do not believe in talent because I don't have any.
Learning is a Journey. It never ends.
I am here because I made some choices.


|
cuStinger
v2
High-Performance Streaming Graph Analytics on GPUs
|
The namespace contanins all classes and methods related to the cuStinger data structure. More...
Data Structures | |
| class | BatchProperty |
| Batch Property. More... | |
| class | BatchUpdate |
| Batch update class. More... | |
| class | BitTree |
| Vectorized Bit Tree More... | |
| struct | CommandLineParam |
| class | cuStinger |
| Main cuStinger class. More... | |
| struct | cuStingerDevData |
| The structure contanins all information to use the cuStinger data structure in the device. More... | |
| class | cuStingerInit |
| cuStinger initialization class More... | |
| class | Edge |
| class | EdgeIt |
| class | MemoryManager |
The MemoryManager class provides the infrastructure to organize the set of BlockArrays More... | |
| class | Vertex |
| class | VertexIt |
| class | VertexSet |
Typedefs | |
| template<typename T > | |
| using | Container = std::vector< T > |
| Container for a set of BlockArrays of the same sime. | |
| template<degree_t BLOCK_ITEMS, degree_t BLOCKARRAY_ITEMS> | |
| using | BitTreeContainer = Container< BitTree< edge_t, BLOCK_ITEMS, BLOCKARRAY_ITEMS > > |
| template<typename... TArgs> | |
| using | TypeList = std::tuple< TArgs... > |
| using | byte_t = char |
| using | degree_t = int |
| using | vertex_t = typename xlib::TupleConcat< TypeList< VertexBasicData >, VertexTypes >::type |
| using | edge_t = typename xlib::TupleConcat< TypeList< vid_t >, EdgeTypes >::type |
Functions | |
| struct | ALIGN (16) VertexBasicData |
Variables | |
| const size_t | MIN_EDGES_PER_BLOCK = 1 |
| minimum number of edges for a block More... | |
| const size_t | EDGES_PER_BLOCKARRAY = 262144 |
| number of edges for a BlockArray More... | |
The namespace contanins all classes and methods related to the cuStinger data structure.
| const size_t custinger::MIN_EDGES_PER_BLOCK = 1 |
minimum number of edges for a block
MIN_EDGES_PER_BLOCK
must be a power of two | const size_t custinger::EDGES_PER_BLOCKARRAY = 262144 |
number of edges for a BlockArray
EDGES_PER_BLOCKARRAY
must be a power of two


Oracle
Tips
- Fortune's End is basically the only cheap offensive purge in the game, so here are some buffs worth
noting that can be purged: Aphotic Shield, Strafe, Surge, Ion Shell, Flame Guard, Empower, Overpower, Ghost Scepter,
Crimson Guard's active, and Haste/Invis/DD runes.
- Fortune's End also serves as a basic dispel when cast on allies.
Here's a list of useful things you can dispel.
tl;dr - Most silences, slows, roots, and other non-stun debuffs.
- Every enemy in the AoE of the Fortune's End projectile gets damaged, purged, and stopped upon landing.
- That includes ally-targeted Fortune's Ends. If Omniknight Repelled an enemy before you could target them, target
an ally and make them stand next to the Repelled target to purge it off.
- You can self-target Fortune's End. If an enemy is closing in on you, or you can't target an enemy, start channeling
it on yourself. Invis units can get hit by Fortune's End.
- You can be cute and pre-channel Fortune's End on a blinking or TPing ally so if they run into an enemy,
you may catch someone in the stop/purge AoE (or purge off something like a silence from your ally).
- The damage on Fortune's End does not scale the longer you channel it. This isn't Powershot. Only
the 'stop' duration scales.
- And honestly, the 'stop' aspect of Fortune's End is the least important part. The main reason you use
this spell is for the purge and the damage.
- Fortune's End is not a stun and will not break enemy channels. It just sets their MS to 0.
- Break the Fortune's End channel by casting Purifying Flames on your target. This won't work if
your target is less than 400 distance away from you since the Fortune's End projectile will land too quickly.
- You can target and channel Fortune's End on a Cycloned target. Releasing the projectile won't cancel a
Cyclone, though.
- The purge from Fortune's End can take the Fate's Edict debuff off allies and enemies.
- Don't use Fate's Edict offensively unless you're a 100% sure your team fully understands how the spell
works.
- This is core knowledge for playing Oracle: Cast Fate's Edict first on an ally before Flaming them.
They'll be immune to
hurt feelings the nuke damage, but still get the heal.
- You can also cast Glimmer Cape on allies before Flaming them to reduce the nuke damage.
- Once maxed, each full duration Flame will give ~120 HP to a hero (enemy or ally) with standard magic
resistance.
- Fate's Edict can disarm Rosh.
- Purifying Flames and Fate's Edict both work on enemy, allied, or neutral creeps. If you Fate's Edict any
lane creep, they immediately stop pathing and just stand around for some reason.
- Purifying Flames will never deal lethal damage to allied heroes or allied creeps/summons.
- You can get ninja denies on your creeps by Purifying them and then immediately going for the deny attack
to finish them off.
- You almost never want to cast Purifying Flames on an enemy unless you're absolutely sure you can purge
it or you're sure you can kill the target in the next ~5 seconds (it takes 6 seconds for the heal to
compensate the damage with standard 25% magic resistance).
- False Promise is your highest range spell. If you're trying to save someone, don't bother Edicting, or
Flaming them first, just use False Promise right off the bat.
- You can False Promise creep-hero units like Warlock's Golem or the Spirit Bear.
- The globe effect above a False Promised hero indicates the current state of damage. A green orb means
they've healed more and a fiery red orb means they've taken more damage. At least, that's what it's supposed
to mean. I think I see the red orb, like, 100% of the time even if the target looks like they ate a cheese after the
spell ends.
- A False Promised hero can never have their Blink Dagger broken.
- The only ways of cheating a False Promise death are with Dazzle's Shallow Grave or Abaddon's Borrowed
Time.
Counters
- Fortune's End is not a stun, so it won't break channels. It just sets your movespeed to 0.
- Culling Blade can kill through False Promise.


Wreckcontrol : The NEW Bugtracking System
Dashboard
Issues
Create new
Search
My Account
Change Password
Contact


This post mentions some of the issues we faced while implementing XMPP chat with ejabberd server and solutions for it. Our’s is a rails app that uses ejabberd as chat server.
1) User registration from our app -
Our requirement is that when a new user signs up to our app, a new ejabberd account needs to be creat...
Continue reading


I´m a student with focus on bussiness intelligence, front-end development and digital comunication. My goal is to apply the design and the technology in problem solving and objective fullfilment. I have excellent comunication and teamwork skills, also a great leader and I have an optimal time organization.
I have experience in Web developing and teamwork with agile methodologies.
I´m skillfull in this area and I have knowledge in some Adobe programs such as Illustrator, Photoshop and InDesign.
Design thinking and knowledge of research methodologies and information synthesis all applied to a creative study.
Combining both degrees I consider I have a great ability in the design of templates and images for an app or webpage.
Innovative and creative in my ideas and jobs, making use of information and design technologies as a tool.
I have great abilities on digital and analog illustration, applying the color theory for designing logos, banners, storyboards, concepts and stuff.
Click the button bellow and leave a like!


‘That’s crazy’: Klopp’s Liverpool surges ahead
by ROB HARRISLIVERPOOL, England (AP) - Even Jürgen Klopp cannot quite believe Liverpool’s lead over Manchester City this early in the season.
“That’s crazy, nine points,” the Liverpool manager said. “You cannot imagine that something like this can happen.”
It’s very real after Liverpool beat City 3-1 on Sunday thanks to goals from Fabinho, Mohamed Salah and Sadio Mane at Anfield.
“Other people 100% said already that from now on Liverpool can only lose it,” Klopp said. “Well that’s a very negative approach, but you can see it like this. We don’t care.”
Only 12 games have been played, with another 26 to go in the pursuit of a first title since 1990 for the 18-time English champions.
Klopp is not getting carried away despite Liverpool’s top spot.
“But it’s not important because who wants to be first in early November,” Klopp said. “You want to be first in May.”
For the past two seasons that position has been held by City. Now the two-time defending champions head into the international break down in fourth place.
The side immediately above them is not so unexpected, even if Chelsea’s ability to reinforce the squad was hampered by a transfer ban. But it’s the presence of Leicester in second place, reviving memories of its incredible 5,000-1 shot title win in 2016, that is shaking up the league.
It leaves the record 20-time champions far from sight of the Champions League places, even after Manchester United beat Brighton 3-1 on Sunday.
United is nine points adrift of neighbor City in seventh place. Wolverhampton is only behind United on goal difference after beating Aston Villa 2-1 in a central England derby on Sunday.
More AP soccer: https://apnews.com/Soccer and https://twitter.com/AP_Sports
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


This page would contain the editor for a blog post.
The publishing date of the initialized blog post is January 1, 2018


USD/CAD Technical Analysis: Bulls await a move beyond multi-month descending trend-line resistance
by Haresh Menghani- USD/CAD gains some follow-through traction for the second straight session.
- Some persistent buying has the potential to lift the pair towards mid-1.3300s.
The USD/CAD pair gained some follow-through traction on Monday and built on the previous session's late rebound from the vicinity of mid-1.3200s.
The uptick lifted the pair back above the 1.3300 handle, closer to multi-week tops and a resistance marked by 5-1/2-month-old descending trend-line.
Given that the pair on Friday showed some resilience below the very important 200-day SMA, the set-up seems tilted firmly in favour of bullish trades.
Moreover, technical indicators on the daily chart maintained their bullish bias, which further reinforces the near-term constructive outlook for the major.
Hence, a sustained move beyond the mentioned trend-line resistance will set the stage for a move towards October swing highs near mid-1.3300s.
On the flip side, any meaningful pullback might continue to attract some dip-buying near 200-DMA, which if broken decisively might negate the positive outlook.
Sustained weakness below the mentioned support now seems to accelerate the slide towards the 1.3200 handle before the pair eventually drops to the 1.3160-50 region.
USD/CAD daily chart
USD/CAD
| Overview | |
|---|---|
| Today last price | 1.3314 |
| Today Daily Change | 0.0022 |
| Today Daily Change % | 0.17 |
| Today daily open | 1.3292 |
| Trends | |
|---|---|
| Daily SMA20 | 1.3203 |
| Daily SMA50 | 1.3216 |
| Daily SMA100 | 1.321 |
| Daily SMA200 | 1.3277 |
| Levels | |
|---|---|
| Previous Daily High | 1.33 |
| Previous Daily Low | 1.3254 |
| Previous Weekly High | 1.3328 |
| Previous Weekly Low | 1.3156 |
| Previous Monthly High | 1.3349 |
| Previous Monthly Low | 1.3042 |
| Daily Fibonacci 38.2% | 1.3283 |
| Daily Fibonacci 61.8% | 1.3272 |
| Daily Pivot Point S1 | 1.3264 |
| Daily Pivot Point S2 | 1.3237 |
| Daily Pivot Point S3 | 1.3219 |
| Daily Pivot Point R1 | 1.331 |
| Daily Pivot Point R2 | 1.3328 |
| Daily Pivot Point R3 | 1.3355 |


{% extends "govuk_template.html" %}
{% block page_title %}DWP User Experience Work{% endblock %}
{% set global_header_text = "DWP User Experience Work" %}
{% set homepage_url = "/" %}
{% block head %}
{% include "includes/head.html" %}
{% endblock %}


Signed Documents
{{signed|intcomma}}
{% compute_percentage signed unsigned%}% of overall documents
Unsigned Documents
{{unsigned|intcomma}}
{% compute_percentage unsigned signed %}% of overall documents
Approved Documents
{{approved|intcomma}}
{% compute_percentage approved denied pending uncategorized%}% of overall documents
Denied Documents
{{denied|intcomma}}
{% compute_percentage denied approved pending uncategorized%}% of overall documents
Pending Documents
{{pending|intcomma}}
{% compute_percentage pending denied approved uncategorized%}% of overall documents
Uncategorized Documents
{{uncategorized|intcomma}}
{% compute_percentage uncategorized pending denied approved %}% of overall documents
Announcements
{% for a in announcement_display %}
{% endfor %}
{{a.title}}
{{a.author.f_name}} {{a.author.l_name}}
{{a.subject}}
{{a.content}}


To Change Your Image, visit gravatar.com
{{controller.userDevice.octoblu.firstName + ' ' + controller.userDevice.octoblu.lastName }}
email: {{controller.userDevice.octoblu.email}}
UUID: {{controller.userDevice.uuid}}
To obtain a token, you must click
Generate Token
and it will be displayed one time only.
Your token gives you full access to your account and connected devices, be sure to keep it secret.


Hello! :)
It takes two steps to set up your shop: store the private key savely and customize your shop's configuration.
Copy the text from the box below and store it somewhere safe, e.g. in an encrypted ZIP file. If somebody gets this text (your private key), this person has access to your shop and all the orders.
Don't share, store safely.
name
and address
logo
if you like (if not, remove the line)live: true
once you tested everything and you're ready for your first customers
id
and publicKey
)nimiq-popup-shop-configuration.js
and put it the root of your shop. Note: if you want to put it in another place, make sure to add
config="[file location]"
to <nimiq-shop>
.


The Quadratic Formula
Inline formula
This is an example of a formula,
placed inline in the middle of a block of text.


'Disrespectful, ungrateful' – Bale slammed by Spanish press over 'Wales, golf, Madrid' banner
The player’s perception in Madrid has now fallen to all-time low.
by The42 TeamGARETH BALE’S POPULARITY in Spain appears to have sunk to an all-time low as he heads back to Real Madrid following international duty.
Not sighted in La Liga for well over a month, the winger made his second Wales start in four days as Ryan Giggs’ men secured Euro 2020 qualification with a 2-0 win over Hungary on Tuesday.
Bale’s timely return to fitness prompted suspicion in the Madrid press, and his actions after the game have attracted more scorn from a media that has routinely criticised him for spending too much time on the golf course.
In Cardiff, he was pictured celebrating with Wales team-mates behind a banner that read: “WALES. GOLF. MADRID… IN THAT ORDER”.
The banner is a reference to comments made by former Real Madrid player Pedja Mijatovic, who criticised Bale’s supposed priorities in his professional life.
Madrid newspaper Marca, said to have close links to the Real, did not take kindly to what has been perceived as a mocking gesture.
The front page of its Thursday edition featured Bale and the headline: “DISRESPECTFUL. WRONG. UNGRATEFUL. IN THAT ORDER”.
AS, also headquartered in the Spanish capital, depicted the four-time Champions League winner sinking a close-range putt alongside the headline: “BALE IS IN A HOLE”.
Meanwhile, online newspaper El Espanol captured the order of priorities supporters expect – “MADRID. MADRID. MADRID. IN THAT ORDER” – while columnist Tomas Roncero summed up what appears to lay ahead.
His comment piece in AS included a simple, ominous quote for Bale’s future: “Out, out, out.”
In an interview with The Athletic, ex-Madrid president Ramon Calderon called Bale “childish” and claimed fans were “very angry” with the one-time €100 million signing.


com.zello.channel.sdk
/
OutgoingVoiceStreamError
/
DEVICE_PROBLEM
DEVICE_PROBLEM
DEVICE_PROBLEM
An error occurred in the audio layer


For packs, you can only change one
setting, which is the name of the pack. If you have made a mistake and wnat to
delete this pack, use the icon.
The
and
icons allow you to navigate to the previous and next pack in the course.
A pack has a number of cards. Use the
icon to start adding cards to your packs.
This pack has no cards. You will have to add some cards using the Content tab
before you can change settings.
This pack has no cards. You will have to add some cards using the Content tab
before you can change settings.
This pack has no cards. You will have to add some cards using the Content tab
before you can change settings.
This pack has no cards. You will have to add some cards using the Content tab
before you can change settings.
For packs, there is only one
setting to change, which is the name of the pack. With the in the corner, you can delete this pack.
and
will navigate to the previous and next pack of the course.
From here you can browse to the cards in your pack by clicking on the card
names. You can also add new cards by clicking
on the
icon. Rememberators will introduce new cards in the order they find them in the packs.
You can rearrange the card order by dragging and dropping the most important packs to the
top of the list.
You can change the settings of all your cards on this tab. You can configure the languages
used for reading out loud and speech recognition. You can choose how your answers are
going to be checked and also configure
a start date from when on the card will be practiced and a due date at which you want
to be sure you remember the card.
Forward Mode settings can be changed here.
If you want to use the forward mode, you can use text to speech to read
questions or answers to the student. When you select speech recognition, you will be able to use your
microphone to say your answer. Don't forget to configure the language your cards are in on the
Cards tab!
Reverse Mode settings can be changed here.
If you want to use the forward mode, you can use text to speech to read out
questions or answers. When you select speech recognition, you will be able to use your
microphone to speak the answer. Don't forget to configure what language your cards are in on the
Cards tab!
Image Mode Settings can be changed here. In addition to showing images on the front of your
cards, you can use text to speech to read the questions
and expected answers and speech recognition to use your microphone in the image mode.
You can also select to show the text in addition to the images.


SIGN IN
×
SIGN IN
Email address
Password
Remember me
Sign in
SIGN UP
×
SIGN UP
Name
Username
Email
Password
Confirm Password
Sign In


Users can save their current work using the Save/Restore Manager tool from the Tool Bar. It has a wrench icon, 2nd from the bottom. All the layers and selections can be saved to disk for later retrieval. The default is to save to your browser's LocalStorage cache, similar to a cookie, except they can be larger and don't have expiration dates. Restoring from the LocalStorage will save the current model, locally, including layers, selections, loaded data types etc., but requires to download the actual data sets from the server again. This feature does keep Imported data private. Alternatively, users can save their work to a text file on a computer. This method would allow the users to restore the work session even without an internet connection. Right now, this requires sending a copy to the server. We will fix that soon. Data is quickly deleted without looking at it.
You may name your saved sesson with the "Session Name" box. For file mode, this is only a courtesy, as you can rename the file to whatever you want. For Browser mode, you need to type in the name of the saved session to restore it. We provide a list of previously saved sessions to help you remember.


pyfos_brocade_chassis
- PyFOS module to provide REST support for Chassis objects.¶
The pyfos_brocade_chassis
provides a REST support for Chassis objects.
-
class
pyfos_brocade_chassis.
chassis
(dictvalues={})¶ This class provides information of the Chassis
Important class members:
Attribute name Description Frequently used methods chassis-user-friendly-name user friendly name of chassis set_chassis_user_friendly_name()
peek_chassis_user_friendly_name()
chassis-wwn WWN of chassis peek_chassis_wwn()
license-id License ID of chassis peek_license_id()
serial-number Serial number of chassis peek_serial_number()
manufacturer Manufacturer of chassis peek_manufacturer()
part-number Part number of chassis peek_part_number()
max-blades-supported Maximum number of blades supported by chassis peek_max_blades_supported()
vendor-serial-number Externally supplied serial number of chassis peek_vendor_serial_number()
vendor-part-number Externally supplied part number of chassis peek_vendor_part_number()
product-name Name by which chassis is generally known peek_product_name()
vendor-revision-number supplier revision number peek_vendor_revision_number()
vf-enabled VF enabled or disabled state set_vf_enabled()
peek_vf_enabled()
vf-supported VF supported or not peek_vf_supported()
Object methods
-
classmethod
get
(session)¶ Returns a
chassis
object filled with values for all the attributes obtained using the session passed in.Each object can be printed using
pyfos_util.response_print()
and individual attributes accessed through peek methods.Parameters: session – session handler returned by pyfos_auth.login()
Return type: dictionary of error or chassis
object
-
patch
(session)¶ Replace entry members. Fields involved are set within the object using attribute’s set method. This command is used to set the chassis name.
Example usage of the method to set the chassis user friendly name:
chassis_obj = pyfos_brocade_chassis.chassis() chassis_obj.set_chassis_user_friendly_name(name) chassis_obj.set_vf_enabled(true) chassis_obj.patch(session)
Parameters: session – session handler returned by pyfos_auth.login()
Return type: dictionary of error or success response
Attribute methods
-
set_chassis_user_friendly_name
(name)¶ Sets chassis user friendly name in the object.
Parameters: name – user friendly name of the chassis Return type: None or dictionary of error information
-
peek_chassis_user_friendly_name
()¶ Reads user friendly name from the object.
Return type: None or user friendly name of the chassis
-
peek_chassis_wwn
()¶ Reads chassis WWN from the object.
Return type: None or chassis WWN
-
peek_license_id
()¶ Reads License ID from the object.
Return type: None or License ID
-
peek_serial_number
()¶ Reads serial number from the object.
Return type: None or serial number of the Chassis
-
peek_manufacturer
()¶ Reads manufacturer from the object.
Return type: None or manufacturer of the Chassis
-
peek_part_number
()¶ Reads part number from the object.
Return type: None or part number of the Chassis
-
peek_max_blades_supported
()¶ Reads maximum number of blades supported from the object.
Return type: None or maximum number of blades supported
-
peek_vendor_serial_number
()¶ Reads vendor serial number from the object.
Return type: None or vendor serial number of the Chassis
-
peek_vendor_part_number
()¶ Reads vendor part number from the object.
Return type: None or vendor part number of the Chassis
-
peek_vendor_revision_number
()¶ Reads vendor revision number from the object.
Return type: None or vendor revision number of the Chassis
-
peek_product_name
()¶ Reads product name from the object.
Return type: None or product name of the Chassis
-
set_vf_enabled
(newstate)¶ Sets VF enabled state of the chassis in the object.
Parameters: newstate – VF enabled state of the chassis Return type: None or dictionary of error information
-
peek_vf_enabled
()¶ Reads VF enabled state of the chassis in the object.
Return type: None or VF enabled state of the chassis
-
peek_vf_supported
()¶ Reads VF supported state of the chassis in the object.
Return type: None or VF supported state of the chassis
-
classmethod
-
class
pyfos_brocade_chassis.
ha_status
(dictvalues={})¶ Class of Chassis
Important class members:
Attribute name Description Frequently used methods active-cp Active CP id peek_active_cp()
standby-cp Standby CP id peek_standby_cp()
active-slot Active slot number peek_active_slot()
standby-slot Standby slot number peek_standby_slot()
recovery-type Warm/Cold Recovery peek_recovery_type()
recovery-complete Recovery progress status peek_recovery_complete()
standby-health Health status of standby CP peek_standby_health()
ha-enabled HA enabled status peek_ha_enabled()
heartbeat-up Heartbeat between CP is up or down peek_heartbeat_up()
ha-synchronized HA synchronization status peek_ha_synchronized()
Object methods
-
get
(session)¶ Return
ha_status
object or a list of objects filled with attributes.
Each object can be printed using
pyfos_util.response_print()
and individual attributes accessed through peek methods.
Attribute functions
-
peek_active_cp
()¶ Reads details about Active CP from the object.
Return type: None on error and value on success
-
peek_standby_cp
()¶ Reads details about Standby CP from the object.
Return type: None on error and value on success
-
peek_active_slot
()¶ -
Reads details about Active CP from the object.
Return type: None on error and value on success
-
peek_standby_slot
()¶ -
Reads details about Active CP slot from the object.
Return type: None on error and value on success
-
peek_recovery_type
()¶ Reads recovery type cold/warm from the object.
Return type: None on error and value on success
-
peek_recovery_complete
()¶ Reads recovery completion status from the object.
Return type: None on error and value on success
-
peek_standby_health
()¶ Reads standby health status from the object.
Return type: None on error and value on success
-
peek_ha_enabled
()¶ Reads HA enabled status from the object.
Return type: None on error and value on success
-
peek_heartbeat_up
()¶ Reads heartbeat status from the object.
Return type: None on error and value on success
-
peek_ha_synchronized
()¶ Reads HA Synchronization status from the object.
Return type: None on error and value on success
-
See also
Module pyfos_auth


Please share your most interesting and favorite quote.
{{quote.quote}}published on: {{quote.completeDate|date|uppercase}}


DropDown Item Disabling
- Disabling lets users to disable the dropdown items when it is necessary.
- To disable dropdown item(s), it is required to provide the boolean valued (to indicate whether an item needs to be
disable or not) key name for disabledTrackBy attribute.
- According to following example above property is set as follows.
- [disabledTrackBy]="'disabled'" => This 'disabled' key contains boolean value which is used to control the
disable state of an item.
Suggested Links
API Doc for Dropdown Item Disabling


Hello Web1611
loading...
get
watch
stop
record
alert
beep
vibrate
showConfirm
write
read
Connecting to Device
Device is Ready


Two Unequal Columns
Risk Communications and Community Engagement Risk Communications and Community Engagement


A CmdStanGQ
object is the fitted model object returned by the
$generate_quantities()
method of a
CmdStanModel
object.
CmdStanGQ
objects have the following associated methods,
all of which have their own (linked) documentation pages.
| Method | Description |
$draws() | Return the generated quantities as a draws_array . |
$metadata() | Return a list of metadata gathered from the CmdStan CSV files. |
| Method | Description |
$summary() | Run posterior::summarise_draws() . |
| Method | Description |
$save_object() | Save fitted model object to a file. |
$save_output_files() | Save output CSV files to a specified location. |
$save_data_file() | Save JSON data file to a specified location. |
| Method | Description |
$time() | Report the total run time. |
$output() | Return the stdout and stderr of all chains or pretty print the output for a single chain. |
$return_codes() | Return the return codes from the CmdStan runs. |
The CmdStanR website (mc-stan.org/cmdstanr) for online documentation and tutorials.
The Stan and CmdStan documentation:
Stan documentation: mc-stan.org/users/documentation
CmdStan User’s Guide: mc-stan.org/docs/cmdstan-guide
Other fitted model objects:
CmdStanMCMC
,
CmdStanMLE
,
CmdStanVB
# \dontrun{ # first fit a model using MCMC mcmc_program <- write_stan_file( "data { int<lower=0> N; int<lower=0,upper=1> y[N]; } parameters { real<lower=0,upper=1> theta; } model { y ~ bernoulli(theta); }" ) mod_mcmc <- cmdstan_model(mcmc_program)#>#> - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ |data <- list(N = 10, y = c(1,1,0,0,0,1,0,1,0,0)) fit_mcmc <- mod_mcmc$sample(data = data, seed = 123, refresh = 0)#> Running MCMC with 4 sequential chains... #> #> Chain 1 finished in 0.0 seconds. #> Chain 2 finished in 0.0 seconds. #> Chain 3 finished in 0.0 seconds. #> Chain 4 finished in 0.0 seconds. #> #> All 4 chains finished successfully. #> Mean chain execution time: 0.0 seconds. #> Total execution time: 0.7 seconds.# stan program for standalone generated quantities # (could keep model block, but not necessary so removing it) gq_program <- write_stan_file( "data { int<lower=0> N; int<lower=0,upper=1> y[N]; } parameters { real<lower=0,upper=1> theta; } generated quantities { int y_rep[N] = bernoulli_rng(rep_vector(theta, N)); }" ) mod_gq <- cmdstan_model(gq_program)#>#> - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ |#> Running standalone generated quantities after 4 MCMC chains, 1 chain at a time ... #> #> Chain 1 finished in 0.0 seconds. #> Chain 2 finished in 0.0 seconds. #> Chain 3 finished in 0.0 seconds. #> Chain 4 finished in 0.0 seconds. #> #> All 4 chains finished successfully. #> Mean chain execution time: 0.0 seconds. #> Total execution time: 0.6 seconds.#> 'draws_array' int [1:1000, 1:4, 1:10] 0 0 0 0 1 0 1 0 0 0 ... #> - attr(*, "dimnames")=List of 3 #> ..$ iteration: chr [1:1000] "1" "2" "3" "4" ... #> ..$ chain : chr [1:4] "1" "2" "3" "4" #> ..$ variable : chr [1:10] "y_rep[1]" "y_rep[2]" "y_rep[3]" "y_rep[4]" ...library(posterior)#>#> # A draws_df: 1000 iterations, 4 chains, and 10 variables #> y_rep[1] y_rep[2] y_rep[3] y_rep[4] y_rep[5] y_rep[6] y_rep[7] y_rep[8] #> 1 0 0 0 0 0 0 0 0 #> 2 0 1 1 1 1 1 1 1 #> 3 0 0 0 0 0 1 1 1 #> 4 0 0 0 0 0 1 0 1 #> 5 1 1 1 1 1 0 1 0 #> 6 0 0 0 0 1 0 1 1 #> 7 1 0 0 0 1 1 1 0 #> 8 0 1 0 0 0 1 0 1 #> 9 0 1 0 1 1 1 1 1 #> 10 0 1 0 1 0 0 0 0 #> # ... with 3990 more draws, and 2 more variables #> # ... hidden reserved variables {'.chain', '.iteration', '.draw'}# }


Welcome to my first flask app! You can convert from Celsius to Fahrenheit . For more info head into /about
Convert


Desktop: Left-click + drag to rotate, scroll to zoom,
right-click + drag to pan.
Touch: One finger drag to rotate, pinch to zoom, two finger drag to pan.
Description
This is a WebGL implementation of a standard volume raycaster
which uses a single render-pass to raycast the volume. The sampling rate is dynamically
adjusted to maintain an interactive framerate across different devices (desktops, laptops, phones).
Get the code on GitHub!


class: center, middle, inverse, title-slide # ETC3250: Visualisation ## Semester 1, 2019 ###
Professor Di Cook
Econometrics and Business Statistics
Monash University ### Week 5 (a) --- class: split-30 layout: false .column[.pad10px[ ## Outline - .green[Why] ]] .column[.top50px[ .split-two[ .column[.content[ Plots provide a more detailed statistical summary.  [Anscombe's quartet](https://en.wikipedia.org/wiki/Anscombe%27s_quartet) ]] .column[.content[

 All of these sets of data have the same numerical statistical summary. .font_small[.content[

  set 	  mx 	  my 	  sx 	  sy 	  r

  1 	  9 	  7.5 	  3.32 	  2.03 	  0.82

  2 	  9 	  7.5 	  3.32 	  2.03 	  0.82

  3 	  9 	  7.5 	  3.32 	  2.03 	  0.82

  4 	  9 	  7.5 	  3.32 	  2.03 	  0.82

 ]] ]]] ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - .green[Why] ]] .column[.top50px[ .boxshadow[Why visualise? Very .orange[different data] can have the .orange[same numerical summaries].] [Datasaurus dozen](https://www.autodeskresearch.com/publications/samestats): all have the same means, standard deviations and correlation, also.  ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - .green[Why] ]] .column[.top50px[ In machine learning visualisation is used for: - .orange[initial data analysis]: to examine whether the data - satisfies assumptions required for the method - has unexpected complications like outliers or nonlinearity - .orange[assess the model fit]: - predicted vs observed - residuals - boundaries between classes ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - .green[High-dim vis] ]] .column[.top50px[ Common methods for visualising high-dimensions - Tour - Parallel coordinate plot - Scatterplot matrix - Mosaic plot Most of what you find when you google "visualising high-dimensions" is awful, e.g. use colour and symbol after 3D to show 5D; PCA, MDS, tSNE, are visualisation methods; "you can't see beyond 3D".... Rubbish! ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension ]] .column[.top50px[  - When you add another variable, you implicitly add another orthogonal axis. - The space is effectively a `\(p\)`-dimensional cube - The data might not fill the cube, and then dimension reduction might make it a `\(k(<p)\)`-dimensional cube ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand ]] .column[.top50px[ A .orange[grand tour] is by definition a movie of low-dimensional projections constructed in such a way that it comes arbitrarily close to showing all possible low-dimensional projections; in other words, a grand tour is a space-filling curve in the manifold of low-dimensional projections of high-dimensional data spaces.  ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation ]] .column[.top50px[ .split-60[ .column[ .content[ - `\({\mathbf x}_i \in \mathcal{R}^p\)`, `\(i^{th}\)` data vector - `\(d\)` projection dimension - `\(F\)` is a `\(p\times d\)` orthonormal basis, `\(F'F=I_d\)` - The projection of `\({\mathbf x}\)` onto `\(F\)` is `\({\mathbf y}_i=F'{\mathbf x}_i\)`. - Its a movie, so the tour is indexed by time, `\(F(t)\)`, where `\(t\in [a, z]\)`. Starting and target frame denoted as `\(F_a = F(a), F_z=F(t)\)`. - The animation of the projected data is given by a path `\({\mathbf y}_i(t)=F'(t){\mathbf x}_i\)`. ]] .column[ .content[  ]]] ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples ]] .column[.top50px[ `\(p=3, d=2\)`   ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples ]] .column[.top50px[ `\(p=6, d=2\)`   ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples ]] .column[.top50px[ `\(p=7, d=2\)`   ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples ]] .column[.top50px[ With the grand tour, you can get a good overall sense of the distribution (shape) of the data in its `\(p\)`-dimensional space: - in the first data set, the primary shape are .orange[three well separated clusters] - in the track data, the primary shape is that it lives in essentially a .orange[1-D] subspace, with a small amount of variation in other directions. It is also possible to see several .orange[outliers]. ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples - Guided ]] .column[.top50px[ .boxshadow[.font_small[.content[ Remember: projection pursuit `$$\mathop{\text{maximize}}_{\phi_{11},\dots,\phi_{p1}} f\left(\sum_{j=1}^p \phi_{j1}x_{ij}\right) \text{ subject to } \sum_{j=1}^p \phi^2_{j1} = 1$$` ]]] The guided tour chooses new target projections by optimising a function of interest: .font_small[ - `holes`: This is an inverse Gaussian filter, which is optimised wheren there is not much data in the center of the projection, i.e. a "hole" or donut shape in 2D. - `central mass`: The opposite of holes, high density in the centre of the projection, and often "outliers" on the edges. - `LDA`: An index based on the linear discrimination dimension reduction, optimised by projections where the named classes are most separated. ] ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples - Guided ]] .column[.top50px[ `\(p=6, d=2,\)` guidance using the LDA index   ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples - Guided - Usage ]] .column[.top50px[ To run a tour live: ```r library(tourr) # On a Mac use this graphics device # quartz() animate_xy(flea[, 1:6]) animate(flea[, 1:6], tour_path=grand_tour(), display=display_xy(axes = "bottomleft")) library(RColorBrewer) pal <- brewer.pal(3, "Dark2") col <- pal[as.numeric(flea$species)] animate_xy(flea[,-7], col=col) ``` ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples - Guided - Usage - Others ]] .column[.top50px[ - .orange[Little]: Interpolates between all possible pairs of variables. Like the scatterplot matrix, but animated between them. - .orange[Local]: Rocks back and forth from a given projection, so shows all possible projections within a radius. - .orange[Frozen]: Fixes some of the values of the orthonormal projection matrix and allows the others to vary freely according to any of the other tour methods. - .orange[Manual]: Control the contribution of a single variable, and move along this axis. This is really useful to examine the sensitivity of structure (e.g. clustering) to the contribution of a variable. Maybe the variable can be "zero'd out" and the structure would not be affected, thus simplifying the "model". This is available in the .orange[spinifex] package. ]] --- class: split-30 layout: false .column[.pad10px[ ## Outline - Why - High-dim vis - .green[Tours] - Dimension - Grand - Notation - Examples - Guided - Usage - Others - Rendering ]] .column[.top50px[ .boxshadow[ .content[ The projection dimension `\(d\)` can be 1, 2, 3, ... It is just a projection of the data, and then you need to decide how to *render* the data. ] ] - *d=1* : The projected data can be displayed as a dotplot, density, histogram, boxplot, ... - *d>2* : Use stereo (for *d=3* ) or a scatterplot matrix (or parallel coordinate plot) ]] --- layout: false # 👩💻 Made by a human with a computer ### Slides at [https://monba.dicook.org](https://monba.dicook.org). ### Code and data at [https://github.com/dicook/Business_Analytics](https://github.com/dicook/Business_Analytics).
 ### Created using [R Markdown](https://rmarkdown.rstudio.com) with flair by [**xaringan**](https://github.com/yihui/xaringan), and [**kunoichi** (female ninja) style](https://github.com/emitanaka/ninja-theme).

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


Hello this is index.html!
Default company data
name: "{{ name }}"
number of employees: "{{ number_of_employees }}"