Maurício Linhares / @mauriciojr / Technical Lead at DigitalOcean
If you get stuck at any point or are having trouble with anything that is presented, ASK. Don't wait until the end, stop me at any point and ask.
I mean, really, even someone that's not in love with JavaScript like me enjoys it.
Front end applications are growing and including more and more JavaScript
Making all your UI changes using jQuery or direct DOM manipulation is painful, hard to test and compose.
React is an UI frameworks, everything else comes from other libraries and frameworks that you decide to use.
Only components that had a state change will be re-rendered, everything else stays the same.
There aren't special objects or flows you need to follow, everything is a JS object and you can build them any way you'd like.
There's no such thing as the perfect framework, give the others a try and figure out what works best for you and your needs.
Latest nodejs install (currently 6.7.0)
$ npm install -g create-react-app
$ create-react-app libertyjs-todo
Yes, but only for development, you can produce a standalone build and integrate it to your app or favorite framework.
They're the main point of interaction between the user and the actions your app implements. They're a mix of controllers and views if you're used to MVC.
To make your life easier, most React development is done using ES6 syntax and a bunch of other niceties (the JSX syntax that allows you to enter HTML directly into JavaScript code).
You can definitely write your apps using only browser compatible JavaScript but the pain of doing so might not be worth the trouble.
TodoItem.js
Immutable properties of your component, when they change, a new component is rendered instead of reusing the existing one
Basic type and presence validation for your props, customizable to perform other types of validation.
Setup method to fill in your component with the basic state it needs to be rendered for the first time. Must return an object.
Actual state that your component holds, gets changed through the setState method and makes a component be re-rendered.
Now that we can show tasks, it's time to be able to add them!
All React HTML components allow you to add event handlers to them, just like you would in plain HTML and JavaScript, the only difference is that they're included right at the component markup and handlers are camel cased so onChange instead of onchange.
You don't want to call the function, you want to provide a callback as a property so the component can call it.
We have to bubble the task insert event up so we need a callback prop at the form to notify someone else we need to insert a new task.
We want to be able to show many todo lists at the same time, so lets create a component to do just that. But first let's look at ImmutableJS.
A JS library by Facebook (and used by React) that provides immutable collections (including List, Map and Set).
Most of the work in a React app, as you have noticed, revolves around handling state changes. Using an immutable collection library makes it easier to figure out if stuff has changed and what needs to be updated.
$ npm install immutable --save
There really isn't much of a difference here.
Now that we have a way to have many task lists, add a component that allows us to add new tasks lists (just a text field to enter a name).
Ready. Set. Go!
State management is hard, for all frameworks.
State is pushed all the way up, to a component that doesn't really to much but handles all state changes.
It doesn't make much sense to couple them together since the views are basically just rendering data.
Cause events to be fired to the dispatcher, interested parties register at the dispatcher to wait for events and perform operations in response to them.
Collects all events that have been fired and delivers them to interested parties, the app's event bus. There's only one dispatcher per app most of the time.
State! State everywhere! State finally get's it's own place without any view or react related code (mostly), stores will be listening on the dispacher for events that will cause them to change, actions do not write directly to stores or talk to them.
This is what we have been doing already, views call actions and access stores to show the data, they don't talk to the dispatcher.

There are many implementations of Flux and Flux-like frameworks for React, pick whatever works for you (Redux and Nuclearjs are two of the big ones).
It's not as hard as you're thinking.
$ npm install --save nuclear-js
import { Reactor } from 'nuclear-js';
const reactor = new Reactor({
debug: true
});
export default reactor;
import keyMirror from 'fbjs/lib/keyMirror';
export default keyMirror({
ADD_TODO: null,
ADD_TODO_LIST: null
});
import reactor from "./reactor.js";
import Immutable from "immutable";
import ActionTypes from "./actionTypes.js";
import Keys from "./Keys.js";
export default {
addTodoList(name) {
var list = {
Keys.Properties.TodoList.TITLE: name
};
reactor.dispatch(ActionTypes.ADD_TODO_LIST,
Immutable.fromJS(list));
}
}
function addTodoList(state, event) {
return state.set(
event.get(Keys.Properties.TodoList.TITLE),
Immutable.List()
);
}
export default Store({
getInitialState() {
return Immutable.Map();
},
initialize() {
this.on(ADD_TODO_LIST, addTodoList);
}
});
State change alone. Stores shouldn't really do anything other than updating it's own state.
import reactor from "./reactor.js";
import TodoStore from "./TodoStore.js";
reactor.registerStores({
'todos': TodoStore
})
export default {
todos: ["todos"]
};
Expressions that are evaluated to pull data from stores. Components to not access stores directly, they evaluate getters to access the data. Use getters to transform the data or filter so that you don't have to do it on components.


Navbar
Convert CSV to Salesforce format sheet
CSV File
This tool will parse the csv, filter it and convert to the Sheets with the same name
Destination folder
Upload
Google Sheet created!
×
Google sheet has been created. Please check it out :


@Description(value="describe a datasource pool") public class JMXBasicDataSource extends java.lang.Object
| Constructor and Description |
|---|
JMXBasicDataSource(java.lang.String name,
BasicDataSource ds) |
public JMXBasicDataSource(java.lang.String name, BasicDataSource ds)
public void unregister()
@ManagedAttribute @Description(value="The class driver name.") public java.lang.String getDriverClassName()
@ManagedAttribute @Description(value="The connection URL to be passed to our JDBC driver to establish a connection.") public java.lang.String getUrl()
@ManagedAttribute @Description(value="The SQL query that will be used to validate connections from this pool before returning them to the caller.") public java.lang.String getValidationQuery()
@ManagedAttribute @Description(value="The connection username to be passed to our JDBC driver to establish a connection.") public java.lang.String getUsername()
@ManagedAttribute @Description(value="Timeout in seconds before connection validation queries fail.") public int getValidationQueryTimeout()
@ManagedAttribute @Description(value="The initial number of connections that are created when the pool is started.") public int getInitialSize()
@ManagedAttribute @Description(value="The maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit.") public int getMaxActive()
@ManagedAttribute @Description(value="The maximum number of connections that can remain idle in the pool, without extra ones beingdestroyed, or negative for no limit.") public int getMaxIdle()
@ManagedAttribute @Description(value="The minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.") public int getMinIdle()
@ManagedAttribute @Description(value="The minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.") public int getNumTestsPerEvictionRun()
@ManagedAttribute @Description(value="The minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any).") public long getMinEvictableIdleTimeMillis()
@ManagedAttribute @Description(value="The number of milliseconds to sleep between runs of the idle object evictor thread.") public long getTimeBetweenEvictionRunsMillis()
@ManagedAttribute @Description(value="The maximum number of open statements that can be allocated from the statement pool at the same time, or non-positive for no limit.") public int getMaxOpenPreparedStatements()
@ManagedAttribute @Description(value="The maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or <= 0 to wait indefinitely.") public long getMaxWait()
@ManagedAttribute @Description(value="The default auto-commit state of connections created by this pool.") public boolean getDefaultAutoCommit()
@ManagedAttribute @Description(value="Prepared statement pooling for this pool.") public boolean getPoolPreparedStatements()
@ManagedAttribute @Description(value="The indication of whether objects will be validated before being borrowed from the pool.") public boolean getTestOnBorrow()
@ManagedAttribute @Description(value="The indication of whether objects will be validated before being returned to the pool.") public boolean getTestOnReturn()
@ManagedAttribute @Description(value="The indication of whether objects will be validated by the idle object evictor (if any).") public boolean getTestWhileIdle()
@ManagedAttribute @Description(value="The default \"catalog\" of connections created by this pool.") public java.lang.String getDefaultCatalog()
@ManagedAttribute @Description(value="The default read-only state of connections created by this pool.") public boolean getDefaultReadOnly()
@ManagedAttribute @Description(value="The default TransactionIsolation state of connections created by this pool.") public int getDefaultTransactionIsolation()
@ManagedAttribute @Description(value="The number of active connections in the pool.") public int getNumActive()
@ManagedAttribute @Description(value="The number of idle connections in the pool.") public int getNumIdle()
@ManagedOperation @Description(value="Execute the validation query.") public java.lang.String executeValidationQuery()
@ManagedAttribute @Description(value="Set the class driver.") public void setDriverClassName(java.lang.String name)
@ManagedAttribute @Description(value="Set the connection URL.") public void setUrl(java.lang.String url)
@ManagedAttribute @Description(value="Set the SQL validation query.") public void setValidationQuery(java.lang.String query)
@ManagedAttribute @Description(value="Set the connection username to be passed to our JDBC driver to establish a connection.") public void setUsername(java.lang.String user)
@ManagedAttribute @Description(value="Set the timeout in seconds before connection validation queries fail.") public void setValidationQueryTimeout(int timeout)
@ManagedAttribute @Description(value="Set the initial number of connections that are created when the pool is started.") public void setInitialSize(int size)
@ManagedAttribute @Description(value="Set the maximum number of active connections that can be allocated from this pool at the same time, or negative for no limit.") public void setMaxActive(int max)
@ManagedAttribute @Description(value="Set the maximum number of connections that can remain idle in the pool, without extra ones beingdestroyed, or negative for no limit.") public void setMaxIdle(int max)
@ManagedAttribute @Description(value="Set the minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.") public void setMinIdle(int min)
@ManagedAttribute @Description(value="Set the minimum number of active connections that can remain idle in the pool, without extra ones being created when the evictor runs, or 0 to create none.") public void setNumTestsPerEvictionRun(int num)
@ManagedAttribute @Description(value="Set the minimum amount of time an object may sit idle in the pool before it is eligible for eviction by the idle object evictor (if any).") public void setMinEvictableIdleTimeMillis(long time)
@ManagedAttribute @Description(value="Set the number of milliseconds to sleep between runs of the idle object evictor thread.") public void setTimeBetweenEvictionRunsMillis(long time)
@ManagedAttribute @Description(value="Set the maximum number of open statements that can be allocated from the statement pool at the same time, or non-positive for no limit.") public void setMaxOpenPreparedStatements(int max)
@ManagedAttribute @Description(value="Set the maximum number of milliseconds that the pool will wait (when there are no available connections) for a connection to be returned before throwing an exception, or <= 0 to wait indefinitely.") public void setMaxWait(long max)
@ManagedAttribute @Description(value="Set the default auto-commit state of connections created by this pool.") public void setDefaultAutoCommit(boolean auto)
@ManagedAttribute @Description(value="Set the prepared statement pooling for this pool.") public void setPoolPreparedStatements(boolean pool)
@ManagedAttribute @Description(value="Set the indication of whether objects will be validated before being borrowed from the pool.") public void setTestOnBorrow(boolean test)
@ManagedAttribute @Description(value="Set the indication of whether objects will be validated before being returned to the pool.") public void setTestOnReturn(boolean test)
@ManagedAttribute @Description(value="Set the indication of whether objects will be validated by the idle object evictor (if any).") public void setTestWhileIdle(boolean test)
@ManagedAttribute @Description(value="The default \"catalog\" of connections created by this pool.") public void setDefaultCatalog(java.lang.String catalog)
@ManagedAttribute @Description(value="Set the default read-only state of connections created by this pool.") public void setDefaultReadOnly(boolean ro)
@ManagedAttribute @Description(value="Set the default TransactionIsolation state of connections created by this pool ([NONE: 0, READ_COMMITTED: 2, READ_UNCOMMITTED: 4, SERIALIZABLE: 8]).") public void setDefaultTransactionIsolation(int level)


source
code documentation
ipsecdev.h File Reference
Detailed Description
Header of IPsec network adapter for lwIP.
- Author:
- Christian Scheurer <http://www.christianscheurer.ch>
This document is part of embedded IPsec
Copyright (c) 2003 Niklaus Schild and Christian Scheurer, HTI Biel/Bienne
All rights reserved.
Definition in file ipsecdev.h.
#include "lwip/netif.h"
Go to the source code of this file.
Define Documentation
| #define IPSEC_HLEN (PBUF_IP_HLEN + 24 + PBUF_TRANSPORT_HLEN)
|
|
|
|
Add room for an other IP header and AH(24 bytes with HMAC-xxx-96)/ESP(8 bytes) data
Definition at line 56 of file ipsecdev.h. |
| #define IPSEC_MTU (PBUF_POOL_BUFSIZE - PBUF_LINK_HLEN - IPSEC_HLEN)
|
|
|
|
maximum packet size which can be handled by ipsecdev
Definition at line 57 of file ipsecdev.h. |
Function Documentation
| void ipsec_set_tunnel |
( |
char * |
src, |
|
|
char * |
dst |
|
) |
|
|
|
|
Setter function for tunnel source and destination address
- Parameters:
-
| src | source address as string (i.g. "<IP_ADDRESS>") |
| dst | destination address as string (i.g. "<IP_ADDRESS>") |
- Returns:
- void
Definition at line 481 of file ipsecdev.c. |
| err_t ipsecdev_init |
( |
struct netif * |
netif |
) |
|
|
|
|
Initialize the ipsec network device
This function must be called prior to any other operation with this device.
- Parameters:
-
| netif | lwIP network interface data structure for this device. The structure must be initialized with IP, netmask and gateway address. |
- Returns:
- err_t return code
- Todo:
- this should be somewhere else
selecting the right interface for mapping must be replaced by an more generic method
MAC addresses should be set somewhere else
Definition at line 402 of file ipsecdev.c. |
| err_t ipsecdev_input |
( |
struct pbuf * |
p, |
|
|
struct netif * |
inp |
|
) |
|
|
|
|
This function is used to process incomming IP packets.
This function is called by the physical network driver when a new packet has been received. To decide how to handle the packet, the Security Policy Database is called. ESP and AH packets are directly forwarded to ipsec_input() while other packets must pass the SPD lookup.
- Parameters:
-
| p | pbuf containing the received packet |
| inp | lwIP network interface data structure for this device. The structure must be initialized with IP, netmask and gateway address. |
- Returns:
- err_t return code
- Todo:
- Attention: the pbuf structure should be updated using pbuf_header()
Definition at line 123 of file ipsecdev.c. |
| err_t ipsecdev_netlink_output |
( |
struct netif * |
netif, |
|
|
struct pbuf * |
p |
|
) |
|
|
|
|
This function is used to send a packet directly out of the network device.
The packet is directly sent as-is the network device output function. It is used to serve ARP traffic.
- Parameters:
-
| netif | initialized lwIP network interface data structure of this device |
| p | pbuf containing a complete IP packet as payload |
- Returns:
- err_t status
Definition at line 378 of file ipsecdev.c. |
| err_t ipsecdev_output |
( |
struct netif * |
netif, |
|
|
struct pbuf * |
p, |
|
|
struct ip_addr * |
ipaddr |
|
) |
|
|
|
|
This function is used to send a packet out to the network device.
IPsec processing for outbound traffic is done here before forwarding the IP packet to the physical network device. The SPD is queried in order to know how the packet must be handled.
- Parameters:
-
| netif | initialized lwIP network interface data structure of this device |
| p | pbuf containing a complete IP packet as payload |
| ipaddr | destination IP address |
- Returns:
- err_t status
backup of physical destination IP address (inner IP header may become encrypted)
- Todo:
- this static access to the HW device must be replaced by a more flexible method
lwIP TCP ESP outbound processing needs to add data after the original packet. Since the lwIP TCP does leave any room after the original packet, we copy the packet into a larger buffer. This step can be avoided if enough room is left after the packet when TCP allocates memory.
Definition at line 243 of file ipsecdev.c. |
| void ipsecdev_service |
( |
struct netif * |
netif |
) |
|
|
|
|
This is just used to provide an consisstend interface. This function has no functionality.
- Parameters:
-
| netif | initialized lwIP network interface data structure of this device |
- Returns:
- void
Definition at line 100 of file ipsecdev.c. |
|


Wish is the mightiest spell a mortal creature can cast. By simply speaking aloud, you can alter the very foundations of reality in accord with your desires.
The basic use of this spell is to duplicate any other spell of 8th level or lower. You don't need to meet any requirements in that spell, including costly components.
The spell simply takes effect.
Alternatively, you can create one of the following effects of your choice: • You create one object of up to 25,000 gp in value that isn't a magic item. The object can be no more than 300 feet in any dimension, and it appears in an unoccupied space you can see on the ground.
• You allow up to twenty creatures that you can see to regain all hit points, and you end all effects on them described in the greater restoration spell.

• You grant up to ten creatures you can see immunity to a single spell or other magical effect for 8 hours. For instance, you could make yourself and all your companions immune to a lich's life drain attack.
• You undo a single recent event by forcing a reroll of any roll made within the last round (including your last turn). Reality reshapes itself to accommodate the new result. For example, a wish spell could undo an opponent's successful save, a foe's critical hit, or a friend's failed save. You can force the reroll to be made with advantage or disadvantage, and you can choose whether to use the reroll or the original roll.
You might be able to achieve something beyond the scope of the above examples. State your wish to the DM as precisely as possible. The DM has great latitude in ruling what occurs in such an instance; the greater the wish, the greater the likelihood that something goes wrong. This spell might simply fail, the effect you desire might only be partly achieved, or you might suffer some unforeseen consequence as a result of how you worded the wish. For example, wishing that a villain w ere dead might propel you forward in time to a period when that villain is no longer alive, effectively removing you from the game. Similarly, wishing for a legendary magic item or artifact might instantly transport you to the presence of the item's current owner.
The stress of casting this spell to produce any effect other than duplicating another spell w eakens you. After enduring that stress, each time you cast a spell until you finish a long rest, you take 1d10 necrotic damage per level of that spell. This damage can't be reduced or prevented in any way. In addition, your Strength drops to 3, if it isn't 3 or lower already, for 2d4 days. For each of those days that you spend resting and doing nothing more than light activity, your remaining recovery time decreases by 2 days. Finally, there is a 33 percent chance that you are unable to cast wish ever again if you suffer this stress.


"The OS of Everything" - Great, another platform to learn!
https://developer.tizen.org/ http://developer.samsung.com/gear
Develop an app that makes awesome sound effects as I move.
Accelerometer APIs are available, but how do I use that data to recognize a motion?
A JavaScript library hidden in the depths of SourceForge
“The software converts the continual stream of motion readings into distinct gesture events. All you need to do is attach event-handlers to the gestures. Your functions get called when the user makes the gesture with the device.”
Motion.Gesture.Library.SLAP={
"id": "slap",
"signature": {
"roots": [
{
"points": [
{
"axis": "xg",
"window": {
"value": {
"min": -10,
"max": 10
}
}
},
{
"axis": "yg",
"window": {
"value": {
"min": -10,
"max": 10
}
}
},
{
"axis": "zg",
"window": {
"value": {
"min": -10,
"max": 10
}
}
}
],
"next": {
"points": [
{
"axis": "zg",
"window": {
"value": {
"min": 15,
"max": 100
}
}
}
],
"window": {
"time": {
"width": 1000,
"delay": 0
}
}
},
"window": {
"time": {
"width": 1000
}
}
}
]
}
}
function playAudio(sound) {
createjs.Sound.play(sound);
soundImage.src='/'+sound+'.png';
};
gestureMonitor = new Motion.Gesture.Recognition.Monitor();
gestureMonitor.addGesture(Motion.Gesture.Library.SLAP, function() {
playAudio("slap");
});
new Motion.Gesture.Recognition.MotionDataPump(gestureMonitor, 5).start();
Let's see this magic in action!


|
QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.30
|
#include <ql/math/interpolations/mixedinterpolation.hpp>
Public Member Functions | |
| MixedInterpolationImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, Size n, MixedInterpolation::Behavior behavior=MixedInterpolation::ShareRanges, const Interpolator1 &factory1=Interpolator1(), const Interpolator2 &factory2=Interpolator2()) | |
| void | update () |
| Real | value (Real x) const |
| Real | primitive (Real x) const |
| Real | derivative (Real x) const |
| Real | secondDerivative (Real x) const |
| Size | switchIndex () |
| Public Member Functions inherited from Interpolation::templateImpl< I1, I2 > | |
| templateImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const int requiredPoints=2) | |
| Real | xMin () const override |
| Real | xMax () const override |
| std::vector< Real > | xValues () const override |
| std::vector< Real > | yValues () const override |
| bool | isInRange (Real x) const override |
| Public Member Functions inherited from Interpolation::Impl | |
| virtual | ~Impl ()=default |
| virtual void | update ()=0 |
| virtual Real | xMin () const =0 |
| virtual Real | xMax () const =0 |
| virtual std::vector< Real > | xValues () const =0 |
| virtual std::vector< Real > | yValues () const =0 |
| virtual bool | isInRange (Real) const =0 |
| virtual Real | value (Real) const =0 |
| virtual Real | primitive (Real) const =0 |
| virtual Real | derivative (Real) const =0 |
| virtual Real | secondDerivative (Real) const =0 |
Private Attributes | |
| I1 | xBegin2_ |
| I2 | yBegin2_ |
| Size | n_ |
| Interpolation | interpolation1_ |
| Interpolation | interpolation2_ |
Additional Inherited Members | |
| Protected Member Functions inherited from Interpolation::templateImpl< I1, I2 > | |
| Size | locate (Real x) const |
| Protected Attributes inherited from Interpolation::templateImpl< I1, I2 > | |
| I1 | xBegin_ |
| I1 | xEnd_ |
| I2 | yBegin_ |
Definition at line 209 of file mixedinterpolation.hpp.
| MixedInterpolationImpl | ( | const I1 & | xBegin, |
| const I1 & | xEnd, | ||
| const I2 & | yBegin, | ||
| Size | n, | ||
| MixedInterpolation::Behavior | behavior = MixedInterpolation::ShareRanges , |
||
| const Interpolator1 & | factory1 = Interpolator1() , |
||
| const Interpolator2 & | factory2 = Interpolator2() |
||
| ) |
Definition at line 212 of file mixedinterpolation.hpp.
|
virtual |
Implements Interpolation::Impl.
Definition at line 253 of file mixedinterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 257 of file mixedinterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 262 of file mixedinterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 269 of file mixedinterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 274 of file mixedinterpolation.hpp.
| Size switchIndex | ( | ) |
Definition at line 279 of file mixedinterpolation.hpp.
|
private |
Definition at line 281 of file mixedinterpolation.hpp.
|
private |
Definition at line 282 of file mixedinterpolation.hpp.
|
private |
Definition at line 283 of file mixedinterpolation.hpp.
|
private |
Definition at line 284 of file mixedinterpolation.hpp.
|
private |
Definition at line 284 of file mixedinterpolation.hpp.


Suite of interactive functions and helpers for selecting and editing
geospatial data.
| Version: |
0.4.3 |
| Depends: |
R (≥ 3.1.0) |
| Imports: |
dplyr, htmltools (≥ 0.3), htmlwidgets, jsonlite, leaflet (≥
2.0.1), leaflet.extras (≥ 1.0), mapview, miniUI, sf (≥
0.5-2), shiny |
| Suggests: |
crayon |
| Enhances: |
geojsonio |
| Published: |
2018-08-16 |
| Author: |
Tim Appelhans [aut, cre],
Kenton Russell [aut] |
| Maintainer: |
Tim Appelhans <tim.appelhans at gmail.com> |
| BugReports: |
https://github.com/r-spatial/mapedit/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://github.com/r-spatial/mapedit |
| NeedsCompilation: |
no |
| Materials: |
README NEWS |
| CRAN checks: |
mapedit results |


Marvel Legends Age of Apocalypse Figure Wave Shapes up
by Luke Y. ThompsonWe knew, thanks to Hasbro‘s San Diego Comic-Con reveals, that figures based on X-Man, Age of Apocalypse Wolverine/Weapon X, and Morph should appear next spring. Now, thanks to reveals from Lucca, Italy, and Barcelona, Spain, we know a whole X-Men Age of Apocalypse figure wave is coming. The popular 1995 comics event is back in fans’ minds again thanks to Fox’s Legion giving the inciting character the spotlight again.
Sunfire’s translucent body and dark shading make him an instant must-have. And where would Wolverine be without Jean Grey?
RELATED: Hasbro Marvel Legends Stan Lee Figure Salutes the Man
Wild Child appears to utilize a new, much smaller body. It’s creepy and weird with that oversized, white-eyed head, as it should be.
Finally, Dark Beast tries to pull off the metallic pants look. Nobody tell him they don’t really complement his skin tone.
All that remains is for the Build-a-Figure to be announced. Crazy spitballing guess here, but maybe, just maybe, it’ll be…Apocalypse. Unless they plan on stretching this theme out into more waves and saving him for later.
But a non-mutant figure showed his (masked) face too, and it’s Crossbones — a comic-book version. Based on the fact that we’ve already seen a new comic-based Bucky/Winter Soldier, this could hint at a future Captain America wave. Unless, as we speculated before, they’re the token non-movie entries in a Black Widow wave. Both have appeared onscreen with Natasha, after all.
Are you ready to relive the Age of Apocalypse in toy form? Bamf down into the comments and let us know what you think.


Agency: Arizona flu cases now triple level from last season
by Associated PressPHOENIX — State health officials say flu cases in Arizona have tripled in comparison with previous seasons at this time and that all 15 Arizona counties have reported flu cases.
The Department of Health Services also said Friday that more than half of the reported cases this season involve infants, children and adolescents.
The department reported 950 laboratory-confirmed flu cases so far this flu season, compared with 290 cases for the same period of 218.
The department said taking measures such as getting a flu shot, washing hands, covering coughs and staying home when sick can help prevent the spread of the flu and other illnesses.


Pluggable On-Disk Back-end APIs¶
The internal REST API used between the proxy server and the account, container and object server is almost identical to public Swift REST API, but with a few internal extensions (for example, update an account with a new container).
The pluggable back-end APIs for the three REST API servers (account, container, object) abstracts the needs for servicing the various REST APIs from the details of how data is laid out and stored on-disk.
The APIs are documented in the reference implementations for all three servers. For historical reasons, the object server backend reference implementation module is named diskfile, while the account and container server backend reference implementation modules are named appropriately.
This API is still under development and not yet finalized.
Back-end API for Account Server REST APIs¶
Pluggable Back-end for Account Server
-
class
swift.account.backend.
AccountBroker
(db_file, timeout=25, logger=None, account=None, container=None, pending_timeout=None, stale_reads_ok=False) Encapsulates working with an account database.
-
create_account_stat_table
(conn, put_timestamp) Create account_stat table which is specific to the account DB. Not a part of Pluggable Back-ends, internal to the baseline code.
Parameters: - conn – DB connection object
- put_timestamp – put timestamp
-
create_container_table
(conn) Create container table which is specific to the account DB.
Parameters: conn – DB connection object
-
create_policy_stat_table
(conn) Create policy_stat table which is specific to the account DB. Not a part of Pluggable Back-ends, internal to the baseline code.
Parameters: conn – DB connection object
-
empty
() Check if the account DB is empty.
Returns: True if the database has no active containers.
-
get_info
() Get global data for the account.
Returns: dict with keys: account, created_at, put_timestamp, delete_timestamp, status_changed_at, container_count, object_count, bytes_used, hash, id
-
get_policy_stats
(do_migrations=False) Get global policy stats for the account.
Parameters: do_migrations – boolean, if True the policy stat dicts will always include the ‘container_count’ key; otherwise it may be omitted on legacy databases until they are migrated. Returns: dict of policy stats where the key is the policy index and the value is a dictionary like {‘object_count’: M, ‘bytes_used’: N, ‘container_count’: L}
-
is_status_deleted
() Only returns true if the status field is set to DELETED.
-
list_containers_iter
(limit, marker, end_marker, prefix, delimiter, reverse=False) Get a list of containers sorted by name starting at marker onward, up to limit entries. Entries will begin with the prefix and will not have the delimiter after the prefix.
Parameters: - limit – maximum number of entries to get
- marker – marker query
- end_marker – end marker query
- prefix – prefix query
- delimiter – delimiter for query
- reverse – reverse the result order.
Returns: list of tuples of (name, object_count, bytes_used, put_timestamp, 0)
-
merge_items
(item_list, source=None) Merge items into the container table.
Parameters: - item_list – list of dictionaries of {‘name’, ‘put_timestamp’, ‘delete_timestamp’, ‘object_count’, ‘bytes_used’, ‘deleted’, ‘storage_policy_index’}
- source – if defined, update incoming_sync with the source
-
put_container
(name, put_timestamp, delete_timestamp, object_count, bytes_used, storage_policy_index) Create a container with the given attributes.
Parameters: - name – name of the container to create
- put_timestamp – put_timestamp of the container to create
- delete_timestamp – delete_timestamp of the container to create
- object_count – number of objects in the container
- bytes_used – number of bytes used by the container
- storage_policy_index – the storage policy for this container
-
Back-end API for Container Server REST APIs¶
Pluggable Back-ends for Container Server
-
class
swift.container.backend.
ContainerBroker
(db_file, timeout=25, logger=None, account=None, container=None, pending_timeout=None, stale_reads_ok=False) Encapsulates working with a container database.
-
create_container_info_table
(conn, put_timestamp, storage_policy_index) Create the container_info table which is specific to the container DB. Not a part of Pluggable Back-ends, internal to the baseline code. Also creates the container_stat view.
Parameters: - conn – DB connection object
- put_timestamp – put timestamp
- storage_policy_index – storage policy index
-
create_object_table
(conn) Create the object table which is specific to the container DB. Not a part of Pluggable Back-ends, internal to the baseline code.
Parameters: conn – DB connection object
-
create_policy_stat_table
(conn, storage_policy_index=0) Create policy_stat table.
Parameters: - conn – DB connection object
- storage_policy_index – the policy_index the container is being created with
-
delete_object
(name, timestamp, storage_policy_index=0) Mark an object deleted.
Parameters: - name – object name to be deleted
- timestamp – timestamp when the object was marked as deleted
- storage_policy_index – the storage policy index for the object
-
empty
() Check if container DB is empty.
Returns: True if the database has no active objects, False otherwise
-
get_info
() Get global data for the container.
Returns: dict with keys: account, container, created_at, put_timestamp, delete_timestamp, status_changed_at, object_count, bytes_used, reported_put_timestamp, reported_delete_timestamp, reported_object_count, reported_bytes_used, hash, id, x_container_sync_point1, x_container_sync_point2, and storage_policy_index.
-
get_info_is_deleted
() Get the is_deleted status and info for the container.
Returns: a tuple, in the form (info, is_deleted) info is a dict as returned by get_info and is_deleted is a boolean.
-
get_misplaced_since
(start, count) Get a list of objects which are in a storage policy different from the container’s storage policy.
Parameters: - start – last reconciler sync point
- count – maximum number of entries to get
Returns: list of dicts with keys: name, created_at, size, content_type, etag, storage_policy_index
-
list_objects_iter
(limit, marker, end_marker, prefix, delimiter, path=None, storage_policy_index=0, reverse=False) Get a list of objects sorted by name starting at marker onward, up to limit entries. Entries will begin with the prefix and will not have the delimiter after the prefix.
Parameters: - limit – maximum number of entries to get
- marker – marker query
- end_marker – end marker query
- prefix – prefix query
- delimiter – delimiter for query
- path – if defined, will set the prefix and delimiter based on the path
- storage_policy_index – storage policy index for query
- reverse – reverse the result order.
Returns: list of tuples of (name, created_at, size, content_type, etag)
-
merge_items
(item_list, source=None) Merge items into the object table.
Parameters: - item_list – list of dictionaries of {‘name’, ‘created_at’, ‘size’, ‘content_type’, ‘etag’, ‘deleted’, ‘storage_policy_index’, ‘ctype_timestamp’, ‘meta_timestamp’}
- source – if defined, update incoming_sync with the source
-
put_object
(name, timestamp, size, content_type, etag, deleted=0, storage_policy_index=0, ctype_timestamp=None, meta_timestamp=None) Creates an object in the DB with its metadata.
Parameters: - name – object name to be created
- timestamp – timestamp of when the object was created
- size – object size
- content_type – object content-type
- etag – object etag
- deleted – if True, marks the object as deleted and sets the deleted_at timestamp to timestamp
- storage_policy_index – the storage policy index for the object
- ctype_timestamp – timestamp of when content_type was last updated
- meta_timestamp – timestamp of when metadata was last updated
-
reported
(put_timestamp, delete_timestamp, object_count, bytes_used) Update reported stats, available with container’s get_info.
Parameters: - put_timestamp – put_timestamp to update
- delete_timestamp – delete_timestamp to update
- object_count – object_count to update
- bytes_used – bytes_used to update
-
set_storage_policy_index
(policy_index, timestamp=None) Update the container_stat policy_index and status_changed_at.
-
-
swift.container.backend.
update_new_item_from_existing
(new_item, existing) Compare the data and meta related timestamps of a new object item with the timestamps of an existing object record, and update the new item with data and/or meta related attributes from the existing record if their timestamps are newer.
The multiple timestamps are encoded into a single string for storing in the ‘created_at’ column of the objects db table.
Parameters: - new_item – A dict of object update attributes
- existing – A dict of existing object attributes
Returns: True if any attributes of the new item dict were found to be newer than the existing and therefore not updated, otherwise False implying that the updated item is equal to the existing.
Back-end API for Object Server REST APIs¶
Disk File Interface for the Swift Object Server
The DiskFile, DiskFileWriter and DiskFileReader classes combined define the on-disk abstraction layer for supporting the object server REST API interfaces (excluding REPLICATE). Other implementations wishing to provide an alternative backend for the object server must implement the three classes. An example alternative implementation can be found in the mem_server.py and mem_diskfile.py modules along size this one.
The DiskFileManager is a reference implemenation specific class and is not part of the backend API.
The remaining methods in this module are considered implementation specific and are also not considered part of the backend API.
-
class
swift.obj.diskfile.
AuditLocation
(path, device, partition, policy) Represents an object location to be audited.
Other than being a bucket of data, the only useful thing this does is stringify to a filesystem path so the auditor’s logs look okay.
-
class
swift.obj.diskfile.
BaseDiskFile
(mgr, device_path, partition, account=None, container=None, obj=None, _datadir=None, policy=None, use_splice=False, pipe_size=None, use_linkat=False, **kwargs) Manage object files.
This specific implementation manages object files on a disk formatted with a POSIX-compliant file system that supports extended attributes as metadata on a file or directory.
Note
The arguments to the constructor are considered implementation specific. The API does not define the constructor arguments.
The following path format is used for data file locations: <devices_path/<device_dir>/<datadir>/<partdir>/<suffixdir>/<hashdir>/ <datafile>.<ext>
Parameters: - mgr – associated DiskFileManager instance
- device_path – path to the target device or drive
- partition – partition on the device in which the object lives
- account – account name for the object
- container – container name for the object
- obj – object name for the object
- _datadir – override the full datadir otherwise constructed here
- policy – the StoragePolicy instance
- use_splice – if true, use zero-copy splice() to send data
- pipe_size – size of pipe buffer used in zero-copy operations
- use_linkat – if True, use open() with linkat() to create obj file
-
create
(*args, **kwds) Context manager to create a file. We create a temporary file first, and then return a DiskFileWriter object to encapsulate the state.
Note
An implementation is not required to perform on-disk preallocations even if the parameter is specified. But if it does and it fails, it must raise a DiskFileNoSpace exception.
Parameters: size – optional initial size of file to explicitly allocate on disk Raises: DiskFileNoSpace – if a size is specified and allocation fails
-
delete
(timestamp) Delete the object.
This implementation creates a tombstone file using the given timestamp, and removes any older versions of the object file. Any file that has an older timestamp than timestamp will be deleted.
Note
An implementation is free to use or ignore the timestamp parameter.
Parameters: timestamp – timestamp to compare with each file Raises: DiskFileError – this implementation will raise the same errors as the create() method.
-
durable_timestamp
Provides the timestamp of the newest data file found in the object directory.
Returns: A Timestamp instance, or None if no data file was found. Raises: DiskFileNotOpen – if the open() method has not been previously called on this instance.
-
get_datafile_metadata
() Provide the datafile metadata for a previously opened object as a dictionary. This is metadata that was included when the object was first PUT, and does not include metadata set by any subsequent POST.
Returns: object’s datafile metadata dictionary Raises: DiskFileNotOpen – if the swift.obj.diskfile.DiskFile.open()
method was not previously invoked
-
get_metadata
() Provide the metadata for a previously opened object as a dictionary.
Returns: object’s metadata dictionary Raises: DiskFileNotOpen – if the swift.obj.diskfile.DiskFile.open()
method was not previously invoked
-
get_metafile_metadata
() Provide the metafile metadata for a previously opened object as a dictionary. This is metadata that was written by a POST and does not include any persistent metadata that was set by the original PUT.
Returns: object’s .meta file metadata dictionary, or None if there is no .meta file Raises: DiskFileNotOpen – if the swift.obj.diskfile.DiskFile.open()
method was not previously invoked
-
open
() Open the object.
This implementation opens the data file representing the object, reads the associated metadata in the extended attributes, additionally combining metadata from fast-POST .meta files.
Note
An implementation is allowed to raise any of the following exceptions, but is only required to raise DiskFileNotExist when the object representation does not exist.
Raises: - DiskFileCollision – on name mis-match with metadata
- DiskFileNotExist – if the object does not exist
- DiskFileDeleted – if the object was previously deleted
- DiskFileQuarantined – if while reading metadata of the file some data did pass cross checks
Returns: itself for use as a context manager
-
read_metadata
() Return the metadata for an object without requiring the caller to open the object first.
Returns: metadata dictionary for an object Raises: DiskFileError – this implementation will raise the same errors as the open() method.
-
reader
(keep_cache=False, _quarantine_hook=<function <lambda>>) Return a
swift.common.swob.Response
class compatible “app_iter” object as defined byswift.obj.diskfile.DiskFileReader
.For this implementation, the responsibility of closing the open file is passed to the
swift.obj.diskfile.DiskFileReader
object.Parameters: - keep_cache – caller’s preference for keeping data read in the OS buffer cache
- _quarantine_hook – 1-arg callable called when obj quarantined; the arg is the reason for quarantine. Default is to ignore it. Not needed by the REST layer.
Returns: a
swift.obj.diskfile.DiskFileReader
object
-
write_metadata
(metadata) Write a block of metadata to an object without requiring the caller to create the object first. Supports fast-POST behavior semantics.
Parameters: metadata – dictionary of metadata to be associated with the object Raises: DiskFileError – this implementation will raise the same errors as the create() method.
-
class
swift.obj.diskfile.
BaseDiskFileManager
(conf, logger) Management class for devices, providing common place for shared parameters and methods not provided by the DiskFile class (which primarily services the object server REST API layer).
The get_diskfile() method is how this implementation creates a DiskFile object.
Note
This class is reference implementation specific and not part of the pluggable on-disk backend API.
Note
TODO(portante): Not sure what the right name to recommend here, as “manager” seemed generic enough, though suggestions are welcome.
Parameters: - conf – caller provided configuration object
- logger – caller provided logger
-
cleanup_ondisk_files
(hsh_path, **kwargs) Clean up on-disk files that are obsolete and gather the set of valid on-disk files for an object.
Parameters: - hsh_path – object hash path
- frag_index – if set, search for a specific fragment index .data file, otherwise accept the first valid .data file
Returns: a dict that may contain: valid on disk files keyed by their filename extension; a list of obsolete files stored under the key ‘obsolete’; a list of files remaining in the directory, reverse sorted, stored under the key ‘files’.
-
construct_dev_path
(device) Construct the path to a device without checking if it is mounted.
Parameters: device – name of target device Returns: full path to the device
-
get_dev_path
(device, mount_check=None) Return the path to a device, first checking to see if either it is a proper mount point, or at least a directory depending on the mount_check configuration option.
Parameters: - device – name of target device
- mount_check – whether or not to check mountedness of device. Defaults to bool(self.mount_check).
Returns: full path to the device, None if the path to the device is not a proper mount point or directory.
-
get_diskfile
(device, partition, account, container, obj, policy, **kwargs) Returns a BaseDiskFile instance for an object based on the object’s partition, path parts and policy.
Parameters: - device – name of target device
- partition – partition on device in which the object lives
- account – account name for the object
- container – container name for the object
- obj – object name for the object
- policy – the StoragePolicy instance
-
get_diskfile_from_audit_location
(audit_location) Returns a BaseDiskFile instance for an object at the given AuditLocation.
Parameters: audit_location – object location to be audited
-
get_diskfile_from_hash
(device, partition, object_hash, policy, **kwargs) Returns a DiskFile instance for an object at the given object_hash. Just in case someone thinks of refactoring, be sure DiskFileDeleted is not raised, but the DiskFile instance representing the tombstoned object is returned instead.
Parameters: - device – name of target device
- partition – partition on the device in which the object lives
- object_hash – the hash of an object path
- policy – the StoragePolicy instance
Raises: DiskFileNotExist – if the object does not exist
Returns: an instance of BaseDiskFile
-
get_hashes
(device, partition, suffixes, policy) Parameters: - device – name of target device
- partition – partition name
- suffixes – a list of suffix directories to be recalculated
- policy – the StoragePolicy instance
Returns: a dictionary that maps suffix directories
-
get_ondisk_files
(files, datadir, verify=True, **kwargs) Given a simple list of files names, determine the files that constitute a valid fileset i.e. a set of files that defines the state of an object, and determine the files that are obsolete and could be deleted. Note that some files may fall into neither category.
If a file is considered part of a valid fileset then its info dict will be added to the results dict, keyed by <extension>_info. Any files that are no longer required will have their info dicts added to a list stored under the key ‘obsolete’.
The results dict will always contain entries with keys ‘ts_file’, ‘data_file’ and ‘meta_file’. Their values will be the fully qualified path to a file of the corresponding type if there is such a file in the valid fileset, or None.
Parameters: - files – a list of file names.
- datadir – directory name files are from.
- verify – if True verify that the ondisk file contract has not been violated, otherwise do not verify.
Returns: - a dict that will contain keys:
ts_file -> path to a .ts file or None data_file -> path to a .data file or None meta_file -> path to a .meta file or None ctype_file -> path to a .meta file or None
- and may contain keys:
ts_info -> a file info dict for a .ts file data_info -> a file info dict for a .data file meta_info -> a file info dict for a .meta file ctype_info -> a file info dict for a .meta file which
contains the content-type value
- unexpected -> a list of file paths for unexpected
files
- possible_reclaim -> a list of file info dicts for possible
reclaimable files
obsolete -> a list of file info dicts for obsolete files
-
make_on_disk_filename
(timestamp, ext=None, ctype_timestamp=None, *a, **kw) Returns filename for given timestamp.
Parameters: Returns: a file name
-
object_audit_location_generator
(device_dirs=None, auditor_type='ALL') Yield an AuditLocation for all objects stored under device_dirs.
Parameters: - device_dirs – directory of target device
- auditor_type – either ALL or ZBF
-
parse_on_disk_filename
(filename) Parse an on disk file name.
Parameters: filename – the file name including extension Returns: a dict, with keys for timestamp, ext and ctype_timestamp: - timestamp is a
Timestamp
- ctype_timestamp is a
Timestamp
or None for .meta files, otherwise None - ext is a string, the file extension including the leading dot or the empty string if the filename has no extension.
Subclasses may override this method to add further keys to the returned dict.
Raises: DiskFileError – if any part of the filename is not able to be validated. - timestamp is a
-
pickle_async_update
(device, account, container, obj, data, timestamp, policy) Write data describing a container update notification to a pickle file in the async_pending directory.
Parameters: - device – name of target device
- account – account name for the object
- container – container name for the object
- obj – object name for the object
- data – update data to be written to pickle file
- timestamp – a Timestamp
- policy – the StoragePolicy instance
-
replication_lock
(*args, **kwds) A context manager that will lock on the device given, if configured to do so.
Parameters: device – name of target device Raises: ReplicationLockTimeout – If the lock on the device cannot be granted within the configured timeout.
-
yield_hashes
(device, partition, policy, suffixes=None, **kwargs) Yields tuples of (full_path, hash_only, timestamps) for object information stored for the given device, partition, and (optionally) suffixes. If suffixes is None, all stored suffixes will be searched for object hashes. Note that if suffixes is not None but empty, such as [], then nothing will be yielded.
timestamps is a dict which may contain items mapping:
ts_data -> timestamp of data or tombstone file,
ts_meta -> timestamp of meta file, if one exists
- ts_ctype -> timestamp of meta file containing most recent
content-type value, if one exists
where timestamps are instances of
Timestamp
Parameters: - device – name of target device
- partition – partition name
- policy – the StoragePolicy instance
- suffixes – optional list of suffix directories to be searched
-
yield_suffixes
(device, partition, policy) Yields tuples of (full_path, suffix_only) for suffixes stored on the given device and partition.
Parameters: - device – name of target device
- partition – partition name
- policy – the StoragePolicy instance
-
class
swift.obj.diskfile.
BaseDiskFileReader
(fp, data_file, obj_size, etag, disk_chunk_size, keep_cache_size, device_path, logger, quarantine_hook, use_splice, pipe_size, diskfile, keep_cache=False) Encapsulation of the WSGI read context for servicing GET REST API requests. Serves as the context manager object for the
swift.obj.diskfile.DiskFile
class’sswift.obj.diskfile.DiskFile.reader()
method.Note
The quarantining behavior of this method is considered implementation specific, and is not required of the API.
Note
The arguments to the constructor are considered implementation specific. The API does not define the constructor arguments.
Parameters: - fp – open file object pointer reference
- data_file – on-disk data file name for the object
- obj_size – verified on-disk size of the object
- etag – expected metadata etag value for entire file
- disk_chunk_size – size of reads from disk in bytes
- keep_cache_size – maximum object size that will be kept in cache
- device_path – on-disk device path, used when quarantining an obj
- logger – logger caller wants this object to use
- quarantine_hook – 1-arg callable called w/reason when quarantined
- use_splice – if true, use zero-copy splice() to send data
- pipe_size – size of pipe buffer used in zero-copy operations
- diskfile – the diskfile creating this DiskFileReader instance
- keep_cache – should resulting reads be kept in the buffer cache
-
app_iter_range
(start, stop) Returns an iterator over the data file for range (start, stop)
-
app_iter_ranges
(ranges, content_type, boundary, size) Returns an iterator over the data file for a set of ranges
-
close
() Close the open file handle if present.
For this specific implementation, this method will handle quarantining the file if necessary.
-
zero_copy_send
(wsockfd) Does some magic with splice() and tee() to move stuff from disk to network without ever touching userspace.
Parameters: wsockfd – file descriptor (integer) of the socket out which to send data
-
class
swift.obj.diskfile.
BaseDiskFileWriter
(name, datadir, fd, tmppath, bytes_per_sync, diskfile) Encapsulation of the write context for servicing PUT REST API requests. Serves as the context manager object for the
swift.obj.diskfile.DiskFile
class’sswift.obj.diskfile.DiskFile.create()
method.Note
It is the responsibility of the
swift.obj.diskfile.DiskFile.create()
method context manager to close the open file descriptor.Note
The arguments to the constructor are considered implementation specific. The API does not define the constructor arguments.
Parameters: - name – name of object from REST API
- datadir – on-disk directory object will end up in on
swift.obj.diskfile.DiskFileWriter.put()
- fd – open file descriptor of temporary file to receive data
- tmppath – full path name of the opened file descriptor
- bytes_per_sync – number bytes written between sync calls
- diskfile – the diskfile creating this DiskFileWriter instance
-
commit
(timestamp) Perform any operations necessary to mark the object as durable. For replication policy type this is a no-op.
Parameters: timestamp – object put timestamp, an instance of Timestamp
-
put
(metadata) Finalize writing the file on disk.
Parameters: metadata – dictionary of metadata to be associated with the object
-
write
(chunk) Write a chunk of data to disk. All invocations of this method must come before invoking the :func:
For this implementation, the data is written into a temporary file.
Parameters: chunk – the chunk of data to write as a string object Returns: the total number of bytes written to an object
-
swift.obj.diskfile.
consolidate_hashes
(partition_dir) Take what’s in hashes.pkl and hashes.invalid, combine them, write the result back to hashes.pkl, and clear out hashes.invalid.
Parameters: suffix_dir – absolute path to partition dir containing hashes.pkl and hashes.invalid Returns: the hashes, or None if there’s no hashes.pkl.
-
swift.obj.diskfile.
extract_policy
(obj_path) Extracts the policy for an object (based on the name of the objects directory) given the device-relative path to the object. Returns None in the event that the path is malformed in some way.
The device-relative path is everything after the mount point; for example:
- /srv/node/d42/objects-5/30/179/
- 485dc017205a81df3af616d917c90179/1401811134.873649.data
would have device-relative path:
objects-5/30/179/485dc017205a81df3af616d917c90179/1401811134.873649.data
Parameters: obj_path – device-relative path of an object, or the full path Returns: a BaseStoragePolicy
or None
-
swift.obj.diskfile.
invalidate_hash
(suffix_dir) Invalidates the hash for a suffix_dir in the partition’s hashes file.
Parameters: suffix_dir – absolute path to suffix dir whose hash needs invalidating
-
swift.obj.diskfile.
object_audit_location_generator
(devices, mount_check=True, logger=None, device_dirs=None, auditor_type='ALL') Given a devices path (e.g. “/srv/node”), yield an AuditLocation for all objects stored under that directory if device_dirs isn’t set. If device_dirs is set, only yield AuditLocation for the objects under the entries in device_dirs. The AuditLocation only knows the path to the hash directory, not to the .data file therein (if any). This is to avoid a double listdir(hash_dir); the DiskFile object will always do one, so we don’t.
Parameters: - devices – parent directory of the devices to be audited
- mount_check – flag to check if a mount check should be performed on devices
- logger – a logger object
- device_dirs – a list of directories under devices to traverse
- auditor_type – either ALL or ZBF
-
swift.obj.diskfile.
quarantine_renamer
(device_path, corrupted_file_path) In the case that a file is corrupted, move it to a quarantined area to allow replication to fix it.
Params device_path: The path to the device the corrupted file is on. Params corrupted_file_path: The path to the file you want quarantined. Returns: path (str) of directory the file was moved to Raises: OSError – re-raises non errno.EEXIST / errno.ENOTEMPTY exceptions from rename
-
swift.obj.diskfile.
read_hashes
(partition_dir) Read the existing hashes.pkl
Returns: a dict, the suffix hashes (if any), the key ‘valid’ will be False if hashes.pkl is corrupt, cannot be read or does not exist
-
swift.obj.diskfile.
read_metadata
(fd) Helper function to read the pickled metadata from an object file.
Parameters: fd – file descriptor or filename to load the metadata from Returns: dictionary of metadata
-
swift.obj.diskfile.
strip_self
(f) Wrapper to attach module level functions to base class.
-
swift.obj.diskfile.
write_hashes
(partition_dir, hashes) Write hashes to hashes.pkl
The updated key is added to hashes before it is written.
-
swift.obj.diskfile.
write_metadata
(fd, metadata, xattr_size=65536) Helper function to write pickled metadata for an object file.
Parameters: - fd – file descriptor or filename to write the metadata
- metadata – metadata to write


|
Name
|
Type
|
Description
|
| entity | ManagedObjectReference
to a
ManagedEntity |
Managed entity the permission is defined on. Left unset
when calling setPermissions or resetPermissions, but present
for the results of permission queries.
|
| group | xsd:boolean |
Whether principal refers to a user or a group. True for
a group and false for a user.
|
| principal | xsd:string |
User or group receiving access in the form of
"login" for local or "DOMAIN\login" for users in a Windows domain.
|
| propagate | xsd:boolean |
Whether or not this permission propagates down the hierarchy
to sub-entities.
|
| roleId | xsd:int |
Reference to the role providing the access.
|
|
Properties inherited from DynamicData |
| None |


---
layout: post
authors: ["Greg Wilson"]
title: "Interim Board Meeting: Sep 30, 2014"
date: 2014-09-30
time: "19:30:00"
tags: ["Governance"]
---
Software Carpentry Foundation Interim Board Meeting: Sep 30, 2014
Attending
- JB: Jenny Bryan (Univ of British Columbia)
- CG: Carole Goble (U. Manchester)
- JG: Josh Greenberg (Sloan Foundation) - nonvoting
- NCH: Neil Chue Hong (Software Sustainability Institute) - chair
- KH: Katy Huff (UC Berkeley)
- DI: Damien Irving (University of Melbourne / Research Platforms)
- AS: Adam Stone (Berkeley Lab)
- KT: Kaitlin Thaney (Mozilla Science Lab)
- TT: Tracy Teal (Michigan State / Data Carpentry)
- GW: Greg Wilson (Software Carpentry)
Actions
- Board: next meeting on Tue Oct 14 (same time)
- CG + KH + GW: prepare clarification of core vs. non-core activities
- GW: prepare strawman "bare bones" budget
- GW: update wording of press release and circulate for final checking
- JB + TT: due diligence on NumFOCUS FSA by Mon Oct 6
- KH: prepare proposal for storing SCF board documents
Resolutions
- Public announcement of SCF: Oct 8
- Legal status for the SCF: with NumFOCUS
- Devote next meeting to "what's core/non-core" and how to handle money
Summary
- Date for next meeting: Tuesday Oct 14 (same time)
Vote on date: passed
- Wording of press release/community announcement
- CG: put wording about "continue to do what we're doing" at the top as well as at the bottom
- JG: what other orgs should be mentioned: LBL, SSI, ...?
- CG: point to list http://software-carpentry.org/scf/supporters.html instead of repeating
- Action: GW to update and circulate to board
Vote on agreement in principle on wording: passed
- Release date for press release/community announcement:
- GW proposes Oct 8
- We control what gets said when, rather than letting it leak
- GW uneasy keeping secrets
- Easier to talk to people about funding / governance
- TKT proposes Oct 7 or 8 (NSF BIO meeting Oct 7-8 & funding discussions abound)
- Conversations getting awkward as not able to reveal status of foundation
- Easier to move forward when talking to NSF, others
- KT proposes Oct 22-24
- Closer to live instructor training / MozFest
- Discussions about how we handle funding still needs to be worked through
- Will get questions when comes out
Vote on Oct 8 release date: passed
- Legal status for the SCF
- NumFOCUS
- Andy Terrel and Brian Granger willing to come on call on to answer questions
- At moment can only do independent contractors but plan to have employees
- Want to do Europe, would like input on what we want (country by country, whole EU?)
- Can disburse funds if on research grant with university
- Monthly reporting as spreadsheet
- A free-standing 501(c)3
- Something else [no other proposals received to date]
- Discussion of handling out-of-US funding streams
- Deadline for CAG's INFRADEV-3 proposal is January 2015
- Discussion and vote: agreement in principle on NumFOCUS
- Due diligence: TT and JB by Monday next week (Oct 6)
- talk with another fiscal sponsor: JG will connect
- Discussion of operations FAQ
- SCF staff may no approach = SCF staff may not approach (simple typo)
- Adding a sentence that <$1k not necessary to get board approval.
- what is "core" vs. "not-core" donation?
Question on #3: the "directed by SCF" - does that present big management / bandwidth issues for SCF?
- Discussion of strawman SCF budget
GW to prepare a "barebones" budget, and also a strawman "what it costs to scale" budget for discussion
- Discussion of governance document
Research Platforms gives > 60 days per year, so they should be on the list of institutions
- Other business
- Where are we going to keep all this documentation?
- KH to lead off discussion on the email list with a strawman
- Notes
- ELIXIR can't pay Greg directly - has to be routed through an org (hence the pressure to have some entity that can catch the money and pass it on)
Main topic for next meeting: how to handle money from different sources
- Additional questions
- This may be more for internal process with institutional partners, but handling of workshop requests across distributed network of coordinators is still something to sort. (Happy to take offline, but know admin@email vs something @mozilla has been a discussion item for a few months)
- proposal: everyone coordinating workshops is in a weekly meeting to update one another on leads and progress
- additional proposal: separate request emails as well as a core one at SCF that gets doled out as needed.
- It would be helpful to be clear how we would contribute to the core operations and contribute to our local organisations.
- For groups providing in-kind support, is it worth creating an MoU (building off Carole's comment)
JG: SCF stewards public goods, org members provide services and scale
- Random thoughts
- it would be convenient to get a MoU with SCF and ELIXIR in the next two months to secure SC position in the ELIXIR INFRADEV3 proposal....
- sub-group to put together proposal on core vs. non-core: GW, KH, CG
put together bare-bones budget and how much is required to scale


{% extends "email_base.html" %} {% block content %}
{{ _('You have successfully created a new ticket:') }} {{ number }}
{{ ticket.content }}


ESPScanner
@interface ESPScanner : NSObject
Class used for discovering/connecting a peripheral device that uses the ESP Service and starting the ESPLibrary.
-
Initializes the ESPScanner object with a ESPScannerDelegate instance
Declaration
Objective-C
- (id)initWithDelegate:(id<ESPScannerDelegate>)delegate;
Parameters
delegate
a ESPScannerDelegate that will get registered for ongoing ESPScanner events
-
Starts scanning for ESP devices, or does nothing if already scanning. This method will not automatically connect any peripherals while scanning. Calling this method also clears any discovered peripherals.
Declaration
Objective-C
- (void)startScan;
-
Starts scanning for ESP devices with a given mode, or does nothing if already scanning. Calling this method also clears any discovered peripherals.
Declaration
Objective-C
- (void)startScanWithMode:(ESPConnectMode)mode;
Parameters
mode
the mode to use while scanning to connect to an ESP device
-
Starts scanning for ESP devices and stops the scan after a given amount of time. Calling this method also clears any discovered peripherals
Declaration
Objective-C
- (void)startScanWithMode:(ESPConnectMode)mode timeout:(NSTimeInterval)timeout;
Parameters
mode
the mode to use while scanning to connect to an ESP device
timeout
the amount of time to wait after starting the scan to stop the scan. If this value is less than or equal to 0, there is no timeout
-
Starts scanning for the ESP device that has a UUID which matches the given UUID. If UUIDString is not nil, then peripherals will only be discovered if they match the UUID. If the ESP device with a matching UUID is found, the scanner will automatically try to connect to it. Calling this method also clears any discovered peripherals.
Declaration
Objective-C
- (void)startScanForDeviceWithUUID:(NSString *)UUIDString timeout:(NSTimeInterval)timeout;
Parameters
UUIDString
the UUID of the ESP device to search for, or nil to search for any ESP device
timeout
the amount of time to wait after starting the scan to stop the scan. If this value is less than or equal to 0, there is no timeout
-
Stops scanning for ESP devices, or does nothing if the scanner is not scanning
Declaration
Objective-C
- (void)stopScan;
-
Connects a discovered peripheral
Declaration
Objective-C
- (void)connectPeripheral:(CBPeripheral *)peripheral;
Parameters
peripheral
the peripheral to connect
-
Disconnects the connected ESP device/peripheral and disconnects any peripheral in the process of connecting
Declaration
Objective-C
- (void)disconnectClient;
-
Gives the RSSI of the specified peripheral (if the RSSI is known)
Declaration
Objective-C
- (NSNumber *)RSSIOfPeripheral:(CBPeripheral *)peripheral;
Parameters
peripheral
the peripheral to find the RSSI of
Return Value
an NSNumber representing the RSSI of the peripheral (in decibels), or nil if the RSSI is not known
-
Gives the date/time of the last time the specified peripheral was reported
Declaration
Objective-C
- (NSDate *)lastReportDateOfPeripheral:(CBPeripheral *)peripheral;
Parameters
peripheral
the reported peripheral
Return Value
an NSDate representing the last time the peripheral was reported by the bluetooth scanner, or nil if the peripheral is not known by this scanner
-
Finds the discovered peripheral with the given UUID, if it exists
Declaration
Objective-C
- (CBPeripheral *)peripheralWithUUID:(NSString *)UUIDString;
Parameters
UUIDString
the UUID of the peripheral to search for
Return Value
a CBPeripheral with the given UUID, or nil if a matching peripheral could not be found
-
Clears the list of recent ESP device UUIDs. - see: ESPScanner::recentDeviceUUIDs
Declaration
Objective-C
- (void)clearRecentUUIDs;
-
Removes a recent device with the given UUID. - see: ESPScanner::recentDeviceUUIDs
Declaration
Objective-C
- (void)removeRecentUUID:(NSString *)UUIDString;
Parameters
UUIDString
a string representing the UUID of the remembered device
-
ESPScannerDelegate delegate that will get invoked for ESPScanner events
Declaration
Objective-C
@property (nonatomic, weak) id<ESPScannerDelegate> delegate;
-
The class to use to instantiate the connected ESPClient
Declaration
Objective-C
@property (nonatomic, readonly) Class clientClass;
-
Tells whether the scanner is currently scanning or not
Declaration
Objective-C
@property (nonatomic, readonly, getter=isScanning) BOOL scanning;
-
The timestamp of when the scan began. This property is nil if the scanner is not scanning
Declaration
Objective-C
@property (nonatomic, readonly) NSDate *scanStartDate;
-
The timeout value for the current scan, in seconds. A 0 or negative value means there is no timeout, or that the scanner is not currently scanning
Declaration
Objective-C
@property (nonatomic, readonly) NSTimeInterval timeout;
-
Tells whether the scanner is attempting to connect a peripheral or not
Declaration
Objective-C
@property (nonatomic, readonly, getter=isConnecting) BOOL connecting;
-
An array of the discovered peripherals
Declaration
Objective-C
@property (nonatomic, readonly) NSArray<CBPeripheral *> *discoveredPeripherals;
-
The most recently connected to peripheral of the discovered peripherals, or nil if no recent peripheral has been discovered. This property is found by matching the UUIDs in recentDeviceUUIDs with a discovered peripheral’s UUID.
Declaration
Objective-C
@property (nonatomic, readonly) CBPeripheral *mostRecentPeripheral;
-
The peripheral with the strongest signal of the discovered peripherals, or nil if no peripherals have been discovered
Declaration
Objective-C
@property (nonatomic, readonly) CBPeripheral *strongestPeripheral;
-
The connected ESPClient, or nil if no peripheral has been connected
Declaration
Objective-C
@property (nonatomic, readonly) __kindof ESPClient *connectedClient;
-
The NSUserDefaults used to save scanner settings. The default “suite name” is com.Valentine.ESPLibrary
Declaration
Objective-C
@property (nonatomic, strong) NSUserDefaults *userDefaults;
-
The most recently connected to ESP devices’ UUIDs, with the most recent device’s UUID being the first in the array. If this array is set to an array larger than maximumRecentDevices, then elements are removed from the end of the array until its count is the same as maximumRecentDevices. This list is retrieved from and stored in the userDefaults object. - see: ESPScanner::userDefaults
Declaration
Objective-C
@property (nonatomic, copy) NSArray<NSString *> *recentDeviceUUIDs;
-
Controls whether the scanner should automatically add a device’s UUID to the list of recent devices after connecting. By default this value is YES.
Declaration
Objective-C
@property (nonatomic) BOOL automaticallyRemembersDevices;
-
The maximum number of recent devices to store. By default this value is 10 - see: ESPScanner::recentDeviceUUIDs
Declaration
Objective-C
@property (nonatomic) NSUInteger maximumRecentDevices;


Intourist, the Soviet agency for international tourism, reaches out to Donald Trump about a meeting. Trump and then-wife Ivana then flew to Moscow later that year to tour potential Trump Moscow sites and meet with economic and political advisers.
Source: Washington Post


| DOSE: |
1 tablet |
oral |
MDMA |
(pill / tablet) |
Me and a few friends started taking the ecstasy at around 10pm and decided to go for a drive to get it off our minds. I've taken ecstasy 4 times before this and had suffered a bad roll once on a vacation (lovely). Anyways, at around 11pm all of my friends were starting to feel the x kick in while I'm sitting in the back of the car starting to feel a bit nauseous.  Not physically sick, but just feeling really down.
Knowing from what I've read, I try to tell myself it's the ecstasy and to just think good thoughts. But it doesn't work and my downward spiral continues. We eventually stop at a gas station far away from home (they were loving their roll, which according to a friend who had had previous experience was one of the best). I got out of the car feeling down and walked over to a curb and sat down by myself, just pissed at myself for feeling like I was.
So we finally get back in the car and I get shotgun (front seat) to help me feel the wind and heater in the car (for all you rollers out there, try it, great feeling). They turn on some music and for a few moments I get myself out of the downward loop. Feeling the effects a little bit I get a little happy but I can't keep them going and I went back to feeling down again.
 Didn't work of course and when we got home I broke out a big bottle of Kahlua and some milk and drank about half a fifth's worth and it didn't do anything, which made me even more depressed (maybe that was what it did?) so I went to my house and slept.
Even though I've had 2 bad rolls, this one and one during which I felt like I was having a heart attack, I still believe that ecstasy is a great experience that's worth the bad side effects that I've had to put up with. I've never experienced the hangovers that some people say they have but usually feel great for a couple of days after I use it.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


{{abe type="data" key="products" source="select title, cover_273x273,cover_566x253,cover_273x546, description from /articles where `abe_meta.template`=`single-product`" desc="Select 5 products from this list" display="{{title}}" max-length="5" reload="true" editable="false"}}
This is a description about products introduced below


[gecode-users] Posting propagator : IntView lifetime ?
jeremie.vautard
jeremie.vautard at laposte.net
Thu Apr 13 15:28:14 CEST 2006
Hi !
first, thanks Grégoire and Christian. I now understand what to
do exactely for creating my propagator. I just have one
remaining question (in fact, more a check than a question) :
is it OK to call, within the propagate method of a propagator,
a method from a class which is totally external to the current
space, but takes some IntViews in argument ? I am trying to
make an extensively defined binary constraint (so the accepted
couples are listed in a big table) : I have a class in which
my table is stored, and this class has a method '' PropCost
check(IntView x,y) '' which will actually remove values from
the IntViews. So, in the propagate method of my propagator,
may I just do return ctr->check(xa,xb) (where ctr is a pointer
to an Extensive Binary Constraint object the propagator
knows). I think this wouldn't create any problems, but I
prefer to check...
Jeremie Vautard
Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)
More information about the gecode-users
mailing list


We couldn't put on this conference without the generous support of our sponsors. Thanks so much for supporting our community and helping us grow!
Stay connected with the community!
Follow us on Twitter at @dotnetfringe
Chat with us in Slack
Join the mailing list!


Football: Ibrahimovic confirms LA Galaxy exit
LOS ANGELES: Swedish star Zlatan Ibrahimovic confirmed his departure from the Los Angeles Galaxy on Wednesday (Nov 13), but gave no clue over his future plans or possible retirement.
The 38-year-old striker's departure from the Galaxy had been widely expected following the club's elimination from the Major League Soccer playoffs last month.
Ibrahimovic, who joined the Galaxy in the opening months of the 2018 campaign, announced the end of his Californian sojourn in a characteristically enigmatic post on Twitter.
"I came, I saw, I conquered. Thank you @lagalaxy for making me feel alive again," Ibrahimovic wrote. "To the Galaxy fans - you wanted Zlatan, I gave you Zlatan. You are welcome.
"The story continues ... Now go back to watch baseball."
The Galaxy said in a brief statement the club had parted company with Ibrahimovic by mutual agreement.
"We would like to thank Zlatan for his contributions to the LA Galaxy and Major League Soccer," said LA Galaxy President Chris Klein.
"Since his arrival in 2018, Zlatan has positively influenced the sport of soccer in Los Angeles. We are grateful for his work ethic and passion. We thank Zlatan for his professionalism and immeasurable impact on the Los Angeles community and the soccer community in North America as a whole."
Ibrahimovic has been strongly linked with a return to Italian club AC Milan, where he played for two seasons between 2010 and 2012, scoring 42 goals in 61 league appearances.
Major League Soccer Commissioner Don Garber hinted last week that Ibrahimovic may make a return to Italy, telling ESPN in an interview the striker was being "recruited" by Milan.
Ibrahimovic has also reportedly been targeted by Serie A side Bologna, according to Italian daily Corriere dello Sport.
Although Ibrahimovic was unable to help Los Angeles Galaxy return to the pinnacle of Major League Soccer, the Swede has been one of the most successful foreign players ever to grace the league, scoring 53 goals in 56 regular season appearances.


Dolly Parton speaks about goddaughter Miley Cyrus: 'Miley has such gifts'
by Andy SahadeoDolly Parton is opening up about her goddaughter Miley Cyrus and noted that “she’s got good stuff in her.”
Parton, 73, spoke about her 26-year-old goddaughter and had nothing but lavish praise for the “Wrecking Ball” singer in a new interview.
“Lord, I’ve done everything, and what I ain’t done, I intend to,” the country music legend told People. “She’s going to do that, too. But Miley’s smart; Miley knows what she’s doing. I know we think she doesn’t, and she might not every minute, but I still know that she’s got good stuff in her.”
DOLLY PARTON SAYS SHE’S BEEN ‘HARASSED’ AND ‘HAD TO PUT UP WITH A LOT OF BS’ IN CAREER
Parton also said that she’d rather “live an example” instead of telling Cyrus what and what not to do.
“I’ve told her some things that I think are valuable and that she uses, but I’d rather live an example,” she said. “[I’d rather] be an example rather than just try to tell somebody to do this, do that because I don’t think that’s right.
“Everybody’s different. You’ve got your own journey. And some people are going to help you along the way and they can kick a few rocks out of the road for you, but you got to walk it,” Parton continued.
DOLLY PARTON MAKES 50 YEARS AS GRAND OLE OPRY MEMBER
In October, Parton held a press conference at her Dollywood DreamMore Resort in Pigeon Forge, Tenn. to promote her new Netflix series, “Dolly Parton’s Heartstrings.” During the press conference, Parton offered more insight into her relationship with Cyrus and told reporters that her goddaughter "is going to be great."
“Miley has such gifts, and I think she’s going to be great. Now other people say, ‘You need to talk to Miley.’ I say, ‘No, I don’t. Miley will be Miley, I’ll be me and everybody needs to do their own thing.'”
CLICK HERE TO GET THE FOX NEWS APP
Parton most recently acted as a special guest host at the 2019 CMA Awards alongside Reba McEntire and host Carrie Underwood. The “9 to 5” singer received rave reviews for her faith-based performance with Christian pop duo King & Country.


HOME
BAND
TOUR
CONTACT
MORE
Merchandise
Extras
Media
My test
dev7studios
This
is an example of a
HTML
caption with
a link
.


ID :
NAME :
GENDER :
Male
Female
STATUS :
AGE :
DATE OF DETENTION :
CHARGES :
CATEGORY :
Select Category
Below 10 Years Sentence
Sentence Unknown
10 Years and Above Sentence
Enforced Disappearance
Life Sentence


 It involves the whole complex of visual communications: talent, creative ability, manual skill, and technical knowledge. Aesthetics and economics, technology and psychology are intrinsically related to the process.' - Paul Rand
Creative Direction
'The goal of a designer is to listen, observe, understand, sympathize, empathize, synthesize, and glean insights that enable him or her to ‘make the invisible visible.’' – Hillman Curtis
Production
'All things will be produced in superior quantity and quality, and with greater ease, when each man works at a single occupation, in accordance with his natural gifts, and at the right moment, without meddling with anything else.' - Plato
Portfolio
Maui, Hawaii
Wailea Beach Resort
Jessica and David
More Info
Jessica and David opted for a relaxing sunset ceremony with only 30 guests in tow. While in the beautiful company of the Wailea Beach Resort everything was extremely effortless.
Lanai, Hawaii
Four Seasons Resort
Margrette and Steven
More Info
Perched in the up country of Lanai, Hawaii, Margrette and Stevens wedding included 50 guest and a plethora of rustic charm and pops of color with extensive flower arrangements.
Atlanta, Georgia
Georgia Club
Ann-Marie and Dewey
More Info
Smoke, Leather, and a hint of southern charm. Just a few of the smells from the wedding of Ann-Marie and Dewey. The reception was held outside while the coctail hour was enjoyed indoors in a oak filled library. Timeless and southern went a long way with these two.
Nashville, Tennessee
The Bell Tower
Latha and Andy
More Info
Minimalist at its finest. Latha and Andy was accompanied by 150 guests and almost all decoration from floor to ceiling were flowers.
Pensicola Beach, Florida
Ocean Side
Brittany and Cody
More Info
Sand in your toes and salt in the air was a common theme this year. Although Brittany and Cody made it their own. A short walk from the ceremony lead to an equally adorned reception for 300 guest. While this was no small feat, there was no small detail overlooked.
 Grace and Sean were accompanied by 100 guests in the timeless Belle Meade Mansion. Chandeliers covered in moss and 200 year old paintings set the mood for this little slice of heaven.


Lara graduated from Duke University in 2020 with a B.S. in Environmental Sciences along with a Certificate in Documentary Studies. She has effectively translated scientific concepts through many different media and to engage a wide range of audiences. She hopes to grow and apply her skills in data analysis and visualization, leveraging data in the environmental field to inform adaptive decision-making and to advance science communication.
Alexandra Rivera is a member of Duke University’s Class of 2023. Her anticipated major is Civil Engineering with a certificate in Architectural Engineering and a minor in Computer Science. A similar project she is involved in includes modeling and visualization of aerosols on solar panels, an initiative in collaboration with research professors at Duke. Her long-term career goals would integrate travel with creative technical solutions to better represent the climate.
EeShan graduated from Duke University in 2015 with a B.S.E in Mechanical Engineering and is a PhD Candidate at the MIT-WHOI Joint Program. His research focus is on anticipating the physically-driven and stochastic uncertainties behind vertial sound speed structure that predicates autonomous underwater vehicle communication, navigation, and sampling. A welcome but unexpected part of this thesis work is designing tools and interactive data visualizations.


try { $data = DeviceAtlasCloudClient::getDeviceData(); } catch (Exception $x) { // handle exceptions ... }
// legacy: (class constant DEBUG = false) // the errors have to be checked manually from the returned array $data = DeviceAtlasCloudClient::getDeviceData();The returned data is as:
$data[Client::KEY_ERROR] will exist if errors happened while fetching data $data[Client::KEY_PROPERTIES] an array of device properties $data[Client::KEY_USERAGENT] the user-agent string that was used to get the properties $data[Client::KEY_SOURCE] shows where the data came from and is one of: DeviceAtlasCloudClient::SOURCE_FILE_CACHE DeviceAtlasCloudClient::SOURCE_CLOUD DeviceAtlasCloudClient::SOURCE_NONE
// get properties for a user-agent try { $data = DeviceAtlasCloudClient::getDeviceData("user-agent-string ..."); } catch (Exception $x) { // handle exceptions ... }
// get properties for a set of headers $headers = array( "User-Agent" => "Mozilla/5.0 (SymbianOS/9.2; ...", "X-Profile" => "http://nds.nokia.com/uaprof/NN95_8GB-1r100.xml", "Accept" => "text/html,text/css,multipart/mixed,application...", "Accept-Language" => "en-us,en;q=0.5", ); try { $data = DeviceAtlasCloudClient::getDeviceData($headers); } catch (Exception $x) { // handle exceptions ... }Notes:
DeviceAtlas Cloud API version
Server preferred list will be updated when older than this amount of minutes
When ranking servers, if a server fails more than this number phase it out
Number of requests to send when testing server latency
Cookie cache, cookie name
Cache expire (for both file and cookie) 2592000 = 30 days in seconds
File cache > directory name
Name of the cookie created by "DeviceAtlas Client Side Component"
Max time (seconds) to wait for each cloud server to give service
File cache > this is only used if USE_SYSTEM_TEMP_DIR is false
true = throw exceptions on all errors and failures
Action to be taken after an end-point responds: If an-endpoint response was fine
A key of array returned by getDeviceData() - the error message is set to this key
A key of array returned by getDeviceData() - the device properties are set to this key
A key of array returned by getDeviceData() - the source of data is set to this key
A key of array returned by getDeviceData() - the user-agent is set to this key
Set to your DeviceAtlas licence key
Min DeviceAtlas Cloud API required PHP version
Auto ranking = false > if top server fails it will be phased out for this amount of minutes
Device data source value set to KEY_SOURCE - device data source was cloud service
Device data source value set to KEY_SOURCE - device data source was cookie
Device data source value set to KEY_SOURCE - device data source was file cache
Device data source value set to KEY_SOURCE - no device data, indicates an error
Use device data which is created by the DeviceAtlas Client Side Component if exists
Cache cloud results in cookies
File cache > leave as true to put cache in systems default temp directory
array DeviceAtlasCloudClient::getDeviceData()
Get the device data for the current request from DeviceAtlas Cloud. Once data has been returned from DeviceAtlas Cloud it can be cached locally to speed up subsequent requests. If device data provided by "DeviceAtlas Client Side Component" exists in a cookie then cloud data will be merged with the cookie data. When no parameter is provided the client's headers will be used for detection.
{ Client::KEY_USERAGENT: "UA" | null, Client::KEY_SOURCE: "data source", Client::KEY_PROPERTIES: {"propertyName": "PropertyVal",} | null, Client::KEY_ERROR: err-msg-string | null, }
string DeviceAtlasCloudClient::getCloudUrl()
Get the URL of the last DeviceAtlas cloud end-point which was called to get device properties.
string DeviceAtlasCloudClient::getCacheBasePath()
Get the directory path in which the DeviceAtlas CloudApi puts cache files in (device data cache and server fail-over list).
array DeviceAtlasCloudClient::getDeviceData(array headers)
Get the device data for a set of HTTP headers from DeviceAtlas Cloud. Once data has been returned from DeviceAtlas Cloud it can be cached locally to speed up subsequent requests. If device data provided by "DeviceAtlas Client Side Component" exists in a cookie then cloud data will be merged with the cookie data. When no parameter is provided the client's headers will be used for detection.
{ Client::KEY_USERAGENT: "UA" | null, Client::KEY_SOURCE: "data source", Client::KEY_PROPERTIES: {"propertyName": "PropertyVal",} | null, Client::KEY_ERROR: err-msg-string | null, }
array DeviceAtlasCloudClient::getDeviceData(string userAgent)
Get the device data for a user-agent string from DeviceAtlas Cloud. Once data has been returned from DeviceAtlas Cloud it can be cached locally to speed up subsequent requests. If device data provided by "DeviceAtlas Client Side Component" exists in a cookie then cloud data will be merged with the cookie data. When no parameter is provided the client's headers will be used for detection.
{ Client::KEY_USERAGENT: "UA" | null, Client::KEY_SOURCE: "data source", Client::KEY_PROPERTIES: {"propertyName": "PropertyVal",} | null, Client::KEY_ERROR: err-msg-string | null, }
array DeviceAtlasCloudClient::getDeviceData(bool test)
Get the device data for a built in test user-agent.
{ Client::KEY_USERAGENT: "UA" | null, Client::KEY_SOURCE: "data source", Client::KEY_PROPERTIES: {"propertyName": "PropertyVal",} | null, Client::KEY_ERROR: err-msg-string | null, }
array DeviceAtlasCloudClient::getServers()
Get DeviceAtlas cloud end-point list in the same order used by the API. If auto-ranking is on then the ranked end-point list is returned otherwise the manual or the default fail-over list is returned. If auto-ranking is on and the end-point list cache is invalid or out of date then the end-points will be ranked and cached first.
array DeviceAtlasCloudClient::getServersLatencies( int numRequests=DeviceAtlasCloudClient::AUTO_SERVER_RANKING_NUM_REQUESTS )
Get a list of cloud end-points and their service latencies.
array DeviceAtlasCloudClient::rankServers()
If auto-ranking is on then rank the DeviceAtlas cloud end-points and put in cache.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --Martin Fowler
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."  --Martin Golding
"Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program." --Linus Torvalds
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." --Rich Cook


Click on the Workitem Name for more info
| Name | Description | Download | Contibuted by |
|---|---|---|---|
| Archive | Archive a list of files | wid json kie-dd jar | jBPM dev team |
| Dropbox | Upload and download files from Dropbox | wid json kie-dd jar | jBPM dev team |
| Exec | Execute a command | wid json kie-dd jar | jBPM dev team |
| FTP | Upload a file via FTP | wid json kie-dd jar | jBPM dev team |
| Google Calendar | Add and retrieve Calendars and Calendar Events from Google | wid json kie-dd jar | jBPM dev team |
| Google Mail | Send mail via Google | wid json kie-dd jar | jBPM dev team |
| Google Sheets | Read content of sheets via Google | wid json kie-dd jar | jBPM dev team |
| Google Tasks | Add and retrieve tasks via Google | wid json kie-dd jar | jBPM dev team |
| Google Drive | Upload and download media to/from Google Drive | wid json kie-dd jar | jBPM dev team |
| IBM Watson | Classify image and detect faces in image via IBM Watson | wid json kie-dd jar | jBPM dev team |
| IFTTT | Send a trigger message via IFTTT | wid json kie-dd jar | jBPM dev team |
| Jabber | Send message via Jabber | wid json kie-dd jar | jBPM dev team |
| Java | Execute Java class | wid json kie-dd jar | jBPM dev team |
| JPA | Perform JPA operation | wid json kie-dd jar | jBPM dev team |
| Parser | Parse Strings to objects and vice-versa | wid json kie-dd jar | jBPM dev team |
| RSS | Create RSS feeds | wid json kie-dd jar | jBPM dev team |
| Transform | Transform Java input objects to output objects | wid json kie-dd jar | jBPM dev team |
| Update status and send messages using Twitter | wid json kie-dd jar | jBPM dev team | |
| Github | Create Gist or list your repositories in Github | wid json kie-dd jar | jBPM dev team |
| Jira | Create or update Jiras | wid json kie-dd jar | jBPM dev team |
| Ethereum | Integrate with the Ethereum Blockchain app platform | wid json kie-dd jar | jBPM dev team |


 Read on to learn more about your participation. If you have any questions, please contact us by email at<EMAIL_ADDRESS>by phone at<PHONE_NUMBER>, or mail our address located at the top and bottom of the web page.
The Study Has Two Parts
Part 1: Survey
You will be asked to participate in a 30-minute telephone or web-based interview consisting of questions about where you have lived, what jobs you have held, background questions on your education, and personal risk factors such as smoking. You will receive $10 for your time to complete this survey. At that time we will confirm your address and send you a consent form for part two, which is the blood draw.
Part 2: Blood Draw
After we receive the consent form for the blood draw, someone from our office will contact you to set up an appointment.
- A phlebotomist (a healthcare worker trained in drawing blood) from Quest Diagnostics will make a one-time visit to your home or come to your workplace to collect a sample of your blood.
- The blood draw is paid for by the study, and there will be no cost to you or your insurance.
- This should not take more than 20 minutes of your time.
- You will receive $50 for your time for providing approximately 10 milliliters (two teaspoons) blood sample.
- Your blood sample will be labeled with a unique identification number instead of using your name or other personal information and sent to a lab for processing.
Your cooperation will further the work on finding the causes for ALS.
THANK YOU SO MUCH !!!


{% extends "superset/basic.html" %} {% block body %}
The dashboard contains {{num_slices}} charts in it. Change metadata for each chart below
Click the "Submit" button and the form-data will be sent to the URL /superset/dashboard/change_datasource


VIPERS Survey¶
This class is dedicated to handling observations from VIPERS galaxy redshift survey, see Garilli et al. 2014.
http://adsabs.harvard.edu/abs/2014A%26A...562A..23G
The class GalaxySurveyVIPERS is dedicated to handling VIPERS survey.
-
class
GalaxySurveyVIPERS.
GalaxySurveyVIPERS
(redshift_catalog='VIPERS_W14_summary_v1.fits')[source] - Loads the environement proper to the VIPERS survey :
- Defines all the proper paths in the database,
- Opens the catalog,
Parameters: redshift_catalog – name of the VIPERS redshift catalog (path to the fits file)


Toggle navigation
CV
Home
Blog
Contact
Malcolm Davis Steele
Computer Engineer Student
Page Under Construction!


Mutter is the window manager for GNOME. It is not invoked directly, but from GNOME Session (on a machine with a hardware accelerated video driver).
This package is known to build and work properly using an LFS-9.0 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/mutter/3.32/mutter-3.32.2.tar.xz
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/mutter/3.32/mutter-3.32.2.tar.xz
Download MD5 sum: 283c54e0f8a37dc54b99a1de0e0b2a2e
Download size: 2.7 MB
Estimated disk space required: 183 MB
Estimated build time: 2.2 SBU
Clutter-1.26.2, gnome-desktop-3.32.2, libcanberra-0.30, libwacom-0.29, libxkbcommon-0.8.4, pipewire-0.2.6, UPower-0.99.10, and Zenity-3.32.0
gobject-introspection-1.60.2 and startup-notification-0.12
libinput-1.14.0, Wayland-1.17.0, wayland-protocols-1.18, and Xorg-Server-1.20.5 (with Xwayland). Additionally, GTK+-3.24.10 needs to be built with Wayland support.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/mutter
First, apply a patch to Mutter to fix some upstream bugs:
patch -Np1 -i ../mutter-3.32.2-upstream_fixes-1.patch
Install Mutter by running the following commands:
mkdir build && cd build && meson --prefix=/usr .. && ninja
To test the results, issue: ninja test. The tests require an active X session to run correctly. A few tests may fail depending on the gobject-introspection version installed as well.
Now, as the root
user:
ninja install
Last updated on 2019-08-25 11:35:01 -0700


Job Preparation
Do you have a job interview on your schedule? There are a number of steps you can take before (and after) the interview to ensure that you make a terrific impression during the interview.
Remember one thing
"Taking the time to prepare for the interview in advance can help you secure a job offer."


id
Name
name
Forename
forename
Class
class
School
class
School year
class
Report card
Subject
Mean
Appreciation
No records for the student
subject
mean
appreciation
Global mean
mean
Back to students


Contact Propertyloop team --><EMAIL_ADDRESS>Fullscreen
Change control method: Touch camera VR Device orientation camera Gamepad camera Virtual joysticks camera Anaglyph camera
Post-processes: Toggle FXAA (antialiasing) Toggle FSAA 4X (antialiasing) Toggle Black and white Toggle Sepia