|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.floodlightcontroller.core.internal.RoleChanger
public class RoleChanger
This class handles sending of RoleRequest messages to all connected switches. Handling Role Requests is tricky. Roles are hard state on the switch and we can't query it so we need to make sure that we have consistent states on the switches. Whenever we send a role request to the set of connected switches we need to make sure that we've sent the request to all of them before we process the next change request. If a new switch connects, we need to send it the current role and need to make sure that the current role doesn't change while we are doing it. We achieve this by synchronizing all these actions on Controller.roleChanger On the receive side: we need to make sure that we receive a reply for each request we send and that the reply is consistent with the request we sent. We'd also like to send the role request to the switch asynchronously in a separate thread so we don't block the REST API or other callers. There are potential ways to relax these synchronization requirements: - "Generation ID" for each role request. However, this would be most useful if it were global for the whole cluster - Regularly resend the controller's current role. Don't know whether this might have adverse effects on the switch. Caveats: - No way to know if another controller (not in our controller cluster) sends MASTER requests to connected switches. Then we would drop to slave role without knowing it. Could regularly resend the current role. Ideally the switch would notify us if it demoted us. What happens if the other controller also regularly resends the same role request? Or if the health check determines that a controller is dead but the controller is still talking to switches (maybe just its health check failed) and resending the master role request.... We could try to detect if a switch demoted us to slave even if we think we are master (error messages on packet outs, e.g., when sending LLDPs) The general model of Role Request handling is as follows: - All role request messages are handled by this class. Class Controller submits a role change request and the request gets queued. submitRequest takes a Collection of switches to which to send the request. We make a copy of this list. - A thread takes these change requests from the queue and sends them to all the switches (using our copy of the switch list). - The OFSwitchImpl sends the request over the wire and puts the request into a queue of pending request (storing xid and role). We start a timeout to make sure we eventually receive a reply from the switch. We use a single timeout for each request submitted using submitRequest() - After the timeout triggers we go over the list of switches again and check that a response has been received (by checking the head of the OFSwitchImpl's queue of pending requests) - We handle requests and timeouts in the same thread. We use a priority queue to schedule them so we are guaranteed that they are processed in the same order as they are submitted. If a request times out we assume the switch doesn't support HA role (the same as receiving an error reply). - Since we decouple submission of role change requests and actually sending them we cannot check a received role reply against the controller's current role because the controller's current role could have changed again. - Receiving Role Reply messages is received by OFChannelHandler and delivered here. We call switch's setHARole() to mark the switch role and indicate that a reply was received. Next, we call addSwitch(), removeSwitch() to update the list of active switches if appropriate. - If we receive an Error indicating that roles are not supported by the switch, we set the SWITCH_SUPPORTS_NX_ROLE to false. We call switch's setHARole(), indicating no reply was received. We keep the switch connection alive while in MASTER and EQUAL role. (TODO: is this the right behavior for EQUAL??). If the role changes to SLAVE the switch connection is dropped (remember: only if the switch doesn't support role requests) The expected behavior is that the switch will probably try to reconnect repeatedly (with some sort of exponential backoff), but after a while will give-up and move on to the next controller-IP configured on the switch. This is the serial failover mechanism from OpenFlow spec v1.0. New switch connection: - Switch handshake is done without sending any role request messages. - After handshake completes, switch is added to the list of connected switches and we send the first role request message. If role is disabled, we assume the role is MASTER. - When we receive the first reply we proceed as above. In addition, if the role request is for MASTER we wipe the flow table.
| Nested Class Summary | |
|---|---|
protected class |
RoleChanger.HARoleUnsupportedException
|
protected static class |
RoleChanger.PendingRoleRequestEntry
Per-switch list of pending HA role requests. |
protected static class |
RoleChanger.RoleChangeTask
A queued task to be handled by the Role changer thread. |
protected class |
RoleChanger.RoleRequestWorker
|
| Field Summary | |
|---|---|
protected static long |
DEFAULT_TIMEOUT
|
protected long |
lastSubmitTime
|
protected static org.slf4j.Logger |
log
|
protected java.util.concurrent.ConcurrentHashMap<IOFSwitch,java.util.LinkedList<RoleChanger.PendingRoleRequestEntry>> |
pendingRequestMap
|
protected java.util.concurrent.DelayQueue<RoleChanger.RoleChangeTask> |
pendingTasks
|
protected long |
timeout
|
protected java.lang.Thread |
workerThread
|
| Constructor Summary | |
|---|---|
RoleChanger(Controller controller)
|
| Method Summary | |
|---|---|
protected RoleChanger.PendingRoleRequestEntry |
checkFirstPendingRoleRequestCookie(IOFSwitch sw,
long cookie)
Checks whether the given request cookie matches the cookie of the first pending request. |
boolean |
checkFirstPendingRoleRequestXid(IOFSwitch sw,
int xid)
Checks whether the given xid matches the xid of the first pending role request. |
protected void |
deliverRoleReply(IOFSwitch sw,
int xid,
IFloodlightProviderService.Role role)
Deliver a RoleReply message for a switch. |
protected void |
deliverRoleRequestError(IOFSwitch sw,
OFError error)
|
protected void |
handleRoleReplyMessage(IOFSwitch sw,
OFVendor vendorMessage,
OFRoleReplyVendorData roleReplyVendorData)
|
void |
removePendingRequests(IOFSwitch sw)
Cleanup pending requests associated witch switch. |
protected int |
sendHARoleRequest(IOFSwitch sw,
IFloodlightProviderService.Role role,
long cookie)
Send NX role request message to the switch requesting the specified role. |
protected void |
sendRoleRequest(java.util.Collection<IOFSwitch> switches,
IFloodlightProviderService.Role role,
long cookie)
Send a role request message to switches. |
void |
submitRequest(java.util.Collection<IOFSwitch> switches,
IFloodlightProviderService.Role role)
|
protected void |
verifyRoleReplyReceived(java.util.Collection<IOFSwitch> switches,
long cookie)
Verify that switches have received a role reply message we sent earlier |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.concurrent.DelayQueue<RoleChanger.RoleChangeTask> pendingTasks
protected long lastSubmitTime
protected java.lang.Thread workerThread
protected long timeout
protected java.util.concurrent.ConcurrentHashMap<IOFSwitch,java.util.LinkedList<RoleChanger.PendingRoleRequestEntry>> pendingRequestMap
protected static long DEFAULT_TIMEOUT
protected static org.slf4j.Logger log
| Constructor Detail |
|---|
public RoleChanger(Controller controller)
| Method Detail |
|---|
public void submitRequest(java.util.Collection<IOFSwitch> switches, IFloodlightProviderService.Role role)
protected void sendRoleRequest(java.util.Collection<IOFSwitch> switches, IFloodlightProviderService.Role role, long cookie)
switches
- the collection of switches to send the request toorole
- the role to requestprotected void verifyRoleReplyReceived(java.util.Collection<IOFSwitch> switches, long cookie)
switches
- the collection of switches to send the request toocookie
- the cookie of the requestprotected void deliverRoleReply(IOFSwitch sw, int xid, IFloodlightProviderService.Role role)
xid
- Xid of the reply messagerole
- The Role in the the reply messagepublic boolean checkFirstPendingRoleRequestXid(IOFSwitch sw, int xid)
xid
-
protected RoleChanger.PendingRoleRequestEntry checkFirstPendingRoleRequestCookie(IOFSwitch sw, long cookie)
cookie
-
protected int sendHARoleRequest(IOFSwitch sw, IFloodlightProviderService.Role role, long cookie) throws java.io.IOException, RoleChanger.HARoleUnsupportedException
sw
- switch to send the role request message torole
- role to requestcookie
- an opaque value that will be stored in the pending queue so
RoleChanger can check for timeouts.
java.io.IOException
RoleChanger.HARoleUnsupportedException
protected void handleRoleReplyMessage(IOFSwitch sw, OFVendor vendorMessage, OFRoleReplyVendorData roleReplyVendorData)
protected void deliverRoleRequestError(IOFSwitch sw, OFError error)
public void removePendingRequests(IOFSwitch sw)
sw
-
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


Range - activeBarStart
activeBarStart is 0 and value is 0.
activeBarStart is 0 and value is 70.
activeBarStart is 0 and value is -70.
activeBarStart is -30 and value is 0.
activeBarStart is 30 and value is 0.
activeBarStart is between steps
invalid activeBarStart value (less than min)
invalid activeBarStart value (greater than max)
activeBarStart is ignored with dual knobs enabled.


Manuscripts can be submitted in ODT, DOCX or LaTeX format. The paper style will ultimately follow the LaTeX class cubanscientist.cls, made from simple modifications of the standard article class, as can be seen in the following LaTeX example. If you are submitting a manuscript in ODT or DOCX format, please use a two-column format and a font size of 11 points.
Please observe the limit of two pages, including title, figures and references. TCS accepts manuscripts following either the American Psychological Association (APA) or the American Physical Society (APS) bibliography styles. The editing team will bring the manuscript to its final form.
As a rule, we accept short manuscripts of no more than two pages, with few references, briefly describing own original research already published in a peer-reviewed scientific journal. The language of the manuscripts will be English regardless of the language of the corresponding published research, which has to be included in the references.
Any communication with the Editorial board, including the submission, can be done both in English or Spanish.
Many points are left to the preference of the authors, as for instance the use of sections or the use of rather colloquial language in anecdotal tone. However, we do ask for a very small, typically two-sentence long abstract.
Submissions are received by email at our address<EMAIL_ADDRESS>Please attach the manuscript source file(s) and write your name, affiliation and the reference of your published paper in the body of the message. Indicate as well the journal section that better fits the subject of your work and at least two keywords.
Once you submit your manuscript, we will check the authorship and the correspondence between its content and the content of the published work of reference. Afterwards, the style will be corrected and, if you approve the final form, the work will be published.
| 1. Natural Sciences |
|
| 2. Engineering and Technology |
|
| 3. Medical and Health Sciences |
|
| 4. Agricultural Sciences |
|
| 5. Social Sciences |
|
| 6. Humanities |
|


Postfix Evaluation
a = 1
b = 2
Evaluate
Note:
Postfix expression should only contain
a, b, /, *, +, -


Working on a car assembly logistics Astra Daihatsu Motor. Making VIN (Vehicle Identification Number), orderer parts of production needs and distribute to the installation in the welding line.
Repairing game board, also doing a modifications if game board already unrepaired and spareparts is unavailable at the vendor.
Network installation, router config, manage hardware connection and software bugs tester.
Participate at first hardware hackathon competition at kuningan jakarta. Me as hardware hacker and team build "Rescue Beacon Kit" using arduino to tracking and warning for beginner mountain hikers if there's any bad weather forecast or closely to dangerous area.
Create application "Lapor!Siaga" mobile, web and IOT devices for reporting emergency event, send it to server, using TNIAD open API to send immediatelly into nearly KODIM for inspection and determination of emergency conditions. Also broadcasting to running leds (IOT devices) for alert message.
Working with MySQL databases, usually using PHP, HTML, Javascript, VB.Net programming languages. Planing for new branched systems such as network planning, server building, and training on how to using new software for employees.
Microcontroller & Backend Developer
Cileungsi, Bogor Jawa Barat 16820.
Krisnadwipayana University, B.Tech(IT).
+62 812-9591-3898
<EMAIL_ADDRESS>My work experience began as a factory worker at Astra Daihatsu Motor for two years, after that I worked as an electronics technician (R&D engineer) and was placed in the R&D workshop at game retail family entertainment company called Amazone (PT Fantasi Erestama Cemerlang) which had totaling more than 50 branches in Indonesia. Starting as an R&D engineer I was given the opportunity to enter the network engineering section (as sysdmin) at IT department. After a few years I was trusted to become a Leader and increased again to become the Supervisor in the IT department who developed the powercard system.
The skill that I'm good at and I've worked on is:
1. Repairing, assembling and designing electronic circuit.
2. Microcontroller Programming.
3. Planning, Installation also Reparing Network and Server System.
4. C/C++ (Microcontroller), Lua (ESP8266 NodeMCU), Assembly (MCS51).
5. PHP (procedural).
6. MySQL.
7. HTML & Javascript.
8. VB.NET.
9. NodeJS.
10. Mobile hybrid application (phonegap web view).


Puppet Class: mcollective::server::config::factsource::yaml
- Defined in:
- manifests/server/config/factsource/yaml.pp
Overview
private class
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'manifests/server/config/factsource/yaml.pp', line 2
class mcollective::server::config::factsource::yaml (
$path = $::path,
) {
if $caller_module_name != $module_name {
fail("Use of private class ${name} by ${caller_module_name}")
}
$yaml_fact_path_real = $mcollective::yaml_fact_path_real
$ruby_shebang_path = $mcollective::ruby_interpreter
$yaml_fact_cron = $mcollective::yaml_fact_cron
if $mcollective::fact_cron_splay {
$cron_minute_offset = fqdn_rand(15, $::macaddress)
$cron_minutes = [
$cron_minute_offset,
$cron_minute_offset + 15,
$cron_minute_offset + 30,
$cron_minute_offset + 45,
]
} else {
$cron_minutes = [ '0', '15', '30', '45' ]
}
# Template uses:
# - $ruby_shebang_path
# - $yaml_fact_path_real
if $yaml_fact_cron {
if versioncmp($::facterversion, '3.0.0') >= 0 {
cron { 'refresh-mcollective-metadata':
command => "puppet facts --render-as yaml >${yaml_fact_path_real} 2>&1",
environment => 'PATH=/opt/puppet/bin:/opt/puppetlabs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
user => 'root',
minute => $cron_minutes,
}
exec { 'create-mcollective-metadata':
path => "/opt/puppet/bin:/opt/puppetlabs/bin:${::path}",
command => "facter -p --yaml >${yaml_fact_path_real} 2>&1",
creates => $yaml_fact_path_real,
}
} else {
file { "${mcollective::site_libdir}/refresh-mcollective-metadata":
owner => '0',
group => '0',
mode => '0755',
content => template('mcollective/refresh-mcollective-metadata.erb'),
}
# There is concern that cron jobs run with a reduced PATH, so we still
# want to invoke this script with at least as full a path as the Puppet
# service has itself. We want to avoid the environment parameter to set
# PATH as environment is global. Therefore, prefix the command itself in
# the cron job with the value of the PATH environment variable to use.
cron { 'refresh-mcollective-metadata':
command => "/bin/sh -c 'export PATH=${path}; ${mcollective::site_libdir}/refresh-mcollective-metadata >/dev/null 2>&1'",
user => 'root',
minute => $cron_minutes,
require => File["${mcollective::site_libdir}/refresh-mcollective-metadata"],
}
exec { 'create-mcollective-metadata':
path => "/opt/puppet/bin:${::path}",
command => "${mcollective::site_libdir}/refresh-mcollective-metadata",
creates => $yaml_fact_path_real,
require => File["${mcollective::site_libdir}/refresh-mcollective-metadata"],
}
}
}
mcollective::server::setting { 'factsource':
value => 'yaml',
}
mcollective::server::setting { 'plugin.yaml':
value => $yaml_fact_path_real,
}
}
|


Symbol Index for "Classification In Version"
Symbol Index for diagram
"Classification In Version"
Classification Element (Class)
Classification In Version (Class)
Classification System Version (Class)
component (Association)
context (Association)


public class SourceWriteUtil
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceWriteUtil.Factory
Factory for
SourceWriteUtil . |
| Modifier | Constructor and Description |
|---|---|
protected |
SourceWriteUtil(GuiceUtil guiceUtil,
MemberCollector memberCollector,
MethodCallUtil methodCallUtil,
BindingIndex bindingIndex) |
| Modifier and Type | Method and Description |
|---|---|
SourceSnippet |
createFieldInjection(FieldLiteral<?> field,
java.lang.String injecteeName,
NameGenerator nameGenerator,
java.util.List<InjectorMethod> methodsOutput)
Creates a field injecting method and returns a string that invokes the
written method.
|
SourceSnippet |
createFieldInjections(java.lang.Iterable<FieldLiteral<?>> fields,
java.lang.String injecteeName,
NameGenerator nameGenerator,
java.util.List<InjectorMethod> methodsOutput)
Appends a field injecting method for each passed field to the
sourceWriter and returns a string that invokes all written
methods. |
java.lang.String |
createMemberInjection(TypeLiteral<?> type,
NameGenerator nameGenerator,
java.util.List<InjectorMethod> methodsOutput)
Generates all the required injector methods to inject members of the given
type, and a standard member-inject method that invokes them.
|
SourceSnippet |
createMethodInjections(java.lang.Iterable<? extends MethodLiteral<?,?>> methods,
java.lang.String injecteeName,
NameGenerator nameGenerator,
java.util.List<InjectorMethod> methodsOutput)
Creates a method injecting method and returns a string that invokes the new
method.
|
static java.lang.CharSequence |
join(java.lang.CharSequence delimiter,
java.lang.Iterable<? extends java.lang.CharSequence> list) |
void |
writeBindingContext(com.google.gwt.user.rebind.SourceWriter writer,
Context context)
Writes out a binding context, followed by a newline.
|
void |
writeBindingContextJavadoc(com.google.gwt.user.rebind.SourceWriter writer,
Context bindingContext,
Key<?> key)
Write the Javadoc for the binding of a particular key, showing the context
of the binding.
|
void |
writeBindingContextJavadoc(com.google.gwt.user.rebind.SourceWriter writer,
Context bindingContext,
java.lang.String description)
Write a Javadoc comment for a binding, including its context.
|
void |
writeMethod(InjectorMethod method,
com.google.gwt.user.rebind.SourceWriter writer,
InjectorWriteContext writeContext)
Writes the given method to the given source writer.
|
void |
writeMethod(com.google.gwt.user.rebind.SourceWriter writer,
java.lang.String signature,
java.lang.String body)
Writes a method with the given signature and body to the source writer.
|
void |
writeMethods(java.lang.Iterable<InjectorMethod> methods,
com.google.gwt.user.rebind.SourceWriter writer,
InjectorWriteContext writeContext)
Writes the given methods to the given source writer.
|
void |
writeNativeMethod(com.google.gwt.user.rebind.SourceWriter writer,
java.lang.String signature,
java.lang.String body)
Writes a native method with the given signature and body to the source
writer.
|
@Inject protected SourceWriteUtil(GuiceUtil guiceUtil, MemberCollector memberCollector, MethodCallUtil methodCallUtil, BindingIndex bindingIndex)
public SourceSnippet createFieldInjections(java.lang.Iterable<FieldLiteral<?>> fields, java.lang.String injecteeName, NameGenerator nameGenerator, java.util.List<InjectorMethod> methodsOutput) throws NoSourceNameException
sourceWriter
and returns a string that invokes all written
methods.fields
- fields to be injectedinjecteeName
- variable that references the object into which values
are injected, in the context of the returned call stringNoSourceNameException
public SourceSnippet createFieldInjection(FieldLiteral<?> field, java.lang.String injecteeName, NameGenerator nameGenerator, java.util.List<InjectorMethod> methodsOutput) throws NoSourceNameException
field
- field to be injectedinjecteeName
- variable that references the object into which values
are injected, in the context of the returned call stringnameGenerator
- NameGenerator to be used for ensuring method name uniquenessNoSourceNameException
public SourceSnippet createMethodInjections(java.lang.Iterable<? extends MethodLiteral<?,?>> methods, java.lang.String injecteeName, NameGenerator nameGenerator, java.util.List<InjectorMethod> methodsOutput) throws NoSourceNameException
Ginjector
.
If the passed method collection contains only one actual method, the native
method will pass on (i.e. return) the result of the actual method's
invocation, if any.
The passed method collection can contain constructors (they'll be treated
correctly) if no injecteeName
is passed. The same applies for
static methods.
If a method without parameters is provided, that method will be called and
no parameters will be passed.methods
- methods to be called & injectedinjecteeName
- variable that references the object into which values
are injected, in the context of the returned call string. If
null
all passed methods are called as static/constructors.nameGenerator
- NameGenerator to be used for ensuring method name uniquenessmethodsOutput
- a list where all new methods created by this
call are addedNoSourceNameException
public void writeBindingContext(com.google.gwt.user.rebind.SourceWriter writer, Context context)
Binding contexts may contain newlines; this routine translates those for the SourceWriter to ensure that indents, Javadoc comments, etc are handled properly.
public void writeBindingContextJavadoc(com.google.gwt.user.rebind.SourceWriter writer, Context bindingContext, java.lang.String description)
description
- The description of the binding printed before its
location, such as "Foo bound at: "writer
- The writer to use in displaying the context.bindingContext
- The context of the binding.public void writeBindingContextJavadoc(com.google.gwt.user.rebind.SourceWriter writer, Context bindingContext, Key<?> key)
key
- The bound key.writer
- The writer to use to write this comment.bindingContext
- The context of the binding.public void writeMethod(com.google.gwt.user.rebind.SourceWriter writer, java.lang.String signature, java.lang.String body)
writer
- writer that the method is written tosignature
- method's signaturebody
- method's bodypublic void writeNativeMethod(com.google.gwt.user.rebind.SourceWriter writer, java.lang.String signature, java.lang.String body)
writer
- writer that the method is written tosignature
- method's signaturebody
- method's bodypublic void writeMethod(InjectorMethod method, com.google.gwt.user.rebind.SourceWriter writer, InjectorWriteContext writeContext) throws NoSourceNameException
NoSourceNameException
public void writeMethods(java.lang.Iterable<InjectorMethod> methods, com.google.gwt.user.rebind.SourceWriter writer, InjectorWriteContext writeContext) throws NoSourceNameException
methods
- the methods to writewriter
- the source writer to which the methods should be writtenwriteContext
- the context in which to write the methodsNoSourceNameException
public java.lang.String createMemberInjection(TypeLiteral<?> type, NameGenerator nameGenerator, java.util.List<InjectorMethod> methodsOutput) throws NoSourceNameException
type
- type for which the injection is performednameGenerator
- the name generator used to create method namesmethodsOutput
- a list to which the new injection method and all its
helpers are addedNoSourceNameException
public static java.lang.CharSequence join(java.lang.CharSequence delimiter, java.lang.Iterable<? extends java.lang.CharSequence> list)


Data tables display sets of raw data. They usually appear in desktop enterprise products.
Data tables may be embedded on a surface, such as a card. They can include:
In the next example we will show you how to use a table with a filter input.


pycopancore.data_model.master_data_model package¶
Submodules¶
pycopancore.data_model.master_data_model.cell module¶
Master data model for cell.
-
class
pycopancore.data_model.master_data_model.cell.
Cell
[source]¶ Bases:
object
-
atmospheric_carbon
= extensive variable 'atmospheric carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
biomass_carbon
= extensive variable 'biomass/plant carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
biomass_energy_density
= intensive variable 'biomass energy density' ((default from Nitzbon 2016)), not None, scale=ratio, datatype=<class 'float'>, unit=[J tC^-1], >=0¶
-
biomass_harvest_flow
= extensive variable 'biomass harvest flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
biomass_input_flow
= extensive variable 'biomass input flow' ((in carbon units)), IAMC=Primary Energy|Biomass, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
carbon_emission_flow
= extensive variable 'carbon emission flow', IAMC=Emissions|CO2, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
carbon_solubility_in_sea_water
= variable 'carbon solubility in sea water' ((in the sense of Nitzbon et al. 2017, not in g/L but unitless!)), not None, scale=ratio, datatype=<class 'float'>, unit=unity [], >=0¶
-
deep_ocean_carbon
= extensive variable 'deep ocean carbon stock' ((that which interacts relatively little/slow with atmosphere)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
discovered_fossil_reserves
= extensive variable 'discovered fossil reserves carbon stock' ((that which can currently be accessed for extraction)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
fossil_carbon
= extensive variable 'fossil carbon stock' ((mass of C in any chemical compound, potentially accessible for human extraction and combustion)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
fossil_energy_density
= intensive variable 'fossil energy density' ((default from Nitzbon 2016)), not None, scale=ratio, datatype=<class 'float'>, unit=[J tC^-1], >=0¶
-
fossil_extraction_flow
= extensive variable 'fossil extraction flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
fossil_fuel_input_flow
= extensive variable 'fossil fuels input flow' ((in carbon units)), IAMC=Primary Energy|Fossil, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
harvestable_biomass_carbon
= extensive variable 'harvestable biomass carbon stock' ((that which can be accessed easily for direct harvesting, in particular agricultural biomass)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
land_area
= variable 'land area', not None, scale=ratio, datatype=<class 'float'>, unit=square kilometers [km²], >0¶
-
ocean_atmosphere_diffusion_coefficient
= variable 'ocean-atmosphere diffusion coefficient', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
ocean_carbon
= extensive variable 'ocean carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
other_biomass_carbon
= extensive variable 'other (non-harvestable) biomass carbon stock' ((that which cannot be accessed easily for direct harvesting)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
photosynthesis_carbon_flow
= extensive variable 'photosynthesis carbon flow', ref=https://en.wikipedia.org/wiki/Photosynthesis, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
plant_respiration_carbon_flow
= extensive variable 'plant respiration carbon flow', ref=https://en.wikipedia.org/wiki/Cellular_respiration, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
population
= extensive variable 'human population', IAMC=Population, CETS=SP.POP, not None, scale=ratio, datatype=<class 'float'>, unit=people [H], >=0¶
-
renewable_energy_input_flow
= extensive variable 'non-biomass renewable energy input flow', IAMC=Primary Energy|Non-Biomass Renewables, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J a^-1], >=0¶
-
secondary_energy_flow
= extensive variable 'secondary energy flow' ((all sources)), IAMC=Secondary Energy, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J a^-1], >=0¶
-
soil_carbon
= extensive variable 'soil carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
soil_respiration_carbon_flow
= extensive variable 'soil respiration carbon flow', ref=https://en.wikipedia.org/wiki/Soil_respiration, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
surface_air_temperature
= intensive variable 'surface air temperature' ((in the meaning used in climate policy debates, i.e., at 2m above surface, averaged over the day)), AMIP=tas, not None, scale=ratio, datatype=<class 'float'>, unit=kelvins [K], >=0¶
-
terrestrial_carbon
= extensive variable 'terrestrial carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
terrestrial_respiration_carbon_flow
= extensive variable 'plant and soil respiration carbon flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
total_energy_intensity
= intensive variable 'total energy intensity', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J $^-1], >=0¶
-
total_output_flow
= extensive variable 'total economic output flow' ((in value units)), IAMC=GDP|PPP, not None, scale=ratio, datatype=<class 'float'>, unit=[$ a^-1], >=0¶
-
undiscovered_fossil_reserves
= extensive variable 'undiscovered fossil reserves carbon stock' ((that which cannot currently be accessed for extraction)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
upper_ocean_carbon
= extensive variable 'upper ocean carbon stock' ((that which interacts relatively much/fast with atmosphere)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
pycopancore.data_model.master_data_model.culture module¶
Master data model for culture.
-
class
pycopancore.data_model.master_data_model.culture.
Culture
[source]¶ Bases:
object
-
acquaintance_network
= variable 'acquaintance network' (Basic undirected social network of acquaintance between Individuals. Most other social networks will be subgraphs of this.), ref=https://en.wikipedia.org/wiki/Interpersonal_relationship#Stages, not None, scale=nominal, datatype=<class 'networkx.classes.graph.Graph'>¶
-
friendship_network
= variable 'friendship/intimate/family network' (Smaller (and typically slower-changing) undirected network of actual friendships and other intimate relationships such as close familiar ties etc. May have a significantly different structure, e.g. a qualitatively (less heavy-tailed) degree distribution and a higher transitivity.), ref=https://en.wikipedia.org/wiki/Intimate_relationship, not None, scale=nominal, datatype=<class 'networkx.classes.graph.Graph'>¶
-
intersocietal_coalition_structure
= variable 'intersocietal coalition structure' ((a set of sets of social systems)), not None, scale=nominal, datatype=<class 'set'>¶
-
is_environmentally_friendly
= variable 'is environmentally friendly' (whether the entity is environmentally friendly or not), not None, scale=ordinal, datatype=<class 'float'>, levels=[False, True]¶
-
supply_chain_network
= variable 'supply chain network' (Directed network of actual (not potential) supplier-customer relationships through the economic supply chain, including the final end customer link and potentially initial links from social systems.), ref=https://en.wikipedia.org/wiki/Supply_chain, not None, scale=nominal, datatype=<class 'networkx.classes.digraph.DiGraph'>¶
-
trusted_business_network
= variable 'trusted business partners/colleagues network' (Similar undirected network for the business side of life, may overlap. Not meant to include all business contacts such as competitors, customers etc. which should rather be represented by a network between firms), ref=https://en.wikipedia.org/wiki/Interpersonal_relationship#Types, not None, scale=nominal, datatype=<class 'networkx.classes.graph.Graph'>¶
-
trusted_competitor_network
= variable 'trusted competitor network' (Undirected network of basic trust relationships between competiting firms, to be used in cartel formation model components. Represents the prerequisites of forming a cartel, not the actually formed cartel structure (which is rather a set of sets of firms).), ref=https://en.wikipedia.org/wiki/Cartel, not None, scale=nominal, datatype=<class 'networkx.classes.graph.Graph'>¶
-
trusted_diplomatic_network
= variable 'trusted diplomatic network' (Undirected network of basic trust relationships between social_systems, to be used in (intersocietal) coalition formation model components. Represents the prerequisites of forming a coalition, not the actually formed coalition structure (which is rather a set of sets of social systems).), ref=https://en.wikipedia.org/wiki/Coalition#International_relations, not None, scale=nominal, datatype=<class 'networkx.classes.graph.Graph'>¶
-
pycopancore.data_model.master_data_model.dimensions_and_units module¶
Master data model for dimensions and units.
-
class
pycopancore.data_model.master_data_model.dimensions_and_units.
DimensionsAndUnits
[source]¶ Bases:
object
-
Btu
= British thermal units [Btu]¶
-
GJ
= gigajoules [GJ]¶
-
GW
= gigawatts [GW]¶
-
GWh
= gigawatt_hours [GWh]¶
-
Gcalth
= gigacalories (thermochemical) [Gcalth]¶
-
Gt
= gigatonnes [Gt]¶
-
GtC
= gigatonnes carbon [GtC]¶
-
H
= people [H]¶
-
J
= joules [J]¶
-
K
= kelvins [K]¶
-
US_dollars_2005
= dollars [$]¶
-
a
= years [a]¶
-
absolute_temperature
= absolute temperature (dimension)¶
-
acceleration
= acceleration (dimension)¶
-
area
= area (dimension)¶
-
british_thermal_units
= British thermal units [Btu]¶
-
carbon
= mass of carbon, whether atomic or in some chemical compound (dimension)¶
-
carbon_flow
= carbon flow (dimension)¶
-
days
= days [d]¶
-
decimeters
= decimeters [dm]¶
-
dollars
= dollars [$]¶
-
energy
= (not convertible to mass velocity²) (dimension)¶
-
gigacalories_th
= gigacalories (thermochemical) [Gcalth]¶
-
gigajoules
= gigajoules [GJ]¶
-
gigatonnes
= gigatonnes [Gt]¶
-
gigatonnes_carbon
= gigatonnes carbon [GtC]¶
-
gigawatt_hours
= gigawatt_hours [GWh]¶
-
gigawatts
= gigawatts [GW]¶
-
h
= hours [h]¶
-
hectares
= hectares [ha]¶
-
hours
= hours [h]¶
-
human_flow
= human flow (dimension)¶
-
humans
= cardinality of a set of human beings (dimension)¶
-
joules
= joules [J]¶
-
kelvins
= kelvins [K]¶
-
kg
= kilograms [kg]¶
-
kilograms
= kilograms [kg]¶
-
kilometers
= kilometers [km]¶
-
km
= kilometers [km]¶
-
length
= 1D spatial dimension (dimension)¶
-
litres
= litres [l]¶
-
m
= meters [m]¶
-
mass
= mass (only use for matter changing its type, otherwise use specific mass dimension, e.g. 'carbon') (dimension)¶
-
meters
= meters [m]¶
-
minutes
= minutes [min]¶
-
monetary_value
= inflation-adjusted monetary monetary_value of goods, services etc. (dimension)¶
-
months
= months [0.08333333333333333 a]¶
-
pct
= per cent [%]¶
-
people
= people [H]¶
-
percent
= per cent [%]¶
-
person_hours
= person hours [0.00011407945862452116 H a]¶
-
person_months
= person months [0.08333333333333333 H a]¶
-
persons
= people [H]¶
-
s
= seconds [s]¶
-
seconds
= seconds [s]¶
-
square_kilometers
= square kilometers [km²]¶
-
t
= tonnes [t]¶
-
tC
= tonnes carbon [tC]¶
-
time
= time (dimension)¶
-
tonnes
= tonnes [t]¶
-
tonnes_carbon
= tonnes carbon [tC]¶
-
u
= utils [u]¶
-
utility
= abstract utility, representing an individual's preferences. BEWARE: this may not be considered to be interpersonally comparable! (dimension)¶
-
utils
= utils [u]¶
-
value_flow
= monetary_value flow (dimension)¶
-
velocity
= velocity (dimension)¶
-
volume
= volume (dimension)¶
-
weeks
= weeks [0.019165349048919554 a]¶
-
years
= years [a]¶
-
yr
= years [a]¶
-
pycopancore.data_model.master_data_model.environment module¶
Master data model for environment.
-
class
pycopancore.data_model.master_data_model.environment.
Environment
[source]¶ Bases:
object
-
atmospheric_carbon
= extensive variable 'atmospheric carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
biomass_carbon
= extensive variable 'biomass/plant carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
carbon_solubility_in_sea_water
= variable 'carbon solubility in sea water' ((in the sense of Nitzbon et al. 2017, not in g/L but unitless!)), not None, scale=ratio, datatype=<class 'float'>, unit=unity [], >=0¶
-
deep_ocean_carbon
= extensive variable 'deep ocean carbon stock' ((that which interacts relatively little/slow with atmosphere)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
discovered_fossil_reserves
= extensive variable 'discovered fossil reserves carbon stock' ((that which can currently be accessed for extraction)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
fossil_carbon
= extensive variable 'fossil carbon stock' ((mass of C in any chemical compound, potentially accessible for human extraction and combustion)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
geographic_network
= variable 'geographic network' (Undirected network of cells and geographic neighborhood. Two cells should be linked iff they share a common boundary of positive measure.), not None, scale=ratio, datatype=<class 'networkx.classes.graph.Graph'>¶
-
harvestable_biomass_carbon
= extensive variable 'harvestable biomass carbon stock' ((that which can be accessed easily for direct harvesting, in particular agricultural biomass)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
land_area
= variable 'land area', not None, scale=ratio, datatype=<class 'float'>, unit=square kilometers [km²], >0¶
-
ocean_atmosphere_diffusion_coefficient
= variable 'ocean-atmosphere diffusion coefficient', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
ocean_carbon
= extensive variable 'ocean carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
other_biomass_carbon
= extensive variable 'other (non-harvestable) biomass carbon stock' ((that which cannot be accessed easily for direct harvesting)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
photosynthesis_carbon_flow
= extensive variable 'photosynthesis carbon flow', ref=https://en.wikipedia.org/wiki/Photosynthesis, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
plant_respiration_carbon_flow
= extensive variable 'plant respiration carbon flow', ref=https://en.wikipedia.org/wiki/Cellular_respiration, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
soil_carbon
= extensive variable 'soil carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
soil_respiration_carbon_flow
= extensive variable 'soil respiration carbon flow', ref=https://en.wikipedia.org/wiki/Soil_respiration, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
surface_air_temperature
= intensive variable 'surface air temperature' ((in the meaning used in climate policy debates, i.e., at 2m above surface, averaged over the day)), AMIP=tas, not None, scale=ratio, datatype=<class 'float'>, unit=kelvins [K], >=0¶
-
terrestrial_carbon
= extensive variable 'terrestrial carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
terrestrial_respiration_carbon_flow
= extensive variable 'plant and soil respiration carbon flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
undiscovered_fossil_reserves
= extensive variable 'undiscovered fossil reserves carbon stock' ((that which cannot currently be accessed for extraction)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
upper_ocean_carbon
= extensive variable 'upper ocean carbon stock' ((that which interacts relatively much/fast with atmosphere)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
pycopancore.data_model.master_data_model.individual module¶
Master data model for individual.
pycopancore.data_model.master_data_model.metabolism module¶
Master data model for metabolism.
-
class
pycopancore.data_model.master_data_model.metabolism.
Metabolism
[source]¶ Bases:
object
-
basic_physical_capital_depreciation_rate
= intensive variable 'basic physical capital depreciation rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
biomass_energy_density
= intensive variable 'biomass energy density' ((default from Nitzbon 2016)), not None, scale=ratio, datatype=<class 'float'>, unit=[J tC^-1], >=0¶
-
biomass_harvest_flow
= extensive variable 'biomass harvest flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
biomass_input_flow
= extensive variable 'biomass input flow' ((in carbon units)), IAMC=Primary Energy|Biomass, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
births
= extensive variable 'births per time', not None, scale=ratio, datatype=<class 'float'>, unit=[H a^-1], >=0¶
-
carbon_emission_flow
= extensive variable 'carbon emission flow', IAMC=Emissions|CO2, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
consumption_flow
= extensive variable 'consumption flow' ((in value units)), IAMC=Consumption, not None, scale=ratio, datatype=<class 'float'>, unit=[$ a^-1], >=0¶
-
deaths
= extensive variable 'deaths per time', not None, scale=ratio, datatype=<class 'float'>, unit=[H a^-1], >=0¶
-
economic_output_flow
= extensive variable 'total economic output flow' ((in value units)), IAMC=GDP|PPP, not None, scale=ratio, datatype=<class 'float'>, unit=[$ a^-1], >=0¶
-
emigration
= extensive variable 'emigrants per time', not None, scale=ratio, datatype=<class 'float'>, unit=[H a^-1], >=0¶
-
fertility
= intensive variable 'current human fertility rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
fossil_energy_density
= intensive variable 'fossil energy density' ((default from Nitzbon 2016)), not None, scale=ratio, datatype=<class 'float'>, unit=[J tC^-1], >=0¶
-
fossil_extraction_flow
= extensive variable 'fossil extraction flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
fossil_fuel_input_flow
= extensive variable 'fossil fuels input flow' ((in carbon units)), IAMC=Primary Energy|Fossil, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
immigration
= extensive variable 'immigrants per time', not None, scale=ratio, datatype=<class 'float'>, unit=[H a^-1], >=0¶
-
investment_flow
= extensive variable 'flow of total investment into physical capital', not None, scale=ratio, datatype=<class 'float'>, unit=[$ a^-1], >=0¶
-
max_fertility
= intensive variable 'maximum human fertility rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
migrant_population
= extensive variable 'first-generation migrant population', not None, scale=ratio, datatype=<class 'float'>, unit=people [H], >=0¶
-
min_fertility
= intensive variable 'minimum human fertility rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
mortality
= intensive variable 'current human mortility rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
mortality_reference_temperature
= variable 'reference temperature for relationship with mortality' (default: pre-industrial value), not None, scale=ratio, datatype=<class 'float'>, unit=kelvins [K], >=0¶
-
mortality_temperature_sensitivity
= intensive variable 'mortality temperature sensitivity', not None, scale=ratio, datatype=<class 'float'>, unit=[K^-1 a^-1], >=0¶
-
physical_capital
= extensive variable 'physical capital' ((in value units)), not None, scale=ratio, datatype=<class 'float'>, unit=dollars [$], >=0¶
-
physical_capital_depreciation_rate
= intensive variable 'physical capital depreciation rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
physical_capital_depreciation_rate_reference_temperature
= variable 'reference temperature for relationship with capital depreciation' (default: pre-industrial value), not None, scale=ratio, datatype=<class 'float'>, unit=kelvins [K], >=0¶
-
physical_capital_depreciation_rate_temperature_sensitivity
= intensive variable 'physical capital depreciation rate temperature sensitivity', not None, scale=ratio, datatype=<class 'float'>, unit=[K^-1 a^-1], >=0¶
-
population
= extensive variable 'human population', IAMC=Population, CETS=SP.POP, not None, scale=ratio, datatype=<class 'float'>, unit=people [H], >=0¶
-
population_by_age
= extensive variable 'human population by age' ((in years from 0 to 99+)), IAMC=Population, CETS=SP.POP, not None, scale=ratio, datatype=<class 'float'>, unit=people [H], >=0, shape=(100,)¶
-
protected_fossil_carbon
= variable 'protected stock of fossil carbon' (what stock of the current fossil carbon will be treated as protected and thus not extracted at each point in time), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
protected_terrestrial_carbon
= variable 'protected stock of terrestrial carbon' (what stock of the current terrestrial carbon will be treated as protected and thus not harvested at each point in time), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
renewable_energy_input_flow
= extensive variable 'non-biomass renewable energy input flow', IAMC=Primary Energy|Non-Biomass Renewables, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J a^-1], >=0¶
-
renewable_energy_knowledge
= extensive variable 'renewable energy production knowledge stock' (= non-depreciated cumulative energy produced in the past. Interpreted as in Wright's law), not None, scale=ratio, datatype=<class 'float'>, unit=gigajoules [GJ], >=0¶
-
renewable_energy_knowledge_depreciation_rate
= intensive variable 'renewable energy production knowledge depreciation rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
renewable_energy_knowledge_spillover_fraction
= intensive variable 'renewable_energy_knowledge_spillover_fraction', not None, scale=ratio, datatype=<class 'float'>, unit=unity [], >=0, <=1¶
-
savings_rate
= intensive variable 'savings (investment) rate' ((as a fraction of income)), not None, scale=ratio, datatype=<class 'float'>, unit=unity [], >=0, <=1¶
-
secondary_energy_flow
= extensive variable 'secondary energy flow' ((all sources)), IAMC=Secondary Energy, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J a^-1], >=0¶
-
total_energy_intensity
= intensive variable 'total energy intensity', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J $^-1], >=0¶
-
welfare_flow_per_capita
= intensive variable 'cardinal social welfare flow 'per capita'' (Note that 'per capita' here does not imply that the value is an average, but only that it is an intensive quantity), not None, scale=ratio, datatype=<class 'float'>, unit=[u H^-1 a^-1]¶
-
wellbeing
= intensive variable 'well-being' ((in utility flow units)), not None, scale=ratio, datatype=<class 'float'>, unit=[u H^-1 a^-1]¶
-
pycopancore.data_model.master_data_model.social_system module¶
Master data model for social_system.
Bases:
object
pycopancore.data_model.master_data_model.world module¶
Master data model for world.
-
class
pycopancore.data_model.master_data_model.world.
World
[source]¶ Bases:
object
-
atmospheric_carbon
= extensive variable 'atmospheric carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
biomass_carbon
= extensive variable 'biomass/plant carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
biomass_energy_density
= intensive variable 'biomass energy density' ((default from Nitzbon 2016)), not None, scale=ratio, datatype=<class 'float'>, unit=[J tC^-1], >=0¶
-
biomass_harvest_flow
= extensive variable 'biomass harvest flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
biomass_input_flow
= extensive variable 'biomass input flow' ((in carbon units)), IAMC=Primary Energy|Biomass, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
carbon_emission_flow
= extensive variable 'carbon emission flow', IAMC=Emissions|CO2, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
carbon_solubility_in_sea_water
= variable 'carbon solubility in sea water' ((in the sense of Nitzbon et al. 2017, not in g/L but unitless!)), not None, scale=ratio, datatype=<class 'float'>, unit=unity [], >=0¶
-
consumption_flow
= extensive variable 'consumption flow' ((in value units)), IAMC=Consumption, not None, scale=ratio, datatype=<class 'float'>, unit=[$ a^-1], >=0¶
-
deep_ocean_carbon
= extensive variable 'deep ocean carbon stock' ((that which interacts relatively little/slow with atmosphere)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
discovered_fossil_reserves
= extensive variable 'discovered fossil reserves carbon stock' ((that which can currently be accessed for extraction)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
fossil_carbon
= extensive variable 'fossil carbon stock' ((mass of C in any chemical compound, potentially accessible for human extraction and combustion)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
fossil_energy_density
= intensive variable 'fossil energy density' ((default from Nitzbon 2016)), not None, scale=ratio, datatype=<class 'float'>, unit=[J tC^-1], >=0¶
-
fossil_extraction_flow
= extensive variable 'fossil extraction flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
fossil_fuel_input_flow
= extensive variable 'fossil fuels input flow' ((in carbon units)), IAMC=Primary Energy|Fossil, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
harvestable_biomass_carbon
= extensive variable 'harvestable biomass carbon stock' ((that which can be accessed easily for direct harvesting, in particular agricultural biomass)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
investment_flow
= extensive variable 'flow of total investment into physical capital', not None, scale=ratio, datatype=<class 'float'>, unit=[$ a^-1], >=0¶
-
land_area
= variable 'land area', not None, scale=ratio, datatype=<class 'float'>, unit=square kilometers [km²], >0¶
-
ocean_atmosphere_diffusion_coefficient
= variable 'ocean-atmosphere diffusion coefficient', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
ocean_carbon
= extensive variable 'ocean carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
other_biomass_carbon
= extensive variable 'other (non-harvestable) biomass carbon stock' ((that which cannot be accessed easily for direct harvesting)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
photosynthesis_carbon_flow
= extensive variable 'photosynthesis carbon flow', ref=https://en.wikipedia.org/wiki/Photosynthesis, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
physical_capital
= extensive variable 'physical capital' ((in value units)), not None, scale=ratio, datatype=<class 'float'>, unit=dollars [$], >=0¶
-
physical_capital_depreciation_rate
= intensive variable 'physical capital depreciation rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
plant_respiration_carbon_flow
= extensive variable 'plant respiration carbon flow', ref=https://en.wikipedia.org/wiki/Cellular_respiration, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
population
= extensive variable 'human population', IAMC=Population, CETS=SP.POP, not None, scale=ratio, datatype=<class 'float'>, unit=people [H], >=0¶
-
population_by_age
= extensive variable 'human population by age' ((in years from 0 to 99+)), IAMC=Population, CETS=SP.POP, not None, scale=ratio, datatype=<class 'float'>, unit=people [H], >=0, shape=(100,)¶
-
renewable_energy_input_flow
= extensive variable 'non-biomass renewable energy input flow', IAMC=Primary Energy|Non-Biomass Renewables, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J a^-1], >=0¶
-
renewable_energy_knowledge
= extensive variable 'renewable energy production knowledge stock' (= non-depreciated cumulative energy produced in the past. Interpreted as in Wright's law), not None, scale=ratio, datatype=<class 'float'>, unit=gigajoules [GJ], >=0¶
-
renewable_energy_knowledge_depreciation_rate
= intensive variable 'renewable energy production knowledge depreciation rate', not None, scale=ratio, datatype=<class 'float'>, unit=[a^-1], >=0¶
-
savings_rate
= intensive variable 'savings (investment) rate' ((as a fraction of income)), not None, scale=ratio, datatype=<class 'float'>, unit=unity [], >=0, <=1¶
-
secondary_energy_flow
= extensive variable 'secondary energy flow' ((all sources)), IAMC=Secondary Energy, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J a^-1], >=0¶
-
soil_carbon
= extensive variable 'soil carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
soil_respiration_carbon_flow
= extensive variable 'soil respiration carbon flow', ref=https://en.wikipedia.org/wiki/Soil_respiration, not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
surface_air_temperature
= intensive variable 'surface air temperature' ((in the meaning used in climate policy debates, i.e., at 2m above surface, averaged over the day)), AMIP=tas, not None, scale=ratio, datatype=<class 'float'>, unit=kelvins [K], >=0¶
-
terrestrial_carbon
= extensive variable 'terrestrial carbon stock' ((mass of C in any chemical compound)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
terrestrial_respiration_carbon_flow
= extensive variable 'plant and soil respiration carbon flow', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 tC a^-1], >=0¶
-
total_energy_intensity
= intensive variable 'total energy intensity', not None, scale=ratio, datatype=<class 'float'>, unit=[1e9 J $^-1], >=0¶
-
total_output_flow
= extensive variable 'total economic output flow' ((in value units)), IAMC=GDP|PPP, not None, scale=ratio, datatype=<class 'float'>, unit=[$ a^-1], >=0¶
-
undiscovered_fossil_reserves
= extensive variable 'undiscovered fossil reserves carbon stock' ((that which cannot currently be accessed for extraction)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
upper_ocean_carbon
= extensive variable 'upper ocean carbon stock' ((that which interacts relatively much/fast with atmosphere)), not None, scale=ratio, datatype=<class 'float'>, unit=gigatonnes carbon [GtC], >=0¶
-
welfare_flow_per_capita
= intensive variable 'cardinal social welfare flow 'per capita'' (Note that 'per capita' here does not imply that the value is an average, but only that it is an intensive quantity), not None, scale=ratio, datatype=<class 'float'>, unit=[u H^-1 a^-1]¶
-


Six Cantabrians in Black Ferns Development side to take on PNG
Six Canterbury women, including captain Grace Brooker, will be expected to make an impact when the Black Ferns Development XV take on Papua New Guinea on Tuesday.
Black Ferns Development head coach Wayne Maxwell has rotated his squad for their third match of the 2019 Oceania Rugby Women's Championship at Churchill Park in Fiji.
Brooker will captain the side at fullback, with usual skipper and Counties Manukau halfback Arihiana Marino-Tauhinu being rested. Canterbury's Melanie Puckett will start at halfback, pairing with Wellington's Amanda Rasch at first five - who has also made the move from reserves.
Auckland's Saphire Abraham was named as hooker alongside Eilis Doyle from Otago at loosehead prop. Both have made the starting 15 for the first time after impressing off the reserves bench.
The development side has two wins from two matches, beating Fiji in their opening match 53-0 and Australia A 50-0 last week.
Maxwell said he felt his side's defence had gone up a notch against Australia A.
"I was particularly proud of our defensive effort in the last quarter. Australia had us on our goal line, continually attacking, but we managed to make sure they came away with no points.
"We will be looking to repeat that level of play against Papua New Guinea.
"So far this tour we've seen some outstanding talent emerge. Some of them have played a full 80min in really hot conditions. They have stepped up and stood out.
"This week our plan is to give some of the players who have had fewer minutes more game time and the opportunity to show us what they can do.
"We've recovered well in a short space of time and we're ready to finish this tournament the same way we started."
It is the first time a Black Ferns Development XV has taken part in the Oceania Rugby Women's Championship, which includes Fiji, Samoa, Papua New Guinea, Tonga and Australia A.
The Black Ferns and Australia have qualified for 2021 Rugby World Cup and will play in pool matches only.
- Black Ferns Development team to play Papua New Guinea
1. Eilis Doyle (Otago)
2. Saphire Abraham (Auckland)
3. Leilani Perese (Counties Manukau)
4. Chelsea Bremner (Canterbury)
5. Joanah Ngan-Woo (Wellington)
6. Alana Bremner (Canterbury)
7. Kennedy Simon (Waikato)
8. Pia Tapsell (North Harbour)
9. Melanie Puckett (Canterbury)
10. Amanda Rasch (Wellington)
11. Natahlia Moors (Auckland)
12. Martha Lolohea (Canterbury)
13. Kilisitina Moata'ane (Otago)
14. Langi Veainu (Counties Manukau)
15. Grace Brooker - Captain (Canterbury)
16. Luka Connor (Bay of Plenty)
17. Angel Mulu (Bay of Plenty)
18. Amy Rule (Canterbury)
19. Ilisapeta Molia (Counties Manukau)
20. Kendra Reynolds (Bay of Plenty)
21. Rosie Kelly (Otago)
22. Hazel Tubic (Counties Manukau)
23. Lauren Balsillie (Manawatu)
- 2019 Oceania Rugby Women's Rugby Championship
Monday, November 18:
Black Ferns 53-0 Fiji.
Friday, November 22:
Black Ferns 50-0 Australia A.
Tuesday, November 26:
1.30pm: Black Ferns v Papua New Guinea.


{% extends 'base.html' %} {% block title %} A Note Keeping {% endblock title %} {% block body %}
Through Our Note Keep you can control almost all of your work and stay focus on your doing rather than remembering.
Through Our Note Keep you can Prioritize your work and take a step ahead to work faster than your regular boring alarm schedules.
We thinks Privacy is a major concern and Privacy is important for all of us, We won't sell your data
It's unique, one of the Kind.
Customers are loving this.
Contribute to our Open Source Platform.


eStore API
The eStore API is up and running!
Hello world:
http://localhost:8192/api/hello
Students:
http://localhost:8192/api/students
Save all in-memory tables:
http://localhost:8192/api/save


Laravel 4 learnings: week 5
Wooha, has it already been 5 weeks since I started these blog posts? Time flies. I want to thank all of you for the wonderful responses I’ve been getting about these posts. Again, if you’d like to see your blog posts, packages or anything else for Laravel 4 in these posts, mail or mention me the links and I’ll have them up next week!
New Laravel 4 Screencast
In this brand new L4 screencast, Taylor talks about the newest additions to the framework.
Laracon EU: A Call For Talk Proposals
Laracon EU is starting to take shape. The recent survey by Shawn McCool turned out to have a great response and he’s confident that there will be enough attendees to have a decent conference, probably late Summer 2013.
Before Laracon EU can happen, speakers will be needed for the conference. You can submit a talk proposal here if you’re interested at speaking at Laracon EU.
Laravel 4 Primer: JSON
https://twitter.com/daylerees/status/323043035237740546
Dayle Rees has teased a chapter from his upcoming book “Code Bright”. Go have a look!
HTTP Basic Auth
https://twitter.com/laravelphp/status/321290995155206145
Implementing HTTP basic authentication has never been easier now that it’s baked into the core of Laravel 4. When you put the filter on a route, your browser will prompt you with a login screen. The user logs in and Laravel handles the authentication automatically.
Route::get('basicauth', array('before' => 'auth.basic', function()
{
return 'Logged in!';
}));
Improved Error Display With The “Whoops” Library
https://twitter.com/laravelphp/status/322416887680098304
Replacing the old Symfony error screens, the Whoops library provides a much improved error handling screen.
Support For Renaming Database Table Columns
Support for renaming database table columns in L4 has been added. First parameter is the original column name and the second one is the new column name.
Schema::table('addresses', function($table)
{
$table->renameColumn('location', 'city');
});
Resources
- Blade Syntax Highlighter for Sublime Text by Eric Percifiel
- How To Contribute To Laravel 4 by myself
- Using Dependency Injection and IoC in Laravel 4 controllers by Nathan Davison
- A Bit Of Everything by Niall O’Brien
- Quick tip on swapping Facades with Mocks when testing by Jeffrey Way
Screencasts
Meetups
Packages
- v1.0 of Revisionable by Chris Duell is now released


| asyncRecordsProviderDemo | ||||||||||||
asyncRecordsProviderDemo(providerFactory: ProviderFactory, searchService: SearchService)
|
||||||||||||
|
Creates a network for a list of records fetched with a query. The query specifically returns 5 wikipedia documents about "human" and containing the text "google". The record nodes are rendered with the wikipedia thumbnail rather than a generic icon.
Parameters :
Returns :
NetworkProvider[]
|
| coocAggregationDemo | ||||||||
coocAggregationDemo(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from a cooccurrence distribution between person and company entities.
Parameters :
Returns :
NetworkProvider[]
|
| coocRecordDemo | ||||||||
coocRecordDemo(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from the list of selected records and displays the cooccurrence entities contained in these records. The record nodes themselves are actually hidden (hideRecordNode=true). The cooccurrence entities are each displayed as two nodes linked by an edge.
Parameters :
Returns :
NetworkProvider[]
|
| crossAggregationDemo | ||||||||
crossAggregationDemo(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from a cross-aggregation between person and company entities.
Parameters :
Returns :
NetworkProvider[]
|
| crossAggregationExpandDemo | ||||||||
crossAggregationExpandDemo(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from a cross-aggregation between person and company entities. Additionally, the company and person nodes can be expanded to other company, person and geo entities.
Parameters :
Returns :
NetworkProvider[]
|
| oOTBConfig | ||||||||
oOTBConfig(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from the list of selected record and three cross-distributions between geo, person and company entities. Additionally, the metadata nodes are expandable to other metadata nodes, via cross-distributions.
Parameters :
Returns :
NetworkProvider[]
|
| recordsProviderDemo | ||||||||||||
recordsProviderDemo(providerFactory: ProviderFactory, records)
|
||||||||||||
|
Creates a network from a list of records, with record and person nodes. The person nodes are attached to a record if that record contains them.
Parameters :
Returns :
NetworkProvider[]
|
| selectedRecordsProviderDemo | ||||||||
selectedRecordsProviderDemo(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from the selected records, with record and person nodes. The person nodes are attached to a record if that record contains them. The network is refreshed every time documents are selected or unselected.
Parameters :
Returns :
NetworkProvider[]
|
| typedCoocAggregationDemo | ||||||||
typedCoocAggregationDemo(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from a triple-cooccurrence between person, companies and in-between a "job" entity ('(BILL GATES)#(CEO)#(MICROSOFT)').
Parameters :
Returns :
NetworkProvider[]
|
| typedCoocRecordDemo | ||||||||
typedCoocRecordDemo(providerFactory: ProviderFactory)
|
||||||||
|
Creates a network from the list of selected records and displays the triple-cooccurrence entities between person, companies and in-between a "job" entity ('(BILL GATES)#(CEO)#(MICROSOFT)') contained in these records. The cooccurrence entities are each displayed as two nodes linked by a typed edge (with a label showing the "job").
Parameters :
Returns :
NetworkProvider[]
|
| wikiAsyncConfig | ||||||||||||
wikiAsyncConfig(providerFactory: ProviderFactory, searchService: SearchService)
|
||||||||||||
|
Creates a network from a list of records fetched via a query asynchronously, and cross-distributions between the geo, company and person nodes. The query specifically asks for 3 wikipedia documents about "Barack Obama". The network will contain relations between the records and the metadata displayed among the aggregation edges.
Parameters :
Returns :
NetworkProvider[]
|
| wikiDynConfig | ||||||||||||
wikiDynConfig(providerFactory: ProviderFactory, searchService: SearchService)
|
||||||||||||
|
Creates a network from cross distribution between Company and Person entities. Additionally, the person nodes are "dynamic nodes", meaning they become enriched (when clicked on, by default) with a record fetched from the server. When this happens, the display of the node changes (in this case we display the wikipedia thumbnail of that person, instead of a generic icon), and "structural edges" are added to the nodes (in this case we display the "company" entities contained in the wikipedia pages of the person).
Parameters :
Returns :
NetworkProvider[]
|
| wikiDynEdgeConfig | ||||||||||||
wikiDynEdgeConfig(providerFactory: ProviderFactory, searchService: SearchService)
|
||||||||||||
|
Creates a network from the list of selected records. Additionally, when these records are inserted, fetches additional records from the server, which gets attached to the record nodes ("dynamic edges"). Specifically these new records are 5 wikipedia articles about humans and talking about whatever the original node's label is. (if the original node is "Microsoft", the dynamic edges will likely include Bill Gates, Steve Ballmer, Paul Allen, etc.) The nodes of these new records (with the "people" type) are displayed with the wikipedia thumbnail. Additionally we display the company entities contained in these people nodes (structural edges).
Parameters :
Returns :
NetworkProvider[]
|
| wikiMultiDynConfig | ||||||||||||
wikiMultiDynConfig(providerFactory: ProviderFactory, searchService: SearchService)
|
||||||||||||
|
Creates a network from 3 cross distribution between Company, Geo and Person entities. Additionally, the person nodes are "dynamic nodes", meaning they become enriched (when inserted) with a record fetched from the server. When this happens, the display of the node changes (in this case we display the wikipedia thumbnail of that person, instead of a generic icon). Additionally, the company nodes are manually expandable to display relations with other people nodes.
Parameters :
Returns :
NetworkProvider[]
|
| FusionChartsConstructor |
FusionChartsConstructor(fusionchartsService: any, chartConfig: Object)
|
|
|
| isAggregationEdgeType | ||||||||
isAggregationEdgeType(et: EdgeType)
|
||||||||
|
Tests whether an EdgeType is an AggregationEdgeType
Parameters :
Returns :
AggregationEdgeType
|
| isDynamicEdgeType | ||||||||
isDynamicEdgeType(et: EdgeType)
|
||||||||
|
Tests whether a given edge type is a DynamicEdgeType
Parameters :
Returns :
DynamicEdgeType
|
| isStructuralEdgeType | ||||||||
isStructuralEdgeType(et: EdgeType)
|
||||||||
|
Tests whether the given edge type is a structural edge type
Parameters :
Returns :
StructuralEdgeType
|


{# needs to have 'width' passed in from the include #} {% for subnav_item in this.SubNav.blocks %} {# finds all blocks in SubNav model #}


Buttons
Contents
Default button styling
Buttons receive no default styling in Odin, so any custom CSS you write will not conflict with default styling.
Contextual button styles
The visual presentation of buttons can help users complete forms more quickly and minimize the risk of potential errors. Primary actions could be actions such as "submit", "login", "add to cart". Secondary actions could be actions such as "cancel", "go back", or "reset". They are less important, alternative actions, which could have negative consequences if used accidentally. Use the button-primary
class on buttons that will perform primary actions and button-secondary
on buttons that will perform secondary actions. If desired, override these classes in a secondary stylesheet.
Four additional classes are provided to assist users. The button-info
class may be appropriate for buttons that act as a link or open modal windows. Use button-success
for actions such as saving a document or creating an account. Use button-warning
for actions that potentially have negative consequences that are not severe such as "restore default settings". Use button-danger
for actions with severe, perhaps permanent, negative consequences such as "delete file" or "delete account".
<button class="button-primary">Primary</button>
<button class="button-secondary">Secondary</button>
<button class="button-info">Info</button>
<button class="button-success">Success</button>
<button class="button-warning">Warning</button>
<button class="button-danger">Danger</button>
Disabled buttons
Odin buttons with the attribute disabled
are washed out slightly.
<button class="button-primary" disabled>Button Text</button>
Button sizes
Two utility classes, button-sm
and button-lg
allow for buttons of different sizes to be created.
Large button
Small button
Large button
Buttons with icons
Odin doesn't include icon fonts, but it will work well with existing ones. In the example below, icon fonts from Font Awesome are used. You'll need to make sure that any page using icon fonts loads the necessary CSS.
Checkout Learn more
 Checkout
Learn more


Check your answers
Your details |
||
|---|---|---|
| Full name | Mrs Jan Clark |
Your responses |
||
|---|---|---|
| Will you attend the hearing | {% if data['claimantattending'] == 'true' %} Yes {% else %} No {% endif %} | Change Name |
Hearing requirements |
||
|---|---|---|
| Dates you can’t go to a hearing |
15 September 2019 16 September 2019 17 September 2019 18 September 2019 19 September 2019 |
Change Name |
| Support you'd require | {% if data['claimantsupportneeds'] == 'true' %} Hearing loop {% else %} No support required {% endif %} | Change Name |
| Preferred location for a hearing | Guildford County Court | Change Name |
Statement of truth
When you’re satisfied that your answers are accurate, you should tick to “sign” this statement of truth on the form.
{% if data['defendant'] == 'org' or data['defendant'] == 'Sole-trader' or data['check']==10 %}You must hold a senior position in your organisation to sign the statement of truth.
Types of senior position
A senior position could be a:
- director
- treasurer
- chief executive
- manager or other officer of the company or corporation
If your corporation isn't registered, a senior position could be:
- the chairperson or president
- another officer of the corporation
{% endif %} {% endblock %}


× Success! You are ready to start flipping tables!
Flip some tables on Slack.
Built using emojis from here, here, and here.
Use this button to automatically add the /tableflip
slash command to your team:
View available commands and options here.
Manually add a new slash command to your team by going to:
https://my.slack.com/apps/build/custom-integration
and selecting the Slash Commands option.
{{ allowed_command }}
Note: Table flipping will not work without one of these specific slash commands.
Set the URL field to:
{{ project.base_url }}
Set the Method option to POST
"Flip some tables"
."[type] (or 'help', 'list')"
."{{ project.name }}"
.Note: These examples use /tableflip
but yours may vary based on what you selected for step 2 during a manual setup.
Use command /tableflip help
to view this usage information from within Slack.
Basic Flip:
/tableflip
Basic Word Flips:
/tableflip word [word]
Tip: You can enter one or multiple words, e.g. /tableflip word Hello World
produces: (╯°□°)╯︵ plɹoM ollǝH
Special Flips:
/tableflip [type] [word]
Note: The word
input is optional and will display the flip with the provided word. Not all flip types can do word flips. Without a word, the flip will display the standard table.
Available flip types:
| Command | Emoji |
|---|---|
/tableflip |
{{ allowed_types['classic'] }} |
/tableflip {{ allowed_type }} {% if is_word_type %}[word]{% endif %} |
{{ description }} |
Use command /tableflip list
to view this list from within Slack.


Text: Radio: Checkbox: Password: Submit: Slider: File: Number: Hidden: This is hidden. Text box: This is a box with words in it. Select: This one? Or this one? Maybe this one? Button: Delete System32 Date : Colour:


We proudly provide assistance to students in terms of access to effective learning resources, career path guidance, mentorship, 24*7 doubt addressing support and much more..
So what are you waiting for? Are you Ready2Study? Tell Us Here!!
Sign-Up For Our Survey!Check out how you can leverage our platform!
Not sure which material to seek for effective study? We will help you out! Still not sure where to get those? Don't worry, we have got all your bases covered.
Share your dreams and passions with us, and allow us to help you choose the all-important and suitable Career path for you.
Stress and dilemma eating its way into your lives? Find yourself in the company of our Super-Cool Gurus who are there for having your back all the time.
Sulking away at a specific topic/ subject and finding no way out? Well, our online Ninjas are there to save the day for you! Just go ahead, and fire away all the doubts that you have!


| DOSE: |
1 tablet |
oral |
MDMA |
(pill / tablet) |
This is the tale of my first experience with MDMA. This experience has shaped the way I view reality today. I was not a very happy person before the experience. I cannot say that I am happy now, but I find it a lot easier to appreciate life and all of the beauty it carries with it and the beauty every person and living thing on this Earth conveys so simply just by existing. I was also an rock-hard atheist before the experience, and during it, I realized that this world can be so amazingly perfect, and with all this beauty, there must be something greater than anything we can conceive. I was also a pot-head (smoking several times daily) before my experience, for all the wrong reasons. MDMA changed many of my negative qualities. Some still persist, but I am aware of them and more in touch with the sub-concious causes of them, mostly fear of other people and certain situations.
This experience occured on June 2, 2001.
I had two Green Euro Dollars, provided by an old friend who was very moved by MDMA several weeks prior to this, and happy to provide a well trusted contact. They were wide green pills in a little baggie made especially for them. According to a pill database site, checked several months after the experience, the pills contained only MDMA.
I met my friend Trina at a train station, and we were waiting to go to Washington Square Park in Greenwich Village.
T 0:00 I drank orange juice prior to dosing, being advised to do so by my friend. However, I now know that the juice acidifies the stomach, actually making it more likely to decrease the effects of the MDMA, if drunk before the dose is fully digested. When I got on the train, I took one and Trina took the other one with some water.
T 0:50 Quickly we made it there and right before the train stopped, I felt the butterflies in my stomach. I felt different body parts tingle and tingle and tingle until I was getting out of the turnstiles and saying to Trina, 'Oh my god, I've never felt like this before.' It was true, I never
felt anything like this, completely in tune to every movement I was making and every word I was saying. I ran up the stairs out of the station and running up seemed like the easiest task to do, and I felt like I was flying. Oh my god, I was flying.
We crossed the street and we were walking under the construction structure on E. 8th St. I kept saying that I never felt like that in my life, as it was building over me, rising and rising and rising. As we exited the construction site, Trina's began to hit and I looked up at the buildings
surrounding the Cube by St. Mark's Pl. and they were sooooooo beautiful, this is when I realized the much spoken off attribute of E, everything looks and feels beautiful.
T 1:00 Trina complained that her stomach hurt a lot and I kept talking in Russian and telling her that everything will be fine the second we get to the park. And it did. We got there- a walk that I barely remember, except that I was comforting her and telling her that soon she will feel exactly
what I am feeling, and that the world is perfect.
T 1:20 When we got to the park, Trina was already smoking cigarettes, and I was smoking too. She felt better and then we went into the circle. My leg flew up to enter it and I felt so light walking over to the other side.  We sat down, finally and it felt very comfortable. We were sitting on stone, and it felt like the most perfect place to sit, exactly what I needed.
T 1:30 Trina turned on music and it sounded great. My body became a waterfall of sensation and emotion, with all this beauty from the world washing over me. This sensation, of the whole world being beautiful cannot be described. I was sweating heavily and I couldn't stop smoking. It was
not that I wanted to smoke, but that I loved every sensation I was experiencing. I drank water and orange juice to make it all better, and it did get much better from then on.
T 2:00 Me and Trina engaged in amazingly deep conversations. Trina told me she's bi and we started talking about sexual orientation and how it doesn?t matter at all and we finally pondered on the nature of PLUR- peace-love-unity-respect. It all makes sense. We decided that when straight guys are scared of physically touching each other, hugging, kissing, etc., is horrible. How can people deprive themselves of human contact. We looked at the people and they all seemed sooo beautiful.
T 2:30 We saw this juggler guy, who seemed like the most beautiful man who ever lived, but he was surely not, but then, I felt in love with everyone and everything. The homeless man who asked Trina for a cigarette walked away saying that it?s pointless to ask us of anything, but she begged him to come back. This black man behind us, we asked him for a cigarette, was somewhat old, but very beautiful. I felt sooo good all over. It was amazing. This other guy whose hair was died white sat not too far away from us, and we looked at him and he was beautiful. I felt like it was fate that we were here on this day with all these people, aware of how amazing they
all are.
Trina shared everything with me, and I with her. We talked about our friends and how it would be amazing to share this with them, to make them aware of, truly, how we have all been saved. My fears, my borders, they were gone. I could talk about anything without the fear of being judged or
hurt. Trina said to look at how happy this woman was to get the juggler guy's torch and I looked at her and I didn't feel anything, it was gone. I took a drink of orange juice and it was all back.
T 3:00 We kept talking and looking at the people. The more I look back at the experience, I remember that there was an unexpected effect... an amazing effect, I could feel the emotions of anyone whose face I looked at. Seeing people happy, made me really happy, and seeing them sad, made me sad. This was the empathogenic effect. It seemed like the world was so beautiful, but I saw that absolutely nothing had changed about it. It was all in my perception of the world. MDMA is a substance that has so much promise because it lifts the barrier of hate and judgement and fear that we all build up after years of living in a society which encourages this. I learned so much from it, the entactogenic effect did indeed touch us from within.
At some points we were talking so fast that we stopped understanding each other and time seemed to slow down outside of us.
Then the moment came, which made me aware of God's limitless and transcendent presence. Suddenly, at some point, a beautiful red butterfly flew up to Trina and sat on her shirt, it was an amazing moment of beauty and we felt like we were touched by God, at last, God revealed itself.
T 4:00 Then it started to rain and we went away. We were feeling the aftereffects, but the bulk of the experience- the realization of that beauty, the inexplicable feelings of love- they passed. I felt good, I felt friendly and beautiful, but then I started thinking about other people way too much. I smoked my last cigarette and we walked to Broadway Lafayette where my first visual hallucination occurred. The train that we got into was very shiny and it seemed to reflect a very radiant aura.
T 5:00 We got to our home neighborhood and I appreciated so much more about everything. We spent the next several hours reflecting on what happened, and seeing both my mom and her mom. I realized how much love they both have for us. In every motherly word, I could feel the love, and the care. As far as continuous physical effects, I had trouble eating at Trina's house, because I felt no hunger. This is the result of MDMA being an amphetamine after all.
That night I had an extremely vivid dream about the people in school. It involved a group of people who I associated with, leaving me out. This would happen several months later.
The following day, I slept until 1 PM, having spent a lot of energy on the experience. It should be noted that I did not experience the teeth clenching while Trina did. I also did not experience any tremors or minor muscle spasms, only slight disorientation.
School continued the following week, exactly two years from when I am writing this. I felt so happy to be alive, and to see the people in school. Some people whom I told of my experience said that I am a fool, and that it is better to get over emotional problems through slow therapy. The experience did not solve any issues, it just made me aware of how pointless most of my problems are. I am loved and capable of loving others, completely in love with many others, and that made everything else seem rather small or non-existent.
The Thursday after my experience, I saw Trina forget all about it, and take LSD. This upset me. The one person I was completely in touch and unison with seemed to slip away. I cried as I walked home, yet quickly, I remembered what had happened to us, and I felt better.
Two years have passed. As I look back on it, I am so thankful that I was able to experience this. When people ask me what it was like, there are no words, because really, nothing happens, yet everything changes. I am not advocating the use of MDMA to anyone. The quality of pills is usually very low. People who get bunk pills are lucky they did not get something dangerous. However, I do believe that if people were able to realize how important love is, and how unimportant addictions to pain are, the world would be a better place. Because of MDMA, I am a better person. Because of my ability to share this experience, and after it, every day with people I
love, I am a better person.
I hope that within my life time I see the world turn away from war and violence, to tolerance, acceptance, and then peace, love, unity, and respect. Many people see the raver mantra as cliche, but it is very honest and true.
I would like to thank Erowid, which is an amazing resource for all those who wish to learn anything. There is so much to learn in life, I hope we do not waste our lives. Pax vobiscum.
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.


Home
Log in
Create an account
New Entry
View Contact Info List
Generate a new qrcode
Stored qrcodes
Log out
SQL Query


Resources:
https://www.youtube.com/watch?v=Y6NI12OAMWc&list=PLF23494E2820B442B - MSF primer
windows/local/payload_inject to use PAYLOAD windows/powershell_reverse_tcp to gain an interactive PowerShell session
Remote DLL Injection with Meterpreter: https://room362.com/post/2011/2011-05-30-remote-dll-injection-with-meterpreter/


Around SF I’ve found I’m much happier if I read every billboard with AI on is as Al (lowercase L). You know, they’re just talking about someone named Al.
“We make Al work for you.” Wow, kinda harsh. Maybe Al’s trying hard enough.
“Enterprise Al” Glad Al got their big break!
8/15/2021, 5:49:08 PM
Favs: 7
Retweets: 0
link


Follow these steps after selecting Coinbase Pro as your brokerage or data feed in the tutorial in the introduction:
$ lean live "My Project" API key: 6d3ef5ca2d2fa52e4ee55624b0471261 API secret: **************************************************************************************** Passphrase: ****************
$ lean live "My Project" Use the sandbox? [y/N]: n


Using AWS Lambda with AWS CodePipeline
AWS CodePipeline is a service that enables you to create continuous delivery pipelines for applications that run on AWS. You can create a pipeline to deploy your Lambda application. You can also configure a pipeline to invoke a Lambda function to perform a task when the pipeline runs. When you create a Lambda application in the Lambda console, Lambda creates a pipeline that includes source, build, and deploy stages.
CodePipeline invokes your function asynchronously with an event that contains details
about the job. The following
example shows an event from a pipeline that invoked a function named my-function
.
Example CodePipeline event
{ "CodePipeline.job": { "id": "c0d76431-b0e7-xmpl-97e3-e8ee786eb6f6", "accountId": "123456789012", "data": { "actionConfiguration": { "configuration": { "FunctionName": "my-function", "UserParameters": "{\"KEY\": \"VALUE\"}" } }, "inputArtifacts": [ { "name": "my-pipeline-SourceArtifact", "revision": "e0c7xmpl2308ca3071aa7bab414de234ab52eea", "location": { "type": "S3", "s3Location": { "bucketName": "us-west-2-123456789012-my-pipeline", "objectKey": "my-pipeline/test-api-2/TdOSFRV" } } } ], "outputArtifacts": [ { "name": "invokeOutput", "revision": null, "location": { "type": "S3", "s3Location": { "bucketName": "us-west-2-123456789012-my-pipeline", "objectKey": "my-pipeline/invokeOutp/D0YHsJn" } } } ], "artifactCredentials": { "accessKeyId": "AKIAIOSFODNN7EXAMPLE", "secretAccessKey": "6CGtmAa3lzWtV7a...", "sessionToken": "IQoJb3JpZ2luX2VjEA...", "expirationTime":<PHONE_NUMBER>000 } } } }
To complete the job, the function must call the CodePipeline API to signal success
or failure. The following example
Node.js function uses the PutJobSuccessResult
operation to signal success. It gets the job ID for the
API call from the event object.
Example index.js
var AWS = require('aws-sdk') var codepipeline = new AWS.CodePipeline() exports.handler = async (event) => { console.log(JSON.stringify(event, null, 2)) var jobId = event["CodePipeline.job"].id var params = { jobId: jobId } return codepipeline.putJobSuccessResult(params).promise() }
For asynchronous invocation, Lambda queues the message and retries if your function returns an error. Configure your function with a destination to retain events that your function could not process.
For a tutorial on how to configure a pipeline to invoke a Lambda function, see Invoke an AWS Lambda function in a pipeline in the AWS CodePipeline User Guide.
You can use AWS CodePipeline to create a continuous delivery pipeline for your Lambda application. CodePipeline combines source control, build, and deployment resources to create a pipeline that runs whenever you make a change to your application's source code.
For an alternate method of creating a pipeline with AWS Serverless Application Model
and AWS CloudFormation, watch Automate your serverless application deployments
Permissions
To invoke a function, a CodePipeline pipeline needs permission to use the following API operations:
The default pipeline service role includes these permissions.
To complete a job, the function needs the following permissions in its execution role.
-
codepipeline:PutJobSuccessResult
-
codepipeline:PutJobFailureResult
These permissions are included in the AWSCodePipelineCustomActionAccess


Etymology: Krishna means dark and the attractive.
Spiritual and Scientific Significance
Hindus believe that Krishna represents God consciousness. The Krishna avatar is synonymous with self-realization. Krishna’s teaching also relate to yoga and self-realization. Popular Beliefs
Popular Belief
Hindu’s consider Krishna to be the ninth incarnation of Vishnu. Krishna was the eighth son Devaki and Vasudeva. A prophecy stated that the eighth son of Devaki and Vasudeva will vanquish the evil ruler Kansa of Dwarka, who was the brother of Devaki
Krishna was the brains and the governing character behind the great battle of Mahabharatha. He acted as Arjun’s charioteer and gave him strategies of defeating the Kaurava army.
Krishna showed Arjuna his Vishwarupa when Arjuna was getting cold feet before the start of the war because he was going to war against his own kith and kin. Krishna explained to him that the will of time is inevitable and Arjun himself was a mere medium to facilitate it.
Worship
The chanting of the mantra Hare Krishna-Hare Rama is one of the most common and wide spread ways Krishna is worshipped.
Consorts:
Radha is considered as his first lover and friend during Krishna’s youth. She is known as the original Goddess of Shakti. Rukmini is the queen consort of Krishna who had eloped with him upon her own request as she was being forced upon a marriage. She is also known as the incarnation of Goddess Lakshmi.
Associated Festival:
Krishna Janmasthami is the festival associated with Krishna and is celebrated throughout India with great reverence and joy.