2 Question N° 02
Create an executable class called CircleAreaUserInput which calculates the area of a circle:
- The radius of the circle shall be entered by the user
- BufferedReader, Scanner
- Exception Handling (readLine() method)
- String to Integer conversion
I implemented and set the variables constructor in the constructor of the class. Secondly, I use the java.util.Scanner to get user input and RegEx to test if the information enter for the user is a number. Finally, I created a method CircleAreaUserInput.print to display the results.
/** Executable class to calculate the area of any circle*/
import java.util.Scanner;
public class CircleAreaUserInput {
Double circle_area;
// Create the constructor
public CircleAreaUserInput() {
// Scanner is class which permit us get user input
Scanner scanner_obj = new Scanner(System.in);
System.out.print("Enter the radius of the circle in meters: ");
// Read user input
String radius_str = scanner_obj.nextLine();
// Is radius_str non-numeric?
if (!isNumeric(radius_str)) {
// Use the "throw" statement to throw an exception
throw new IllegalArgumentException(
"The radius enter is not an number!"
);
}
// Is radius negative?
Double radius = Double.parseDouble(radius_str);
if (radius < 0) {
// Use the "throw" statement to throw an exception
throw new IllegalArgumentException(
"The radius enter is negative!"
);
}
// Calculate the area of the circle
circle_area = Math.PI*radius*radius;
}
// Evaluate if string is a number with RegEx.
private static boolean isNumeric(String str) {
return str.matches("-?\\d+(\\.\\d+)?");
}
public void print() {
System.out.format(
String.format(
"The area of the circle is: %.4f m²\n",
this.circle_area
)
);
}
public static void main(String[] args) {
CircleAreaUserInput circle_case = new CircleAreaUserInput();
circle_case.print();
}
}
Results:
##
## Enter the radius of the circle in meters: 24
##
## The area of the circle is: 1809.5574 m²
##


Culture is visual-simulation terminology for all the things that appear on the terrain - including buildings, roads, and vegetation. Enviro provides a number of ways of loading culture objects, interacting with them, and in some cases creating, editing and saving them.
Roads
Roads are loaded at the point a terrain is loaded. You can tell Enviro which file contains your Road data in the Terrain Parameters dialog. You can view, but cannot (yet) interact with Road data.
Vegetation
Vegetation (plants) are loaded at the point a terrain is loaded, or at runtime. You can tell Enviro which file contains your Vegetation data in the Terrain Parameters dialog.
Creating - You can create plants using the Plants Dialog. Menu command is "Tools: Plants", or the toolbar button that looks like a tree. Use the dialog to select what kind of plant you want, then click on the terrain to create the plant.
Editing - To edit existing plants, use the Select tool (Menu "Tools: Select"). Click to select the plant with the 3D cursor. Right-click and select "Properties". This will open the Plants Dialog to edit the properties of the selected plant.
Moving - Select the plant with the Select Tool, then drag to move it on the terrain.
Deleting - Select the plant with the Select Tool, then right-click and select "Delete."
Saving - Menu command is "Terrain: Save Vegetation As..."
Structures
Structures (buildings, linears structures and 3D model instances) that are in the terrain definition are loaded at the point the terrain is loaded. You can tell Enviro which file(s) contain your Structure data in the Terrain Parameters dialog. At runtime in Terrain View, you can use the Layers Dialog to display your structure layers, and change the active layer. Editing in the 3D View such as creating structures will affect the active structure layer.
Creating - Instance and Linear Structures (fences) can be created dynamically. Use the "Tools: Instances" and "Tools: Fences" modes respectively to open the properties dialog, then click on the terrain to create the structure.
Editing - Buildings and fences can be edited. Use the Select tool (Menu "Tools: Select"). Click to select the structure with the 3D cursor. Right-click and select "Properties". This will open the Building Dialog or Linear Structure Dialog to edit the properties of what you have selected.
Moving and Rotating - Structures can be moved. Select the structure with the Select Tool, then drag to move it on the terrain. Linear Structures can have each of their points moved. Instances can also be rotated: hold down the Shift key when moving the object, and it will rotate.
Deleting - Structures can be deleted. Select the structure with the Select Tool, then right-click for the popup menu and select "Delete."
Saving - Use the Layers Dialog. Highlight the structure layer you want to save, then use the "Save" or "Save As" buttons.


Adjust the (horizontal) zoom and vertical
size with the buttons below, and then
choose to delete or add detected peaks in the appropriate trace.
You can zoom into a selection by highlighting (click and drag)
and return to normal by double clicking (away from the traces - and
be patient as zooms and rescalings can be slow)
Click on the graph (near
the trace) to add or delete peaks - but you do not need to be too
exact as it will select the nearest peak to delete or it will add a
peak at the nearest local maximum of the trace. The Clear button will clear
all peaks identified so far.
The command you
need to run next is displayed at the bottom. Note that nothing
will be displayed on this graph here - just cut and paste the command
and run it in the terminal.


[gecode-users] gecode error "do not send"
frank lemoine
benouna84 at live.fr
Thu Dec 24 15:20:10 CET 2009
hello everybody and merry christmas,
i know it's not the best time to post but i hope someone casts a glance at this message,
I finished a class that filters domains of variables that I declare statically so i also finished another class that parse a text file and generates the same data structure, after this i put all in the same; file compilation it's ok but in the execution the first part (parsing) it's ok but when the filtering class call a function gecode show me an windows error (do not send).
so i have not understand why it's block, hope someone could.
best regards
Frank.
_________________________________________________________________
Nouveau ! Tout Windows Live débarque dans votre téléphone. Voir les Windows phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20091224/30400ef1/attachment.htm>
More information about the users
mailing list


Genetics Algorithm
Genetics Algorithm
The genetic algorithm is a method for solving both constrained and unconstrained optimization problems that is based on natural selection, the process that drives biological evolution. The genetic algorithm repeatedly modifies a population of individual solutions. At each step, the genetic algorithm selects individuals at random from the current population to be parents and uses them to produce the children for the next generation. Over successive generations, the population "evolves" toward an optimal solution. You can apply the genetic algorithm to solve a variety of optimization problems that are not well suited for standard optimization algorithms, including problems in which the objective function is discontinuous, nondifferentiable, stochastic, or highly nonlinear. The genetic algorithm can address problems of mixed integer programming, where some components are restricted to be integer-valued.


Content style guide
This guide covers style, spelling and grammar conventions for all content published by Department for Work and Pensions (DWP). These patterns are based on the research and experience of the DWP content community.
You should use this guide to build on the GOV.UK style guide and DWP design patterns. If you can’t find the pattern you’re looking for here, we’re discussing more on the DWP content channel in Slack.
About the A to Z
a
b
c
Citizens - mainstream users of services, using 'people' is better.
Common case - design for the common case, this means everyone who's at a certain point, not the majority. If there's a significant minority at a certain point, they need something or should have been branched off before getting here.
d
DWP - don't use the definite article when writing out in full, it's simply Department for Work... not THE Department for Work... Avoid using 'we' to refer to DWP, be more active.
Digital by default - use 'if you can't get online' to promote digital by default, rather than preference for other channels.
e
f
g
h
i
If - if important and results in branching then better to start with conditionals, people reading them can then discount the rest if not relevant
j
Jargon - if unavoidable then define using scare quotes, eg 'money to help you with difficulties at work (known as an 'Access to Work' grant)'
k
l
Licence - is a noun
License - is a verb
Lists - introduce lists with a lead that means each item would form a full sentence in isolation. If the list introduces a selection and this isn't possible use, 'one of the following:'
m
May - usually can be replaced with 'can'
Might - people prefer certainty, but if you can't be certain than use might as long as you caveat it with a conditional. "You might be able to x, if you y"
Mr, Mrs and other titles - always question the need for them, try to avoid
n
o
OK - it's fine to use it
p
People - the preferred term for citizens or users.
Please - don't use please (or thank you). It reduces authority and is insincere.
Pronouns - users of services are referred to in the second person apart from in legal declarations when you should use the first person. Avoid using plural pronouns (we and us) for government unless not doing so would result in a passive construction. Preferably keep the user as the focus, eg say 'you'll get' rather than 'we'll send'.
Provide - banned word. Use give, send or something more active instead.
q
r
s
Sorry - only say sorry when something has gone wrong that's the fault of the service. For example a 500 page error because of server outage.
Statement answers - this type of selection answer in interactions often works better than yes and no, particularly if there's more than one clause in the question or more than 2 common responses in certain circumstances, for example 'Do you have a bank account?', 'Yes you have a bank account', 'No, but you plan to open one', 'No, you are unable to open one'.
t
Thank you - use sparingly, only on completion pages.
Timescales - people seem to prefer being given timescales to specifics, eg 'in 4 working days' worked better than 'by next Tuesday' on Access to Work. Don't put timescales in for the sake of it, 'you'll get a call in the next 24 hours' is unlikely to have much effect as users aren't that impatient.
u
Users - refer to people as users when you're talking about research observations that are specific to a particular service, eg 'users of Carer's Allowance prefer to put their name in separate fields', otherwise use 'people' or 'citizens'.
v
w
x
y
Yes - if using yes and no constructions be aware users usually want to answer 'yes' - design with data and make the most common case the 'yes' path unless you have user evidence it doesn't work - see statement answers


Awkward elevator moment: a gal jams herself into the elevator right at the last then loudly declares "Someone smells nice in here!" Um, ok.
3/24/2011, 9:04:05 AM
Favs: 0
Retweets: 0
link--- layout: tweet ---
Awkward elevator moment: a gal jams herself into the elevator right at the last then loudly declares "Someone smells nice in here!" Um, ok.
3/24/2011, 9:04:05 AM
Favs: 0
Retweets: 0
link


When you feel ready press the button to start the exam
The World Makes a Way For The Man Who Knows Where He Is Going
Whatever major that you will choice remember there a lot of amazing people who left their mark
in the world! be one of them.
When you feel ready press the button to start the exam


Feature: Light Weight Project Management Support
Open
Issue: Add burndown chart computation to release plans.
Estimated: 1d
Issue: Provide Burndown chart.
Estimated: 4h
Log: Time Spent Line should not be filled.
Date: 2016-08-23 20:24
Time spent: 0h
Remaining: 1h
Log: Burndown charts computes from log entries now.
Date: 2016-08-21 17:39
Time spent: 4h
Remaining: 0h
Log: Able to read estimated efforts from issues.
Date: 2016-08-20 00:31
Time spent: 2h
Remaining: 2h
Log: Added example chart. Still need to collect the data from the issues and logs.
Date: 2016-08-19 17:13
Time spent: 1h
Remaining: 3h
Complete
Issue: Add construction site concept
Estimated: 1d
Log: Replace by Feature and Release concept
Date: 2016-08-23 18:09
Time spent: 1h
Remaining: 0h
Log: Working on concept
Date: 2016-08-23 13:12
Time spent: 1h
Remaining: 5h
Issue: Create issue button for backlog and activate button to move issues to the active part
Estimated: 1h
Log: Hm, better remove the backlog. It does not make real sense if we have construction sites.
Date: 2016-08-22 19:01
Time spent: 1h
Remaining: 0h
Issue: Update Button for the chart
Estimated: 1h
Log: test
Date: 2016-08-22 15:56
Time spent: 1h
Remaining: 0h
Log: done
Date: 2016-08-22 00:56
Time spent: 1h
Remaining: 0h
Issue: Test Insert Buttons
Estimated: 1h
Log: Insert Log works
Date: 2016-08-22 00:37
Time spent: 1h
Remaining: 0h
Issue: Provide simple ticket management.
Estimated: 1d
Log: minimal version done
Date: 2016-08-22 00:58
Time spent: 1h
Remaining: 0h
Log: Created (this) example file.
Date: 2016-08-19 14:20
Time spent: 1h
Remaining: 5h
Issue: Provide Add Issue and Add Log buttons.
Estimated: 3h
Log: Add buttons added :)
Date: 2016-08-22 00:42
Time spent: 1h
Remaining: 0h
Issue: Provide load and store mechanism for project management file.
Estimated: 2h
Log: Just press Ctrl s and save the file.
Date: 2016-08-19 15:41
Time spent: 4h
Remaining: 0h
Feature Burndown
Estimated: 24 TimeSpent: 20 [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]


{% load confirmation_utils %} {% block subject %}Email confirmation on {{ site_name }}{% endblock %} {% block html %}
Hello,
Your email is set for user {{ user.username }} on site {{ site_name }}.
To confirm you this user please visit this link {{ activate_url }}.
Thank you.
{% endblock %}


Jared | Manager
- ID: 1
- Email<EMAIL_ADDRESS>- Office Number: 1
Alec | Engineer
- ID: 2
- Email<EMAIL_ADDRESS>- GitHub: ibealec
Grace | Engineer
- ID: 3
- Email<EMAIL_ADDRESS>- GitHub: gchoi2u
Tammer | Engineer
- ID: 4
- Email<EMAIL_ADDRESS>- GitHub: tammerg
John | Intern
- ID: 5
- Email<EMAIL_ADDRESS>- School: 2University


question.4
following the third question
a.write a function to display all the objects having age less than 30
b.write a function to display all the objects having country India.


Issue 7470: Breakpoint conditions are disregarded.
Steps to reproduce
- Open Firebug
- Switch to the Script panel and enable it.
- Right click on the breakpoint column at line #9
(
console.log('A call to console.log() API');
)
=> The condition editor should appear.
- Type false in the editor and hit the enter/return key.
- Click the log It button
Expected result
- The conditional breakpoint, at line #9, must not get hit.


vignettes/Miscellaneous Utilities.Rmd
Miscellaneous Utilities.Rmd
There are several additional functions that are worthwhile exploring in the XcalRep
package.
Prior to analysis, import data and preprocess as described in the Getting Started Vignette.
# import EFP and QC1 imaging phantom data df.qc1 <-qc1 df.efp <- efp # omit water-mimetic resin sections df.qc1 <- dplyr::filter(df.qc1, section != 1) # remove water mimic section 1 df.efp <- dplyr::filter(df.efp, section != 4) # remove water mimic section 4 df.efp$section <- as.numeric(as.character(df.efp$section)) df.qc1$section <- as.numeric(as.character(df.qc1$section)) # combine datasets (ensure replicate sets aren't mixed) df.qc1$replicateSet <- paste("q", df.qc1$replicateSet, sep = "") df.efp$replicateSet <- paste("e", df.efp$replicateSet, sep = "") all.data <- bind_rows(df.qc1, df.efp) # create Calibration Object co <- createCalibrationObject(all.data) # get list of feature subsets to analyze analyze.these <- analyzeWhich(co, include.parameters = c("Tt.vBMD")) # preprocess/filter data co <- preprocessData(object = co, analyze.which = analyze.these, new.assay.name = "preprocessed.data", which.assay = "input")
1) Mean-Variance Relationship: meanVarPlot
The mean.var.plot
function enables users to explore the relationship between measurement means and variance, and may inform which precision error is more appropriate to report. The precision error measure that remains relatively constant across all values is preferred, as it does not misrepresent reproducibility for extreme values.
This relationship can be examined as either a scatter plot
meanVarPlot(co, which.data = "uncalibrated", which.plot = "scatter", which.parameter = "Tt.vBMD")
#> Warning in meanVarPlot(co, which.data = "uncalibrated", which.plot =
#> "scatter", : precision errors calculated based on replicateSet grouping
#> `geom_smooth()` using formula 'y ~ x'
#> `geom_smooth()` using formula 'y ~ x'
or boxplot
# requires troubleshooting # error message: Error in eval(predvars, data, env) : object 'section' not found # meanVarPlot(co, # which.data = "uncalibrated", # which.plot = "box", # which.parameter = "Tt.vBMD")
2) Utility Functions:
cloneAssay
If users i) create an analysis “checkpoint” to which they can return at a later time or ii) diverge in analysis pipelines for the current dataset, cloneAssay
will duplicate the specified (or current) Assay
within the current Calibration Object
.
# duplicate current assay co <- cloneAssay(co)
#>
#> 'preprocessed.data' was successfully cloned
getAssay(co, which.assays = "all")
#> [1] "input" "preprocessed.data" "preprocessed.data-copy"
deleteAssay
A specified assay can be deleted using the deleteAssay
function.
# duplicate current assay co <- deleteAssay(co, which.assay = "preprocessed.data-copy")
#>
#> 'preprocessed.data-copy' was successfully deleted.


End of Year Show
Clubs Day 2015
End of Year Show 2015
Auditions 2015
Clubs Day 2014
End of Year Show 2014
Auditions 2014
Clubs Day 2013
End of Year Show 2013
Auditions 2013


Warehouse Keeper Collob:
You don't have the adena needed to pay for the key.
The key that will open the chest costs 600 adena.


What are the benefits of version control?
Version control will let you save your changed data points when working in group projects of coding. It is sort of like checkpoints when you're playing games. It will let you go back if you mess up the current versions and it will let you start from the checkpoint that you desire.
How does git help you keep track of changes?
Git helps me keep track of changes by 'commit'. Commit is sort of like the actual 'checkpoint' of the games. It will keep a log of the changes, including the person and email of the editor and more.
Why use GitHub to store your code?
GitHub is an open source version control website which lets everyone have access to your code and allow their comments or changes be on it. It will let you work on projects with your peers or co-workers and have simulatenous changes on it without interfering with one another.


Nova Social Feedback Survey
Our facility is comfortable, clean, and well kept.
Strongly
Disagree
Disagree
Neutral
Agree
Strongly
Agree


[gecode-users] constraint between variables in different spaces
Christian Schulte
cschulte at kth.se
Wed May 21 11:28:22 CEST 2008
You can't. The best you might is a segfault. There is currently no way to do
it. One could build a special propagator that channels across spaces but
that would be pretty tricky: who will take care of that propagator during
copying, for example.
My question is: why would you like to do that?
Cheers
Christian
--
Christian Schulte, www.ict.kth.se/~cschulte/
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Mauricio Toro
Sent: Wednesday, May 21, 2008 10:39 AM
To: users at gecode.org
Subject: [gecode-users] constraint between variables in different spaces
Hello all,
I want to propagate a constraint between variables in different spaces.
How can this be done?
For example
mySpace * a = new mySpace();
mySpace * b = new mySpace();
IntVar aa(a,1,10);
IntVar bb(b,1,10);
rel(a,aa,IRT_EQ,2);
a->status();
rel(b,bb,IRT_EQ,aa);
b->status();
std::cout << aa << " " << bb; // should print : 2 2
It does not work this way. Is there a way to do it?
Maybe cloning the variable or something?
Thanks
--
Mauricio Toro Bermudez
Estudiante de Ingeniería de Sistemas
Pontificia Universidad Javeriana, Colombia
Stagiare à l'Ircam
1, place Igor-Stravinsky 75004 Paris,
France de 2008 à 2009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ps.uni-sb.de/pipermail/users/attachments/20080521/ac507e97/attachment.htm>
More information about the gecode-users
mailing list


@( util: lib.Util, user: Option[io.apibuilder.api.v0.models.User] ) @doc.main(routes.DocController.types.url, user, Some("Types")) {
API Builder supports types that are common on the web - and useful for many web applications. For example, many applications work with dates and date times - by explicitly supporting these types, we can simplify working with these types in all web applications, and for type safe languages, we can map to the appropriate classes in each language.
@lib.PrimitiveMetadata.All.sortWith(_.primitive.toString < _.primitive.toString).map { md =>


| Top |
Functions
| NcmModelMVND * | ncm_model_mvnd_new () |
| NcmModelMVND * | ncm_model_mvnd_ref () |
| void | ncm_model_mvnd_free () |
| void | ncm_model_mvnd_clear () |
| void | ncm_model_mvnd_mean () |
Functions
ncm_model_mvnd_new ()
NcmModelMVND *
ncm_model_mvnd_new (const guint dim
);
Creates a new MVND mean model of dim
dimensions.
ncm_model_mvnd_ref ()
NcmModelMVND *
ncm_model_mvnd_ref (NcmModelMVND *model_mvnd
);
Increases the reference count of model_mvnd
by one.
ncm_model_mvnd_free ()
void
ncm_model_mvnd_free (NcmModelMVND *model_mvnd
);
Decreases the reference count of model_mvnd
by one.
ncm_model_mvnd_clear ()
void
ncm_model_mvnd_clear (NcmModelMVND **model_mvnd
);
If model_mvnd
is different from NULL, decreases the reference count of
model_mvnd
by one and sets model_mvnd
to NULL.
ncm_model_mvnd_mean ()
void ncm_model_mvnd_mean (NcmModelMVND *model_mvnd
,NcmVector *y
);
Copies into y
the mean vector.
Property Details
The “dim”
property
“dim” guint
Problem dimension.
Owner: NcmModelMVND
Flags: Read / Write / Construct
Allowed values: >= 1
Default value: 1
The “mu-fit”
property
“mu-fit” GVariant *
\mu:fit.
Owner: NcmModelMVND
Flags: Read / Write
Allowed values: GVariant<a*>
Default value: NULL
The “mu-length”
property
“mu-length” guint
\mu:length.
Owner: NcmModelMVND
Flags: Read / Write / Construct Only
Default value: 1


Compromise is
pretty cool
to use with
webworkers
.
This way you can keep its synchronous stuff off the main-thread.
original text:
webworker response:


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 4
A crowd-pleaser if ever there was one - eggs, cheese, bacon and pasta. Save the egg whites for meringues or chocolate mousse. This is designed to be a low cost recipe.
Cook the spaghetti in a large saucepan of salted boiling water according to the packet instructions.
Meanwhile, heat a large frying pan over a medium heat. Add the oil and, once hot, add the bacon and fry for 2-3 minutes, or until cooked through but not colouring. Add the garlic and cook for a further minute and then remove the pan from the heat.
In a bowl, mix together the egg yolks, three-quarters of the parmesan (or pecorino) and the milk. Season with a pinch of salt and a decent amount of pepper. Mix well.
Once the spaghetti is cooked, drain it, reserving a teacup of the cooking water. Pour the drained spaghetti into the frying pan (still off the heat) with the bacon and garlic. Immediately pour over the egg mixture and mix really well, tossing the pasta so that it is all coated in the egg. If it looks to be getting too thick or sticky then loosen with a little of the pasta cooking water.
Serve immediately sprinkled with the remaining cheese.


Dear user,
we received a password recovery request for your email address.
Click the following link to set a new password:
If you didn't send the request, delete this email and take the chance to visit our site: EXAMPLE SITE
Thank you,
EXAMPLESITE


Please answer all the following questions.
I had all the required information to assess the fairness of the algorithm.
| Strongly disagree | Disagree | Neutral | Agree | Strongly agree |
|---|---|---|---|---|
Were you missing any information to assess the fairness of the algorithm?
I felt confident in my decisions.
| Strongly disagree | Disagree | Neutral | Agree | Strongly agree |
|---|---|---|---|---|
What affected your confidence?
It is important to involve citizens like myself in the future development of algorithms.
| Strongly disagree | Disagree | Neutral | Agree | Strongly agree |
|---|---|---|---|---|
How can the general public best be involved in assessing the fairness of algorithms?
How would the option to assess algorithms, as in this study, change your opinion on algorithms making decisions?


OVERVIEW
speccer is a CLI tool for dealing with specs.
It is a frontend to the speclib.
SCENARIO 1 Create Specification
Mike wants to create a specification. He gets a clean
starting point with speccer
.
SCENARIO 2 Add comments
Mike receives comments for his specification. He wants to add them without hassle.
SCENARIO 3 See and update specification
Mike wants to update his specification with is editor.
SCENARIO 4 Script
Gill wants to change specifications with a script.
SCENARIO 5 Import and export
Gill wants to read import and export specifications from different places.
SCENARIO 6 View as HTML and markdown
Sue wants to read the specifications in HTML and be able to mail them as markdown.
SCENARIO 7 Filter for documentation
Peter wants to create a documentation from the spec and wants the unneccessary informations to be filtered.
SCENARIO 8 Filter for implementation
Anne wants to implement parts of the specification. She just wants to read the parts that are ready to be implemented.
DEFINITION 1 All definitions of the speclib
apply
DEFINITION 2 -name
The parameter passed via -name
is the name of a spec property (like
TRANSLATIONS
with the command property
) or the name of a paragraph
property (like STATE
with the command meta
).
DEFINITION 3 -usage
The parameter passed via -usage
is the name of a filter provided by
speccer
for typical usage scenarios.
There are currently:
- documentation filters
- PROPERTIES
- META
- COMMENTS
- NONGOALS
- CONTRADICTIONS
- UNDECIDED
- SPEC_END
- RESOURCES
- PLANNING
- APPROVED
- PARTLY_IMPLEMENTED
- OBSOLET
- approval filters
- META
- COMMENTS
- CONTRADICTIONS
- UNDECIDED
- SPEC_END
- RESOURCES
- PLANNING
- OBSOLET
- discussion filters
- OVERVIEW
- APPROVED
- PARTLY_IMPLEMENTED
- OBSOLET
- SPEC_END
- implementation filters
- UNDECIDED
- PLANNING
- FULLY_IMPLEMENTED
- OBSOLET
DEFINITION 4 Current Spec
The current spec is the spec that is loaded from a special file
in the current directory (pwd
).
If the -language
option is set, the spec is loaded from the file
spec_[language].json
, e.g.
spec_en_US.json
Otherwise it is looking for any files matching the regular expression
spec*.json
If there is just one file matching, the spec is loaded from this file. Otherwise an error is thrown mentioning that the language option should probably be set.
FEATURE 1 create a new spec
Go into a folder that should contain your spec and run
speccer -cmd create
Creates a file spec.json
in the current folder and exports it
as spec.md
(Markdown) and spec.html
(HTML).
If the -language
parameter is set (to e.g. en_US
) it creates
the following files instead:
spec_en_US.json
spec_en_US.md
spec_en_US.html
Be aware that the new spec is not valid since there are missing properties. You can validate a spec to see them:
speccer -cmd validate
FEATURE 2 validate a spec
Go into a folder that contains your spec and run
speccer -cmd validate
It it returns nothing your spec is valid.
 The properties are
all written in high caps and defined in speclib
.
FEATURE 7 set property of spec
Go into a folder that contains your spec and run
speccer -cmd property -name COMPANY -set acme
to set the COMPANY
property to acme
. The properties are
all written in high caps and defined in speclib
.
FEATURE 8 unset property of spec
Go into a folder that contains your spec and run
speccer -cmd property -name PARENT -uset
to unset the PARENT
property. Only the following properties can
be unset:
- REQUESTEDBY
- RELATED
- TRANSLATIONS
- SUPERSEDEDBY
- RESOURCES
- PARENT
- PERSONS
FEATURE 9 add markdown text to a section
Go into a folder that contains your spec and write your text
into a file, let’s say new.md
.
Put the title of the paragraph in the first line and the body in the next lines. Then run
speccer -cmd add -sec SCENARIO -resp 'Your Name' -set new.md
to add title and body to the SCENARIO sections.
The available sections are defined in the speclib
.
FEATURE 10 show list of paragraphs of a section
Go into a folder that contains your spec and run
speccer -cmd positions -sec SCENARIO
to see a list of all paragraphs of the SCENARIO section. Each paragraph has the first line printed preceeded by a number indicating the position of the paragraph inside the section. This position can be used to print or change the paragraph.
FEATURE 11 show content of a paragraphs of a section
Go into a folder that contains your spec. You will need to know the position of the paragraph you want to see. Therefor you might want to first print all positions of the section (here SCENARIO) with
speccer -cmd positions -sec SCENARIO
then you can run
speccer -cmd text -sec SCENARIO -at 3
to see the text for the 3rd paragraph in the SCENARIO section.
If you want to include comments and meta data, run
speccer -cmd text -sec SCENARIO -at 3 -with-comments -with-meta
FEATURE 12 change content of a paragraph of a section
Go into a folder that contains your spec. You will need to know the position of the paragraph you want to see. Therefor you might want to first print all positions of the section (here SCENARIO) with
speccer -cmd positions -sec SCENARIO
then you can run
speccer -cmd text -sec SCENARIO -at 3 > temp.md
to save the current text and comments for the 3rd paragraph in the
SCENARIO section to the file temp.md
.
Now fire up your editor to change the content. Then run
speccer -cmd text -sec SCENARIO -at 3 -set temp.md
to set the text of the 3rd paragraph in the SCENARIO section.
The comments and meta data (including the title) of the 3rd paragraph are not modified by this operation. So you may want to change them too.
FEATURE 13 see, add and change comment to a paragraph of a section
Go into a folder that contains your spec. You will need to know the position of the paragraph you want to see. Therefor you might want to first print all positions of the section (here SCENARIO) with
speccer -cmd positions -sec SCENARIO
then you can run
speccer -cmd comment -sec SCENARIO -at 3
to see the current comments for the 3rd paragraph in the SCENARIO section.
Now if the author of your comment already made a comment to this paragraph and if you want to append to this old comment, you first have to save the old one.
To do this, run
speccer -cmd comment -sec SCENARIO -at 3 -author Jim > temp.md
to save the comment of Jim
to the file temp.md
. Then you can edit this
file. If you just want to remove the old comment or if there was no
comment you may simply start with an empty file temp.md
.
After you edited the file, run
speccer -cmd comment -sec SCENARIO -at 3 -author Jim -set temp.md
to set the comment of Jim
on the 3rd paragraph of the SCENARIO section
to the content of the file temp.md
.
FEATURE 14 move a paragraph of a section
Go into a folder that contains your spec. You will need to know the position of the paragraph you want to move. Therefor you might want to first print all positions of the section (here SCENARIO) with
speccer -cmd positions -sec SCENARIO
then you can run
speccer -cmd move -sec SCENARIO -at 3 -to 1
to move the 3rd paragraph in the SCENARIO section to be the first.
FEATURE 15 delete a paragraph of a section
Go into a folder that contains your spec. You will need to know the position of the paragraph you want to delete. Therefor you might want to first print all positions of the section (here SCENARIO) with
speccer -cmd positions -sec SCENARIO
then you can run
speccer -cmd rm -sec SCENARIO -at 3
to remove the 3rd paragraph in the SCENARIO section.
FEATURE 16 see and change meta data of a paragraph of a section
Go into a folder that contains your spec. You will need to know the position of the paragraph you want to see the meta data. Therefor you might want to first print all positions of the section (here SCENARIO) with
speccer -cmd positions -sec SCENARIO
then you can run
speccer -cmd meta -sec SCENARIO -at 3
to see all meta data of the 3rd paragraph in the SCENARIO section.
If you want to change a datum you will have to pass the name:
speccer -cmd meta -sec SCENARIO -at 3 -name RESPONSIBLE -set Jim
FEATURE 17 shortcuts
To use the bash
/ zsh
shortcuts, copy the aliases.sh
into your home directory
cp aliases.sh ~/.speccer_aliases.sh
and write the following into your .bashrc
. ~/.speccer_aliases.sh
Then you will have access to the following shortcuts (in bold is an example input to put after the alias).


According to the UNWTO, tourist animation is any action carried out in or on a group, community or environment, with the intention of developing communication and guaranteeing social life. It is basically considered in 3 phases:
- First phase: Self-discovery, where the conditions are created so that the entire individual group discovers itself.
- Second phase: The relationship between the groups, the relationship with other individuals.
- Third phase: Creativity, by the confrontation of individuals and groups with their environment.
Tourism animation is a trend that was born as a result of meeting the needs of consumers of tourism services. Currently there is a lot of competition in the hotel branches to be able to satisfy the guests, in short what a hotel should have is a room, good food, some cocktails and a pool. The tourist animations are characterized by:
Have good information and a friendly staff.
Comply with the philosophy of making them feel at home.
Have people who speak several languages.
Have specialized personnel in massages, cleaning services, etc.
Have recreation spaces, bookstore, spa, gym, etc.
Have spaces for the disabled and for babies.
Purposes of tourist animation
Create an atmosphere of communication between guests from different countries, age, sex, religion, through activities they perform.
Use of free time to earn a better quality of life.
Improve the profitability of the hotel, causing customers to repeat their stay again, also encouraging the entry of new guests.
Generate interest in the guests to know the customs and traditions of the region.
The function of animation is the adaptation to different forms of social life and also individual and group development. The functions of the tourist animation according to the UNWTO are:
- Social function: Integration of the individual in the social environment in which he finds himself.
- Cultural function: Direct contact with the culture, art and history of the region.
- Word of mouth market function: The recommendation of tourists, towards the establishment, allows the increase of their sales and the increase of their profits. The types of tourist animations are:
- Cultural animation: It refers to the museums and festivals of each country, the culture by itself is involved in animation for the attraction of tourism, dances, etc.
- Animation to integrate: Allows the formation of several subgroups with different characteristics so that they achieve the same goal, activities to relate, etc.
- Integral animation: There are three types of tourism animation: business tourism, adventure tourism and family tourism.


rwt_image_view
robotwebtools image view
topic
view
record
reset-gazebo
mousemove (pos.x, pos.y)
screenpoint (pos.x, pos.y)
camera (width x height)


Course Description:
Course Name
Description of course.
Prerequesites:
Enter prerequistes or "none" here.
| Instructor: |
Dr. Troy Kammerdiener
|
| Office: |
Airways and Computer Science 348
|
| Office Phone: |
342-1856
|
| Email Address: |
<EMAIL_ADDRESS>|
| World Wide Web: |
/~tkammerd/
|
| Office Hours: |
Monday through Friday, 10 a.m. - 12 noon, and by appointment.
You are also welcome to just drop by during the day. If I'm
here and I'm not on a deadline, I'd be happy to take some
time with you.
|
Goals and Objectives:
-
One of the goals or objectives of this course.
Course Requirements:
-
Required Text and other materials:
| Required Text(s): |
Title of a required textbook
by
Author Name
|
| Recommended Text(s): |
Title of a recommended textbook
by
Author Name
|
| Optional Text(s): |
Title of an optional textbook
by
Author Name
|
|
Other type of required material:
|
Description of the required material.
|
|
Internet Access:
|
You must have an email address and a
UNIX login account on the Internet. Any ULM
student may apply for such an account on ULM's
tribe.ulm.edu for free. Direct or dial-up network
access to the ULM network or an
account with an Internet Service Provider such as
Bayou Internet or CenturyTel is recommended, but
not required (this does not take the place of
a UNIX login account.)
|
-
Class Schedule and Place:
Mondays, Tuesdays, Wednesdays, Thursdays, and Fridays, 0:00 ?.m. through 0:00 ?.m.
in
Bldg 000
.
-
| Probable Test Dates: |
Test #1
|
Date and/or time of test.
|
|
Test #2
|
Date and/or time of test.
|
Note: These are only estimated test dates. The actual
dates will be dictated by convenient closure of topics, and
should be very close to those listed, but this cannot be
guaranteed. Any deviation from this schedule however, will
be announced at least two days prior to the actual test
date. Tests will only consume 1.5 hours or less of class time
on test days.
-
Hands-On Projects (HOP's)
:
There will be 5 Hands-On
Projects, or HOP's. Each HOP is a step-by-step exercise
which reinforces one or more areas of study, and must be
performed hands-on a personal computer (loaded with the
appropriate software). A short quiz will accompany each
HOP, which you must take outside of class. You may obtain
and take the quiz during my office hours. You are welcome
to use any personal computer to which you have access, but
we can only guarantee that the Windows 95 computers in the
Computer Science Dept. Laboratory (Hanna 238B) will be
properly configured for success. Each HOP is assigned on
a Monday (see schedule) and is due by the beginning of class,
the second Monday following (so you have 2 weeks).
-
Other Assignments
:
There will be some other short
assignments given, usually due the next class, to reinforce
an area of study, or to prepare for a topic. However many
are given, they will be averaged together to form the grade
for "Other Assignments".
-
Attendance Policy
:
There is no attendance requirement
for graduate students. However, regular attendance is essential
for success in this class. Undergraduates are required to
attend 90% of all classes, and a higher standard is expected
from graduate students. Note that excessive unexcused absences
for undergraduates are considered 10% of the total classes,
which for this semester and class is two (2) classes. If your
attendance is poor, it will be reported to your dean, and you
may be asked to leave the class, for your own good. Attendance
may not be taken every day (though it will be taken on most days),
but the days on which it is taken will be used to
calculate a statistical average to be used for your Participation
grade. Every student is responsible for anything covered in class,
even if it is not in the text. This includes announcements of
assignments or test dates, so if forced to miss class, be sure to
contact the instructor and ask to be informed of that day's
content. Please remember that we only meet 14 times before the
final (each class represents over a full week!), so even if you
cannot attend the whole class on some occasion, try to attend
some of it.
-
Full-Time Attention
:
Even though the class only meets
once per week, you must participate in it more often than
that. This is a full semester course, and I am available to you
more often than once per week. You must check the class web
page for updates or additions on a regular basis, at least 3
times per week, and break your class workload up in the same way.
It is absolutely not acceptable (and destined for
failure) to only give consideration to the assignments or the
class itself on Monday. A good schedule would be to set aside a
couple of hours 3 times per week, say Tuesday, Thursday, and
Saturday (just a suggestion).
-
Out-of-class Work
:
Most of your time in this class is
not spent in the classroom. You should be prepared to spend a
significant portion of time outside of class for every hour
spent in class. Traditional rules of thumb suggest that 3
hours outside of class for every hour spent in class is
reasonable. The actual time spent varies from student to
student, but suffice it to say that you will NOT complete
course requirements through attendance alone.
-
Cancellations
:
If you suspect a class cancellation
due to weather or any other reason, call my office number
at 342-1856. If there is a cancellation, my voice mail
will reflect that fact within 2 hours of class time (sooner
if possible). If no message, assume that class will be
held. I will also try to put a notice on the class web
page. I will normally be in class on time. If I am not,
you should wait at least 15 minutes before leaving, and
someone should check my office to make sure I am not there.
If I am unavoidably detained, I will normally call and have
the class instructed to either wait, or go home.
-
Changes in Requirements
:
Due date changes, test
postponements, etc. will be announced in class. In case of
emergencies, I may attempt to contact you by phone, so
please make sure that I have your phone number, and let me
know if it changes. Notices may also be given by email, or
on the class World Wide Web page. This syllabus will be
posted on the class World Wide Web page, and that copy will
always be the official copy, not the paper one received at
the beginning of the semester.
Course Outline and Reading Assignments: Provided
Separately.
Course Methodology:
-
This course will consist primarily of interactive lectures with
assignments to reinforce major points of discussion. Assignments
may be done in our lab, or alternatively in another campus lab or
on your home computer (if adequately configured). Be aware that
our computing facilities are limited, and if you wait until the last
minute to do your assignments, you may be unable to get adequate
resources. Grading assignments by students in the class provides
an opportunity for quick feedback, as well as improved cohort
support and class discussions.
-
The Internet is used extensively as a communications tool in this
class. Announcements, copies of assignments, a copy of this
syllabus, and various examples and data files will be available on
the class page on the World Wide Web. Students are expected to print
their own copies of assignments and lab handouts from the class
website, should they need hard copy. Announcements of a time
critical nature may be emailed to class members. Class discussions
and questions may be pursued on the class web-based discussion forum.
-
Reading assignments will be provided separately. Note that some
reading assignments may come from web-based resources, not just the
required texts. Students should be aware that they will be tested
over the contents of their reading and class handouts, as well as
lecture topics. Some things will be in the text but not in the
lecture, others will be in the lecture but not in the book. Both
parts are necessary for success in this class.
-
There will be 2 tests to assess individual understanding of the
material presented. These tests will be spaced in a relatively even
fashion throughout the semester, a midterm and a final exam. Both
tests will have equal weight, and the final exam is not cumulative
(although any test may require understanding of previous concepts,
simply because of the dependence of one topic upon another). Tests
will normally be returned within one week of the test date during the
semester.
Evaluation Procedure:
-
Make-up Tests: You are expected to arrange your
schedule around the dates indicated in this syllabus as
much as is possible. Make-up tests arranged at least
one full week prior to the test date can be obtained:
-
to avoid direct conflict with participation in an
unavoidable official school-sponsored activity, such as
playing in an intercollegiate sporting event
(documentation from the sponsor is required)
-
in the event that a test occurs on a day other than
those given in this syllabus, for an unavoidable
personal conflict (this is at my discretion, but I try
to be reasonable)
Make-up tests will be arranged after the test date only:
-
in the event of an unexpected and professionally
documented medical condition which prevented
attendance. If you are experiencing a long term
illness, please keep me informed each week of your
status.
-
in the event of a personal tragedy (I may need for you
to provide some documentation)
-
Late Assignments: Unless specified otherwise,
assignments are due at the beginning of class on the date
due. Late penalties are 10% for one school day late, 30%
for two school days late, and 50% for 3 or more school days
late. Assignments turned in more than 5 school days late
will not be graded. Late assignments must be given directly
to me, or to the CS Department front desk worker or secretary
for timestamping. Do not just slip them under or in the door,
and do not put them directly in my department mailbox. No
assignments of any sort will be accepted after 2:00 p.m. on
the last official day of classes.
-
Grading Scale: Your grade will calculated according
to the following point distribution:
|   |
45%
|
Tests (15% each)
|
|   |
35%
|
Hands-On Projects (7% each)
|
|   |
10%
|
Other Assignments
|
|   |
10%
|
Participation (based upon attendance)
|
Letter grades will probably be assigned by the following
chart:
| A | B | C | D | F |
| 90-100 |
80-89 |
70-79 |
60-69 |
0-59 |
Some grades might be improved above that given in the chart
if I feel that an anomalous statistical grouping requires
it, but your letter grade will never be worse than that
indicated by the chart.
Academic Honesty:
Learning is a social experience, and I wouldn't dream of trying
to change that. Studying with friends, and talking among
yourselves about how to attack a problem is important to
success in this class. But if you don't do your own thinking
-- if you only take from these discussions, and never give --
then you won't understand well enough to perform on tests.
 Make sure
that your work is your own, because you might have to pass a
quiz over the content of your assignment to receive credit. If
a project is supposed to be done by a group, it will be
specifically announced that way. And if you need further help,
please come see me. I try to be as accessible as I know how.
If you can't make my office hours, drop by anyway -- if I'm not
covered up with something, I'll be glad to work with you. And
if we need to, we can make a special appointment. And remember
that you can always leave me a phone message or use email.
This statement is intended to conform to policy level
C
of the Computer Science Departmental Policy for Dealing with Academic
Dishonesty. Of course, tests and quizzes conform to level A of
this policy. You should familiarize yourself with this policy,
and conform to it unless specifically instructed otherwise (in
writing) by the instructor. A copy will be provided separately
for your convenience.


include('../includes/http-header.inc.html') ?>
Inspired by the blockchain system, the email system, and git versioning, Condensation's architecture is a unique solution to develop scalable and modern applications.
Compared to commonly centralized databases, Condensation writes and reads data directly on the user's device. No image of the data needs to be created to communicate with a data center.
Merkle trees are used to structure data allowing to retrieve or modify only part of the data once needed. The data is self organized depending on its size and its frequency of usage. A tree can be arbitrarily large, and may form a blockchain or other data structure. A basic tree consist of the following parts:
With Condensation raw data is written as a byte sequence into immutable objects which are created and processed on the client. Each object is unique and identified by a unique address or a hash which is generated from the object content. The complete picture of the data is represented using an address list pointing to other objects.
Condensation does not need to decrypt data to store it as it is the case for classic SQL and NoSQL databases. This eradicates the danger of data breaches. The data can circulate freely as objects are recognized by their address and not their content. The content stays encrypted until its received on the end user's device.
With Condensation, objects can be exchanged freely from one client to another, even without the need of a server. A direct communication is possible as the synchronization of data occurs on the client side. It allows to create fully distributed systems, where servers are only used to pass the information or to store it. Users can subscribe to different servers and still communicate with each other.
As the server never needs to decrypt the data to store it, the data is never exposed to breaches. Asymmetrical encryption is used to ensure only the intended receiver of the data can read it.
As objects can circulate and be stored freely, Condensation provides mechanics to reassemble and update the data when it arrives on the user's device.
When multiple versions of the data tree need to be synchronized, Condensation compares each object independently so that it can merge a version of the data with the relevant objects. It will keep the most recent ones, and the ones in common, so that no data is lost.
Objects can be created, encrypted and managed through API calls.  Anything can be build as Condensation is very flexible and made for generic use cases.
// Example of creating an encrypted object
var data = // Uint8Array
var object = cn.createObject(cn.emptyHeader, data);
var key = object.encryptInPlace();
var hash = object.calculateHash();
var reference = new cn.Reference(hash, key);


Plugin developers are encouraged to use GitClient API instead of the legacy IGitAPI.
The plugin isolates low-level git commands from the git-plugin, allowing alternate git implementations (like JGit).
For backwards compatibility, this plugin uses API classes from the hudson.plugins.git package.
The git client plugin bundles JGit and JGit http server. Callers can rely on JGit and the JGit http server being available without including it in their own plugin packaging. This reduces the size dependent plugins like git-server plugin, and may be useful in other plugins.


package par
The par package contains classes, traits and objects for analytics including classification, clustering and prediction with parallel implementations.
- Alphabetic
- By Inheritance
- par
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
abstract
class
BayesClassifier
extends ClassifierInt with BayesMetrics
The
BayesClassifier
object provides factory methods for building Bayesian classifiers.The
BayesClassifier
object provides factory methods for building Bayesian classifiers. The following types of classifiers are currently supported:NaiveBayes
- Naive Bayes classifierSelNaiveBayes
- Selective Naive Bayes classifierAugNaiveBayes
- Augmented Naive Bayes classifierAugSelNaiveBayes
- Augmented Selective Naive Bayes classifierTANBayes
- Tree Augmented Naive Bayes classifierSelTAN
- Selective Tree Augmented Naive Bayes classifierBayesNetwork2
- Ordering-based Bayesian Network with k = 2 -
class
BayesNetwork2
extends ClassifierInt with BayesMetrics
The
BayesNetwork2
class implements an Integer-Based Bayesian Network Classifier, which is a commonly used such classifier for discrete input data.The
BayesNetwork2
class implements an Integer-Based Bayesian Network Classifier, which is a commonly used such classifier for discrete input data. Each node is limited to have at most 2 parents, and hence the "2" in the class nameBayesNetwork2
. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier supports limited dependency between features/variables. ------------------------------------------------------------------------------ -
class
DAG
extends AnyRef
The 'DAG' class provides a data structure for storing directed acyclic graphs.
-
class
NaiveBayes
extends BayesClassifier
The
NaiveBayes
class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data.The
NaiveBayes
class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier is naive, because it assumes feature independence and therefore simply multiplies the conditional probabilities. ----------------------------------------------------------------------------- -
class
SelNaiveBayes
extends BayesClassifier
The
SelNaiveBayes
class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data.The
SelNaiveBayes
class implements an Integer-Based Naive Bayes Classifier, which is a commonly used such classifier for discrete input data. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier is naive, because it assumes feature independence and therefore simply multiplies the conditional probabilities. The version is "selective", since features whose impact is small are ignored. ---------------------------------------------------------------------------- -
class
TANBayes
extends BayesClassifier
The
TANBayes
class implements an Integer-Based Tree Augmented Naive Bayes Classifier, which is a commonly used such classifier for discrete input data.The
TANBayes
class implements an Integer-Based Tree Augmented Naive Bayes Classifier, which is a commonly used such classifier for discrete input data. The classifier is trained using a data matrix 'x' and a classification vector 'y'. Each data vector in the matrix is classified into one of 'k' classes numbered 0, ..., k-1. Prior probabilities are calculated based on the population of each class in the training-set. Relative posterior probabilities are computed by multiplying these by values computed using conditional probabilities. The classifier supports limited dependency between features/variables. -----------------------------------------------------------------------------
Value Members
-
val
BASE_DIR: String
The relative path for base directory
-
object
BayesClassifier
The
BayesClassifier
object provides factory methods for building Bayes classifiers. -
object
BayesClassifierTest
extends App
The
BayesClassifierTest
object is used to test theBayesClassifier
class.The
BayesClassifierTest
object is used to test theBayesClassifier
class. Classify whether a car is more likely to be stolen (1) or not (1).- See also
www.inf.u-szeged.hu/~ormandi/ai2/06-naiveBayes-example.pdf > run-main scalation.analytics.classifier.par.BayesClassifierTest
-
object
BayesClassifierTest10
extends App
The
BayesClassifierTest10
object is used to test theBayesClassifier
class.The
BayesClassifierTest10
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest10 -
object
BayesClassifierTest11
extends App
The
BayesClassifierTest11
object is used to test theBayesClassifier
class.The
BayesClassifierTest11
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest11 -
object
BayesClassifierTest2
extends App
The
BayesClassifierTest2
object is used to test theBayesClassifier
class.The
BayesClassifierTest2
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest2 -
object
BayesClassifierTest3
extends App
The
BayesClassifierTest3
object is used to test theBayesClassifier
class.The
BayesClassifierTest3
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest3 -
object
BayesClassifierTest4
extends App
The
BayesClassifierTest4
object is used to test theBayesClassifier
class.The
BayesClassifierTest4
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest4 -
object
BayesClassifierTest5
extends App
The
BayesClassifierTest5
object is used to test theBayesClassifier
class.The
BayesClassifierTest5
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest5 -
object
BayesClassifierTest6
extends App
The
BayesClassifierTest6
object is used to test theBayesClassifier
class.The
BayesClassifierTest6
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest6 -
object
BayesClassifierTest7
extends App
The
BayesClassifierTest7
object is used to test theBayesClassifier
class.The
BayesClassifierTest7
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest7 -
object
BayesClassifierTest8
extends App
The
BayesClassifierTest8
object is used to test theBayesClassifier
class.The
BayesClassifierTest8
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest8 -
object
BayesClassifierTest9
extends App
The
BayesClassifierTest9
object is used to test theBayesClassifier
class.The
BayesClassifierTest9
object is used to test theBayesClassifier
class. > run-main scalation.analytics.classifier.par.BayesClassifierTest9 -
object
BayesNetwork2
The
BayesNetwork2
object is the companion object for theBayesNetwork2
class. -
object
BayesNetwork2Test
extends App
The
BayesNetwork2Test
object is used to test theBayesNetwork2
class.The
BayesNetwork2Test
object is used to test theBayesNetwork2
class. Classify whether a car is more likely to be stolen (1) or not (1).- See also
www.inf.u-szeged.hu/~ormandi/ai2/06-BayesNetwork2-example.pdf > run-main scalation.analytics.classifier.par.BayesNetwork2Test
-
object
BayesNetwork2Test2
extends App
The
BayesNetwork2Test2
object is used to test theBayesNetwork2
class.The
BayesNetwork2Test2
object is used to test theBayesNetwork2
class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.BayesNetwork2Test2 -
object
BayesNetwork2Test3
extends App
The
BayesNetwork2Test3
object is used to test theBayesNetwork2
class.The
BayesNetwork2Test3
object is used to test theBayesNetwork2
class. > run-main scalation.analytics.classifier.par.BayesNetwork2Test3 -
object
NaiveBayes
The
NaiveBayes
object is the companion object for theNaiveBayes
class. -
object
NaiveBayesTest
extends App
The
NaiveBayesTest
object is used to test theNaiveBayes
class.The
NaiveBayesTest
object is used to test theNaiveBayes
class. Classify whether a car is more likely to be stolen (1) or not (1).- See also
www.inf.u-szeged.hu/~ormandi/ai2/06-naiveBayes-example.pdf > run-main scalation.analytics.classifier.par.NaiveBayesTest
-
object
NaiveBayesTest2
extends App
The
NaiveBayesTest2
object is used to test theNaiveBayes
class.The
NaiveBayesTest2
object is used to test theNaiveBayes
class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.NaiveBayesTest2 -
object
NaiveBayesTest3
extends App
The
NaiveBayesTest3
object is used to test theNaiveBayes
class.The
NaiveBayesTest3
object is used to test theNaiveBayes
class. > run-main scalation.analytics.classifier.par.NaiveBayesTest3 -
object
SelNaiveBayes
SelNaiveBayes
is the companion object for theSelNaiveBayes
class. -
object
SelNaiveBayesTest
extends App
The
SelNaiveBayesTest
object is used to test theSelNaiveBayes
class.The
SelNaiveBayesTest
object is used to test theSelNaiveBayes
class. Classify whether a car is more likely to be stolen (1) or not (1).- See also
www.inf.u-szeged.hu/~ormandi/ai2/06-naiveBayes-example.pdf > run-main scalation.analytics.classifier.par.SelNaiveBayesTest
-
object
SelNaiveBayesTest2
extends App
The
SelNaiveBayesTest2
object is used to test theSelNaiveBayes
class.The
SelNaiveBayesTest2
object is used to test theSelNaiveBayes
class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.SelNaiveBayesTest2 -
object
SelNaiveBayesTest3
extends App
The
SelNaiveBayesTest3
object is used to test theSelNaiveBayes
class.The
SelNaiveBayesTest3
object is used to test theSelNaiveBayes
class. > run-main scalation.analytics.classifier.par.SelNaiveBayesTest3 -
object
TANBayes
The
TANBayes
object is the companion object for theTANBayes
class. -
object
TANBayesTest
extends App
The
TANBayesTest
object is used to test theTANBayes
class.The
TANBayesTest
object is used to test theTANBayes
class. Classify whether a car is more likely to be stolen (1) or not (1).- See also
www.inf.u-szeged.hu/~ormandi/ai2/06-AugNaiveBayes-example.pdf > run-main scalation.analytics.classifier.par.TANBayesTest
-
object
TANBayesTest2
extends App
The
TANBayesTest2
object is used to test theTANBayes
class.The
TANBayesTest2
object is used to test theTANBayes
class. Given whether a person is Fast and/or Strong, classify them as making C = 1 or not making C = 0 the football team. > run-main scalation.analytics.classifier.par.TANBayesTest2 -
object
TANBayesTest3
extends App
The
TANBayesTest3
object is used to test theTANBayes
class.The
TANBayesTest3
object is used to test theTANBayes
class. > run-main scalation.analytics.classifier.par.TANBayesTest3


14 September 1999
Disease Outbreak Reported
The Ministry of Health and Sanitation has reported to WHO an outbreak of cholera, with 134 cases and 1 death between 1 and 6 September. Of 8 stool specimens sent for laboratory tests, 6 were positive for Vibrio cholerae O1 subtype Ogawa. Tests have revealed sensitivity to tetracycline, doxycycline and cotrimoxazole.
WHO and other partners have been supporting the Ministry in taking appropriate control measures, e.g. reactivation of the cholera task force, establishment of specific subcommittees (for surveillance, case management and sanitation) and of cholera treatment centres. Mass health education campaigns are being carried out and communications networks are being strengthened. Available supplies are adequate for the treatment of 3 000 cases.


Your browser doesn't support the features required by impress.js, so you are presented with a simplified version of this presentation.
For the best experience please use the latest Chrome, Safari or Firefox browser.
Why design a login screen?
- First Impressions
- Everyone has one
- They are easier
Drawing with Sketch
Design a login screen with Sketch
Forms and form elements in HTML
Create a form
Create your form


What is the problem we are trying to solve?
We want multiple copies of an application to bind on same ports. For example port 80 may be used by different applications with different IP addresses. Since our machine will only have a single IP address we want to create a virtual network from which the applications can be accessed by the outside world
We don't want to dockerize/kubernetize the application just yet. Because it has a very steep setup time. We won't be dealing on a scale where kubernetes/docker can do us any good. So we just want to use simple tools that are present on any linux os and run multiple copies of a same applications accessible via different virtual ip addresses. If a time comes when we have to move the application to a different machine we can simply configure port forwarding so that the requests from a virtual host go to the specific IP of the machine.
To create virtual IP address we need to
An easy solution is to maintain a single nginx process with multiple server blocks for each of the clients. The problem is that I'll have to map port numbers on my domain name provider. Now this would be all right if the domain name provider was under our control. But if we have to use a third party service provider.
Apparently nginx can serve multiple domain names from a
single ip address. It involves a bit of manual work (Automation) on my end but it's still overall simpler than other methods. I'll go with this one.


For correct behaviour, this page should be served via an HTTP server such as Apache, Nginx or IIS
This is an application to demo the js-ppwcode-util-log component.
A complete tutorial on the possibilities of the js-ppwcode-util-log component can be found here.
When using the demo application, it is recommended to open the developer console of your browser.
Instructions on how to do this in Google Chrome
can be found here.
The CUSTOM button is using a custom logger named myCustomLogger.
You can override the logLevel of the myCustomLogger logger by adding the following URL query parameter to the
browser's address bar: ?logLevel-myCustomLogger=DEBUG
The URL then becomes:
http://localhost:<port>/js-ppwcode-util-log/demo/index.html?logLevel-myCustomLogger=DEBUG
After loading the demo application with this parameter, pressing the CUSTOM button will log 2 lines to the console.
As you can see, the first message is printed at INFO level while dojoConfig configured the logLevel of
myCustomLogger to level WARN. This means we have successfully overridden the logLevel using the query parameter.
When you set the logLevel in the query parameter to ERROR, you'll see that nothing is written to the console when
the CUSTOM button is pressed.
It is also possible to configure multiple logLevels in the query parameters like this: http://localhost:<port>/js-ppwcode-util-log/demo/index.html?logLevel-demo/header/menu/QuickMenu=ERROR&logLevel-myCustomLogger=ERROR


- hello my name is khair eldeen zakaria shkokany.
- i'm 23 years ago.
- i'm fresh graduate in mechanical engineering from Balqa university.
- i'm worked too many places the most important was for me is plumber assistant .
- i like anime and games and i hope to be web developer and to know about a lot of things in
software engineering .
- i will be a streamer video games in facebook and twitch this is will be a 2nd job for me .
TOP 10 ANIME OF ME
- attack on titan
- tokyo ghoul
- parasayte
- jujutsu no kaisi
- naruto
- one piece
- black clover
- bleach
- full metal
- demon slayer


Report: Europe saw the highest growth of smartphone sales globally in Q3
by RickyFriday’s report from Canalys gives an overview of smartphone shipments and market share among OEMs, specifically for Europe. Samsung moved the most shipments in Europe this past quarter with a market share of 30.4%. It grew 26% year-over-year compared to the14.8 million from the same quarter in 2018.
Despite the US-Huawei ban, Huawei managed to sell more devices in Q3 (11.6 million) after moving just 8.5 million units in Q2. Huawei, however, saw no growth in Q3 for number of sales, though it still managed to maintain its second position in market European market share at 23.9%.
Apple ranked third this quarter with 9.8 million units, but sales were 4% lower than they were in the same quarter last year. Xiaomi ranks fourth and saw 5.5 million shipments in Q3, seeing significant growth of 73% YoY and resulted in 10.5% market share. Xiaomi’s growth is attributed to its aggressive expansion in Europe over the past year.
HMD Global takes the fifth spot selling 0.9 million units for a market share of just 1.8%. Sales for HMD slowed by 21% from last year’s Q3 which saw 1.2 million units and 2.4% market share.
Europe is in a favorable position and attracts the attention of many Chines vendors given its channel balance. Operators and open channels form 47% and 50% respectively in terms of go-to-market. This has given the potential to scale and healthier margins with mid to high-end products. – Mo Jia, Canalys analyst
Jia explains that the European market is almost evenly split between sales from open channels (i.e. buying unlocked phones at full price) and sales directly from operators (buying a smartphone with service through a provider). This is unlike the US, where a vast majority of sales come directly from operators.
with hurting Huawei sales, other Chinese vendors stepped in to try to take market share from Huawei. Looking forward, the fragmented implementation of 5G across many operators within Europe gives OEMs lots of opportunity to partner with and sell 5G devices. We expect to see an influx of midrange smartphones with 5G support in the next year, so the success of each OEM will depend on many factors in the European market.


Form here
* required fields
Name:
Form field hint
Email:
Form field hint
Website:
Form field hint
Message:
Form field hint


--- layout: archive title: Zulip Chat Archive permalink: /stream/113488-general/topic/int.20order.html ---
Why is most of https://github.com/leanprover/mathlib/blob/master/data/int/order.lean commented out? Do we have these theorems elsewhere?
Do we usually keep commented code in mathlib?
Oh, it seems we have them in core :open_mouth:
@Mario Carneiro what's this mess?
that is a very old file, ported from lean 2 I guess, and the theorems in it were either never updated or never needed, or appeared in other places (e.g. core) so they just stayed as is
I'm pretty sure the whole file can be deleted
on the plus side, it's good to see that the VSCode highlighting now understands that it is a comment; it used to try highlighting it since the nested comment at the start confused it
github highlighting doesn't
theorem coe_nat_pos {n : ℕ} (Hpos : #nat n > 0) : ↑n > 0 :=
we haven't had that notation since lean 2
I wanted to make sure that all the theorems in the file have equivalents before deleting it
Yeah, let's do that before Lean 4
is that an exercise I can outsource?
It depends whether you're currently working on maths or the theory of computability of ordinal stuff :-p
does linear algebra count as maths?
Is it over a semiring?
lattice of submodules
no semirings
I'm sure there is a trick, but let's say yes
Since I agree that semimodules have dubious worth, I plan to only generalize theorems from modules as needed
Chris asked me if semifields existed yesterday. I asked him if every semiring could be embedded into a ring and he said he didn't think so, so I told him I had no clue what a semifield was. He suggested that you take the field axioms and then remove all the ones mentioning -
. I suppose that's one way of making new structures! I wasn't even sure if this gave a well-defined definition (in the sense that there might be more than one way of axiomatising fields)
github highlighting doesn't
There's an open PR to fix the github highlighting; it probably needs to be updated for the most recent fixes to the VS code extension though.
Wow, this thread is degenerating quickly :lol:
PRed https://github.com/leanprover/mathlib/pull/348
me and Kenny are playing multiplayer lean
lots of things are there that weren't there last week. I should take this to the cocalc thread
Do we already have {α : Type*} [linear_ordered_ring α] {a : α} (h : a ≠ 0) : a * a > 0
. I can prove it but it should be there already
I guess it should have a name like mul_self_pos
, and I don't see it.
I don't think it's there, and it's good to have
There's mul_pos
and mul_self_nonneg
but maybe you found a hole :-)
Indeed I called it mul_self_pos
.
approve
Mario, do you want a PR or would it be quicker for you to add it yourself?
A PR would contains something like:
section linear_ordered_ring variables {α : Type*} [linear_ordered_ring α] lemma mul_self_eq_zero_iff (a : α) : a*a = 0 ↔ a = 0 := begin split; intro h, { cases linear_ordered_ring.eq_zero_or_eq_zero_of_mul_eq_zero h with H H ; exact H }, { rw [h, mul_zero] } end lemma mul_self_pos {a : α} (h : a ≠ 0) : a * a > 0 := lt_of_le_of_ne (mul_self_nonneg a) (λ H, h $ (mul_self_eq_zero_iff a).1 $ eq.symm H) end linear_ordered_ring
Or even one more $
I didn't include that other lemma, but it's true in any domain
do we have that linear_ordered_ring
implies domain?
I mean, as an instance
except for that pesky 0 != 1 thing
OF course I see (and use) the lemma
oh wait, 0 < 1 in a linorder ring so it's okay
https://github.com/leanprover/mathlib/commit/46502df9a61b131ee5e9265ec2593ab87b654b94 Sometimes diff tries to be too clever...
I mean, both lemmas have a hypothesis ha
about something named a
, so they're basically the same lemma
I can hear my students saying that
you permuted two lemmas!
(deleted)
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Logo Here or something
Connect
Decrypt mode
Test mode
Encrypt mode
Add key mode
Input area
Send
Response area
Output area


GULOBA MOSES STEPHEN 19/U/13382/EVE<EMAIL_ADDRESS>LWANYAGA PHILEMON 19/U/16821/EVE<EMAIL_ADDRESS>BWAYO BRIAN 19/U/16377/PS<EMAIL_ADDRESS>MWESIGWA ELIJAH KIVUMBI 19/U/17037/PS,
<EMAIL_ADDRESS>ODUC BYRON 17/U/9504/PS<EMAIL_ADDRESS>COCIS
MAKERERE UNIVERSITY
Kampala, Uganda
The simple application enables customers request for a cleaning service online from any place of their convenience for example their homes or places of work where they use Postmates API to deliver laundry to desired service provider.
Problem statement
Dry cleaning, laundry and general cleaning services are some of the most vital services in Uganda since many people need this help due to different circumstances in which they can't ably carry them out of their own but as they search for these services there are many challenges they also face including inefficient ways of making payments, it's time exhausting having to move to the service Centre and returning to collect one's items(clothes) after the cleaning, there is also frequent misunderstanding between service providers and customers regarding failure to perform the service in time
Many cleaning service centers have been coming up in most urban centers around the country for example Kampala but these have still failed to meet all these issues that come with the service to any reasonable extent. This has made it difficult for many to blend in with the whole idea of cleaning services which has also led to losses by people who choose to open up cleaning service businesses
Create Delivery
On the home Page, the user provides a pickup address and a dropoff address which are parameters required by the postmates API. The response from the Postmates API returns the price for the delivery to occur and one can either cancel or continue with the transaction.
Create Transction
On being redirected, one may choose to cancel or continue with the delivery. To continue, Add more details to support the error proneness of the delivery.
Transactions dashboard
On creating transaction, the user is redirected to dashboard for transaction status.
Payment
After the delivery is completed, the service-provider then calls the customer to verify. On completion of cleaning laundry, the service-provider then calls the user to notify them after which they are required to pay. At the home route is provided a pay option which redirects to the pay Page One then fills in the required mobile money number and bill respectively in the input boxes.
Payment and database
If successful, The transaction details are stored in an online database hosted with MongoDb. User is redirected to the success page and is provided a link to return to the homepage for more transactions.
Credits: Makerere University: GULOBA MOSES STEPHEN/LWANYAGA PHILEMON/BWAYO BRIAN/MWESIGWA ELIJAH KIVUMBI/ODUC BYRON


--- layout: page title: About header-img: "img/about-bg.png" ---
4th year medical student, Music Producer


The xActiveDirectory module is a part of the Windows PowerShell Desired State Configuration (DSC) Resource Kit, which is a collection of DSC Resources produced by the PowerShell Team. This module contains the xADDomain, xADDomainController, xADUser, xWaitForDomain, and xADDomainTrust resources. These DSC Resources allow you to configure and manage Active Directory. Note: these resources do not presently install the RSAT tools.
All of the resources in the DSC Resource Kit are provided AS IS, and are not supported through any Microsoft standard support program or service. The "x" in xActiveDirectory stands for experimental, which means that these resources will be fix forward and monitored by the module owner(s).
Please leave comments, feature requests, and bug reports in the Q & A tab for this module.
If you would like to modify xActiveDirectory module, feel free. When modifying, please update the module name, resource friendly name, and MOF class name (instructions below). As specified in the license, you may copy or modify this resource as long as they are used on the Windows Platform.
For more information about Windows PowerShell Desired State Configuration, check out the blog posts on the PowerShell Blog (this is a good starting point). There are also great community resources, such as PowerShell.org , or PowerShell Magazine . For more information on the DSC Resource Kit, check out this blog post.
To install xActiveDirectory module
To confirm installation:
This module requires the latest version of PowerShell (v4.0, which ships in Windows 8.1 or Windows Server 2012R2). To easily use PowerShell 4.0 on older operating systems, install WMF 4.0. Please read the installation instructions that are present on both the download page and the release notes for WMF 4.0.
The xActiveDirectory module contains the xADDomain, xADDomainController, xADUser, xWaitForDomain, and ADDomainTrust DSC Resources. These DSC Resources allow you to configure new domain, child domains,high availability domain
controllers and establish cross-domain trusts.
The
xADDomain
resource is responsible to create new Active directory forest configuration or new Active directory domain configuration.
The
xADDomainController
resource is responsible to install a domain controller in Active directory.
The
xADUser
resource is responsible to modify or remove Active directory User.
The
xWaitForDomain resource is responsible to wait for new domain to setup. It's worth noting that the RSAT tools will not be installed when these resources are used to configure AD. The
xADDomainTrust resource is used to establish a cross-domain trust.
xADDomain resource has following properties:
xADDomainController resource has following properties:
xADUser resource has following properties:
xWaitForADDomain resource has following properties:
xADDomainTrust resource has following properties:
When making changes to these resources, we suggest the following practice:
We reserve resource and module names without prefixes ("x" or "c") for future use (e.g. "MSFT_ADDomain" or "MSFT_ADUser"). If the next version of Windows Server ships with a "ADDomain" resource, we don't want to break any configurations that use any community modifications. Please keep a prefix such as "c" on all community modifications.
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
2.2
2.3
In the following example configuration, a highly available domain is created by adding a domain controller to an existing domain. This example uses the xWaitForDomain resource to ensure that the domain is present before the second domain controller is added.
# A configuration to Create High Availability Domain Controller configuration AssertHADC { param ( [Parameter(Mandatory)] [pscredential]$safemodeAdministratorCred, [Parameter(Mandatory)] [pscredential]$domainCred, [Parameter(Mandatory)] [pscredential]$DNSDelegationCred, [Parameter(Mandatory)] [pscredential]$NewADUserCred ) Import-DscResource -ModuleName xActiveDirectory Node $AllNodes.Where{$_.Role -eq "Primary DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xADDomain FirstDS { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DnsDelegationCredential = $DNSDelegationCred DependsOn = "[WindowsFeature]ADDSInstall" } xWaitForADDomain DscForestWait { DomainName = $Node.DomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[xADDomain]FirstDS" } xADUser FirstUser { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred UserName = "dummy" Password = $NewADUserCred Ensure = "Present" DependsOn = "[xWaitForADDomain]DscForestWait" } } Node $AllNodes.Where{$_.Role -eq "Replica DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xWaitForADDomain DscForestWait { DomainName = $Node.DomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[WindowsFeature]ADDSInstall" } xADDomainController SecondDC { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DnsDelegationCredential = $DNSDelegationCred DependsOn = "[xWaitForADDomain]DscForestWait" } } } # Configuration Data for AD $ConfigData = @{ AllNodes = @( @{ Nodename = "dsc-testNode1" Role = "Primary DC" DomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 20 RetryIntervalSec = 30 }, @{ Nodename = "dsc-testNode2" Role = "Replica DC" DomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 20 RetryIntervalSec = 30 } ) } AssertHADC -configurationData $ConfigData ` -safemodeAdministratorCred (Get-Credential -Message "New Domain Safe Mode Admin Credentials") ` -domainCred (Get-Credential -Message "New Domain Admin Credentials") ` -DNSDelegationCred (Get-Credential -Message "Credentials to Setup DNS Delegation") ` -NewADUserCred (Get-Credential -Message "New AD User Credentials") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode1" -Path $PSScriptRoot\AssertHADC ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode2" -Path $PSScriptRoot\AssertHADC ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine")
# A configuration to Create High Availability Domain Controller configuration AssertHADC { param ( [Parameter(Mandatory)] [pscredential]$safemodeAdministratorCred, [Parameter(Mandatory)] [pscredential]$domainCred, [Parameter(Mandatory)] [pscredential]$DNSDelegationCred, [Parameter(Mandatory)] [pscredential]$NewADUserCred ) Import-DscResource -ModuleName xActiveDirectory Node $AllNodes.Where{$_.Role -eq "Primary DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xADDomain FirstDS { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DnsDelegationCredential = $DNSDelegationCred DependsOn = "[WindowsFeature]ADDSInstall" } xWaitForADDomain DscForestWait { DomainName = $Node.DomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[xADDomain]FirstDS" } xADUser FirstUser { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred UserName = "dummy" Password = $NewADUserCred Ensure = "Present" DependsOn = "[xWaitForADDomain]DscForestWait" } } Node $AllNodes.Where{$_.Role -eq "Replica DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xWaitForADDomain DscForestWait { DomainName = $Node.DomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[WindowsFeature]ADDSInstall" } xADDomainController SecondDC { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DnsDelegationCredential = $DNSDelegationCred DependsOn = "[xWaitForADDomain]DscForestWait" } } } # Configuration Data for AD $ConfigData = @{ AllNodes = @( @{ Nodename = "dsc-testNode1" Role = "Primary DC" DomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 20 RetryIntervalSec = 30 }, @{ Nodename = "dsc-testNode2" Role = "Replica DC" DomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 20 RetryIntervalSec = 30 } ) } AssertHADC -configurationData $ConfigData ` -safemodeAdministratorCred (Get-Credential -Message "New Domain Safe Mode Admin Credentials") ` -domainCred (Get-Credential -Message "New Domain Admin Credentials") ` -DNSDelegationCred (Get-Credential -Message "Credentials to Setup DNS Delegation") ` -NewADUserCred (Get-Credential -Message "New AD User Credentials") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode1" -Path $PSScriptRoot\AssertHADC ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode2" -Path $PSScriptRoot\AssertHADC ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine")
In this example, we create a domain, and then create a child domain on another node.
# Configuration to Setup Parent Child Domains configuration AssertParentChildDomains { param ( [Parameter(Mandatory)] [pscredential]$safemodeAdministratorCred, [Parameter(Mandatory)] [pscredential]$domainCred, [Parameter(Mandatory)] [pscredential]$DNSDelegationCred, [Parameter(Mandatory)] [pscredential]$NewADUserCred ) Import-DscResource -ModuleName xActiveDirectory Node $AllNodes.Where{$_.Role -eq "Parent DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xADDomain FirstDS { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DnsDelegationCredential = $DNSDelegationCred DependsOn = "[WindowsFeature]ADDSInstall" } xWaitForADDomain DscForestWait { DomainName = $Node.DomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[xADDomain]FirstDS" } xADUser FirstUser { DomainName = $Node.DomainName DomainAdministratorCredential = $domaincred UserName = "dummy" Password = $NewADUserCred Ensure = "Present" DependsOn = "[xWaitForADDomain]DscForestWait" } } Node $AllNodes.Where{$_.Role -eq "Child DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xWaitForADDomain DscForestWait { DomainName = $Node.ParentDomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[WindowsFeature]ADDSInstall" } xADDomain ChildDS { DomainName = $Node.DomainName ParentDomainName = $Node.ParentDomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DependsOn = "[xWaitForADDomain]DscForestWait" } } } $ConfigData = @{ AllNodes = @( @{ Nodename = "dsc-testNode1" Role = "Parent DC" DomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 50 RetryIntervalSec = 30 }, @{ Nodename = "dsc-testNode2" Role = "Child DC" DomainName = "dsc-child" ParentDomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 50 RetryIntervalSec = 30 } ) } AssertParentChildDomains -configurationData $ConfigData ` -safemodeAdministratorCred (Get-Credential -Message "New Domain Safe Mode Admin Credentials") ` -domainCred (Get-Credential -Message "New Domain Admin Credentials") ` -DNSDelegationCred (Get-Credential -Message "Credentials to Setup DNS Delegation") ` -NewADUserCred (Get-Credential -Message "New AD User Credentials") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode1" -Path $PSScriptRoot\AssertParentChildDomains ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode2" -Path $PSScriptRoot\AssertParentChildDomains ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine")
In this example, we setup one-way trust between two domains
configuration Sample_xADDomainTrust_OneWayTrust { param ( [Parameter(Mandatory)] [String]$SourceDomain, [Parameter(Mandatory)] [String]$TargetDomain, [Parameter(Mandatory)] [PSCredential]$TargetDomainAdminCred, [Parameter(Mandatory)] [String]$TrustDirection ) Import-DscResource -module xActiveDirectory Node $AllNodes.Where{$_.Role -eq 'DomainController'}.NodeName { xADDomainTrust trust { Ensure = 'Present' SourceDomainName = $SourceDomain TargetDomainName = $TargetDomain TargetDomainAdministratorCredential = $TargetDomainAdminCred TrustDirection = $TrustDirection TrustType = 'External' } } } $config = @{ AllNodes = @( @{ NodeName = 'localhost' Role = 'DomainController' # Certificate Thumbprint that is used to encrypt/decrypt the credential CertificateID = 'B9192121495A307A492A19F6344E8752B51AC4A6' } ) } Sample_xADDomainTrust_OneWayTrust -configurationdata $config ` -SourceDomain safeharbor.contoso.com ` -TargetDomain corporate.contoso.com ` -TargetDomainAdminCred (get-credential) ` -TrustDirection 'Inbound'
# Configuration to Setup Parent Child Domains configuration AssertParentChildDomains { param ( [Parameter(Mandatory)] [pscredential]$safemodeAdministratorCred, [Parameter(Mandatory)] [pscredential]$domainCred, [Parameter(Mandatory)] [pscredential]$DNSDelegationCred, [Parameter(Mandatory)] [pscredential]$NewADUserCred ) Import-DscResource -ModuleName xActiveDirectory Node $AllNodes.Where{$_.Role -eq "Parent DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xADDomain FirstDS { DomainName = $Node.DomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DnsDelegationCredential = $DNSDelegationCred DependsOn = "[WindowsFeature]ADDSInstall" } xWaitForADDomain DscForestWait { DomainName = $Node.DomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[xADDomain]FirstDS" } xADUser FirstUser { DomainName = $Node.DomainName DomainAdministratorCredential = $domaincred UserName = "dummy" Password = $NewADUserCred Ensure = "Present" DependsOn = "[xWaitForADDomain]DscForestWait" } } Node $AllNodes.Where{$_.Role -eq "Child DC"}.Nodename { WindowsFeature ADDSInstall { Ensure = "Present" Name = "AD-Domain-Services" } xWaitForADDomain DscForestWait { DomainName = $Node.ParentDomainName DomainUserCredential = $domainCred RetryCount = $Node.RetryCount RetryIntervalSec = $Node.RetryIntervalSec DependsOn = "[WindowsFeature]ADDSInstall" } xADDomain ChildDS { DomainName = $Node.DomainName ParentDomainName = $Node.ParentDomainName DomainAdministratorCredential = $domainCred SafemodeAdministratorPassword = $safemodeAdministratorCred DependsOn = "[xWaitForADDomain]DscForestWait" } } } $ConfigData = @{ AllNodes = @( @{ Nodename = "dsc-testNode1" Role = "Parent DC" DomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 50 RetryIntervalSec = 30 }, @{ Nodename = "dsc-testNode2" Role = "Child DC" DomainName = "dsc-child" ParentDomainName = "dsc-test.contoso.com" CertificateFile = "C:\publicKeys\targetNode.cer" Thumbprint = "AC23EA3A9E291A75757A556D0B71CBBF8C4F6FD8" RetryCount = 50 RetryIntervalSec = 30 } ) } AssertParentChildDomains -configurationData $ConfigData ` -safemodeAdministratorCred (Get-Credential -Message "New Domain Safe Mode Admin Credentials") ` -domainCred (Get-Credential -Message "New Domain Admin Credentials") ` -DNSDelegationCred (Get-Credential -Message "Credentials to Setup DNS Delegation") ` -NewADUserCred (Get-Credential -Message "New AD User Credentials") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode1" -Path $PSScriptRoot\AssertParentChildDomains ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine") Start-DscConfiguration -Wait -Force -Verbose -ComputerName "dsc-testNode2" -Path $PSScriptRoot\AssertParentChildDomains ` -Credential (Get-Credential -Message "Local Admin Credentials on Remote Machine")


/** * @author Trevor McCauley * @link www.senocular.com */ package org.papervision3d.core.utils.virtualmouse { /** * Interface for virtual mouse events * allowing you to check an event for * the type of IVirtualMouseEvent to see * if it originated from VirtualMouse. */ public interface IVirtualMouseEvent {} }


Generate data block
In this tab you can generate the data block of a signature. It consists of two parts: the hash function identifier and the hash digest.
-
Hash function identifier
The hash function identifier is an ASN.1 encoded data block.
Amongst other informations it includes the name of the used hash function (algorithm identifier), the total length of the data block and the length of the hash value.
The length and the value of the hash function identifier change when an other hash function is selected.
-
Hash digest
The hash value of the input text is calculated.
The length of the hash value depends on the selected hash function.
The generated data block is displayed in hexadecimal format.