Module: Sprockets::Dependencies
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Extended In:
| |
|
Included In:
| |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Instance Chain:
|
|
| Defined in: | lib/sprockets/dependencies.rb |
Overview
Dependencies
is an internal mixin whose public methods are exposed on the Environment
and CachedEnvironment
classes.
Constant Summary
PathUtils
- Included
DigestUtils
- Included
Instance Method Summary
-
#add_dependency(uri)
(also: #depend_on)
Public: Add environmental dependency inherited by all assets.
-
#depend_on(uri)
Alias for #add_dependency.
-
#dependencies
Public: Default set of dependency URIs for assets.
-
#dependency_resolvers
Public: Mapping dependency schemes to resolver functions.
-
#register_dependency_resolver(scheme, &block)
Public: Register new dependency URI resolver.
-
#resolve_dependency(str)
Internal:
Resolve
dependency URIs.
PathDigestUtils
- Included
| #file_digest | Internal: Compute digest for path. |
| #files_digest | Internal: Compute digest for a set of paths. |
| #stat_digest | Internal: Compute digest for file stat. |
DigestUtils
- Included
| #already_digested? | Internal: Checks an asset name for a valid digest. |
| #detect_digest_class | Internal: Detect digest class hash algorithm for digest bytes. |
| #digest | Internal: Generate a hexdigest for a nested JSON serializable object. |
| #digest_class | Internal: Default digest class. |
| #hexdigest | Internal: Generate a hexdigest for a nested JSON serializable object. |
| #hexdigest_integrity_uri | Public: Generate hash for use in the |
| #integrity_uri | Public: Generate hash for use in the |
| #pack_base64digest | Internal: Pack a binary digest to a base64 encoded string. |
| #pack_hexdigest | Internal: Pack a binary digest to a hex encoded string. |
| #pack_urlsafe_base64digest | Internal: Pack a binary digest to a urlsafe base64 encoded string. |
| #unpack_hexdigest | Internal: Unpack a hex encoded digest string into binary bytes. |
| #build_digest |
PathUtils
- Included
| #absolute_path? | On Windows, ALT_SEPARATOR is \ Delegate to Pathname since the logic gets complex. |
| #atomic_write | Public: Write to a file atomically. |
| #directory? | Public: Like |
| #entries | Public: A version of |
| #file? | Public: Like |
| #find_matching_path_for_extensions | Internal: Match paths in a directory against available extensions. |
| #find_upwards | Internal: Find target basename checking upwards from path. |
| #join | Public: Joins path to base path. |
| #match_path_extname | Internal: Match path extnames against available extensions. |
| #path_extnames | Internal: Get path’s extensions. |
| #path_parents | Internal: Returns all parents for path. |
| #paths_split | Internal: Detect root path and base for file in a set of paths. |
| #relative_path? | Public: Check if path is explicitly relative. |
| #relative_path_from | Public: Get relative path from |
| #set_pipeline | Public: Sets pipeline for path. |
| #split_subpath | Internal: Get relative path for root path and subpath. |
| #stat | Public: Like |
| #stat_directory | Public: Stat all the files under a directory. |
| #stat_sorted_tree | Public: Recursive stat all the files under a directory in alphabetical order. |
| #stat_tree | Public: Recursive stat all the files under a directory. |
URIUtils
- Included
| #build_asset_uri | Internal: Build Asset URI. |
| #build_file_digest_uri | Internal: Build file-digest dependency URI. |
| #encode_uri_query_params | Internal: Serialize hash of params into query string. |
| #join_file_uri | Internal: Join file: URI component parts into String. |
| #join_uri | Internal: Join URI component parts into String. |
| #parse_asset_uri | Internal: Parse Asset URI. |
| #parse_file_digest_uri | Internal: Parse file-digest dependency URI. |
| #parse_uri_query_params | Internal: Parse query string into hash of params. |
| #split_file_uri | Internal: Parse file: URI into component parts. |
| #split_uri | Internal: Parse URI into component parts. |
| #valid_asset_uri? | Internal: Check if String is a valid |
Instance Method Details
#add_dependency(uri) Also known as: #depend_on
Public: Add environmental dependency inherited by all assets.
uri - String dependency URI
Returns nothing.
# File 'lib/sprockets/dependencies.rb', line 48
def add_dependency(uri) self.config = hash_reassoc(config, :dependencies) do |set| set + Set.new([uri]) end end
#depend_on(uri)
Alias for #add_dependency.
# File 'lib/sprockets/dependencies.rb', line 53
alias_method :depend_on, :add_dependency
#dependencies
Public: Default set of dependency URIs for assets.
Returns Set of String URIs.
# File 'lib/sprockets/dependencies.rb', line 25
def dependencies config[:dependencies] end
#dependency_resolvers
Public: Mapping dependency schemes to resolver functions.
key - String scheme value - Proc.call
(Environment, String)
Returns Hash.
# File 'lib/sprockets/dependencies.rb', line 18
def dependency_resolvers config[:dependency_resolvers] end
#register_dependency_resolver(scheme, &block)
Public: Register new dependency URI resolver.
scheme - String scheme block -
environment - Environment
uri - String dependency URI
Returns nothing.
# File 'lib/sprockets/dependencies.rb', line 37
def register_dependency_resolver(scheme, &block) self.config = hash_reassoc(config, :dependency_resolvers) do |hash| hash.merge(scheme => block) end end
#resolve_dependency(str)
Internal: Resolve
dependency URIs.
Returns resolved Object.
# File 'lib/sprockets/dependencies.rb', line 58
def resolve_dependency(str) # Optimize for the most common scheme to # save 22k allocations on an average Spree app. scheme = if str.start_with?('file-digest:'.freeze) 'file-digest'.freeze else str[/([^:]+)/, 1] end if resolver = config[:dependency_resolvers][scheme] resolver.call(self, str) else nil end end


{{gallery.description[gallery.language]}}
{{item.done}}% {{gallery.complete[gallery.language]}}
{{item.text[gallery.language]}}


{% extends "base.html" %} {% set header, title, page = "My Testing Environments", "Testing Environments", "testing_environments" %} {% block content %}


{% extends "base.html" %} {% block title %}Error Loading Page{% endblock %} {% block content %}
You've encountered an error, please try again in some time or file an error report if the problem persists. {% if request.sentry.id %} You may reference this error as {{ request.sentry.id }}. {% endif %}
{% endblock %}


Expense Tracker
Current Balance
CAD $0.00
Income
+$0
Expenses
-$0
Transaction History:
Add Transaction
Name of Transaction
Amount in CAD($)
(If expense, put a - sign before amount; if income, put a + sign)
Add Transaction


I am currently pursuing Master of Computer Science at North Carolina State University. I am an ambitious, diligent and creative professional, a true generalist with interest in Machine Learning (Especially Deep Learning) and Software Engineering. I believe in doing things which directly makes an immediate impact.
 I am an novice photographer and a traveller who loves to explore new places.
When forced indoors, I follow a number of sci-fi and fantasy genre movies and television shows, I am an aspiring singer, and I spend a large amount of my free time exploring the latest technolgy advancements in the fields of machine learning and deep learning.


Computation graph API#
The building blocks of the INN computation graph are the nodes in it.
They are provided through the FrEIA.framework.Node
class.
The computation graph is constructed by constructing each node, given its
inputs (defining one direction of the INN as the ‘forward’ computation).
More specifically:
The
Node
-subclassInputNode
represents an input to the INN, and its constructor only takes the dimensions of the data (except the batch dimension). E.g. for a 32x32 RGB image:in1 = InputNode(3, 32, 32, name='Input 1')
The
name
argument can be omitted in principle, but it is recommended in general, as it appears e.g. in error messages.Each
Node
(and derived classes) has propertiesnode.out0
,node.out1
, etc., depending on its number of outputs. Instead ofnode.out{i}
, it is equivalent to use a tuple(node, i)
, which is useful if you e.g. want to loop over 10 outputs of a node.Each
Node
is initialized given a list of its inputs as the first constructor argument, along with other arguments covered later (omitted as ‘...
’ in the following, in particular defining what operation the node should represent). For Permutation in the example above, this would look like the this:perm = Node([in1.out0], ..., name='Permutation')
Or for Merge 2:
merge2 = Node([affine.out0, split2.out1], ..., name='Merge 2')
Conditions are passed as a list through the
conditions
argument:affine = Node([merge1.out0], ..., conditions=[cond], name='Affine Coupling')
The
Node
-subclassOutputNode
is used for the outputs. The INN as a whole will return the result at this node.Conditions (as in the cINN paper) are represented by
ConditionNode
, whose constructor is identical to theInputNode
.Take note of several features for convenience (also see examples below): 1.) If a preceding node only has a single output, it is also equivalent to directly use
node
instead ofnode.out0
in the constructor of following nodes. 2.) If a node only takes a sinlge input/condition, you can directly use only that input in the constructor instead of a list, i.e.node.out0
instead of[node.out0]
.From the list of nodes, the INN is represented by the class
FrEIA.framework.GraphINN
. The constructor takes a list of all the nodes in the INN (order irrelevant).The
GraphINN
is a subclass oftorch.nn.Module
, and can be used like any other torchModule
. For the computation, the inputs are given as a list of torch tensors, or just a single torch tensor if there is only one input. To perform the inverse pass, therev
argument has to be set toTrue
(see examples).
Above, we only covered the construction of the computation graph itself, but so
far we have not shown how to define the operations represented by each node.
Therefore, we will take a closer look at the Node
constructor and its
arguments:
Node(inputs, module_type, module_args, conditions=[], name=None)
The arguments of the Node
constructor are the following:
inputs
: A list of outputs of other nodes, that are used as inputs for this node (discussed above)module_type
: This argument gives the class of operation to be performed by this node, for exampleGLOWCouplingBlock
for a coupling block following the GLOW-design. Many implemented classes can be found in the documentation under https://vll-hd.github.io/FrEIA/modules/index.htmlmodule_args
: This argument is a dictionary. It provides arguments for themodule_type
-constructor. For instance, a random invertible permutation (module_type=PermuteRandom
) can accept the argumentseed
, so we could usemodule_args={'seed': 111}
. If no arguments are specified we must pass an empty dictionary{}
.
Using these rules, we would construct the INN from the example in the Basic concepts section:
in1 = Ff.InputNode(100, name='Input 1') # 1D vector
in2 = Ff.InputNode(20, name='Input 2') # 1D vector
cond = Ff.ConditionNode(42, name='Condition')
def subnet(dims_in, dims_out):
return nn.Sequential(nn.Linear(dims_in, 256), nn.ReLU(),
nn.Linear(256, dims_out))
perm = Ff.Node(in1, Fm.PermuteRandom, {}, name='Permutation')
split1 = Ff.Node(perm, Fm.Split, {}, name='Split 1')
split2 = Ff.Node(split1.out1, Fm.Split, {}, name='Split 2')
actnorm = Ff.Node(split2.out1, Fm.ActNorm, {}, name='ActNorm')
concat1 = Ff.Node([actnorm.out0, in2.out0], Fm.Concat, {}, name='Concat 1')
affine = Ff.Node(concat1, Fm.AffineCouplingOneSided, {'subnet_constructor': subnet},
conditions=cond, name='Affine Coupling')
concat2 = Ff.Node([split2.out0, affine.out0], Fm.Concat, {}, name='Concat 2')
output1 = Ff.OutputNode(split1.out0, name='Output 1')
output2 = Ff.OutputNode(concat2, name='Output 2')
example_INN = Ff.GraphINN([in1, in2, cond,
perm, split1, split2,
actnorm, concat1, affine, concat2,
output1, output2])
# dummy inputs:
x1, x2, c = torch.randn(1, 100), torch.randn(1, 20), torch.randn(1, 42)
# compute the outputs
(z1, z2), log_jac_det = example_INN([x1, x2], c=c)
# invert the network and check if we get the original inputs back:
(x1_inv, x2_inv), log_jac_det_inv = example_INN([z1, z2], c=c, rev=True)
assert (torch.max(torch.abs(x1_inv - x1)) < 1e-5
and torch.max(torch.abs(x2_inv - x2)) < 1e-5)


--- layout: base-en id: about title: About - Bitcoin ---
Bitcoin is one of the first implementations of a concept called crypto-currency, which was first described in 1998 by Wei Dai on the cypherpunks mailing list. Building upon the notion that money is any object, or any sort of record, accepted as payment for goods and services and repayment of debts in a given country or socio-economic context, Bitcoin is designed around the idea of a new form of money that uses cryptography to control its creation and transactions, rather than relying on central authorities.
In 2009, the first Bitcoin specification and proof of concept was published in a Cryptography mailing list by a member under the pseudonym of Satoshi Nakamoto. Towards the end of 2010 Satoshi left the project saying he had moved on to other things. The creator of Bitcoin never revealed his identity and simply left his invention to the world. The origin and the motivation behind Bitcoin is still today a great source of mystery.
Since 2010, the Bitcoin community has grown with many developers working on the project. During June and July 2011, Bitcoin suddenly gained media attention leading to a massive buy rally. The resulting bubble slowly deflated through the latter part of 2011 and the value of Bitcoin has since slowly climbed once again back to its 2011 heights.
On September 27th 2012, the Bitcoin Foundation was created in an effort to standardize, protect, and promote Bitcoin. Today, the Bitcoin economy is developing quickly with new users joining every day.
These are the basic features of any Bitcoin-like network.
These rules are enforced collectively by the network. While they will not change for Bitcoin, other digital currencies using the same technology may change them to suit their needs.
The network has been running for more than 45 months, yielding some impressive security features. There has been especially significant growth over the last year. As of February 2013, here are some statistics.


Name: Vibhor Singh
Profile: Software Engineer
Email<EMAIL_ADDRESS>Phone:<PHONE_NUMBER>
Skype: live:vibsin95
Skill
HTML and CSS 75%Hi there, I'm Vibhor, an experienced IT Engineer With experience in Web Design,Softare development,Testing , I can maintain a healthy balance between functionality and visual impact in my work.
I believe every piece of work, be it coding, programming or design can be a work of art.
I love my work and enjoy coding and programming new things with proper work,social and health balance.
Skill
Android 40%These are the work areas I have worked upon.
Web design encompasses many different skills and disciplines in the production and maintenance of websites. The different areas of web design include web graphic design; interface design; authoring, including standardised code and proprietary software; user experience design; and search engine optimization.
Web development is the work involved in developing a web site for the Internet or an intranet. Web development can range from developing a simple single static page of plain text to complex web-based internet applications, electronic businesses, and social network services.
Software development is the process of conceiving, specifying, designing, programming, documenting, testing, and bug fixing involved in creating and maintaining applications, frameworks, or other software components.
the maintenance of a desired level of quality in a service or product, especially by means of attention to every stage of the process of delivery or production.
Machine learning is the scientific study of algorithms and statistical models that computer systems use to effectively perform a specific task without using explicit instructions, relying on patterns and inference instead.
An Application Support Engineer is an IT professional who provides technical support regarding a spectrum of software used within a specific business sector.
This section is in progress :)


1
2
3
4
5
6
Star
Name:
Planet composition:
Gas
A planet composed primarily of hydrogen and helium
Ice
A planet composed mainly of 'ices'—volatile substances heavier than hydrogen and helium
Ocean
A planet which has a substantial fraction of its mass made of water
Helium
A planet that may form via mass loss from a low-mass white dwarf.
Terrestrial
A terrestrial planet or rocky planet is a planet that is composed primarily of carbonaceous or silicate rocks or metals
Mass:
1000
5000
15000
Planet radius:
1000
5000
15000
Orbital radius:
1000
5000
15000
Orbital period:
1000
5000
15000
Temperature:
1000
5000
15000
4
5
6


Real-time data from iGlobe, Inc
GOES clouds (3hr, from seven weeks ago to present)
Fronts (3hr)
Humidity (1hr, two weeks )
Precipitation (2/dayt)
Satellite IR (1hr)
Temperatures (1hr)
Winds (1hr, two weeks until now)
Sea-surface temperature (1/day)
COP-21 trajectory calculations
MIR balloon track, Feb 2004
Winter 2015
Aerosols (Paul Ginoux, NOAA/GFDL)
Ozone at 30mb + winds (different origin on globe)


Please enter your Steem account.
Generate multiple authority for your account.
Generate transaction to be signed by multiple parties.
Sign an already generated transaction.
Broadcast a signed transaction to the blockchain.


'Tis the season for Santa Claus Parades
A number are planned in Waterloo Region and surrounding communities
by Erin AndersonWhile December 24 is Santa's 'big night', the jolly man in red will be busy over the next few weeks.
Annual Santa Claus Parades are happening in Waterloo Region and our surrounding communities.
The fun kicks off on November 16, with parades in K-W and Cambridge.
You can see a full list of the upcoming events below.
Saturday, November 16
Sunday, November 24
Saturday, November 30
Sunday, December 1
Saturday, December 7
Friday, December 13
Saturday, December 14


Navagation Genius
Browse Topic
(current)
Most Popular
Submit
My Account
Action
Another action
Something else here
Separated link
Home
Books
Genre
What should I read? Fantasy or Sci-fi?
What do you feel like?
Fantasy
Sci Fi
=


House M.D.
House often clashes with his fellow physicians, including his own diagnostic team, because many of his hypotheses about patients' illnesses are based on subtle or controversial insights. His flouting of hospital rules and procedures frequently leads him into conflict with his boss, hospital administrator and Dean of Medicine Dr. Lisa Cuddy. House's only true friend is Dr. James Wilson, head of the Department of Oncology.


Tutorials Point
C#
C# is a modern,general-purpose, object-oriented programming language developed by Microsoft and approved by Ecma and ISO.C# was developed by Anders Hejlsberg and his team during the development of Net Framework.C# is designed for Common Language.... Infrastructure which consists of the executable code and runtime environment that allows use of various high-level languages to be used on different computer platforms.
Java
Java is a computer programming languages that is concurrent class-based, object-oriented,and specifically designed to have as few implementation dependies as possible. It is intended to let.... application developers "write once,run anywhere", meaning that code that runs on one platform does not need to be recompiled to bytecode that can run on any Java Virtual Machine regardless of computer architecture.
PHP
Java is a computer programming languages that is concurrent class-based, object-oriented,and specifically designed to have as few implementation dependies as possible. It is intended to let.... application developers "write once,run anywhere", meaning that code that runs on one platform does not need to be recompiled to bytecode that can run on any Java Virtual Machine regardless of computer architecture.
Python
Python is a widely used general-purpose high-level programming lanuage. Its design philosophy emphasizes code readability, and its syntax allows programmers to express cocepts in fewer lines of code than would be possible in languages such as C. The language provides constructs intended to enable.... clear programs on both a small and large scale.Python supports multiple programming paradigms. including object-oriented imperative and functional or procedural styles.


{% extends "layout.html" %} {% block body %}
Pro tip: try actual words.
I'm out of hunches for what your craving.Please try again.


Objects are the api, stupid!
@hutkev
Feb 2013
API Design
I was in a hotel where they had three little bottles on the counter. One was named "Shine," and one was named "Smooth," and one was named something else. One of them was hand lotion, one was soap, and one was shampoo. It was a puzzle-solving exercise to figure out which was which. They are indulging the designer's own desire to be creative, rather than trying to figure out, Okay, how can I make this as easy for the user as possible? I don't want to use my creative energy on somebody else's user interface.
Jeff Bezos
On a promise...
// Promises/A
interface Promise {
then(
callback: (value:any) -> void,
errback?: (err:any) -> void)
) : Promise
resolve(value: any) : void
reject(value: any) : void
}
// Underlying abstraction
interface Event {
value: any; // One time set, multiple get
next: (event: Event) -> void; // Stack the callbacks
}
Minimising surface area often improves comprehension
However, usually requires more internals
When it gets really messy
What's in a Proxy?
var tester = new Tester()
var obj = Proxy.create(new ForwardHandler(tester))
interface Handler /* harmony:proxies style */{
defineProperty(name: string, desc: PropertyDescriptor): void;
delete (name: string): bool;
getPropertyNames(name: string): string[];
getOwnPropertyNames(name: string): string[];
getOwnPropertyDescriptor(name: string): PropertyDescriptor;
getPropertyDescriptor(name: string): PropertyDescriptor;
}
Virtual Properties
Handler:
addProperty(name: string, writeCB: (any) => void ) {
var that = this;
var desc: PropertyDescriptor = {
get: function () {
return that.props[name].value;
},
set: function(value) {
writeCB(value);
that.props[name].value = value;
}
}
this.props[name] = { value: null, pd: desc };
}
My Object:
constructor () {
this.handler = new VirtualHandler(this);
this.handler.addProperty("foo", function (value) {
console.log('New foo: ' + value);
});
return Proxy.create(this.handler,this);
}
Proxy Support (ES6)
Node supports:
Newer version
Compatibility Shim
Firefox 4 - Chrome 19 -
node v0.7.8
Need to work hard to be transparent & composable
Synchronous by default makes this rather difficult
Object.observe
(ES7)
Observe object without changing it
Chrome Canary has test implementation
obj = {a:0};
Object.observe(obj, function(record) {
console.log(record);
});
obj.a = 1 // {type: 'updated', object: obj, name: 'a', oldValue: 1}
obj.b = true // {type: 'new', object: obj, name: 'b' }
delete obj.b // {type: 'delete', object: obj, name: 'b'}
Array slices are supported - read notifications are not
Change notifications are asynchronous
Why?
MVC internals - Remove dirty checking
Automatic Persistence - Make it possible
Form Constraints - Abstract them
Really just simpler APIs from observing
Instead of Proxies?
You can simulate observe with proxies
Proxies are more flexible, but fairly dangerous
Proxies require a lot more code
Observe is object identity safe
Caches need read notifications of proxies
Give me cake now!
Shared 0.2.0
An object sharing layer (using persistence)
var shared = require('shared')
var store = shared.createStore({host: 'mongohost'});
store.apply(function(db) {
if (db.counter === undefined)
db.counter = 0;
else
db.counter++;
}, function(err) {
// Error handle
});
Each object is one document in MongoDB
References link objects in the DB
Garbage collection cleans dead objects up as needed
Design
Direct manipulation requires local caching of objects
The cache is garbage collected speratly from the database
apply() creates an operation set (observer style)
Uses handcrafted proxy code + dirty checking today
Native array ops hard to code but important for efficiency
Operation set translated into micro-transaction
readset - newset - changeset
Micro-transaction only commits if readset was current
Commit is a locked update, everything or nothing
Re-try on failure, watch for unintended side effects!
Work queue
function push(queue, item, cb) {
store.apply(function(db) {
if (db[queue] === undefined)
db.queue = [];
db.queue.push(item);
}, function (err) {
cb(err)
}
}
function pop(queue, cb) {
store.apply(function (db) {
if (db[queue] !== undefined)
return db[queue].shift();
else
return null;
}, function (err, ret) {
cb(err, ret);
});
}
Sometimes beware Array op efficiency
Things to do
Cache overloading for large objects --
Best practices and/or partial object caching
Document stores vs Object Store --
Granularity of update instructions
Advanced feature support
Event emitting/triggers
Query capability
Stored procedures
Housekeeping - Store Garbage Collection
Thanks
@hutkev
http://github.com/hutkev


Cuba-bound flight returns to MIA, makes emergency landing; no injuries
by 7 News WSVNMIAMI INTERNATIONAL AIRPORT, FLA. (WSVN) - A flight that had departed Miami International Airport for Cuba turned around and made an emergency landing at the airport, officials said.
According to Miami-Dade Fire Rescue, they received a call of a plane in distress, just after 8 a.m., Saturday.
Officials said Swift Air Flight 730 had departed MIA at 7:30 a.m. heading to Santa Clara when was forced to return due to a possible mechanical issue.
The aircraft landed safely on the tarmac but was unable to reach the gate on its own.
No injuries were reported.
Passengers were bussed back to the gate. That led to long lines at the ticket counters, as travelers were booked on a new flight.


/* This file is part of Ext JS 4 Copyright (c) 2011 Sencha Inc Contact: http://www.sencha.com/contact Commercial Usage Licensees holding valid commercial licenses may use this file in accordance with the Commercial Software License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Sencha. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. */ /** * @class Ext.grid.feature.RowBody * @extends Ext.grid.feature.Feature * * The rowbody feature enhances the grid's markup to have an additional * tr -> td -> div which spans the entire width of the original row. * * This is useful to to associate additional information with a particular * record in a grid. * * Rowbodies are initially hidden unless you override getAdditionalData. * * Will expose additional events on the gridview with the prefix of 'rowbody'. * For example: 'rowbodyclick', 'rowbodydblclick', 'rowbodycontextmenu'. * * @ftype rowbody */ Ext.define('Ext.grid.feature.RowBody', { extend: 'Ext.grid.feature.Feature', alias: 'feature.rowbody', rowBodyHiddenCls: Ext.baseCSSPrefix + 'grid-row-body-hidden', rowBodyTrCls: Ext.baseCSSPrefix + 'grid-rowbody-tr', rowBodyTdCls: Ext.baseCSSPrefix + 'grid-cell-rowbody', rowBodyDivCls: Ext.baseCSSPrefix + 'grid-rowbody', eventPrefix: 'rowbody', eventSelector: '.' + Ext.baseCSSPrefix + 'grid-rowbody-tr', getRowBody: function(values) { return [ '
', '', '
{rowBody}
', '	', '
' ].join(''); }, // injects getRowBody into the metaRowTpl. getMetaRowTplFragments: function() { return { getRowBody: this.getRowBody, rowBodyTrCls: this.rowBodyTrCls, rowBodyTdCls: this.rowBodyTdCls, rowBodyDivCls: this.rowBodyDivCls }; }, mutateMetaRowTpl: function(metaRowTpl) { metaRowTpl.push('{[this.getRowBody(values)]}'); }, /** * Provide additional data to the prepareData call within the grid view. * The rowbody feature adds 3 additional variables into the grid view's template. * These are rowBodyCls, rowBodyColspan, and rowBody. * @param {Object} data The data for this particular record. * @param {Number} idx The row index for this record. * @param {Ext.data.Model} record The record instance * @param {Object} orig The original result from the prepareData call to massage. */ getAdditionalData: function(data, idx, record, orig) { var headerCt = this.view.headerCt, colspan = headerCt.getColumnCount(); return { rowBody: "", rowBodyCls: this.rowBodyCls, rowBodyColspan: colspan }; } });


{% extends 'skeleton.html' %}
{% block body %}
{% filter markdown %}
# I'm Soon Van.
I build websites and web apps, from the front to the back.
Mostly focussing on the backend in PHP and MySQL.
Based in Kentucky, United States.
Born and raised in Australia.
{% endfilter %}
{% endblock %}


Choose an event below to find an event similar to yours for resources.
I violated my own personal values or someone else's.
I have been harmed by a spouse or partner.
I have experienced a major loss.
I feel like a failure at home/work.
Didn’t find an event similar to yours? Try Emotions to search feelings or symptoms.
Guided Meditation Sleep Guided Meditation Anxiety Guided Meditation General Spiritual General Spiritual Jewish Spiritual Islam Spiritual Christian Podcast Confidence Podcasts Grief/Loss Podcast Self Awareness Podcast Mindfulness Podcast Fear Violence Suffering Blogs- Mental Health Blogs- Mental Health Mobile Apps Mobile Apps


* Events displayed in local time.
Download events as
.ics
:
{{- range $calData := $.Site.Data.calendar }}
{{ $calData.name }}
{{ end }}


Download the `.zip` file as described in the guide. This zip file contains the following files:
Submitting files to ENA:
(It is assumed that you have already have a Webin account.)
To perform this task you can use FTP clients or Webin-CLI from the command line a general guide on data submission). The ENA documentation on uploading SARS-CoV-2 data recommands the use of the Webin-CLI. Here we present the use of a containerized version of the Webin-CLI as this is much easier to manage than the Java client if you have Docker installed. Just be sure to keep your Docker image updated.
Install docker if you haven't already. Use the following command to get the Docker image for the webin-cli:
docker pull enasequence/webin-cli
A basic command model for uploading on Linux system:
docker run --rm --name=ena-upload -v $(pwd):/data enasequence/webin-cli [options]
A basic command model for uploading on Windows system:
docker run --rm --name=ena-upload -v <host-machine-directory>:/data enasequence/webin-cli [options]
Docker command:
docker run
command starts the docker container.--rm
option tells docker to remove the container after finishing its job.--name
option names the container. This is optional, but it helps keep track of the containers you are running on your machine.-v
option mounts volumes into the container, which basicly means that the container and the host machine will share anything stored in the mounted directory.
The first part defines the absolute path to the directory on the host machine (here marked by $(pwd)
, which is a Linux command, which returns the aboslute path of the
current directory, on other machines you may need to manually type this in or find another command). The second part, after the : marks where this directory will be mounted inside the container, do not modify this part, as the image of the container is configured to run with files inside the /data directory.enasequence/webin-cli
is the name of the docker image from which the container will be created. Do not modify this.Basic options for Webin-CLI:
-userName
the Webin submission account name.-password
the Webin submission acccount password.-manifest
the manifest file name.-inputDir
input directory for files declared in the manifest file. If you are using the Docker version, you need to specify the directory inside the container to where you mounted the files (this would be /data directory if you have not made any changes to the command for running docker).-validate
validates the files defined in the manifest file.-submit
validates and submits the files defined in the manifest file.-test
use Webin test service instead of the production service. Please note that the Webin upload area is shared between test and production services, and that test submission files will not be archived.For a more detailed list of all available Webin-CLI options check out the documentation, or use the -help
option to display a help screen.


LOL i love this comment....
Instead increase fees in a scalable way to a point where miners make 5 % interest.
hmm this sounds familiar minus the miners
@MilbusLani @sasha35625 I get it needs to pump but how he's trying is a bit sly.he should just announce that there doing a buyback and that would have a better effect rather than say basically we might do what do you guys think?
KMD will do what KMD does, build tech that solves real problems.
 He has used many tricks, like airdropping coins so people keep their waves, like announcing partnerships, like launching another project outside of waves.
These are short term tricks just like the buy back to manipulate the price higher
Sherdogz05-Jul-19 09:49 PM
Yes and he doesn't have to he's/waves got a lot of btc with the waves ico. He must be sitting on a huge stack of btc
hyperDEX05-Jul-19 09:49 PM
But like all things, you can only keep the music going for as long as the community believes, by doing that tweet, everyone just saw sasha in his underwear and it is not a good sight.
@Sherdogz is there a public BTC ICO address?
Sherdogz05-Jul-19 09:52 PM
@hyperDEX i don't know if there is but i know at the time they collected a lot of BTC with the ICO.(edited)
hyperDEX05-Jul-19 09:53 PM
over 30,000
So maybe sasha being the great trader that he is sold it at the low
Markus05-Jul-19 09:53 PM
what did EOS take as payment in their ico? bitcoin?
hyperDEX05-Jul-19 09:54 PM
Not too sure but i heard i think they kept half if crypto and half fiat
Markus05-Jul-19 09:54 PM
alright
Alright05-Jul-19 09:54 PM
ETH if I remember correctly
Sherdogz05-Jul-19 09:59 PM
that's why he doesn't care about the price. Hes already loaded.
FlyingDutchman05-Jul-19 10:00 PM
what do you guys foresee being KMD marketcap in the next 5 years?
Markus05-Jul-19 10:01 PM
impossible to say
hyperDEX05-Jul-19 10:02 PM
Does anyone know how vechain works? From a tweet, they have no max supply so they can print more whenever and they have to stake the vechain coins for VTHO to transact with the network.....WTF
So print 25M worth, then place on market, buy up 25M, no loss and got a pump out of it
FlyingDutchman05-Jul-19 10:05 PM
could KMD have something like a 15% marketcap dominance 5 years from now?
phm8705-Jul-19 10:06 PM
@FlyingDutchman Wait for it...
Markus05-Jul-19 10:06 PM
in 5 years we could be in a bear market
bull cycles are usually 4 years
FlyingDutchman05-Jul-19 10:07 PM
even if were in a bear market, the market could sitll be huge
hyperDEX05-Jul-19 10:07 PM
In 5 years, i think we will be in the top 20 projects
FlyingDutchman05-Jul-19 10:07 PM
bear market in 5 years could mean total marketcap of $500B @Markus
hyperDEX05-Jul-19 10:07 PM
All these useless projects will die off and all the good projects with tech will rise
5 years.....5T not 500B
FlyingDutchman05-Jul-19 10:08 PM
lets hope lol
phm8705-Jul-19 10:17 PM
market cap of gold is/was around 8000 B so if crypto can replace 10% of Gold, I think that it is a reasonable target (sorry if my numbers are outdated)
hyperDEX05-Jul-19 10:25 PM
I think we have to take into account the global savings
There will be a % that flows into crypto
hastrup05-Jul-19 11:23 PM
@hyperDEX in five years it will not be 5 t as in trillions but in B not in billions, but in bitcoin. The USD will be long gone
$KMD has traded between $1.00 and $2.00 for over 2 years regardless of the price of $btc.
You new guys won't understand the candle that takes it up to $10-$20 in the future.
1
Markus05-Jul-19 11:56 PM
rank 20, Mooncoin with 1119% gains last 7 days
blackjok3r06-Jul-19 01:01 AM
Living up to its name
FlyingDutchman06-Jul-19 01:14 AM
whats the final supply of kmd?
actionslacks06-Jul-19 01:16 AM
200 mil
FlyingDutchman06-Jul-19 01:20 AM
so if we assume that KMD will have 2.5% dominance in the future, and we set a target price of $500 per KMD for the full supply, that means we need a KMD marketcap of $100B and a total crypto marketcap of $4T
actionslacks06-Jul-19 01:23 AM
someone just cleared a big chunk of the orderbook on kmdice
2
Alright06-Jul-19 01:45 AM
@FlyingDutchman there isn't one
3 KMD until block 7777777
2 KMD from 7777777-7777777*2
1 KMD indefinitely after 7777777*2
(edited)
FlyingDutchman06-Jul-19 02:00 AM
isnt it a bad thing that its indefinite?
Alright06-Jul-19 02:12 AM
why?
I think people think it's bad simply because they're accustomed to clear cut max supply numbers
max supply numbers are for people who are here for the ponzi
GET IN NOW
blackjok3r06-Jul-19 02:15 AM
Google the inflation curve of grin.
Fixed bw forever by the time its 10 years in the new coins make almost no diffrenece


{%extends "django_registration/base.html"%} {% load bootstrap3 %} {% block content %} {{form.media}}
Some Information Might be Incorrect
{% endif %}You have not yet submitted a profile, please add one below.
Bio: {{profiles.bio}}
Contact info: {{profiles.contactinfo}}


--- layout: post title: '"California woman denied the cancer treatment recommended by her doctor. Blue Shield stepped in between the doctor and patient and said NO. Woman will now die, and Blue Shield just saved a whole lotta money."' date: 2009-08-04 21:58:00.000000000 -07:00 type: post published: true status: publish categories: [] tags: [] meta: {} author: ---


Home
About
Reading
andre
almar
About
Reading
Operators and paradigm shift
15 Sep 2018
Cloud Native and why You should keep an eye on it
28 Aug 2018
Joining AppProva
27 Mar 2018
Books I've read in 2017
31 Dec 2017
SRE/DevOps skills that companies want
27 Jul 2017
Books I've read in 2016
31 Dec 2016
Serving static files in Django with WhiteNoise
03 Mar 2016
Python Generators
02 Mar 2016
«
1
2
»


 Please sign into your Sheffield email account.
{{/if}}
{{> footer}}


--- layout: post title: 'Announcing presence WebHooks and new APIs' url: http://blog.pusher.com/announcing-presence-webhooks-and-new-apis/ source: http://blog.pusher.com/announcing-presence-webhooks-and-new-apis/ domain: blog.pusher.com image: http://kinlane-productions.s3.amazonaws.com/ap-evangelist-site/curated/screenshots/9352_api500_com.png ---
Weve always been interested in creating a platform that integrates seamlessly with your applications, and provides the best possible user experience as developers.To this end, we’ve been working hard on features that expose the interactions your users have with the system.We previously released WebHooks to notify your server when a channel is occupied (the first user joins), or when it is vacated (read more).Today were expanding WebHooks to cover presence channels, and releasing some new APIs which allow you to query the state of your channels.Presence WebHooks While our initial WebHooks were well-received we immediately started getting requests to broadcast when individual users joined or left our powerful presence channels.


This relates to real functions of a complex variable: w = F(z).
No complex variables are employed here; z is thought of as an implied free variable to which F may be applied later.
The most general form of meromorphic function is a quotient of two polynomials, denoted here by pq(F, G). The practical significance of this form is illustrated by transfer functions in electronic cicuit theory.
A poly(nomial) is a list of real coefficents of z, from const to degree. A monic poly is one where the coefficient of the highest degree is 1. Any poly may be rendered monic by factoring out a real scale factor. A rational quotient of polys is pq(F, G), and pq may be reduced to lower terms by cancelling common leading zeros, rendering F and G monic, and taking the quotient of the scales. No attempt is made to cancel common algebraic factors.
The poly with roots at a +- b*i in the complex plane (where a and b are real and i = sqrt(-1)) is the quadratic with real coefficients: [a2 + b2, -2a, 1]. Thus, any poly may be defined as a product of real linear and quadratic factors from the roots, if you know them. Cons-ing a zero onto a polynomial is the same as post-multiplying by z. Compound expressions on F involving arithmetic operators +, -, * may be evaluated with eval. There are also clauses for differentiation and integration of polys, which is a form of function composition. Polys may be expressed in binary form as [F|Fs] = F+Fs*z, and this leads to recursive expressions for operations on polys.
Eg.: * [F|Fs]*[G|Gs] = (F+Fs*z) * (G+Gs*z) = F*G + (G*Fs+F*Gs)*z + Fs*Gs*z2
Function composition of polynomials denoted in math notation by F(G) is denoted here by apply(F, G).
Then we have: apply([F|Fs], G) = F + G*apply(Fs, G).
Halley and Newton are classical root-finding transformers, which when composed with a poly and a root guess will usually, and in some sense, return a better guess.
Polynomials may be printed in arithmetic notation with
portray(poly, F).
Quotients may be printed in arithmetic notation with:
portray(pq, Scale, pq(F, G)).
Contour and gradient maps of quotients may be displayed on the complex plane with
reliefpq(Scale, pq(F, G), Legend),
which uses comm('plotserver') to start the display co-processor.
The window header displays the Legend, and the status bar shows the result w (in polar coordinates) of applying Scale*pq(F, G) once to the cartesian coordinates z of the mouse position.
The primitive distancepq(Scale, pq(F, G), Legend) is similar, but calls comm('plotserver distance'), which colors the transformed function output according to distance from a root of the original function.
These displays are drawn by a plotserver written in C++. Prolog stores data in shared memory and and then uses the 'comm' comand to trigger the plotserver, which retrieves the data. The function is calculated or estimated for every pixel in the window. Contours or gradients are delineated by coloring the pixel suitably when the function there evaluates to within epsilon of the contour. This has the gratifying effect of making it wide where the surface is flat, and narrow where it is steep.
To expedite the plot a 'quad' method is used, whereby the window is tiled into four parts and the function is calculated on the perimeter of each tile. If it is the same color all the way around the tile is assumed to be the same color all over; if not, then the tile is subdivided into four tiles and the process repeated. At some small size (5 by 5 pixels) the tile is scrutinised in detail.
Some annotations at the bottom of the window are obscured by the system toolbar, but that can be moved off the screen with the mouse.
Note: In order to save a plot press 'PrintScrn' and then open 'paint' and paste.
A very simple pq having a second-order pole at the origin.
The bilinear function, having one pole and one zero.
Frequently encountered in practise, such as the electric field between parallel conductors, or flow in an infinite isotropic conducting surface with one source and one sink, or see the fractals in demo20.
Notice how the flow and potential lines are orthogonal. This is because w is a conformal transformation of the polar coordinates in z, and angles of intersection are preserved.
Electronic transfer functions are the quotient of two polynomials. The real frequency response is seen on the imaginary axis of the relief map. If the response is to be as flat as possible (maximally flat) over a certain interval then the poles should be uniformly distributed over the semi-circle on that interval in the left half plane. This demo illustrates the case of four poles, and it can be seen that one contour line follows the imaginary axis closely within the unit circle. If the response is to be as flat as possible within a certain tolerance (Tchebyscheff) then the poles should be on an ellipse.
Newton and Halley transforms are root-finding tools of first and second order, respectively. By composing one of these transforms with some polynomial on z, a new function is obtained which, when applied to some coordinate in z, will return another coordinate which is on an orbit towards some root of the polynomial. So repeated iterations will home on that root.
This has application to fractal studies but here they are merely displays of complicated functions.
These are merely analogues of demo1, demo2 and demo3 but displaying the cartesian coordinates instead of the polar coordinates, so they are not relief maps.
This displays the Halley transform of simple polynomials of degree n, having roots on unit circle. By mousing on a pixel the root-finding orbit from there is displayed. The map is colored according to how many steps it takes (distance) to get within epsilon of a root.. There is a basin of attraction around each root where it behaves as expected, but halfway between roots the display turns fractal and the behaviour is astonishing, although the method still works. The fractal region is seen to be full of similar nodules, which in turn have nodules. The nodules nearest unit circle are called the 'director' nodules because an orbit starting from some other nodule cannot escape from the fractal region until it steps on a director nodule, whence it is directed to a root. (Choose n == 7 for best illustration).
This author was able to discern that the director nodules are each, in fact, bilinear transforms of the whole display, reproducing the colors and the nodules, and as such contain images of themselves, ad infinitum. It follows that there must be a dusting of points on the display which each represent the whole picture. I think it is correct to call these the Julia set.
Don't you feel sorry for Newton and Halley who, lacking Windows, never got to fully understand and appreciate their own wonderful methods?
This is the same as demo20 but the polynomial is z-multiplied, thus introducing a pole at the origin. This makes a profound difference to the display and the nodules are no longer as simple as bilinear transforms, and the display becomes extremely attractive.
A display of the famous, and now familiar, Mandlebrot set, which got the whole fractal business started.


This site contains search engines for IPA templates and template parameters, which search template dumps.


< prev index next > modules/javafx.web/src/main/native/Source/ThirdParty/libxml/src/include/libxml/tree.h
Print this page
/**
* xmlDocProperty
*
* Set of properties of the document as found by the parser
- * Some of them are linked to similary named xmlParserOption
+ * Some of them are linked to similarly named xmlParserOption
*/
typedef enum {
XML_DOC_WELLFORMED = 1<<0, /* document is XML well formed */
XML_DOC_NSVALID = 1<<1, /* document is Namespace valid */
XML_DOC_OLD10 = 1<<2, /* parsed with old XML-1.0 parser */
< prev index next >


{% load bugzilla %} {% get_full as full %} {% if user_authenticated or not full %} end of standard login form -->
You must log out before logging back in.
You are being redirected to Bugzilla to log in...


Marjaavaan earns fairly well at the box-office during its first weekend
by Vedanshi PathakSidharth Malhotra and Tara Sutaria have teamed up for the first time in Marjaavaan. The film is a massy actioner directed by Milap Zaveri. The film hit the theatres last Friday and had a decent first weekend at the box-office. On its opening day, the film made Rs 7.03 crore, followed by Rs 7.21 crore on Saturday and Rs 10.18 crore on Sunday. It has earned Rs 24.42 crore overall so far.
Though the film has received mixed reviews from the critics, the box-office numbers indicate that the single-screen audience, in particular, has taken to the film.


WITNESS LIST Revenue & Public Education Funding, Select Committee August 24, 1998-10:00A Franchise Tax Report On: Craymer, Dale (TTARA) General Taxation in Texas On: Allaway, Bill (TTARA) Howden, Robert (NFIB / Texas) James, Reggie (Consumers Union SW Regn) Non-Profit, Charities, & Lottery On: Reissig, Mike (Texas Comptroller's Ofc) Wilson, Dan (Texas Comptroller's Ofc) Professional Fees Report On: Conley, Lisa (self (consultant))


Films on this site can be streamed on several streaming websites or can be watched at various independent cinemas in Manila. We showcase films that cover topics about human rights, family dynamics, colonialism, and many more. We also offer educational learning modules that can enrich your knowledge on Philippine history through historical inquiry.
You’ll discover that the Philippine film industry has a rich selection of historical film that any age can enjoy.
By watching films legally, you’re supporting the thousands of cast and crew members of the film industry to earn what is rightfully theirs.
Enhance your knowledge about FIlipino culture and history. Films arranged by History Highlights depict events and time frames that happen in that era.
While films are not to be used as direct windows into the past akin to a lecture but it can be used as part of teaching through historical inquiry.
Sine Historya is an ongoing project and we are more than open to your suggestions!
Don’t hesitate to leave us a message!


On my Raddit
Flag is hitcon{ENCRYPTION_KEY}, and here is a hint for you :P
P.S. If you fail in submitting the flag and want to argue with author, read the source first!
Totoal: ${len(records)}
| Ups |
Title |
File |
$for r in records:
| $r['ups'] |
$r['t'] |
$if r['file'] :
down |
$else:
|


Head of the Nuffield Laboratory of Ophthalmology and the Sleep and Circadian Neuroscience Institute
More
Professor of Sleep Medicine and Senior Research Fellow at Somerville College
Programme Director, The Oxford Online Programme in Sleep Medicine and Senior Research Fellow
Senior Course Tutor, The Oxford Online Programme in Sleep Medicine and Senior Research Scientist
Course Tutor, The Oxford Online Programme in Sleep Medicine
Education and Outreach Office and Associate Director, The Oxford Online Programme in Sleep Medicine
Course Administrator, The Oxford Online Programme in Sleep Medicine


Heatmap of Kyoto Encyclopedia of Genes and Genomes pathway analysis. Size of the bubble represents the number of enriched genes, and the color of the bubble from red to green indicates a gradual increase in the P-value. ECM, extracellular matrix; TRP, transient receptor potential.


Products and Services
Here you can find a list of the various products and services we offer here at Dunder Mifflin. Contact us for more information.
Products
Paper
Paper
More Paper
Colored Paper
Bigger Paper
Tiny Paper
HUUUUUGE Paper
Services
Cutting Paper
Bundling Paper
Printing Paper
Copying Paper
Can it be done with paper? We can do it!
Disclaimer: Due to legal reasons, we are no longer allowed to burn paper. Thanks Dwight.


[create ns] will create a automachine with type of ns's nodes' type
[create ns]
[run t] will eventually return a result with type of t's result type.
[run t]


{% extends "_layouts/_default.html" %} {% block title %} home {% endblock %} {% block linktags %} {% endblock %} {% block content %} About us This is my administrative website for my Android mobile application, Tagged Event Attendance. {% endblock %} {% block scripts %} {% endblock %}
This is my administrative website for my Android mobile application, Tagged Event Attendance.


fun DatabaseReference.getFullPath(): String
Returns the full path of the current reference. The root is "/".


[James Ward] When doing a human-to-machine integration you should use the OAuth web or mobile flow so that the credentials never pass through the integration application. In the case of machine-to-machine integrations, the integration must have an integration user’s credentials and use either the username & password OAuth flow for REST or direct authentication for SOAP. – Learn more at Salesforce Developers Blog
working code speaks
2017-04-12
2017-04-06
[Mary Scotton] We’re expanding our partnership with Girl Develop It (GDI) this year by doubling the number of cities where Salesforce classes will be taught. Even better, we get to work with you, the Salesforce community, to help make it happen! Read on to learn how to get involved. – Learn more at Salesforce Developer’s Blog
2017-04-01
[Sven Gauly] It’s not enough that Salesforce can respond to your voice commands, nor is it enough that Salesforce can predict your next move, today the world’s #1 CRM can respond to your every thought, with Salesforce Kreskin (tm).
The new Salesforce feature is based on a product acquired last year, Trilby. It takes brain-computer-interfaces to the next level by attaching to your phone, like a card card reader. Except this dongle can swipe your mind.
 Now, with a thought, your dashboard appears.
Kreskin is perfect for getting work done on your phone in loud environments, where voice commands are just not practical.
For more, visit the Salesforce Kreskin product page.
2017-03-27
There are now a huge amount of Chrome extensions out there for various functions when working with the Salesforce platform. These range from Apps that help you organise your various Salesforce logins, to full blown toolkits that are jam packed with productivity features. – Learn more at Salesforce Ben
2017-03-15
[Christophe Coenraets] When you need to build custom data visualization components, you can leverage third-party charting libraries like Chart.js, D3, and Highcharts. In this article, I share a set of Lightning Components built with Chart.js. – Learn more at Salesforce Developers Blog
2017-03-13
[Brent Downey] VLOOKUP formulas are very beneficial in Excel, but did you can use them in Salesforce too? Unfortunately, the documentation wasn’t clear on how to use this feature, and I had a hard time understanding the syntax. Three pages of Google search results didn’t help one bit. – Learn more at Admin Hero
2017-03-11
[DreamOps Crew] Without open source, there would be no Salesforce as we know it today.
Open source projects fuel the Salesforce core infrastructure in the same way Force.com fuels your managed packages.
As SFDC Architect Ian Varley puts it: “Open source lets you control your own destiny.”
Read more at DreamOps Success Group
2017-03-10
This blog post provides a high level overview of the steps needed to create and publish a Lightning component for AppExchange. We will walk through the design, creation, testing and distribution of your Lightning component, with considerations for security, packaging, documentation and capturing success metrics. – Learn more at Salesforce Developers Blog
2017-03-10
[Ted Husted] Like many forward-looking Salesforce partners, we’ve been enrolling in the new developer pilots that are hitting the streets now. Here’s some public background links on the various pilots in progress now. – Learn more at NimbleUser
2017-03-05
[Ben McCarthy] The SalesforceDX pilot started a week or two ago and BrightGen were lucky enough to be selected to participate (thanks to the sterling efforts of my colleague Kieran Maguire who didn’t screw up his signup, unlike me!). This week I’ve managed to spend a reasonable amount of time reading the docs and trying out the basics and it’s clear already that this is going to be a game changer. – Learn more at Bob Buzzard


Overview of Dormant
Dormant analyzes a user-specified root entity within a selected project and determines which entities that root entity uses, directly or indirectly.
Based on your selections of project and root entity, DIScover identifies dormant entities within the project: functions, variables, macros, typedefs, structs, or classes that the root entity does not use.
DIScover creates a group containing the dormant entities, and stores it according to the Group Path preference. You can view resulting dormant analysis group members through the Group Manager.
Performing a dormant code analysis entails three tasks:
• selecting a root entity (or entities)
• performing the analysis
• evaluating the results


Stone can be generated very easily. Stone, (not cobblestone) is generated when lava that is ontop of water makes and attempt to flow downwards into the water. The water can be a source block, or flowing. Because stone has to be obtained using the silk-touch enchanment, there is no easy way to automate stone generation without player input.
There are various ways to make collecting stone that is generated from lava and water.
The simplest way to do this would be to create stone infront of the player and have the player mine the stone with a picaxe. Every time the player mine the stone, an new one is generated. This contraption can be extended backwards to increase speed as long as the player can mine the stone fast enough.
A more advanced way to collect the stone would be to use pistons. A simple way to do this is to have a waterlogged piston push away the stone that is generated. Note: Pulsing the piston too fast will cause the lava to update and flow faster than the water. When this happens, nothing will be generated.


Let's say in our note-taker app, we need to add the character count and a save/sync button at the bottom of the screen. First, let's create the UI component for it.
Modify the files
app/components/Home/Home.component.js
...
...
...
onChangeText={this.setTitle} value={this.state.title} />
<Text style={styles.textAreaTitle}> Please type your note below </Text>
<TextArea style={styles.textArea}/>
<View style={styles.bottomBar}>
<View style={styles.bottomBarWrapper}>
<Text style={styles.saveBtn}>Save</Text>
<Text style={styles.characterCount}>{20} characters</Text>
</View>
</View>
</View>
);
}
app/components/Home/Home.component.style.js
export default StyleSheet.create({
container: {
flex: 1,
paddingTop: theme.CONTAINER_PADDING,
flexDirection: 'column',
justifyContent: 'space-between'
},
...
...
...
...
textArea: {
...textInput,
flex: 1
},
bottomBar: {
flexDirection: 'row',
alignItems: 'center'
},
bottomBarWrapper: {
flexDirection: 'row',
justifyContent: 'space-between',
flex: 1
},
saveBtn: {
padding: 10,
fontWeight: theme.FONT_WEIGHT_BOLD
},
characterCount: {
padding: 10,
fontSize: theme.FONT_SIZE_SMALL
}
});
app/styles/theme.style.js
...
...
BACKGROUND_COLOR_LIGHT: '#ebe9e9',
...
...
};
Now our app should have a bottom bar with a character count and a save button.
Currently, we have hardcoded the character count to 20.
But if you look at the app now, there is no way for us to get the character count from the TextArea component and use it as the text for the character count text view. To do this we will need to move the state present inside the TextArea component and place it in the Home component. This is because all the components that need access to a state have to be children of the component holding the state.
So we modify our components as follows:
app/components/TextArea/TextArea.component.js
import React, {Component} from 'react';
import {TextInput} from 'react-native';
import PropTypes from 'prop-types';
import styles from './TextArea.component.style';
class TextArea extends Component {
static propTypes = {
text: PropTypes.string,
onTextChange: PropTypes.func
}
render () {
const {text, onTextChange, ...extraProps} = this.props;
return (
<TextInput
{...extraProps}
style={[styles.textArea, extraProps.style]}
multiline = {true}
onChangeText={onTextChange}
value={text}
/>
);
}
}
export default TextArea;
app/components/Home/Home.component.js
import React, {Component} from 'react';
import {View, Text, TextInput} from 'react-native';
import styles from './Home.component.style';
import TextArea from '../TextArea/TextArea.component';
class Home extends Component {
state = {
title: '',
text: ''
}
setTitle = (title) => this.setState({title})
setText = (text) => this.setState({text});
render () {
return (
<View style={styles.container}>
<Text style={styles.titleHeading}> Note Title</Text>
<TextInput style={styles.titleTextInput}
onChangeText={this.setTitle} value={this.state.title} />
<Text style={styles.textAreaTitle}> Please type your note below </Text>
<TextArea text={this.state.text} onTextChange={this.setText} style={styles.textArea}/>
<View style={styles.bottomBar}>
<View style={styles.bottomBarWrapper}>
<Text style={styles.saveBtn}>Save</Text>
<Text style={styles.characterCount}>{this.state.text.length} characters</Text>
</View>
</View>
</View>
);
}
}
export default Home;
The character count should now update whenever you enter text on the text field.
By moving the state from the child component to the parent, we were able to access it in multiple children components.
Therefore, to provide access to the data that needs to be accessed by multiple components, we need to have the state in the enclosing parent component. Following this principle, if we keep on moving the state to the parent component, we will end up with the state in the topmost level component.
Redux builds on top of similar principles. It keeps a global store to which the components which need access to the data can subscribe. Additionally, it provides a mechanism by which these components can re-render whenever the data in the store changes.
Now, since we understand how Redux is helpful, let's setup Redux for our app.
Let's begin by installing a few packages.
yarn add redux react-redux redux-promise redux-thunk
or
npm install --save redux react-redux
Additionally, you can also install your preferred Redux middleware like redux-thunk
, etc. The comments on the code specify how to do that.
Now create the files
app/redux/store.js
import {createStore, compose/* , applyMiddleware*/} from 'redux';
// import someReduxMiddleware from 'some-redux-middleware';
// import someOtherReduxMiddleware from 'some-other-redux-middleware';
import rootReducer from './reducers/root.reducer';
const enhancerList = [];
const devToolsExtension = window && window.__REDUX_DEVTOOLS_EXTENSION__;
if (typeof devToolsExtension === 'function') {
enhancerList.push(devToolsExtension());
}
const composedEnhancer = compose(/* applyMiddleware(someReduxMiddleware, someOtherReduxMiddleware),*/ ...enhancerList);
const initStore = () => createStore(rootReducer, {}, composedEnhancer);
module.exports = {
initStore
};
app/redux/reducers/root.reducer.js
import {combineReducers} from 'redux';
export default combineReducers({
});
Now, let's add our first reducer and action.
Create the files:
app/redux/actions/index.actions.js
This file will contain all our actions.
export const TEST_ACTION = 'TEST_ACTION';
app/redux/reducers/test.reducer.js
import {TEST_ACTION} from '../actions/index.actions';
const test = (state = {}, action) => {
switch (action.type) {
case TEST_ACTION: {
return action.payload;
}
default:
return state;
}
};
export default test;
Now let's add our test reducer to the root reducer.
Modify
app/redux/reducers/root.reducer.js
import {combineReducers} from 'redux';
import test from './test.reducer';
export default combineReducers({
test
});
Now let's initialize the store.
Modify the file:
app/index.js
import React, {Component} from 'react';
import {initStore} from './redux/store';
import {Provider} from 'react-redux';
import App from './App.container';
const store = initStore();
class NoteTaker extends Component {
render () {
return (
<Provider store={store}>
<App />
</Provider>
);
}
}
export default NoteTaker;
and move the initialization of the home component to another file.
app/App.container.js
import React, {Component} from 'react';
import Home from './components/Home/Home.component';
import {connect} from 'react-redux';
class App extends Component {
render () {
console.log(this.props.state); // eslint-disable-line
return (
<Home />
);
}
}
const mapStateToProps = (state) => ({
state
});
const mapDispatchToProps = (dispatch) => ({
dispatch
});
export default connect(mapStateToProps, mapDispatchToProps)(App);
At this point, we should a have a Redux store with an initial test state from the test reducer.
To check this, let's run our app on the simulator.
Now open up the debug menu on the iOS simulator by pressing cmd+ctrl+z
or on Android emulator by using cmd+m
.
Choose Debug JS Remotely
.
This should run the app JS code in react-native-debugger and if all goes well we should see something like this on the console panel:
This implies that our Redux store is successfully initialized with the test reducer.
NOTE: If your tests fail due to the error window not defined
, then add a mock file
__mocks__/react-native.js
var rn = require('react-native'); global.window = global; module.exports = rn;
This will initialize a dummy window variable when tests are run in node environment.
The code till here can be found on the branch chapter/9/9.1


61* A film review by Blake French Copyright 2001 filmcritic.com
Billy Crystal's 61* explains why baseball is more than a sport -- it's a legacy. I've always seen sports as simple games people play. Sure, those guys out there on the field have talent, but why do athletes get paid more than doctors, teachers, and scientists?  Other professions are indeed more important, but seldom do they get this stressful or demanding. Now I have a new appreciation for baseball and sports alike.
Good movies about baseball make the game look like a lot of fun, sharing the enthusiasm and energy of the players. 61* doesn't do that. It does contain intense sequences of ball playing, but the main goal here is examining the overworked life a ballplayer must live in order to receive his short 15 minutes of fame. This movie allows us to take part in that experience, both positive and negative.
It's 1961. New York Yankee teammates Roger Maris (Berry Pepper) and Mickey Mantle (Thomas Jane) are both challenging Babe Ruth's 60 home run record. Mantle, outspoken and reckless, begins the season with a bang, but Maris, quiet and focused, doesn't look so promising. Fearing he might be traded during his first season, Maris starts cracking homer after homer, while Mantle's excessive lifestyle begins to slow his game. After moving in with Maris, Mantle begins to concentrate on taking care of himself and breaking the baseball record. The two soon converge and become "The M&M Boys."
Regardless of how close the score became, Mantle remained the public's favorite baseball player. Will Maris overcome the negative media coverage and discouraging public image and break the record, or will Mantle take home the honors. And regardless of who wins, will their friendship survive?
Billy Crystal directs with sincerity and passion, never losing his amiable sense of humor. The style, costume design, and the performances capture the 1960s well. Thomas Jane makes clear the contrast of his character at the beginning and end of the story. Berry Pepper proves that he is indeed a talented actor when he's not in Battlefield Earth. His performance is humble, soft, and lovable, although he creates an effective intensity underneath the quiet, compassionate character.
Touching and insightful, 61* not only displays the ups and downs of being a sports legend, it also proves that the best performance in a film doesn't have to come from a human actor. The film's Yankee Stadium scenes were shot at a disguised Tiger Stadium in Detroit. The filmmakers painted infield seats green, and a partial third deck and a 1961 Bronx skyline were digitally added later.

Visit filmcritic.com on the Web at http://www.filmcritic.com
========== X-RAMR-ID: 29486 X-Language: en X-RT-SourceID: 178 X-RT-AuthorID: 3648 X-RT-RatingText: 4/5
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Let us know about you.
One Two Three I II III
Unchangable:
Calculate the sum by adding these two numbers together:


| 1 |
Homaidan_1991 |
Electrolyte transport in piglets infected with transmissible gastroenteritis virus Stimulation by verapamil and clonidine |
Homaidan, Fadia R.; Torres, Alfonso; Donowitz, Mark; Sharp, Geoffrey W.G. |
1991 |
1991-10-31 |
PMC |
N |
|
1889713.0 |
10.1016/0016-5085(91)90713-u |
5lmrthmb |
0.956834 |
VanHouten_2007 |
|
| 2 |
Shimko_2014 |
Nerve growth factor reduces amiloride‐sensitive Na(+) transport in human airway epithelial cells |
Shimko, Michael J.; Zaccone, Eric J.; Thompson, Janet A.; Schwegler‐Berry, Diane; Kashon, Michael L.; Fedan, Jeffrey S. |
2014 |
2014-07-17 |
COMM-USE |
N |
PMC4187554 |
25347857.0 |
10.14814/phy2.12073 |
w0ju0dcr |
0.791838 |
|
|
| 3 |
Wang_2016 |
Resveratrol attenuates cortical neuron activity: roles of large conductance calcium-activated potassium channels and voltage-gated sodium channels |
Wang, Ya-Jean; Chan, Ming-Huan; Chen, Linyi; Wu, Sheng-Nan; Chen, Hwei-Hisen |
2016 |
2016-05-21 |
COMM-USE |
N |
PMC4875746 |
27209372.0 |
10.1186/s12929-016-0259-y |
9kqofx59 |
0.788402 |
Koval_2006, Silic-Benussi_2010 |
|
| 4 |
Sagar_2008 |
DDESC: Dragon database for exploration of sodium channels in human |
Sagar, Sunil; Kaur, Mandeep; Dawe, Adam; Seshadri, Sundararajan Vijayaraghava; Christoffels, Alan; Schaefer, Ulf; Radovanovic, Aleksandar; Bajic, Vladimir B |
2008 |
2008-12-20 |
COMM-USE |
N |
PMC2631582 |
19099596.0 |
10.1186/1471-2164-9-622 |
4hvfyxsd |
0.757788 |
|
|
| 5 |
Elwell_2011 |
Chlamydia trachomatis Co-opts GBF1 and CERT to Acquire Host Sphingomyelin for Distinct Roles during Intracellular Development |
Elwell, Cherilyn A.; Jiang, Shaobo; Kim, Jung Hwa; Lee, Albert; Wittmann, Torsten; Hanada, Kentaro; Melancon, Paul; Engel, Joanne N. |
2011 |
2011-09-01 |
COMM-USE |
N |
PMC3164637 |
21909260.0 |
10.1371/journal.ppat.1002198 |
h35iocue |
0.586233 |
UNKNOWN_1995, Jonker_2018 |
Salcedo_2003 |
| 6 |
Mollenhauer_1990 |
Alteration of intracellular traffic by monensin; mechanism, specificity and relationship to toxicity |
Mollenhauer, Hilton H.; James Morré, D.; Rowe, Loyd D. |
1990 |
1990-05-07 |
PMC |
N |
|
2160275.0 |
10.1016/0304-4157(90)90008-z |
ub4p4ngr |
0.549878 |
UNKNOWN_1995, Jonker_2018, Wang_2013, Hobman_1993 |
UNKNOWN_1989, UNKNOWN_1995 |
| 7 |
Ellinger_1984 |
Effect of monensin on the Golgi apparatus of absorptive cells in the small intestine of the rat: Morphological and cytochemical studies |
Ellinger, Adolf; Pavelka, Margit |
1984 |
1984-01-01 |
PMC |
N |
PMC7087932 |
6141849.0 |
10.1007/bf00213739 |
otpx0n15 |
0.437301 |
UNKNOWN_1995, Wang_2013, Saraste_1992, Machamer_2013 |
Mollenhauer_1990, UNKNOWN_1995 |
| 8 |
Maceyka_1997 |
Ceramide Accumulation Uncovers a Cycling Pathway for the cis-Golgi Network Marker, Infectious Bronchitis Virus M Protein |
Maceyka, Michael; Machamer, Carolyn E. |
1997 |
1997-12-15 |
NONCOMM |
N |
PMC2132625 |
9396747.0 |
|
wekvet6f |
0.346545 |
UNKNOWN_1995, Wang_2013, UNKNOWN_1993 |
UNKNOWN_1994, UNKNOWN_1996, Chen_1991 |


Blockchain
A blockchain,[1][2][3] originally block chain,[4][5] is a growing list of records, called blocks, which are linked using cryptography.[1][6] Each block contains a cryptographic hash of the previous block,[6] a timestamp, and transaction data (generally represented as a merkle tree root hash).
By design, a blockchain is resistant to modification of the data. It is "an open, distributed ledger that can record transactions between two parties efficiently and in a verifiable and permanent way".[7] For use as a distributed ledger, a blockchain is typically managed by a peer-to-peer network collectively adhering to a protocol for inter-node communication and validating new blocks. Once recorded, the data in any given block cannot be altered retroactively without alteration of all subsequent blocks, which requires consensus of the network majority. Although blockchain records are not unalterable, blockchains may be considered secure by design and exemplify a distributed computing system with high Byzantine fault tolerance. Decentralized consensus has therefore been claimed with a blockchain.[8]
Immersive Experience
Immersion into virtual reality is a perception of being physically present in a non-physical world. The perception is created by surrounding the user of the VR system in images, sound or other stimuli that provide an engrossing total environment.
The name is a metaphoric use of the experience of submersion applied to representation, fiction or simulation. Immersion can also be defined as the state of consciousness where a "visitor" (Maurice Benayoun) or "immersant" (Char Davies)'s awareness of physical self is transformed by being surrounded in an artificial environment; used for describing partial or complete suspension of disbelief, enabling action or reaction to stimulations encountered in a virtual or artistic environment. The degree to which the virtual or artistic environment faithfully reproduces reality determines the degree of suspension of disbelief. The greater the suspension of disbelief, the greater the degree of presence achieved.
Autonomous Things
Autonomous things, abbreviated AuT, or the Internet of autonomous things, abbreviated as IoAT, is an emerging term[1][2][3][4][5] for the technological developments that are expected to bring computers into the physical environment as autonomous entities without human direction, freely moving and interacting with humans and other objects.
Self-navigating drones are the first AuT technology in (limited) deployment.[6][7] It is expected that the first mass-deployment of AuT technologies will be the autonomous car, generally expected to be available around 2020.[8] Other currently expected AuT technologies include home robotics (e.g., machines that provide care for the elderly,[9][10] infirm or young), and military robots[11][12] (air, land or sea autonomous machines with information-collection or target-attack capabilities).


Dear CSI Community:
We hope this message finds you well during this trying time. The Office of Student Life would like to remind you that the CSI Food Pantry remains an available resource. If you or a student you know is having difficulties finding food to eat during this challenging time, CSI has a non-perishable Food Pantry that was created to help provide assistance for our students. At this time, the pantry remains available to our Campus Community by appointment only.
The Food Pantry appointment hours will be from 10:30am – 1:00pm on Wednesdays and Fridays. If you need to make an appointment, please fill out the link below and someone from the Office of Student Life will contact you. Please note, if the dates and times listed above do not work for your schedule or if you have any questions, please feel free to ail us at<EMAIL_ADDRESS>CSI Food Pantry Appointment:
https://forms.gle/urVmvy3KQ6QcFH399
In addition, if you are not able to get to campus, there are a few food pantry's here on Staten Island that are open and available to you and your family.
Project Hospitality - 514 Bay Street, Staten Island 10301 Hours: Tuesday and Thursday from 9:00am - 11:00am (Pantry) Tuesday and Thursday from 11:30am - 1:00pm (Grab and Go Soup Kitchen)
El Centro / Faith Methodist Church - 221 Heberton Avenue (Entrance Red Door on Castleton Ave.) Staten Island, 10302 Hours: Thursdays from 5:00 - 7:30pm
Stapleton UAME Church - 49 Tompkins Avenue, Staten Island 10304 Hours: Tuesday and Friday 10:00am - 1:00pm (Food Pantry) Monday 3:00pm - 4:00pm & Wednesday 12:00pm - 1:00pm (Soup Kitchen)
Community Health Action of Staten Island - 2134 Richmond Terrace, Staten Island 10302 Hours: Tuesday 10:00am - 2:00pm, Wed. 12:00 - 4:00pm, Friday 2:00 – 6:00pm, Saturday 10:00am -2:00pm
Reform Church of Prince's Bay - 239 Seguine Ave, Staten Island, NY, 10309 Hours: Sunday 5:00pm - 6:00pm
Bethel United Methodist Church - 7033 Amboy Road, Staten Island, NY 10307 Hours: Tuesday 2:15pm - 3:00pm
Assumption-St. Paul Catholic Church Soup Kitchen - 15 Webster Avenue, New Brighton Hours: Sunday from 5:30pm - 6:30pm (Hot Grab and Go Meals available)
Christian Pentecostal - 900 Richmond Road, Staten Island, NY 10304 Hours: Tuesday and Wednesday from 6:00pm - 8:00pm
City Harvest Mobil Market - 22 Roxbury Street, Staten Island, NY 10303 Hours: Wednesday from 9:30am - 11:30am
Also, see list below for food resources available to all New Yorkers.
Food Assistance: Through the mayor's office and DOE, the Free Meals Program provides free food at 400 locations citywide. For those in need, NYC's Nutrition Kitchen food pantries allow anyone to pick up one week of free groceries. The Human Resources Administration created FoodHelp NYC to track pantries and community kitchens through a map. For New Yorkers with disabilities, food supply and distribution resources The City is also providing online food shopping for SNAP recipients. CUNY Food pantries at the respective colleges are continuing to provide vital food assistance to students. CUNY students can access any CUNY pantry, regardless of school of attendance.
Staten Island Hunger Task Force: http://hungryonstatenisland.com/ It is the mission of the Staten Island Hunger Task Force to advocate for the needs of food-insecure families and individuals and not-for-profit emergency feeding programs in order to ensure that hunger needs are met in the borough of Staten Island.
Food Bank of NYC: https://www.foodbanknyc.org/get-help/ In light of ongoing developments around COVID-19, some emergency food providers have temporarily suspended normal operations and have switched to “grab and go” meals and pantry bags to minimize the risk of exposure. Many others, however remain open and this website will help you find pantries near your home address.
Plentiful App: https://www.plentifulapp.com/ Plentiful is a free app that you can download to locate pantries in your neighborhood. As the ongoing developments around COVID-19 are changing rapidly, please be sure to confirm hours of operation by calling before you visit.
FoodHelp NYC: https://maps.nyc.gov/foodhelp/ This site provides a map of food pantries and community kitchens located throughout the five boroughs. Please, call first!
Thank you.
Carol Brower Director of Student Life


This function uses techniques from the Bioconductor Workflow in order to preprocess phyloseq data for downstream analysis.
preprocess_phyloseq(phyloseq_object, process_list = NULL, ...)
| phyloseq_object | A phyloseq object |
|---|---|
| process_list | This parameter is used to control the way the phyloseq object is processed. It can be one of three values:
|
| ... | The dot parameters can be any combination of the default processing keywords. See the "Keywords for Processing" section below for more details |
Returns a phyloseq object that has undergone the specified processing strategies.
DETAILS
DEFAULT: 1e-5. Filters any taxa that do not meat the mean threshold.
DEFAULT: list("Phylum"= list("min_a"=5, "r_s_p"=0.5), "Class"=list("min_a"=3, "r_s_p"=0.3)). Filters OTUs that do not appear more than a certian amount of times in a certain percentage of samples at the specified agglomerated rank.
DEFAULT: list("min_a"=5, "r_s_p"=0.5). Filters OTUs that do not appear more than a certian amount of times in a certain percentage of samples.
DEFAULT: NULL. Agglomerates the data at the specified rank.
DEFAULT: list(amb_ranks = c("Phylum", "Class", "Order", "Family", "Genus"), amb_items = c(NA, "", "uncharacterized", "uncultured", "Unassigned", "Ambiguous", "Ambiguous_taxa")). Removes OTUs that are labeled with the specified ambiguous items. This is done for each specified rank.
DEFAULT: 0.55. Standardizes abundances to the median sequencing depth
DEFAULT: function(x)x / sum(x). Transforms the abundance values to relative abundance values.
DEFAULT: NULL.
prune_taxa
, taxa_sums
, filter_taxa
, tax_glom
, nsamples
,
filterfun_sample
, genefilter_sample
, get_taxa_unique
, transform_sample_counts
,
merge_samples
, subset_taxa
yaml.load
Bioconductor Workflow - https://f1000research.com/articles/5-1492/v2
Phyloseq Website - https://joey711.github.io/phyloseq/index.html
Other Filters: remove_ambiguous_taxa
# NOT RUN { > phy_obj <- get_phyloseq_object(...) > phy_obj phyloseq-class experiment-level object otu_table() OTU Table: [ 1955 taxa and 48 samples ] sample_data() Sample Data: [ 48 samples by 8 sample variables ] tax_table() Taxonomy Table: [ 1955 taxa by 7 taxonomic ranks ] phy_tree() Phylogenetic Tree: [ 1955 tips and 1954 internal nodes ] > pp_phy_obj <- preprocess_phyloseq(phy_obj, master_thresh = 1e-5, taxon_filter = list("Phylum"= list("min_a"=5, "r_s_p"=0.5), "Class"=list("min_a"=3, "r_s_p"=0.3)), prevalence_filter = list("min_a"=5, "r_s_p"=0.5), glom_rank = NULL, ambiguous=list(amb_ranks = c("Phylum", "Class", "Order", "Family", "Genus"), amb_items = c(NA, "", "uncharacterized", "uncultured", "Unassigned", "Ambiguous", "Ambiguous_taxa")), coeff_of_variation = 0.55, trans_function = function(x){x / sum(x)}, merge_samp = NULL) > pp_phy_obj # }


@* * This template is called from the `index` template. This template * handles the rendering of the page header and body tags. It takes * two arguments, a `String` for the title of the page and an `Html` * object to insert into the body of the page. *@ @()
@* Here's where we render the page title `String`. *@


Package algorithms.statistics
Class Gamma
- java.lang.Object
-
- algorithms.statistics.Gamma
-
public class Gamma extends java.lang.Object
Calculates the gamma function using the Lancos approximation. Gamma(x) = integral( t^(x-1) e^(-t), t = 0 .. infinity) The code below is copied from https://web.archive.org/web/20170118064524/http://blog.javia.org/docs/Gamma.java which is a web archive of the page at http://blog.javia.org/docs/Gamma.java The copyrights are: Author Mihai Preda, 2006. The author disclaims copyright to this source code. The method lgamma() is adapted from FDLIBM 5.3 (http://www.netlib.org/fdlibm/), which comes with this copyright notice: ==================================================== Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. Developed at SunSoft, a Sun Microsystems, Inc. business. Permission to use, copy, modify, and distribute this software is freely granted, provided that this notice is preserved. ==================================================== The Lanczos and Stirling approximations are based on: http://en.wikipedia.org/wiki/Lanczos_approximation http://en.wikipedia.org/wiki/Stirling%27s_approximation http://www.gnu.org/software/gsl/ http://jakarta.apache.org/commons/math/ http://my.fit.edu/~gabdo/gamma.txt helpful non-open source code: https://introcs.cs.princeton.edu/java/91float/Gamma.java.html The gamma distribution follows wikipedia: https://en.wikipedia.org/wiki/Gamma_distribution
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static double[]
FACT
-
Constructor Summary
Constructors Constructor Description Gamma()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
factorial(double x)
static double
gammaRateDistributionPDF(double x, double shape, double rate)
NOT YET TESTED < Γ > the gamma distribution is a two-parameter family of continuous probability distributions.static double
gammaScaleDistributionPDF(double x, double shape, double scale)
NOT YET TESTED < Γ > the gamma distribution is a two-parameter family of continuous probability distributions.static double
lanczosGamma9(double x)
static double
lanczosLGamma15(double x)
static double
lanczosLGamma9(double x)
static double
lgamma(double x)
static double
stirlingGamma(double x)
static double
stirlingLGamma(double x)
(package private) static java.lang.String
ulps(double v, double ref)
-
-
-
Method Detail
-
ulps
static java.lang.String ulps(double v, double ref)
-
lanczosGamma9
public static final double lanczosGamma9(double x)
- Parameters:
x
- min allowed value is -1.719e2, max allowed value is 1.716e2- Returns:
-
lgamma
public static final double lgamma(double x)
- Parameters:
x
-- Returns:
-
lanczosLGamma9
public static final double lanczosLGamma9(double x)
- Parameters:
x
-- Returns:
-
lanczosLGamma15
public static final double lanczosLGamma15(double x)
- Parameters:
x
-- Returns:
-
stirlingGamma
public static final double stirlingGamma(double x)
- Parameters:
x
-- Returns:
-
stirlingLGamma
public static final double stirlingLGamma(double x)
- Parameters:
x
-- Returns:
-
factorial
public static final double factorial(double x)
- Parameters:
x
-- Returns:
-
gammaScaleDistributionPDF
public static double gammaScaleDistributionPDF(double x, double shape, double scale)
NOT YET TESTED < Γ > the gamma distribution is a two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the gamma distribution. There are three different parameterizations in common use:1) With a shape parameter k and a scale parameter θ. 2) With a shape parameter α = k and an inverse scale parameter β = 1/θ, called a rate parameter. 3) With a shape parameter k and a mean parameter μ = kθ = α/β. following https://en.wikipedia.org/wiki/Gamma_distribution
- Parameters:
x
-shape
-scale
-- Returns:
-
gammaRateDistributionPDF
public static double gammaRateDistributionPDF(double x, double shape, double rate)
NOT YET TESTED < Γ > the gamma distribution is a two-parameter family of continuous probability distributions. The exponential distribution, Erlang distribution, and chi-squared distribution are special cases of the gamma distribution. There are three different parameterizations in common use:1) With a shape parameter k and a scale parameter θ. 2) With a shape parameter α = k and an inverse scale parameter β = 1/θ, called a rate parameter. 3) With a shape parameter k and a mean parameter μ = kθ = α/β. following https://en.wikipedia.org/wiki/Gamma_distribution
- Parameters:
x
-shape
-rate
-- Returns:
-
-


Click here to download this week's dataset as a CSV
Click here to download this week's dataset as a Hyper Extract
Data Storytelling and Dataviz Approach
I took a bit more time with this viz so I could get it just right. The data is well suited to mapping by plotting the Superfund sites on a map, and also a timeline, showing the number of sites by year. I decided to focus on creating a map. I could have made a very simple map, but when I started looking at this dataset, I was curious about how many sites were within my area. So I decided to tackle this question.
Initially, I was a bit stuck trying to figure out my approach. The distance calculation using great circle routes is prominent on the web, with Tableau even having a knowledge base article that references it. However, a lot of the examples that I saw relied on data blending. The problem that I was finding with that approach is that the blend acts like an inner join. Alternate approaches join the dataset to itself, but in both instances, this means that the list of possible locales to calculate a distance from is limited to the sites that exist in the main data source (the EPA data in this case).
I really wanted to be able to figure out the number of sites within a set radius for any zip code, so the blending just wasn't going to work. Instead, I joined my EPA dataset to a supplemental zip code dataset with a right join on zip code. This meant that I brought in all of my EPA data, while also bringing in a row for every zip code even when I didn't have it in my EPA data. This meant that I was going to have to deal with some null values, but more on that later.
Now that I had my data, the next step was to calculate the distance. The calculation requires two latitudes and longitudes - in this case, one for the sites, and one for the chosen location. I created a parameter that included all the zip codes, and used this to drive calcs for [Chosen Lat] and [Chosen Long]. The catch here is that the Chosen Lat and Long have to be available regardless of the data in my EPA data. If I had just used a simple calc like IF [Zip Code Parameter] = STR([Zip]) THEN [Lat2] END, I would only have a Chosen Latitude if the Site's Zip was the same as the input parameter. This isn't any better than the solution that uses blending.
Here's the magic - using a level of detail calculation, I could force the data to be available regardless of the site's zip. The calculation is actually pretty straight forward - {FIXED : AVG(IF [Zip Code Parameter] = STR([Zip]) THEN [Lat2] END)}. I duplicated the calculated field, adjusted for Longitude, and I was ready to calculate the distance. I won't go into that logic here, but if you're interested, check out this site.
I then created a parameter that allows the user to set their desired distance radius and created a Set, with the a Condition by formula where [Distance] <= [Distance Parameter], used this as the filter and I was done. I polished it off with a summary of the chosen locale and how many sites were in the distance range.
I mentioned above that I would come back to the nulls. I actually made the nulls work to my advantage. I was able to use ISNULL([Epa Id]) in several of the calculations I used to create my tooltips, drive my colors, and shapes on the map. If you'd like to see what I mean, take a look at the workbook in Tableau.
A few caveats here, for the benefit of my GIS expert friend who suggested I do this the right way with GIS software... The distances are approximate; the accuracy is better when a smaller radius is chosen; the sites' locations are based on their zip codes, which have the latitude and longitude at their approximate centers. For what I'm doing though, it's close enough.
I really enjoyed the challenge this week, and learned some things in the process. If you'd like to see what you can do with this week's dataset, create your viz and post your work to Tableau Public and Twitter with the hashtag #ThrowbackDataThursday, tagging @TThrowbackThurs. We'd really love to see what you can come up with!
Data Source
This week's dataset comes from the EPA. Please be sure to cite the source on your viz.


- datasetChanged() - Method in class cmput301f17t13.com.catisadog.models.habit.HabitDataSource
-
- datasetChanged() - Method in class cmput301f17t13.com.catisadog.models.habitevent.RecentHabitEventHistoryDataSource
-
Clear and resort the results
- datasetChanged() - Method in class cmput301f17t13.com.catisadog.utils.data.DataSource
-
Notify observers to update with new data
- DataSource<TEntity> - Class in cmput301f17t13.com.catisadog.utils.data
-
Represents a data source for an entity
- DataSource() - Constructor for class cmput301f17t13.com.catisadog.utils.data.DataSource
-
- dateToString(DateTime) - Static method in class cmput301f17t13.com.catisadog.utils.data.FirebaseUtil
-
Date format stored in firebase will be local time string
yyyy-MM-dd was picked because it is sortable
- DateUtil - Class in cmput301f17t13.com.catisadog.utils.date
-
- DateUtil() - Constructor for class cmput301f17t13.com.catisadog.utils.date.DateUtil
-
- delete(String) - Method in class cmput301f17t13.com.catisadog.models.followrequest.FollowRequestRepository
-
Delete a FollowRequest in Firebase.
- delete(String) - Method in class cmput301f17t13.com.catisadog.models.habit.HabitRepository
-
Delete a habit object from the database
- delete(String) - Method in class cmput301f17t13.com.catisadog.models.habitevent.HabitEventRepository
-
Delete the event from the database
- delete(String) - Method in class cmput301f17t13.com.catisadog.models.user.UserRepository
-
Delete the user at the given user if from the database
- delete(String) - Method in interface cmput301f17t13.com.catisadog.utils.data.Repository
-
- doInBackground(ImageView...) - Method in class cmput301f17t13.com.catisadog.utils.DownloadImageTask
-
Download the image
- DownloadImageTask - Class in cmput301f17t13.com.catisadog.utils
-
Downloads an image asynchronously from the internet
- DownloadImageTask() - Constructor for class cmput301f17t13.com.catisadog.utils.DownloadImageTask
-
- drawToolbar() - Method in class cmput301f17t13.com.catisadog.activities.BaseDrawerActivity
-
Logic for toolbar


Open test/test.js to see how to use logger4js
Open the console of your developer tools to see if everything works


If a million monkeys were typing on computers, one of them will eventually write a Java program. The rest of them will write Perl programs. --Anonymous [ source]