Some of the capabilities listed in these pages for Dispatch are for future releases and are supplied for the purpose of illustrating the potential of a message router. This section outlines the actual capabilities of version 0.1:
Download and extract the source tar file:
$ wget http://people.apache.org/~tross/qpid-dispatch-0.1rc5/qpid-dispatch-0.1.tar.gz
$ tar -xzf qpid-dispatch-0.1.tar.gz
Source the build configuration:
$ cd qpid-dispatch-0.1
$ source config.sh
Build and test the package. This will create two directories: 'build' and 'install'. Dispatch will be built in the 'build' directory and installed in the 'install' directory. The regression and system test suites will then be run against the installed bits.
$ bin/test.sh
If you wish to change the build configuration, go into the build directory, use cmake to configure your build then rebuild and/or reinstall from there:
$ cd build
$ cmake ..
$ make
$ make install
The default configuration file is installed in _install-prefix_/etc/qpid/qdrouterd.conf. This configuration file will cause the router to run in standalone mode, listening on the standard AMQP port (5672). Dispatch Router looks for the configuration file in the installed location by default. If you wish to use a different path, the "-c" command line option will instruct Dispatch Router as to which configuration to load.
To run the router, invoke the executable:
$ qdrouterd
Dispatch Router should, in theory, work with any client that is compatible with AMQP 1.0. The following clients have been tested:
| Client | Notes |
|---|---|
| qpid::messaging | The Qpid messaging clients work with Dispatch Router as long as they are configured to use the 1.0 version of the protocol. To enable AMQP 1.0 in the C++ client, use the {protocol:amqp1.0} connection option. |
| Proton Messenger | Messenger works with Dispatch Router. |
Installed with the Dispatch Router kit is a command line tool called qdstat. This tool can be used to view manageable data inside Dispatch Router. The following options are useful for seeing that the router is doing:
| Option | Description |
|---|---|
| -l | Print a list of AMQP links attached to the router. Links are unidirectional. Outgoing links are usually associated with a subscription address. The tool distinguishes between _endpoint_ links and _router_ links. Endpoint links are attached to clients using the router. Router links are attached to other routers in a network of routers. |
| -a | Print a list of addresses known to the router. |
| -n | Print a list of known routers in the network. |
| -c | Print a list of connections to the router. |
The router can operate stand-alone or as a node in a network of routers. The mode is configured in the _router_ section of the configuration file. In stand-alone mode, the router does not attempt to collaborate with any other routers and only routes messages among directly connected endpoints.
If your router is running in stand-alone mode, _qdstat -a_ will look like the following:
$ qdstat -a
Router Addresses
class address in-proc local remote in out thru to-proc from-proc
===============================================================================
local $management Y 0 0 1 0 0 1 0
local temp.AY81ga 1 0 0 0 0 0 0
Note that there are two known addresses. _$management_ is the address of the router's embedded management agent. _temp.AY81ga_ is the temporary reply-to address of the _qdstat_ client making requests to the agent.
If you change the mode to interior and restart the processs, the same command will yield two additional addresses which are used for inter-router communication:
$ qdstat -a
Router Addresses
class address in-proc local remote in out thru to-proc from-proc
===============================================================================
local $management Y 0 0 1 0 0 1 0
local qdhello Y 0 0 0 0 0 0 3
local qdrouter Y 0 0 0 0 0 0 1
local temp.khOpGb 1 0 0 0 0 0 0
The term "mobile subscriber" simply refers to the fact that a client may connect to the router and subscribe to an address to receive messages sent to that address. No matter where in the network the subscriber attaches, the messages will be routed to the appropriate destination.
To illustrate a subscription on a stand-alone router, you can use the examples that are provided with Qpid Proton. Using the _recv.py_ example receiver:
$ recv.py amqp://<IP_ADDRESS>/my-address
This command creates a receiving link subscribed to the specified address. To verify the subscription:
$ qdstat -a
Router Addresses
class address in-proc local remote in out thru to-proc from-proc
================================================================================
local $management Y 0 0 1 0 0 1 0
mobile my-address 1 0 0 0 0 0 0
local temp.fDt8_a 1 0 0 0 0 0 0
You can then, in a separate command window, run a sender to produce messages to that address:
$ send.py -a amqp://<IP_ADDRESS>/my-address
Dynamic reply-to can be used to obtain a reply-to address that routes back to a client's receiving link regardless of how many hops it has to take to get there. To illustrate this feature, see below a simple program (written in C++ against the qpid::messaging API) that queries the management agent of the attached router for a list of other known routers' management addresses.
#include <qpid/messaging/Address.h>
#include <qpid/messaging/Connection.h>
#include <qpid/messaging/Message.h>
#include <qpid/messaging/Receiver.h>
#include <qpid/messaging/Sender.h>
#include <qpid/messaging/Session.h>
using namespace qpid::messaging;
using namespace qpid::types;
using std::stringstream;
using std::string;
int main() {
const char* url = "amqp:tcp:<IP_ADDRESS>:5672";
std::string connectionOptions = "{protocol:amqp1.0}";
Connection connection(url, connectionOptions);
connection.open();
Session session = connection.createSession();
Sender sender = session.createSender("mgmt");
// create reply receiver and get the reply-to address
Receiver receiver = session.createReceiver("#");
Address responseAddress = receiver.getAddress();
Message request;
request.setReplyTo(responseAddress);
request.setProperty("x-amqp-to", "amqp:/_local/$management");
request.setProperty("operation", "DISCOVER-MGMT-NODES");
request.setProperty("type", "org.amqp.management");
request.setProperty("name, "self");
sender.send(request);
Message response = receiver.fetch();
Variant content(response.getContentObject());
std::cout << "Response: " << content << std::endl << std::endl;
connection.close();
}
The equivalent program written in Python against the Proton Messenger API:
from proton import Messenger, Message
def main():
host = "<IP_ADDRESS>:5672"
messenger = Messenger()
messenger.start()
messenger.route("amqp:/*", "amqp://%s/$1" % host)
reply_subscription = messenger.subscribe("amqp:/#")
reply_address = reply_subscription.address
request = Message()
response = Message()
request.address = "amqp:/_local/$management"
request.reply_to = reply_address
request.properties = {u'operation' : u'DISCOVER-MGMT-NODES',
u'type' : u'org.amqp.management',
u'name' : u'self'}
messenger.put(request)
messenger.send()
messenger.recv()
messenger.get(response)
print "Response: %r" % response.body
messenger.stop()
main()
This is an early test release. It is expected that users will find bugs and other various instabilities. The main goal of this release is to prove that the process can be run and that users can demonstrate basic functionality as described in this document. Nevertheless, the following are known issues with the 0.1 release:
Apache Qpid, Messaging built on AMQP; Copyright © 2015 The Apache Software Foundation; Licensed under the Apache License, Version 2.0; Apache Qpid, Qpid, Qpid Proton, Proton, Apache, the Apache feather logo, and the Apache Qpid project logo are trademarks of The Apache Software Foundation; All other marks mentioned may be trademarks or registered trademarks of their respective owners


(CW17) Adversarial Examples Are Not Easily Detected - Bypassing Ten Detection Methods
Posted: 2018-04-05 , Modified: 2018-04-05
Tags: neural nets, adversarial examples
Posted: 2018-04-05 , Modified: 2018-04-05
Tags: neural nets, adversarial examples
Carlini and Wagner defeat 10 proposed methods of detecting adversarial examples for neural networks.
It seems easier produce a detector for adversarial examples (where you don’t have to classify then correctly) than classify them correctly, so this is a strong result.
They recommend:
They consider 3 attack models, in order of increasing power:
Known as “C&W’s attack”.
In words: given \(x\), and given a target class \(t\), find \(x'\) that is
There is a tradeoff as you can weight these two objectives differently (do a binary search to find the best tradeoff).
In symbols (needs a parameter \(c\) and \(\ka\)) \[\begin{align} &\min_{x'}\ba{\ve{x'-x}_2^2 + c\ell(x')}\\ \ell(x') :&= \max \pa{ \max \set{Z(x')_i}{i\ne t} -Z(x')_t,-\kappa } \end{align}\]There are 3 defenses that use neural nets, 3 that use PCA, 2 that are statistical.
The table records how the attacks do. (A means attack succeeds, D means defense succeeds.)
| Defense (citation number in paper) | Description | Zero-Knowledge | Limited-Knowledge | Perfect-Knowledge |
|---|---|---|---|---|
| [15] (NN) | Train for (N+1)-way classification, additional class for adversarial examples. | D | A | A |
| [12] (NN) | Train a NN to classify between real/adversarial. (Reduce to [15].) | D | A | A |
| [18] (NN) | Train a detection network that takes input from intermediate layers. | D (mostly) | A | A |
| [19] (PCA) | Authors noted that coefficients of adversarial examples for small principal components were unusually large - but this is an artifact of MNIST: border pixels are often 0 for real examples and nonzero for adversarial examples. Attack: restrict adversary to top k PC’s. | - | - | A |
| [4] (PCA) | Dimensionality reduction: project to top k PC’s, then feed through rest of network. Attack: restrict adversary to top k PC’s. | - | - | A |
| [24] (PCA) | Do PCA on inner convolutional layers. Each layer has a detector which is a SVM on the coefficients in the PCA basis. Accept only if ALL detectors accept. Result: when trained against C&W’s attack, SVM fails to separate real and adversarial examples well. | - | - | A |
| [11] (Stat) | Model final layer activations as a gaussian mixture model; reject if probability density is small on the data point. Attack: add clamped “negative log likelihood” term to the objective function of the attacker. | A (CIFAR), D (MNIST) | A | A |
| [15] (Stat) | Attempts to detect whether the test distribution is different from the training distribution (ex. the test distribution is adversarial) using the MMD statistical test (see more below). This is defeated by a black-box attack! | A | A | A |
| [11] (Randomization) | Apply dropout. Repeat many times with different randomization. Idea is that for real inputs, different trials will tend to agree; if there is too large a discrepancy between different trials, reject. | D | D/A (need huge distortion to attack) | A (but need +80% distortion) |
| [24] | Apply mean blur on 3x3 patches | D | - | A |
(See [15] (Stat) in table above.)
Note that this defense takes a set of examples and tests whether it’s drawn from the same distribution as the train data - it doesn’t operate on a per-example basis. (So it also doesn’t “produce” a discriminator, it’s really a hypothesis test on distributions.)
The test considered in the paper only operates on the inputs, not hidden layer activations (potentially, considering the hidden layers can help! But it doesn’t seem like this was done.).
The MMD operates as follows. Given a class of functions (e.g. they use a (ball in) Gaussian kernel space), find the function for which \(\hat \E f(x_i) - \hat \E f(y_i)\) is largest where \(\{x_i\}\) and \(\{y_i\}\) are the two samples and \(\hat \E\) means average. If this is significantly larger than when \(x_i,y_i\) are drawn from the same distribution (the training distribution), then reject the hypothesis that they are drawn from the same distribution; otherwise fail to reject.
The authors found the defense successful against FGSM, JSMA, but Carlini and Wagner broke it with C&W’s attack.


Buy Jindal Steel and Power; target of Rs 170: Prabhudas Lilladher
Prabhudas Lilladher is bullish on Jindal Steel and Power has recommended buy rating on the stock with a target price of Rs 170 in its research report dated November 04, 2019.
by Broker ResearchPrabhudas Lilladher's research report on Jindal Steel and Power
Jindal Steel and Power (JSP) won Gare Palma IV/1 coal block in auction at Rs230/t. The coal block has extraction capacity of 6mtpa with reserves of ~160mnt. Before cancellation by the honorable Supreme Court in September-2014, the block was owned and operated by JSP to meet coal requirement of its sponge iron ore and CPP at Raigarh plant. Benefitted by proximity of mine to its plant and owned infrastructure, JSP was best placed to win the auction. We see the bid as a significant positive development for JSP as this would lower its coal cost by Rs1,300/t (for 6mtpa of coal) along with much needed raw material security in wake of severe shortage of domestic coal.
Outlook
We expect coal block to add Rs46bn (Rs46/share) to the equity value based on EV/EBITDA of 5.5x to the assumed cost saving of Rs8.3bn. Led by key positive change on cost and RM security, sharp increase in production and strong scope for improvement in Jindal Power, we upgrade the stock to BUY with TP of Rs170.
For all recommendations report, click here
Disclaimer: The views and investment tips expressed by investment experts/broking houses/rating agencies on moneycontrol.com are their own, and not that of the website or its management. Moneycontrol.com advises users to check with certified experts before taking any investment decisions.
Special Thursday Expiry on 10th 7th Nov
Early Closure to The Great Diwali Discount. Last Chance to get Moneycontrol PRO for a year @ Rs. 289/- only
Coupon code: DIWALI


Make: {{furn.make}}
Model: {{furn.model}}
Year: {{furn.year}}
Description: {{furn.description}}
Price: {{furn.price}}
Material: {{furn.material}}


| Overview | Module | Use | Devguide | Index |
| Nested Modules | Services | Singletons | Interfaces | Structs | Exceptions | Enums | Typedefs | Constant Groups |
| module data |
| Services | |
| DataFilter | A filter gets some data and provides some data. The received data is typically (but not necessarily) different from the data that can be retrieved by a filter. |
| DataProvider | |
| DataSequence | describes a container for a sequence of values. |
| DataSink | describes a service that allows reading two-dimensional data in the form of a sequence of DataSequences. |
| DataSource | describes a service that allows reading two-dimensional data in the form of a sequence of DataSequences. |
| DatabaseDataProvider | |
| LabeledDataSequence | describes a container for a sequence pair of value-sequences, one for a label and one for the associated data. |
| RangeHighlightListener | A selection change listener that is attached to a XRangeHighlighter in order to get notified about selection changes that affect range hightlighting. |
| RangeHighlighter | |
| TabularDataProviderArguments |
| Interfaces | |
| XDataProvider | An application that provides data for a chart must implement this interface. |
| XDataReceiver | |
| XDataSequence | allows acces to a one-dimensional sequence of data. |
| XDataSink | is a container for sequences of data. With this interface data can only be written to. |
| XDataSource | provides access to sequences of data. With this interface data can only be read from. |
| XDatabaseDataProvider | identifies a XDataProvider for result sets. |
| XLabeledDataSequence | allows acces to a one-dimensional sequence of data. |
| XNumericalDataSequence | allows acces to a one-dimensional sequence of double precision floating-point numbers. |
| XRangeHighlighter | |
| XRangeXMLConversion | An application that provides data for a chart must implement this interface. |
| XTextualDataSequence | allows acces to a one-dimensional sequence of strings. |
| Structs | |
| HighlightedRange |
| Enums | |
| LabelOrigin | is used to specify how the labels have to be created. |
| Typedefs | |
| DataSequenceRole | a string that states in what way a DataSequence should be used. If this property is an empty string, no proposition about usage is made. |
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.


APPName
Email
Password
log-in
Forgot your Password?
New here ?
Sign up
- Or -
Sign out Google
Sign out Facebook


Portfolio
AFI Fan Site
My favorite band, AFI, this is a tribute to them. Pre-work for the GWU Boot Camp.
See The AFI Fan SiteCreate a List App
Create a simple list, add items, remove them, check them off. That's about it!
Create a List NowMy favorite band, AFI, this is a tribute to them. Pre-work for the GWU Boot Camp.
See The AFI Fan SiteCreate a simple list, add items, remove them, check them off. That's about it!
Create a List Now


We are reviewing your request and will email you soon.
Your new vendor will be available in the portal within a few minutes.
Automatically redirecting you to the home page in 10 seconds.
If you are not automatically redirected, please click here.


dyn-init
~/dyndoc/etc/dyndoc_library_path
(maybe later is better since you don't have any personal library yet): this a semicolon separated list of paths supposed to contain dyndoc library.dyndoc test: open a terminal and go to dyndoc folder (HOME/dyndoc
)
cd demo
dyn first
pdflatex first
Normally, if everything is fine, first.tex
and first.pdf
are created.


Byteman has a collection of N squares with side 1. How many different rectangles can he form using these squares?
Two rectangles are considered different if none of them can be rotated and moved to obtain the second one. During rectangle construction, Byteman can neither deform the squares nor put any squares upon any other ones.
The first and only line of the standard input contains one integer N (1 <= N <= 10000).
The first and only line of the standard output should contain a single integer equal to the number of different rectangles that Byteman can form using his squares.
For the input data:
6
the correct result is:
8
Task author: Jakub Radoszewski.


edit-word
demo
Personal ID Card
NAME MISSING
AGE MISSING
OCCUPATION MISSING
Morgan
Stanley
36
Accountant
My name is
Chris
, the man said.


Create a console app with the following code. (You will need to set the language version to C# 7.1 or greater)
```c# static async Task Main(string[] args) { var sw = new Stopwatch(); sw.Start();
await ProcessWhichTakes2Seconds();
Thread.Sleep(TimeSpan.FromSeconds(1));
Console.WriteLine("Completed 1 second delay");
sw.Stop();
Console.WriteLine($"Time taken {Math.Round(sw.Elapsed.TotalSeconds, 2)}s");
Console.ReadKey(true);
}
private static async Task ProcessWhichTakes2Seconds() { await Task.Run(() => Thread.Sleep(TimeSpan.FromSeconds(2))); Console.WriteLine("Completed ProcessWhichTakes2Seconds"); } ```
Read through the code and work out which you expect it to do. Then run it.
You should see output along the lines of
Completed ProcessWhichTakes2Seconds
Completed 1 second delay
Time taken 3.09s
Question - how can we speed this code up?
Try
```c# static async Task Main(string[] args) { var sw = new Stopwatch(); sw.Start();
var task = ProcessWhichTakes2Seconds();
Thread.Sleep(TimeSpan.FromSeconds(1));
Console.WriteLine("Completed 1 second delay");
await task;
sw.Stop();
Console.WriteLine($"Time taken {Math.Round(sw.Elapsed.TotalSeconds, 2)}s");
Console.ReadKey(true);
} ```


DAS BOOT A film review by Chad Polenz Copyright 1997 Chad Polenz
**1/2 (out of 4 = OK) 1981, R, 150 minutes [2 hours, 30 minutes] [drama/war] starring: Jurgen Prochnow (The captain), Herbert Gronemeyer (Lieutenant Werner), Klaus Wennemann (Chief Engineer), Erwin Leder (Johann), produced by Gunter Rohrback, Michael Bittins, written and directed by Wolfgang Petersen, based on the novel by Lothar-Guenther Buchheim.
"Das Boot" is both excellent and mediocre at the same time. It works as a triumph in production design and superb cinematography. However, the premise is rooted in our interest in the characters and their mission. But we don't get good characterization nor an interesting plot, and this is why the film falls short of greatness.
In the tradition of the war genre, the story is of a single military troop, their mission, daily activities, and struggle to survive. The setting is World War II, but what is so unique about this situation is its perspective. Instead of a glamorous, romantic story of the righteous Allies, here we get a realistic and somewhat sympathetic story that just happens to be about the crew of a German U-Boat (submarine).
Most of the film takes place inside a 10-foot by 150-foot submarine. The cinematography and intricate detail and design of the vessel work together to make for a sense of claustrophobia. The actual camera work is impressive considering the small space with which to work.
The first hour goes through the necessary steps to lay down the basics for the more important elements. We see soldiers having a great time at a going away party and then their fears of not coming back. When they are inside the sub, attempts to make for comradery and humanism are only hinted at. For example, a seaman has a picture of his fiancee and tells of the problems they will face when (or if) he comes home. There are also card games, discussions about sex, and shots of everyone working together. The problem is they are told in a blatantly plugged-in manner.
The officers are only a bit more sympathetic. The captain (Prochnow) is smart but he doesn't seem to care much about anything. Lieutenant Werner (Gronemeyer) doesn't seem to have a purpose other than listening to the others and missing home. There is also the chief engineer (Wennemann), and another officer named Johann (Leder), who are somewhat interesting, but not as much as they could be.
Little happens in terms of plot and conflict. The first act makes an attempt at characterization, but the middle act suddenly becomes a series of confusing naval battles. The battle scenes are, at first, told with detail and are visually impressive. The submarine is bombarded with depth charges and seems to be slowly falling apart. After a while, it doesn't seem believable that such a crude ship could survive the amount of damage it takes.
The final act is a bit much. The submarine is nearly destroyed and the officers and crew become deathly afraid for their lives. The ending itself should be classic, poetic irony, but I didn't see it that way.
The main reason "Das Boot" is not the grim, realistic portrayal of war it aims to be is because it is too technical and frigid. Perhaps it works this way to keep with its theme, but the story is basically about the characters. They obviously represent the pawns of war, but don't necessarily seem innocent because we never get to know them that well.
[Note: the subtitles were not done well. I often found myself missing pieces of dialogue because they disappeared very quickly. Also, there were many spelling, capitalization, and usage errors.]
please visit Chad'z Movie page @ http://members.aol.com/ChadPolenz/index.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


Setuptools Integration¶
When writing command line utilities, it’s recommended to write them as modules that are distributed with setuptools instead of using Unix shebangs.
Why would you want to do that?  This might sound like a small issue but it has quite significant implications.
The first module is not called by its actual name, but the interpreter renames it to
__main__
. While that is a perfectly valid name it means that if another piece of code wants to import from that module it will trigger the import a second time under its real name and all of a sudden your code is imported twice.Not on all platforms are things that easy to execute. On Linux and OS X you can add a comment to the beginning of the file (
#!/usr/bin/env python
) and your script works like an executable (assuming it has the executable bit set). This however does not work on Windows. While on Windows you can associate interpreters with file extensions (like having everything ending in.py
execute through the Python interpreter) you will then run into issues if you want to use the script in a virtualenv.In fact running a script in a virtualenv is an issue with OS X and Linux as well. With the traditional approach you need to have the whole virtualenv activated so that the correct Python interpreter is used. Not very user friendly.
The main trick only works if the script is a Python module. If your application grows too large and you want to start using a package you will run into issues.
Introduction¶
To bundle your script with setuptools, all you need is the script in a
Python package and a setup.py
file.
Imagine this directory structure:
yourscript.py
setup.py
Contents of yourscript.py
:
import click
@click.command()
def cli():
"""Example script."""
click.echo('Hello World!')
Contents of setup.py
:
from setuptools import setup
setup(
name='yourscript',
version='0.1',
py_modules=['yourscript'],
install_requires=[
'Click',
],
entry_points='''
[console_scripts]
yourscript=yourscript:cli
''',
)
The magic is in the entry_points
parameter. Below
console_scripts
, each line identifies one console script. The first
part before the equals sign (=
) is the name of the script that should
be generated, the second part is the import path followed by a colon
(:
) with the Click command.
That’s it.
Testing The Script¶
To test the script, you can make a new virtualenv and then install your package:
$ virtualenv venv
$ . venv/bin/activate
$ pip install --editable .
Afterwards, your command should be available:
$ yourscript
Hello World!
Scripts in Packages¶
If your script is growing and you want to switch over to your script being contained in a Python package the changes necessary are minimal. Let’s assume your directory structure changed to this:
yourpackage/
__init__.py
main.py
utils.py
scripts/
__init__.py
yourscript.py
In this case instead of using py_modules
in your setup.py
file you
can use packages
and the automatic package finding support of
setuptools. In addition to that it’s also recommended to include other
package data.
These would be the modified contents of setup.py
:
from setuptools import setup, find_packages
setup(
name='yourpackage',
version='0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click',
],
entry_points='''
[console_scripts]
yourscript=yourpackage.scripts.yourscript:cli
''',
)


if there was an oracle on one of the assetchains, and the assetchain's POW forked the chain in 2, such that each side had a different oracle result, then all the KMD on that assetchain would get duplicated.
I guess the notaries would choose which side of the chain wins?
(edited)


Browser support
We aim to support the following browsers and devices:
- Browsers
- Chrome (latest) — Mac OSX / Windows
- Firefox (latest) — Mac OSX / Windows
- Safari (latest) — Mac OSX only
- Internet Explorer (version 9+) — Windows only
- Devices (tbd)
We’ll review browser and device usage about every six months and adjust this list as necessary. We plan to support browsers and devices that are still used by a certain threshold of users and viewers.
Tangram requires WebGL, which is not supported in Internet Explorer 9 and 10. WebGL can also be disabled by an administrator. If a map or demo uses Tangram but WebGL is unavailable, please provide a fallback raster map (if possible), a link to an alternative map, or a helpful message explaining why the map cannot be viewed.
Testing
We have a shared Browserstack account for testing on all supported browsers, platforms and devices.
You can also test Internet Explorer locally. We recommend using Microsoft’s virtual machines in your VM platform of choice (e.g. VirtualBox).


Middle Earth
Rohan
Gondor
Mordor
That Time I Died and Reincarnated as a Slime
Jura Forest
Dwarf Kingdom
Ingrassia Kingdom
Pokemon
Kanto
Johto
Hoenn
The Hallmark Channel
A Royal Christmas
A Country Wedding
All of My Heart
Autumn in the Vineyard
Westeros
Winterfell
King's Landing
Dorne
Highgarden
Castle Black
Casterly Rock
The Iron Islands
Riverrun
The Twins
The Eyrie
Dragonstone
Old Town


CrimPapers
Articles published on 6 July 2019
On 6 July 2019, 7 new articles were published in 5 journals.
When Law and Practice Collide: the Implementation of the Plea-Bargaining Process in Malaysia
A Network-Exchange Approach to Corruption: Brokers and Institution Spanning in A Chinese Corruption Network by Yingyao Wang
Performing Deviance in Front Stage Spaces: Prince Roger Nelson and the Boundary Fluidity of Masculinity by Tyler Gay, Tina H. Deshotels, Craig J. Forsyth
Terrorist Assassinations and Societal Unrest in Africa: A Research Brief by Laura N. Bell
Considering the Military-Media Nexus From the Perspective of Competing Groups: the Case of Isis and Al-Qaeda in the Arabian Peninsula by Carol Winkler, Kareem El-Damanhoury, Aaron Dicker, Yennhi Luu, Wojciech Kaczkowski, Nagham El-Karhili
Perpetual Suspects: A Critical Race Theory of Black and Mixed-Race Experiences of Policing by Elyshia Aseltine
Turkish Isis and Aq Foreign Fighters: Reconciling the Numbers and Perception of the Terrorism Threat by Ahmet S. Yayla


cardy
A credit card utility belt for browser and Node.js apps
Input Masking
Credit Card Number
Credit Card Expiration
Credit Card Security Code
Validation
Credit Card Number
Validate
{}
Credit Card Expiration
Validate
{}
Formatting
Credit Card Number
Format
...
Credit Card Expiration
Format
...


close
keyboard_arrow_left
keyboard_arrow_right
refresh
file_download
code
Downloading Video - Please Wait...
autorenew
check


Being aware of all the important variables during the simulation is a nice feature to have in any CFD software.  Today, we’ll discover how OpenFOAM solvers keep track of model data used across libraries.
Know the difference between Object Registration and Run-Time Selection Table
By “Object registration” I don’t mean “Model registration” (The mechanism allowing for reporting possible models if the user input is unexpected, eg. if using a non-existent Boundary Condition Type). I refer instead to the mechanism allowing the program to retrieve references to all sorts of “data” objects (volScalarFields … etc) that are under the solver’s direct or indirect control. Read this section to make sense of the difference.
Traditional C++ programming will probably employ “Factory-like” design to create new objects: A virtual base class will have a static create()
(or a static New()
in the case of OpenFOAM classes) to create a pointer (of some kind) to the newly created model.
This traditional technique is used when the programmer wants to give users the ability to “select“ a model from a set of pre-defined ones (Child classes of the base class).
It’s common in OpenFOAM to give the virtual base class (usually belonging to the Foam
namespace) a static New()
method returning an autoPtr
to the newly created instance of the model class (autoPtr
is used so that the created object couldn’t be referred to by more than one pointer). Of course, “templates” may complicate things a bit more, but nothing we can’t live with.
This New()
method would typically read the model’s name from a dictionary, check if such model is “registered” to the RunTime selection Table, then construct an object of the appropriate type. This process is referred to as “selection of a model”.
Note that if another library wants to provide a child for such base class, it has to statically link the base class’s library (at compile time). That is to say, if a library
transportModels.so
has aphase
base class which already has some child classes (sayincompressiblePhase
andgasPhase
) and you want to add a phase object for your specific solver, you can build a new librarymyPhaseModels.so
which must statically linktransportModels.so
so it can be compiled. It’s that simple, you just create your newcompositionalPhase
class (inheriting fromphase
) and it will show up in the selection table when you load the library (incontrolDict
of your case).
Older C++ code would contain overloaded versions of New()
(each returning a different type) but OpenFOAM uses templates and a collection of Macros to construct a RunTimeSelectionTable
which New
uses to check for existence and select the model.
But that’s not the goal of this post. Let’s instead dive into the registration of model data. For example, consider the case of a library trying to access a field that is created and managed by another library! To illustrate, say we have some library transportModels.so
whose basic transportModel
class has a member volScalarField rho
. Suppose we’re working on another library and we need a (maybe const
) reference to this field without actually statically linking transportModels.so
(Say, this would result in a cyclic dependency between the two libraries). How would one get a reference to such field?
That’s exactly the situation we need object registration for.
OpenFOAM objectRegistry and regIOobject
OpenFOAM solvers keep a “hierarchical database”, logging objects at different levels:
- The master registry is always the Time object (
runTime
). - The second-level in the database logs mesh regions and the global
controlDict
. - The lower levels register “sub-objects” (eg. Each mesh region would have its own
fvSchemes
,fvSolution
, mesh data, the fields associated to the mesh region - created increateFields.H
… etc)
Note that each object in the database “can be” a database of registered objects allowing for the hierarchical structure; and by “mesh regions” I mean different mesh objects (for example, a mesh for fluids and another for solid regions in fluid-solid interaction simulations).
If two “Time instances” are used in a solver, we would have two independent databases; and it makes complete sense!
For illustration, standard solvers databases would look like this:
* runTime # objectRegistry
|--> controlDict # regIOobject (can't have sub-entries attached to it)
|--> mesh1 # objectRegistry (a database)
|--> points, owner, neighbour, cellZones ...
|--> fvSchemes, fvSolution
|--> U, p
|--> mesh2
|--> points, owner, neighbour, cellZones ...
|--> fvSchemes, fvSolution
|--> U, p
This Hierarchy is kept in memory, but the same class handles how it’s written to disk.
The database class is called objectRegistry
(so it’s a database and an entry in a database at the same time), and in order for objects to auto-register to a database, they must inherit from regIOobject
class.
The inheritance from regIOobject
promotes the object into an auto-registered object and it requires to implement the pure virtual member function writeData()
(not write()
) so that when the database issues the order of writing to disk to all its child entries, the child will be able to write itself properly :
virtual bool writeData(Ostream&) const;
An example of a simple, non-standard class which inherits from regIOobject
is the basic well
class in my Reservoir Simulation toolkit. A well can then be written to disk as a regular dictionary.
Cross library interaction in OpenFOAM
Now that we all have a good understanding of the hierarchical registration in OpenFOAM, let’s dive into how to use such mechanism for our benefit.
In practice, when writing OpenFOAM libraries, it’s common to pass a mesh reference to the base model’s constructor (You can do very little without a reference to the mesh, really). Thus, the mesh is the number-one database to log our objects to: Which database to use is decided at the object’s construction time (by calling regIOobject
‘s constructor with the right third parameter).
In standard solvers, the mesh is created by passing an IOobject
to the constructor of the parent class polyMesh
which passes it to objectRegistry
‘s constructor:
// fvMesh is an objectRegistry
Foam::fvMesh mesh
(
Foam::IOobject
(
Foam::fvMesh::defaultRegion,
runTime.timeName(),
runTime, // That's the database we branch into
Foam::IOobject::MUST_READ
)
);
And you can verify that the
Time
class is not registered to anything.
Now, say we registered a volScalarField
with the name of “fName” to the previous mesh object (See createFields.H
file of any standard solver for examples). How can we refer to it in a Boundary Condition Type we’re adding?
Well, that’s easy, we just use fvMesh
‘s interface:
// Const-ref to the field named fName
const volScalarField& fN = mesh.lookupObject("fName");
// Ref to the field named fName
volScalarField& fN = mesh.lookupObjectRef("fName");
Well, for a more sophisticated way, we may give the user the option of selecting the field’s name:
// Read the name if provided
word theName = someDict.lookupOrDefault<word>("fieldName","fName");
// Const-ref to the field named fName
const volScalarField& fN = mesh.lookupObject(theName);
This particular trick may complicate things for beginners with all the “didn’t find a field in the database“ Fatal Errors, but it’s a decent way to program things in OpenFOAM. Anyway, I hope this article clarified at least what the third argument to IOobject
‘s constructor is meant to do 😄
If you have any suggestions or comments on this matter, don’t hesitate, fire at me bellow.


My New York City Experience
Last year, I had an amazing opportunity to live and work in New York City. Throughout the four months, I recorded the memories that made my experience so special.
I had previously been to New York 2 times in my life. The first time was when I was 11 years old and touring the city with my family in one of those Asian tour busses. I vividly recall the time when I was in awe of the Raging Bull and the terrifying views from the skyscrapers. The second time was when I visited the Addepar New York office for a week. This was actually one of the main reasons why I decided to return to the Big Apple for another internship.
Before heading to New York, I was absolutely hyped to spend 4 months living in the heart of midtown Manhattan. Despite my ridiculously high expectations, New York never failed to amaze me. Over the co-op term, I maintained a Google Doc describing all the non-work things I did in New York. I hope my list can help you generate ideas on what to do or inspire you to travel here. Without further ado, here’s the list!
My Top 5 Highlights
1. World’s Biggest Eye Contact Experiment
Back on a chilly October day, I decided to check out the World’s Biggest Eye Contact Experiment near Bowling Green. Going into the event, I was quite scared. I couldn’t stop thinking of how awkward it would be to look into a stranger’s eyes for a minute. I got over my initial fears and ended up staying there for over an hour. I met 10 new people and learned about their interesting life stories. This was truly an eye opening experience for me (pun intended). We live in a world where it’s typical for us to be more glued to our phones than the people sitting next to us. I believe this event has helped improve my eye contact and communication skills, as well as building more authentic connections with others.
2. Macy’s Black Friday Sale
I’ve always read about the craziness of Black Friday in America, so I wanted to check out the chaos in person. I was one of the first 50 people in line at the world’s former largest retail store, Macy’s at Herald Square. I managed to pick up some sweet deals, though the best part definitely was the energetic crowd of people. Would I do this again? Probably not, it’s a bit too hectic for me.
3. Broadway
While I was in New York, I watched 6 Broadway shows: Les Misérables, Aladdin, Phantom of the Opera, Wicked, On Your Feet, and Chicago. Every show was very entertaining and well worth the money. It was also amazing sharing the Broadway experience with friends visiting from out of town. Did I mention that these 6 shows only costed about $200 total? I got these cheap tickets by entering the online lottery and lining up for rush tickets. Shows left on my to-watch list include Book of Mormon, Lion King, and Hamilton.
4. Walking
One of my favourite things about New York is that it’s a walking friendly city. There’s always something going on in the streets, wherever you are, whether it’s food markets, street shows, parades, etc. There are also several beautiful bridges perfect for walking and sightseeing. Despite the busy city and millions of people, I thought midtown Manhattan was one of the safest areas I’ve ever lived in.
5. Friendly People
Finally, last but not least, I was very appreciative of the friendly people working at the front-desk of my apartment and gym. Every day presented new experiences and challenges, but the one thing that remained constant was those people. Whether I had a good or bad day, they always brought enthusiasm and positivity. It was pleasing to hear the words “Good morning, Bo” from Myron every Monday, Wednesday and Friday. Expanding on to the concept of friendly people, I was thankful for my friends, my co-workers, and all of the new people I met in New York. They truly made my experience unforgettable.
Things I did
Art Galleries & Museums
New York City is home to hundreds of art galleries and museums. I wasn’t a huge fan of art, but I think I’ve gained a new perspective after visiting so many exhibitions.
- Museum of Modern Arts
- Metropolitan Museum of Art
- Frick Collection
- Morgan Library and Museum
- National Museum of the American Indian
- Vladmir Kush art gallery
- A few pop-up exhibitions like this one
- Bucket list: American Museum of Natural History, Whitney Museum of American Art, 9/11 Museum, Museum of Mathematics
Landmarks & Major Tourist Attractions
If you couldn’t tell already, I love parks and bridges!
- Parks: Central Park, Bryant Park, Washington Square Park, High Line, Madison Square Park, Union Square
- Bridges: Brooklyn Bridge, Manhattan Bridge, Williamsburg Bridge, Ed Koch Queensbro Bridge, George Washington Bridge
- Skyscrapers: Empire State Building, Rockefeller Center, Trump Tower, World Trade Center
- Landmarks: Times Square, Grand Central Terminal, Charging Bull, Wall Street, Trinity Church, Oculus, 9/11 Memorial, Statue of Liberty, City Hall
- Flagship stores: Nintendo, Microsoft, Lego, Hershey’s, M & M’s, NBA, stores on 5th Avenue
Other Iconic Places of New York
- Upper Manhattan: Columbia University, Tom’s Restaurant, Cathedral of St. John the Divine, Harlem, Morningside Park, Washington Heights
- Upper West Side: Riverside Park, Hudson Riverside, Columbus Circle
- Midtown: New York Public Library, Chelsea Market, Herald Square, Koreatown, Flatiron Building, Gramercy Park, Stuyvesant Town, St. Patrick’s Cathedral, United Nations HQ, Madison Square Garden, Pennsylvania Station, Port Authority Bus Terminal
- Lower Manhattan: Greenwich Village, Little Italy, SoHo, Chinatown, Battery Park, Columbus Park, Bowling Green
- Brooklyn: Dumbo, Brooklyn Heights Promenade, Brooklyn Bridge Park
- Other boroughs: Roosevelt Island, Flushings, Jackson Heights, Staten Island, Silver Lake Park
Sports
I watched my first live NBA game and live NHL game. Again, the tickets at Barclay’s Center were quite affordable.
- Islanders game at Barclay’s Center (my first ever hockey game, ended in overtime)
- Yankees game at Yankee’s Stadium (the game ended on a walk-off home run and I chatted with Tampa Bay bullpen pitchers)
- Nets game at Barclay’s Center (saw Jeremy Lin play)
- Watched World Series Game 7 at a sports bar
- Bucket list: Any game at Madison Square Garden, NFL game
General Entertainment
I checked off a lot of “firsts” with respect to general entertainment, including first concert, first Broadway show, etc. I found that being under 21 somewhat limited my experience, but regardless there was plenty of stuff to do.
- Several Broadway shows
- Comedy night at Gotham Comedy Club
- Karaoke at K-ONE Karaoke Bar in Chinatown
- Movies at AMC25 near Times Square
- Snakehips concert at Webster Hall
- Chvrches concert at Radio City Music Hall
- Illenium concert at Playstation Theatre
- Clubbing event at Webster Hall
- Mini golf at Pier 25
- Arcade in Chinatown
- Bucket list: ∞
Miscellaneous
You never really know what to expect in New York City, things just happen.
- Marched in the annual Halloween Parade
- Watched Rockefeller Center Christmas Tree hanging
- Participated in SantaCon by dressing up as Santa
- Winter Village at Bryant Park
- Attended school club events at NYU
- Went shopping for eye glasses in Chinatown with a co-worker
- Waited at the New York Marathon Finish Line
- Encountered several Trump rallies following the election
- Lost $20 after participating in one of those street shows where they jump over you
- Food markets
- Office visits: LinkedIn, Bloomberg, Google, Noom, Workbench, Twitter
Food
I was spoiled by all of the food choices in New York, here are some of my favourite places.
- The Halal Guys
- Vanessa’s Dumpling House
- Xi’an Famous Foods
- $1 Pizza on 43rd and Lexington
- Little Sheep Hot Pot
- Hide Chan Ramen, Totto Ramen, Ippudo Ramen
- Fried chicken & waffle at Amy Ruth’s
- Omurice at Restaurant Riki
- Xiao Long Bao at Shanghai Cafe
- Juliana’s Pizza
Addepar Organized Events
- Product team offsite at Golden Unicorn and bartending workshop
- Countless board game nights
- Golf driving range at Chelsea Piers
- Trampoline and trapeze workshop
- Addepar holiday party
- Charity dodgeball tournament
- Team dinners at fancy restaurants
- White Elephant gift exchange
- Foosball, ping pong tournaments


This partial function defines the interface of a function that returns surface characteristics for an object visualization, see e.g. Visualizers.Advanced.SurfaceCharacteristics.torus.
partial function partialSurfaceCharacteristic extends Modelica.Icons.Function; input Integer nu "Number of points in u-Dimension"; input Integer nv "Number of points in v-Dimension"; input Boolean multiColoredSurface = false "= true: Color is defined for each surface point"; output Modelica.SIunits.Position X[nu, nv] "[nu,nv] positions of points in x-Direction resolved in surface frame"; output Modelica.SIunits.Position Y[nu, nv] "[nu,nv] positions of points in y-Direction resolved in surface frame"; output Modelica.SIunits.Position Z[nu, nv] "[nu,nv] positions of points in z-Direction resolved in surface frame"; output Real C[if multiColoredSurface then nu else 0, if multiColoredSurface then nv else 0, 3] "[nu,nv,3] Color array, defining the color for each surface point"; end partialSurfaceCharacteristic;


class: center, middle # Sign in here http://bit.ly/crypto-js --- # Build With Code: Cryptographically Secure Applications --- ## What is our objective? To learn ways we can build cryptographically secure programs with JavaScript! --- ## Why do we want to learn about cryptographically secure programs? Because cryptography is tool that allows us to build applications with certain assurances: * that data we _receive_ is *from* who we think it's from * that data we _send_ can only be read by the person we intend ...and these assurances give us more control over our own data. --- class: center, middle ## Cryptography => Control over data --- name: how-will ## How will we do this? --- template: how-will 1. Building a mental model -- template: how-will 2. Seeing examples -- 3. Pair Programming! --- ## Contents 1. Public-Key Cryptography 2. Sodium 3. Buffers _Interlude: How to pair program really well_ 4. Pair Programming! 5. Recap & Review --- class: center, middle, orange # Public Key Cryptography --- name: public-key ## Public Key Crypto --- template: public-key 1. Public Key 2. Private (secret) key --- template: public-key
--- template: public-key ### Scenario: ### Alice wants to send a message to Bob -- She doesn't care if he knows it came from her. (it's anonymous) --- template: public-key ![](assets/crypto_talk_alice.svg) --- template: public-key ![](assets/crypto_talk_alice_bob_1.svg) --- template: public-key They each have a secret key. They don't share this with anyone.
--- template: public-key They each have a public key, too. They give this away to anyone! ![](assets/crypto_talk_alice_bob_public_keys.svg) --- template: public-key ![](assets/crypto_talk_alice_bob_encrypt_message_1.svg) --- template: public-key
--- template: public-key ![](assets/crypto_talk_alice_bob_encrypt_message_2.svg) --- template: public-key ### Scenario: ### Bob receives a message -- He doesn't know who it came from. --- template: public-key ![](assets/crypto_talk_bob_encrypted_message.svg) --- template: public-key Bob decrypts with his __public__ & __private key__ ![](assets/crypto_talk_bob_encrypted_message2.svg) --- template: public-key ## Questions: * What do I need from you if I want to send you an encrypted message? -- * What would happen if a bad person impersonated me, copied my public key, and got someone to send them an encrypted message that was meant for me? --- class: center, middle, orange # libsodium ## fast & secure crypto library --- ## Sodium * fast, unopinated, flexible * widely used * cross platform * fun! --- ## Patterns in sodium 1. Create a buffer ```javascript var bufferSize = 32 var buffer = Buffer.alloc(bufferSize) var PUBLIC_KEYSIZE = sodium.crypto_box_PUBLICKEYBYTES var anotherBuffer = Buffer.alloc(PUBLIC_KEYSIZE) ``` --- ## Patterns in sodium 1. Create a buffer 2. Use sodium to fill that buffer with some hashed data ```javascript var bufferSize = 32 var buffer = Buffer.alloc(bufferSize) sodium.create_secret_key(buffer) // now "buffer" has been filled with some data ``` --- class: center, middle, orange # Buffers in Node.js --- name: buffers ## Buffers --- template: buffers * a Buffer is the interface we use to __read from__ and __change__ chunks of binary data. -- template: buffers * It corresponds to a block of memory -- template: buffers ![](assets/buffer_empty.svg) --- template: buffers To get hold of a buffer in Node.js you need to allocate some amount of space ![](assets/buffer_empty_alloc_code.svg) --- template: buffers ![](assets/buffer_empty_filled_0.svg) --- # Interlude: How to be great at pair-programming -- * 90 seconds to understand problem before starting -- * One person typing, other describing approach to solving problem -- * be good to one another --- # Exercises ## Buffers! ### https://glitch.com/edit/#!/bwc-buffers101 --- ## crypto communications! ### https://glitch.com/edit/#!/bwc-hello-sodium --- class: center, middle # Thanks! our sponsors: Codesmith, CrossCampus Jared Fowler jared.a.fowler@gmail.com


Functions | |
| void | inthand (int signum) |
| int | processBuffer () |
| int | record (void *outputBuffer, void *inputBuffer, unsigned int nBufferFrames, double streamTime, RtAudioStreamStatus status, void *userData) |
| void | readyHandler (int signum) |
| int | audioIn () |
| int | RunApplication () |
| void | AnswerHandler (bool isCorrect) |
| Text * | CreateText (String content, String tagName, int x, int y, String fontText) |
Variables | |
| int | a = 0 |
| std::vector< double > | v |
| int | pipefds [2] |
| int | freqMax |
| std::vector< double > | window |
| const int | bandNumber = 128 |
| unsigned int | sampleRate = 44100 |
| unsigned int | bufferFrames = 4410 |
| volatile sig_atomic_t | stop |
| char | note_to_write |
| float | time_ = 0 |
| Timer | countDownTimer_ = Timer() |
| int | pid |
| int | parentpid |
| char | OutputNote |
| float | timestep |
| bool | ready |
| bool | endGame |
| Node * | ship |
| UI * | ui |
| ResourceCache * | cache |
| Context * | globalContext_ |
| Vector3 | cameraPos = Vector3(0.0f, -6.0f, -25.0f) |
| GameSys * | ourGame |
| Scene * | mainScene |
| Scene * | startScene |
Creates a main screen
Definition in file main.cpp.
| int audioIn | ( | ) |
| Text* CreateText | ( | String | content, |
| String | tagName, | ||
| int | x, | ||
| int | y, | ||
| String | fontText | ||
| ) |
| void inthand | ( | int | signum | ) |
| int processBuffer | ( | ) |
| int record | ( | void * | outputBuffer, |
| void * | inputBuffer, | ||
| unsigned int | nBufferFrames, | ||
| double | streamTime, | ||
| RtAudioStreamStatus | status, | ||
| void * | userData | ||
| ) |
| int RunApplication | ( | ) |
| int a = 0 |
Copyright (c) 2008-2020 the Urho3D project.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. global variables list to be incorporated in setup


|
Sr. Design 2015
Solar Powered light
|
Go to the source code of this file.
| #define CDC_COMM_EP 1 |
Definition at line 166 of file usb_config.h.
| #define CDC_COMM_IN_EP_SIZE 10 |
Definition at line 167 of file usb_config.h.
| #define CDC_COMM_INTF_ID 0x0 |
Definition at line 165 of file usb_config.h.
| #define CDC_DATA_EP 2 |
Definition at line 170 of file usb_config.h.
| #define CDC_DATA_IN_EP_SIZE 64 |
Definition at line 172 of file usb_config.h.
| #define CDC_DATA_INTF_ID 0x01 |
Definition at line 169 of file usb_config.h.
| #define CDC_DATA_OUT_EP_SIZE 64 |
Definition at line 171 of file usb_config.h.
Referenced by APP_DeviceCDCEmulatorTasks().
| #define USB_CDC_CTS_ACTIVE_LEVEL 0 |
Definition at line 183 of file usb_config.h.
Referenced by APP_DeviceCDCEmulatorTasks().
| #define USB_CDC_DSR_ACTIVE_LEVEL 0 |
Definition at line 185 of file usb_config.h.
| #define USB_CDC_DTR_ACTIVE_LEVEL 0 |
Definition at line 186 of file usb_config.h.
| #define USB_CDC_RTS_ACTIVE_LEVEL 0 |
Definition at line 184 of file usb_config.h.
Referenced by APP_DeviceCDCEmulatorTasks().
| #define USB_CDC_SET_LINE_CODING_HANDLER USART_mySetLineCodingHandler |
Definition at line 174 of file usb_config.h.
| #define USB_CDC_SUPPORT_ABSTRACT_CONTROL_MANAGEMENT_CAPABILITIES_D1 |
Definition at line 189 of file usb_config.h.
| #define USB_CDC_SUPPORT_HARDWARE_FLOW_CONTROL |
Definition at line 176 of file usb_config.h.
| #define USB_ENABLE_ALL_HANDLERS |
Definition at line 147 of file usb_config.h.
| #define USB_ENABLE_STATUS_STAGE_TIMEOUTS |
Definition at line 120 of file usb_config.h.
| #define USB_EP0_BUFF_SIZE 8 |
DEFINITIONS.
Definition at line 55 of file usb_config.h.
Referenced by USBCtrlEPAllowDataStage(), USBCtrlEPAllowStatusStage(), USBDeviceInit(), and USBStallEndpoint().
| #define USB_INTERRUPT |
Definition at line 84 of file usb_config.h.
| #define USB_MAX_EP_NUMBER 2 |
| #define USB_MAX_NUM_INT 2 |
Definition at line 62 of file usb_config.h.
| #define USB_NUM_STRING_DESCRIPTORS 3 |
Definition at line 144 of file usb_config.h.
| #define USB_PING_PONG_MODE USB_PING_PONG__FULL_PING_PONG |
Definition at line 78 of file usb_config.h.
| #define USB_PULLUP_OPTION USB_PULLUP_ENABLE |
Definition at line 87 of file usb_config.h.
| #define USB_SPEED_OPTION USB_FULL_SPEED |
Definition at line 96 of file usb_config.h.
| #define USB_STATUS_STAGE_TIMEOUT (uint8_t)45 |
Definition at line 136 of file usb_config.h.
| #define USB_SUPPORT_DEVICE |
Definition at line 142 of file usb_config.h.
| #define USB_TRANSCEIVER_OPTION USB_INTERNAL_TRANSCEIVER |
Definition at line 90 of file usb_config.h.
| #define USB_USE_CDC |
DEVICE CLASS USAGE.
Definition at line 159 of file usb_config.h.
| #define USB_USER_CONFIG_DESCRIPTOR USB_CD_Ptr |
Definition at line 72 of file usb_config.h.
| #define USB_USER_CONFIG_DESCRIPTOR_INCLUDE extern const uint8_t *const USB_CD_Ptr[] |
Definition at line 73 of file usb_config.h.
| #define USB_USER_DEVICE_DESCRIPTOR &device_dsc |
Definition at line 67 of file usb_config.h.
| #define USB_USER_DEVICE_DESCRIPTOR_INCLUDE extern const USB_DEVICE_DESCRIPTOR device_dsc |
Definition at line 68 of file usb_config.h.


Multiscale Solar Water Heating
What is this project about?
This user interface and the underlying simulation models were created in the scope of a research project. The larger scope of the project was to investigate the impact of community vs. individual scale for solar water heating in California. The authors are excluded from any liability regarding both the provided functionalities and the obtained simulation results.
System configurations cannot be changed, yet the size of components, as well as household occupancy and a climate zone in California may be edited. It is useful to perform comparative analysis. Here is a step-by-step example of how such a comparison can be done.
If simulation errors out, the visualization tab lacks results to display, or you've tried tweaking unimplemented settings, try using database reset button at the bottom of this page to reset the database to its initial state - it might work out. Otherwise Milica will reset it at some point. We're going to fix that button soon! Thanks for your patience.
For more experienced and aspiring beginner Python users it may be of interest to explore the source repository. The repo readme also provides instruction on how to run a local server for the web app and links to related publications for those who prefer to read more about how the underlying system simulation code was applied in the past.
What can you do here?
This site will allow you to configure systems, run simulations and visualize results.
Configurations |
Configure and manage system configurations. |
Components |
Configure and manage system components. |
Projects |
Configure and manage the projects (including household and community size). |
Visualization |
View and analyze simulation results. |
Admin |
Access the Django administration site. |


Peter van Heusden<EMAIL_ADDRESS>and Eugene de Beste, SANBI
Reminder: High Performance Computing means optimising the whole computing system.
Remember Amdahl's Law: the theoretical speedup of a task is always limited by the part of the task that cannot benefit from the improvement.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." - Tony Hoare
Solve it in a way that is portable and can be adapted as software changes with a handful of developers
class: Workflow
cwlVersion: v1.0
inputs:
reference:
type: File
doc: reference human genome file
steps:
create-dict:
run: ../../tools/picard-CreateSequenceDictionary.cwl
in:
reference: reference
outputFileName: output_RefDictionaryFile
tmpdir: tmpdir
out: [ createDict_output ]
From CWL GATK workflow
pvh@gabber:~$ docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
c04b14da8d14: Pull complete
Digest: sha256:0256e8a36e2070f7bf2d0b0763dbabdd67798512411de4cdcf9431a1feb60fd9
Status: Downloaded newer image for hello-world:latest
Hello from Docker!


Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to<EMAIL_ADDRESS>so we can send you a copy immediately.
Performs CRAM-MD5 authentication
Minimum implementation according to RFC2821: EHLO, MAIL FROM, RCPT TO, DATA, RSET, NOOP, QUIT
__construct(
string $host
=
<IP_ADDRESS>, int $port
=
null, array $config
=
null
)
:
void
Constructor.
| Name | Type | Description |
|---|---|---|
| $host | string | (Default: <IP_ADDRESS>) |
| $port | int | (Default: null) |
| $config | array | Auth-specific parameters |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
__destruct(
)
:
void
Class destructor to cleanup open resources
Inherited from: \Zend_Mail_Protocol_Abstract::__destruct()_addLog(
string $value
)
:
void
Add the transaction log
Inherited from: \Zend_Mail_Protocol_Abstract::_addLog()| Name | Type | Description |
|---|---|---|
| $value | string | new transaction |
_connect(
string $remote
)
:
boolean
Connect to the server using the supplied transport and target
Inherited from: \Zend_Mail_Protocol_Abstract::_connect()An example $remote string may be 'tcp://mail.example.com:25' or 'ssh://hostname.com:2222'
| Name | Type | Description |
|---|---|---|
| $remote | string | Remote |
| Type | Description |
|---|---|
| boolean |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
_disconnect(
)
:
void
Disconnect from remote host and free resource
Inherited from: \Zend_Mail_Protocol_Abstract::_disconnect()_ehlo(
string $host
)
:
void
Send EHLO or HELO depending on capabilities of smtp host
Inherited from: \Zend_Mail_Protocol_Smtp::_ehlo()| Name | Type | Description |
|---|---|---|
| $host | string | The client hostname or IP address (default: <IP_ADDRESS>) |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
_expect(
string|array $code, $timeout
=
null
)
:
string
Parse server response for successful codes
Inherited from: \Zend_Mail_Protocol_Abstract::_expect()Read the response from the stream and check for expected return code. Throws a Zend_Mail_Protocol_Exception if an unexpected code is returned.
| Name | Type | Description |
|---|---|---|
| $code | string|array | One or more codes that indicate a successful response |
| $timeout |
| Type | Description |
|---|---|
| string | Last line of response string |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
_hmacMd5(
string $key, string $data, string $block
=
64
)
:
string
Prepare CRAM-MD5 response to server's ticket
| Name | Type | Description |
|---|---|---|
| $key | string | Challenge key (usually password) |
| $data | string | Challenge data |
| $block | string | Length of blocks |
| Type | Description |
|---|---|
| string |
_receive(
$timeout
=
null
)
:
string
Get a line from the stream.
Inherited from: \Zend_Mail_Protocol_Abstract::_receive()| Name | Type | Description |
|---|---|---|
| $timeout |
| Type | Description |
|---|---|
| string |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
_send(
string $request
)
:
integer|boolean
Send the given request followed by a LINEEND to the server.
Inherited from: \Zend_Mail_Protocol_Abstract::_send()| Name | Type | Description |
|---|---|---|
| $request | string |
| Type | Description |
|---|---|
| integerboolean | Number of bytes written to remote host |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
_setStreamTimeout(
integer $timeout
)
:
boolean
Set stream timeout
Inherited from: \Zend_Mail_Protocol_Abstract::_setStreamTimeout()| Name | Type | Description |
|---|---|---|
| $timeout | integer |
| Type | Description |
|---|---|
| boolean |
_startSession(
)
:
void
Start mail session
Inherited from: \Zend_Mail_Protocol_Smtp::_startSession()auth(
)
:
void
Default authentication method
This default method is implemented by AUTH adapters to properly authenticate to a remote host.
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
connect(
)
:
boolean
Connect to the server with the parameters given in the constructor.
Inherited from: \Zend_Mail_Protocol_Smtp::connect()Concrete adapters for this class will implement their own unique connect scripts, using the _connect() method to create the socket resource.
| Type | Description |
|---|---|
| boolean |
data(
string $data
)
:
void
Issues DATA command
Inherited from: \Zend_Mail_Protocol_Smtp::data()| Name | Type | Description |
|---|---|---|
| $data | string |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
getLog(
)
:
string
Retrieve the transaction log
Inherited from: \Zend_Mail_Protocol_Abstract::getLog()| Type | Description |
|---|---|
| string |
getMaximumLog(
)
:
int
Get the maximum log size
Inherited from: \Zend_Mail_Protocol_Abstract::getMaximumLog()| Type | Description |
|---|---|
| int | the maximum log size |
getRequest(
)
:
string
Retrieve the last client request
Inherited from: \Zend_Mail_Protocol_Abstract::getRequest()| Type | Description |
|---|---|
| string |
getResponse(
)
:
array
Retrieve the last server response
Inherited from: \Zend_Mail_Protocol_Abstract::getResponse()| Type | Description |
|---|---|
| array |
helo(
string $host
=
<IP_ADDRESS>
)
:
void
Initiate HELO/EHLO sequence and set flag to indicate valid smtp session
Inherited from: \Zend_Mail_Protocol_Smtp::helo()| Name | Type | Description |
|---|---|---|
| $host | string | The client hostname or IP address (default: <IP_ADDRESS>) |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
mail(
string $from
)
:
void
Issues MAIL command
Inherited from: \Zend_Mail_Protocol_Smtp::mail()| Name | Type | Description |
|---|---|---|
| $from | string | Sender mailbox |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
noop(
)
:
void
Issues the NOOP command and validates answer
Inherited from: \Zend_Mail_Protocol_Smtp::noop()Not used by Zend_Mail, could be used to keep a connection alive or check if it is still open.
quit(
)
:
void
Issues the QUIT command and clears the current session
Inherited from: \Zend_Mail_Protocol_Smtp::quit()rcpt(
string $to
)
:
void
Issues RCPT command
Inherited from: \Zend_Mail_Protocol_Smtp::rcpt()| Name | Type | Description |
|---|---|---|
| $to | string | Receiver(s) mailbox |
| Exception | Description |
|---|---|
| \Zend_Mail_Protocol_Exception |
resetLog(
)
:
void
Reset the transaction log
Inherited from: \Zend_Mail_Protocol_Abstract::resetLog()rset(
)
:
void
Issues the RSET command and validates answer
Inherited from: \Zend_Mail_Protocol_Smtp::rset()Can be used to restore a clean smtp communication state when a transaction has been cancelled or commencing a new transaction.
setMaximumLog(
integer $maximumLog
)
:
void
Set the maximum log size
Inherited from: \Zend_Mail_Protocol_Abstract::setMaximumLog()| Name | Type | Description |
|---|---|---|
| $maximumLog | integer | Maximum log size |
vrfy(
string $user
)
:
void
Issues the VRFY command and validates answer
Inherited from: \Zend_Mail_Protocol_Smtp::vrfy()Not used by Zend_Mail.
| Name | Type | Description |
|---|---|---|
| $user | string | User Name or eMail to verify |


Undeclared Program: Welcome
Welcome to the Undeclared Program in the College of Humanities, Arts and Social Sciences (CHASS).
Mission Statement:
The College of Humanities, Arts, and Social Sciences (CHASS) Undeclared Program supports and challenges students to successfully transition into a major field of study that is consistent with their aptitudes, values, and goals. Our goal is to assist students as they explore the variety of disciplines offered within the College; to encourage students to invest in their personal development by utilizing campus resources; and to inform students about institutional policies to assure their success. We are committed to being accessible and are motivated by excellence.
A team of professional academic advisors is available to partner with students to assess academic goals, to select appropriate courses for meeting these goals, to develop decision-making skills, and provide information on majors, minors and campus resources.


Angular 2, powered by Bootstrap
Bootstrap 4 components written in pure Angular 2 by the ng-bootstrap Team
Code on GitHub Download Create a Build


{% extends "layout.html" %} {% block pageTitle %} You have successfully changed your contact preferences for VAT {% endblock %} {% block header %} {{ govukHeader() }} {% endblock %} {% block beforeContent %} {% include ".././includes/phase.html" %} {{ govukBackLink({ text: "Back", href: "javascript:history.back()" }) }} {% endblock %} {% block content %}
This message was sent to you on 03 October 2018
{% if (data['contactPref'] == "Primary email address") %}From now on you will receive updates for your VAT through your primary email address {{data['emailAddress']}}.
In some cases we'll need to send you letters because the law requires it.
{% elseif (data['contactPref'] == "Letter") %}From now on you will receive updates for your VAT through letter.
{% else %}From now on you will receive updates for your VAT through SMS.
In some cases we'll need to send you letters because the law requires it.
{% endif %}


| This report lists all pages that have a blank or missing title tag in the head section of the HTML code. It is good practice to ensure that all pages have a title as it appears at the top of the browser and in search engine query results. |
| PAGES MISSING TITLES BROKEN DOWN BY AUTHOR |
| AUTHOR | PAGES MISSING A TITLE |
| (No Author specified in META tags) | 1 |
| Total | 1 |
| PAGES MISSING TITLES CREATED BY: (No Author specified in META tags) |
PAGE |
REPORT CREATED BY |


Ranking the first in the Chinese zodiac, rat represents wisdom. Personality traits for the people born in the year of the Rat are intelligent, charming, quick-witted, practical, ambitious, and good at economizing as well as social activities. The weaknesses are that the Rats are likely to be timid, stubborn, wordy, greedy, devious, too eager for power and love to gossip.
Ranking the second in the Chinese zodiac, Ox or Cow is the symbol of diligence in Chinese culture. People under the sign of the Ox are usually hard working, honest, creative, ambitious, cautious, patient and handle things steadily. On the negative side, Ox people might be stubborn, narrow-minded, indifferent, prejudiced, slow and not good at communication.
Ranking as the third animal in the Chinese zodiac, Tigers are the symbol of brave. People born in the year of the Tiger are friendly, brave, competitive, charming and endowed with good luck and authority. With indomitable fortitude and great confidence, the tiger people can be competent leaders. On the other side, they are likely to be impetuous, irritable, overindulged and love to boast to others.
Rabbit represents longevity, discretion and good luck. It has the fourth position in the Chinese Zodiac. People born under the sign of the Rabbit are kind-hearted, friendly, intelligent, cautious, skillful, gentle, quick and live long. They dislike fighting and like to find solutions through compromise and negotiation. On the negative side, Rabbit people have the potential to be superficial, stubborn, melancholy and overly-discreet.
As the symbol of Chinese nation, dragon represents authority and good fortune. It has the fifth position among the Chinese zodiac animals. People born in the year of the Dragon are powerful, kind-hearted, successful, innovative, brave, healthy courageous and enterprising. However, they tend to be conceited, scrutinizing, tactless, quick-tempered and over-confident
Among the Chinese Zodiac animals, Snake has the sixth position. Snake is regarded to be pliable. Some of the positive characteristics of the people born in the year of the Snake are wise, discreet, agile, attractive and full of sympathy. On the other hand, there is a tendency for them to be lazy, greedy, arrogant and indulging in self-admiration.
Horse has an indomitable spirit and is always moving toward a goal. It ranks the seventh in the Chinese Zodiac. People born under the sign of the Horse are clever, active, energetic, quick-witted, fashionable, agile, popular among others and have the ability to persuade others. On the other side, they might be some selfish, arrogant and over-confident.
Ranking the eighth position of all the animals in Chinese zodiac, Sheep (also Goat or Ram) represents solidarity, harmony and calmness. People born in the year of the Sheep are polite, mild mannered, shy, imaginative, determined and have good taste. On the negative side, they are sometimes pessimistic, unrealistic, short-sighted and slow in behavior.
Monkey ranks ninth position in the Chinese Zodiac. They are cheerful and energetic by nature and usually represent flexibility. People under the sign of the Monkey are wise, intelligent, confident, charismatic, loyal, inventive and have leadership. The weaknesses of the Monkeys are being egotistical, arrogant, crafty, restless and snobbish.
Rooster (or Chicken) ranks the tenth among the Chinese zodiac animals. In Chinese culture, Rooster represents fidelity and punctuality, for it wakes people up on time. People born in the year of the Rooster are beautiful, kind-hearted, hard-working, courageous, independent, humorous and honest. They like to keep home neat and organized. On the other side, they might be arrogant, self-aggrandizing, persuasive to others and wild as well as admire things or persons blindly.
Ranking as the eleventh animal in Chinese zodiac, Dog is the symbol of loyalty and honesty. People born in the Year of the Dog possess the best traits of human nature. They are honest, friendly, faithful, loyal, smart, straightforward, venerable and have a strong sense of responsibility. On the negative side, they are likely to be self-righteous, cold, terribly stubborn, slippery, critical of others and not good at social activities.
Occupying the last position in 12 Chinese Zodiac animals, Pig is mild and a lucky animal representing carefree fun, good fortune and wealth. Personality traits of the people born under the sign of the Pig are happy, easygoing, honest, trusting, educated, sincere and brave. The possible dark sides the Pig people are stubbornness, naive, over-reliant, self-indulgent, easy to anger and materialistic. They are sometimes regarded as being lazy.


You only need to build from source if you have determined that none of the pre-built configurations are appropriate for your needs, or if you want to modify, test, or debug the code. If none of the above applies, see here for detailed information on how to get started quickly.
A release version of the ExpressionMatrix2
software
comes with pre-built version for the following configurations
for Ubuntu 16 and CentOs 7.
| Platform | Configuration name | Python version | HDF5 support |
|---|---|---|---|
| Ubuntu 16 | Release-ubuntu16-python2 | 2 | Yes |
| Ubuntu 16 | Release-ubuntu16-python3 | 3 | Yes |
| Ubuntu 16 | Release-ubuntu16-nohdf5-python2 | 2 | No |
| Ubuntu 16 | Release-ubuntu16-nohdf5-python3 | 3 | No |
| CentOS 7 | Release-centos7-python2 | 2 | Yes |
| CentOS 7 | Release-centos7-nohdf5-python2 | 2 | No |
You can choose the version that is appropriate for you. HDF5 support is only necessary if you intend to use functions ExpressionMatrix.addCellsFromHdf5 or ExpressionMatrix.addCellsFromBioHub2. If you don't need to use these functions, choose one of the versions without HDF5 support as they have fewer dependencies on installed packages.
The Release-ubuntu16-nohdf5-python3
version can also be used on
Windows 10 via Windows Subsystem for Linux and the Windows Ubuntu application.
See here for more information.
The Release-ubuntu16-nohdf5-python3
version,
because of its minimal set of dependencies,
may also run on Linux platforms other than Ubuntu 16
but running a similar Linux kernel.
To build the ExpressionMatrix2
software from source,
you can use Eclipse or CMake.
There are a couple of ways to get the source code from GitHub.
Clone or Download
.
git clone https://github.com/chanzuckerberg/ExpressionMatrix2
.
This requires git
to be installed.
The repository includes at its top level Eclipse files .project
and .cproject
which can be used to load
the ExpressionMatrix2
into Eclipse and build it.
The build settings used in Eclipse are the ones for the
Release-ubuntu16-python3
configuration.
If you need to build with different settings,
you can modify the settings in Eclipse, or use cmake as described below.
A debug version of the same configuration is also provided in Eclipse,
and can be used for debugging.
CMake
The ExpressionMatrix2/src
directory contains
file CMakeLists.txt
which can be used for
building using CMake
.
This provides some amount of customization that can be used
to build on other Linux platforms.
To build in this way:
cd
to it.
This directory can be anywhere - it does not have to
be in the ExpressionMatrix2
source tree.
cmake .../ExpressionMatrix2/src
,
making sure to enter the correct local path for the ExpressionMatrix2/src
directory.
Also add the CMake -D
options appropriate
for the configuration you want to build, as described below.
This will create a Makefile
.
make
.
This will create ExpressionMatrix2.so
.
If your build machine has multiple processors and sufficient memory,
you can use the -j
option of the make
command
to speed up the build. See the man
page for
the make
command for more information.
You can use CMake option -D
to override
default values for one or more of the following
configuration variables:
| Variable | Default value | Description |
|---|---|---|
PYTHON_INCLUDE_PATH | /usr/include/python3.5m
| The include path for the Python version you want your shared library to work with. |
PYBIND11_INCLUDE_PATH | /usr/local/include/python3.5
| The directory where pybind11 include files are installed.
This must be a version of pybind11 consistent with the
Python version you want to build for.
|
BUILD_WITH_HDF5 | ON
| If set to OFF , disables HDF5 functionality
(functions
ExpressionMatrix.addCellsFromHdf5
or
ExpressionMatrix.addCellsFromBioHub2)
and eliminates the dependency on HDF5 include files and libraries.
|
HDF5_INCLUDE_PATH | /usr/include/hdf5/serial
| The directory where HDF5 include files are located.
Only used if BUILD_WITH_HDF5 is ON .
|
HDF5_LIBRARIES | hdf5_cpp hdf5_serial
| The names of the HDF5 libraries to link with.
Only used if BUILD_WITH_HDF5 is ON .
If invoking cmake from the bash shell,
enter these names separated by spaces and enclosed in single quotes, not double quotes, like this:
-DHDF5_LIBRARIES='hdf5_cpp hdf5_serial' .
Using double quotes will not work.
|
For convenience, the table below lists the CMake -D
options used for each of the pre-built configurations,
as well as for configurations that are not part of the release package.
| Release-ubuntu16-python2 |
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7
-DPYBIND11_INCLUDE_PATH=/usr/local/include/python2.7
|
| Release-ubuntu16-python3 | (None) |
| Release-ubuntu16-nohdf5-python2 |
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7
-DPYBIND11_INCLUDE_PATH=/usr/local/include/python2.7
-DBUILD_WITH_HDF5=OFF
|
| Release-ubuntu16-nohdf5-python3 |
-DBUILD_WITH_HDF5=OFF
|
| Release-centos7-python2 |
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7
-DPYBIND11_INCLUDE_PATH=/usr/lib/python2.7/site-packages
-DHDF5_INCLUDE_PATH=/usr/include
-DHDF5_LIBRARIES='hdf5_cpp hdf5'
|
| Release-centos7-nohdf5-python2 |
-DPYTHON_INCLUDE_PATH=/usr/include/python2.7
-DPYBIND11_INCLUDE_PATH=/usr/lib/python2.7/site-packages
-DBUILD_WITH_HDF5=OFF
|
| Arch Linux (not included in release package - see here for more information) |
-DPYTHON_INCLUDE_PATH=/usr/include/python3.6m
-DPYBIND11_INCLUDE_PATH=/usr/include/python3.6m/pybind11
-DHDF5_INCLUDE_PATH=/usr/include
-DHDF5_LIBRARIES='hdf5_cpp hdf5'
|
Disregarding standard system libraries that are available on all Linux systems, the only prerequisite for running one of the configurations with HDF5 functionality turned off is Graphviz.
To run one of the configurations with HDF5 functionality you also need HDF5 libraries:
libhdf5-10
(or libhdf5-10-dev
)
and libhdf5-cpp-11
.
hdf5
.
A small number of prerequisites are necessary to build the
ExpressionMatrix2
code:
-DBUILD_WITH_HDF5=OFF
.
Package names are
gcc
compiler,
which are available on most Linux distributions.
For convenience, package names for the above for Ubuntu 16 and CentOS 7
are listed here:
| Package | Ubuntu 16 | CentOS 7 |
|---|---|---|
| Boost libraries | libboost-all-dev | boost-devel |
| Python 2 | python-all-dev | python-devel |
| Python 3 | python3-all-dev | |
| Pybind11 | pybind11 | pybind11 |
| HDF5 libraries | libhdf5-dev, libhdf5-cpp-11 | hdf5-devel |
The pybind11
package is installed using (as root)
pip install pybind11
for Python 2
and pip3 install pybind11
for Python 3.
As an alternative to building with cmake
as described above,
for Arch Linux you also can use the following commands to build from source an Arch Linux
package that can be installed in the standard way using pacman
:
The resulting package can be installed using the following command (must be run as root):
curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=expressionmatrix2-git
makepkg
If you do this, you don't need to set the
pacman -U expressionmatrix2-git-*.tar.xz
PYTHONPATH
environment variable to be able to import the ExpressionMatrix2
module in Python.
The makepkg
command is supposed to take care of all dependencies,
but in case you run into problems you can manually install the prerequisites
using the following commands as root:
pacman -S cmake
pacman -S boost
pacman -S hdf5
pacman -S python-pipenv
pip install pybind11
Reference documentation for the Python API is here.
To generate Doxygen documentation for the C++ code,
make sure you have Doxygen installed
(Ubuntu package name is doxygen
),
cd to ExpressionMatrix2/doc/doxygen
, then issue command
doxygen
without arguments.
Documentation will be created in directory ExpressionMatrix2/doc/doxygen/html
.
The top level file
of the documentation will be ExpressionMatrix2/doc/doxygen/html/index.html
.
Point your browser to that to see the documentation.
For readability, the C++ code does not contain
any Doxygen directives, so the generated documentation
will only contain what Doxygen can do with EXTRACT_ALL=YES
and without relying on documentation directives in the code.
Even with this limitation, this can be useful to explore the C++ code.


Now open in BAKER CENTER + LASALLE PLAZA. A huge thank you to all of our family, friends and most of all, our customers for all of your support! We would not be here without you all.
Now open in BAKER CENTER + LASALLE PLAZA. A huge thank you to all of our family, friends and most of all, our customers for all of your support! We would not be here without you all.


{% extends "simple-layout.html" %}
{% block title %}Recorded statistics for {{ plugin }} - plugin-statistics{% endblock %}
{% block body %}
{% filter markdown %}
### {{ plugin }} statistics
This is a makeshift interface to view statistics data. While a
more aesthetically pleasing interface may be built in the future,
this is the extent of what is available now.
The statistics here are stored not as what each individual server
sends, but rather as an aggregate of all servers who have checked
in the last two hours every hour.
"Records" are built every hour, and directly before each record is built, live data longer than 2 hours expires and is deleted.
{% if next_page_available or prev_page_available %}
Page {{ page }}. {% if prev_page_available %} [Visit previous page.]({{ "?page={}".format(page - 1) }})
{% endif %} {% if next_page_available %} [Visit next page.]({{ "?page={}".format(page + 1) }}) {% endif %}
{% endif %}
{% for record in records %}
==============================
{{ record["date"] }}
{{ record["total_servers"] }} {% if record["total_servers"] == 1 %}server{% else %}servers{% endif %},
with
{{ record["total_players"] }} online
{% if record["total_players"] == 1 %}player{% else %}players{% endif %}.
{% for version in record["plugin_versions"] %}
------------------------------
{{ version["version"] }}: {{ version["server_count"] }}
{% if version["server_count"] == 1 %}server{% else %}servers{% endif %}
Server Version Statistics:
{% for server_version, server_count in version["server_version_counts"].items() %}
{{ server_version }}: {{ server_count }}
{% if server_count == 1 %}server{% else %}servers{% endif %}
{% endfor %}
{% endfor %}
------------------------------
{% endfor %}
{% endfilter %}


SmartWin.lib is a C++ GUI and SOAP library.
A Hello World (GUI) executable with buttons and check
boxes takes 212 KB and have no additional DLL dependencies!
This is vital since SmartWin is a static library by default meaning less pain
in versioning and upgrades of software.
The SOAP parts and the GUI parts are not dependant upon each other
and both can be used separately without using the other. This means you can use
SmartSOAP e.g. in an MFC application or you can use e.g. gSOAP in a SmartWin++
application and so on.
Be sure to check out the class documentation, modules, list of member functions, and the related pages on the left and top.
The official source for information is the Web site at http://smartwinlib.org. Including a FAQ .
SmartWin++'s SourceForge site, http://sourceforge.net/projects/smartwin, has mailing lists, screenshots, CVS access, etc.
You can download the current released version which has more then 50 SmartWin++ samples.
You can interact with the developers at the forums.
You may be looking at a local documentation copy, here is a link to theWeb based class documentation .


<~uexists1 if="id" inline><~id>~uexists1><~unew unless="id" inline>(`new`)~unew>
`Such email already exists in our database`
`Select/Upload`
<~att[iname]>


|
Français Video, links, etc Home |
Sunday, November 7, 2010An evening of New England contradances |
||
with |
CrowfootAdam Broome (guitar)Jaige Trudel (fiddle) Nicholas Williams (flutes, accordion)
"These three
are wicked musicians
... electrifying
... If this trio
is playing a dance
or a festival anywhere
near you, be there!"
— Sing Out
"Lovely, powerful, danceable and fun." — GrassRoots Festival, Trumansburg, NY "Their magical sound is spontaneous and heart-stirring, an inspiration to dancers and callers alike." — FootFall, Capon Bridge, West Virginia |
|
and |
Adina GordonA true dance gypsy, Adina travels constantly. She is an artful and inspired caller, with wonderful dances, and we're delighted she's back in Montreal. Click here to see Adina in action with Crowfoot. |
|
at the |
Ukrainian Hall405 Fairmount W(at Hutchison) Montreal, H2V 4B4, Map |
|
|
6.30 pm to 10 pm |
||
|
|
||
| Regular: | $13 (Suggested: $15) | |
| Students: | $9 (Suggested: $10) | |
| First-timers: | Half price |


Adrien is a research statistician with interest in applied statistics and probabilistic risk assessments. I have advanced knowledge in Bayesian and computational statistics, and good knowledge in monitoring and modeling multivariate and spatio-temporal processes.
He obtained his PhD in applied statistics from Universite de Rennes 1, France in 2010, applying statistical methods to the tracking of multiple targets using a network of basic sensors.
Between 2010 and 2012 he worked as a Lecturer in Statistics at Universite Paris Dauphine, France and then joined the Institut Mines - Telecom Lille - Douai, France as a research associate. During this time, he worked in collaboration with the CEA (French Alternative Energies and Atomic Energy Commission) to develop a Bayesian framework for the inverse estimation of the dispersion characteristics of Chemical, Bacteriological, Radiological and Nuclear releases in the atmosphere.
He joined CSIRO (Commonwealth Scientific and Industrial Research Organisation) in 2012 with expertise in Bayesian modeling and spatio-temporal monitoring, with applications in signal processing. During his first years in CSIRO, he developed his research expertise in multivariate modeling, privacy preserving methods and Big Data. Since 2015, he refocused his application domain to risk analysis.
PhD in Applied Statistics, 2010
Universite de Rennes I
MEng in Applied Statistics, 2006
ENSAI
MScience in Theoretical Statistics, 2006
Universite de Rennes I
BSc in Applied Mathematics, 2003
Universite Paris VII


Logging
Log Types
Access
host-ip date time method uri response-status duration
<IP_ADDRESS> 2011-05-08 09:22:38,734 GET /restsql/res/FlatManyToOne?_offset=0&_limit=20 200 125ms <IP_ADDRESS> 2011-05-08 09:22:38,984 DELETE /restsql/res/FlatOneToOne?year=2012 200 109ms <IP_ADDRESS> 2011-05-08 09:22:39,093 GET /restsql/res/FlatOneToOne?year=2012 200 16ms <IP_ADDRESS> 2011-05-08 09:22:39,109 GET /restsql/res/SingleTable_FilmRating 200 78ms <IP_ADDRESS> 2011-05-08 09:22:39,281 DELETE /restsql/res/FlatOneToOne/5000 200 15ms <IP_ADDRESS> 2011-05-08 09:22:39,296 GET /restsql/res/FlatOneToOne?year=2012 200 16ms
<IP_ADDRESS> 2011-05-08 09:22:43,015 POST /restsql/res/SingleTable 400 0ms 400: Error parsing request body: org.xml.sax.SAXParseException: The element type "actor" must be terminated by the matching end-tag "</actor>". <IP_ADDRESS> 2011-05-08 09:22:43,078 GET /restsql/res/ErrorInQuery 500 140ms 500: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0,1' at line 1 :: select actor_id, first_name, last_name from LIMIT 0,1
Error
--------------------- <IP_ADDRESS> 2011-05-08 09:22:43,734 PUT /restsql/res/SingleTable_FilmRating?year=2012 400 16ms request: blah=blah response: No valid parameters found --------------------- <IP_ADDRESS> 2011-05-08 09:22:44,515 POST /restsql/res/SingleTable 400 0ms request: <request> <actor actor_id="1000" first_name="A first name that is too long for the domain rule" last_name="Daniels" /> </request> response: First name length must be less or equal to 25 characters ---------------------
Trace
--------------------- <IP_ADDRESS> 2011-05-08 09:22:39,281 DELETE /restsql/res/FlatOneToOne/5000 200 15ms request: sql: DELETE FROM sakila.film_rating WHERE film_id = 5000 DELETE FROM sakila.film WHERE film_id = 5000 response: <writeResponse rowsAffected="2" /> --------------------- <IP_ADDRESS> 2011-05-08 09:22:39,296 GET /restsql/res/FlatOneToOne?year=2012 200 16ms sql: select film.film_id, title, release_year "year", language_id,rental_duration,rental_rate, replacement_cost, film_rating_id, stars from film, film_rating where film.film_id = film_rating.film_id AND film.release_year = 2012 response: <readResponse> <film film_id="5001" title="BLOOD PURPLE" year="2012" language_id="1" rental_duration="0" rental_rate="0.00" replacement_cost="0.00" film_rating_id="2" stars="1" /> <film film_id="5002" title="THE DARKENING" year="2012" language_id="1" rental_duration="0" rental_rate="0.00" replacement_cost="0.00" film_rating_id="3" stars="1" /> </readResponse> ---------------------
Internal
2011-05-07 16:47:35,703 [main] INFO org.restsql.internal- Loaded restsql properties from /restsql/eclipse-workspace/restsql-test/src/resources/properties/restsql.properties 2011-05-07 16:48:02,859 [http-8080-2] INFO org.restsql.internal- SqlResources dir is /restsql/eclipse-workspace/restsql-test/src/resources/xml/sqlresources 2011-05-07 16:48:05,437 [http-8080-2] INFO org.restsql.internal- Loaded database properties from /resources/properties/default-database.properties 2011-05-07 16:48:06,000 [http-8080-2] INFO org.restsql.internal- Loading trigger definitions from /restsql/eclipse-workspace/restsql-test/src/resources/properties/triggers.properties 2011-05-07 16:48:06,000 [http-8080-2] INFO org.restsql.internal- Loading triggers from classpath /restsql/eclipse-workspace/restsql-test/obj/bin
Logging Configuration
# logging.facility=[log4j,java] # logging.config=relative/to/classpath # logging.dir=/absolute/path - this is only used by the /log service method to find logs logging.facility=log4j logging.config=resources/properties/default-log4j.properties logging.dir=/var/log/restsql
logging.config
location is RELATIVE to the classpath, not absolute. The default is to use the default-log4j.properties included in the jar/war. This logs to the location /var/log/restsql. The logging levels are set for development, not production mode.
The runtime logging configuration is accessible at http://yourhost:port/restsql/conf. This dumps all properties supplied and defaulted in structured text. The log4j or java logging configuration is available at http://yourhost:port/restsql/conf/log and this simply returns the contents of the file specified by logging.config
.
It is possible to use a container-wide log4j or java native logging configuration file. In this case the container should set the standard System Property log4j.configuration
(log4j) or java.util.logging.config.file
(java) with the location of the file. In this case, the restsql.properties logging.config
is optional. It would only be used if the logging configuration is requested through /restsql/conf/log. Note again that this location must be relative to restsql's classpath. If the container logging properties file must exist somewhere else, create a sym link in restsql/WEB-INF/classes to that location.
restSQL uses Apache Commons Logging to decouple the framework from the specific logging engine. Therefore when using a container logging properties it is also necessary to set the System Property org.apache.commons.logging.Log
to org.apache.commons.logging.impl.Log4JLogger
(log4j) org.apache.commons.logging.impl.Jdk14Logger
(java).
The logging.dir
property is not used by the logging facility. It is only used by restSQL to view logs. See the following section for more detail.
The default restsql.properties and log4j and java native logging properties files are found here.
Viewing Logs
logging.dir
property to be properly configured.