|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |
| Packages that use org.hecl | |
|---|---|
| org.hecl | |
| org.hecl.files | |
| org.hecl.heclbuilder | |
| org.hecl.java | |
| org.hecl.midp20 | |
| org.hecl.midp20.lcdui | |
| org.hecl.misc | |
| org.hecl.rms |
| Classes in org.hecl used by org.hecl | |
|---|---|
| ClassCommand
The ClassCommand interface is the template for all commands
implemented in Java working on Hecl ObjectThing . |
|
| ClassCommandInfo
The ClassCommandInfo holds information about a class command
that may be attached to an interpreter. |
|
| CodeThing
The CodeThing class implements a chunk of "compiled" code
including multiple "Stanzas", or individual commands. |
|
| Command
The Command interface is the template for all commands
implemented in Hecl. |
|
| FractionalThing
The FractionalThing class is for floating point
values. |
|
| HeclException
The HeclException class implements exceptions for Hecl. |
|
| HeclTask
|
|
| IntegralThing
The IntegralThing class represents integer values - in
practice, ints and longs. |
|
Interp
Interp is the Hecl interpreter, the class responsible for
knowing what variables and commands are available. |
|
| IntThing
The IntThing class represents an integer Thing. |
|
| NumberThing
The NumberThing class is what all numeric Thing types
are derived from. |
|
| Operator
The Operator class implements a number of features
that are used in the creation of groups of commands, such as those
found in InterpCmds, ListCmds, and so on. |
|
| Parse
The Parse class takes care of parsing Hecl scripts. |
|
| ParseState
The ParseState class is the state of the current parse. |
|
| RealThing
The RealThing interface is the actual value contained within a
Thing. |
|
| StringThing
The StringThing class is the internal representation of string
types. |
|
| Thing
The Thing class is what Hecl revolves around. |
| Classes in org.hecl used by org.hecl.files | |
|---|---|
| ClassCommand
The ClassCommand interface is the template for all commands
implemented in Java working on Hecl ObjectThing . |
|
| ClassCommandInfo
The ClassCommandInfo holds information about a class command
that may be attached to an interpreter. |
|
| Command
The Command interface is the template for all commands
implemented in Hecl. |
|
| HeclException
The HeclException class implements exceptions for Hecl. |
|
Interp
Interp is the Hecl interpreter, the class responsible for
knowing what variables and commands are available. |
|
| Operator
The Operator class implements a number of features
that are used in the creation of groups of commands, such as those
found in InterpCmds, ListCmds, and so on. |
|
| Thing
The Thing class is what Hecl revolves around. |
| Classes in org.hecl used by org.hecl.heclbuilder | |
|---|---|
| HeclException
The HeclException class implements exceptions for Hecl. |
| Classes in org.hecl used by org.hecl.java | |
|---|---|
| ClassCommand
The ClassCommand interface is the template for all commands
implemented in Java working on Hecl ObjectThing . |
|
| ClassCommandInfo
The ClassCommandInfo holds information about a class command
that may be attached to an interpreter. |
|
| Command
The Command interface is the template for all commands
implemented in Hecl. |
|
| HeclException
The HeclException class implements exceptions for Hecl. |
|
Interp
Interp is the Hecl interpreter, the class responsible for
knowing what variables and commands are available. |
|
| Properties
The Properties class is used to parse command line
arguments. |
|
| Thing
The Thing class is what Hecl revolves around. |
| Classes in org.hecl used by org.hecl.midp20 | |
|---|---|
| Command
The Command interface is the template for all commands
implemented in Hecl. |
|
| HeclException
The HeclException class implements exceptions for Hecl. |
|
Interp
Interp is the Hecl interpreter, the class responsible for
knowing what variables and commands are available. |
|
| Operator
The Operator class implements a number of features
that are used in the creation of groups of commands, such as those
found in InterpCmds, ListCmds, and so on. |
|
| Thing
The Thing class is what Hecl revolves around. |
| Classes in org.hecl used by org.hecl.midp20.lcdui | |
|---|---|
| ClassCommand
The ClassCommand interface is the template for all commands
implemented in Java working on Hecl ObjectThing . |
|
| ClassCommandInfo
The ClassCommandInfo holds information about a class command
that may be attached to an interpreter. |
|
| Command
The Command interface is the template for all commands
implemented in Hecl. |
|
| HeclException
The HeclException class implements exceptions for Hecl. |
|
Interp
Interp is the Hecl interpreter, the class responsible for
knowing what variables and commands are available. |
|
| Properties
The Properties class is used to parse command line
arguments. |
|
| Thing
The Thing class is what Hecl revolves around. |
| Classes in org.hecl used by org.hecl.misc | |
|---|---|
| HeclException
The HeclException class implements exceptions for Hecl. |
|
Interp
Interp is the Hecl interpreter, the class responsible for
knowing what variables and commands are available. |
|
| Thing
The Thing class is what Hecl revolves around. |
| Classes in org.hecl used by org.hecl.rms | |
|---|---|
| Command
The Command interface is the template for all commands
implemented in Hecl. |
|
| HeclException
The HeclException class implements exceptions for Hecl. |
|
| HeclModule
The HeclModule interface describes what modules
implement in order to be loaded into Hecl. |
|
Interp
Interp is the Hecl interpreter, the class responsible for
knowing what variables and commands are available. |
|
| Operator
The Operator class implements a number of features
that are used in the creation of groups of commands, such as those
found in InterpCmds, ListCmds, and so on. |
|
| Thing
The Thing class is what Hecl revolves around. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES |


Home
About
Products
Contact Us
Price: 25kr
Price: 15kr
Price: 20kr
Price: 35kr
Price: 1225kr
Price: 1750kr
Price: 1725kr
Price: 2525kr
Price: 2750kr
Price: 2200kr


I want to try to rebuild my domotica with arduino and emoncms.
I do it before with pc and delphi, but i want to reduce all more simple and light.
The question...
I try to do this and it work...
http://www.emoncms.org/feed/value.json?id=21003
It's possibile to retrieve it with the name of feed?
Thanks.
Re: Pull up value of feed with name
Hello!
I don't know exactly what you want to do, but it isn't possible to get a feed value and the feed name directly.
You can only get a list using http://www.emoncms.org/feed/list.json, maybe you can use it to extract the things you want to have.
best regards
Juergen Brenner
Re: Pull up value of feed with name
I find a solution, before i ask the ID of feed with name then i ask the value with id.. i do it with 2 request... next step, i try to add this function to code.


The Thinkings section records all of my ideas, thinkings and daydreams.
The posts here belong to Xiaobai and him only. All rights reserved.
Current VUIs, especially car VUIs are still not perfect. When a chatbot fails to offer a satisfying answer, people are sometimes annoyed and it lowers user experience.
This design seeks to help voice assistants understand users' mood and aid voice assistants in cars with facial expression understanding, so that AI can change its VUI strategy accordingly, for example, interrupting itself if an unsatisfying answer is provided. AI can also use this extra layer of information to improve itself. Since people in the car don't move frequently, a fixed camera can easily capture people's facial expressions, which is hard to achieve in other scenarios.
When ordering takeouts, are you risk tolerant or risk averse? This design helps you select food via between risk tolerant and risk averse. For instance, if you always order spicy food, options in risk averse may be lots of spicy food, while in risk tolerant you may see lots of food you haven't tried before (you may like it, you may not). Slide to adjust the proportion of 'risk' you want to bear.


Networking Enhancements in Java SE 8
- A new class
java.net.URLPermission
has been added. URLPermission
represents a permission for accessing a resource (or set
of resources) defined by a given URL, and for a given set of user-settable request methods and
request headers.
-
The
jdk.net
package has been added that contains platform specific
socket options and a mechanism for setting these options on all of the
standard socket types. The socket options are defined in jdk.net.ExtendedSocketOptions
and the first one to be defined is SO_FLOW_SLA
, which is an option for establishing
socket flows for multitennant applications. The class jdk.net.Sockets
provides the mechanism for setting and getting these extended options.
-
In class
HttpURLConnection
, if a security manager is installed, and if a method is called which
results in an attempt to open a connection, the caller must possess either:
If automatic redirection is enabled, and this request is redirected to another destination, then the caller must also have permission to connect to the redirected host/URL.


It’s not just about having the right bait, Capture your audience ,Increase your sales and expand your reach by having the right Bait!
It all starts with a conversation. And it all ends in conversions. Guided by your brand style and personality, we create beautiful digital experiences in sync with the behaviors and emotions of your target market. Our visual stamp, your global footprint to propell your business to full potential.
That’s what we take care off, implementing research-driven design strategies that keep prospects tuned in to what you have to say, for longer. Concentrating on the user experience results in higher search rankings on Google, and leads to more casual browsers converting to committed followers.
Everything we build, we build responsively to optimize function and performance. The way we see it, it’s less about web design being responsive to mobile devices, and more about end users being responsive to your brand, wherever and however they choose to do digital.
Anyone can create a ‘nice’ brand. We prefer to create memorable ones. Through tenacious creativity, consistency, and indestructible nerd strength, we shape and reinvent identities to make stronger connections and longer engagements with your target market.
Whether we’re inventing a new brand or reinvigorating an established one, our central goal is the same; create a digital experience that serves a human purpose. You can use us for as much or as little as you need. A quick consult is usually the place to start. Tell us your brand story, and we’ll guide you on how to visually translate it for image-driven digital.
We make your brand messages seen so they can be heard. Not to everyone and anyone, but to a targeted demographic that could truly benefit from your products or services. It’s not about how many arrows we throw out there so much as it is the percentage of those arrows that put a dent on our target. Impactful designs and visual aids such as infographics and web banners effectively put your content on steroids, achieving noticeable results, faster.
As a designer, I know that clients often just want tried and true solutions. And it’s easy for me to serve up exactly what they ask for. It’s okay to stick to conventions, but there’s so much room in design for website builders to try something different. By taking an unorthodox approach, I can come up with website designs that are memorable and won’t be lost in the seas of uniformity.
Everything we build, we build responsively to optimize function and performance. The way we see it, it’s less about web design being responsive to mobile devices, and more about end users being responsive to your brand, wherever and however they choose to do digital. What we offer is a full-circle digital partnership; guidance, collaboration, and execution from conception to completion. Because we recognize that web design is about so much more than color, design and function. It’s about sharing a story worth hearing, spreading a unique vision, and promoting the better choice to the right people.
WE KNOW ECOMMERCE Focused on conversions and sales, and passionate about branding and visuals, our goal is to make you look great and sale a ton. We specialize in eCommerce, have won awards doing it, and built a company on it.
I'm a Web designer/Developer based in Nairobi, Kenya. I enjoy turning complex problems into simple, beautiful and intuitive designs. When I'm not pushing pixels, you'll find me cycling, travelling or working in the farm.
See Resume


COURSE OUTLINE
1. Basics of Cell Biology (this course covers cell biology. topics in this course includes: biological chemistry, cell structure and function, cellular metabolism, genetics, and other related topics.)
2. General Biology I (this course introduces the principles and concepts of biology. topics in this course includes cell structure and function, metabolissm and energy transformation, genetics, evolution, classification, and other related topics.)
3. General Biology II (this course is the continuation of general biology I. topics in this course includes: organisms, biodiversity, plants and animal systems, ecology, and other related topics.)
4. Introduction to Botany (this course provide introduction to the classification, relationships, structure and function of plants. topics in this course includes: reproduction and development of seed and non-seed plants, levels of organization, forms and function of systems, and survey of major taxa.)
5. Introduction to Zoology (this course is the introduction to the classification, relationships, structure and function of major animal phyla. topics in this course includes: levels of organization, reproduction and developtment, comparative systems, and survey of selected phyla.)
6. Environmental Biology (this course introduces the environmental processes and the influence of human activities upon them. topics in this course includes: ecological concepts, population growth, natural resources. and also focus on current environmental problems from scientific, social, political and economic perspectives.)
7. Environmental Biology Lab (this course emphasis on the practical aspect of the theory of environmental biology.)
8. Nutrition (this course covers the biochemistry of foods and nutrients with consideration of the physiological effects of specialized diets for specific biological needs.)
9. Basic Anatomy and Physiology(this course provide the study of the structure and functio of the human body. topics in this course includes: the basic study of the body systems as well as an introduction to homeostasis, cells, tissues, nutrition, acid-base balance, and electrolytes.)
10. Anatomy and Physiology I (this course provide comprehensive study of the anatomy and physiology of the human body. topics in this course includes: body organization, homeostasis, cytology, histology, and the integumentary, skeletal, muscular, nervous systems and special sences.)
11. Anatomy and Physiology II (this course is the continuation of anatomy and physiology I. topics in this course includes: the endocrine, cardiovascular, lymphatic system, respiratory system, digestive system, urinary system and reproductive system. as well as metabolism, nutrition, acid0base balance, and fluid and electrolyte balance)
12. General Microbiology (this course covers the principles of microbiology with emphasis on micro-organisms and human disease. topics i this corse includes: an overview of the microbiology and aspects of medical microbiology, identification and control of pathogens, disease transmission, host resistance, and immunity.)
13. Genetics (this course covers the principles of prokaryotic and eukaryotic cell genetics. topics in this course includes the molecular basics of heredity, chromosome structure, patterns of mendelian and non-mendelian inheritance, evolution, and biotechnological applications.)
14. Pathophysiology (this course provide a study of human pathological processes and their effects on homeostatis. emphasis is on interrelationships among organ systems in deviations from homeostasis)
15. Microbiology (this course covers the rinciples of microbiology and the impact these organisms have on man and the environment. topics in this course includes: various groups of micro-organisms, their structure, physiology, genetics, immunology, and some practical applications.)
16. Biotechnology (this course provide the experience in selected laboratory procedures. topics include proper laboratory techniques in biology and chemistry)


Sometimes I need to send push notifications to mobile apps (Android or IOS). It’s not difficult. Maybe it’s a bit nightmare the first times, but when you understand the process, it’s straightforward. Last days I discover a cool service called PushBullet. It allows us to install one client in our Android/IOS or even desktop computer, and send push notifications between them.
Pushbullet also has a good API, and it allows us to automate our push notifications. I’ve play a little bit with the API and my Raspberry Pi - home server. It’s really simple to integrate the API with our Silex backend and send push notifications to our registered devices.
I’ve created one small service provider to enclose the API. The idea is to use one Silex application like this
use Silex\Application;
use PushSilex\Silex\Provider\PushbulletServiceProvider;
$app = new Application(['debug' => true]);
$myToken = include(__DIR__ . '/../conf/token.php');
$app->register(new PushbulletServiceProvider($myToken));
$app->get("/", function () {
return "Usage: GET /note/{title}/{body}";
});
$app->get("/note/{title}/{body}", function (Application $app, $title, $body) {
return $app->json($app['pushbullet.note']($title, $body));
});
$app->run();
As we can see we’re using one service providers called PushbulletServiceProvider. This service provides us ‘pushbullet.note’ and allows to send push notifications. We only need to configure our Service Provider with our Pushbulled’s token and that’s all.
<?php
namespace PushSilex\Silex\Provider;
use Silex\ServiceProviderInterface;
use Silex\Application;
class PushbulletServiceProvider implements ServiceProviderInterface
{
private $accessToken;
const URI = 'https://api.pushbullet.com/v2/pushes';
const NOTE = 'note';
public function __construct($accessToken)
{
$this->accessToken = $accessToken;
}
public function register(Application $app)
{
$app['pushbullet.note'] = $app->protect(function ($title, $body) {
return $this->push(self::NOTE, $title, $body);
});
}
private function push($type, $title, $body)
{
$data = [
'type' => $type,
'title' => $title,
'body' => $body,
];
$ch = curl_init();
curl_setopt_array($ch, [
CURLOPT_URL => self::URI,
CURLOPT_HTTPHEADER => ['Content-Type' => 'application/json'],
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_POSTFIELDS => $data,
CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
CURLOPT_USERPWD => $this->accessToken . ':',
CURLOPT_RETURNTRANSFER => true
]);
$out = curl_exec($ch);
curl_close($ch);
return json_decode($out);
}
public function boot(Application $app)
{
}
}
Normally I use Guzzle to handle HTTP clients, but in this example I’ve created a raw curl connection.
You can see the project in my github account


Before Change
"autodiff", "automatic-differentiation", "machine-learning",
"deep-learning"
],
install_requires=[
"astor>=0.6",
"autograd>=1.2",
"enum34",
"future",
"gast",
"nose",
"numpy",
"six",
"tf-nightly==1.5.0.dev20171026",
])
After Change
with open("LICENSE") as f:
lic = f.read()
with open("requirements.txt") as f:
reqs = list(f.read().strip().split("\n"))
setup(
name="tangent",
version="0.1.9",
description=("Automatic differentiation using source code transformation "


W3D SQL Shell
By: Warpboy
[]Database Info[]
Username:
Password:
Database:
Query:
Currently not connected.
No Query Executed


Duxbury Pet Sitting provides quality pet sitting services at afforable prices. Our pet sitters have Red Cross training with over 10 years of combinded pet sitting experience. We are bonded and insured. Our services include dog walking, cat sitting, providing medication, feeding light cleaning, picking-up mail, overnight stays and more!
We provide service to Duxbury, Marshfield, Plymouth, Kingston and Pembroke!
Duxbury Pet Sitting is a new company, but each pet sitter has worked as a pet sitter for over 5 years! We have lived in the area for the last 20 years, so we know the best places to take your dogs for a walk!
Ryan has worked as a pet sitter for 5 years. He has had the best training in caring for all of your pets. He has experience working with dogs, cats, birds and turtles!
Contact us for our affordable rates. We offer discounts for multiple services per week! We also offer weekly specials!


This demo is to show that you can use both mouse wheel and navigation buttons both for the same carousel.
Try scrolling your mouse wheel or clicking on the next and previous buttons
Note: You need the Mouse Wheel plugin for this to work.
$(".mouseWheelButtons .carousel").jCarouselLite({ btnNext: ".mouseWheelButtons .next", btnPrev: ".mouseWheelButtons .prev", mouseWheel: true });


So far, there is no consistent terminology for MRIO systems and parameters in the scientific community. For pymrio, the following variable names (= attributes of the IOSystem and Extensions) are used (the alias columns are other names and abbreviations often found in the literature):
| variable name | formal name | alias variable names | alias formal names | description |
|---|---|---|---|---|
| Z | transaction matrix | T | flow matrix | transactions matrix, inter industry flows |
| A | A matrix | inter-industry coefficients (direct requirements matrix) | ||
| L | leontief inverse | B | leontief inverse (total requirements matrix) (multi regional approach) | |
| Y | final demand matrix | H, y | final demand matrix (sectors x region/countries and final demand categories) | |
| x | gross output | q | industry output | total output, defined as column vector |
| F | factor production | extensions, stressors | Factors of productions: extensions plus value added block | |
| FY | factor production final demand | yF | thats kind of a weird name - maybe we can find a better: basically that are the extensions (e.g. emissions) of the final demand | |
| S | factor production coefficients | D | stressor coefficients | |
| SY | factor production coefficients final demand | DY, yD | ||
| D_fp | footprint accounts | fp, con | footprints, consumption footprints | footprint of consumption, further specification with reg (per region) or cap (per capita) possible |
| D_terr | territorial accounts | terr | territorial or domestic accounts, further specification with reg (per region) or cap (per capita) possible | |
| D_imp | import accounts | imp | import accounts, further specification with reg (per region) or cap (per capita) possible | |
| D_exp | export accounts | exp | export accounts, further specification with reg (per region) or cap (per capita) possible | |
| M | multipliers | m | ||
| pxp | iosystem products x products | mxm | ||
| ixi | iosystem industries x industries | nxn |


Welcome to the Doctr Versions Menu documentation¶
Sphinx extension and command to add a versions menu to Doctr-deployed documentation.
Warning
As of December 2020, Travis no longer provides free services to open source projects. See Deployment with Github Actions for a workaround.
Table of Contents


Browser3 Light Wallet
Loading...
Create A Browser3 Vault
Create New Vault
My Address
Send Ether
From:
To:
scan
Amount to send in Ether:
Gas Price in Gwei Default is (22 Gwei):
Gas Limit default: (50000):
Send Ether
Function Call
Caller:
Contract Address:
scan
Contract ABI:
Function Name:
Function Arguments:
Value (Ether):
Gas Price in Gwei Default is (22 Gwei):
Gas Limit default: (100000):
Call Contract
Keep enough for transactions only. This is a browser First... not a Wallet


Reports nested
switch
statements. Nested
switch
statements may result in extremely confusing code.
Powered by InspectionGadgets


Fit joint mean-covariance models for longitudinal data. The models and their components are represented using S4 classes and methods. The core computational algorithms are implemented using the 'Armadillo' C++ library for numerical linear algebra and 'RcppArmadillo' glue.
| Version: | 0.2.1 |
| Depends: | R (≥ 3.2.2) |
| Imports: | Formula, lattice, methods, Rcpp (≥ 0.12.14) |
| LinkingTo: | Rcpp, RcppArmadillo, roptim |
| Suggests: | testthat, R.rsp |
| Published: | 2018-11-10 |
| Author: | Jianxin Pan [aut, cre], Yi Pan [aut] |
| Maintainer: | Jianxin Pan <Jianxin.Pan at manchester.ac.uk> |
| BugReports: | https://github.com/ypan1988/jmcm/issues |
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] |
| URL: | https://github.com/ypan1988/jmcm/ |
| NeedsCompilation: | yes |
| SystemRequirements: | C++11 |
| Citation: | jmcm citation info |
| Materials: | NEWS |
| CRAN checks: | jmcm results |
| Reference manual: | jmcm.pdf |
| Vignettes: |
jmcm: An R Package for Joint Mean-Covariance Modelling of Longitudinal Data |
| Package source: | jmcm_0.2.1.tar.gz |
| Windows binaries: | r-devel: jmcm_0.2.1.zip, r-release: jmcm_0.2.1.zip, r-oldrel: jmcm_0.2.1.zip |
| OS X binaries: | r-release: jmcm_0.2.1.tgz, r-oldrel: jmcm_0.2.1.tgz |
| Old sources: | jmcm archive |
| Reverse depends: | varjmcm |
| Reverse suggests: | slim |
Please use the canonical form https://CRAN.R-project.org/package=jmcm to link to this page.


Projector constraints
[Using finite integer sets]
Classes | |
| class | Gecode::SetExprCode |
| Code representing set-valued expressions for finite set projectors. More... | |
| class | Gecode::SetExprCode::Stream |
| To incrementally build up the instructions. More... | |
| class | Gecode::SetExpr |
| Set-valued expressions for finite set projectors. More... | |
| class | Gecode::ProjectorSet |
| Group of finite set projector specifications. More... | |
| class | Gecode::Formula |
| Formulas for specifying set constraints.  More... | |
Functions | |
| Gecode::SetExprCode::Stream::Stream (void) | |
| Initialize stream to be empty. | |
| void | Gecode::SetExprCode::Stream::add (int i) |
| Add instruction or variable reference to stream. | |
| int | Gecode::SetExprCode::Stream::size (void) const |
| Return size of code stream. | |
| int | Gecode::SetExprCode::Stream::operator[] (int i) const |
| Return instruction at position i. | |
| void | Gecode::SetExprCode::update (Space *home, bool share, SetExprCode &sc) |
| Copying. | |
| int | Gecode::SetExprCode::size (void) const |
| Return number of instructions. | |
| int | Gecode::SetExprCode::operator[] (int i) const |
| Return instruction at position i. | |
| Gecode::SetExpr::SetExpr (void) | |
| Construct constant set expression for the empty set. | |
| Gecode::SetExpr::SetExpr (const SetExpr &s) | |
| Copy constructor. | |
| Gecode::SetExpr::SetExpr (var_idx v) | |
| Construct set expression for variable v. | |
| Gecode::SetExpr::SetExpr (const SetExpr &s, int sign) | |
| Construct set expression from s with sign sign. | |
| Gecode::SetExpr::SetExpr (const SetExpr &s, int ssign, RelType r, const SetExpr &t, int tsign) | |
| Construct set expression from s with sign ssign and t with sign tsign under relation r. | |
| const SetExpr & | Gecode::SetExpr::operator= (const SetExpr &e) |
| Assignment operator. | |
| int | Gecode::SetExpr::arity (void) const |
| Returns the arity of the set expression. | |
| SetExprCode | Gecode::SetExpr::encode (void) const |
| Returns code for this set expression. | |
| Gecode::SetExpr::~SetExpr (void) | |
| Destructor. | |
| Gecode::Projector::Projector (void) | |
| Default constructor. | |
| Gecode::Projector::Projector (SetExpr::var_idx x, const SetExpr &sglb, const SetExpr &slub) | |
| Construct a projector . | |
| void | Gecode::Projector::scope (Support::DynamicArray< int > &scope) const |
| Returns the scope of the projector. | |
| int | Gecode::Projector::arity (void) const |
| Returns the arity of the projector. | |
| template<bool negated> | |
| ExecStatus | Gecode::Projector::propagate (Space *home, ViewArray< Set::SetView > &x) |
| Propagate the projector. | |
| ExecStatus | Gecode::Projector::check (Space *home, ViewArray< Set::SetView > &x) |
| Check for subsumption or failure. | |
| unsigned int | Gecode::Projector::glbSize (ViewArray< Set::SetView > &x) |
| Compute size of greatest lower bound. | |
| unsigned int | Gecode::Projector::lubSize (ViewArray< Set::SetView > &x) |
| Compute size of least upper bound. | |
| const SetExprCode & | Gecode::Projector::getGlb (void) const |
| Return the set expression code for the glb. | |
| const SetExprCode & | Gecode::Projector::getLub (void) const |
| Return the set expression code for the lub. | |
| SetExpr::var_idx | Gecode::Projector::getIdx (void) const |
| Return the variable index for this projector. | |
| Gecode::ProjectorSet::ProjectorSet (void) | |
| Construct empty projector set. | |
| Gecode::ProjectorSet::ProjectorSet (int n) | |
| Construct projector set for n projectors. | |
| void | Gecode::ProjectorSet::update (Space *home, bool share, ProjectorSet &p) |
| Used for copying. | |
| void | Gecode::ProjectorSet::add (const Projector &p) |
| Add projector p to the set. | |
| int | Gecode::ProjectorSet::arity (void) const |
| Returns the arity of the projector set. | |
| void | Gecode::ProjectorSet::scope (Support::DynamicArray< int > &scope, unsigned int size) const |
| Returns the scope of the projector set. | |
| template<bool negated> | |
| ExecStatus | Gecode::ProjectorSet::propagate (Space *home, ViewArray< Set::SetView > &x) |
| Propagate the set. | |
| ExecStatus | Gecode::ProjectorSet::check (Space *home, ViewArray< Set::SetView > &x) |
| Check for subsumption or failure. | |
| int | Gecode::ProjectorSet::size (void) const |
| Return number of projectors int the set. | |
| const Projector & | Gecode::ProjectorSet::operator[] (int i) const |
| Return projector i from the set. | |
| Gecode::Formula::Formula (const Formula &f) | |
| Copy constructor. | |
| const Formula & | Gecode::Formula::operator= (const Formula &f) |
| Assignment operator. | |
| Gecode::Formula::~Formula (void) | |
| Destructor. | |
| Gecode::Formula::Formula (int var) | |
| Construct formula for variable var. | |
| Gecode::Formula::Formula (bool b) | |
| Construct constant formula. | |
| Gecode::Formula::Formula (const Formula &f, int sign) | |
| Construct formula from f with sign s. | |
| Gecode::Formula::Formula (const Formula &f, int fs, Operator o, const Formula &g, int gs) | |
| Construct formula for . | |
| ProjectorSet | Gecode::Formula::projectors (void) |
| Extract projectors from formula. |
Enumeration Type Documentation
enum Gecode::SetExprCode::Instruction [inherited] |
Instructions for set-valued expression code.
- Enumerator:
Definition at line 69 of file projectors.hh.
enum Gecode::SetExpr::RelType [inherited] |
Function Documentation
| Gecode::SetExprCode::Stream::Stream | ( | void | ) | [inline, inherited] |
| void Gecode::SetExprCode::Stream::add | ( | int | i | ) | [inline, inherited] |
| int Gecode::SetExprCode::Stream::size | ( | void | ) | const [inline, inherited] |
| int Gecode::SetExprCode::Stream::operator[] | ( | int | i | ) | const [inline, inherited] |
| Gecode::SetExprCode::SetExprCode | ( | void | ) | [inline, inherited] |
| Gecode::SetExprCode::SetExprCode | ( | const Stream & | s | ) | [inline, inherited] |
| Gecode::SetExprCode::SetExprCode | ( | const SetExprCode & | sc | ) | [inline, inherited] |
| void Gecode::SetExprCode::update | ( | Space * | home, | |
| bool | share, | |||
| SetExprCode & | sc | |||
| ) | [inline, inherited] |
| int Gecode::SetExprCode::size | ( | void | ) | const [inline, inherited] |
| int Gecode::SetExprCode::operator[] | ( | int | i | ) | const [inline, inherited] |
| Gecode::SetExpr::SetExpr | ( | void | ) | [inline, inherited] |
| Gecode::SetExpr::SetExpr | ( | const SetExpr & | s | ) | [inherited] |
| Gecode::SetExpr::SetExpr | ( | var_idx | v | ) | [inherited] |
| Gecode::SetExpr::SetExpr | ( | const SetExpr & | s, | |
| int | sign | |||
| ) | [inherited] |
| Gecode::SetExpr::SetExpr | ( | const SetExpr & | s, | |
| int | ssign, | |||
| RelType | r, | |||
| const SetExpr & | t, | |||
| int | tsign | |||
| ) | [inherited] |
Construct set expression from s with sign ssign and t with sign tsign under relation r.
Definition at line 181 of file set-expr.cc.
| const SetExpr & Gecode::SetExpr::operator= | ( | const SetExpr & | e | ) | [inherited] |
| int Gecode::SetExpr::arity | ( | void | ) | const [inherited] |
| SetExprCode Gecode::SetExpr::encode | ( | void | ) | const [inherited] |
| Gecode::SetExpr::~SetExpr | ( | void | ) | [inherited] |
| Gecode::Projector::Projector | ( | void | ) | [inline, inherited] |
| Gecode::Projector::Projector | ( | SetExpr::var_idx | x, | |
| const SetExpr & | sglb, | |||
| const SetExpr & | slub | |||
| ) | [inline, inherited] |
| void Gecode::Projector::scope | ( | Support::DynamicArray< int > & | scope | ) | const [inherited] |
| int Gecode::Projector::arity | ( | void | ) | const [inherited] |
| ExecStatus Gecode::Projector::propagate | ( | Space * | home, | |
| ViewArray< Set::SetView > & | x | |||
| ) | [inline, inherited] |
| ExecStatus Gecode::Projector::check | ( | Space * | home, | |
| ViewArray< Set::SetView > & | x | |||
| ) | [inherited] |
| unsigned int Gecode::Projector::glbSize | ( | ViewArray< Set::SetView > & | x | ) | [inline, inherited] |
| unsigned int Gecode::Projector::lubSize | ( | ViewArray< Set::SetView > & | x | ) | [inline, inherited] |
| const SetExprCode & Gecode::Projector::getGlb | ( | void | ) | const [inline, inherited] |
| const SetExprCode & Gecode::Projector::getLub | ( | void | ) | const [inline, inherited] |
| int Gecode::Projector::getIdx | ( | void | ) | const [inline, inherited] |
| Gecode::ProjectorSet::ProjectorSet | ( | void | ) | [inline, inherited] |
| Gecode::ProjectorSet::ProjectorSet | ( | int | n | ) | [inline, inherited] |
| void Gecode::ProjectorSet::update | ( | Space * | home, | |
| bool | share, | |||
| ProjectorSet & | p | |||
| ) | [inline, inherited] |
| void Gecode::ProjectorSet::add | ( | const Projector & | p | ) | [inherited] |
| int Gecode::ProjectorSet::arity | ( | void | ) | const [inline, inherited] |
| void Gecode::ProjectorSet::scope | ( | Support::DynamicArray< int > & | scope, | |
| unsigned int | size | |||
| ) | const [inherited] |
| ExecStatus Gecode::ProjectorSet::propagate | ( | Space * | home, | |
| ViewArray< Set::SetView > & | x | |||
| ) | [inline, inherited] |
| ExecStatus Gecode::ProjectorSet::check | ( | Space * | home, | |
| ViewArray< Set::SetView > & | x | |||
| ) | [inherited] |
| int Gecode::ProjectorSet::size | ( | void | ) | const [inline, inherited] |
| const Projector & Gecode::ProjectorSet::operator[] | ( | int | i | ) | const [inline, inherited] |
| Gecode::Formula::Formula | ( | const Formula & | f | ) | [inherited] |
| const Formula & Gecode::Formula::operator= | ( | const Formula & | f | ) | [inherited] |
| Gecode::Formula::~Formula | ( | void | ) | [inherited] |
| Gecode::Formula::Formula | ( | int | var | ) | [inherited] |
| Gecode::Formula::Formula | ( | bool | b | ) | [inherited] |
Construct constant formula.
| Gecode::Formula::Formula | ( | const Formula & | f, | |
| int | sign | |||
| ) | [inherited] |
| ProjectorSet Gecode::Formula::projectors | ( | void | ) | [inherited] |
| void Gecode::projector | ( | Space * | home, | |
| const SetVarArgs & | xa, | |||
| ProjectorSet & | ps, | |||
| bool | negated = false | |||
| ) |
Post projection propagators for nary constraint.
Post projection propagators for nary constraint on variables x, specified by ps. If negated is true, the negation of the specified constraint is propagated.
Definition at line 61 of file projectors.cc.
| void Gecode::projector | ( | Space * | home, | |
| const SetVar & | xa, | |||
| const SetVar & | ya, | |||
| ProjectorSet & | ps, | |||
| bool | negated = false | |||
| ) |
Post projection propagators for binary constraint.
Post projection propagators for binary constraint on variables xa and ya, specified by ps. If negated is true, the negation of the specified constraint is propagated.
Definition at line 44 of file projectors.cc.
| void Gecode::projector | ( | Space * | home, | |
| const SetVar & | xa, | |||
| const SetVar & | ya, | |||
| const BoolVar & | bv, | |||
| ProjectorSet & | ps | |||
| ) |
Post reified projection propagators for binary constraint.
Post projection propagators for binary constraint on variables xa and ya, specified by ps, reified with bv.
Definition at line 79 of file projectors.cc.
| void Gecode::projector | ( | Space * | home, | |
| const SetVar & | xa, | |||
| const SetVar & | ya, | |||
| const SetVar & | za, | |||
| ProjectorSet & | ps, | |||
| bool | negated = false | |||
| ) |
Post projection propagators for ternary constraint.
Post projection propagators for ternary constraint on variables xa, ya and za, specified by ps. If negated is true, the negation of the specified constraint is propagated.
Definition at line 90 of file projectors.cc.
| void Gecode::projector | ( | Space * | home, | |
| const SetVar & | xa, | |||
| const SetVar & | ya, | |||
| const SetVar & | za, | |||
| const BoolVar & | bv, | |||
| ProjectorSet & | ps | |||
| ) |
Post reified projection propagators for ternary constraint.
Post projection propagators for ternary constraint on variables xa, ya and za, specified by ps, reified with bv.
Definition at line 108 of file projectors.cc.
| void Gecode::projector | ( | Space * | home, | |
| const SetVar & | xa, | |||
| const SetVar & | ya, | |||
| const IntVar & | i, | |||
| Projector & | p | |||
| ) |
Post projection propagator for cardinality constraint.
Post propagator for the constraint that i is the cardinality of the set represented by p, interpreted over the variables xa and ya.
Definition at line 120 of file projectors.cc.
| void Gecode::projector | ( | Space * | home, | |
| const SetVar & | xa, | |||
| const SetVar & | ya, | |||
| const SetVar & | za, | |||
| const IntVar & | i, | |||
| Projector & | p | |||
| ) |
Post projection propagator for cardinality constraint.
Post propagator for the constraint that i is the cardinality of the set represented by p, interpreted over the variables xa, ya, and za.
Definition at line 130 of file projectors.cc.


The HTTP URL filtering function provided by the 8e6 Technologies R3000 Internet Filter can be bypassed by simply splitting the HTTP request line (which contains the URI) into multiple packets.
The Apple Quicktime Player versions <IP_ADDRESS> and below suffer from a buffer overflow vulnerability during the filling of the LCD-like screen containing info about the status of the connection.


Heritage Concert Series: ‘1001 Lights’ gives off exuberant vibe
by Tertiani ZB SimanjuntakA collaboration between German violinist Iskandar Widjaja and Indonesian pianist Christine Utomo brought a calming yet exuberant vibe to Soehanna Hall in SCBD, Central Jakarta, over the weekend. Performing several contemporary classical works by Turkish composer Fazil Say, the duo delivered note after note using unusual techniques to imitate the sound of Turkish musical instruments and created an atmosphere comparable to any version of the Arabian Nights tale. Titled “1001 Lights”, the concert’s theme was brought to life through the stage décor, with small floor lanterns and light dancing around the concert hall — not a common sight in classical music concerts. The second edition of the Heritage Concert Series presented by The Grand Signature Piano, the sole distributor of premium piano brands such as Fazioli, Bluthner, Estonia and Irmler, was mean...
LOG IN
Don't have an account? Register here
Forgot Password ?
Log in with your social account


amazon-chime-sdk
/
com.amazonaws.services.chime.sdk.meetings.analytics
/
EventAttributeName
/
meetingId
meetingId
meetingId
Meeting Id


Air Bass
Air Drums
Air DJ Set 1
Air DJ Set2
Air Guitar
Air Piano
About the Team
Behind the Scenes
Trump Mode
Home


Ocean [ar58], ocean, in The Inner Sea
Last updated Turn #103
Ocean [ar58], ocean, in The Inner Sea
------------------------------------------------------------------------
26: Whalebone [fe4m], ship, 6 hulls, 1 rowing port, 18 sails, 1% damaged,
26: arrived from Forest of the Lost [ar59], owner:
26: Toulouse [h1q], Pen, with 15 lt. xbowmen, three skirmishers,
26: 20 sailors, accompanied by:
26: Halmary [f9m], Pen, with 11 peasants, 15 lt. xbowmen,
26: nine soldiers, 16 pikemen
26: Jonathan [h9k], Pen, duke
27: Whalebone [fe4m], ship, 6 hulls, 1 rowing port, 18 sails, 1% damaged,
27: departed for Ocean [ar57].
Routes leaving Ocean:
North, forest, to Forest of the Lost [aq58], Imperia, 2 days
East, forest, to Forest of the Lost [ar59], Imperia, 2 days
South, to Ocean [as58], 6 days
West, to Ocean [ar57], 6 days


--- layout: post title: Solid Sprint day 1, go! categories: - KDE - Software Libre tags: [] status: publish type: post published: true meta: _edit_last: '2' dsq_thread_id: '2226555296' author: login: afiestas email<EMAIL_ADDRESS>display_name: afiestas first_name: Àlex last_name: Fiestas ---
So, almost everybody is here finally (Albert will come tomorrow Saturday), and it has been a very profitable day. We have finished the "boring" stuff like discussing who we are (We're the Solid team now! be aware of that :p), discussing how we can improve the upstream communication (driver developers, blueZ, u*disk/power etc) and stuff like that.
After it, we've done some hacking (not a lot in my case), but we managed to get Bluetooth-DUN and Bluetooth-NAP working, and we did it in like 5minutes... is what Sprints are about, right? :) put Lamarque (modemmanager) and bluedevil developers together and you will get Bluetooth+Networking working :p
Now, going to sleep since the hacking will be resumed in a few hours.
Cyap!
Todo wall-list:


| Package | Description |
|---|---|
| org.apache.hadoop.conf |
Configuration of system parameters.
|
| org.apache.hadoop.crypto.key.kms | |
| org.apache.hadoop.fs |
An abstract file system API.
|
| org.apache.hadoop.fs.permission |
This package provides support for HDFS permission and ACL.
|
| org.apache.hadoop.fs.store |
This package is for classes to be shared across object stores; for internal
use within the hadoop-* modules only.
|
| org.apache.hadoop.io |
Generic i/o code for use when reading and writing data to the network,
to databases, and to files.
|
| org.apache.hadoop.ipc |
Tools to help define network clients and servers.
|
| org.apache.hadoop.security | |
| org.apache.hadoop.security.authorize | |
| org.apache.hadoop.security.token | |
| org.apache.hadoop.security.token.delegation | |
| org.apache.hadoop.security.token.delegation.web | |
| org.apache.hadoop.util |
Common utilities.
|
| org.apache.hadoop.util.bloom |
| Modifier and Type | Class and Description |
|---|---|
class |
Configuration
Provides access to configuration parameters.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
KMSDelegationToken.KMSDelegationTokenIdentifier
DelegationTokenIdentifier used for the KMS.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContentSummary
Store the summary of a content (a directory or a file).
|
class |
FileChecksum
An abstract class representing file checksums for files.
|
class |
FileStatus
Interface that represents the client side information for a file.
|
class |
FsServerDefaults
Provides server default configuration values to clients.
|
class |
FsStatus
This class is used to represent the capacity, free and used space on a
FileSystem . |
class |
LocatedFileStatus
This class defines a FileStatus that includes a file's block locations.
|
class |
MD5MD5CRC32CastagnoliFileChecksum
For CRC32 with the Castagnoli polynomial
|
class |
org.apache.hadoop.fs.MD5MD5CRC32FileChecksum
MD5 of MD5 of CRC32.
|
class |
MD5MD5CRC32GzipFileChecksum
For CRC32 with the Gzip polynomial
|
| Modifier and Type | Class and Description |
|---|---|
class |
FsCreateModes
A class that stores both masked and unmasked create modes
and is a drop-in replacement for masked permission.
|
class |
FsPermission
A class for file/directory permissions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EtagChecksum
An etag as a checksum.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
WritableComparable<T>
A
Writable which is also Comparable . |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMapWritable
Abstract base class for MapWritable and SortedMapWritable
Unlike org.apache.nutch.crawl.MapWritable, this class allows creation of
MapWritable<Writable, MapWritable> so the CLASS_TO_ID and ID_TO_CLASS
maps travel with the class instead of being static.
|
class |
ArrayPrimitiveWritable
This is a wrapper class.
|
class |
ArrayWritable
A Writable for arrays containing instances of a class.
|
class |
BooleanWritable
A WritableComparable for booleans.
|
class |
BytesWritable
A byte sequence that is usable as a key or value.
|
class |
ByteWritable
A WritableComparable for a single byte.
|
class |
CompressedWritable
A base-class for Writables which store themselves compressed and lazily
inflate on field access.
|
class |
DoubleWritable
Writable for Double values.
|
class |
EnumSetWritable<E extends Enum<E>>
A Writable wrapper for EnumSet.
|
class |
FloatWritable
A WritableComparable for floats.
|
class |
GenericWritable
A wrapper for Writable instances.
|
class |
IntWritable
A WritableComparable for ints.
|
class |
LongWritable
A WritableComparable for longs.
|
class |
MapWritable
A Writable Map.
|
class |
MD5Hash
A Writable for MD5 hash values.
|
class |
NullWritable
Singleton Writable with no data.
|
class |
ObjectWritable
A polymorphic Writable that writes an instance with it's class name.
|
static class |
SequenceFile.Metadata
The class encapsulating with the metadata of a file.
|
class |
ShortWritable
A WritableComparable for shorts.
|
class |
SortedMapWritable<K extends WritableComparable<? super K>>
A Writable SortedMap.
|
class |
Text
This class stores text using standard UTF8 encoding.
|
class |
TwoDArrayWritable
A Writable for 2D arrays containing a matrix of instances of a class.
|
class |
VersionedWritable
A base class for Writables that provides version checking.
|
class |
VIntWritable
A WritableComparable for integer values stored in variable-length format.
|
class |
VLongWritable
A WritableComparable for longs in a variable-length format.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Writable> |
WritableUtils.clone(T orig,
Configuration conf)
Make a copy of a writable object using serialization to a buffer.
|
| Modifier and Type | Method and Description |
|---|---|
Writable[][] |
TwoDArrayWritable.get() |
Writable |
GenericWritable.get()
Return the wrapped instance.
|
Writable[] |
ArrayWritable.get() |
Writable |
ArrayFile.Reader.get(long n,
Writable value)
Return the
n th value in the file. |
Writable |
MapWritable.get(Object key) |
Writable |
SortedMapWritable.get(Object key) |
Writable |
MapFile.Reader.get(WritableComparable key,
Writable val)
Return the value for the named key, or null if none exists.
|
Writable |
BloomMapFile.Reader.get(WritableComparable key,
Writable val)
Fast version of the
MapFile.Reader.get(WritableComparable, Writable) method. |
Writable |
WritableFactory.newInstance()
Return a new instance.
|
static Writable |
WritableFactories.newInstance(Class<? extends Writable> c)
Create a new instance of a class with a defined factory.
|
static Writable |
WritableFactories.newInstance(Class<? extends Writable> c,
Configuration conf)
Create a new instance of a class with a defined factory.
|
Writable |
ArrayFile.Reader.next(Writable value)
Read and return the next value in the file.
|
Writable |
SortedMapWritable.put(K key,
Writable value) |
Writable |
MapWritable.put(Writable key,
Writable value) |
Writable |
MapWritable.remove(Object key) |
Writable |
SortedMapWritable.remove(Object key) |
| Modifier and Type | Method and Description |
|---|---|
Set<Map.Entry<Writable,Writable>> |
MapWritable.entrySet() |
Set<Map.Entry<Writable,Writable>> |
MapWritable.entrySet() |
Set<Map.Entry<K,Writable>> |
SortedMapWritable.entrySet() |
SortedMap<K,Writable> |
SortedMapWritable.headMap(K toKey) |
Set<Writable> |
MapWritable.keySet() |
SortedMap<K,Writable> |
SortedMapWritable.subMap(K fromKey,
K toKey) |
SortedMap<K,Writable> |
SortedMapWritable.tailMap(K fromKey) |
Collection<Writable> |
MapWritable.values() |
Collection<Writable> |
SortedMapWritable.values() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArrayFile.Writer.append(Writable value)
Append a value to the file.
|
void |
MapFile.Writer.append(WritableComparable key,
Writable val)
Append a key/value pair to the map.
|
void |
BloomMapFile.Writer.append(WritableComparable key,
Writable val) |
void |
SequenceFile.Writer.append(Writable key,
Writable val)
Append a key/value pair.
|
static void |
WritableUtils.cloneInto(Writable dst,
Writable src)
Deprecated.
use ReflectionUtils.cloneInto instead.
|
protected void |
AbstractMapWritable.copy(Writable other)
Used by child copy constructors.
|
Writable |
ArrayFile.Reader.get(long n,
Writable value)
Return the
n th value in the file. |
Writable |
MapFile.Reader.get(WritableComparable key,
Writable val)
Return the value for the named key, or null if none exists.
|
Writable |
BloomMapFile.Reader.get(WritableComparable key,
Writable val)
Fast version of the
MapFile.Reader.get(WritableComparable, Writable) method. |
WritableComparable |
MapFile.Reader.getClosest(WritableComparable key,
Writable val)
Finds the record that is the closest match to the specified key.
|
WritableComparable |
MapFile.Reader.getClosest(WritableComparable key,
Writable val,
boolean before)
Finds the record that is the closest match to the specified key.
|
void |
SequenceFile.Reader.getCurrentValue(Writable val)
Get the 'value' corresponding to the last read 'key'.
|
Writable |
ArrayFile.Reader.next(Writable value)
Read and return the next value in the file.
|
boolean |
SequenceFile.Reader.next(Writable key)
Read the next key in the file into
key , skipping its
value. |
boolean |
MapFile.Reader.next(WritableComparable key,
Writable val)
Read the next key/value pair in the map into
key and
val . |
boolean |
SequenceFile.Reader.next(Writable key,
Writable val)
Read the next key/value pair in the file into
key and
val . |
Writable |
SortedMapWritable.put(K key,
Writable value) |
Writable |
MapWritable.put(Writable key,
Writable value) |
void |
GenericWritable.set(Writable obj)
Set the instance that is wrapped.
|
void |
ArrayWritable.set(Writable[] values) |
void |
TwoDArrayWritable.set(Writable[][] values) |
static byte[] |
WritableUtils.toByteArray(Writable... writables)
Convert writables to a byte array
|
| Modifier and Type | Method and Description |
|---|---|
static long |
MapFile.fix(FileSystem fs,
Path dir,
Class<? extends Writable> keyClass,
Class<? extends Writable> valueClass,
boolean dryrun,
Configuration conf)
This method attempts to fix a corrupt MapFile by re-creating its index.
|
static long |
MapFile.fix(FileSystem fs,
Path dir,
Class<? extends Writable> keyClass,
Class<? extends Writable> valueClass,
boolean dryrun,
Configuration conf)
This method attempts to fix a corrupt MapFile by re-creating its index.
|
static Writable |
WritableFactories.newInstance(Class<? extends Writable> c)
Create a new instance of a class with a defined factory.
|
static Writable |
WritableFactories.newInstance(Class<? extends Writable> c,
Configuration conf)
Create a new instance of a class with a defined factory.
|
void |
SortedMapWritable.putAll(Map<? extends K,? extends Writable> t) |
void |
MapWritable.putAll(Map<? extends Writable,? extends Writable> t) |
void |
MapWritable.putAll(Map<? extends Writable,? extends Writable> t) |
| Constructor and Description |
|---|
ArrayWritable(Class<? extends Writable> valueClass,
Writable[] values) |
TwoDArrayWritable(Class valueClass,
Writable[][] values) |
| Constructor and Description |
|---|
ArrayWritable(Class<? extends Writable> valueClass) |
ArrayWritable(Class<? extends Writable> valueClass,
Writable[] values) |
Writer(Configuration conf,
FileSystem fs,
String file,
Class<? extends Writable> valClass)
Create the named file for values of the named class.
|
Writer(Configuration conf,
FileSystem fs,
String file,
Class<? extends Writable> valClass,
SequenceFile.CompressionType compress,
Progressable progress)
Create the named file for values of the named class.
|
Writer(Configuration conf,
FileSystem fs,
String dirName,
Class<? extends WritableComparable> keyClass,
Class<? extends Writable> valClass,
SequenceFile.CompressionType compress,
CompressionCodec codec,
Progressable progress)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProtocolSignature |
class |
org.apache.hadoop.ipc.RpcWritable |
static class |
RpcWritable.Buffer
adapter to allow decoding of writables and protobufs from a byte buffer.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends Writable> |
Client.getAsyncRpcResponse() |
| Modifier and Type | Method and Description |
|---|---|
Writable |
RPC.Server.call(RPC.RpcKind rpcKind,
String protocol,
Writable rpcRequest,
long receiveTime) |
abstract Writable |
Server.call(RPC.RpcKind rpcKind,
String protocol,
Writable param,
long receiveTime)
Called for each call.
|
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
org.apache.hadoop.ipc.Client.ConnectionId remoteId,
AtomicBoolean fallbackToSimpleAuth)
Make a call, passing
rpcRequest , to the IPC server defined by
remoteId , returning the rpc respond. |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
org.apache.hadoop.ipc.Client.ConnectionId remoteId,
AtomicBoolean fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext alignmentContext) |
Writable |
Server.call(Writable param,
long receiveTime)
Deprecated.
Use
Server.call(RPC.RpcKind, String,
Writable, long) instead |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Writable> |
Server.getRpcRequestWrapper(RpcHeaderProtos.RpcKindProto rpcKind) |
| Modifier and Type | Method and Description |
|---|---|
Writable |
RPC.Server.call(RPC.RpcKind rpcKind,
String protocol,
Writable rpcRequest,
long receiveTime) |
abstract Writable |
Server.call(RPC.RpcKind rpcKind,
String protocol,
Writable param,
long receiveTime)
Called for each call.
|
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
org.apache.hadoop.ipc.Client.ConnectionId remoteId,
AtomicBoolean fallbackToSimpleAuth)
Make a call, passing
rpcRequest , to the IPC server defined by
remoteId , returning the rpc respond. |
Writable |
Client.call(RPC.RpcKind rpcKind,
Writable rpcRequest,
org.apache.hadoop.ipc.Client.ConnectionId remoteId,
AtomicBoolean fallbackToSimpleAuth,
org.apache.hadoop.ipc.AlignmentContext alignmentContext) |
Writable |
Server.call(Writable param,
long receiveTime)
Deprecated.
Use
Server.call(RPC.RpcKind, String,
Writable, long) instead |
void |
Server.Call.setDeferredResponse(Writable response) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Server.registerProtocolEngine(RPC.RpcKind rpcKind,
Class<? extends Writable> rpcRequestWrapperClass,
org.apache.hadoop.ipc.RPC.RpcInvoker rpcInvoker)
Register a RPC kind and the class to deserialize the rpc request.
|
| Constructor and Description |
|---|
Client(Class<? extends Writable> valueClass,
Configuration conf)
Construct an IPC client with the default SocketFactory
|
Client(Class<? extends Writable> valueClass,
Configuration conf,
SocketFactory factory)
Construct an IPC client whose values are of the given
Writable
class. |
Server(String bindAddress,
int port,
Class<? extends Writable> paramClass,
int handlerCount,
Configuration conf) |
Server(String bindAddress,
int port,
Class<? extends Writable> rpcRequestClass,
int handlerCount,
int numReaders,
int queueSizePerHandler,
Configuration conf,
String serverName,
SecretManager<? extends TokenIdentifier> secretManager) |
Server(String bindAddress,
int port,
Class<? extends Writable> paramClass,
int handlerCount,
int numReaders,
int queueSizePerHandler,
Configuration conf,
String serverName,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig) |
Server(String bindAddress,
int port,
Class<? extends Writable> rpcRequestClass,
int handlerCount,
int numReaders,
int queueSizePerHandler,
Configuration conf,
String serverName,
SecretManager<? extends TokenIdentifier> secretManager,
String portRangeConfig)
Constructs a server listening on the named port and address.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Credentials
A class that provides the facilities of reading and writing
secret keys and Tokens.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessControlList
Class representing a configured access control list.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Token<T extends TokenIdentifier>
The client-side form of the token.
|
class |
TokenIdentifier
An identifier that identifies a token, may contain public information
about a token, including its kind (or type).
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractDelegationTokenIdentifier |
| Modifier and Type | Class and Description |
|---|---|
class |
org.apache.hadoop.security.token.delegation.web.DelegationTokenIdentifier
Concrete delegation token identifier used by
DelegationTokenManager ,
KerberosDelegationTokenAuthenticationHandler and
DelegationTokenAuthenticationFilter . |
| Modifier and Type | Method and Description |
|---|---|
static void |
ReflectionUtils.cloneWritableInto(Writable dst,
Writable src)
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BloomFilter
Implements a Bloom filter, as defined by Bloom in 1970.
|
class |
CountingBloomFilter
Implements a counting Bloom filter, as defined by Fan et al.
|
class |
DynamicBloomFilter
Implements a dynamic Bloom filter, as defined in the INFOCOM 2006 paper.
|
class |
org.apache.hadoop.util.bloom.Filter
Defines the general behavior of a filter.
|
class |
RetouchedBloomFilter
Implements a retouched Bloom filter, as defined in the CoNEXT 2006 paper.
|
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.


Before Change
remaining = 0
annotation_class = project.get_annotation_class()
for d in project.documents.all():
count = annotation_class.objects.filter(document=d).count()
if count == 0:
remaining += 1
return {"total": total, "remaining": remaining}
After Change
docs = project.documents
annotation_class = project.get_annotation_class()
total = docs.count()
done = annotation_class.objects.filter(document_id__in=docs.all()).\
aggregate(Count("document", distinct=True))["document__count"]
remaining = total - done
return {"total": total, "remaining": remaining}
def label_per_data(self, project):
label_count = Counter()


Import json
close
ok
import
export
Football
Find the match, check static of a team or compare two teams.
find the match
Compare 2 teams
Statistics team
teams


--- layout: post title: "The Week in Robots" date: 2016-09-03 08:35:00 +0000 tags: image: https://s3.amazonaws.com/audreywatters/2016-09-03-robot.jpg imagecredits: https://www.flickr.com/photos/gwai/6040274325 ---
Robot baby dolls could increase teen pregnancies, abortions, study shows
What Robots Can Learn from Babies
Mark Zuckerberg gives Pope Francis a drone
After replacing human editors with an algorithm, Facebook ended up with a fake Trending news story
In a first, FAA allows PrecisionHawk to fly drones where pilots can’t see them
Woman shoots drone: “It hovered for a second and I blasted it to smithereens.”
Some U.S. Drones Are Getting Longer Leashes
Are Robots Really Destined to Take Over Restaurant Kitchens?
Thought-controlled nanorobots in your body
Our tiny autonomous killer drone future
New Self-Driving Car Tells Pedestrians When It’s Safe to Cross the Street
How Tech Giants Are Devising Real Ethics for Artificial Intelligence
Artificial Intelligence Will Be as Biased and Prejudiced as Its Human Creators
AI Wants to Be Your Bro, Not Your Foe
More People Are Using Drones To Catch Their Cheating Partners
DeepMind Will Use AI to Streamline Targeted Cancer Treatment


public class Board
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
private int[][] |
board |
private static java.util.Random |
randNumGenerator |
private int |
scores |
| Constructor and Description |
|---|
Board()
Constructs a game board object.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
addNumber()
Adds a number (2 or 4, which is randomly generated) in a random empty tile.
|
Board |
clone()
Deeply copies everything in the current game board, including all numbers
and the scores of the player.
|
double |
evaluate(int steps)
Calculates the evaluation value, defined as the sum of following values,
of the current game board:
|
int[][] |
getBoard()
Returns the current game board as a two-dimension array.
|
private int |
getEmptyTileNumber()
Counts the number of empty tiles currently presented on the board.
|
int |
getMaxTile()
Determines the maximum number contained in all tiles currently presented
on the board.
|
int |
getScores()
Returns the scores the player gets based on all tiles' information.
|
private long |
getTileWeight(int row,
int column)
Determines the weight of a tile at the given location.
|
boolean |
isGameOver()
Determines whether the game is over based on the current tile distribution
of the board.
|
private boolean |
isValidMove(Board movedBoard)
Determines if the game board actually moved after a move action.
|
Board |
move(CoreConstants.Directions direction)
Obtains a new board by moving the current game board to the given direction.
|
private Board |
moveDown()
Deeply copies the current board at first, then makes a down move on the
cloned board and adds a new number.
|
private Board |
moveLeft()
Deeply copies the current board at first, then makes a left move on the
cloned board and adds a new number.
|
private Board |
moveRight()
Deeply copies the current board at first, then makes a right move on the
cloned board and adds a new number.
|
private Board |
moveUp()
Deeply copies the current board at first, then makes an up move on the
cloned board and adds a new number.
|
void |
replaceBoardWith(Board anotherBoard)
Replaces the current game board with a board given by the user.
|
java.lang.String |
toString()
Returns a formatted string which contains all the information of the board
and tiles, and it can be used later to output to the screen, a file, etc..
|
private int[][] board
private static final java.util.Random randNumGenerator
private int scores
private void addNumber()
public Board clone()
clone
in class java.lang.Object
public double evaluate(int steps)
(a) the square of the scores of the board;
(b) the square of the maximum number presented on the board;
(c) a constant value 'WEIGHT_EMPTY' times the number of empty tiles;
(d) the weights of all tiles.
steps
- the steps taken up to nowpublic int[][] getBoard()
private int getEmptyTileNumber()
public int getMaxTile()
public int getScores()
private long getTileWeight(int row, int column)
(a) Corner tiles: a constant value 'WEIGHT_CORNER' times the number contained in the tile.
(b) Side tiles (except corner ones): a constant value 'WEIGHT_SIDE' times the number contained in the tile.
(c) Other tiles: a constant value 'WEIGHT_OTHER' times the number contained in the tile.
row
- the row index of the tilecolumn
- the column index of the tilepublic boolean isGameOver()
(a) There exists an empty tile.
(b) The current tile and the one on its left contain the same number. (Since they can be combined and produce a larger one)
(c) The current tile and the one on its right contain the same number.
(d) The current tile and the one above it contain the same number.
(e) The current tile and the one below it contain the same number.
private boolean isValidMove(Board movedBoard)
movedBoard
- the new board obtained by applying a move action to the
original onepublic Board move(CoreConstants.Directions direction)
direction
- the given directionprivate Board moveDown()
private Board moveLeft()
private Board moveRight()
private Board moveUp()
public void replaceBoardWith(Board anotherBoard)
anotherBoard
- the given game boardpublic java.lang.String toString()
toString
in class java.lang.Object


Vision Transformers (ViTs) have achieved state-of-the-art performance on various vision tasks. However, ViTs' self-attention module is still arguably a major bottleneck, limiting their achievable hardware efficiency. Meanwhile, existing accelerators dedicated to NLP Transformers are not optimal for ViTs. This is because there is a large difference between ViTs and NLP Transformers:
ViTs have a relatively fixed number of input tokens, whose attention maps can be pruned by up to 90% even with fixed sparse patterns; while NLP Transformers need to handle input sequences of varying numbers of tokens and rely on on-the-fly predictions of dynamic sparse attention patterns for each input to achieve a decent sparsity (e.g., >=50%).
To this end, we propose a dedicated algorithm and accelerator co-design framework dubbed ViTCoD for accelerating ViTs. Specifically, on the algorithm level, ViTCoD prunes and polarizes the attention maps to have either denser or sparser fixed patterns for regularizing two levels of workloads without hurting the accuracy, largely reducing the attention computations while leaving room for alleviating the remaining dominant data movements; on top of that, we further integrate a lightweight and learnable auto-encoder module to enable trading the dominant high-cost data movements for lower-cost computations. On the hardware level, we develop a dedicated accelerator to simultaneously coordinate the enforced denser or sparser workloads and encoder or decoder engines for boosted hardware utilization.
Extensive experiments and ablation studies validate that ViTCoD largely reduces the dominant data movement costs, achieving speedups of up to 235.3x, 142.9x, 86.0x, 10.1x, and 6.8x over general computing platforms CPUs, EdgeGPUs, GPUs, and prior-art Transformer accelerators SpAtten and Sanger under an attention sparsity of 90%, respectively.
Our ViTCoD (HPCA'23) was selected for Meta Faculty Research Award of 2022 !
@inproceedings{you2022vitcod,
title={ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Design},
author={You, Haoran and Sun, Zhanyi and Shi, Huihong and Yu, Zhongzhi and Zhao, Yang and Zhang, Yongan and Li, Chaojian and Li, Baopu and Lin, Yingyan},
booktitle={The 29th IEEE International Symposium on High-Performance Computer Architecture (HPCA-29)},
year={2023}
}


{% extends "base.html" %} {% block content %}
Testers, use this site to practice testing AI/ML based applications. Most professional testers do not get the chance to wet their feet at testing real AI/ML based applications. Even when a motivated tester picks a random application and tries testing, the features seem too vast and opaque to test methodically. To get past this, we have developed some simple AI/ML based applications that do just one or two things well enough to challenge a professional tester. Your exercise will be to test the application and discuss your ideas with other testers. The applications listed have been developed and maintained by Qxf2 Services. We would love to hear how you go about testing such apps!
As of Oct-2020, we have only one application:
Post a sentence and the app will tell you if you are applying for leave or not. This is a sentence classifier. I adapted the code in this YouTube tutorial by Johannes Frey to make this application. I trained it on around 3200 messages posted on Qxf2's 'leave' Skype channel. There is definitely a bias in the training dataset. We live in India and our English is different from say someone in Australia. Similarly, certain words seem to throw the classifier off and it is fun to discover these words and just add them randomly to your messages.
We are professional testers who are learning how to test AI/ML based applications. We are not experts. We do not have the right answers. In fact, we struggle! But we make an honest attempt to practice and improve. And we share our work on our blog and speak openly about the troubles we have testing more complex applications and the solutions we try out at our clients. So, if you are a tester on a journey similar to ours, please reach out and share your ideas, difficulties and thoughts. Reach out to us either on LinkedIn or Twitter or email me (Arun<EMAIL_ADDRESS>directly.


Class yii\mongodb\Connection
| Inheritance | yii\mongodb\Connection » yii\base\Component » yii\base\BaseObject |
|---|---|
| Implements | yii\base\Configurable |
| Available since version | 2.0 |
| Source Code | https://github.com/yiisoft/yii2-mongodb/blob/master/Connection.php |
Connection represents a connection to a MongoDb server.
Connection works together with yii\mongodb\Database and yii\mongodb\Collection to provide data access to the Mongo database. They are wrappers of the [[MongoDB PHP extension]](http://us1.php.net/manual/en/book.mongo.php).
To establish a DB connection, set $dsn and then call open() to be true.
The following example shows how to create a Connection instance and establish the DB connection:
$connection = new \yii\mongodb\Connection([
'dsn' => $dsn,
]);
$connection->open();
After the Mongo connection is established, one can access Mongo databases and collections:
$database = $connection->getDatabase('my_mongo_db');
$collection = $database->getCollection('customer');
$collection->insert(['name' => 'John Smith', 'status' => 1]);
You can work with several different databases at the same server using this class. However, while it is unlikely your application will actually need it, the Connection class provides ability to use $defaultDatabaseName as well as a shortcut method getCollection() to retrieve a particular collection instance:
// get collection 'customer' from default database:
$collection = $connection->getCollection('customer');
// get collection 'customer' from database 'mydatabase':
$collection = $connection->getCollection(['mydatabase', 'customer']);
Connection is often used as an application component and configured in the application configuration like the following:
[
'components' => [
'mongodb' => [
'class' => '\yii\mongodb\Connection',
'dsn' => 'mongodb://developer:password@localhost:27017/mydatabase',
],
],
]
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $behaviors | yii\base\Behavior[] | List of behaviors attached to this component | yii\base\Component |
| $database | yii\mongodb\Database | Database instance. | yii\mongodb\Connection |
| $defaultDatabaseName | string | Default database name. | yii\mongodb\Connection |
| $driverOptions | array | Options for the MongoDB driver. | yii\mongodb\Connection |
| $dsn | string | Host:port Correct syntax is: mongodb://[username:password@]host1[:port1][,host2[:port2:],. | yii\mongodb\Connection |
| $enableLogging | boolean | Whether to log command and query executions. | yii\mongodb\Connection |
| $enableProfiling | boolean | Whether to enable profiling the commands and queries being executed. | yii\mongodb\Connection |
| $fileCollection | yii\mongodb\file\Collection | Mongo GridFS collection instance. | yii\mongodb\Connection |
| $fileStreamProtocol | string | Name of the protocol, which should be used for the GridFS stream wrapper. | yii\mongodb\Connection |
| $fileStreamWrapperClass | string | Name of the class, which should serve as a stream wrapper for $fileStreamProtocol protocol. | yii\mongodb\Connection |
| $isActive | boolean | Whether the Mongo connection is established | yii\mongodb\Connection |
| $logBuilder | yii\mongodb\LogBuilder | The log builder for this connection. | yii\mongodb\Connection |
| $manager | \MongoDB\Driver\Manager | MongoDB driver manager. | yii\mongodb\Connection |
| $options | array | Connection options. | yii\mongodb\Connection |
| $queryBuilder | yii\mongodb\QueryBuilder | The query builder for the this MongoDB connection. | yii\mongodb\Connection |
| $typeMap | array | Type map to use for BSON unserialization. | yii\mongodb\Connection |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __call() | Calls the named method which is not a class method. | yii\base\Component |
| __clone() | This method is called after the object is created by cloning an existing one. | yii\base\Component |
| __construct() | Constructor. | yii\base\BaseObject |
| __get() | Returns the value of a component property. | yii\base\Component |
| __isset() | Checks if a property is set, i.e. defined and not null. | yii\base\Component |
| __set() | Sets the value of a component property. | yii\base\Component |
| __unset() | Sets a component property to be null. | yii\base\Component |
| attachBehavior() | Attaches a behavior to this component. | yii\base\Component |
| attachBehaviors() | Attaches a list of behaviors to the component. | yii\base\Component |
| behaviors() | Returns a list of behaviors that this component should behave as. | yii\base\Component |
| canGetProperty() | Returns a value indicating whether a property can be read. | yii\base\Component |
| canSetProperty() | Returns a value indicating whether a property can be set. | yii\base\Component |
| className() | Returns the fully qualified name of this class. | yii\base\BaseObject |
| close() | Closes the currently active DB connection. | yii\mongodb\Connection |
| createCommand() | Creates MongoDB command. | yii\mongodb\Connection |
| detachBehavior() | Detaches a behavior from the component. | yii\base\Component |
| detachBehaviors() | Detaches all behaviors from the component. | yii\base\Component |
| ensureBehaviors() | Makes sure that the behaviors declared in behaviors() are attached to this component. | yii\base\Component |
| getBehavior() | Returns the named behavior object. | yii\base\Component |
| getBehaviors() | Returns all behaviors attached to this component. | yii\base\Component |
| getCollection() | Returns the MongoDB collection with the given name. | yii\mongodb\Connection |
| getDatabase() | Returns the MongoDB database with the given name. | yii\mongodb\Connection |
| getDefaultDatabaseName() | Returns default database name, if it is not set, attempts to determine it from $dsn value. | yii\mongodb\Connection |
| getFileCollection() | Returns the MongoDB GridFS collection. | yii\mongodb\Connection |
| getIsActive() | Returns a value indicating whether the Mongo connection is established. | yii\mongodb\Connection |
| getLogBuilder() | Returns log builder for this connection. | yii\mongodb\Connection |
| getQueryBuilder() | Returns the query builder for the this MongoDB connection. | yii\mongodb\Connection |
| hasEventHandlers() | Returns a value indicating whether there is any handler attached to the named event. | yii\base\Component |
| hasMethod() | Returns a value indicating whether a method is defined. | yii\base\Component |
| hasProperty() | Returns a value indicating whether a property is defined for this component. | yii\base\Component |
| init() | Initializes the object. | yii\base\BaseObject |
| off() | Detaches an existing event handler from this component. | yii\base\Component |
| on() | Attaches an event handler to an event. | yii\base\Component |
| open() | Establishes a Mongo connection. | yii\mongodb\Connection |
| registerFileStreamWrapper() | Registers GridFS stream wrapper for the $fileStreamProtocol protocol. | yii\mongodb\Connection |
| setDefaultDatabaseName() | Sets default database name. | yii\mongodb\Connection |
| setLogBuilder() | Sets log builder used for this connection. | yii\mongodb\Connection |
| setQueryBuilder() | Sets the query builder for the this MongoDB connection. | yii\mongodb\Connection |
| trigger() | Triggers an event. | yii\base\Component |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| initConnection() | Initializes the DB connection. | yii\mongodb\Connection |
| selectDatabase() | Selects the database with given name. | yii\mongodb\Connection |
Events
| Event | Type | Description | Defined By |
|---|---|---|---|
| EVENT_AFTER_OPEN | \yii\mongodb\Event | An event that is triggered after a DB connection is established | yii\mongodb\Connection |
Property Details
Database instance.
Default database name.
Options for the MongoDB driver. Any driver-specific options not included in MongoDB connection string specification.
See also http://php.net/manual/en/mongodb-driver-manager.construct.php.
Host:port
Correct syntax is: mongodb://[username:password@]host1[:port1][,host2[:port2:],...][/dbname] For example: mongodb://localhost:27017 mongodb://developer:password@localhost:27017 mongodb://developer:password@localhost:27017/mydatabase
Whether to log command and query executions. When enabled this option may reduce performance. MongoDB commands may contain large data, consuming both CPU and memory. It makes sense to disable this option in the production environment.
Whether to enable profiling the commands and queries being executed. This option will have no effect in case $enableLogging is disabled.
Mongo GridFS collection instance.
Name of the protocol, which should be used for the GridFS stream wrapper. Only alphanumeric values are allowed: do not use any URL special characters, such as '/', '&', ':' etc.
See also yii\mongodb\file\StreamWrapper.
Name of the class, which should serve as a stream wrapper for $fileStreamProtocol protocol.
Whether the Mongo connection is established
The log builder for this connection.
MongoDB driver manager.
Connection options. For example:
[
'socketTimeoutMS' => 1000, // how long a send or receive on a socket can take before timing out
'ssl' => true // initiate the connection with TLS/SSL
]
See also https://docs.mongodb.com/manual/reference/connection-string/#connections-connection-options.
The query builder for the this MongoDB connection.
Type map to use for BSON unserialization. Note: default type map will be automatically merged into this field, possibly overriding user-defined values.
See also http://php.net/manual/en/mongodb-driver-cursor.settypemap.php.
Method Details
Closes the currently active DB connection.
It does nothing if the connection is already closed.
| public void close ( ) |
Creates MongoDB command.
| public yii\mongodb\Command createCommand ( $document = [], $databaseName = null ) | ||
| $document | array | Command document contents. |
| $databaseName | string|null | Database name, if not set $defaultDatabaseName will be used. |
| return | yii\mongodb\Command | Command instance. |
|---|
Returns the MongoDB collection with the given name.
| public yii\mongodb\Collection getCollection ( $name, $refresh = false ) | ||
| $name | string|array | Collection name. If string considered as the name of the collection inside the default database. If array - first element considered as the name of the database, second - as name of collection inside that database |
| $refresh | boolean | Whether to reload the collection instance even if it is found in the cache. |
| return | yii\mongodb\Collection | Mongo collection instance. |
|---|
Returns the MongoDB database with the given name.
| public yii\mongodb\Database getDatabase ( $name = null, $refresh = false ) | ||
| $name | string|null | Database name, if null default one will be used. |
| $refresh | boolean | Whether to reestablish the database connection even, if it is found in the cache. |
| return | yii\mongodb\Database | Database instance. |
|---|
Returns default database name, if it is not set, attempts to determine it from $dsn value.
| public string getDefaultDatabaseName ( ) | ||
| return | string | Default database name |
|---|---|---|
| throws | yii\base\InvalidConfigException | if unable to determine default database name. |
Returns the MongoDB GridFS collection.
| public yii\mongodb\file\Collection getFileCollection ( $prefix = 'fs', $refresh = false ) | ||
| $prefix | string|array | Collection prefix. If string considered as the prefix of the GridFS collection inside the default database. If array - first element considered as the name of the database, second - as prefix of the GridFS collection inside that database, if no second element present default "fs" prefix will be used. |
| $refresh | boolean | Whether to reload the collection instance even if it is found in the cache. |
| return | yii\mongodb\file\Collection | Mongo GridFS collection instance. |
|---|
Returns a value indicating whether the Mongo connection is established.
| public boolean getIsActive ( ) | ||
| return | boolean | Whether the Mongo connection is established |
|---|
Returns log builder for this connection.
| public yii\mongodb\LogBuilder getLogBuilder ( ) | ||
| return | yii\mongodb\LogBuilder | The log builder for this connection. |
|---|
Returns the query builder for the this MongoDB connection.
| public yii\mongodb\QueryBuilder getQueryBuilder ( ) | ||
| return | yii\mongodb\QueryBuilder | The query builder for the this MongoDB connection. |
|---|
Initializes the DB connection.
This method is invoked right after the DB connection is established. The default implementation triggers an EVENT_AFTER_OPEN event.
| protected void initConnection ( ) |
Establishes a Mongo connection.
It does nothing if a MongoDB connection has already been established.
| public void open ( ) | ||
| throws | yii\mongodb\Exception | if connection fails |
|---|
Registers GridFS stream wrapper for the $fileStreamProtocol protocol.
| public string registerFileStreamWrapper ( $force = false ) | ||
| $force | boolean | Whether to enforce registration even wrapper has been already registered. |
| return | string | Registered stream protocol name. |
|---|
Selects the database with given name.
| protected yii\mongodb\Database selectDatabase ( $name ) | ||
| $name | string | Database name. |
| return | yii\mongodb\Database | Database instance. |
|---|
Sets default database name.
| public void setDefaultDatabaseName ( $name ) | ||
| $name | string | Default database name. |
Sets log builder used for this connection.
| public void setLogBuilder ( $logBuilder ) | ||
| $logBuilder | array|string|yii\mongodb\LogBuilder | The log builder for this connection. |
Sets the query builder for the this MongoDB connection.
| public void setQueryBuilder ( $queryBuilder ) | ||
| $queryBuilder | yii\mongodb\QueryBuilder|array|string|null | The query builder for this MongoDB connection. |


Labour may scrap Heathrow Airport expansion to tackle climate crisis – McDonnell
The British Labour Party's John McDonnell has said the Heathrow Airport expansion could be scrapped under Labour's plans to tackle the climate crisis.
The shadow chancellor said the controversial plans for a third runway may be blocked if the party wins the UK's General Election as part of its efforts to make the nation carbon-neutral by 2030.
On Sunday, he told the BBC’s The Andrew Marr Show: “We set ourselves criteria, one of which was environmental impact, the other was also economic impact and social impact.
“On the current criteria, we’ve said very clearly, Heathrow expansion doesn’t qualify.”
Everything I said we would do we are doing in terms of the Labour Party in terms of eradicating anti-Semitism from the party
Pressed if Labour would cancel the extension, he said: “At the moment it does not qualify based on the criteria we set out.”
Other expansions across the country including in Manchester would also be considered under the criteria, he said.
Parliament gave the go-ahead last year for the expansion of the London airport, which published its “masterplan” in June to build a third runway by 2026.
Mr McDonnell also sought to reassure the Jewish community that Labour was trying to eradicate anti-Semitism after being shown three Jewish newspapers with highly-critical headlines.
“I’m so saddened by this. I just want to reassure them that we’re doing everything we can,” he said.
“Everything I said we would do we are doing in terms of the Labour Party in terms of eradicating anti-Semitism from the party.”
Mr McDonnell also expressed optimism over Labour’s chances in the December 12 election despite polls putting them far behind the Tories.
Asked if it feels like a winning campaign, he said: “It does actually. I think the polls are coming our way.
“I think they are beginning to move in our direction. We know how far we are behind in the polls, not as far as in 2017.”


This project examines the impact of the current sex offender registration and community notification laws in Chicago. It tries to explore the collateral consequences that these laws have, specifically the residence restrictions that are imposed on offenders, and raises questions about the effectiveness of their intentions. This work aims to serve as a tool for lawmakers, to understand what the consequences of their actions might translate into, and help them make informed decisions with empirical evidence. It is also an attempt, for us to understand, how examining these laws and their impact on society from an objective lens can debunk myths and create awareness.
The current registry laws in different states require former offenders to be a part of the online public sex offender registries and prohibits them from living anywhere within 500-2500 feet distance from schools, public parks, day care centers, and other places that cater to children under 18. The duration in the registry ranges from 2 years to a lifetime.
In Illinois, the safety zone is 500 feet. Moreover, a registered offender may not "loiter" within 500 feet of a school building or a public park.
However, studies have shown that in many cases, these legal decisions are not based on scientific evidence, but are backed up by assumptions that are false and based on emotional response to violent cases and media hype.
read more.
On adding a 500 feet buffer to all schools, public parks and day care centers in the city of Chicago, it was found that 43% of the city remains out of bounds to registered offenders. Also, these restrictions not only have housing implications but also lead to many other collateral consequences. For instance,
The first part tries to explore the impact of these laws specifically on housing and employment. The user can understand the extent of these restrictions across different neighborhoods in Chicago to examine whether some neighborhoods are more accessible than others, or whether all neighborhoods are equally inaccessible.
CLICK the button below to explore.
The second part tries to explore the impact of these laws on mobility and presence. The user can understand how these laws would affect the movement of a person, who seeks to comly with the law, when they want to travel from point A to point B within the city of Chicago.
CLICK the button below to explore.


Im not very good at this but I have tried 3 times now
I want Paladin 10-12lvl w/ divine might Sorc 3-5 lvl extended spells for lasting Weapon Master 23+
most of all I need a min. of 57AB this is what is needed to fight certain creations where I play at commonly
thanks for those that help or post comments
What kind of weapons can you get on your server? (What are the most common enhancements?)
Why Pally/SOR/WM? Why not Cleric or some other calsses? _________________ Wave upon wave of demented avengers marched cheerfully out of obscurity into the dream...
Enough Cleric to cast divine power would be a lot better for AB buffing than any number of sorcerer levels. _________________ Experience is the mother of good judgement; bad judgement is the father of experience.
+8 weapons are the best there
Paladin 15 WM 5 pre epic = maximum BAB of .. uhm.. 30? so after that you just need like 22 odd (1 WM, 2 EWF, 1 WF, 1 EP = 5 already) that's maxed bulls str.. a +8 weapon and 12 other buffs.. so 12 could be from divine favor.. 7 left.. bless and aid.. 5 left.. uhm. battletide.. 3 left.. so we're down to 3 left which could be a base str of 16 couldn't it?
All this from Paladin 15 WM 7 Cleric 18 plus cleric buffs last far far longer than 1 true strike


Id: 342
Name: Taint Washer
Status: Alive
Species: Human
Type:
Gender: Male
OriginName: Post-Apocalyptic Earth
OriginUrl: https://rickandmortyapi.com/api/location/8
LocationName: Post-Apocalyptic Earth
LocationUrl: https://rickandmortyapi.com/api/location/8
Image: https://rickandmortyapi.com/api/character/avatar/342.jpeg
Episode: ['https://rickandmortyapi.com/api/episode/23']
Url: https://rickandmortyapi.com/api/character/342
Created: 2018-01-10T17:23:26.944Z


If you marry a monkey for his wealth, the money goes and the monkey remains as is.
~ Egyptian proverb


A Weekend on the Seine
I was lucky enough to spend three days visiting Paris this month! I went with a friend and we were able to see many things while we were there!
Day 1
On our first day, we started by visiting Montmartre right away. Our second stop was the Eiffel Tower (check out that beautiful picture!) We ate dinner at a cute little bistro overlooking la Seine.
Day 2
On our second day, we went shopping on Avenue des Champs Elysees. Every single person we saw was dressed in the height of fashion.
After we finished shopping, we visited some really beautiful places! We went to Notre Dame. We went on a macaron tour of Paris and ate all of the best macarons the city had to offer . After we finished shopping, we visited le Louvre.
>Day 3
The picture below is of me visiting the Arc de Triomphe. It's huge! We also went to le Musee D'Orsay. Seeing the work of Renoir, Monet, and Van Gogh in person was completely breathtaking. I was surprised to see that the museum also had many sculptures including those by Auguste Rodin, Paul Gauguin, and Alfred Barye.


Welcome!
Read about this project
Read information
Read terms
You can read further
here
.
You can read further
here
.


Thank You, Our Esteemed Customer, For Getting Intouch
We shall get back to you shortly.
Go Back Home ←


Heading
These are some words that are describing this particular element.
Heading
These are some words that are describing this particular element.
Heading
These are some words that are describing this particular element.
Another Heading!
MVCSS is Minimal Viable CSS. MVCSS keeps HTML readable and speedy. MVCSS is a snippet of CSS. MVCSS is not a CSS framework. That makes a bland HTML document a bit more readable and 100% responsive. As in, everything will fit on a device's screen. HTML does a lot of the heavy lifting already, MVCSS just gives it the winning push that it needs to go the distance.
Oleg Gribanov
Front-end Developer


Can I suggest to make myisam the default storage engine for creating a new database scheme ?
I recently redeployed my emoncms from scratch and didn't bother to check the database scheme. I just imported my old feeds in the newly created feeds after some thinkering with the fields (went from a very old emoncms to the latest).
I have a rather busy mysql, so I didn't bother at first, but after a week of not settling down, I started searching and bumped into the myisam rpi blog post.
My server load was very high and my mysql did about 60-70 disk iops/s. After changing the storage engine to myisam, the disk iops/s dropped to 5-8 disk iops/s and the load of my server went from 50% (dual socket vm) to 5%.
Re: mysql myisam
Yes good idea, I will add that in.
ps: Its good to see that you replicated the same results, quite a marked difference
Re: mysql myisam
This can be a bit surprising.
I've got no knowledge about this, but I had a look, and AFAIU, myisam is the old engine. It's weird that going back makes things better, unless we're in a corner case where the new engine is inefficient.
Before changing the default, it would be nice to understand the reasons for this performance gap.
Re: mysql myisam
Hi Trystan and ziporah.
I also converted the database to myisam (with 32 feeds, and short 30 sec updates). The average load realy dropped down:
and my diskIO is also dropped down a 50%.
The Spikes are less high.. oh and I'm not running it on an Rpie, just an overkill server with a 1.6 dual celeron.
Tristan, I also uploaded a simple PHP script to alter all the emoncms tables. It may be usefully to integrate this at emoncms github?