|
Remember you need to score more than 24/40 to pass the exam
Good Luck!
 What according to TOGAF is an Enterprise?
You answered B and the correct answer is:
B – Any collection of organizations that has a common set of goals
2. Which of the following is NOT a correct statement about an Architecture Framework?
You answered C and the correct answer is:
C – Architecture Framework is a set of resources, guidelines, templates, background information, etc. provided to help the architect establish an architecture practice within an organization
3. Which of the following statement is NOT a reason for suitability of TOGAF as a Framework for Enterprise Architecture?
You answered A and the correct answer is:
A – It provides an immediate return on investment
4. Which of the following is NOT a part of the Architecture Capability Framework?
You answered E and the correct answer is:
A – Standards with which new architectures must comply
5. TOGAF recommends running the enterprise architecture practice like any other operational unit within a business. For that, which of the following processes capability needs to be established?
You answered D and the correct answer is:
D – Financial Management, Performance Management and Service Management
6. According to TOGAF Document Categorization Model, which are the four categories of content?
You answered E and the correct answer is:
E – Core, Mandated, Recommended and Supporting
7. Which of the following statements is NOT true for ADM?
You answered C and the correct answer is:
C – The numbering scheme provided in the TOGAF ADM for its outputs is a mandated practice
8. Which of the following is a Key Point of the ADM Cycle?
You answered C and the correct answer is:
C – The main guideline is to focus on what creates value to the enterprise, and to select horizontal and vertical scope, and project schedules, accordingly
9. Which of the following is NOT a correct reason for limiting the scope of the Architecture Activity?
You answered E and the correct answer is:
A – The inflexibility of the baseline IT technical architecture
10. Which among the following statements about Architecture Continuum is NOT true?
You answered C and the correct answer is:
C – Every artifact in the Solutions Continuum has a one to one relationship with a corresponding artifact in the Architecture Continuum
11. The relationship between the Architecture Continuum and the Solutions Continuum is one of ___ (complete the sentence).
You answered B and the correct answer is:
B – Guidance, direction and support
12. What are the levels of granularity the Architecture Landscape is divided into?
You answered A and the correct answer is:
A – Strategic Architectures, Segment Architectures and Capability Architectures
13. Which of the following is NOT a stated reason for using a tool for Enterprise Continuum?
You answered C and the correct answer is:
C – Facilitate easier maintenance of the software assets
14. Which of the following is NOT an objective of the Preliminary phase?
You answered A and the correct answer is:
E – Articulate an Architecture Vision and value proposition
15. What first-cut, high-level description does Architecture Vision provide?
You answered D and the correct answer is:
D – Business Architectures, Data Architectures, Application Architectures and Technology Architectures
16. Which are the Key Considerations for the Data Architecture?
You answered C and the correct answer is:
C – Data Management, Data Migration and Data Governance
17. Which of the following is NOT an activity in Phase E?
You answered E and the correct answer is:
E – Perform a cost/benefit analysis and a risk assessment
18. Which of the following is NOT an approach in Phase G?
You answered C and the correct answer is:
A – Creation of an Implementation and Migration Plan in co-operation with the portfolio and project managers
19. Which of the following statements about Requirements Management phase is correct?
You answered C and the correct answer is:
C – It does not dispose of, address, or prioritize any requirements; this is done within the relevant phase of the ADM
20. How is the scope of the enterprise architecture projects decided?
You answered D and the correct answer is:
B – Agreement on the scope is reached in the Preliminary phase and it is defined in phase A
21. In which phase is the make versus buy versus re-use decision taken?
You answered C and the correct answer is:
C – Phase E
22. In which phase are the Architecture Contracts prepared?
You answered E and the correct answer is:
E – Phase G
23. Which of the following is not a part of the guidelines for adapting the ADM process?
You answered A and the correct answer is:
A – Coexisting with other Enterprise Architecture frameworks
24. Regarding Architecture Principle, which of the following statement is NOT correct? [Update: The answer to this question is not valid for TOGAF 9.1. IT Principles are now seen as just part of Enterprise Principles.]
You answered C and the correct answer is:
C – Principles must be derived from business goal
25. Where the process of creating a Business Scenario does starts?
You answered B and the correct answer is:
B – Problem statements
26. In which phases is the Gap Analysis technique used?
You answered A and the correct answer is:
A – Phases B, C, D, and E
27. For which phases is the Business Transformation Readiness Assessment a key technique?
You answered C and the correct answer is:
C – Phases A, E and F
28. Which of the following statements is NOT correct?
You answered D and the correct answer is:
C – Capability is documented in Architecture Vision
29. Which of the following statements is NOT correct?
You answered E and the correct answer is:
E – Architecture Governance helps creating organizational structures that enabled each individual department to operate at maximum efficiency
30. Which are the six characteristics used in TOGAF to highlight both the value and necessity for governance?
You answered A and the correct answer is:
A – Discipline, Transparency, Independence, Accountability, Responsibility and Fairness
31. Which of the following is NOT the responsibility of Architecture Board?You answered C and the correct answer is:
C – Identification of risk and subsequent risk mitigation
32. Which of the following is NOT a recommendation for Architecture Capability building?
You answered B and the correct answer is:
B – TOGAF states that Architecture Capability development should not be seen as a phase of an architecture project but as a separate one-off project
33. What question should the architect answer to ensure the completeness of the architecture?
You answered D and the correct answer is:
D – Does it address all the concerns of its stakeholders?
34. Which of the following relationship between view, viewpoint, stakeholder and architecture is correct?
You answered D and the correct answer is:
C – One of more viewpoint can be used to cover a concern
35.Which among the following statements is NOT correct?
You answered B and the correct answer is:
A – TOGAF recommends the way in which functionality, products, and custom developments are assembled into building blocks
36. Which among the following statements about patterns is NOT correct?
You answered D and the correct answer is:
D – Patterns are a package of functionality defined to meet business needs across an organization
37.What does the Architecture Requirements Specification provide?
You answered B and the correct answer is:
B – A quantitative view of the solution stating measurable criteria
38. Which of the following is NOT a key ADM Deliverable?
You answered E and the correct answer is:
E – Integrated Information Infrastructure
39. Which among the following are NOT service categories in the TRM?
You answered D and the correct answer is:
E – Information brokers and application integrators
40. Which among the following statements about Boundary-less Information Flow is NOT correct?
You answered B and the correct answer is:
B – It provides insights related to customer needs
http://theopenarch.com
|


Contents
Resource 2: Chemical Hazard Assessment¶
Introduction to Chemical Hazard Assessment¶
This module will cover hazard assessment options. You can choose from a screening-level (option 1), intermediate (option 2) or advanced-level assessment (option 3); we also provide guidance at the end for a tiered approach that combines these levels. Information and resources about creating a chemical inventory are available in the Chemical Inventory Resource.
A number of chemical hazard assessment tools exist. Most are based heavily on the Globally Harmonised System of Classification and Labelling (GHS) and on authoritative and screening lists of chemical hazards. GHS provides detailed guidance for how to evaluate a broad set of human health, environmental and physical property hazards. GHS does not currently provide classification criteria for persistence (P), bioaccumulation potential (B) and endocrine disruption (EDC) and therefore criteria for these endpoints are supplemented in other schemes. An even more comprehensive set of hazard endpoints is provided by the California Environmental Protection Agency (CalEPA) in the US in support of their safer products program.
Foundational work on hazard assessment by McDonough Braungart Design Chemistry and the US Environmental Protection Agency Design for the Environment (DfE) Program as part of their alternatives assessment program helped to establish CHA with tabular hazard classification reporting. The GreenScreen for Safer Chemicals (GS) builds on the GHS, C2C DfE AA Criteria and provides an additional overall chemical benchmark score.
The approaches that follow differ by the number of hazard endpoints evaluated and the depth to which each endpoint is assessed. With increased depth of chemical assessment comes increased understanding of the human health and the environment hazards associated with a chemical and deeper knowledge of data gaps. However, increased depth of assessment requires greater expertise and cost.
Hazard, exposure, and risk¶
Hazard is something that can potentially cause harm. A shark is an example of something hazardous. Risk is a function of hazard and exposure. Swimming in shark-infested waters is combining hazard - sharks - and exposure to make a very risky activity. Image source: Genetic Literacy Project
Green Chemistry is based on the premise that risk is a function of hazard and exposure. Once can control risk by controlling exposure or by controlling hazard. Exposure controls are expensive, and can and do fail. It is better to design, make and use chemicals with low inherent hazard. And to avoid swimming in shark infested waters.
Key Steps in Any Chemical Hazard Assessment (CHA)¶
Classify Hazards for Individual Chemicals¶
Each chemical is evaluated against criteria for individual hazard endpoints. For example, GHS uses numbered categories to designate hazard with Category 1 hazards being the most severe. Most of the other chemical hazard assessment methods use GHS as their base but but then provide more intuitive or descriptive ways of packaging the results. For example, a chemical that is a Category 1 Carcinogen would be ‘red’ in a stoplight communication system such as Cradle to Cradle. It would be High in the US EPA Design for the Environment Criteria for Alternatives Assessment and the GreenScreen that uses a system of Hi./Medium/Low, etc. to designate hazard levels. Hazard classifications can also be linked to the presence of chemicals on hazard lists and to GHS hazard phrases.
For example, a chemical that is listed as a Known Carcinogen according to the US National Institutes of Health would also be High or Red for Carcinogenicity in GS or C2C. The GHS system links Category levels to hazard (H) phrases. For example, a chemical that is a Category 2 Carcinogen is suspected of causing cancer would be labeled H351. And a chemical that is a H400 is very toxic to aquatic life and is Category 1 for Aquatic Toxicity. The hazard phrases associated with a chemical provide a convenient communication method. These hazard phrases can also be integrated into automated list searching schemes and accompanying software.
(Above) Example Criteria for Mutagenici./Genotoxicity from the USEPA Design for the Environment Alternatives Assessment Criteria for Hazard Evaluation
Evaluating Mixtures and Polymeric Materials¶
CHA methods provide insight into the hazards of individual chemicals. But those chemicals and hazards must also be considered in a mixture. Some hazards become diluted out and reduced in a mixture. For example, a strong acid may be very corrosive to the skin and eyes. But when diluted in a formula, it may end up as only slightly acidic and therefore not harmful. Think about vinegar or phosphoric acid in popular carbonated soft drinks.
Other hazards are treated in a more precautionary way because it is very difficult to prove that there is any safe level. For example, chemicals known to cause cancer or elements such as lead are not desirable, especially where there is any feasible opportunity for exposure. In those cases, their presence in the mixture should lead to assuming that the mixture carries the same hazards as the individual chemicals. Based on the CHA method selected and subsequent results, users of the information may choose different strategies to discriminate between product mixtures.
GHS provide a decision logic classifying the hazards of mixtures sometimes referred to as ‘mixture rules’. Classification may come from measuring the hazards of the mixture such as measuring the pH of a solution. Or they may be based on the hazard of individual chemicals as described for Carcinogenicity above and illustrated in the image below.
(Above) GHS Mixture Classification Guidance for Carcinogenicity
Image source: Revision 7 of the Globally Harmonised System of Classification and Labelling (GHS)
A product designer may choose to customize an approach to compare mixtures or polymeric materials based on hazards associated with each substance in the product. For example, they may choose to calculate the % composition of each substance in the plastic and whether or not it is a substance of very high concern (SVHC) or a GS Benchmark 1 chemical.
Alternatively they may choose to compare plastics based on the presence of chemicals with specific hazards that are relevant to the product design and how it will be used. For example, skin sensitizing chemicals would not qualify as GreenScreen Benchmark 1 but they may be undesirable for plastics used in wearable devices. Example customized criteria for mixtures and polymeric materials like plastics may include but are not limited to:
Products that contain no substances identified as Substances of Very High Concern (SVHCs) or scored as GS Benchmark 1.
Products with the lowest weight percent of SVHC or Benchmark 1 substances.
Products with no substances with hazard traits that are problematic based on how the product is used. For example, a chemical could be a skin sensitizer or highly toxic to aquatic life and not be a SVHC or Benchmark 1 chemical. Yet if skin sensitizing chemicals were used in a product that is applied to the skin or if aquatically toxic chemicals are in a product that is used liberally around boats, then those chemicals would be prioritized for substitution.
Products that do not contain SVH./Benchmark 1 chemicals AND that do not contain chemicals that have specific hazard traits such as skin sensitizers or aquatic toxicants that would negatively impact a product from a life cycle perspective.
Hazard Assessment Option 1: Hazard List Screening¶
Screening of chemicals against regulatory and authoritative lists of chemicals with known or suspected hazards can be useful as a first pass and take little time and expertise. For example, the GS List Translator links hazard lists specified in the GreenScreen method to hazard assessment classifications. Several software tools have been created to facilitate structured list screening such as the Pharos Chemical and Material Library and toxnot.com. Some industry sectors such as textile manufacturing and retail have established restricted substance lists (RSLs) for materials and manufacturing processes (MRSLs). Additional screening may be needed for chemicals on RSLs or MRSL.
The US Environmental Protection Agency Safer Choice Program has created a list of inherently lower hazard chemicals for use primarily in cleaning products. This list is called the Safer Chemical Ingredient List (SCIL). There is also a subscription-based online platform called CleanGredients that identifies commercial cleaning chemical ingredients that meet Safer Choice criteria.
Tools and Methods for Completing a Hazard List Screening: - US EPA Safer Chemical Ingredient List (SCIL) - CleanGredients - GS List Translator - ChemHat - Pharos Chemical and Material Library - Pharos Data Commons - toxnot.com
Hazard Assessment Option 2: Intermediate¶
Intermediate CHA methods limit the number of hazard endpoints considered and prescribe a limited set of data sources. The Quick Chemical Assessment Tool (QCAT) developed by the Washington State Department of Ecology builds on the DfE and GreenScreen methods and is designed for use by small and medium enterprises with limited toxicological expertise.
Tools and Methods for Completing an Intermediate Hazard Assessment: - Quick Chemical Assessment Tool (QCAT)
Hazard Assessment Option 3: Comprehensive (Advanced)¶
Full chemical hazard assessments require expert review and interpretation of the scientific literature and results from standard test methods. When data are lacking for the compound of interest, predictive models can also be used. In addition, expert chemists and toxicologists can use a method called ‘read-across’. Read-across is a structured method for using available data from a data-rich substance to predict the characteristics of a data-poor substance as long as the substances are similar enough in structure that they can be considered surrogates for each other. Read-across may only be appropriate for a limited set of characteristics.
Computer modeling based on mechanisms of action and structure activity relationships have improved in recent years with the implementation of the REACH program in the European Union which de-emphasizes animal testing. Emerging hazard screening protocols include high throughput screening such as the Tox 21 program at US EPA. In some cases, such as with high throughput screening, the science not yet used for regulatory applications. Here is a list of hazard endpoints typically assessed in a comprehensive CHA:
See California Office of Environmental Health and Human Assessment (OEHHA) for an extensive list of Hazard Traits.
Tools and Methods for Completing a Comprehensive Chemical Hazard Assessment: - Globally Harmonised System of Classification and Labelling (GHS) - USEPA Design for the Environment AA Criteria for Hazard Evaluation - GreenScreen for Safer Chemicals (GS) v 1.4 - Cradle to Cradle Material Health Assessment as part of full C2C Certification Standard v3.0
Obtaining Existing Intermediate and Comprehensive Chemical Hazard Assessments¶
In some cases, an intermediate or comprehensive chemical hazard assessment has already been completed and is available on-line. While some are available for free, others require payment to view.
Resources for Obtaining Existing Assessments: - Interstate Chemicals Clearinghouse (IC2) Chemical Hazard Assessment Database (CHAD) - free intermediate and comprehensive assessments - GreenScreen Store - mixture of free and paid comprehensive assessments - Chemical Hazard Data Commons - free comprehensive assessments alongside screening assessments - SciVera - commercial tool for screening through comprehensive assessments
A tiered approach to chemical hazard assessment¶
Ideally, comprehensive CHA reports would be readily available for every chemical; however, that is rarely the case. A pragmatic approach would entail looking first for existing publicly available comprehensive CHAs such as those in the Interstate Chemicals Clearinghouse (IC2) chemical hazard database. The next step could be list screening. Chemicals with known hazards listed by authoritative bodies can be quickly identified using list-screening tools. Chemicals not on regulatory or hazard lists may be inherently safer or may be less well-studied. In those instances, an intermediate chemical hazard assessment may be informative. If results from intermediate CHA are not definitive, a full CHA may be needed. A full CHA provides information not only on what hazards are known, but also on what is not and includes a data gap analysis.
Search for existing comprehensive CHAs
Screen using list-screening tools.
Eliminate chemicals identified as hazardous.
Screen remaining chemicals using an intermediate chemical hazard assessment method.
Eliminate chemicals identified as hazardous.
Screen remaining chemicals using a comprehensive chemical hazard assessment method.
It is possible that the chemical hazard assessment (either intermediate or comprehensive) will identify data gaps - hazard endpoints for which there simply is insuffucient data available for classification. In these cases, modeling or experiments may be necessary to understand the hazards of the chemical.
Resources for estimating hazard: - USEPA Toxicology Testing in the 21st Century (Tox21) - OECD QSAR Toolbox - USEPA Sustainable Futures Program
Using Standards & Certifications in Hazard Evaluation¶
Several certification programs exist that evaluate materials for hazard and either score them or subject them to pa./fail criteria. Each program uses different concentration thresholds for reporting and scoring that may be more or less protective and precautionary. Examples include:
Cradle to Cradle (C2C) Certification: Products are certified from high to low as platinum, gold, silver, bronze or basic. Each product is evaluated for Material Health based on their toxicity and feasible exposure. The C2C method evaluates products in five categories, i.e. Material Health, Material Reutilization, Renewable Energy & Carbon Management, Water Stewardship and Social Fairness. However, the Material Health category can be used as a standalone method. Learn more about the C2C Certification program.
The DfE Safer Choice Program: The US EPA provides guidance to evaluate chemicals and their degradation products for potential impacts on human health and the environment as part of EPA’s Safer Choice Program. A product that contains ingredients that pass all requirements qualifies for the Safer Choice label. The program was rebranded from Design for the Environment (DfE) to Safer Choice; some resources may still refer to it as DfE. Learn more about the EPA Design for the Environment Program.
GreenScreen for Safer Chemicals v1.4 was recently updated with a mixture assessment procedure. The new procedure assesses the hazard of all ingredients and provides a process to generate an overall mixture Benchmark score. Benchmark scores for mixtures are distinguished from Benchmark scores for individual chemicals. Much of this procedure is based on GHS mixture rules. Learn more about the updated GreenScreen for Safer Chemicals assessment procedure.
The Globally Harmonized System of Classification and Labelling (GHS) provides rules for classifying chemical mixtures using a combination of concentration thresholds and hazard types. Test data for the mixture may be used. Alternatively, individual ingredients may be classified for hazard and an algorithm used to calculate an overall hazard classification. As noted previously, one limitation of GHS is that it does not include classification criteria for endocrine disruption, persistence and bioaccumulation that is needed to identify some SVHCs. Learn more about GHS.
Example¶
Senior engineering students at Gonzaga University evaluated four clamshell food takeout containers using alternatives assessment: polypropylene with talc, polystyrene, poly lactic acid (PLA) and waste fiber. The students researched the identities of likely additives and residuals based on literature reviews and discussion with polymer chemists. They obtained information from the manufacturers of the PLA and waste fiber products on the presence (or absence) of additives. The students decided to evaluate the polymeric material at the use stage including residual monomers and any performance additives. They also considered potential combustion products produced at the end of life stage based on the likelihood that in Spokane, the containers would be incinerated.
The table below, taken from the full report, shows how a chemical inventory revealed a number of additives in the four take-out containers. The students used QCAT, GSLT, and publicly available GreenScreen reports to evaluate each ingredient for potential hazards.


A set of utilities for working with JavaScript syntax in R. Includes tools to parse, tokenize, compile, validate, reformat, optimize and analyze JavaScript code.
| Version: | 1.1 |
| Imports: | V8 (≥ 0.5) |
| Suggests: | knitr, rmarkdown |
| Published: | 2017-07-28 |
| Author: | Jeroen Ooms |
| Maintainer: | Jeroen Ooms <jeroen at berkeley.edu> |
| BugReports: | https://github.com/jeroen/js/issues |
| License: | MIT + file LICENSE |
| URL: | https://github.com/jeroen/js |
| NeedsCompilation: | no |
| Materials: | NEWS |
| In views: | WebTechnologies |
| CRAN checks: | js results |
| Reference manual: | js.pdf |
| Vignettes: |
Working with JavaScript Syntax in R |
| Package source: | js_1.1.tar.gz |
| Windows binaries: | r-devel: js_1.1.zip, r-release: js_1.1.zip, r-oldrel: js_1.1.zip |
| OS X binaries: | r-release: js_1.1.tgz, r-oldrel: js_1.1.tgz |
| Old sources: | js archive |
| Reverse suggests: | ChemoSpec, exCon |
Please use the canonical form https://CRAN.R-project.org/package=js to link to this page.


The concept¶
The principle is quite simple. The client sends a POST request, whereby the data is some JSON record, depending on what numaplot is required to do. The post method of the class (handling the request) will return a unique id (uuid4) to the client and delegates the task to a corresponding handler (e.g. py-gnuplot). The client may then get the results by using the uid in a GET request (e.g. using a web-browser or by a request library, whatever).
For the implementation of the HTTP server we will use the excellent web.py:
web.py is a web framework for Python that is as simple as it is powerful. web.py is in the public domain, you can use it for whatever purpose with absolutely no restrictions.
Instead of tiresome explanations we will show the mechanisms by commenting the skeleton module below. Although, most lines are self-explaining.
import web
from uuid import uuid4
STORAGE = dict() # global storage
urls = ( # pairs, meaning 'URL', 'CLASS called'
'/', 'Index',
'/gnuplot(.*)', 'GnuPlot'
)
app = web.application(urls, globals())
class Index: # just returns the string 'INDEX\n'
def GET(self):
return 'INDEX\n'
class GnuPlot: # fake class; called when requested
# http://localhost:8080/gnuplot/xyz
def GET(self, uid): # uid = /xyz from example url above
if not uid:
return('ERROR')
else:
if STORAGE.__contains__(uid): # if POST generated key=uid
# then return the value
return(STORAGE[uid])
else:
return('ERROR')
def POST(self,cmd):
data = web.input() # data submitted
uid = str(uuid4()) # generate uid
save = dict()
save.update({'post': data}) # save 'data' with key 'post'
STORAGE.update({'/'+uid: save}) # update global storage
return(uid) # return uid to the calller
def main():
print("numaplot V 0.1")
print("Press Ctrl-C to terminate.\n")
app = web.application(urls, globals())
app.run()
if __name__ == "__main__": main()
Before starting the server we need a client. In Python we canuse the requests library:
import requests
url = 'http://localhost:8182/gnuplot?myvar=12'
payload = {'code': 'lorem', 'id':'ipsum'}
r = requests.post(url, data=payload)
print(r.content)
Now we start the server
python numaplot.py 8182
numaplot V 0.1
Press Ctrl-C to terminate.
http://<IP_ADDRESS>:8182/
Note that we have chosen the port 8182
. Default (i.e if omitted)
is 8080
.
Starting the client
python reqcli.py
b'93de627a-cac1-44f1-8915-74c0e2b39e22'
returns the uid
. With this we can get the output
by a GET
request (in this case firefox):
http://localhost:8182/gnuplot/ef58741d-60f8-4f17-8774-8d56a6260884
and you will/should see
<Storage {'myvar': '12', 'id': 'ipsum', 'code': 'lorem'}>
in a webpage. Notice that the variable myvar from the URL suffix
?myvar=12
will be stored as well.


{% extends "story.html" %} {% block title %}Mission 5{% endblock %} {% block head %}{{ super() }}{% endblock %} {% block body %} {% block nav %} {{ super() }} {% endblock %}
Navigate yourself to: Cloud services. Here you need to accept the terms of use for both your Google and Microsoft office accounts. These go through things that you are not allowed to do with your account and it is really important that you actually go through them. Once you have read through the terms and accepted them, you will have to wait for two hours or more for your accounts to be activated. Instead of waiting for that, mark yourself complete.
{{ xp }}
Story progress


Katy Duncan is a fullstack web developer and a general tech enthusiast.
After graduating from the University of Chicago with a bachelor's in Math, she worked in finance for a couple of years in Chicago before getting an opportunity dance ballet professionally. Throughout her life she had maintained a personal interest in computer programming, dabbled in a few computer sciences classes in college, and continued to imagine that one day she would find herself an active participant in the tech world. After moving to Palo Alto, CA she found herself in the land of opportunity and could not stand to wait in the sidelines any longer. Since completing an extremely intense and rigorous web development bootcamp/training program she has been thrilled to be able to explore her passion in programming, software engineering, and web development. Her current languages/technologies of choice are Ruby on Rails, JavaScript, and Python, but she continues to learn about and explore new languages as often as possible.
RailsBridge
Women Who Code
JavaScript Grandmasters


Here's a weekly update on the projects and tasks at οχλος with contributor leaderboards.
If you have your own collective intelligence tasks you'd like run or have any feedback on how to improve the site, please let me know.
James Tauber
<EMAIL_ADDRESS>There are {{ task.items_count }} item{{ task.items_count|pluralize }} in this task. In total, {{ task.participant_count }} {{ task.participant_count|pluralize:"person,people" }} {{ task.participant_count|pluralize:"has,have" }} participated in this task so far, answering {{ task.total_questions_answered }} question{{ task.total_questions_answered|pluralize }} covering a total of {{ task.distinct_items_answers }} item{{ task.distinct_items_answers|pluralize }}.


ussr.comm
Class GenericTransmitter
java.lang.Object
ussr.comm.GenericTransmitter
- All Implemented Interfaces:
- Transmitter
- Direct Known Subclasses:
- IRTransmitter, RadioTransmitter, WiredTransmitter
public abstract class GenericTransmitter
- extends java.lang.Object
- implements Transmitter
An abstract implementation of the Transmitter interface. Provides a transmission device
for a module associated with a specific simulated hardware, using a specific type of transmission
and with a given transmission range.
- Author:
- Modular Robots @ MMMI
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
module
protected Module module
type
protected TransmissionType type
transmitManager
protected ussr.comm.GenericTransmitter.GenericTransmitManager transmitManager
range
protected float range
GenericTransmitter
public GenericTransmitter(Module _module,
Entity _hardware,
TransmissionType _type,
float _range)
GenericTransmitter
public GenericTransmitter(Module _module,
TransmissionDevice _transmitter)
setMaxBaud
public void setMaxBaud(float maxBaud)
- Specified by:
setMaxBaud
in interface Transmitter
setMaxBufferSize
public void setMaxBufferSize(int maxBufferSize)
- Specified by:
setMaxBufferSize
in interface Transmitter
send
public void send(Packet packet)
- Description copied from interface:
Transmitter
- Send a data packet on the transmission device
- Specified by:
send
in interface Transmitter
- Parameters:
packet
- the data to send
isCompatible
public boolean isCompatible(TransmissionType other)
getType
public TransmissionType getType()
- Description copied from interface:
Transmitter
- Get the transmission type implemented by the transmitter
- Specified by:
getType
in interface Transmitter
- Returns:
- the transmission type
getHardware
public PhysicsEntity getHardware()
- Description copied from interface:
Transmitter
- Get a reference to the simulated hardware entity that represents the transmission device
- Specified by:
getHardware
in interface Transmitter
- Returns:
- the simulated hardware of the transmitter
withinRangeCount
public int withinRangeCount()
- Description copied from interface:
Transmitter
- Counts the number of communication channels that are within communication range
- Specified by:
withinRangeCount
in interface Transmitter
- Returns:
- number of communication channels within range


Books App
Book List
Create Book
Login
Books
Update
Delete
Title
Author
ISBN
Image URL
Description
Submit
Title
Author
ISBN
Image URL
Description
Please enter your pass phrase
Verify
Error


Jdon Framework DocumentTable of Contents
Before Domain-Driven Design(DDD) appears , business logic was directly implemented by technical component , such as a service or a action and so on. these model objects were all anaemia model (The Biggest Flaw of Spring Web Applications), anaemia model just is a data collection, and Service components drive the anaemia models to complete some business logics. this model was called "Transaction script". Domain-driven design (DDD) is different from traditional script. all domain logics are in Domain model, Domain model drives technical components to do technical something that not about business, domain model is like DNA. So DDD architecture can focus on business domain model that is easy to understand, in the mean time, domain model also makes our software systems more scalable,and be better performance. DDD is an approach to developing software for complex needs by deeply connecting the implementation to an evolving model of the core business concepts, servral concepts are the Heart and Soul of OOD, these concepts you must understand before using jdon: Bounded context Aggregate Root Entities and Identity, Value Objects
In Memory Domain modeldomain model mainly includes the Entity,Value Object and Service that all focus on the business domain,it is nothing to do with the concrete technical implementation. but we need let them living in the technical system. In Jdon Framework, these domain models are marked with the @Model annotation, so they are in memory and send asynchronous events or message to the consumers .
DomainCacheInterceptor is between domain layer(domain model live in this layer) and repository layer, when we fetch a domain model(@model) from repository layer, DomainCacheInterceptor will intercept the invocation(locate the method such as "get*()"), and check the model object if be in the cache,if that is,DomainCacheInterceptor just return the cached Model object ,or else it will put the model object retrieved from repository/persistence datasource into the cache.
CacheInterceptor only work when you use jdon-struts: "CacheInterceptor" is between the presentation layer and business layer,when the presentation action invoke the "get*()" method of business service,the CacheInterceptor will intercept the invocation,it first checks that whether the domain model object already is the cache,if the model object is not in cache,CacheInterceptor will invoke the next interceptor which is in the interceptor chain,and finally the model object will be fetched from persistence datasource,the CacheInterceptor will gain the fetched model object and put it into the cache. how to let model in memory?jdon provides some annotations to assist developer to do that, at first you must annotate @Model with your Aggregate Root Entity that can be accessed from outside such technical components: @Model
public class MyModel {
private String userId;
private String name;
....
}
MyModel is a Aggregate Root Entity inside a bounded context. you can't create the entity object by "new MyModel()", only fetch it from repository, so jdon provides some annotations to configure in repository. Second step: configure in repository @Introduce(“modelCache”) is annotated in repository class: there are three annotations: @Component @Introduce and @Around. @Component is for normal components(technical or application), any class with @Component can be managed by IOC container. Jdon Ioc container is based on pico container, only supports class construt injection. @Introduce is about aop interceptor, that means introduces a interceptor into here(at front of the class instance), the interceptor name is modelCache that configured in aspect.xml packed with jdon. if you don't like the name ("modelCache"), you can modify it in aspect.xml . @Around is the target method that will be intercepted. target method can be like "getXXX" or "findById"(jdon allows any method name), and its return class type must be the entity annotated with @Model(this is a jdon constraint). in the mehtod annotated with @Around, you can fetch the model from Relation or NoSQL Database, you can use JDBC or other ORM ( JDBC is recommended). you can use jdon -jdbc lib. finally we can find a model(@Model) by these code: MyModel myModel = repository.getModel(new Long(100)); myModel object is actual proxy instance that created by our interceptor "modelCache", when you first times got it, "modelCache" will locate it in Cache, if miss it will load it from your repository, if hit it directly return the myModel. when you got a myModel, you can invoke its any methods, but if you call a method with(@Oncommand), it is different with direct method invoking.
Command and EventCommand or Event is a communication way between domain model and components, at first we need know how much components type there are in jdon. Basic componentsThere are five components model in Jdon Framework, they are: 1. Entity Model with @Model;
2. Service with @Service;
technical component
3. Component with @Component ;
technical component
4. Prodcuer-Consumer mode with @Send @Consumer;
5. Interceptor with @ Interceptor, need with @Introduce;
All in com.jdon.annotation.*
As mentioned above,Jdon Framework seperates the application architecture into two parts:Domain models and technical components . so these two components are our basic. we will often use them. Domain model is annotated with @Model , it is a aggregate root entity in a bounded context, you can got them using DDD. Component annotated with @Component is others except domain model. include technical or application, they lives in the IOC container. can autowiring injected each other by their constrution. dependency injection is tight coupling although it is better than inheritance, we can use loose coupling producer-consumer mode. Any invoking between aggregate root(AR) and Component must use producer-consumer mode. that keeps our business logics are loose coupling with technical infrastructure, these is a core function of jdon. Service annotated with @Service is mico service that represents bounded context, or a DDD service that across multiple entities. Service also like other components live in Ioc container, it can be @stateful or @poolable. Now we know: domain models(@Model) lives in the cache ,and the technical components(@Service/@Component) lives in the IOC container. their communications are producer-consumer. Component's lifecycles management is also important,jdon use pico container to manage their lifecycles, the container is also holded in the context container such as the ServeltContext or your application root. you can use @Inject to inject component into domain model. but it is only for introducing domain events, not recommended for other usage.
differnce with Command and EventWhen a Component/Service sends messages to a Domain Model(aggregate root), we call the message is a command, and when a domain model send message to a Component, it is reactive a event.: A command actions the behavior(startMatch) of a aggregate root(domain model), and a event happend in this behavior, the event will be sent to another aggregate root or a Component that maybe save it to repository. Jdon provide four kinds of asynchronous concurrency communication(Producer/Consumer) with these two models. 1. Component -----> model 2. model ------->Component 3. Compponent ------> Component 4. model------> model
Commandin a typal Web application , we have this flow: UI ---Command---> a aggregate root(AR) ---Events -->Component: A command will change a state in a AR, but in a web application there are many concurent request, contention will happen, There is a lot of research in computer science for managing this contention that boils down to 2 basic approaches. One is to provide mutual exclusion to the contended resource while the mutation takes place; the other is to take an optimistic strategy and swap in the changes if the underlying resource has not changed while you created the new copy.(see details: Single Writer Principle) contention: Blocking (lock ) mutual exclusion: Noblocking single writer: Jdon provides a nonblocking single writer to change AR's state, LMAX disruptor is its Infrastructure， if a AR's method annotated with @OnCommand , it is a action for command from UI. only a single thread call the method. @Model private int state = 100; @OnCommand("CommandtoEventA") //update root's state in non-blocking single thread way (Single Writer) . . } } this AggregateRootA is a Consumer, Producer is in Service or CommandHandler: Producer:
@Send("CommandtoEventA") Producer emits message to its Consumer by a asynchronous and non-blocking queue made by LMAX Disruptor's RingBuffer. @Send("CommandtoEventA") ---> @OnCommand("CommandtoEventA") client code: AggregateRootA myModel = repository.getModel(new Long(100)); AService aService = webappUtil.getService("aService"); aService.commandA("100", myModel, 200);//change AggregateRootA state to 200;
this invoking way is thread safe, and have high througout and lower lantency, it is like Actors model in Scala, or like Netty's IO. it is nonblocking and asynchronous. in these mode, there are two kinds of Consumer in jdon: @Send --> @OnCommand (1:1 Queue) difference between 'OnCommand' and 'OnEvent' is: when a event happend otherwhere comes in a aggregate root we regard this event as a command, and it will action a method annotated with @OnCommand, and in this method some events will happen. and they will action those methods annotated with @OnEvent.
Domain EventsDomain Events is that events that happend in domain, wo can call it is reactive event. Domain Events is essential to solve the interaction between the domain model and the technical component,Jdon apply domain events pattern to make domain model less coupling with technical components. domain events will react when a command comes in :
As the above diagram description,when Command comes in domain models trigger some domain events,the domain event will generate proper domain message,at last the messageListener will treat with the event,and assist with some operations infrastructure such as saving DB. Because a command will react a domain event, so if we saving these domain events, be equals to saving those commands, and later we can replay these events, this is called Event Sourcing, there are some EventSoucing database (functional database/Event Store, such as GETEventStore). Domain Event have Producer-Consumer(1:1) and Publisher-Subscriber(1:N) patterns: Domain Model is a producer; it send events or message to Consumer: @Send(topicName) => @Consumer(topicName); if there are many consumers, their started order is by their class name's alphabetical . such AEventHandler is first be reaction; and then BEventHandler and CEve....... How to use Domain Events
When you fetch a MyModel instance from service or repository, because of @Inject, CacheInterceptor or DomainCacheInterceptor will inject MyModelDomainEvent into the MyModel instance,When injecting the MyModelDomainEvent, jdon find MyModelDomainEvent class has annotation with @Introduce("message") , then will at first load MessageInterceptor(in aspect.xml message=MessageInterceptor),and last return a proxy instance . When we call myModel proxy instance, such as invoke its method "myModel.getName()", the MessageListenner will intercept our invocation,it will choose proper means to drive the MessageListner to response invocation request. full domain events example is in here:DDD CQRS EventSourcing example source: football Match wo can use domain events to model the requirement, see CES:Context Event and State and Model Storming
Producer/ConsumerJdon provide four kinds of asynchronous concurrency communication(Producer/Consumer) with these two models. 1. Component -----> model (that is a Command) 2. model ------->Component (that is a event) 3. Compponent ------> Component (that is event) 4. model------> model (commands and events) here is Summary: 1. Component => ModelComponent(producer with @Component) -- > Model(consumer with @Model) this mode is for CQRS's Command, one command is sent from UI, and sent to one aggregate root, one command has one action on the method of the aggregate root. this mode works. in this mode producer:consumer can only be 1:1, one command can only be sent to one method of one domain model. The A in this sample is a producer with @Component:
the method "ma" annotated with @Send must have a method parameter:BModel that annotated with @Model, that means send a command message to this domain model , the model is a receiver for a command, so must annotate with @Receiver.
the topic name "CommandmaTest" is unique; because producer : consumer is 1:1. one command has one action(onCommand). @OnCommand is annotated on the method of consumer. the procuder(AICommand) 's ma method commands the consumer(BModel)'s save method. AICommand is a Component and BModel is a Model. below is the client code:
it output: send to BModel =oneok 5 above source in :https://github.com/banq/jdonframework/tree/master/src/test/java/com/jdon/sample/test/command in this mode the component receives any commands from UI or others events, and handles them to a aggregate root : UI ------->commandHandler(@Component) ------>aggregate root model in this mode, @Model is a actor and representing Aggregate Root , the state of aggregate root is changed by only single thread, it is threadsafe. and no blocking and no lock, like Actors mode of AKKA or ERlang, or like Node.js EDA. instead of 2PC or JTA, this mode can make transaction work well in high throughput way. When we apply Jdon in a web application, the system works something like this:
2.Model => ComponentModel(producer with @Model) -- > Component(consumer with @Component) After a agrregate root (domain model) receive a command , and it will reactive a event that can be sent to a Component or another aggregate root. we call it is domain events. we can inject a Component(with @Component) into a agrregate root that acts as a producer. the domain model code:
we inject MyModelDomainEvent into "MyModel" with @Inject, the injected object "MyModelDomainEvent" is a Component:
MyModelDomainEvent is annotated with @Introduce("message"), in this producer class there are two topic that means two kinds of domain events. let's see how to implement a consumer for a domain event. the consumer is too a Component, see below:
FindNameListener is annotated with @Consumer, not @Component, this is another consumer style, when using @Consumer, we need implement a interface DomainEventHandler, and implement its method onEvent, if we using @Component, we need use @OnEvent together. above consumer is for the producer @Send("MyModel.findName"), another consumer for this producer @Send("saveMyModel") of this sample uses @Component and @OnEvent:
this consumer is a class RepositoryImp that it is a Repository of DDD, and it also fetch a aggregate root from repository, @Introduce("modelCache") and @Around enable in-memory cache before the database. only when there is no the model object in cache, it will got from the database. @Introduce("modelCache") and @Around is necessary for using jdon framework. if not use them, any domain events will disable. another way,we can call com.jdon.domain.dci.RoleAssigner assignAggregateRoot method to let any normal object be act as a aggregate root. the in-memory cache make Aggregate Root living in memory, you can configure any cache product(ehcache, Redis ) for it. ensure 'hot' entities are kept in memory for performance. we have known about two interactive modes between Component and aggregate root, if using these two modes in a aggregate root, it can be regarded as a Actors mode like Akka or Erlang:
above sources: https://github.com/banq/jdonframework/tree/master/src/test/java/com/jdon/sample/test/domain/simplecase
3.Component => ComponentComponent(producer with @Component) -- > Component(consumer with @Component) in this mode there are two ways: 1. dependency inject 2. producer and consumer based on Event. Dependency inject is like IOC, Jdon only supports class construtor inject:
after B was injected into A, A can directly invoke any B's method. another way is more loose couple,between A and B there are communicates through asynchronous& non-blocking message passing . The A in this sample is a producer with @Component:
The B in this sample is a consumer with @Component, and its consumer method must be annotated with @OnEvent,
the value "maTest" of @OnEvent must be same as the value of @Send. and the return type "TestEvent" of the method with @Send must be same as the input paramter type of the @OnEvent, so the producer can handle a object to the consumer. if the consumer want to return a result to the producer, recommend to use method setEventResult of com.jdon.domain.message.DomainMessage, and the producer can fetch the result by its getBlockEventResult() or getEventResult(), getBlockEventResult() can block until get the result.
Test client code:
output: [junit]<EMAIL_ADDRESS>above codes is fromhttps://github.com/banq/jdonframework/tree/master/src/test/java/com/jdon/sample/test/event
4.Model => ModelModel(aggregate root A) -- > Model(aggregate root B) Aggregates
are
always
internally
consistent, and Aggregates"eventually
consistent" with
each
other.
– Asynchronous when a aggregates root want to cal another aggregates root , it only can be implemented by domain events, a output event act as a input command for another aggregates root. this mode consists of three modes above: 1. Aggrgate root A reactive a event to a Component (model ---> Component) 2.the Component transfer the event to a command for Aggrgate root B (Component ---->Component) 3.the command will be sent to Aggrgate root B (component -->model) this mode's source code is in Github: https://github.com/banq/jdonframework/tree/master/src/test/java/com/jdon/sample/test/cqrs
DCIDCI: Data, Context, Interactions is a programming paradigm invented by Trygve Reenskaug. the domain model is a Data, the domain events producer is a Role of DCI, it includes the interactions of DCI. Jdon Framework's domain model injection function can inject the role into the domain model, such as above the class UserDomainEvents is a Role, it can be injected into the model UserModel.so it help UserModel implements business function ComputeCount. In runtime, The Role UserDomainEvents will be injected into the Data UserModel.
AOPUsing the DDD,It is the domain models drive the technical components to finish the business logics,and in this design style,the components are just the assistants,which assist the domain models to complete the business operations.So how the domain models gain the needed components,Jdon framework use the @Inject and @Component to inject components and the domain events into models. As the followed diagram illustrates ,when client invoke the getA("a"),if Model A with a Introduce,the A will be enhanced,and the technical component C will also be injected into the A ,at the same time,when inject the B,the B will also be enhanced for the @Introduce.
So your mycontainer.xml file and myaspect.xml file must be put in WEB_INF directory in your web application, yet file names could be arbitrary. In User-defined configuration file, corresponding settings in container.xml and aspect.xml could be overwritten; however the setting name should be the same.
How to integrate Jdon Framework with Spring
Ioc container
The great thing about Jdon is it helps you replace them((even you can replace jdon itself!). All framework components include framework infrastructure objects are be managed by a micocontainer made by Picocontainer, you can insert or change any components by change the xml configuration files(such as container.xml/aspect.xml/jdonframework.xml), you can also replace Jdon framework's infrastructure components(this is a strongpoint). Jdon framework will make your components. the infrastructure components or POJO services collaborate with each other via dependency injection. When you have hundreds of components/POJO services, Jdon's autowiring function will take care of their invocation relation. Interceptor : Service/Componet: XML : in jdonframework.xml (container.xml) there is such service configuration:
in code, we can get the service instance by below mode:
Jdon defines four service models: component instance that is singleton, service instance that can be pooled about Choice with Annotaion and XML in Ioc container:XML in IoC containers: A Hell or A Realm? Service Annotaion @Poolable: get a instance from the class's object pooing, Object Pooling - Determinism vs. Throughput RAD Tool(jdon-struts1x) Keep deliberately simple, yet still very powerful, so that your code is kept simple. Jdon provides a fast development way for model's CRUD(create/read/update/delete) , in presentation layer, in general, you don't need any code, only configure MVC Process in the jdonframework.xml:
Jdon's presentation layer is based Struts 1.2, so Jdon will generate Action instance at running time. Multi page query function can be accomplished quickly by Jdon, Jdon provide the multi-page taglib, JDBC template, and Model's cache optimization. Use Jdon, you can develop a small system in several minutes, here is the system demo:http://www.jdon.com:8080/testWeb/ Step by Step develop a Jdon application with jdon-struts1x
Componentsneed two annotations(@Service or @Component):difference between @Service and @Component is that the @Service class must have a interface then can be called by outside client beyond jdon.
the client in servlet or action call the service's code: HelloService helloService = (HelloService) WebAppUtil.getService("helloService", req); all source in JdonFramework/examples/testWeb More Annotation @Poolable: get a instance from the class's object pooing, Object Pooling - Determinism vs. Throughput
XML configurationWe called a class instance invoked by client (Servlet/Jsp/Action) as below.
"testService" is the class name of "TestService". it should be configured in jdonframework.xml
Not all of classes are servered for the client directly (jsp/Servlet), that is to say some classes are not invoked by jsp/servlet or presentation frame layer, but invoked by service classes, these kinds of class we called component class annotated as component in configuration file. Note: in EJB framework, component class is managed by EJB container, so you do not need to any configuration in JdonFramework any more.
<pojoService name="your service name " class="full class "/> or @Service("your service name") "class" is the class full name, include the package; "name" can be any text that will be used in our client code. if we have a class TestServicePOJOImp as below:
when we finished these codes, we need create a XML file that named jdonframework.xml under project source directotry:
at last, if we invoke TestServicePOJOImp in client code such as Jsp/Servlet or struts action,the invoking code as below:
so the good point is that: if we replace TestServicePOJOImp with AnotherTestServicePOJOImp , only need modify jdonframework.xml, not need change our client codes. thera is another big good point that Ioc or DI means Dependency Injection, maybe you have find a details about TestServicePOJOImp that it has a constructor method: public TestServicePOJOImp(JdbcDAO jdbcDao) { if we donot create the JdbcDAO instance, how can we create TestServicePOJOImp instance?don't worry, the framework help us and it do these, but we need add a new configuration item in jdonframework.xml, as below:
until now, you maybe have understand JdonFramework what to do.
How starting the framework?If there is no xml, all are annotation, no need this step. there are two ways to starting the framework in our web project. first way: web.xml configuration:
second way: struts-config.xml(you must know struts 1.2)
if not used in Web , can be used in java Application, see below: ClientClient not only Servlet or Jsp or other Web Framework,:
or
but also can be a Java Application.
Source :com.jdon.SampleAppTest
How to compile and deployMaven pom.xml: <dependency> if you would like to use jdon's CRUD function based struts1.x(such as jdonframework.xml), add ：
if you would like to use Jdon's jdbcTemp, add：
full pom.xml
jdon old version :How to develop Struts-Jdon-JDBC Application Command patern for calling services Struts + Jdon + Hibernate video
BlogDDD DCI and Domain Events examplehow to enhance Jdon framework to DCI framework ?Immutability is everythinghow to easily develop a non-blocking concurrent application ?
|
|


Click here to download this week's dataset as a CSV
Click here to download this week's dataset as a Hyper Extract
Click here to visit this dataset on Data.World to download flag shapes for use in Tableau
Historical Background
This is a pretty simple dataset this week. As we get ready to celebrate our Independence Day this Wednesday, we wanted to look at the history of one of the icons of this great nation - our flag. The first official flag adopted by the 13 Colonies as they began the fight for independence, employed the Union Jack of Great Britain and 13 alternating red and white stripes representing the 13 colonies. While the first 'American Flag' this was far from the first flag used by the Patriots. While there were many famous flags that represented the cause of the Patriots - from the Gadsden Flag with it's well-known "DONT TREAD ON ME" admonishment to the Flag of New England and the Flag of the Son's of Liberty - the one thing they all lacked was a unified look and feel.
The Grand Union Flag got things rolling until the Flag Act of 1777 was passed on June 14. Legislation passed that day, now celebrated annually as Flag Day, defined in very loose terms the design of the basis for the American Flag we know today:
"Resolved, That the flag of the thirteen United States be thirteen stripes, alternate red and white; that the union be thirteen stars, white in a blue field, representing a new constellation."
With legislation setting very loose bounds for what the flag should look like, several interpretations were put forth on the "constellation," with many of them being used across the nation. Both rectangular and round configurations of stars were popular throughout the 1800's, the Army and Navy favored standardized rectangular patterns, setting the stage for the Flag Act of 1912 to define the star patterns going forward.
Our dataset this week looks at the major flags in the history of the United States. We've made the decision to exclude Confederate flags from the dataset, including only the United States flag from that period. Additionally, we've excluded some of the one off centennial and bicentennial designs where the stars were replaced with 1776 and other imagery.
We hope you have a great Fourth of July. If you'd like to get patriotic with your own viz, download the dataset and publish your work to Tableau Public, and Twitter with the hashtag #ThrowbackThursday, tagging @TThrowbackThurs. We'd really love to see what you can come up with!
Data Source
The dataset this week was sourced from Wikipedia. Please be sure to cite the source on your viz.


Vogel hails unique Davis as Lakers roll on
by OmnisportLos Angeles Lakers coach Frank Vogel hailed Anthony Davis and claimed "there is no-one like him in the NBA" after the power forward inspired his side to a 130-127 victory over the Oklahoma City Thunder.
Davis poured in 33 points and claimed 11 rebounds as the Lakers extended their winning streak to six games.
LeBron James played a typically key role with 23 points but it was Davis that caught Vogel's eye.
He said: "There's no-one like him in the NBA. That's how unique it is.
"And the amount of the ways he impacts the game, both at the basket and shooting the three-ball - four threes, two four-point plays tonight - and elite defence all over the place. It's something special."
Davis was four-for-seven from three-point range, after going three-for-five from similar distance on Tuesday. Prior to that he was just eight-for-32 from beyond the arc and he credits the turnaround to a more instinctive approach.
"Coach told me to stop hesitating." Davis said. "When I hesitate, I'm going to come up short or [have] a bad miss. I feel like if I'm open I'm going to shoot it. No hesitation. And seems to go in a lot more when I'm not hesitating."
James added: "We want him to take more threes.
 And he's been doing that the last couple games."


boost::process::stream_behavior — Describes the possible states for a communication stream.
enum stream_behavior { close_stream, inherit_stream, redirect_stream, silent_stream };
Describes the possible states for a child's communication stream.
close_stream
The stream is closed and hence the child process will not be allowed to access it.
inherit_stream
The child inherits the parent's handle for the data flow, thus effectively sharing it between the two processes.
redirect_stream
The child is connected to the parent so that they can send and receive data through the stream.
silent_stream
The child's stream is redirected to a null device so that its output is lost. It is important to see that this is different to close_stream because the child is still able to write data. If we closed, e.g. stdout, it's most likely that the child couldn't work at all!
| Copyright © 2006 Julio M. Merino Vidal |


Fields
- Mathematics
- cryptanalysis
- logic
- computer science
- mathematical
- theoretical biology
ALAN MATHISON TURING
Alan Mathison Turing was a pioneering English computer scientist, mathematician, logician, cryptanalyst and theoretical biologist . He was highly influential in the development of theoretical computer science, providing a formalisation of the concepts of algorithm and computation with the Turing machine, which can be considered a model of a general purpose computer. Turing is widely considered to be the father of theoretical computer science and artificial intelligence.
During the Second World War, Turing worked for the Government Code and Cypher School (GC&CS) at Bletchley Park, Britain's codebreaking centre. For a time he led Hut 8, the section responsible for German naval cryptanalysis. He devised a number of techniques for breaking German ciphers, including improvements to the pre-war Polish bombe method and an electromechanical machine that could find settings for the Enigma machine. Turing played a pivotal role in cracking intercepted coded messages that enabled the Allies to defeat the Nazis in many crucial engagements, including the Battle of the Atlantic; it has been estimated that this work shortened the war in Europe by as many as four years.
The Imitation Game
Turing was prosecuted in 1952 for homosexual acts, when such behaviour was still a criminal act in the UK. He accepted treatment with DES (chemical castration) as an alternative to prison. Turing died in 1954, 16 days before his 42nd birthday, from cyanide poisoning. An inquest determined his death as suicide, but it has been noted that the known evidence is equally consistent with accidental poisoning. In 2009, following an Internet campaign, British Prime Minister Gordon Brown made an official public apology on behalf of the British government for "the appalling way he was treated." Queen Elizabeth II granted him a posthumous pardon in 2013.


libcsce.typing module¶
- libcsce.typing.CobaltStrikeSource¶
Type for sources that Cobalt Strike configs can be parsed from.
alias of
Union
[bytearray
,bytes
,pathlib.Path
]
- libcsce.typing.ConfigBuffer¶
Type for buffer containing bytes of an extracted Cobalt Strike config.
alias of
Union
[bytearray
,bytes
]
- libcsce.typing.ConfigSourceBuffer¶
Type for data read from a
CobaltStrikeSource
.alias of
Union
[bytearray
,bytes
,mmap.mmap
]