httpc
Module
Module Summary
Description
This module provides the API to an HTTP/1.1 compatible client according to RFC 2616. Caching is not supported.
When starting the Inets application, a manager process for the default profile is started. The functions in this API that do not explicitly use a profile accesses the default profile. A profile keeps track of proxy options, cookies, and other options that can be applied to more than one request.
If the scheme https is used, the SSL application must be started. When https links need to go through a proxy, the CONNECT method extension to HTTP-1.1 is used to establish a tunnel and then the connection is upgraded to TLS. However, "TLS upgrade" according to RFC 2817is not supported.
Pipelining is only used if the pipeline time-out is set, otherwise persistent connections without pipelining are used. That is, the client always waits for the previous response before sending the next request.
Some examples are provided in the Inets User's Guide.
DATA TYPES
Type definitions that are used more than once in this module:
boolean() = true | false
string() = list of ASCII characters
request_id() = reference()
profile() = atom()
path() = string() representing a file path or directory path
ip_address() = See the inet(3) manual page in Kernel.
socket_opt() = See the options used by gen_tcp(3) gen_tcp(3) and ssl(3) connect(s)
HTTP DATA TYPES
Type definitions related to HTTP:
method() = head | get | put | post | trace | options | delete | patch
- request()
-
= {url(), headers()}
| {url(), headers(), content_type(), body()}
url() = string() syntax according to the URI definition in RFC 2396, for example "http://www.erlang.org"
status_line() = {http_version(), status_code(), reason_phrase()}
http_version() = string(), for example, "HTTP/1.1"
status_code() = integer()
reason_phrase() = string()
content_type() = string()
headers() = [header()]
header() = {field(), value()}
field() = string()
value() = string()
- body()
-
= string() | binary()
| {fun(accumulator())
-> body_processing_result(), accumulator()}
| {chunkify, fun(accumulator())
-> body_processing_result(), accumulator()}
body_processing_result() = eof | {ok, iolist(), accumulator()}
accumulator() = term()
filename() = string()
For more information about HTTP, see RFC 2616.
SSL DATA TYPES
See ssl(3) for information about SSL options (ssloptions()).
HTTP CLIENT SERVICE START/STOP
An HTTP client can be configured to start when starting the Inets application or started dynamically in runtime by calling the Inets application API inets:start(httpc, ServiceConfig) or inets:start(httpc, ServiceConfig, How), see inets(3). The configuration options are as follows:
- {profile, profile()}
Name of the profile, see DATA TYPES. This option is mandatory.
- {data_dir, path()}
Directory where the profile can save persistent data. If omitted, all cookies are treated as session cookies.
The client can be stopped using inets:stop(httpc, Pid) or inets:stop(httpc, Profile).
Exports
cancel_request(RequestId) ->
cancel_request(RequestId, Profile) -> ok
Types
Cancels an asynchronous HTTP request. Notice that this does not guarantee that the request response is not delivered. Because it is asynchronous, the request can already have been completed when the cancellation arrives.
cookie_header(Url) ->
cookie_header(Url, Profile | Opts) -> header() | {error, Reason}
cookie_header(Url, Opts, Profile) -> header() | {error, Reason}
Types
Returns the cookie header that would have been sent when making a request to Url using profile Profile. If no profile is specified, the default profile is used.
Option ipv6_host_with_bracket deals with how to parse IPv6 addresses. For details, see argument Options of request/[4,5].
get_options(OptionItems) -> {ok, Values} | {error, Reason}
get_options(OptionItems, Profile) -> {ok, Values} | {error, Reason}
Types
Retrieves the options currently used by the client.
info() -> list()
info(Profile) -> list()
Types
Produces a list of miscellaneous information. Intended for debugging. If no profile is specified, the default profile is used.
reset_cookies() -> void()
reset_cookies(Profile) -> void()
Types
Resets (clears) the cookie database for the specified Profile. If no profile is specified the default profile is used.
request(Url) ->
request(Url, Profile) -> {ok, Result} | {error, Reason}
Types
Equivalent to httpc:request(get, {Url, []}, [], []).
request(Method, Request, HTTPOptions, Options) ->
request(Method, Request, HTTPOptions, Options, Profile) -> {ok, Result} | {ok, saved_to_file} | {error, Reason}
Types
Sends an HTTP request. The function can be both synchronous and asynchronous. In the latter case, the function returns {ok, RequestId} and then the information is delivered to the receiver depending on that value.
HTTP option (http_option()) details:
- timeout
-
Time-out time for the request.
The clock starts ticking when the request is sent.
Time is in milliseconds.
Default is infinity.
- connect_timeout
-
Connection time-out time, used during the initial request, when the client is connecting to the server.
Time is in milliseconds.
Default is the value of option timeout.
- ssl
-
This is the SSL/TLS connectin configuration option.
Defaults to []. See ssl:connect/[2,3,4] for available options.
- autoredirect
-
The client automatically retrieves the information from the new URI and returns that as the result, instead of a 30X-result code.
For some 30X-result codes, automatic redirect is not allowed. In these cases the 30X-result is always returned.
Default is true.
- proxy_auth
-
A proxy-authorization header using the provided username and password is added to the request.
- version
-
Can be used to make the client act as an HTTP/1.0 or HTTP/0.9 client. By default this is an HTTP/1.1 client. When using HTTP/1.0 persistent connections are not used.
Default is the string "HTTP/1.1".
- relaxed
-
If set to true, workarounds for known server deviations from the HTTP-standard are enabled.
Default is false.
- url_encode
-
Applies Percent-encoding, also known as URL encoding on the URL.
Default is false.
Option (option()) details:
- sync
-
Option for the request to be synchronous or asynchronous.
Default is true.
- stream
-
Streams the body of a 200 or 206 response to the calling process or to a file. When streaming to the calling process using option self, the following stream messages are sent to that process: {http, {RequestId, stream_start, Headers}}, {http, {RequestId, stream, BinBodyPart}}, and {http, {RequestId, stream_end, Headers}}.
When streaming to the calling processes using option {self, once}, the first message has an extra element, that is, {http, {RequestId, stream_start, Headers, Pid}}. This is the process id to be used as an argument to http:stream_next/1 to trigger the next message to be sent to the calling process.
Notice that chunked encoding can add headers so that there are more headers in the stream_end message than in stream_start. When streaming to a file and the request is asynchronous, the message {http, {RequestId, saved_to_file}} is sent.
Default is none.
- body_format
-
Defines if the body is to be delivered as a string or binary. This option is only valid for the synchronous request.
Default is string.
- full_result
-
Defines if a "full result" is to be returned to the caller (that is, the body, the headers, and the entire status line) or not (the body and the status code).
Default is true.
- headers_as_is
-
Defines if the headers provided by the user are to be made lower case or to be regarded as case sensitive.
The HTTP standard requires them to be case insensitive. Use this feature only if there is no other way to communicate with the server or for testing purpose. When this option is used, no headers are automatically added. All necessary headers must be provided by the user.
Default is false.
- socket_opts
-
Socket options to be used for this and subsequent requests.
Overrides any value set by function set_options.
The validity of the options is not checked by the HTTP client they are assumed to be correct and passed on to ssl application and inet driver, which may reject them if they are not correct. Note that the current implementation assumes the requests to the same host, port combination will use the same socket options.
By default the socket options set by function set_options/[1,2] are used when establishing a connection.
- receiver
-
Defines how the client delivers the result of an asynchronous request (sync has the value false).
- pid()
-
Messages are sent to this process in the format {http, ReplyInfo}.
- function/1
-
Information is delivered to the receiver through calls to the provided fun Receiver(ReplyInfo).
- {Module, Function, Args}
-
Information is delivered to the receiver through calls to the callback function apply(Module, Function, [ReplyInfo | Args]).
In all of these cases, ReplyInfo has the following structure:
{RequestId, saved_to_file} {RequestId, {error, Reason}} {RequestId, Result} {RequestId, stream_start, Headers} {RequestId, stream_start, Headers, HandlerPid} {RequestId, stream, BinBodyPart} {RequestId, stream_end, Headers}
Default is the pid of the process calling the request function (self()).
- ipv6_host_with_brackets
-
Defines when parsing the Host-Port part of an URI with an IPv6 address with brackets, if those brackets are to be retained (true) or stripped (false).
Default is false.
set_options(Options) ->
set_options(Options, Profile) -> ok | {error, Reason}
Types
Sets options to be used for subsequent requests.
If possible, the client keeps its connections alive and uses persistent connections with or without pipeline depending on configuration and current circumstances. The HTTP/1.1 specification does not provide a guideline for how many requests that are ideal to be sent on a persistent connection. This depends much on the application.
A long queue of requests can cause a user-perceived delay, as earlier requests can take a long time to complete. The HTTP/1.1 specification suggests a limit of two persistent connections per server, which is the default value of option max_sessions.
store_cookies(SetCookieHeaders, Url) ->
store_cookies(SetCookieHeaders, Url, Profile) -> ok | {error, Reason}
Types
Saves the cookies defined in SetCookieHeaders in the client profile cookie database. Call this function if option cookies is set to verify. If no profile is specified, the default profile is used.
Types
which_cookies() -> cookies()
which_cookies(Profile) -> cookies()
Types
Produces a list of the entire cookie database. Intended for debugging/testing purposes. If no profile is specified, the default profile is used.
which_sessions() -> session_info()
which_sessions(Profile) -> session_info()
Types
Produces a slightly processed dump of the session database. It is intended for debugging. If no profile is specified, the default profile is used.


 However, the upper layers of Camlistore standardize on
a common schema to represent various
classes of data.
Schema blobs are JSON objects with at least two attributes always
set: camliVersion, which is always 1,
and camliType, which tells you the type of metadata the
blob contains.
Here are some of the data types we've started to formalize
a JSON schema for:
-
Files:
traditional filesystems. Files, directories, inodes, symlinks,
etc. Uses the file, directory, symlink,
and inode camliTypes.
-
Permanodes: the immutable root
"anchor" of mutable Camlistore objects
(see terminology). Users create
signed claim schema
blobs which reference a permanode and define some mutation for the
permanode.
Permanodes are used to model many kinds of mutable data, including
mutable files, dynamic directories, and more.
Uses the permanode and claim camliTypes.
-
Static Sets:
Immutable lists of other blobs by their refs. Indicated by
the static-set camliType.
-
"Keep" claims:
Normally, any object that isn't referenced by a permanode could
theoretically be garbage collected. Keep claims prevent that from
happening. Indicated by the keep camliType.


"You never fail until you stop trying!."
Thank you for taking a minute to review my profile. I appreciate you stopping by and learning a little more about me.
Self motivated & result oriented professional, interested in solving problems with large scale distributed systems and machine learning by covering every aspect of product development.


Boxplot representation of the evolution of frost occurrence (percentage points) for the summer period, according to elevation. Analyses are the same as the maps of Fig. 4. The boxes have lines at the lower, median and upper quartile values. The whiskers are lines extending from each end of the box to 1.5 interquartile range. Plus signs correspond to statistical outliers.


Hello, world!
See Review
Review Title
Review text
DOM Example
Hello, DOM!
Switch
Multiple Switch
Math Sample
Assignment Sample
True False Sample
Logical Sample
Short Circuiting And Sample
Short Circuiting OR Sample
Simple Try Catch
Finally Catch
referenceError
rangeErrorSample
typeErrorSample
uriSample
syntaxErrorSample
typeof Sample
constructorSample Sample
helper function Sample
instanceof operator
Function scope
In event handler
Pass to function from event handler
Object literal
Use with call()/apply()
Constructor Functions
NOTE: IE and Edge do not support the Spread operator
Convert string to array
Filter duplicates from array
Copy
Copy Object Arrays
Concatentation
Using Spread in constructors
Using Spread for function arguments
Object literals


Lorem Ipsum, compute the checksum. Dolores Umbridge, check the fridge. Severus Snape, mind your cape. J.K Rowling, let's go bowling. Jon Snow dead, who broke the bed? Stannis baratheon defeated, will it be repeated? Smaug killed, fuel filled.


Before Change
ia.do_assert(len(shape) in [2, 3],
"Argument "shape" in HeatmapsOnImage expected to be 2d or 3d, got shape %s." % (shape,))
ia.do_assert(min_value < max_value)
ia.do_assert(np.min(arr.flat[0:50]) >= min_value - np.finfo(arr.dtype).eps,
("Value range of heatmap was chosen to be (%.8f, %.8f), but found value below minimum in first "
+ "50 heatmap array values.") % (min_value, max_value))
ia.do_assert(np.max(arr.flat[0:50]) <= max_value + np.finfo(arr.dtype).eps,
("Value range of heatmap was chosen to be (%.8f, %.8f), but found value above maximum in first "
+ "50 heatmap array values.") % (min_value, max_value))
After Change
"found actual min/max of (%.8f, %.8f). Array will be "
"clipped to chosen value range.") % (
min_value, max_value, np.min(arr), np.max(arr)))
arr = np.clip(arr, min_value, max_value)
if arr.ndim == 2:
arr = arr[..., np.newaxis]
self.arr_was_2d = True


--- layout: post title: Property Binder 3.0-rc1 released published: 1 category: - Programming ---
Changes are here. Biggest change is to admit sources of property configuration other than Properties and string-to-string Maps. Enjoy!


API Key links the sample mobile app to a project in Telerik Backend Services.
To set the API Key open the /scripts/app/settings.js file and replace $EVERLIVE_API_KEY$ with the API Key of your 'Friends' project.


Given a Java property file, allow to populate a counterpart class with typed values.
Also allow to generate the target class(es), and run that generator as a Maven plugin.
Many Java applications are configured with external parameters that have to be loaded by the application from “.properties” files. Once loaded, those parameters are exposed as Strings, and the keys to access them are also Strings.
The properties binder allow to populate a configuration class within which fields are the counterpart keys, and values are typed values.
The properties class generator allow to generate such configuration class from a template property file. A Maven plugin allow to do it automatically.
Say we have such a configuration file “conf.properties” :
# Properties definining the GUI gui.window.width = 500 gui.window.height = 300 gui.colors.background = #FFFFFF gui.colors.foreground = #000080 # Properties definining datasources service.url = https://some-services.example.org/someService service.uuid = 5da66c77-7062-4b30-97fc-e747eb64570a db.driver = com.fakesql.jdbc.Driver db.url = jdbc:fakesql://localhost:3306/localdb?autoReconnect=true db.account.login = theLogin db.account.password = thePassword
Using the property binder allow to load that file to the target class org.example.Conf, and then use the properties as typed data :
// unmarshall the property file to an org.example.Conf object Conf conf = Conf.unmarshall(new FileInputStream("conf.properties")); // look, we have an int : int width = Math.min(conf.gui.window.width, 400); // we can also use typed data in place : Dimension size = new Dimension(width, conf.gui.window.height); // look, we have an URI : URLConnection extService = conf.service.url.toURL().openConnection(); // we can also supply an adapter for other types // such as java.awt.Color Color darkBg = conf.gui.colors.background.darker(); // darker() is a method of Color // you can handle groups of fields at once Connection dbConnection = getConnection(conf.db); // in fact, the class org.example.Conf wraps the class org.example.Conf.Db and others
To achieve this, you can create the target class by hand, but it is much more easy to generate it automatically from the property file, that serves as a template.
The template property file aims to describe the shape of the target structure thanks to example values and additional indications for the generator that will create the Java source code of that class(es).
Create a copy of “conf.properties” to “conf.template.properties” and apply the following modifications to that template.
First, create a new entry at the top, in order to indicate the fully qualified name of the target class to generate :
. = #org.example.Conf
. is used as a special key for few directives that drives the code generation. #org.example.Conf stands for the class name to create.
Let’s examine the other values.
The right type will be used according to the value supplied in the template property file. For example, if we find true or false, the field will be a boolean (with that default value), if we find a list of booleans, e.g. true, false, false the field will be a java.util.List<java.lang.Boolean>.
In our template we have :
gui.window.width = 500
You don’t need to change anything, 500 is a number, and the field width will be a short. The more suitable number type will be used, therefore if you want a byte, use a value in that range (lower than 128), if you want a float, use a decimal in the value, etc.
If you want to force the type regardless the value, you can also write its type before the value :
gui.window.width = $int 500
service.url = https://some-services.example.org/someService
You don’t need to change anything, “https://some-services.example.org/someService” is an URI, and the field url will be a java.net.URI.
Similarly, the db.url is also an URI :
db.url = jdbc:fakesql://localhost:3306/localdb?autoReconnect=true
But imagine we want it as a java.lang.String, we can surround it between double quotes to force it to be a java.lang.String instead of a java.net.URI:
db.url = "jdbc:fakesql://localhost:3306/localdb?autoReconnect=true"
Similarly, every time we found a character used to introduce a directive, we can ignore everything by using double quotes around that value.
Finally, if no recipe is applicable, a java.lang.String will be assumed :
db.account.login = theLogin
For the database driver, we expect having an existing java.lang.Class. We can enforce that by prepending the value with java: in the template :
db.driver = java:com.fakesql.jdbc.Driver
In your program, no more need of an additional Class.forName("com.fakesql.jdbc.Driver");, it is performed by the loader. Be aware that the class referred must be of the type given, therefore, a more general type should be specified in the template :
db.driver = java:java.sql.Driver
or if you don’t really know what will be the concrete type in the property, just use a wildcard in the template :
db.driver = java:?
Note that an entry such as :
jndi.ds = java:/comp/env/jdbc/someDB
wouldn’t be considered as a Java class, but as a java.net.URI.
The password should not be left as-is in that template, replace the value by ***** to get a char[] field. Ensure to clear the array after usage.
db.account.password = *****
Finally, we need to supply an adapter for the colors. First, indicates what is the type of the field by prepending the special notation $java.awt.Color before the actual value :
gui.colors.background = $java.awt.Color #FFFFFF
Then, we need to supply an adapter, and tell the generator to use that adapter. An adapter is just a function that takes a java.lang.String and parse it to get an instance of the expected type ; our adapter is just a java.util.function.Function<java.lang.String, java.awt.Color>, and such function already exist, it is java.awt.Color::decode.
To bind that adapter to the target class, we would write this Java code :
Adapter.map(Color.class, Color::decode) // when a Color type is expected, parse the text with Color.decode()
The ml.alternet.properties.Binder.Adapter class comes with convenient static methods to bind a class or a property name to an adapter function, or even a regular expression of a property name. It is also possible to map items from a list.
We will insert the above Java code inside our template, by using 2 others directives, the former to import the Color class, the latter to generate an unmarshaller with that adapter ; similarly, we also need an adapter for UUID :
# directives for importing the required types . = !java.awt.Color . = !java.util.UUID # directives for getting adapters . = @Adapter.map(Color.class, Color::decode) . = @Adapter.map(UUID.class, UUID::fromString)
and accordingly, setting the type on the property definition :
service.uuid = $java.util.UUID 5da66c77-7062-4b30-97fc-e747eb64570a
When a directive for getting an adapter is present, some convenient methods are added to the target class for unmarshalling a property file to an instance of that class :
Conf conf = Conf.unmarshall(new FileInputStream("conf.properties"));
If we don’t have any adapter, it is recommended to add the . = @ directive in order to generate the methods :
// if you use the ".=@" directive, this method will be generated for you // otherwise, this is what you have to write to get an instance of your // class from a property file public static Conf unmarshall(InputStream properties) throws IOException { return Binder.unmarshall( properties, Conf.class ); }
In fact, each time a property contains a dot in its name, it is breakdown in classes. That way the property name gui.colors.background creates the org.example.Conf.Gui class and the org.example.Conf.Gui.Colors class in the same Java source file.
Since no intermediate Java names called UUID or Color are in the scope of our property definitions, the type specified in the values will be automatically imported ; consequently, the import directives . = !java.awt.Color and . = !java.util.UUID may be discarded in our case.
Conversely, if we had a property like this (note that gui.colors have been changed to gui.color) :
gui.color.background = $java.awt.Color #FFFFFF
we would have an intermediate type org.example.Conf.Gui.Color that would mask the Color type name for the background field ; therefore the field type in the Java code generated will be written with its fully qualified name java.awt.Color, and that name won’t be automatically imported, whereas it is also used in the adapter. If a type is used in the adapter and not automatically imported, you have to write the import directive in the template.
Well, if you don’t know whether to import a type or not, don’t worry, the compiler will let you know after trying to generate your class : first, omit the imports, then generate the class and have a look at the compiler for the missing imports, and then, add them to the template, and try again !
The final property template “conf.template.properties” looks like this :
# Target class name . = #org.example.Conf # Required adapters . = @Adapter.map(Color.class, Color::decode) . = @Adapter.map(UUID.class, UUID::fromString) # Properties definining the GUI gui.window.width = $int 500 gui.window.height = 300 gui.colors.background = $java.awt.Color #FFFFFF gui.colors.foreground = $java.awt.Color #000080 # Properties definining datasources service.url = https://some-services.example.org/someService service.uuid = $java.util.UUID 5da66c77-7062-4b30-97fc-e747eb64570a db.driver = java:java.sql.Driver db.url = "jdbc:fakesql://localhost:3306/localdb?autoReconnect=true" db.account.login = theLogin db.account.password = *****
The next step is to generate the target class from that template. But let’s examine before other kind of types that you can use in your templates.
files.help = file:///path/to/help.txt
You don’t need to change anything, file:///path/to/help.txt is a file path, and the field help will be a java.io.File.
Dates, times, and date-times without time-zone in the ISO-8601 calendar system such as (respectively) 2007-12-03, 10:15:30, and 2007-12-03T10:15:30 are giving (respectively) java.time.LocalDate, java.time.LocalTime, and java.time.LocalDateTime :
schedule.launch : 2007-12-03 schedule.reload : 10:15:30
If several values are separated by a comma, the field will be a list :
gui.colors.pie = $java.awt.Color #FF0000, #00FF00, #0000FF
gives a java.util.List<java.awt.Color>.
gui.fonts.size = $int 12, 16, 24
gives a java.util.List<java.lang.Integer>.
If several values are separated by a pipe, the field will be an enum :
service.status = PENDING | ACTIVE | INACTIVE | DELETED
This will generate the enum org.example.Conf.Service.Status.
When the same enum is used several time, we can refer to it with its name, just like other properties that refer to an existing type :
plugin.status = $org.example.Conf.Service.Status PENDING | ACTIVE | INACTIVE | DELETED
(in the last example, the enum has been generated once, next we are referring that existing class with $; of course you are not compelled to repeat the values since the type is already define elsewhere, they are here just for documenting the template)
A comma after the enumeration gives a list, e.g :
plugin.multipleStatus = $org.example.Conf.Service.Status PENDING | ACTIVE | INACTIVE | DELETED, ACTIVE
gives a java.util.List<org.example.Conf.Service.Status>. That comma can also be set on the enum definition like this :
service.multipleStatus = PENDING | ACTIVE | INACTIVE | DELETED, ACTIVE
Sometimes we expect the enum class to be generated with a different name than the name of the field; below, we don’t want an enum named org.example.Conf.Service.StartState, we prefer having org.example.Conf.Service.Status :
service.startState = #Status PENDING | ACTIVE | INACTIVE | DELETED
Sometimes we expect the enum class to be generated in its own file. To achieve this, write the fully qualified type name followed by the values :
service.status = #org.example.Status PENDING | ACTIVE | INACTIVE | DELETED
Sometimes, a property file contains names that are not known in advance :
map.paris.geo = 48.864716, 2.349014 map.london.geo = 51.509865, -0.118092 map.istanbul.geo = 41.015137, 28.979530
The template properties file may set a star character at the place of this field :
map.*.geo = $org.example.Geo 48.864716, 2.349014
This will generate a special method that allow to retrieve a property by name. You also have to map that key to its adapter like this :
. = @Adapter.map("map.*.geo", Geo::parse)
In your program, the special $() method generated will allow to retreive the keys like this :
long dist = conf.map.<Geo> $("paris.geo") .computeDistance(conf.map.<Geo> $("istanbul.geo"));
That map property may also contains other predefined fields if needed. Those fields are not reachable with the $() method ; that method allow to retrieve only fields that are not predefined.
Sometimes, there is a value as well as subproperties ; they have to be specified in the template property file as well :
gui.window = Sample application gui.window.width = $int 500 gui.window.height = 300
In your program, the field conf.gui.window gives an instance of org.example.Conf.Gui.Window with the fields width and height, and an additional field $ that contains the value Sample application (a java.lang.String in that case, but any other type is allowed) :
System.out.println(conf.gui.window.$); // print "Sample application"
In order to create a separate type (like for enums), write its type at the group level. The group level represents the class to create, and ends with a dot, like gui.window. :
gui.window. = #org.example.Window gui.window.width = $int 500 gui.window.height = 300
And without a fully qualified name, it’s just a renaming from org.example.Conf.Gui.Window to org.example.Conf.Gui.Application :
gui.window. = #Application gui.window.width = $int 500 gui.window.height = 300
Do not confuse with the self value, that may also have its own type :
gui.window = $java.lang.String Sample application gui.window. = #org.example.Gui gui.window.width = $int 500 gui.window.height = 300
Except for renaming, always write classes with their fully qualified name. The Java source generated will take care of classes to import or not.
The directives . = @Adapter.map() are strings that may refer to other types ; those other types have to be explicitly imported with the . = !org.acme.Foo directive. Even when a type is explicitly imported, its name must be fully qualified in $ references.
The ml.alternet.properties.Generator class can be used to generate the target classes from the template properties files :
File propertiesTemplatesDirectory = new File("file:///path/to/templates-dir/"); File outputDirectory = new File("file:///path/to/target-dir/"); new Generator() .setPropertiesTemplatesDirectory(propertiesTemplatesDirectory) .setOutputDirectory(outputDirectory) .generate();
But it is more easy to use the Maven plugin in pom.xml.
This Maven Plugin aims to create a bunch of classes that can be populated by .properties files :
<build> <dependencies> <dependency> <groupId>ml.alternet</groupId> <artifactId>alternet-tools</artifactId> <version>1.0</version> </dependency> </dependencies> <plugins> <plugin> <groupId>ml.alternet</groupId> <artifactId>prop-bind-maven-plugin</artifactId> <version>1.0</version> <configuration> </configuration> <executions> <execution> <?m2e execute?> <id>generate</id> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
The plugin accepts the parameters propertiesDirectory and outputDirectory that are set by default to, respectively, “${basedir}/src/main/properties” and “${project.build.directory}/generated-sources/prop-bind”.
It will scan recursively the input directory and generate the Java source code in the output directory for each .properties file.
Before loading the property file, all the fields are empty (default value for primitives and null for objects), except for booleans that takes as a default value the one present in the template.
If you don’t like default values for primitives, use the counterpart boxed type instead :
# the property will be null if the value is missing in the properties file gui.window.width = $java.lang.Integer 500
It is possible to use an existing object with default values, and load on it the property file. A typical usage would to use system properties as default values, which allow to pass default values when launching Java : -Dgui.window.height = 500 :
# start with the default System conf Conf conf = Conf.unmarshall(System.getProperties()); # update with other values conf.update(new FileInputStream("conf.properties"));
or if you prefer to read first conf.default.properties and last to override the values with the System properties :
# start with the default conf Conf conf = Conf.unmarshall(new FileInputStream("conf.default.properties")); # go on with other values conf.update(new FileInputStream("conf.properties")); # finish by overriding with System properties conf.update(System.getProperties());
When loading properties, instead of having a single property file, it is possible to have multiple source files :
# Properties definining the GUI gui.window.width = 500 gui.window.height = 300 gui.colors.background = #FFFFFF gui.colors.foreground = #000080 # Properties definining datasources service.url = https://some-services.example.org/someService service.uuid = 5da66c77-7062-4b30-97fc-e747eb64570a db = file:datasource/db.properties
# Properties definining DB datasource driver = com.fakesql.jdbc.Driver url = jdbc:fakesql://localhost:3306/localdb?autoReconnect=true account.login = theLogin account.password = thePassword
Accessing a property in your Java program remains unchanged :
if ("admin".equals(conf.db.account.login)) { // TODO }
The file may be either a relative path relative to the current directory or an absolute path :
db = file:relative/path/to/db.properties
db = file:///absolute/path/to/db.properties
Variable interpolation is available with Java EE Expression Language. In order to use this feature, the following dependency have to be added :
<dependency> <groupId>org.glassfish</groupId> <artifactId>javax.el</artifactId> <version>3.0.1-b09</version> </dependency>
Only the variables already set can be referred :
# Properties definining the GUI gui.window.height = 300 gui.window.width = ${gui.window.height + 200} gui.colors.background = #F0F1F2 gui.colors.foreground = ${gui.colors.background.brighter()}
If a property name is in conflict with Java naming rules (use of illegal characters, use of a keyword, name already existing in the same scope), the generator will create a valid name derived from the original name for you.
The generator will fail if the name is made of only illegal characters : in that case, just use a nice name for your properties.


class: top, right, inverse, title-slide # STT 2820 Chapter 15 ### Alan T. Arnholt ### updated: 2019-02-25 --- class: inverse, center, middle # Quiz Grades --- # Example 15.1---Quiz Grade We are going to have a 4 question quizzes throughout the semester. If you have 90% knowledge of the material, what average score do you expect to earn? -- ```r x <- c(0, 25, 50, 75, 100) px <- dbinom(0:4, 4, .9) EX <- sum(x*px) EX ``` ``` [1] 90 ``` -- ```r VX <- sum((x - EX)^2*px) SX <- VX^.5 c(EX, VX, SX) ``` ``` [1] 90 225 15 ``` --- class: inverse, center, middle # Cards --- Consider a game where you are paid $0 for a red card, $15 for a spade, $30 for a club and $50 for Ace of clubs. What are the expected value, variance, and standard deviation for this game? If you were going to play this game many times, how much should you be willing to pay to play? If you were going to play only a few times, how much should you be willing to pay? -- ```r px <- c(0, 15, 30, 50) x <- c(26/52, 13/52, 12/52, 1/52) EX <- sum(x*px) VX <- sum((x - EX)^2*px) c(EX, VX, VX^.5) ``` ``` [1] 11.63462 12591.43121 112.21155 ``` --- class: inverse, center, middle # Kids --- # Example 15.3 **Kids** If a couple decides to have children until they either have a girl or 3 kids, how many boys should they expect to have if `\(P(\text{girl}) = 0.47\)`? State the random variable and give its distribution. What is the standard deviation of the number of boys they will have? How does this change if the random variable becomes number of children? -- Let X = number of boys; Let Y = number of children. -- ```r X <- c(0, 1, 2, 3) px <- c(.47, .53*.47, .53^2*.47, .53^3) EXb <- sum(X*px) SXb <- sqrt(sum((X - EXb)^2*px)) Y <- c(1, 2, 3) py <- c(.47, .53*.47, .53^2*.47 + .53^3) EYk <- sum(Y*py) SYk <- sqrt(sum((Y - EYk)^2*py)) c(EXb, SXb, EYk, SYk) ``` ``` [1] 0.9597770 1.0935781 1.8109000 0.8456602 ``` --- class: inverse, center, middle # Shift Scale --- # Shift Scale What happens to random variables' mean and variance if we shift their values? If E(X) = 20 and `\(\sigma_X^2 = 100\)`, what are the mean and variance of 1. `\(X + 7\)` 2. `\(3X\)` -- ```r X <- c(0, 10, 20, 30) px <- c(0.1, 0.2, 0.3, 0.4) EX <- sum(X*px) VX <- sum((X - EX)^2*px) c(EX, VX) ``` ``` [1] 20 100 ``` ```r sum((X + 7)*px) ``` ``` [1] 27 ``` ```r sum(((X + 7) - 27)^2*px) ``` ``` [1] 100 ``` --- # Shift Scale-continued ```r X <- c(0, 10, 20, 30) px <- c(0.1, 0.2, 0.3, 0.4) EX <- sum(X*px) VX <- sum((X - EX)^2*px) c(EX, VX) ``` ``` [1] 20 100 ``` ```r sum((3*X)*px) ``` ``` [1] 60 ``` ```r sum(((3*X) - 60)^2*px) ``` ``` [1] 900 ``` --- class: inverse, center, middle # Independent Random Variables --- # For Independent Random Variables: -- * `\(E(aX + bY) = aE(X) + bE(Y)\)` -- * `\(E(aX - bY) = aE(X) - bE(Y)\)` -- * `\(Var(aX \pm bY) = a^2Var(X) + b^2Var(Y)\)` --- # Example 15.5 If `\(X\)` and `\(Y\)` are independent and `\(E(X) = 5\)`, `\(Var(X) = 9\)`, `\(E(Y) = 8\)`, and `\(Var(Y) = 12\)`, what are: a. `\(E(4X)\)` -- 20 b. `\(E(2X + 3Y)\)` -- 34 c. `\(Var(5X)\)` -- 225 d. `\(Var(4X - 7Y)\)` -- ```r 4^2*9 + 7^2*12 ``` ``` [1] 732 ``` --- class: inverse, center, middle # Sequence of Indepedent Random Variables --- * For sequence of independent random variables `\({X_1, X_2, \ldots, X_m}\)` with mean `\(\mu\)` and variance `\(\sigma^2\)`, `\(E(X_1+X_2+\cdots+X_m)=m\mu\)` and `\(Var(X_1+X_2+ \cdots +X_m)=m\sigma^2\)` and `\(SD(X_1+X_2+ \cdots +X_m)=\sigma\sqrt{m}\)`. -- * Use **IndepRV** tab in test two workbook --- # Example 15.6 If `\(E(X) = 25\)` and `\(Var(X)=9\)` and `\(X_1\)` to `\(X_4\)` are independent, what are a. `\(E(X_1 + X_2 + X_3) =\)` -- `\(3 \times 25 = 75\)` -- b. `\(Var(X_1 + X_2 + X_3 +X_4)\)` -- `\(4 \times 9 = 36\)` -- c. `\(SD(X_1 + X_2 +X_3 +X_4)\)` -- `\(\sqrt{4}\cdot\sqrt{9} = 2\cdot3 = 6 = \sqrt{36}\)` -- Note that `\(Var(X_1+X_2) \neq Var(2X) = 4Var(X)\)` --- # Example 15.7 Bob works at Wal Mart. The mean purchase of his customers is $200 with a standard deviation of $50. If Bob checks out 100 customers, what is the probability that he has rung up more than $21,000? -- `$$E(X_1 + \cdots + X_{100}) = 100 \times 200 = 20000$$` `$$SD(X_1 + \cdots + X_{100}) = 50 \times \sqrt{100} = 500$$` `$$P(T \geq 21000) = P\left(z \geq \frac{21000 - 20000}{500}= 2\right) = 0.0228$$` <img src="Chapter15a_files/figure-html/unnamed-chunk-8-1.png" style="display: block; margin: auto;" />


IBM Content Navigator Dojo Widget Samples
These samples show the use of the ecm.widget classes in a variety of configurations:
- ItemPropertiesDisplayPaneSample
- This samples show the use of the ecm.widget.ItemPropertiesDisplayPane in isolation.
- ViewerEmbedSample
- This samples show the use of the ecm.widget.viewer.ContentViewer in isolation.
- ContentListSample
- This samples show the use of the ecm.widget.listView.ContentList in isolation.
- ItemSecurityPaneSample
- This samples show the use of the ecm.widget.ItemSecurityPane in isolation.
- FolderSelectorSample
- This samples show the use of the ecm.widget.FolderSelector in isolation.
- ToolbarSample
- This samples show the use of the ecm.widget.Toolbar in isolation.
- ContentClassSelectorSample
- This samples show the use of the ecm.widget.ContentClassSelector in isolation.


The World’s Wealthiest Family Gets $70,000 Per Minute And $4 Million Richer Every Hour
by Peace FM OnlineThe numbers are mind-boggling: $70,000 per minute, $4 million per hour, $100 million per day.
That’s how quickly the fortune of the Waltons, the clan behind Walmart Inc., has been growing since last year’s Bloomberg ranking of the world’s richest families.
At that rate, their wealth would’ve expanded about $23,000 since you began reading this. A new Walmart associate in the U.S. would’ve made about 6 cents in that time, on the way to an $11 hourly minimum.
Featured Video


Projects
api-gateway-commons
api-gateway-request-validation
api-gateway-core
Analytics
Debugger
Docs


Toggle navigation
Home
(current)
about
howtouse
support
register
forgot password
00:00:00
(Die Stoppuhr erfordert JavaScript.)


|
|
Newbie ready to make a MK2 diverter |
0 |
2 years 50 weeks ago by rodw |
n/a |
|
|
Newbie: Just about to get 3.5kW PV :-) |
8 |
5 years 13 weeks ago by Guest |
5 years 9 weeks ago by Guest |
|
|
Newbie_ Question on CT's and Sensors |
3 |
1 year 45 weeks ago by cormad |
1 year 44 weeks ago by Robert Wall |
|
|
Ninja-Fy the Pi and intergrate with Emon |
0 |
3 years 18 weeks ago by tdereus |
n/a |
|
|
No Login possible after migration emoncms to new computer |
0 |
1 year 16 weeks ago by brutzler |
n/a |
|
|
No NanodeRFs in stock! |
4 |
4 years 48 weeks ago by geoffs |
4 years 47 weeks ago by Guest |
|
|
Node-RED and Emoncms |
17 |
3 years 2 weeks ago by aceone |
2 years 5 days ago by alco |
|
|
Non-Intrusive Load Monitoring - one sensor, appliance level detail |
23 |
5 years 14 weeks ago by Guest |
1 year 2 weeks ago by Peter Galbavy |
|
|
Noob question about current sensing build |
1 |
3 years 12 weeks ago by 3dimensional |
3 years 12 weeks ago by Robert Wall |
|
|
North America 400A 96KW drop from utility broken into two 200A 48KW load centers, 200A current clamps? |
14 |
1 year 27 weeks ago by LukeS |
1 year 27 weeks ago by Robert Wall |
|
|
Not a good PV day |
3 |
1 year 12 weeks ago by Bill Thomson |
1 year 11 weeks ago by smitt1979 |
|
|
Notifications of replies to posts |
11 |
3 years 33 weeks ago by platypus |
2 years 14 weeks ago by boelle |
|
|
Novice starting out |
44 |
3 years 19 weeks ago by mikealynch |
1 year 49 weeks ago by calypso_rae |
|
|
OEM in big building: RF reach? long-term maintainability? etc. |
2 |
2 years 51 weeks ago by Guest |
2 years 51 weeks ago by Guest |
|
|
OEM in the United States? |
6 |
4 years 3 weeks ago by Guest |
3 years 51 weeks ago by calypso_rae |
|
|
OEM used to control water and gas |
3 |
4 years 10 weeks ago by Guest |
4 years 10 weeks ago by Robert Wall |
|
|
OEM website changes |
33 |
1 year 14 weeks ago by Paul Reed |
1 year 13 weeks ago by Bill Thomson |
|
|
Off Grid Solar monitoring - Help for what to purchase. |
2 |
1 year 25 weeks ago by dogedart |
1 year 25 weeks ago by Thumperup |
|
|
Ofgem will downgrade your installation! |
3 |
3 years 44 weeks ago by noah |
3 years 44 weeks ago by richmc |
|
|
Old dog new tricks |
4 |
3 years 50 weeks ago by Guest |
2 years 34 weeks ago by Guest |
|
|
One for the Arduino C++ class experts... |
0 |
5 years 2 weeks ago by stuart |
n/a |
|
|
Online Engineering Calculator |
1 |
4 years 19 weeks ago by Robert Wall |
4 years 19 weeks ago by calypso_rae |
|
|
op amp circuit problem with the ct |
4 |
3 years 16 weeks ago by ioannamirto |
3 years 16 weeks ago by ioannamirto |
|
|
Open Energy Monitor in Mozambique |
2 |
1 year 30 weeks ago by Guest |
1 year 30 weeks ago by Guest |
|
|
Open Energy Monitor Logo ? |
4 |
5 years 4 weeks ago by S Bateman |
5 years 4 weeks ago by TrystanLea |
|
|
Open Energy Monitor solution for radio support: Smart. |
2 |
2 years 1 day ago by Rural |
2 years 1 day ago by sumnerboy |
|
|
Open Energy Usage Database |
3 |
2 years 40 weeks ago by welbaz |
2 years 39 weeks ago by welbaz |
|
|
Open source awards Edinburgh 26th Feb (Wed) |
4 |
2 years 51 weeks ago by glyn.hudson |
2 years 51 weeks ago by glyn.hudson |
|
|
OpenEnergy monitor- How to send serial data using SMS |
1 |
3 years 2 weeks ago by Mithun Manohar |
3 years 2 weeks ago by Guest |
|
|
OpenEnergy Monitor-Send serial data using Arduino GSM/GPRS shield |
0 |
3 years 1 week ago by Mithun Manohar |
n/a |
|
|
OpenEnergyMonitor and Ultrasonic Flow Meter TUF-2000M |
15 |
2 years 31 weeks ago by Antonio |
2 years 4 weeks ago by hatfieldr |
|
|
OpenEnergyMonitor development history update October 2015 |
0 |
1 year 18 weeks ago by TrystanLea |
n/a |
|
|
OpenEnergyMonitor switchable energy measuring plug (like "Spark" on Kickstarter) |
2 |
4 years 12 weeks ago by fluppie007 |
2 years 32 weeks ago by Guest |
|
|
OpenEnergyMonitor system with over 30 nodes |
13 |
3 years 13 weeks ago by Guest |
2 years 49 weeks ago by SPN_worker |
|
|
Openhab nRF24L01+ energy monitor |
16 |
1 year 25 weeks ago by DragosC |
1 year 21 weeks ago by dBC |
|
|
OpenTRV Radiator valve project |
2 |
3 years 48 weeks ago by mattwire |
2 years 44 weeks ago by boelle |
|
|
Operation without emoncms |
1 |
3 years 44 weeks ago by Guest |
3 years 44 weeks ago by Robert Wall |
|
|
OT: NTP starting to eat CPU time |
6 |
1 year 11 weeks ago by boelle |
1 year 11 weeks ago by boelle |
|
|
OTA programming for the Atmega328P micro |
0 |
1 year 12 weeks ago by daveb |
n/a |
|
|
Ovo Smart Gateway >>> associated with Smart Meters. |
5 |
1 year 36 weeks ago by Sterlingtimes |
1 year 28 weeks ago by Sterlingtimes |
|
|
OW-Server (EDS) |
0 |
1 year 23 weeks ago by Cyberslow |
n/a |
|
|
PacketGen |
9 |
3 years 4 weeks ago by charliemic |
3 years 4 weeks ago by charliemic |
|
|
Panel support for flat roof |
1 |
3 years 37 weeks ago by Brian D |
3 years 37 weeks ago by Robert Wall |
|
|
Passivhaus (Passive house) monitoring with EmonPi/EmonTX/EmonTH ... |
2 |
1 year 1 week ago by tomass |
50 weeks 5 days ago by FulfordPH |
|
|
Passivhaus new build - help needed! |
1 |
50 weeks 4 days ago by Heteractis |
50 weeks 4 days ago by Robert Wall |
|
|
Paul: How to set up multiple data steams with Pachube |
0 |
5 years 44 weeks ago by TrystanLea |
n/a |
|
|
Phase Angle Calibration |
1 |
2 years 45 weeks ago by Eric Schuler |
2 years 45 weeks ago by Robert Wall |
|
|
PHASE calculations |
57 |
4 years 27 weeks ago by stuart |
4 years 24 weeks ago by Robert Wall |
|
|
Phase controlled power switch for 'excess' solar power |
8 |
4 years 26 weeks ago by daveb |
4 years 25 weeks ago by daveb |
|
|
Phase-locking emonTx to the 50Hz supply |
1 |
4 years 13 weeks ago by MartinR |
4 years 13 weeks ago by Guest |


Course Introduction
Introduction
DevOps Essentials on AWS is a solutions-focused LiveLesson. It's the right video course if you're some type of software or DevOps-focused engineer or architect interested in learning how to use AWS Developer Tools to create a full-lifecycle softwre delivery solution. This LiveLesson shows you how to implement deployment pipelines using the AWS Developer Tools. The focus of the LiveLesson is on deployment pipeline architectures versus software architectures (e.g., monoliths, microservices, FaaS, BaaS, etc.). This LiveLesson is for you if you want to see various sample solutions for end-to-end automation of your infrastructure and pipelines.
The DevOps Essentials LiveLessons has a heavy focus on the use of AWS Developer Tools and other services, including:
- AWS CloudFormation - a tool you can use to automate the provisioning of AWS resources
- AWS CodePipeline - which provides the capability to orchestrate your software delivery workflows
- AWS CodeCommit - a Git-based version-control repository
- AWS CodeBuild - a fully-managed service for running automated builds, tests, and static analysis
- AWS CodeDeploy - a fully-managed service for deploying software to environments
AWS CodePipeline is the primary tool used in all the examples of this LiveLesson. All of the solutions are automated via CloudFormation. There are seven examples that use many of the AWS Developer Tools. All of the examples are available from a GitHub repository that will be referenced throughout this LiveLesson. All of the examples are based on the static website that you're viewing now and will be used to walk viewers through the lesson. The seven example solutions are:
- Static Website (i.e., AWS S3 hosted)
- EC2 (traditional EC2 deployment with CodeBuild and CodeDeploy on EC2 instances)
- OpsWorks
- Elastic Beanstalk
- ECS
- Serverless
- CodeStar
For each of the lessons, this LiveLesson will add additional complexity by adding additional stages, actions, databases, and services into the static website solution. While the LiveLesson predominantly uses AWS tools, there will be some third-party integratations and open-source tools incorporated into the examples. You can fork the GitHub repository to make your own changes.
In Lesson 1, you will be able to describe the basic components and tools of a deployment pipeline, describe DevOps, describe patterns of effective culture, learn team organization patterns, and the basics of establishing Continuous Delivery to deliver software on demand.
In Lesson 2, you will configure the course prerequisites on your computer, manually provision the static website, describe how to orchestrate software workflows in CodePipeline, store software assets in CodeCommit, Build and test software in CodeBuild, describe the architecture and launch the solution, provision AWS resources in CloudFormation, and orchestrate solution in CodePipeline.
In Lesson 3, you will describe basic EC2 features, describe how to deploy applications using CodeDeploy, describe the architecture and launch the solution, provision AWS resources in CloudFormation, and orchestrate the EC2-based solution in CodePipeline.
In Lesson 4, you will describe the basic features of OpsWorks, describe the architecture and launch the solution, provision AWS resources in CloudFormation, and orchestrate the solution in CodePipeline
In Lesson 5, you will describe basic features of Elastic Beanstalk, describe the architecture and launch the solution, provision AWS resources in CloudFormation, orchestrate solution in CodePipeline
In Lesson 6, you will describe basic features of EC2 Container Service (ECS), Describe the architecture and launch the solution, provision AWS resources in CloudFormation, orchestrate solution in CodePipeline
In Lesson 7, you will describe basic features of Serverless, describe the Serverless Application Model, describe the architecture and launch the solution, provision AWS resources in CloudFormation, and orchestrate solution in CodePipeline
In Lesson 8, you will launch solution from Project Template, configure Dashboard for Project, manage code changes, deploy software, orchestrate software using Pipeline, manage team members, and extend solution using Extensions.
Paul's Notes [@ZAHN: Disregard for now]
This course is solutions focused. I spend some time at the beginning describing DevOps, Continuous Delivery, and AWS. It assumes you're some type of software or DevOps-focused engineer or architect. The course focuses on how to implement the deployment pipeline architecture pattern using various AWS services and tools. I don't dive deep into software architectures (e.g., monoliths, microservices, FaaS, BaaS, etc.). Instead, I let you decide how you can use the deployment pipeline patterns for various architectures. This course is for you if you want to see various sample solutions for end-to-end automation of your infrastructure and pipelines.
With very few exceptions, I use only AWS tools. These tools include:
- AWS CloudFormation
- AWS CodePipeline
- AWS CodeCommit
- AWS CodeBuild
- AWS CodeDeploy
AWS CodePipeline is the primary tool for all the examples. All of the solutons are automated via CloudFormation. There are seven examples that use many of the tools above. All of the examples are available from our GitHub repository. All seven examples are based on the static website. This website is the one you're viewing now and will be used to walk viewers through the lesson. The seven example solutions are:
- Static Website (i.e., AWS S3 hosted)
- EC2 (traditional EC2 deployment with CodeBuild and CodeDeploy on EC2 instances)
- OpsWorks
- Elastic Beanstalk
- ECS
- Serverless
- CodeStar
I add additional complexity to the "static website" to include Java builds, services running on containers, databases, etc., but all the examples use this website to make the live changes. I incorporate the use of some third-party integratations and open-source tools into the actions. Viewers can fork the repository to make their own changes.
There will be a lesson for each of seven examples listed above. Each lesson will follow a similar format:
- Introduction - Introduce the learning objectives
- Prerequisites - Describe any setup/configuration the viewer needs to perform
- Architecture - Show the architecture and capability to click a Launch Stack button. To see an example, go to Lesson 2.2 (Static Website: Architecture)
- Code - Walk through the CloudFormation template(s) in detail since this is the basis for the automation of the entire solution. Will also view buildspec.yml, build, test and deploy scripts, appspec.yml, etc.
- Stages - For most lessons, there will be six stages in a pipeline - Source, Build, Dev, PreProd, Canary, and Production. There will be a separate sublesson for each of the stages that describe the various actions, transitions, etc. that make up the pipeline. I describe each of the stages next.
- Monitoring - Using CloudWatch to view pipeline and production activity
- Summary - A summary of what you learned
- Quiz - You can test your knowledge with a quiz at the end of the lesson
The stages are a focal point of each lesson. As I mentioned previously, most examples will include a six-stage pipeline as described below:
- Source - Will use GitHib and CodeCommit as source providers
- Build - Unit tests, style checkers, etc.
- Dev - Deploy and integration tests - used to test the running service.
- PreProd - Deploy and integration tests - used to test the combination of new software and production config. Looks like prod, uses prod config, but doesn't receive customer traffic.
- Canary - OneBox Deployment (deploy and monitor)
- Production - Deploy to production (zonal, regional, etc.)
Other tools and features to cover include:
- Lambda
- CodePipeline gates, transitions, and approvals
- Parameter Store
- Route 53
- ELB
- Blue/Green Deployment in CodeDeploy
- VPC
- Auto Scaling
- IAM
Specific Lessons:
- EC2 Lesson - adding Aurora, and Blue/Green CodeDeploy deployments in a pipeline running Java on a Tomcat server on EC2 instances. It will use the same HTML course material to host on these resources
Notes [@ZAHN: Disregard for now]
- AWS re:Invent 2016: DevOps on AWS: Advanced Continuous Delivery Techniques (DEV403).
- Show visual of stages at beginning of each Lesson
- Make each sample run on us-east-1 (Virginia)
- Create a deployment pipeline visualization with tools (Code* Tools and others)
- Describe the example application at beginning of each Lesson. Thinking of using course website for ALL examples. Add AWS Certificate Manager, SES, Aurora, and Java to cover the usual types of scenarios. Make a serverless version of the app? Is this necessary or does the HTML cover it already?
- Use different types of tools in each major lesson. For example, use cfn_nag in one, config-rule-status in another, etc.
- Focus of the video course is on using AWS services/tools only - unless there's currently no service for it
- Course will be cognizant of the AWS DevOps Engineer cert, but will be more solutions oriented than a cert prep course.
- Most of infrastructure as code will be CloudFormation. Not much of Chef, Puppet, etc.
- Solution Architectures: Level of Effort (High); Add X-Ray, Serverless Application Model, Inspector, Certification Manager, SES, API Gateway?
- Java: Use HTML Website; Take JavaTomcat example w/ CodeDeploy and use HTML course website; Add Blue/Green Deployment in CodeDeploy
- OpsWorks: Implement features that show up on DevOps Engineer exam; AWS Inspector
- Beanstalk: TODO: Implement features that show up on DevOps Engineer exam
- ECS: Add RDS Database (Aurora)
- Serverless: Use SAM for HTML Course Website; Use X-Ray


{% extends "layout.html" %} {% block phase%} {% include 'sprint1/partials/phase-banner.html'%} {% endblock %} {% block main %}
Select as many as you can


#include <object.h>
Inheritance diagram for Object:
Public Member Functions | |
| Object () | |
| Constructor. | |
| virtual | ~Object () |
| Destructor. | |
| void | AddRef () |
| Increments object reference counter. | |
| void | Release () |
| Decrements reference counter. | |
| DWord | GetRefCount () |
| Returns this object reference counter value. |
Use as base class for your objects if you want to use smart pointer ObjRef<T>.
|
|
Decrements reference counter. If reference counter drops to zero, delete this object. |


It's how we know it's you when you visit.
You don't need to have a BBC iD to use BBC Online, but things get better if you do.
Your account lets you comment, add favourites, play games, write reviews, save recipes, and - in the future - lots more.
If you're signed in, we can give you your own personal view of the BBC, by remembering the things you've told us.
We can also make sure that your view of the BBC is joined up between different parts of the site, whether you're on your desktop, laptop, mobile or tablet. For example, the things you do in iPlayer Radio on one computer will still be there if you go to the mobile version on your phone.
REMEMBER You have complete control over any information you provide. You can delete or make changes to your account whenever you like.
Learn how to register, and what to do if you're having trouble. Find out what a "display name" is, why we sometimes ask for your age, and how to choose a good password.


?PLANTS
OF
THE
DOMINICAN
REPUBLIC
Panicum
pradanum
Leon
Valle
del
GLbao,
prov.
Santiago,
Valverde
towards
Mao
Adentro,
dry
woods,
c.
100
m.*
No.
H
13102
E.
L.
EKMAN,
Collector
3.
VII.
1929.
SMITHSONIAN
INSTITUTION
From
THE
UNITED
STATES
NATIONAL
HERBARIUM
1605209
Legend -
Level of confidence that token is an accurately-transcribed word
extremely low
very low
low
undetermined
medium
high
very high


If your Jenkins server sits behind a firewall and does not have the direct access to the internet,
and if your server JVM is not configured appropriately
(See JDK networking properties for more details)
to enable internet connection, you can specify the HTTP proxy server name in this field to allow Jenkins
to install plugins on behalf of you. Note that Jenkins uses HTTPS to communicate with the update center to download plugins.
The value you submit here will be set as http.proxyHost system property. Leaving this field empty
causes this property to be unset, which means Jenkins will try to connect to the host directly.
If you are unsure about the value, check the browser proxy configuration.


public class Level extends java.lang.Object implements Updateable, Renderable
| Constructor and Description |
|---|
Level(Camera camera,
int size)
Create a new rectangular level
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObject(LevelObject o)
Add an object to the level
|
void |
addObject(LevelObject o,
Player owner)
Add an object to the level, and set owner of the object to "owner"
|
void |
addObjectRandomPosition(LevelObject o,
Player owner)
Add an object at a random position on the level inside solid ground area.
|
void |
centerCameraOn(LevelObject obj)
Center the camera on an object in the world
|
Projectile |
getClosestProjectile(Warlock self)
Returns the closest projectile to a warlock.
|
Warlock |
getClosestWarlock(Warlock self)
Return the closest warlock to another.
|
GroundType |
getGroundTypeAt(double x,
double y)
Return the ground type enumeration at position (x, y)
|
java.util.ArrayList<Warlock> |
getWarlocksInDistance(Vector position,
Warlock self,
double radius)
Returns a ArrayList of warlocks in a circular distance of a point (vector), bar from self.
|
int |
getWarlocksLeft() |
void |
removeObject(LevelObject o)
Remove an object from the level, notice that the actual removal of objects from the level
happens next update.
|
void |
render(Graphic g)
Render the level, particles and all objects on the level
|
void |
setScrollX(double scrollX)
Set the amount of scroll in x should be done per second in each scroll call.
|
void |
setScrollY(double scrollY)
Set the amount of scroll in y should be done per second in each scroll call.
|
void |
update(double dt)
Update scrolling and all objects on the level.
|
Vector |
windowToLevelXY(int x,
int y)
Add the mouse (x,y) to the current camera lookAt (x,y) to get what point was clicked in world
coordinates.
|
public Level(Camera camera, int size)
camera
- size
- public void addObjectRandomPosition(LevelObject o, Player owner)
o
- objectowner
- public GroundType getGroundTypeAt(double x, double y)
x
- y
- public void addObject(LevelObject o)
o
- public void addObject(LevelObject o, Player owner)
o
- owner
- public void removeObject(LevelObject o)
o
- the object to removepublic void update(double dt)
update
in interface Updateable
dt
- public void render(Graphic g)
render
in interface Renderable
g
- public Vector windowToLevelXY(int x, int y)
x
- y
- public void setScrollX(double scrollX)
scrollX
- public void setScrollY(double scrollY)
scrollY
- public void centerCameraOn(LevelObject obj)
obj
- to center aroundpublic Warlock getClosestWarlock(Warlock self)
self
- public Projectile getClosestProjectile(Warlock self)
self
- public int getWarlocksLeft()


vpn_key
Simple SSO API Restful
Start a Session
Manage Sessions
Create user
User info
Delete user
Login
email
password
Start Session
Manage Sessions
Create a user
Full Name
email
password
Create
User info
Delete User
email
password
DELETE
Are you sure?
Are you sure that you want to finish this session?
Yes
No


osm2gtfs
Please enter OSM routemaster IDs (for instance, 7869374):
7869374
Fetch Data
GTFS info
Convert OSM data into GTFS
agency.txt
stops.txt
routes.txt
shapes.txt


Contents:
This module contains helpers for configuring the project
last_name_first_author
Return displays of info based on the authors field
Selects the last name of the first author
Doctest:
reorder_place
Reorder common place patterns and remove numbers
Patterns:
select_param
var_item
str_list
str_item
sequence
work_by_varname
find_work_by_info
set_config
generate_title
Generate title text with all attributes from the object
Ignores attributes that start with _, or attributes in the ignore set
ignore
update_models


WITNESS LIST
Special Purpose Districts Committee
April 8, 2015 - 8:00 AM
For:
Henderson, Wyatt (Marlin Atlantis Group)
For:
Collins, Becky (Self)
Registering, but not testifying:
For:
Lary, Trey (Walton Development and Management TX, LLC)
Moore, Adam (Self)
Registering, but not testifying:
For:
Green, Tim (Self; Mud 182)
For:
Gilmore, Thomas (City of Lewisville)
Kunke, James (City of Lewisville)
For:
Magno, Roy (City of Aubrey)
Rogers, Richard (Self; Venable Ranch)
Registering, but not testifying:
For:
Green, Tim (Venable ranch)
For:
Jones, Russell (Self; Fort Bend Levee Improvement District #2)
McDonald, Andre (Fort Bend County Levee Improvment District #2)
Registering, but not testifying:
For:
Earl, David (Rhodes Enterprises, Inc)
Ingersoll, Deborah (Hidaldo County Water Control & Improvement District No. 18)
Rhodes, Mike (Self)
1
WITNESS LIST
For:
Villarreal, Roberto (Self; Hidalgo county judge ramon garcia)
For:
Jordan, Wes (Texamericas center)
Norton, Scott (TexAmericas Center)
Registering, but not testifying:
For:
Mcwilliams, Dean (Texamericas Center)
Mcwilliams, Dean (City of Texarkana)
For:
Bohm, Michael (DR Horton - Texas Ltd)
Registering, but not testifying:
For:
Green, Tim (Dr horton)
2


|
UniversalDanmakuEngine
alpha 1.0.0
|
Struct of general matrix. More...
Public Member Functions | |
| Matrix (int row, int column) | |
| Constructor for row by column zero matrix. More... | |
| Matrix (float[,] values) | |
| Constructor for matrix with given values. More... | |
| Matrix (Matrix mat) | |
| Copy constructor of the matrix. More... | |
| override bool | Equals (object obj) |
| Override of object.Equals(object). More... | |
| bool | Equals (Matrix other) |
| Implementation of IEquatable<Matrix>.Equals(Matrix). More... | |
| override int | GetHashCode () |
| Override of object.GetHashCode(). More... | |
| override string | ToString () |
| Override of object.ToString(). More... | |
| object | Clone () |
| Implementation of ICloneable.Clone(). More... | |
| Matrix | Transpose () |
| Implementation of IMatrix<Matrix>.Transpose(). More... | |
| void | ExchangeRow (int i, int j) |
| Implementation of IMatrix<Matrix>.ExchangeRow(int, int). More... | |
| void | AddRowMultiplication (int augend, int addend, float multiplier) |
| Implementation of IMatrix<Matrix>.AddRowMultiplication(int, int, float). More... | |
| void | MultiplyRow (int row, int multiplier) |
| Implementation of IMatrix<Matrix>.MultiplyRow(int, int). More... | |
| bool | CanAdd (Matrix other) |
| Gets whether the other matrix can be added to this matrix. More... | |
| bool | CanMultiply (Matrix other) |
| Gets whetehr the other matrix can be multiplied to this matrix. More... | |
| bool | CanMultiply (SquareMatrix other) |
| Gets whetehr the other matrix can be multiplied to this matrix. More... | |
| bool | CanMultiply (Vector vector) |
| Gets whetehr the vector can be multiplied to this matrix. More... | |
| Public Member Functions inherited from SansyHuman.UDE.Util.Math.UDEMath.IMatrix< Matrix > | |
| T | Transpose () |
| Gets the transpose(switch row number and column number) of the matrix. More... | |
| void | ExchangeRow (int i, int j) |
| Exchanges i -th row and j -th row. More... | |
| void | AddRowMultiplication (int augend, int addend, float multiplier) |
| Adds addend -th row that all elements are multiplied by multiplier to augend -th row. More... | |
| void | MultiplyRow (int row, int multiplier) |
| Multiply multiplier to each element of the row -th row. More... | |
Static Public Member Functions | |
| static Matrix | GetZeroMatrix (int row, int column) |
| Gets zero matrix with given row and column numbers. More... | |
| static bool | operator== (Matrix mat1, Matrix mat2) |
Overload of binary operator == . More... | |
| static bool | operator != (Matrix mat1, Matrix mat2) |
Overload of binary operator != . More... | |
| static Matrix | operator+ (Matrix mat1, Matrix mat2) |
Overload of binary operator + . More... | |
| static Matrix | operator - (Matrix mat1, Matrix mat2) |
Overload of binary operator - . More... | |
| static Matrix | operator - (Matrix mat) |
Overload of unary operator - . More... | |
| static Matrix | operator * (Matrix mat1, Matrix mat2) |
Overload of binary operator * . More... | |
| static Matrix | operator * (float a, Matrix mat) |
Overload of binary operator * . More... | |
| static Matrix | operator * (Matrix mat1, SquareMatrix mat2) |
Overload of binary operator * . More... | |
| static Vector | operator * (Matrix mat, Vector vector) |
Overload of binary operator * . More... | |
| static | operator SquareMatrix (Matrix mat) |
| Explicit type conversion to SquareMatrix. More... | |
| static | operator Matrix2x2 (Matrix mat) |
| Explicit type conversion to Matrix2x2. More... | |
| static | operator Vector (Matrix mat) |
| Explicit type conversion to Vector. More... | |
Public Attributes | |
| float [,] | values |
| Elements of the matrix More... | |
| int | Row => row |
| Implementation of IMatrix<Matrix>.Row More... | |
| int | Column => column |
| Implementation of IMatrix<Matrix>.Column More... | |
Additional Inherited Members | |
| Properties inherited from SansyHuman.UDE.Util.Math.UDEMath.IMatrix< Matrix > | |
| int | Row [get] |
| Gets the number of rows of the matrix. More... | |
| int | Column [get] |
| Gets the number of columns of the matrix. More... | |
Struct of general matrix.
Definition at line 806 of file UDEMath_Structure.cs.
|
inline |
Constructor for row by column zero matrix.
| row | Number of rows |
| column | Number of columns |
| ArgumentException | Thrown when either row or column are negative or 0 |
Definition at line 824 of file UDEMath_Structure.cs.
|
inline |
Constructor for matrix with given values.
| values | Elements of the matrix |
Definition at line 840 of file UDEMath_Structure.cs.
|
inline |
Copy constructor of the matrix.
| mat | Matrix to copy |
Definition at line 851 of file UDEMath_Structure.cs.
|
inline |
Implementation of IMatrix<Matrix>.AddRowMultiplication(int, int, float).
| augend | Row to be added by addend -th row |
| addend | Row to add to augend -th row |
| multiplier | Number to multiply to each element of addend -th row |
| ArgumentException | Thrown when either augend or addend are out of bounds |
Definition at line 977 of file UDEMath_Structure.cs.
|
inline |
Gets whether the other matrix can be added to this matrix.
| other | Matrix to add |
true
if other matrix can be addedDefinition at line 1025 of file UDEMath_Structure.cs.
|
inline |
Gets whetehr the other matrix can be multiplied to this matrix.
| other | Matrix to multiply |
true
if other matrix can be multipliedDefinition at line 1035 of file UDEMath_Structure.cs.
|
inline |
Gets whetehr the other matrix can be multiplied to this matrix.
| other | Square matrix to multiply |
true
if other matrix can be multipliedDefinition at line 1045 of file UDEMath_Structure.cs.
|
inline |
Gets whetehr the vector can be multiplied to this matrix.
| vector | Vector to multiply |
true
if vector can be multipliedDefinition at line 1055 of file UDEMath_Structure.cs.
| object SansyHuman.UDE.Util.Math.UDEMath.Matrix.Clone | ( | ) |
Implementation of ICloneable.Clone().
|
inline |
Override of object.Equals(object).
| obj | Matrix to compare |
true
if two matrices are sameDefinition at line 863 of file UDEMath_Structure.cs.
|
inline |
Implementation of IEquatable<Matrix>.Equals(Matrix).
| other | Matrix to compare |
true
if two matrices are sameDefinition at line 873 of file UDEMath_Structure.cs.
|
inline |
Implementation of IMatrix<Matrix>.ExchangeRow(int, int).
| i | Row to exchange |
| j | Row to exchange |
| ArgumentException | Thrown when either i or j are out of bounds |
Definition at line 952 of file UDEMath_Structure.cs.
|
inline |
Override of object.GetHashCode().
Definition at line 894 of file UDEMath_Structure.cs.
|
inlinestatic |
Gets zero matrix with given row and column numbers.
| row | Number of rows |
| column | Number of columns |
| ArgumentException | Thrown when either row or column are negative or 0 |
Definition at line 1010 of file UDEMath_Structure.cs.
|
inline |
Implementation of IMatrix<Matrix>.MultiplyRow(int, int).
| row | Row to be multiplied by multiplier |
| multiplier | Number to multiply |
| ArgumentException | Thrown when row is out of bounds |
Definition at line 994 of file UDEMath_Structure.cs.
|
inlinestatic |
Overload of binary operator *
.
| ArithmeticException | Thrown when the column number of mat1 is not equal to the row number of mat2 |
Definition at line 1139 of file UDEMath_Structure.cs.
|
inlinestatic |
Overload of binary operator *
.
| a | Number on the left side of * |
| mat | Matrix on the right side of * |
Definition at line 1163 of file UDEMath_Structure.cs.
|
inlinestatic |
Overload of binary operator *
.
| mat1 | Matrix on the left side of * |
| mat2 | Square matrix on the right side of * |
| ArithmeticException | Thrown when the column of mat1 is not equal to the row of mat2 |
Definition at line 1181 of file UDEMath_Structure.cs.
|
inlinestatic |
Overload of binary operator *
.
| ArithmeticException | Thrown when the column of mat is not equal to the dimension of vector |
Definition at line 1207 of file UDEMath_Structure.cs.
|
inlinestatic |
Overload of binary operator -
.
| ArithmeticException | Thrown when two matrices have different sizes |
Definition at line 1103 of file UDEMath_Structure.cs.
Overload of unary operator -
.
| mat | Matrix on the right side of - |
Definition at line 1121 of file UDEMath_Structure.cs.
|
inlineexplicitstatic |
Explicit type conversion to Matrix2x2.
| mat | Matrix to convert |
| InvalidCastException | Thrown when the matrix is not a 2 by 2 matrix |
Definition at line 1240 of file UDEMath_Structure.cs.
|
inlineexplicitstatic |
Explicit type conversion to SquareMatrix.
| mat | Matrix to convert |
| InvalidCastException | Thrown when the matrix is not a square matrix |
Definition at line 1227 of file UDEMath_Structure.cs.
Explicit type conversion to Vector.
| mat | Matrix to convert |
| InvalidCastException | Thrown when the matrix is not a column vector |
Definition at line 1253 of file UDEMath_Structure.cs.
|
inlinestatic |
Overload of binary operator +
.
| ArithmeticException | Thrown when two matrices have different sizes |
Definition at line 1083 of file UDEMath_Structure.cs.
|
inline |
Override of object.ToString().
Definition at line 907 of file UDEMath_Structure.cs.
|
inline |
Implementation of IMatrix<Matrix>.Transpose().
Definition at line 936 of file UDEMath_Structure.cs.
| int SansyHuman.UDE.Util.Math.UDEMath.Matrix.Column => column |
Implementation of IMatrix<Matrix>.Column
Definition at line 816 of file UDEMath_Structure.cs.
| int SansyHuman.UDE.Util.Math.UDEMath.Matrix.Row => row |
Implementation of IMatrix<Matrix>.Row
Definition at line 814 of file UDEMath_Structure.cs.
| float [,] SansyHuman.UDE.Util.Math.UDEMath.Matrix.values |
Elements of the matrix
Definition at line 809 of file UDEMath_Structure.cs.


Sempervivums range from tiny mat-forming types to rare tree types. They make excellent rockery, dish garden or pot plants. Many of these plants are cold hardy. They like to be moderately moist but never overly wet. Almost any good potting mix will suit these succulents. Sempervivums all like good air circulation. Little or no fertilizer is required. Most like partial sun to light shade outdoors.
This tray will include 18 3.5" plants.
Survive & Thrive
Bloom time: Autumn
Size: Under 3 inches high
Porous soil with excellent drainage.
Bright light with ample airflow
Water thoroughly when soil is completely dry to the touch (will not tolerate waterlogged soils)
Hardiness: USDA Zone 10a (20-35o F)
Protect from frost
Apperance
Part of what makes succulents so fascinating are the myriad ways they express themselves throughout the year, depending on light, season, temperature, soil, and hydration. For those and other reasons, the plants you receive may not look exactly as they appear on our website.


UPTIME
Section: Linux User's Manual (1)Updated: 26 Jan 1993
Index Return to Main Contents
NAME
uptime - Tell how long the system has been running.SYNOPSIS
uptimeuptime [-V]
DESCRIPTION
uptime gives a one line display of the following information. The current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.This is the same information contained in the header line displayed by w(1).
FILES
/var/run/utmp information about who is currently logged on/proc process information
AUTHORS
uptime was written by Larry Greenfield<EMAIL_ADDRESS>andMichael K. Johnson<EMAIL_ADDRESS>Please send bug reports to<EMAIL_ADDRESS>SEE ALSO
ps(1), top(1), utmp(5), w(1)
Index
This document was created by man2html, using the manual pages.
Time: 05:29:11 GMT, December 24, 2015


Getting code quality right from the very beginning means quicker, easier changes in the future and lower overall costs for you.
With over ten years on the IT market, our experts are bringing you wide-ranging expertise in all the areas needed for a reliable software.
Hardware…it sounds simple, but we understand it is so much more. We know the value of exceptional customer service.
We are often asked by our customers to help them find hardware solutions to support their systems.


TODO
After you package a workflow, you can now use it in a different workflow as an internal module. You can find a workflow in the palette under Workflows -> appropreate categories (e.g. If the category is author, it should show up under your user name. If the category is tag, it should show up under the tag's name which you specified when creating a workflow.) Now you can drag and drop the workflow on the canvas to reuse as an internal workflow.
After you drag and drop a workflow, you should see a small plus button on the title of the workflow. This is the button to drill down the workflow.
After saving, click the plus button, then the internal workflow is opened in a different tab. Some of the buttons and properties are disabled (e.g. "Delete" button, workflow properties, etc.). You can modify the workflow in this tab as you like, such as replacing the data service with your own data service.
In order to go back to the parent workflow, you can click "Close" button. If you have changed anything in this internal workflow, the system should raise an alert which asks you if you really wants to close the workflow. If you want to discard the changes and go back to the parent workflow, just click "Yes" button. If you want to save the changes you made, click "No" and save the internal workflow by clicking "Save" button.


Thank you! We just sent out a confirmation link to your address. Please confirm.
An error occured. Either you're already subscribed or your address is invalid.


 Used by protocol buffer implementation.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/php/sdk/google/appengine/runtime/proto/Decoder.php


RxLoader
compose()
your Observable
s and Single
s into ones that load data that’s cached across activity orientation changes without leaking your Activity
and without you having to worry about unsubscribing.
RxLoader accomplishes this by building on top of Android Loaders, so the library is super lightweight (only defines 47 methods).
There’s a lot of data loading solutions already for Android. I detail why I felt we needed another one here
Code
Github repo is here. Note that it contains some rough sample code.
Javadoc
Basic Usage
build.gradle
dependencies {
compile 'com.philosophicalhacker.rxloader:rxloader:0.4.0'
}
FooActivity
@Override
protected void onCreate(Bundle savedInstanceState) {
final RxLoader rxLoader = new RxLoader(this, getSupportLoaderManager());
storyApiService
.getAskStories()
.compose(rxLoader.<List<Integer>>makeSingleTransformer())
.subscribe(new Consumer<List<Integer>>() {
@Override public void accept(List<Integer> integers) {
Log.d(TAG, "call() called with: integers = [" + integers + "]");
}
});
}
Notice that you don’t have worry about calling subscribeOn
or observeOn
either. That’s handled by RxLoader.
License
Copyright 2017 Kevin Matthew Dupree
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


About Me
I love travelling.
The countries i have visited are:
Kenya, Uganda, Tanzania, Democratic Republic of Congo, South Africa, Ethiopia, China, India,
Thailand, Malaysia,
Singapore, Sri Lanka, United Arab Emirates, United Kingdom, Belgium, Netherlands, France and United States of
America.
Please invite me the next time you are travelling to a new country.
My other passion is in sports.I compete in tennis, scrabble
and golf; although not at professional level.
One must bold in life. That is the reason i picked the lion as the image for my profile page.
Famous places that i want to visit
- Taj Mahal of India
- The Pyramids of Egypt
- The City Canals of Venice
- The Octoberfest in Germany
- The Samba Carnival in Rio Brazil
- The Wilderbeest Migration Kenya/Tanzania
Computer Coding
I got interested in computer programming in 2017, when a friend introduced me to data science. I have a degree
in Mathematics from from Kenyatta University. My intention is to learn coding and marry that with statistics
in order to venture into data science.
"A long journey starts with a single step."
LINKS TO CURRENT COMPLETED PROJECTS
Here are links to my completed projects
- Hello World
- Tree Planting
- Pet Project
- My First Website
- Resort Website


My name is Ľubomír Furinda, I am a self-taught developer, programmer and technology enthusiast.
Computers have been at the center of my life ever since my childhood. I'm the kind of person who doesn't give up until he finds a solution to whatever the problem is.
In my free time, I enjoy spending time with my friends, playing videogames and doing sports.
Landing page for a fictional website about booking trips
HTML5, CSS (SASS)
App for fetchign weather information for a specific Slovak ZIP code
React.js, API JSON fetching
Simple ToDoList app for adding and removing tasks
React.js, Bootstrap 4
Large React+Redux project for a fictional clothing store with user login, google intergration, cart management and stripe payments
React.js, Redux, Stripe, Firebase, Google Login
Big project for recognizing faces in pictures provided by the user featuring user authentication via login and registration
React.js, API JSON fetching, Node.js, PostreSQL
<EMAIL_ADDRESS>Send me an e-mail


Unsubscribe?
If you unsubscribe, we will not be able to send you your updates. Do you still want to unsubscribe?
Unsubscribe
Cancel


{% extends 'layout.html' %} {% block pageTitle %} Content page example - NHS.UK prototype kit {% endblock %} {% block content %}
From September 2018, NHS login is a new way to log in to health websites and apps.
If you do not have an NHS login, you'll need to set one up. Then you can access online health services wherever you see 'NHS login'.


{% extends 'slack/base.html' %} {% load humanize %} {% block content %}
#} {# We are a global community of {{ slack_member_count | intcomma }}#} {# Pythonistas with diverse specialties. Join us to talk about python,#} {# music, devops, science,#} {# community projects, etc.#} {#
#} {##} {##} {# TODO channel list...#} {#
#}


When an application is stared in a Win32 environment, a process is created and virtual memory is assigned to. In a 32 bit process, the address ranges from 0x00000000 to 0xFFFFFFFF, where 0x00000000 to 0x7FFFFFFF is assigned to "user-land", and 0x80000000 to 0xFFFFFFFF is assigned to "kernel land". Windows uses the flat memory model, which means that the CPU can directly/sequentially/linearly address all of the available memory locations, without having to use a segmentation/paging scheme.
Kernel land memory is only accessible by the OS.
When a process is created, a PEB (Process Execution Block) and TEB (Thread Environment Block) are created.
The PEB contains all user land parameters that are associated with the current process :
- location of the main executable
- pointer to loader data (can be used to list all dll’s / modules that are/can be loaded into the process)
- pointer to information about the heap
The TEB describes the state of a thread, and includes
- location of the PEB in memory
- location of the stack for the thread it belongs to
- pointer to the first entry in the SEH chain (see tutorial 3 and 3b to learn more about what a SEH chain is)
Each thread inside the process has one TEB.
The Win32 process memory map looks like this :
The text segment of a program image / dll is readonly, as it only contains the application code. This prevents people from modifying the application code. This memory segment has a fixed size. The data segment is used to store global and static program variables. The data segment is used for initialized global variables, strings, and other constants.
The data segment is writable and has a fixed size. The heap segment is used for the rest of the program variables. It can grow larger or smaller as desired. All of the memory in the heap is managed by allocator (and deallocator) algorithms. A memory region is reserved by these algo’s. The heap will grow towards a higher addresses.
In a dll, the code, imports (list of functions used by the dll, from another dll or application), and exports (functions it makes available to other dll’s applications) are part of the .text segment.


🚩RM3.5
Grape Bongbong, SikHye Rice drinks, Orange Sacsac, Peach Juice, Pear Juice
🚩RM3.9
Woongjin Rice Milk
🚩RM2.8
Woojing Aloe Vera
🚩Bulgogi Seasoning base (150g for 3 person) RM8.80
🚩Stir-fried Squid Seasoning base (150g for 1 whole Squid) RM9.95
🚩CJ Sweet & Spicy Tteokbokki base (150g for 3 person) RM7.90
🚩CJ Tofu Stew base (140g for 4 person) RM9.20
🚩Fermented & Salted Squid (100g) RM17.60
💥BESTSELLING YangNyeom Sesame Leaf (500g) RM26.90
🚩Fermented Squid for mixing (100g) RM17.60


--- title: "Dynamic Risk Analyzer™ – Risk Detection of the Future" layout: splash sitemap: true permalink: /products/ author_profile: false excerpt: Dynamic Risk Analyzer™ (DRA) is a first-of-its-kind advanced warning and risk detection software platform that identifies process problems at initiation stage – enabling operating personnel to take proactive corrective actions and prevent losses. header: overlay_image: splash-02.jpg overlay_filter: 0.3 cta_label: "Request a Demo" cta_url: "/contact" feature_row: - image_path: nmm-feature_01.png alt: "Advanced Risk Detection" title: "Hidden Risk Detection" excerpt: "Transform how you assess risks in your operations. Discover *hidden* process issues, equipment issues, instrumentation issues, operator issues and many more." - image_path: nmm-feature_02.png alt: "Anomaly Detection" title: "Anomaly Detection" excerpt: "Find the anomalies before they find you. Our powerful algorithms work rigorously to identify conditions that are not normal and can pose problems in the future." - image_path: nmm-feature_03.png title: "Process Intelligence" alt: "Process Intelligence" excerpt: "Besides risk and anomaly detection, access process intelligence insights to make proactive, operating decisions." - image_path: nmm-feature_04.png title: "Plug and Play" alt: "Plug and Play" excerpt: "Easy, quick installation. Built to be plug and play with your existing systems." - image_path: nmm-feature_05.png title: "Risk Communication" alt: "Risk Communication" excerpt: "Modern communication tools at your fingertips. Messaging, blogging, reporting, you name it." - image_path: nmm-feature_06.png title: "Data Privacy" alt: "Data Privacy" excerpt: "All the data and results stay at your site. No export of data outside your facility. This way your expertise remains in-house." ---
A typical industrial plant has 2,000 – 5,000 parameters, continuously recording sensor measurements that generate millions of data points every day. Powered by our patented technology, centered on Large-Scale Machine Learning and Risk Management, DRA scans the entire spectrum of process data and identifies critical nuggets, called hidden near-misses™, which are precursors of potential failures. This information on developing risks is available to all levels of your operations team, including managers, supervisors, engineers, operators, and maintenance team. The result: operational transparency, proactive risk management driven workflow, and effective communication.
Data source connectivity is seamless and no new IT infrastructure setups are required for the installation. DRA server sits within your secured network and receives data automatically via your existing historian, OPC, or similar systems. All standard data sources (such as OSIsoft Pi, Aspen IP21, Honeywell PHD, GE Proficy, etc.) are supported.


Tommy and Billy Pattenden formed Pattenden Construction Services. Together they have a combined experience of nearly 40 years in the construction industry.
Contact Tommy: 07585 774874
Contact Billy: 07717 854379


Review notes
Use this section to make notes related to the finance checks. Notes can only be seen by the internal team. After the finance checks are completed, this section will no longer be editable.
Use this section to make notes related to the finance checks. Notes can only be seen by the internal team. After the finance checks are completed, this section will no longer be editable.


Welcome to theParadox42's official site! Here I host games I make, made with or converted to WebGL. Feel free to browse around, and play my games!
My best unity game, fly a rocket through moving obstacles. Most people can't get past the second level, can you?
Play Project Boost!Ski down a mountain dodging trees and polar bears. Can you beat the all-time highscore?
Play Skiing Game!Can you escape the jungle alive? Play this choose your own adventure game to find out. Made using Unity
Play Jungle Safari!An anti-color square is on the run, and the colors are out to get you! How long can you last
Play Square Game!Neural Networks model the brains neurons. Recently I developed a multipurpose AI, with the intelligence of plants. Probably less smart but you get the point. I got them to use artificial selection to play a game, but if they aren't any smarter than rocks, just reload. Play Against AIs
Some of my most fun games, using a basic canvas library called P5.js. I have also took lots of my games that I made on Khan Academy, which uses a similar library, to p5.js
Go to P5 GamesAlthough these games aren't the funnest right now, Unity is an amazing engine, and able to create awesome games once I finish learning.
Go to Unity Games


JINS Ginza Loft Shop / Jo Nagasaka / Schemata Architects
- Curated by Paula Pintos
- about 4 hours
- version="1.0" encoding="UTF-8"? Architects: Jo Nagasaka / Schemata Architects
- AreaArea of this architecture projectArea: 83.0 m2
- version="1.0" encoding="UTF-8"?YearCompletion year of this architecture project Year: 2019
- version="1.0" encoding="UTF-8"?PhotographsPhotographs: Taichi Ano
- Team Masami Nakata, Ou Ueno, Nutt Boonyaratganon
- Construction DECOR Co.,Ltd.
More Specs Less Specs
Text description provided by the architects. We started this project by thinking about eyeglass holders. After studying and comparing various daily goods, we determined that the Scotch-Brite Sponge Ace holds eyeglasses in the most gentle and stable way.
As for commodity shelves, we decided that prefabricated steel racks used in everyday life would be best paired with the sponges. Some of the steel racks were customized to accommodate specific functions.
This store has a considerable number of commodities on display and has a distinct presence that stands out from other stores in Ginza Loft.


Getting a Commodore 128 to run from an ATX power supply
I received a wonderful birthday present of a vintage Commodore 128! Unfortunately, the buyer wasn't aware that a power adapter was needed,
and the seller was greedy and sold off the power supply separately. I had confirmed the unit worked using a C=64 power supply but
read accounts that the C=64 supply was under rated for the job. Sure enough, the 128 draws up to 5VDC @ 2.5A and 9VAC @ 1A. The C=64 power
supply is only rated for 5VDC @ 1A.
I was going to slap together a 9VAC transformer and some other 5V supply, but then I realized I had a lot of old PC power supplies
with more than enough current output.
I started researching what the 9VAC was actually used for by reading the schematics.
After much studying it became clear the 9VAC was used for 4 things:
- Power for the tape motor - Not important to me. Also easy enough to patch in from an ATX supply.
- Regulated to +12V for the VIC and SID chips - Required
- 60Hz used to drive the Time of day clocks - Not required, but good to have
- Power passed on to the user port for accessories - Not important to me
Now I could have just wired in the +5VDC, +12VDC and an external switch and called it a day, but I thought it
would be nice to have the TOD clock working, and maybe a neat way to turn on and off the machine without an external switch. I had also
modifed the kernel ROMs with JiffyDOS and needed a way to switch between original kernel and JiffyDOS.
This seemed like an ideal job for an ATTiny85, which I had several on hand.
Power Supply
For this project, any working ATX or compatible power supply should work.
In my case, I found a very old half-breed that had AT power connectors but
also a remote power enable. This made it an idea choice for hacking up. The wire
colours matched up to the ATX standard.
The connector I selected is a 6 pin "aviation" connector that I purchased from deal extreme.
It fits in the limitted space between the plastic post and the newly installed connector, and clears the RF shield. It also looks pretty clean when mounted to the back of the machine.
The wiring I'm using is 24AWG Cat5e. This is not ideal, as it's not rated to handle the full current of 2.5A. It just happens to be what I had on hand.
I opted to wire right to the power supply circuit board for a cleaner result. You could
also just cut-n-splice wires.
Here is the completed power supply.
This is the power connector. In order to make the connector removable from the case,
the plugs must fit through the nut of the 6 pin connector. I re-used wires from the power
supply for this.
C128 Installation
In order to re-use the connector pads on the board, you need to cut a 9VAC trace
on the connector and re-purpose it for 12V in. Also note, the Pin 1 indicator does not
match the schematics. Oops.
Then you need to solder a wire on the bottom from the connector to the output
pin of the 7812 regulator.
This is a picture with the connector soldered onto the board.
In order to intercept the RESTORE key, and supply the Time Of Day clock,
wires must be soldered to the main board.
The TOD clock goes to the left side of R7.
For the restore key, I was finding that R9 was pulling the voltage down, so I unsoldered
the right side from the board and put heat shrink over it. I then soldered a wire to where
the resistor used to be.
I hot-glued my mini-control board to the main board and also hot-glued down the wires
at various points. I got lucky in that the capacitor happened to fit right through
the RF shielding holes.
A picture of the wires routed for TOD and Restore key.
A picture of the JiffyDOS roms installed.


FullName is required
Email is required
The email adress must contain at least the @ character
Dirty? {{email.dirty}}
Pristine? {{email.pristine}}
Touched? {{email.touched}}
Untouched? {{email.untouched}}
Valid? {{email.valid}}
Invalid? {{email.invalid}}
skillName is required
The skillName must contain at least 8 characters


Liz Jewell
UI Architect | Design Thinker | Business Strategist
Hi, I'm Liz. I'm an accomplished technology leader with a warm personality, a boatload of skills, and a desire to make things that matter.
I'm currently working on a site redesign, but please feel free to reach out in the meantime!


which installs all header files to /usr/local/include/ioh by default. If you want to change this directory, please use the following flag cmake -DCMAKE_INSTALL_PREFIX=your/path ..
If you want to change build options, check the output of cmake -L or use cmake-gui or ccmake.
Examples
To obtain a built-in problem, you could create a problem instance by passing the istance id and the search dimension to the constructor of the intended problem class, e.g.,
{C++}
#include "ioh.hpp"
const auto om = std::make_shared<ioh::problem::pbo::OneMax>(1, 10); // PBO problem: instance 1, dim 10
const auto sp = std::make_shared<ioh::problem::bbob::Sphere>(1, 5); // BBOB problem: instance 1, dim 5
The instance id is intended to generalize a certain problem by some transformations, where it serves as the random seed for randomizing the transformations, e.g., affine transforms for BBOB problems and scaling of objective values for PBO problems. Please see
For the detailed documentation of all available functionality in the IOHexperimenter, please check our this page[under construction].
Add new problems
We offer a very simple and convenient interface for integrating new benchmark problems/functions. First, you could define a new test_problem as you like. Note that the <vector> header is already imported in "ioh.hpp".
After wrapping, we could also create this test_problem from the problem factory. Note that, the instance id is ineffective in this approach since we haven't implemented it for the wrapped problem.
{c++}
auto &factory = ioh::problem::ProblemRegistry<ioh::problem::Real>::instance();
auto new_problem_f = factory.create(
"test_problem", // create by name
1, // instance id
10 // number of search variables
);
Alternatively, one might wish to create the new problem by subclassing the abstract problem class in IOHexperimenter, taking benefits of implementing more details, e.g., aforementioned transformations. This can be done by inheriting the corresponding problem registration class, which is
Thomas Bäck, Leiden Institute of Advanced Computer Science,
When using IOHprofiler and parts thereof, please kindly cite this work as
Carola Doerr, Hao Wang, Furong Ye, Sander van Rijn, Thomas Bäck: IOHprofiler: A Benchmarking and Profiling Tool for Iterative Optimization Heuristics, arXiv e-prints:1810.05281, 2018.
@ARTICLE{IOHprofiler,
author = {Carola Doerr and Hao Wang and Furong Ye and Sander van Rijn and Thomas B{\"a}ck},
title = {{IOHprofiler: A Benchmarking and Profiling Tool for Iterative Optimization Heuristics}},
journal = {arXiv e-prints:1810.05281},
archivePrefix = "arXiv",
eprint = {1810.05281},
year = 2018,
month = oct,
keywords = {Computer Science - Neural and Evolutionary Computing},
url = {https://arxiv.org/abs/1810.05281}
}
Generated on Fri Sep 24 2021 15:51:42 for IOH by
1.8.17


Experience the finest cuisine in town.
| Contact Information |
Business Name: Town Restaurant Address: 123 Main Street, Townsville Phone:<PHONE_NUMBER> Email<EMAIL_ADDRESS>Social Media: |
|---|---|
| Business Hours |
Monday-Friday: 9:00 AM - 10:00 PM Saturday: 10:00 AM - 11:00 PM Sunday: Closed |


@main(Messages("Smart SEO Service")) {
Stop paying 100s of dollars when you can get the same services for just a few dollars. I repeat…The SAME services!  We offer likes and followers for all social media sites for just a few dollars.
Get Started!Ready to start your next project with us? That's great! Give us a call or send us an email and we will get back to you as soon as possible!
123-456-6789


title = "Login to Friends" url = "/" layout = "login" is_hidden = "0" [Modal WhatsThisModal] linkTitle = "What is this?" linkClasses = "help small pop" title = "What is DMA Friends?" partial = "whatisthis" [UserLogin] redirect = "friends" [resetPassword] paramCode = "code" == ==


Describe parentheses () in JavaScript language.
() after function name is to revoke this function, () can be filled with parameters seperate by comma.
() after if, while keywords contains condition statements that will be treated as boolean type.
() after switch contains the parameter that will be the switch.
() gives statements higer priority to be executed.
Describe brackets [] in JavaScript language.
[] after an object or an array is to access a property or item of them.
var arrayName = []; or var arrayName[1, 2] is a way to declare an array.
Describe braces {} in JavaScript language.
{} surrounds a block of code. {} is put after flow control, loop, or function name.
Describe single quotes '', double quotes "" in JavaScript language.
'' and "" can both be used to declare a string.


This tests Unicode normalization. While appearing the same, the strings in the scripts are different Unicode points, but through normalization, should be the same when the hash is taken.


LCR meter
Channel 1
Channel 2
AUTO
Averaging
Amplitude
Phase
|Y|
Rs
PhaseY
Xs
Gp
Bp
Cs
Cp
Ls
Lp
Rp
Q
D
Measurement parameters
Amplitude:
V
Averaging:
DC Bias:
V
R_shunt:
Ω
Sweep functions
Measurement sweep
Frequency:
Hz
Count:
Scale:
Lin
Log
Calibration:
None
Open
Short
Load
Load Re:
Ω
Load Im:
Ω
Start
Frequency sweep
Start frequency:
Hz
End frequency:
Hz
Step:
Scale:
Lin
Log
Calibration:
None
Open
Short
Load
Load Re:
Ω
Load Im:
Ω
Start
Plot measurements
X Axis:
Frequency
Y Axis:
|Z|
Phase Z
|Y|
Phase Y
Rs
Xs
Gp
Cs
Cp
Ls
Lp
Rp
Q
D
Show plot
Range
Range:
X axis
-
Y axis
-
Offset:
Application error
Application stopped
The
application was stopped. The current started application is
.
Do you want to switch to newly started application or to restart
?
File upload for channel
Select the CSV file to upload.