| CONTENTS | PREV | NEXT |
The basic idea is that the supplier of the resource can create an object representing the resource, create a GuardedObject that embeds the resource object inside, and then provide the GuardedObject to the consumer. In creating the GuardedObject, the supplier also specifies a Guard object such that anyone (including the consumer) can only obtain the resource object if certain (security) checks inside the Guard are satisfied.
Guard is an interface,
so any object can choose to become a Guard. The only method in this
interface is called checkGuard
. It takes an Object
argument and it performs certain (security) checks. The Permission
class in java.security implements the Guard interface.
For example, suppose a system thread is asked to open a file /a/b/c.txt for read access, but the system thread does not know who the requestor is or under what circumstances the request is made. Therefore, the correct access control decision cannot be made at the server side. The system thread can use GuardedObject to delay the access control checking, as follows.
FileInputStream f = new FileInputStream("/a/b/c.txt"); FilePermission p = new FilePermission("/a/b/c.txt", "read"); GuardedObject g = new GuardedObject(f, p);Now the system thread can pass g to the consumer thread. For that thread to obtain the file input stream, it has to call
FileInputStream fis = (FileInputStream) g.getObject();This method in turn invokes the
checkGuard
method on the Guard object p,
and because p is a Permission, its checkGuard
method
is in fact:
SecurityManager sm = System.getSecurityManager(); if (sm != null) sm.checkPermission(this);This ensures that a proper access control check takes place within the consumer context. In fact, one can replace often-used hash tables and access control lists in many cases and simply store a hash table of GuardedObjects.
This basic pattern of GuardedObject and Guard is very general, and we expect that by extending the basic Guard and GuardedObject classes, developers can easily obtain quite powerful access control tools. For example, per-method invocation can be achieved with an appropriate Guard for each method, and a Guard can check the time of the day, the signer or other identification of the caller, or any other relevant information.
Note that certain typing information is lost because GuardedObject returns an Object. GuardedObject is intended to be used between cooperating parties so that the receiving party should know what type of object to expect (and to cast for). In fact, we envision that most usage of GuardedObject involves subclassing it (say to form a GuardedFileInputStream class), thus encapsulating typing information, and casting can happen suitably in the subclass.
The underlying signing
algorithm is set through a Signature object as a parameter to the
sign
method call, and the algorithm can be, among
others, the NIST standard DSA, using DSA and SHA-1. The algorithm
is specified using the same convention for signatures, such as
"SHA/DSA".
The signed object is a "deep copy" (in serialized form) of an original object. Once the copy is made, further manipulation of the original object has no side effect on the copy. A signed object is immutable.
A typical example of creating a signed object is the following:
Signature signingEngine = Signature.getInstance(algorithm,provider); SignedObject so = new SignedObject(myobject, signingKey, signingEngine);A typical example of verification is the following (having received SignedObject
so
), where the first line is not needed if the name of
the algorithm is known:
String algorithm = so.getAlgorithm(); Signature verificationEngine = Signature.getInstance(algorithm, provider); so.verify(verificationEngine);Potential applications of SignedObject include:
get
method will return the unique
value if there is only one signature, and will return an arbitrary
one from the set of signatures if there is more than one
signature.


Singapore fines UBS $8 mn for deceptive trades
by The Online CitizenSingapore has fined Swiss banking giant UBS Sg$11.2 million ($8 million) after investigations showed its advisors deceived clients about prices for bonds and other financial products.
The city-state’s central bank, the Monetary Authority of Singapore (MAS), said UBS had admitted liability for its advisors’ actions and paid a civil penalty.
“The conduct of UBS through its representatives is unacceptable and has no place in the financial services industry where trust and integrity are paramount,” said Ong Chong Tee, deputy managing director, financial supervision, at MAS.
Authorities took into account that UBS had agreed to compensate affected clients and cooperated fully during the investigation when they decided on the penalty, Ong said in a statement Thursday.
UBS had raised concerns about malpractice by client advisors in Hong Kong and Singapore in 2016, prompting the central bank to launch a probe.
Among problems discovered were that advisors failed to disclose — or made only partial disclosure — of price changes and overcharged clients, the bank said.
The penalty relates to transactions executed from 2014 onwards in Singapore-managed accounts, it said.
Earlier this week, Hong Kong authorities fined UBS HK$400 million ($51 million) for overcharging global customers for almost a decade.
– AFP


View Highscores
Time: 0
Coding Quiz Challenge
Try to answer the following code related questions within the time limit. Keep in mind that incorrect answers will penalize your time by ten seconds.
Start


Skew Normal¶
This model is a univariate skewed normal distribution motivated by Azzalini et al. (2003), “Graphical models for skew-normal variates” and is defined by
While PDF and CDF referring to the probability density and cumulative distribution function of a normally distributed random variable with \(skew_{high} = -4\) and \(skew_{low}=-0.1\).
-
class
cde.density_simulation.
SkewNormal
(random_seed=None)[source]¶ This model represents a univariate skewed normal distribution.
-
cdf
(X, Y)[source]¶ Conditional cumulated probability density function P(Y < y | x) of the underlying probability model
- Parameters
X – x to be conditioned on - numpy array of shape (n_points, ndim_x)
Y – y target values for witch the cdf shall be evaluated - numpy array of shape (n_points, ndim_y)
- Returns
P(Y < y | x) cumulated density values for the provided X and Y - numpy array of shape (n_points, )
-
conditional_value_at_risk
(x_cond, alpha=0.01, n_samples=1000000)¶ Computes the Conditional Value-at-Risk (CVaR) / Expected Shortfall of the fitted distribution. Only if ndim_y = 1
- Parameters
x_cond – different x values to condition on - numpy array of shape (n_values, ndim_x)
alpha – quantile percentage of the distribution
n_samples – number of samples for monte carlo model_fitting
- Returns
CVaR values for each x to condition on - numpy array of shape (n_values)
-
covariance
(x_cond, n_samples=1000000)¶ Covariance of the fitted distribution conditioned on x_cond
- Parameters
x_cond – different x values to condition on - numpy array of shape (n_values, ndim_x)
n_samples – number of samples for monte carlo model_fitting
- Returns
Covariances Cov[y|x] corresponding to x_cond - numpy array of shape (n_values, ndim_y, ndim_y)
-
get_params
(deep=True)¶ Get parameters for this estimator.
- Parameters
deep (boolean, optional) – If True, will return the parameters for this estimator and contained subobjects that are estimators.
- Returns
params – Parameter names mapped to their values.
- Return type
mapping of string to any
-
kurtosis
(x_cond, n_samples=1000000)¶ Kurtosis of the fitted distribution conditioned on x_cond
- Parameters
x_cond – different x values to condition on - numpy array of shape (n_values, ndim_x)
- Returns
Kurtosis Kurt[y|x] corresponding to x_cond - numpy array of shape (n_values, ndim_y, ndim_y)
-
log_pdf
(X, Y)¶ Conditional log-probability log p(y|x). Requires the model to be fitted.
- Parameters
X – numpy array to be conditioned on - shape: (n_samples, n_dim_x)
Y – numpy array of y targets - shape: (n_samples, n_dim_y)
- Returns
conditional log-probability log p(y|x) - numpy array of shape (n_query_samples, )
-
mean_
(x_cond, n_samples=None)[source]¶ Conditional mean of the distribution :param x_cond: different x values to condition on - numpy array of shape (n_values, ndim_x)
- Returns
Means E[y|x] corresponding to x_cond - numpy array of shape (n_values, ndim_y)
-
pdf
(X, Y)[source]¶ Conditional probability density function p(y|x) of the underlying probability model (
- Args:
X: x to be conditioned on - numpy array of shape (n_points, ndim_x) Y: y target values for witch the pdf shall be evaluated - numpy array of shape (n_points, ndim_y)
- Returns:
p(X|Y) conditional density values for the provided X and Y - numpy array of shape (n_points, )
-
plot
(xlim=(-5, 5), ylim=(-5, 5), resolution=100, mode='pdf', show=False, numpyfig=False)¶ Plots the distribution specified in mode if x and y are 1-dimensional each
- Parameters
xlim – 2-tuple specifying the x axis limits
ylim – 2-tuple specifying the y axis limits
resolution – integer specifying the resolution of plot
mode – spefify which dist to plot [“pdf”, “cdf”, “joint_pdf”]
-
plot2d
(x_cond=[0, 1, 2], ylim=(-8, 8), resolution=100, mode='pdf', show=True, prefix='', numpyfig=False)¶ Generates a 3d surface plot of the fitted conditional distribution if x and y are 1-dimensional each
- Parameters
xlim – 2-tuple specifying the x axis limits
ylim – 2-tuple specifying the y axis limits
resolution – integer specifying the resolution of plot
-
plot3d
(xlim=(-5, 5), ylim=(-8, 8), resolution=100, show=False, numpyfig=False)¶ Generates a 3d surface plot of the fitted conditional distribution if x and y are 1-dimensional each
- Parameters
xlim – 2-tuple specifying the x axis limits
ylim – 2-tuple specifying the y axis limits
resolution – integer specifying the resolution of plot
-
set_params
(**params)¶ Set the parameters of this estimator.
The method works on simple estimators as well as on nested objects (such as pipelines). The latter have parameters of the form
<component>__<parameter>
so that it’s possible to update each component of a nested object.- Returns
- Return type
self
-
simulate
(n_samples=1000)[source]¶ Draws random samples from the unconditional distribution p(x,y)
- Parameters
n_samples – (int) number of samples to be drawn from the conditional distribution
- Returns
(X,Y) - random samples drawn from p(x,y) - numpy arrays of shape (n_samples, ndim_x) and (n_samples, ndim_y)
-
simulate_conditional
(X)[source]¶ Draws random samples from the conditional distribution
- Parameters
X – x to be conditioned on when drawing a sample from y ~ p(y|x) - numpy array of shape (n_samples, ndim_x)
- Returns
Conditional random samples y drawn from p(y|x) - numpy array of shape (n_samples, ndim_y)
-
skewness
(x_cond, n_samples=1000000)¶ Skewness of the fitted distribution conditioned on x_cond
- Parameters
x_cond – different x values to condition on - numpy array of shape (n_values, ndim_x)
- Returns
Skewness Skew[y|x] corresponding to x_cond - numpy array of shape (n_values, ndim_y, ndim_y)
-
std_
(x_cond, n_samples=1000000)¶ Standard deviation of the fitted distribution conditioned on x_cond
- Parameters
x_cond – different x values to condition on - numpy array of shape (n_values, ndim_x)
- Returns
Standard deviations sqrt(Var[y|x]) corresponding to x_cond - numpy array of shape (n_values, ndim_y)
-
tail_risk_measures
(x_cond, alpha=0.01, n_samples=1000000)¶ Computes the Value-at-Risk (VaR) and Conditional Value-at-Risk (CVaR)
- Parameters
x_cond – different x values to condition on - numpy array of shape (n_values, ndim_x)
alpha – quantile percentage of the distribution
n_samples – number of samples for monte carlo model_fitting
- Returns
VaR values for each x to condition on - numpy array of shape (n_values)
CVaR values for each x to condition on - numpy array of shape (n_values)
-
value_at_risk
(x_cond, alpha=0.01, n_samples=1000000)¶ Computes the Value-at-Risk (VaR) of the fitted distribution. Only if ndim_y = 1
- Parameters
x_cond – different x values to condition on - numpy array of shape (n_values, ndim_x)
alpha – quantile percentage of the distribution
n_samples – number of samples for monte carlo model_fitting
- Returns
VaR values for each x to condition on - numpy array of shape (n_values)
-


OnePlus teases mystery new product with photo
Company is seemingly ploughing on with something new, but we hope it isn’t yet another phone
by Henry BurrellOnePlus has teased something new on its UK Twitter feed, posting the below:
At the time of writing the company has been replying to fans’ guesses in the thread of the tweet, saying it’s not a new phone. When someone asked if it was a desk, the company said, “getting warmer”.
Are you looking at OnePlus’s foray into furniture? It’s also notable that it has only been tweeted from the UK account, not OnePlus’s global, US or Indian feeds.
Either way we are glad it’s not a new phone. The company has far too many for sale at the moment, straying far from its once-attractive one phone at a time policy.
We had a go at boosting the brightness on the dark photo (see above) and, like others online, can see OnePLus has cheekily written “Nice try.” On what looks like a phone given the port and antenna band on the bottom.
Either way, this apparently UK-centric OnePlus product is just around the corner.


In the Nineties a satirical vignette representing two dog in front of a computer appeared on The New Yorker: “On the internet - one says to the other - no one knows you are a dog”; e-mails and the web were the news of the time. Internet was born as a free space where none had a name. Nowadays, when on the web lots of people are worried about their privacy and their identifiability, this vignette seems to be ironic. Is it possible to be anonymous? Anonymity derives from the greek word 'anonymia', which means "without a name" or "namelessness". It is the status of being unknown, unreachable or untrackable. The controversy around online anonymity includes different debate's themes. Anonymity is a matter of freedom of expression, privacy, free flow of information, circulation of thoughts, avoidance of censorship and oppression, avoidance of discrimination and harassment. But it also means illegal activities, cyber-anonymity, cyber-crime, cyber-bullying, antisocial and irresponsible behaviour and lack of credibility. The first need in our research was to focus and to formulate some specific queries choosing a particular theme. Using Google.com as a tool for the topic exploration, we decided to investigate how the freedom of expression is linked to online anonymity. This topic area is meant to leave aside everything that concerns technologies (as anonymizer) to overcome internet firewalls and what is strictly linked to the “big brother’s watching you” fear. When people decide to not reveal their identity to express their opinion because of fearing reprisal, harassment or prejudice, it is called anonymous expression. How could this generate a controversy? The two quotes below will give an example: “Protections for anonymous speech are vital to democratic discourse. Allowing dissenters to shield their identities frees them to express critical minority views” McIntyre v. Ohio Election Commission (court case, 1995). "People behave a lot better when they have their real names down. [...] I think people hide behind anonymity and they feel like they can say whatever they want behind closed doors" Randi Zuckerberg (Facebook marketing director). As the debate is much more large and complex, the goal of our research is mapping the controversy in order to better understand it.


Toggle navigation
Home
Manage Category
Manage Product
Manage Customer
Manage Customer Order
Welcome to administration


Modularity
Import the social providers you really need
Bulma-Social consists of .css
files that you can
import
individually.
You can import them directly from node_modules:
or link them from your favourite CDN provider.
Can I combine multiple social providers in 1 CSS file?
Sure, in the next page, you will learn how to compile your own CSS file.
Next Section


Completer Example
This example uses a custom item model, FileSystemModel
, and a QCompleter object. QCompleter is a class that provides completions based on an item model. The type of model, the completion mode, and the case sensitivity can be selected using combo boxes.
The Resource File
The Completer example requires a resource file in order to store the countries.txt and words.txt. The resource file contains the following code:
<!DOCTYPE RCC><RCC version="1.0"> <qresource prefix="/"> <file>resources/countries.txt</file> <file>resources/wordlist.txt</file> </qresource> </RCC>
FileSystemModel Class Definition
The FileSystemModel
class is a subclass of QFileSystemModel, which provides a data model for the local filesystem.
class FileSystemModel : public QFileSystemModel { public: FileSystemModel(QObject *parent = 0); QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; };
This class only has a constructor and a data()
function as it is only created to enable data()
to return the entire file path for the display role, unlike QFileSystemModel's data()
function that only returns the folder and not the drive label. This is further explained in FileSystemModel
's implementation.
FileSystemModel Class Implementation
The constructor for the FileSystemModel
class is used to pass parent to QFileSystemModel.
FileSystemModel::FileSystemModel(QObject *parent) : QFileSystemModel(parent) { }
As mentioned earlier, the data()
function is reimplemented in order to get it to return the entire file parth for the display role. For example, with a QFileSystemModel, you will see "Program Files" in the view. However, with FileSystemModel
, you will see "C:\Program Files".
QVariant FileSystemModel::data(const QModelIndex &index, int role) const { if (role == Qt::DisplayRole && index.column() == 0) { QString path = QDir::toNativeSeparators(filePath(index)); if (path.endsWith(QDir::separator())) path.chop(1); return path; } return QFileSystemModel::data(index, role); }
The screenshots below illustrate this difference:
The Qt::EditRole, which QCompleter uses to look for matches, is left unchanged.
MainWindow Class Definition
The MainWindow
class is a subclass of QMainWindow and implements five private slots - about()
, changeCase()
, changeMode()
, changeModel()
, and changeMaxVisible()
.
class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(QWidget *parent = 0); private slots: void about(); void changeCase(int); void changeMode(int); void changeModel(); void changeMaxVisible(int);
Within the MainWindow
class, we have two private functions: createMenu()
and modelFromFile()
. We also declare the private widgets needed - three QComboBox objects, a QCheckBox, a QCompleter, a QLabel, and a QLineEdit.
private: void createMenu(); QAbstractItemModel *modelFromFile(const QString& fileName); QComboBox *caseCombo; QComboBox *modeCombo; QComboBox *modelCombo; QSpinBox *maxVisibleSpinBox; QCheckBox *wrapCheckBox; QCompleter *completer; QLabel *contentsLabel; QLineEdit *lineEdit; };
MainWindow Class Implementation
The constructor of MainWindow
constructs a MainWindow
with a parent widget and initializes the private members. The createMenu()
function is then invoked.
We set up three QComboBox objects, modelComb
, modeCombo
and caseCombo
. By default, the modelCombo
is set to QFileSystemModel, the modeCombo
is set to "Filtered Popup" and the caseCombo
is set to "Case Insensitive".
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), completer(0), lineEdit(0) { createMenu(); QWidget *centralWidget = new QWidget; QLabel *modelLabel = new QLabel; modelLabel->setText(tr("Model")); modelCombo = new QComboBox; modelCombo->addItem(tr("QFileSytemModel")); modelCombo->addItem(tr("QFileSytemModel that shows full path")); modelCombo->addItem(tr("Country list")); modelCombo->addItem(tr("Word list")); modelCombo->setCurrentIndex(0); QLabel *modeLabel = new QLabel; modeLabel->setText(tr("Completion Mode")); modeCombo = new QComboBox; modeCombo->addItem(tr("Inline")); modeCombo->addItem(tr("Filtered Popup")); modeCombo->addItem(tr("Unfiltered Popup")); modeCombo->setCurrentIndex(1); QLabel *caseLabel = new QLabel; caseLabel->setText(tr("Case Sensitivity")); caseCombo = new QComboBox; caseCombo->addItem(tr("Case Insensitive")); caseCombo->addItem(tr("Case Sensitive")); caseCombo->setCurrentIndex(0);
The maxVisibleSpinBox
is created and determines the number of visible item in the completer
The wrapCheckBox
is then set up. This checkBox
determines if the completer
's setWrapAround() property is enabled or disabled.
QLabel *maxVisibleLabel = new QLabel; maxVisibleLabel->setText(tr("Max Visible Items")); maxVisibleSpinBox = new QSpinBox; maxVisibleSpinBox->setRange(3,25); maxVisibleSpinBox->setValue(10); wrapCheckBox = new QCheckBox; wrapCheckBox->setText(tr("Wrap around completions")); wrapCheckBox->setChecked(true);
We instantiate contentsLabel
and set its size policy to fixed. The combo boxes' activated() signals are then connected to their respective slots.
contentsLabel = new QLabel; contentsLabel->setSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed); connect(modelCombo, SIGNAL(activated(int)), this, SLOT(changeModel())); connect(modeCombo, SIGNAL(activated(int)), this, SLOT(changeMode(int))); connect(caseCombo, SIGNAL(activated(int)), this, SLOT(changeCase(int))); connect(maxVisibleSpinBox, SIGNAL(valueChanged(int)), this, SLOT(changeMaxVisible(int)));
The lineEdit
is set up and then we arrange all the widgets using a QGridLayout. The changeModel()
function is called, to initialize the completer
.
lineEdit = new QLineEdit; QGridLayout *layout = new QGridLayout; layout->addWidget(modelLabel, 0, 0); layout->addWidget(modelCombo, 0, 1); layout->addWidget(modeLabel, 1, 0); layout->addWidget(modeCombo, 1, 1); layout->addWidget(caseLabel, 2, 0); layout->addWidget(caseCombo, 2, 1); layout->addWidget(maxVisibleLabel, 3, 0); layout->addWidget(maxVisibleSpinBox, 3, 1); layout->addWidget(wrapCheckBox, 4, 0); layout->addWidget(contentsLabel, 5, 0, 1, 2); layout->addWidget(lineEdit, 6, 0, 1, 2); centralWidget->setLayout(layout); setCentralWidget(centralWidget); changeModel(); setWindowTitle(tr("Completer")); lineEdit->setFocus(); }
The createMenu()
function is used to instantiate the QAction objects needed to fill the fileMenu
and helpMenu
. The actions' triggered() signals are connected to their respective slots.
void MainWindow::createMenu() { QAction *exitAction = new QAction(tr("Exit"), this); QAction *aboutAct = new QAction(tr("About"), this); QAction *aboutQtAct = new QAction(tr("About Qt"), this); connect(exitAction, SIGNAL(triggered()), qApp, SLOT(quit())); connect(aboutAct, SIGNAL(triggered()), this, SLOT(about())); connect(aboutQtAct, SIGNAL(triggered()), qApp, SLOT(aboutQt())); QMenu* fileMenu = menuBar()->addMenu(tr("File")); fileMenu->addAction(exitAction); QMenu* helpMenu = menuBar()->addMenu(tr("About")); helpMenu->addAction(aboutAct); helpMenu->addAction(aboutQtAct); }
The modelFromFile()
function accepts the fileName of a file and processes it depending on its contents.
We first validate the file
to ensure that it can be opened in QFile::ReadOnly mode. If this is unsuccessful, the function returns an empty QStringListModel.
QAbstractItemModel *MainWindow::modelFromFile(const QString& fileName) { QFile file(fileName); if (!file.open(QFile::ReadOnly)) return new QStringListModel(completer);
The mouse cursor is then overridden with Qt::WaitCursor before we fill a QStringList object, words
, with the contents of file
. Once this is done, we restore the mouse cursor.
#ifndef QT_NO_CURSOR QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); #endif QStringList words; while (!file.atEnd()) { QByteArray line = file.readLine(); if (!line.isEmpty()) words << line.trimmed(); } #ifndef QT_NO_CURSOR QApplication::restoreOverrideCursor(); #endif
As mentioned earlier, the resources file contains two files - countries.txt and words.txt. If the file
read is words.txt, we return a QStringListModel with words
as its QStringList and completer
as its parent.
if (!fileName.contains(QLatin1String("countries.txt"))) return new QStringListModel(words, completer);
If the file
read is countries.txt, then we require a QStandardItemModel with words.count()
rows, 2 columns, and completer
as its parent.
QStandardItemModel *m = new QStandardItemModel(words.count(), 2, completer);
A standard line in countries.txt is:
Norway NO
Hence, to populate the QStandardItemModel object, m
, we have to split the country name and its symbol. Once this is done, we return m
.
for (int i = 0; i < words.count(); ++i) { QModelIndex countryIdx = m->index(i, 0); QModelIndex symbolIdx = m->index(i, 1); QString country = words[i].mid(0, words[i].length() - 2).trimmed(); QString symbol = words[i].right(2); m->setData(countryIdx, country); m->setData(symbolIdx, symbol); } return m; }
The changeMode()
function sets the completer
's mode, depending on the value of index
.
void MainWindow::changeMode(int index) { QCompleter::CompletionMode mode; if (index == 0) mode = QCompleter::InlineCompletion; else if (index == 1) mode = QCompleter::PopupCompletion; else mode = QCompleter::UnfilteredPopupCompletion; completer->setCompletionMode(mode); }
The changeModel()
function changes the item model used based on the model selected by the user.
A switch
statement is used to change the item model based on the index of modelCombo
. If case
is 0, we use an unsorted QFileSystemModel, providing us with a file path excluding the drive label.
void MainWindow::changeModel() { delete completer; completer = new QCompleter(this); completer->setMaxVisibleItems(maxVisibleSpinBox->value()); switch (modelCombo->currentIndex()) { default: case 0: { // Unsorted QFileSystemModel QFileSystemModel *fsModel = new QFileSystemModel(completer); fsModel->setRootPath(""); completer->setModel(fsModel); contentsLabel->setText(tr("Enter file path")); } break;
Note that we create the model with completer
as the parent as this allows us to replace the model with a new model. The completer
will ensure that the old one is deleted the moment a new model is assigned to it.
If case
is 1, we use the DirModel
we defined earlier, resulting in full paths for the files.
case 1: { // FileSystemModel that shows full paths FileSystemModel *fsModel = new FileSystemModel(completer); completer->setModel(fsModel); fsModel->setRootPath(""); contentsLabel->setText(tr("Enter file path")); } break;
When case
is 2, we attempt to complete names of countries. This requires a QTreeView object, treeView
. The country names are extracted from countries.txt and set the popup used to display completions to treeView
.
case 2: { // Country List completer->setModel(modelFromFile(":/resources/countries.txt")); QTreeView *treeView = new QTreeView; completer->setPopup(treeView); treeView->setRootIsDecorated(false); treeView->header()->hide(); treeView->header()->setStretchLastSection(false); treeView->header()->setSectionResizeMode(0, QHeaderView::Stretch); treeView->header()->setSectionResizeMode(1, QHeaderView::ResizeToContents); contentsLabel->setText(tr("Enter name of your country")); } break;
The screenshot below shows the Completer with the country list model.
If case
is 3, we attempt to complete words. This is done using a QStringListModel that contains data extracted from words.txt. The model is sorted case insensitively.
The screenshot below shows the Completer with the word list model.
Once the model type is selected, we call the changeMode()
function and the changeCase()
function and set the wrap option accordingly. The wrapCheckBox
's clicked() signal is connected to the completer
's setWrapAround() slot.
case 3: { // Word list completer->setModel(modelFromFile(":/resources/wordlist.txt")); completer->setModelSorting(QCompleter::CaseInsensitivelySortedModel); contentsLabel->setText(tr("Enter a word")); } break; } changeMode(modeCombo->currentIndex()); changeCase(caseCombo->currentIndex()); completer->setWrapAround(wrapCheckBox->isChecked()); lineEdit->setCompleter(completer); connect(wrapCheckBox, SIGNAL(clicked(bool)), completer, SLOT(setWrapAround(bool))); }
The changeMaxVisible()
update the maximum number of visible items in the completer.
void MainWindow::changeMaxVisible(int max) { completer->setMaxVisibleItems(max); }
The about()
function provides a brief description about the example.
void MainWindow::about() { QMessageBox::about(this, tr("About"), tr("This example demonstrates the " "different features of the QCompleter class.")); }
main()
Function
The main()
function instantiates QApplication and MainWindow
and invokes the show() function.
int main(int argc, char *argv[]) { Q_INIT_RESOURCE(completer); QApplication app(argc, argv); MainWindow window; window.show(); return app.exec(); }
Files:


A flexbox-powered masonry layout, based on Tobias Ahlin's awesome solution.
This fork adds automatic container height, customizable gutter size, and responsivity, with CSS Custom Properties and a few rows of JavaScript.
~
A lil' project by Alexander Sandberg 🐨 / GitHub repo


On two of the main desktop computing platforms, macOS and Windows, package and dependency management is hard. Package managers either don't handle dependency management very well, or they have issues with removing unused dependencies. Many BSD or GNU/Linux distributions have solved package management a long time ago. dockrun uses Alpine GNU/Linux along with Docker to simplify package management for all platforms.
Just "dockrun command" and go!
dockrun is not a new package manager, rather it provides a tiny abstraction upon Docker and Alpine in order to create a "get running quickly"-interface for running command line applications. This means that dockrun uses proven technologies with an already enourmous collection of packages at its disposal.
Just "dockrm command" and remove all files and dependencies for said command. Does not clutter your OS file system.
Works on all platforms supported by Docker.


Deleting Terms
How to delete one or more term associated with either a simple or hierarchical vocabulary using the Taxonomy Manager module.
- Navigate to Admin > Advanced Settings > Taxonomy - OR - Go to a Taxonomy Manager module.
- Click the Edit link beside the vocabulary which the term is associated with. This opens the Edit Vocabulary page.
- In the Terms list, select the term to be edited. This displays the Edit Term section.
- Click the Delete link located below the Edit Term section.
- Repeat Steps 3-4 to delete additional terms.
- Click the Cancel button to return to the module.
Deleting Vocabulary Terms


City Council
City Council, Council Briefings, and Special Committees
Current 2018/2019 Committees
Past 2016/2017 Committees
Past 2014/2015 Committees
To access Seattle City Council meetings for previous years please contact the City Clerk's office or email clerk@seattle.gov


There is an intentional 500ms delay added to the API calls to make the transitional states show up more clearly.
Architectural Decisions
AsyncPipe
to handle subscription to ObservablesUsers.users$
, Users.loading$
, Users.adding$
) for easier consumption in Smart Components


Hands on Let's Encrypt
Let’s Encrypt is a new Certificate Authority: It’s free, automated, and open.
Let’s Encrypt is a new Certificate Authority: It’s free, automated, and open. And finally I’ve been able to use it for an internal GitLab server that we used over http. Now we are running over https!
This entry is a tl;dr of https://webnugget.de/setting-up-gitlab-with-free-ssl-certs-from-lets-encrypt-on-ubuntu-14-04/ which explains from the very beginning how to implement the full software stack. Here I’m omitting some parts and some descriptions. I’m also using this post entry as a preservation of the original content. So full merits for them.
Install Let’s Encrypt
As we want to use Let’s Encrypt to generate valid server certificates first of all the required software will be installed. Remember to elevate your permissions to admin rights.
Then, install git and clone the project repository.
Configure Let’s Encrypt
This will provide the necessary configuration to resolve Let’s Encrypt certificates.
Paste the following lines. Remember to change the domains and email lines. Email will be used by let’s encrypt just in case something happen with your certificate.
Then, create the directory which will serve the authentication files.
Configure GitLab
Edit GitLab’s configuration:
Remember to change gitlab.yourdomain.com to your server Hostname. Keep in mind that some of the following configurations could already be on your GitLab instance. Proceed with caution.
Apply the new configuration.
Getting the certificates
To get the certificates, run the following command:
Once the certificates are resolved, change again GitLab’s configuration.
change the external_url to use https instead of http
After that, apply again the configuration.
Now, you should be able to access to your GitLab instance by https instead of http.
Autoupdate for certificates
Let’s Encrypt certificates have a valid life of 90 days, so to it’s important to keep them up to date. A cron job will be used to renew the certificate once per month.
Paste the following configuration:
Finally give execution permisions to the file.


{% load static %}
It is a deadlock avoidance algorithm which dynamically examines the resource allocation state to ensure that a deadlock does not occur. To achieve this, a system should have a knowledge of the complete sequence of requests and releases for each process to avoid a future possible deadlock
A state is safe if the system can allocate resources to each process (up to its maximum) in some order and still avoid a deadlock. More formally, a system is in a safe state only if there exists a safe sequence. A sequence of processes
Let n be the number of processes in the system and m be the number of resource types Available: A vector of length m indicates the number of available resources of each type Max: An n × m matrix defines the maximum demand of each process Allocation: An n × m matrix defines the number of resources of each type currently allocated to each process. Need: An n × m matrix indicates the remaining resource need of each process. Need[i][j] = Max[i][j] − Allocation[i][j]. We can treat each row in the matrices Allocation and Need as vectors and refer to them as Allocation[i] and Need[i]. The vector Allocation[i] specifies the resources currently allocated to process P[i]; the vector Need[i] specifies the additional resources that process P[i] may still request to complete its task.
This algorithm can be described as follows:
1. Let Work and Finish be vectors of length m and n, respectively. Initialize Work = Available and Finish[i] = false for i = 0, 1, ..., n − 1. 2. Find an index i such that both a. Finish[i] == false b. Need[i] ≤ Work If no such i exists, go to step 4. 3. Work = Work + Allocation[i] Finish[i] = true Go to step 2. 4. If Finish[i] == true for all i, then the system is in a safe state.
Let Request[i] be the request vector for process P[i]. If Request[i][j] == k, then process P[i] wants k instances of resource type R[j]. When a request for resources is made by process P[i], the following actions are taken: 1. If Request[i] ≤Need[i], go to step 2. Otherwise, raise an error condition, since the process has exceeded its maximum claim. 2. If Request[i] ≤ Available, go to step 3. Otherwise, P[i] must wait, since the resources are not available. 3. Have the system pretend to have allocated the requested resources to process P[i] by modifying the state as follows: Available = Available–Request[i]; Allocation[i] = Allocation[i] + Request[i]; Need[i] = Need[i] –Request[i]; If the resulting resource-allocation state is safe, the transaction is completed, and process P[i] is allocated its resources. However, if the new state is unsafe, then P[i] must wait for Request[i], and the old resource-allocation state is restored.


State senators who tend to vote together are linked closer together. Senators are colored by their parity, which is determined by how often the senator votes with the majority:
Visualization:
Democrats:
Republicans:
Independents:
Unknown/Other:


|
KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
This class manages the computation of third order moments of scalars or vector components. More...
#include <statistics_utilities.h>
Public Member Functions | |
| ThirdOrderCorrelationSampler (const StatisticsSampler::Pointer pQuantity1, const std::size_t QuantityComponent1, const StatisticsSampler::Pointer pQuantity2, const std::size_t QuantityComponent2, const StatisticsSampler::Pointer pQuantity3, const std::size_t QuantityComponent3, const StatisticsSampler::Pointer pVariance12, const std::size_t VarianceComponent12, const StatisticsSampler::Pointer pVariance13, const std::size_t VarianceComponent13, const StatisticsSampler::Pointer pVariance23, const std::size_t VarianceComponent23) | |
| Initialize a sampler for the third order moment involving three given quantities. More... | |
| void | SampleDataPoint (std::vector< double >::iterator &BufferIterator, const StatisticsSampler::IntegrationPointDataView &rCurrentStatistics, const std::vector< double > &rNewMeasurement, const std::size_t NumberOfMeasurements) override |
| For higher-order statistics: operate on lower order data. More... | |
| virtual void | OutputHeader (std::ofstream &rOutStream, const std::string &rSeparator) const override |
| Write header for the output file. More... | |
| Public Member Functions inherited from Kratos::StatisticsSampler | |
| KRATOS_CLASS_POINTER_DEFINITION (StatisticsSampler) | |
| StatisticsSampler (std::size_t NumValues) | |
| Define a new StatisticsSampler instance. More... | |
| virtual | ~StatisticsSampler () |
| Destructor. More... | |
| virtual void | SampleDataPoint (const Geometry< Node > &rGeometry, const Vector &rShapeFunctions, const Matrix &rShapeDerivatives, std::vector< double >::iterator &BufferIterator) |
| For first-order statistics: read data directly. More... | |
| std::size_t | GetSize () const |
| Number of quantities managed by this statistic. More... | |
| virtual std::size_t | GetComponentOffset (std::size_t i) const |
| Offset (from the start of the space allocated to this statistic) for the storage of component i. More... | |
| virtual std::size_t | ComponentIndex (std::size_t i, std::size_t j) const |
| Helper returning the correct argument in calls to GetComponentOffset for matrix quantities. More... | |
| std::size_t | GetOffset () const |
| Offset (from the start of the statistics container) to the first component stored by this statistic. More... | |
| void | SetOffset (std::size_t Offset) |
| Assign a new offset (from the start of the statistics container) to the first component stored by this statistic. More... | |
| virtual void | OutputResult (std::ofstream &rOutStream, IntegrationPointDataViewIterator &rDataBuffer, std::size_t SampleSize, const std::string &rSeparator) const |
| Write results managed by this class to output buffer. More... | |
| virtual double | Finalize (double Value, std::size_t SampleSize) const |
| Post-process internal data to produce the final value of the statistical result. More... | |
| std::string | GetTag (std::size_t ComponentIndex) const |
| Get the string associated one of the components of this statistic. More... | |
Additional Inherited Members | |
| Public Types inherited from Kratos::StatisticsSampler | |
| typedef Matrix::iterator1 | IntegrationPointDataView |
| typedef Matrix::const_iterator2 | IntegrationPointDataViewIterator |
| Protected Member Functions inherited from Kratos::StatisticsSampler | |
| void | AddTag (std::string Tag) |
This class manages the computation of third order moments of scalars or vector components.
Note that, since vector correlations quickly involve a lot of cross-components (up to 27 in 3D), support is only provided for single-valued quantities (that is, combinations of scalars or vector components).
|
inline |
Initialize a sampler for the third order moment involving three given quantities.
Note that online recording of a third order statistic requires recording the averages of each quantity and the covariances for each pair. When using this class with a scalar quantity, pass 0 as its ComponentIndex. For variances, use pVarianceij->GetComponentIndex() to obtain the corresponding VarianceComponent argument.
| pQuantity1 | Sampler for the average of the first quantity of the third order moment. |
| ComponentIndex1 | Index of the component of pQuantity1 to be used in calculation. |
| pQuantity2 | Sampler for the average of the second quantity of the third order moment. |
| ComponentIndex2 | Index of the component of pQuantity2 to be used in calculation. |
| pQuantity3 | Sampler for the average of the third quantity of the third order moment. |
| ComponentIndex3 | Index of the component of pQuantity3 to be used in calculation. |
| pVariance12 | Sampler for the covariance of the first and second quantities. |
| VarianceComponent12 | Index of the component of pVariance12 to be used in calculation. |
| pVariance13 | Sampler for the covariance of the first and third quantities. |
| VarianceComponent13 | Index of the component of pVariance13 to be used in calculation. |
| pVariance23 | Sampler for the covariance of the second and third quantities. |
| VarianceComponent23 | Index of the component of pVariance23 to be used in calculation. |
|
inlineoverridevirtual |
Write header for the output file.
This function is called when printing to a file.
| rOutStream | stream for the output file. |
| rSeparator | Separator for the output csv file (for example a comma or semicolon). |
Reimplemented from Kratos::StatisticsSampler.
|
inlineoverridevirtual |
For higher-order statistics: operate on lower order data.
To be implemented in derived classes. Note that the BufferIterator argument will be advanced during the call.
| BufferIterator | Iterator pointing to the start of the storage of the statistics managed by this class. | |
| [in] | rCurrentStatistics | Container of last known values for recorded quantities at this sampling point. |
| [in] | rNewMeasurement | Container of new measurements for recorded quantities at this sampling point. |
| [in] | NumberOfMeasurements | Total number of realizations measured at the sampling point (including the current one). |
Reimplemented from Kratos::StatisticsSampler.


3 In progress
AdventureWorks Cycles
- Company no. 0129334
- Overdue by 3 days
Parnell Aerospace
- Company no. 02828237
- Due in 8 days
Lucerne Publishing
- Company no. 0881662
- Due in 12 days
The baguette house ltd.
- Company no. 0283838
- Due by 02-02-2016
Graphic Design Institute
- Company no. 0993873
- Due by 05-02-2016


New England's Unsolved: The murder of Richard King
by Bob WardBOSTON - 22-year old Richard King died a violent death on July 31, 2011.
At about 4:40AM, King was found at 25 Trotter Court near Lenox Street, stabbed multiple times.
Richard King bled to death before anyone could help him.
In 2014, three years after Richard's murder, Melinda Tharps, Richard's mother, asked me if I could profile her son's case on New England's Unsolved.
We did.
And now five years later we are taking another look at the case.
There are many victims in an unsolved murder like Richard's; loved ones and friends are left to deal with raw emotions that never heal.
And it is no different for Melinda Tharps.
Melinda has a special room in her house where she feels close to her son. Melinda often retreats there and feels his presence.
Richard himself smiles at Melinda from framed pictures, and from a nearby photo album.
On a bookshelf Melinda keeps her Bible and her prayer study books.
The room bring Melinda much needed peace in the face of unimaginable grief.
"My faith is getting me through this, absolutely," Melinda recently told me.
Richard King was murdered in an area notorious for violence in 2011.
As far as Melinda knew, her son was not in a gang.
But gang violence and drug activity was all around Trotter Court at the time. And today, eight years later, it's still not known why Richard King was there.
Earlier in the night, Richard and his cousin were drinking at a club in the Theatre District.
After starting to walk home for a few blocks, Richard's cousin caught a cab and Richard kept walking towards his house in Dorchester.
He never made it.
In 2014, Boston Police Homicide Detective Michael Walsh described for me the bloody scene that investigators found. Richard was stabbed multiple times, and by the time first responders arrived, Richard was already gone.
"It was personal, " Detective Walsh told me in 2014. "He was stabbed multiple times. There's a reason for them to do that. It's wasn't just a robbery."
But who wanted to kill Richard King? What problem ignited this carnage?
It's something that still troubles investigators.
And its weighing heavily on Melinda Tharps' mind.
She is hungry for justice.
But she told me her faith is leading her to a better place.
"The person or people responsible for my son's death? I already forgave them," Melinda told me.
If you know anything about the Murder of Richard King, call Boston Police Crime Stoppers at 1.800.494.TIPS


aynbody here using the KV functionality? Im trying to use it on an asset chain and when I do a kvupdate if looks like the transaction has gone through but when I do a kvsearch for the key it does not find it. Do i need to enable something somewhere?
disregard. I didnt wait long enough ........its working
I've got an idea. Can we use KV for a simple messagaging system in hyperdedx/barterdex? We can make the komodo address the key for direct messaging, a broadcast key for all, use an asset chain different from komodo to keep messaging cheap. What do you guys think? it may be a bit delayed ...
nevermind.....delay is about a min
thats too long for chat
kimmel (Pungo.io)16-Sep-18 06:10 PM
@jspook16 you could try with a faster block time but not sure its possible...however there should be a way. Also regarding distributed storage this is in the frontier with ipfs file storage. I think KV could point to ipfs files, so there would be higher limit regarding media or attachments
and btw I'm interested to play with this at some point for in-wallet chat application, seems tech behind wouldnt be much complicated...remember we just need a whitelabel thing so anyone can apply to its software, its the only way to get a sensible chat volume that can make the system survive.
Something simple, easy, that just works. SPV clients are becoming more and more easy to build, so maybe it would be nice idea to make it available for any SPV client from scratch
And I would say to forget about paying for messging, that would leave the system out of availability for a loot of users. Remember when they asked to pay for whatsapp? well nobody remembers because that didnt lasted long(edited)
jspook1616-Sep-18 06:17 PM
yeah that sounds like what I was thinking. I guess i didnt mean actually "pay", i meant we could use an asset chain that didn't really have much value ,,,,kind of like a doge coin
something we can airdrop or just give out (assuming we needed an asset chain) . Could just use a messaging server like openfire or soemthing
@kimmel (Pungo.io) I'm glad someone else is thinking about this too
kimmel (Pungo.io)16-Sep-18 06:25 PM
I'm taking a look at openfire, the problem about starting from scratch is that we will probably find the same problems that already have been solved by many projects out there
so feels like reinventing the wheel
I'm not sure that is good or not...like saying "I'll do with blockchain and will work out of the box"...and then finding...maybe this guys were right about this, this this..this...and ending up solving the same problems already solved on many messaging systems out there
passcombo.com 🏴☠🏴16-Sep-18 06:26 PM
@kimmel (Pungo.io) some people enjoy reinventint the wheel
kimmel (Pungo.io)16-Sep-18 06:27 PM
yes, some people has time and resources to do it :)... or just time hehe
its a really interesting thing, I would love to see it working I love experiments
jspook1616-Sep-18 06:27 PM
yeah im definitely not looking to reinvent the wheel or the spokes....(time limited)
kimmel (Pungo.io)16-Sep-18 06:28 PM
but I need to be real about how close to production ready would this be in a short timeframe
the idea looks sexy, but would need to get sorted a lot of evil details we cant just imagine right now
jspook1616-Sep-18 06:29 PM
agreed. I was putting it out there to see what holes people can poke in it or suggestions/guidance
I guess i was just stoked about KV working.....but definitely dont require to use it for messaging
kimmel (Pungo.io)16-Sep-18 06:30 PM
KV thing its an interesting feature for many things, especially using IPFS with it
if we add to this the "scaling " capabilities of KMD based chains
jspook1616-Sep-18 06:30 PM
im reading up on ipfs.....didnt know that was being implemented as well
kimmel (Pungo.io)16-Sep-18 06:30 PM
things get interesting
however maybe someone at komodo could help us by developing something that "just works" for any project to use it
@pbca26 did a great job with agama desktop and mobile, pungo wouldnt be there without him
and many other wallets either, wouldnt be there without pushing agama codebase forward
so KV chain + ipfs + scaled kmd chains seem a good solution that might work for usage in many projects...from chat, to file storage (dropbox alternative) or whatever
jspook1616-Sep-18 06:37 PM
nice ....that sounds like a possible path
do you know who is working the ipfs is anyone?
PTYX16-Sep-18 06:44 PM
i dont think anyone is directly working on ipfs yet. it has been discussed given that the keyvalue storage function works great for IPFS link storage
it's definitely something to look forward.
kimmel (Pungo.io)16-Sep-18 06:46 PM
I see there are already some projects around, not sure if we could create a working group channel to work on this and if Komodo team could support us if it happens to be interest around it from different projects(edited)
2
for example I think @PTYX is also developing a great wallet
PTYX16-Sep-18 06:53 PM
We have a plan to create a community dashboard where we can propose, manage, and fund initiaties
2
like a type of governance as a service
we desperately need it for Komodo in order to fund community initiatives and things like the IPFS + KV Storage
jspook1616-Sep-18 06:55 PM
that sounds interesting. Maybe we can start with a channel and then propose on @PTYX 's wallet
Alright16-Sep-18 08:05 PM
@jspook16@blackjok3r and I made a messaging chain before
you don't wait for the kv tx to confirm, you can read the message as soon as it hits the mempool of your node
plenty fast enough to actually have a conversation
Oh wait, maybe that was @Deleted User
jspook1616-Sep-18 08:09 PM
interesting. I asked jl about it and he said oracles cc will make kv obsolete but maybe we can keep it alive for simple messaging. He made us an #cc-oracles channel
Torankoku16-Sep-18 08:43 PM
is otc harmful to crypto markets?
jspook1616-Sep-18 08:54 PM
I would say no. commerce is commerce
PTYX16-Sep-18 11:17 PM
If they control your privatekeys there isn't much you can do other than ask them nicely
Which pool is it?
I've never heard of private locker but I'll look into that
@1TheGhostProject the developers are not able to help you. They don't control third party mining pools.
I suggest posting on the mining pool's forums or social media channels. Ive never heard of that pool but I'll check to see if it's endorsed


|
Ino-on_AICamera
|
#include <date.hpp>
Public Member Functions | |
| year ()=default | |
| CONSTCD11 | year (int y) NOEXCEPT |
| CONSTCD14 year & | operator++ () NOEXCEPT |
| CONSTCD14 year | operator++ (int) NOEXCEPT |
| CONSTCD14 year & | operator-- () NOEXCEPT |
| CONSTCD14 year | operator-- (int) NOEXCEPT |
| CONSTCD14 year & | operator+= (const years &y) NOEXCEPT |
| CONSTCD14 year & | operator-= (const years &y) NOEXCEPT |
| CONSTCD11 year | operator- () const NOEXCEPT |
| CONSTCD11 year | operator+ () const NOEXCEPT |
| CONSTCD11 bool | is_leap () const NOEXCEPT |
| CONSTCD11 | operator int () const NOEXCEPT |
| CONSTCD11 bool | ok () const NOEXCEPT |
Static Public Member Functions | |
| static CONSTCD11 year | min () NOEXCEPT |
| static CONSTCD11 year | max () NOEXCEPT |
|
default |
|
inlineexplicit |


We were challenged to create digital media content for Vivid Festival(2016) for DesignINK Ecology. The theme of this exhibition was marine conservation.
We, as a team of three design students, produced a short film and presented it to the public. The film tells a lifetime story of a fish named Mino, and reveals the relationship between human and ocean.
FOCUS: Video Production
TOOLS: Final Cut Pro, Adobe After Effects
DATE: Mar-Jun 2016
Human activities affect the ocean and the creatures that live in it in many different ways. We wanted to tell a deep and thoughtful story of the relations between human, ocean and environment. The video is based on a lifetime story of Fish Mino. At the beginning Mino family lived happily in the peaceful ocean. They enjoyed the time of playing with the starfish and shells in the corals. When human joins the sea, they had harmony at the first. However, human exploited underwater resources and occupy the ocean. This led to the destroy of marine life and human themselves.
We were inspired by shadow puppetry, a Chinese ancient art form of movie and animation which uses flat articulated shapes to create body components of the figure, and held between a source of light and a translucent scrim. We made different models of marine lives and sticked with the wires to make them flexible and controllable in front of the green screen. And our hand interacted with the fish. Later, we turned the fish into silhouette by After Effects and replaced the background form navy blue, the mysterious nature of the sea, to red, where everything broke and disappeared.
During the three months collaboration in the group of three, we promoted the ideas of ocean conservation by the Story of Fish Mino. The film was launched at a 15mx3m digital wall inside Central park of Sydney. Our film is under the theme "light, music and ideas" as part of designINK Ecology exhibition participated in Vivid Sydney 2016.


| Command | Example | Description | Who Can Use | ||
|---|---|---|---|---|---|
|
Featured command
|
/kind ?
|
|
Applies a label from one of the recognized types of labels
|
Anyone can trigger this command.
|
|
|
Featured command
|
/priority ?
|
|
Applies a label from one of the recognized types of labels
|
Anyone can trigger this command.
|
|
|
Featured command
|
/remove-(kind|priority)
|
|
Removes a label from one of the recognized types of labels
|
Anyone can trigger this command.
|
|
|
/release-note-none
|
|
Adds the 'release-note-none' label to indicate that the PR does not warrant a
release note.
|
PR Authors and Org Members.
|


Tutor Hoos
CS 2150
Tutors
Favorited Tutors
Forum
CS 2110
Tutors
Favorited Tutors
Forum
COMM 2010
Tutors
Favorited Tutors
Forum
COMM 2020
Tutors
Favorited Tutors
Forum
EVSC 2020
Tutors
Favorited Tutors
Forum
Search
Profile
Log Out
COMM 2020 Favorite Tutors
No favorite tutors to display for this class. Click on the star to add to favorites.


Report: file formats count
Storage Service: {{ storage_service_name }}
{% if storage_location_description %}
Location: {{ storage_location_description }}
{% endif %}
{{ originalsCount }} original files ingested between {{startdate}} and {{enddate}}
{{ differentFormats }} different formats totalling {{ totalHumanSize }}


TABLE OF INTERACTIONS WITH
BISPHOSPHONATES
From the French ANSM drug interactions document of September 2016, p. 43
BISPHOSPHONATES CLASS CODE: M05B-001 |
CALCIUM RxNorm: 1428011 ATC: A12AA |
For calcium salts administered via oral route: decrease of the digestive absorption of the bisphosphonates |
Precaution for use Take the calcium salts and antacids at a different time from the bisphosphonates (from 30 minutes minimum to more than 2 hours apart, if possible, depending on the bisphosphonate). |
BISPHOSPHONATES CLASS CODE: M05B-001 |
IRON
RxNorm: 1431589 ATC: B03A |
For the iron salts administered via oral route: decrease of the digestive absorption of the bisphosphonates |
Precaution for use Take the iron salts at a different time from the bisphosphonates (from 30 minutes minimum to more than 2 hours apart, if possible, depending on the bisphosphonate). |


I was born in El Paso, Texas 1990.
I moved 6 times before graduating high school.
I prefer vegan, but I cheat from time to time.
My morning routines are meditation, green tea, and working out.
My inspirations includes:
Haas & Hahn: Artist, Architects
Jay-Z: Musical artist, businessman
Steve Jobs: Inventor, Entrepreneur


--- author: Steve Gill categories: app date: '2011-05-13 22:17:48' permalink: /2011/05/13/ibm-websphere-and-phonegap/ slug: ibm-websphere-and-phonegap status: publish title: IBM WebSphere and PhoneGap! type: post format: html ---
Hey Everyone,
IBM released a great tutorial on how to make a app using PhoneGap and WebSphere. The guide walks you through making a simple realator app for an Android device. If you are interested in checking out IBM WebSphere, this is a great chance! Click the following link to check it out! http://goo.gl/9RSCU
Cheers, -Steve


4h ago via Bloomberg
Microsoft CEO Makes New Diversity Push After Women Gaffe
Chief Executive Officer Satya Nadella is driving a new initiative to promote companywide diversity and equal pay a week after he made a public gaffe on advising women on getting a pay raise.
7h ago via Reuters
Apple's new iPads sport modest upgrades but short on 'wow'
Faster, slimmer iPads come with modest improvements, such as a fingerprint sensor, but some analysts say it offers few other features to wow consumers ahead of a holiday shopping season
10h ago via Reuters
Volkswagen to recall over 580,000 cars in China: government
Volkswagen AG told China's quality watchdog that it planned to recall more than 580,000 cars in the country, after the agency launched an investigation in August.
16h ago via MarketWatch
What to watch for in Apple’s results
Apple Inc. is scheduled to release its fiscal fourth-quarter results after the close of trading Monday.


Decolonize the future
Save the date! The second edition of the FutureCon is scheduled to take place from September the 3rd to the 5th of 2021.
This year we want to engage with even more native innovators and storytellers that make Science Fiction happen and flourish in their own language and markets. We want to build the tools that will reshape our own imagination, set up creative networks, and make room for independent voices, crafting publishing alternatives and self-sustainable connections to “decolonize the future”.
The future happens everywhere
William Gibson once said that the future is already here, it’s just not evenly distributed. Geographical location and wealth could indeed limit access to considerable advances in technology. However, imagination is a more subtle power. It does not know borders or languages. From Beijing to Lagos, from Rio de Janeiro to Los Angeles, ideas are flourishing in the form of stories.
In the 21st century, a worldwide pandemic demands realists of a larger reality. So we reach out to you with our voices from all over the world through our devices. The time has come to draw attention to Science Fiction stories written all over the planet — stories made of different languages, colors, shapes, hopes, and beliefs.


Interface Select<T>
-
- All Superinterfaces:
Query
,Serializable
- All Known Implementing Classes:
ColumnSelect
,FluentSelect
,MappedSelect
,ObjectSelect
,PrefetchSelectQuery
,SelectById
,SelectQuery
,SQLSelect
public interface Select<T> extends Query
A common interface for grouping together different kinds of queries that return results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultBatchIterator<T>
batchIterator(ObjectContext context, int size)
Creates a ResultBatchIterator based on the provided context and batch size.void
iterate(ObjectContext context, ResultIteratorCallback<T> callback)
Creates a ResultIterator based on the provided context and passes it to a callback for processing.ResultIterator<T>
iterator(ObjectContext context)
Creates a ResultIterator based on the provided context.List<T>
select(ObjectContext context)
Selects objects using provided context.T
selectFirst(ObjectContext context)
Selects a single object using provided context.T
selectOne(ObjectContext context)
Selects a single object using provided context.-
Methods inherited from interface org.apache.cayenne.query.Query
createSQLAction, getMetaData, route
-
-
-
-
Method Detail
-
select
List<T> select(ObjectContext context)
Selects objects using provided context.Essentially the inversion of "ObjectContext.select(Select)".
- Since:
- 4.0
-
selectOne
T selectOne(ObjectContext context)
Selects a single object using provided context. The query is expected to match zero or one object. It returns null if no objects were matched. If query matched more than one object,CayenneRuntimeException
is thrown.Essentially the inversion of "ObjectContext.selectOne(Select)".
- Since:
- 4.0
-
selectFirst
T selectFirst(ObjectContext context)
Selects a single object using provided context. The query itself can match any number of objects, but will return only the first one. It returns null if no objects were matched.If it matched more than one object, the first object from the list is returned. This makes 'selectFirst' different from
selectOne(ObjectContext)
, which would throw in this situation. 'selectFirst' is useful e.g. when the query is ordered and we only want to see the first object (e.g. "most recent news article"), etc.Selecting the first object via "Select.selectFirst(ObjectContext)" is more comprehensible than selecting via "ObjectContext.selectFirst(Select)", because implementations of "Select" set fetch size limit to one.
- Since:
- 4.0
-
iterate
void iterate(ObjectContext context, ResultIteratorCallback<T> callback)
Creates a ResultIterator based on the provided context and passes it to a callback for processing. The caller does not need to worry about closing the iterator. This method takes care of it.Essentially the inversion of "ObjectContext.iterate(Select, ResultIteratorCallback)".
- Since:
- 4.0
-
iterator
ResultIterator<T> iterator(ObjectContext context)
Creates a ResultIterator based on the provided context. It is usually backed by an open result set and is useful for processing of large data sets, preserving a constant memory footprint. The caller must wrap iteration in try/finally (or try-with-resources for Java 1.7 and higher) and close the ResultIterator explicitly. Or useiterate(ObjectContext, ResultIteratorCallback)
as an alternative.Essentially the inversion of "ObjectContext.iterator(Select)".
- Since:
- 4.0
-
batchIterator
ResultBatchIterator<T> batchIterator(ObjectContext context, int size)
Creates a ResultBatchIterator based on the provided context and batch size. It is usually backed by an open result set and is useful for processing of large data sets, preserving a constant memory footprint. The caller must wrap iteration in try/finally (or try-with-resources for Java 1.7 and higher) and close the ResultBatchIterator explicitly.- Since:
- 4.0
-
-


// Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Copyright 2007 Google Inc. All Rights Reserved. /** * @fileoverview Datastructure: Pool. * * * A generic class for handling pools of objects that is more efficient than * goog.structs.Pool because it doesn't maintain a list of objects that are in * use. See constructor comment. */ goog.provide('goog.structs.SimplePool'); goog.require('goog.Disposable'); /** * A generic pool class. Simpler and more efficient than goog.structs.Pool * because it doesn't maintain a list of objects that are in use. This class * has constant overhead and doesn't create any additional objects as part of * the pool management after construction time. * * IMPORTANT: If the objects being pooled are arrays or maps that can have * unlimited number of properties, they need to be cleaned before being * returned to the pool. * * Also note that {@see goog.object.clean} actually allocates an array to clean * the object passed to it, so simply using this function would defy the * purpose of using the pool. * * @param {number} initialCount Initial number of objects to populate the * free pool at construction time. * @param {number} maxCount Maximum number of objects to keep in the free pool. * @constructor * @extends {goog.Disposable} * */ goog.structs.SimplePool = function(initialCount, maxCount) { goog.Disposable.call(this); /** * Maximum number of objects allowed * @type {number} * @private */ this.maxCount_ = maxCount; /** * Queue used to store objects that are currently in the pool and available * to be used. * @type {Array} * @private */ this.freeQueue_ = []; this.createInitial_(initialCount); }; goog.inherits(goog.structs.SimplePool, goog.Disposable); /** * Function for overriding createObject. The avoids a common case requiring * subclassing this class. * @type {Function} * @private */ goog.structs.SimplePool.prototype.createObjectFn_ = null; /** * Function for overriding disposeObject. The avoids a common case requiring * subclassing this class. * @type {Function} * @private */ goog.structs.SimplePool.prototype.disposeObjectFn_ = null; /** * Sets the {@code createObject} function which is used for creating a new * object in the pool. * @param {Function} createObjectFn Create object function which returns the * newly createrd object. */ goog.structs.SimplePool.prototype.setCreateObjectFn = function(createObjectFn) { this.createObjectFn_ = createObjectFn; }; /** * Sets the {@code disposeObject} function which is used for disposing of an * object in the pool. * @param {Function} disposeObjectFn Dispose object function which takes the * object to dispose as a parameter. */ goog.structs.SimplePool.prototype.setDisposeObjectFn = function( disposeObjectFn) { this.disposeObjectFn_ = disposeObjectFn; }; /** * Gets a new object from the the pool, if there is one available, otherwise * returns null. * @return {Object} An object from the pool or a new one if necessary. */ goog.structs.SimplePool.prototype.getObject = function() { if (this.freeQueue_.length) { return this.freeQueue_.pop(); } return this.createObject(); }; /** * Releases the space in the pool held by a given object -- i.e., remove it from * the pool and frees up its space. * @param {Object} obj The object to release. */ goog.structs.SimplePool.prototype.releaseObject = function(obj) { if (this.freeQueue_.length < this.maxCount_) { this.freeQueue_.push(obj); } else { this.disposeObject(obj); } }; /** * Populates the pool with initialCount objects. * @param {number} initialCount The number of objects to add to the pool. * @private */ goog.structs.SimplePool.prototype.createInitial_ = function(initialCount) { if (initialCount > this.maxCount_) { throw Error('[goog.structs.SimplePool] Initial cannot be greater than max'); } for (var i = 0; i < initialCount; i++) { this.freeQueue_.push(this.createObject()); } }; /** * Should be overriden by sub-classes to return an instance of the object type * that is expected in the pool. * @return {Object} The created object. */ goog.structs.SimplePool.prototype.createObject = function() { if (this.createObjectFn_) { return this.createObjectFn_(); } else { return {}; } }; /** * Should be overriden to dispose of an object. Default implementation is to * remove all of the object's members, which should render it useless. Calls the * object's dispose method, if available. * @param {Object} obj The object to dispose. */ goog.structs.SimplePool.prototype.disposeObject = function(obj) { if (this.disposeObjectFn_) { this.disposeObjectFn_(obj); } else { if (goog.isFunction(obj.dispose)) { obj.dispose(); } else { for (var i in obj) { delete obj[i]; } } } }; /** * Disposes of the pool and all objects currently held in the pool. */ goog.structs.SimplePool.prototype.disposeInternal = function() { goog.structs.SimplePool.superClass_.disposeInternal.call(this); // Call disposeObject on each object held by the pool. var freeQueue = this.freeQueue_; while (freeQueue.length) { this.disposeObject(freeQueue.pop()); } delete this.freeQueue_; };


Fluid-grid
HUHUHU
Title
Title
Title
Title
Title
Title
Title
Title
Title
Title
Title
Title
Title
Title


Date: Thu, 18 Dec 1997 19:24:29 GMT Server: Stronghold/1.3.4 Ben-SSL/1.3 Apache/1.1.3 Content-type: text/html Content-length: 4362 Last-modified: Fri, 03 Oct 1997 20:44:22 GMT
Prison Health Services, Inc. is a wholly owned subsidiary of America Service Group Inc.
Company Overview | Investor Relations | Services | Locations | Job Postings | Contact Us


Side views Tools Example
This page contains an example of the side views tool
Go back to the Examples page


Try out our Premium Member services: Virtual Legal Assistant, Query Alert Service and an ad-free experience. Free for one month and pay only if you like it.
WP 6135/2011 1 W.P. No. 6135/2011 (PIL) (Neelesh Dubey v. Government of India and others) 21.01.2015 None for the petitioner. Shri Piyush Dharmadhikari, Government Advocate for the respondents 2,3,5 & 7/State.
Shri Rakesh Jain and Shri Rohit Jain, Advocate for the respondent No.4.
Heard counsel for the parties.
The relief claimed in this petition filed as Public Interest Litigation is to direct the respondents 1, 5 and 7 to restrain respondent No.6 to continue with the illegal mining activity in forest land. Further relief claimed by the petitioner is to inquire into the matter as to grant of illegal mining permission in forest land and to take stern action against the concerned officials of the Revenue Department and Forest Department, as the case may be, for their acts of commission and omission.
It is noticed that the Under Secretary of the Mining Department, Government of Madhya Pradesh vide order dated 10.07.2007 granted prospecting licence in favour of respondent No.6. On the basis of the said prospecting licence respondent No.6 approached the District Forest Officer to grant permission to undertake prospecting on the subject land. Even the said Authority acceded to the request of WP 6135/2011 2 respondent No.6.
According to the petitioner, however, neither the decision to grant prospecting licence to respondent No.6 in respect of forest land nor the permission granted by District Forest Officer can be countenanced and are, in fact, issued without authority of law. The District Forest Officer has committed manifest error in granting permission also because no approval of the Pollution Control Board Department in respect of Water (Prevention and Control of Pollution) Act, 1974 and Air (Prevention and Control of Pollution) Act, 1981 has been obtained by the licencee. The petitioner, additionally, has relied on the decisions of the Apex Court, to buttress the relief claimed in the writ petition, in the case of Glanrock Estate (P) Ltd. v. State of Tamil Nadu1 and T.N. Godavarman Thirumulpad v. Union of India and others2. According to the petitioner, in the light of the observations in these decisions, neither the Mining Department, which has granted prospecting licence to respondent No.6 in respect of forest land nor the District Forest Officer should have granted permission to carry on the intended activity, which inevitably result in contravention of forest laws as well as pollution control laws.
Considering the nature of grievance made by the 1 2010 AIR SCW 6045 2 AIR 2005 SC 4256 WP 6135/2011 3 petitioner, we deem it appropriate to dispose of this petition with a direction to the Principal Secretary, Mining Department, Government of Madhya Pradesh and the Principal Secretary, Forest Department, Government of Madhya Pradesh to reconsider the license/permission granted to respondent No.6 in respect of forest land in the light of the plea taken by the petitioner in the present petition and, in particular, with reference to the dictum of the Apex Court in the two decisions referred to above. If the said Authority is of the opinion that the said licence/permission has been wrongly granted or cannot be allowed to continue further in terms of the decisions of the Apex Court, must initiate appropriate action in that behalf and take final decision expeditiously after following due process and giving opportunity to all concerned. The final decision should be on its own merits and in accordance with law.
The Principal Secretary of the respective Department shall submit compliance report on or before 31st March, 2015.
Matter be listed under caption "Direction" on 6th April, 2015 for considering compliance report.
Subject to above, petition be treated as disposed of.
(A. M. Khanwilkar) (C.V. Sirpurkar) Chief Justice Judge S/


Here is a collection of biographical data describing 110k people involved in the production of photographic images. The information is from trusted biographical dictionaries, catalogs and databases, and from extensive original research by
NYPL Photography Collection staff.
If you are a historian, student, genealogist, or simply lover of photography's history, explore the data!!


{% extends 'base.html' %} {% load static %} {% comment %} Copyright 2015, Institute for Systems Biology Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. {% endcomment %} {% block header %} {% endblock %} {% block content %}
{{ data_item.name}}: {{ data_item.count}}
{% endfor %}


User stories: I can submit a FormData object that includes a file upload. I will receive the file size in bytes in the JSON response.
User stories:
{ "file": "fizzbuzz.erl", "size": 211 }
Upload a file to view its size in bytes.


MANHUNTER A film review by Jeremiah Kipp Copyright 2001 filmcritic.com filmcritic.com
He's a completely different monster than the Wagnerian cannibal glimpsed in The Silence of the Lambs. Released five years earlier, Manhunter (based on the book Red Dragon) views Dr. Hannibal Lecter (spelled Lektor, here) with clinical restraint, as glimpsed in a clean, antiseptic white cell. Respected British actor Brian Cox (Rushmore) would not be so gauche as to flare his nostrils while smelling you -- he'd catch you off guard, throwing away the line about your cheap after shave with "a ship on the bottle" with a bemused note of thinly veiled contempt.
One could discuss Cox's superb performance for the length of an entire review yet he's only in three crucial scenes opposite his captor, semi-retired Will Graham (William L. Petersen, To Live and Die in L.A.). As in Silence, Graham users Lektor as a vessel to recover the mindset of tracking serial killers for the FBI. Lektor's chilly, sensual brilliance pervades the entire film, taking a psychic toll on Graham. Their scenes together alternate between mindfucking stabs ("Dream much, Will?") to vague, unsettling attraction.
The central conflict with Will Graham is his cursed ability to read the mind of a psychopath, but decoding the mind of a killer is no easy matter. Despite the false promises from his friend and supervisor Jack Crawford (Dennis Farina, Snatch) that he'll only be an advisor, Graham finds himself once again slipping into old habits. Before long, he's empathizing with the killer, which may lead to some major breakthroughs in the case while tearing Graham's family apart.
The presence of evil haunts Manhunter, intangibly. The graphic forensics reports Graham prepares, outlining the macabre crime scenes in vivid detail, allow the imagination to fill in what happened within the silent houses and rooms he explores. Graham flatly describes blood on the wall from arterial spray as the victim tried to fight, knowing that the killer was headed for the children's room.
As serial killer Francis Dollarhyde, Tom Noonan (What Happened Was...) is given the role of a lifetime. Introduced at the midpoint of Graham's search, this fiend is both demigod and terrified child trapped within a shy, soft-spoken introvert. Noonan brings an odd, unpredictable stillness to the role, whether softly threatening to staple a victim's eyelids to their forehead or making tender, awkward advances on a blind, fiercely independent co-worker (Joan Allen, The Ice Storm). Dollarhyde is viewed with cool restraint, biding his time until unveiling his twisted fantasy to transform into a God without remorse.
Michael Mann, well regarded for his minute attention to technical as well as psychological detail, is very specific with the FBI procedures. There is a fascinating sequence concerning dusting a victim's eyes for fingerprints and another in which the experts scan a handwritten note from the killer, using infrared lasers to pick up details invisible to the human eye.
While certain elements of Manhunter are slightly dated, such as overdressed cops and the ever-present synthesizer score, Dante Spinotti's crisp visuals still resonate. His vaguely unsettling angles often cramp actors into the corners of a shot. The color scheme is filled with rich, saturated hues that envelop images in a glossy, pungent web. Mann and Spinotti make extensive use of mirrors and shadows, often framing Graham's reflection in glass during crucial moments of duress.
Graham's investigation leads to a harrowing confrontation with Dollarhyde, the troubled beast he had long envisioned on paper. This crucial meeting is symbolized by Graham smashing through a glass doorway, breaking the thin mirror that kept them separate (at least in Graham's mind). Unsubtle, perhaps, but after two hours of slow burning intensity the explosive moment feels earned (accompanied by Iron Butterfly's surprisingly effective In-A-Gadda-Da-Vida).
The most perceptive scene is not the appropriately grisly finale or even the company of Dr. Lektor. It's a brief discussion between Graham and his stepson (David Seaman) walking through the long aisles of a supermarket. The boy asks a few wary questions about Lektor's crimes and their effect on Graham, who recovered through a long period in a mental institution. Graham must provide honest answers while protecting the child from the horrific details. Petersen finds the right balance, investing the scene with careful tenderness.
The release of Manhunter on a limited edition DVD is meant to coincide with Ridley Scott's Hannibal, the long anticipated sequel to Jonathan Demme's eerie Silence of the Lambs. Despite the appearance of Dr. Lecter/Lektor, there's no guarantee of a crossover fan base. Manhunter lacks catchy one-liners about eating someone's liver with fava beans and a nice chianti (fh-fh-fh-fh), nor does it present cold blooded psychopaths as pop culture icons befitting a t-shirt.
Instead, Michael Mann unnerves his viewers with this psychologically slippery, contemplative and disturbing thriller about a detective searching under his own skin for the criminal impulse. As Lektor reminds Graham, "The reason you caught me is we're just alike. You want the scent? Smell yourself." As Graham ultimately discovers, once you enter the mind of the killer, you may never return.
RATING: ****1/2
|------------------------------| \ ***** Perfection \ \ **** Good, memorable film \ \ *** Average, hits and misses \ \ ** Sub-par on many levels \ \ * Unquestionably awful \ |------------------------------|
MPAA Rating: R
Director: Michael Mann Producers: Richard A. Roth Writer: Michael Mann Starring: William L. Petersen, Kim Greist, Joan Allen, Brian Cox, Dennis Farina, Stephen Lang, Tom Noonan
No web site. --- http://www.amazon.com/exec/obidos/redirect?tag=filmcriticcom&path=subst/video/sellers/amazon-top-100-dvd.html Movie Fiends: Check out Amazon.com's Top 100 Hot DVDs!
Visit filmcritic.com on the Web at http://www.filmcritic.com
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Topics Today
- Ember Refresh
- Data Down
- Actions Up
- Computed Properties
- Demo
Ember Refresh
- Router - URL setup / Load Data
- Model - Data
- Controller - link model/data to view
- Template/View - HTML / handlebars
- Application - Top Hierarchy
- Routes ↓ Child Routes/Controllers
- Controller ↘ Templates
- Templates ↓ Components ↘ Controllers...
Receiver => Controller or Route
actions: {
dataChangedAction(selectedData) {
// Note selectedData was passed from the template for context
// Do something awesome
// change route
// update data
// swap components by changing conditions
// etc.
}
}
- This will bubble up
- Order: Controller, Route Hierarchy, then Application Route
- An error will be produced if no receiver
- Simple unless you have to go up multiple levels
- Passed from controller to template/component
- {{cover-flow dataList=model selectedData=selectedData dataChangedAction=(action "dataChangedAction")}}
- Inside coverflow component
- this.get('dataChangedAction')(selectedData);
- Declare properties as functions
- 'Dependent' keys
- Keeps track of data changes (specified)
marks the property to be ran once called
Quick Q & A / DEMO


emnlp emnlp2011 emnlp2011-64 emnlp2011-64-reference knowledge-graph by maker-knowledge-mining
Source: pdf
Author: Ziqi Zhang ; Anna Lisa Gentile ; Fabio Ciravegna
Abstract: Measuring semantic relatedness between words or concepts is a crucial process to many Natural Language Processing tasks. Exiting methods exploit semantic evidence from a single knowledge source, and are predominantly evaluated only in the general domain. This paper introduces a method of harnessing different knowledge sources under a uniform model for measuring semantic relatedness between words or concepts. Using Wikipedia and WordNet as examples, and evaluated in both the general and biomedical domains, it successfully combines strengths from both knowledge sources and outperforms stateof-the-art on many datasets.


{% extends 'base.html' %} {% block title %}Success!!{% endblock %} {% block content %}
Total members :{{ seats }} Rate :{{ offrate }} Total : {{ seats }} x {{ offrate }} = {{ total }}


easybook test book #1
Javier Eguiluz
Chapter 1
Publishing your first book
1.1
Downloading easybook
1.2
Creating the book
1.3
Writing the book
1.4
Publishing the book
1.5
Book configuration options
Chapter 2
Publishing your second book
2.1
Content types
2.2
Editions
2.3
Themes
Chapter 3
Publishing your third book
3.1
Creating your own theme
3.2
Plugins
3.3
Advanced features


You may click on the questions to view the answers.
You may read my writeup on Vint Cerf here.
You may read my bash command reference here.
Q1. What are the two link-layer protocols, and when would each be used?
A1. TCP: when data must be reliably transfered, UDP: when data loss is acceptable
Q2. What are 3 different types of DNS Records?
A2. A, MX, CNAME, TXT, NS
Q3. What are the three types of DOS attacks
A3. Vulnerability Attack, Bandwidth Flooding, Connection Flooding
Q4. Name the inventors of the TCP/IP protocol.
A4. Vint Cerf and Robert Kahn
Q5. Name two issues with P2P networking.
A5. Upstream resedential ISP speeds, finding initial peers, security
Q6. What two "layers" from OSI must be implemented in the Application Layer?
A6. Presentation and Session
Q7. What is the difference between a virus and a worm?
A7. A virus is malware that is user-executed, a worm automatically runs
Q8. What are the three prominent different types of mail server protocols?
A8. IMAP, POP3, and SMTP


24 March 2015
Released my first modded map: the Unreal Geometry Map.
16 February 2015
DesnoGuns Mod r004
24 January 2015
DesnoGuns Mod r003
12 December 2014
DesnoGuns Mod released!
7 December 2014
A new mod is going to be released Friday the 12th of December! It will bring a lot of guns and weapons.
19 October 2014
App released on the Google Play Store!


The URL you requested is missing or moved
The link you requested is not available. You can access the PIRCS home page to start your exploration of this site.
PIRCS home page


The Book of Psalms
Book One
Psalm 1
1 Blessed is the man who does not walk in the advice of the wicked,
or stand in the pathway with sinners,
or sit in the assembly of mockers.
2 But his delight is in the law of Yahweh,
and on his law he meditates day and night.
3 He will be like a tree planted by the streams of water
that produces its fruit in its season,
whose leaves do not wither;
whatever he does will prosper.
4 The wicked are not so,
but are instead like the chaff that the wind drives away.
5 So the wicked will not stand in the judgment,
nor sinners in the assembly of the righteous.
6 For Yahweh approves of the way of the righteous,
but the way of the wicked will perish.


Track Suggester
Fill out the form below to see which Epicodus
track
best suits you!
Your age
Gender
Click dropdown
Male
Female
Other
Experience Level
Click dropdown
Less than one year
One to three years
More than three years
Type of work you're interested in
Click dropdown
Mobile development
Content-heavy websites
Interactive web applications
Company size you're interested in
Click dropdown
Large company
Medium-sized company
Small startups
View Result!
The track that best suits you is Java.
The track that best suits you is PHP.
The track that best suits you is Ruby.


Creation of our club
In January 2014, Creative Electronics Club (CEC) was founded by a group of parents interested in electronics and maker education. So far, Creative Electronics Club consists of six coaches who have background and experience in electronic engineering and creative thinking.
The purpose of the CEC was to master students' understanding of electronics, to promote a creative atmosphere, to stimulate students' potential on technology, science, engineering, and mathematics, and to lay bright future for students' future development. The course is based on the students' after-school hobbies. CEC is not a formal technical training class, but CEC still focuses on the students' academics. Our teaching method is to avoid using traditional words and theories to teach. The teaching methods are mainly based on physical internships to inspire students' interest in electronic creativity.
Club's Aim
Vision：
1) Inspire students' potential for electronic technology, science, engineering, and mathematics.
2) Develop a positive interest in students.
Mission：
1) Produce the electronic gadgets required by the school.
2) Represent our school in competitions
3) Apply STEAM in daily life.
Creed:
1) Believe you can change the world.
2) Work quickly, work at any time, and the tools are on call.
3) Understand when to be independent and when to work with the team.
4) Share your ideas and tools with your teammates and trust them.

6) User decides if your work is done well.
7) Radical ideas are not always a bad idea.
8) Create different working methods.
9) Contribute every day. If you don't contribute on the day, you are not leaving the makerspace.
10) Believe that teamwork can be done in all things.
11) Invention and innovation.


cLASSjs
A JS library for defining
- enumerations;
- constructor-based classes (and class hierarchies) with semantic meta-data (e.g., for declarative constraint validation);
- storage adapters that facilitate switching from one storage technology (such as IndexedDB) to another one (such as MySQL);
- view models for model-based user interfaces.
Use Case 1: Handling Enumerations and Enumeration Attributes
Defining an Enumeration
var WeatherStateEL = new eNUMERATION ("WeatherStateEL",
["sunny", "partly cloudy", "cloudy", "cloudy with rain", "rainy"]);
Using an Enumeration as the Range of an Attribute
var Weather = new cLASS({ Name: "Weather", properties: { "weatherState": {range: WeatherStateEL, label: "Weather conditions"}, "temperature": {range: "Decimal", label: "Temperature"} }, methods: {...} });
Using Enumeration Literals
Recall that enumeration literals are constants that stand for a positive integer (the enumeration index).
For instance, the enum literal WeatherStateEL.SUNNY
stands for the enum index 1. In program code, we
do not use the enum index, but rather the enum literal. For instance,
var theWeather = new Weather({ weatherState: WeatherStateEL.SUNNY, // do not use the enum index value 1 temperature: 30 })
Looping over an Enumeration
We loop over the enumeration WeatherStateEL
with a for
loop counting from 1
to WeatherStateEL.MAX
:
for (let weatherState = 1; weatherState <= WeatherStateEL.MAX; weatherState++) { switch (weatherState) { case WeatherStateEL.SUNNY: ... break; case WeatherStateEL.PARTLY_CLOUDY: ... break; } }
Use Case 2: Flexible Data Storage Management with Storage Adapters
cLASSjs comes with a sTORAGEmANAGER class and two storage
adapters for using localStorage
or ìndexedDB
.
A storage manager works like a wrapper of the methods of an adapter.
The storage manager methods invoke corresponding methods of its adapter. The following code example shows how to use a storage manager for invoking
a data retrieval operation on a model class Book
:
var storageAdapter = {name:"IndexedDB", dbName:"Test"};
var storageManager = new sTORAGEmANAGER( storageAdapter);
storageManager.retrieveAll( Book).then( list);
Since the IndexedDB technology is much more powerful, it is normally preferred for local data storage. However, older browsers (such as IE 9) may not support it. In this case we can easily fall back to LocalStorage in the following way:
var storageAdapter = {dbName:"Test"}, storageManager = null; if (!("indexedDB" in window)) { console.log("This browser doesn't support IndexedDB. Falling back to LocalStorage."); storageAdapter.name = "LocalStorage"; } else { storageAdapter.name = "IndexedDB"; } storageManager = new sTORAGEmANAGER( storageAdapter);
Use Case 3: Declarative Constraint Valdiation
cLASSjs allows defining property constraints in a model class created with cLASS:
var Book = new cLASS({ Name: "Book", properties: { "id": {range:"NonEmptyString", label:"ISBN", pattern:/\b\d{9}(\d|X)\b/, patternMessage:"The ISBN must be a 10-digit string or a 9-digit string followed by 'X'!"}, "title": {range:"NonEmptyString", min: 2, max: 50}, "year": {range:"Integer", min: 1459, max: util.nextYear()}, "edition": {range:"PositiveInteger", optional: true} } });
The constraints defined for a property in a model class can be checked on input/change and before submit in an HTML form and, in addition,
before commit in the add
and update
methods of a storage manager, using the generic validation method
cLASS.check
, as shown in the following example:
var formEl = document.querySelector("#Book-Create > form"); // loop over Book.properties and add event listeners for validation on input Object.keys( Book.properties).forEach( function (prop) { var propDecl = Book.properties[prop]; formEl[prop].addEventListener("input", function () { var errMsg = cLASS.check( prop, propDecl, formEl[prop].value).message; formEl[prop].setCustomValidity( errMsg); }); });


The Adventures of Robin Hood (1938)
Grade: 65
One of the first technicolor spectaculars, "The Adventures of Robin Hood" was an enormous commercial and critical success. The sets, costumes and cast were the best that Warner Brothers could provide. There was only one problem: in a successful attempt to provide family entertainment, the characters were simplified and even became cartoonish.
The cast was excellent. Swashbuckler Errol Flynn was perfect for the role of Robin Hood. Dashing, chivalric and energetic, Flynn set an impossible standard for future actors to live up to. Claude Rains made a creepy, scheming Prince John, while Basil Rathbone, courageous but diabolical, was a fine villain. Finally, Olivia De Havilland was up to the role of Maid Marian; young, lovely and able to switch gracefully between imperious royalty and willing love interest.
Well, you know the story. Good King Richard of England (Ian Hunter) is captured during the Crusades and held for ransom. Prince John takes over and becomes a brutal tax-hungry despot. Sir Guy and the cowardly Sheriff of Nottingham (Melville Cooper) are his henchmen. Sir Robin of Locksley turns bandit to fight the oppressors, becoming Robin Hood.
Robin quickly gains colorful sidekicks which include Little John (Alan Hale) and Friar Tuck (Popeye-voiced Eugene Pallette). Maid Marian, initially disdainful of Robin, is soon converted to his side. Prince John doesn't stand a chance, but uses treachery in the form of an archery contest to even the odds.
It's all in good fun, and for the family as well, since most all of the inevitable violence occurs off-camera. Still, the characters except for Robin Hood and Prince John are lacking in depth. There's adventure, for sure, but little room for character exploration.
<EMAIL_ADDRESS>http://members.tripod.com/~Brian_Koller/movies.html
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


In the navigator under "Extensions" click on "Taxonomy". A list of available taxonomies is shown.
In the above Taxonomy configuration page, click on "Add New Taxonomy". A configuration page with a sample taxonomy configuration is shown. Click on save to save the configuration or cancel to return to available taxonomy configuration list.
Click on corresponding "Edit" link found under each taxonomy configuration, from taxonomy configuration list. A configuration page with the taxonomy configuration is shown.
Click on corresponding "Delete" link found under each taxonomy configuration, from taxonomy configuration list.
Following is the template of the taxonomy configuration. In the configuration, the xml element structure should strictly followed. The configuration elements and their usage is defined inline with the elements.
<taxonomy id="Teams" name="Teams"> <root id="developmentTeam" displayName="Development team"> <node id="newJersey" displayName="New Jersey"> <node id="theRockStars" displayName="The Rock Stars"></node> <node id="topShelf" displayName="Top Shelf"></node> </node> <node id="boston" displayName="Boston"> <node id="thinkTank" displayName="Think Tank"></node> <node id="conceptCrew" displayName="Concept Crew"></node> <node id="theDominators" displayName="The Dominators"></node> </node> <node id="chicago" displayName="Chicago"> <node id="centurions" displayName="Centurions"/> </node> </root> </taxonomy>


Curated cohort of exceptional talent at Queen's Business Consulting - Winter Team
Worth of business decisions under advisory
People impacted under advisory
High-impact project teams
"Robert Tan is an organised and extremely intelligent manager offering a systematic approach to management allowing me to think of how to apply frameworks and strategies to my project."
- Former Consultant
My leadership lessons
I
have learned a plethora of invaluable lessons during my time as a manager at QBC. Vision. Expectations. Support. These are just some of the critical themes I learned which I will carry with forever in my career.
However, the ultimate lesson I principled is the following: In order to bring out the best in your people, the leader cannot stop at the quest of besting him/herself.
I look forward to my future journeys, the lessons they will provide, and my ever better selves.
"Robert is highly detail-oriented, very structured in communications, and a long term thinker."
- Former Consultant


Support for spectral distributions which are used to describe light and remittance spectra.
The package also contains some data files containing often used spectra, like the Munsell Book of Colors or some standard daylight distributions.
A
The classes SpectralLightSource and SpectralLightFilter are derived from SpectralDistribution. A spectral light source has a spectral distribution function and a luminance. The luminance is that luminance which would result from a perfect white reflector illuminated by this light source. The light source also contains experimental parameters for the name of the spectral distribution and the luminance value. Both of these implement the interface LightEmitter which describes objects which can have listeners to changes of spectral distributions. Both SpectralLightSource and SpectralLightFilter objects are used to build objects of class FilteredSpectralLight. Every object of this class has a light source and possibly multiple layers of SpectralLightFilters. The light emitted by a FilteredSpectral Light object can be used to determine CIE chromaticity coordinates.
The package also contains classes which may be used to display spectral distribution charts on the screen and even modify these charts using the mouse. A SpectralDistributionPanel can hold multiple SpectralDistributionChart objects and these are able to listen to changes of the attached spectra and display these.