| Top |
GdkScreen objects are the GDK representation of the screen on
which windows can be displayed and on which the pointer moves.
X originally identified screens with physical screens, but
nowadays it is more common to have a single GdkScreen which
combines several physical monitors (see gdk_screen_get_n_monitors()
).
GdkScreen is used throughout GDK and GTK+ to specify which screen
the top level windows are to be displayed on. it is also used to
query the screen specification and default settings such as
the default visual (gdk_screen_get_system_visual()
), the dimensions
of the physical monitors (gdk_screen_get_monitor_geometry()
), etc.
GdkScreen *
gdk_screen_get_default (void
);
Gets the default screen for the default display. (See
gdk_display_get_default()
).
Since: 2.2
GdkVisual *
gdk_screen_get_system_visual (GdkScreen *screen
);
Get the system’s default visual for screen
.
This is the visual for the root window of the display.
The return value should not be freed.
Since: 2.2
GdkVisual *
gdk_screen_get_rgba_visual (GdkScreen *screen
);
Gets a visual to use for creating windows with an alpha channel.
The windowing system on which GTK+ is running
may not support this capability, in which case NULL
will
be returned. Even if a non-NULL
value is returned, its
possible that the window’s alpha channel won’t be honored
when displaying the window on the screen: in particular, for
X an appropriate windowing manager and compositing manager
must be running to provide appropriate display.
This functionality is not implemented in the Windows backend.
For setting an overall opacity for a top-level window, see
gdk_window_set_opacity()
.
a visual to use for windows
with an alpha channel or NULL
if the capability is not
available.
[nullable][transfer none]
Since: 2.8
gboolean
gdk_screen_is_composited (GdkScreen *screen
);
Returns whether windows with an RGBA visual can reasonably be expected to have their alpha channel drawn correctly on the screen.
On X11 this function returns whether a compositing manager is
compositing screen
.
Whether windows with RGBA visuals can reasonably be expected to have their alpha channels drawn correctly on the screen.
Since: 2.10
GdkWindow *
gdk_screen_get_root_window (GdkScreen *screen
);
Gets the root window of screen
.
Since: 2.2
GdkDisplay *
gdk_screen_get_display (GdkScreen *screen
);
Gets the display to which the screen
belongs.
Since: 2.2
gint
gdk_screen_get_number (GdkScreen *screen
);
gdk_screen_get_number
has been deprecated since version 3.22 and should not be used in newly-written code.
Gets the index of screen
among the screens in the display
to which it belongs. (See gdk_screen_get_display()
)
Since: 2.2
gint
gdk_screen_get_width (GdkScreen *screen
);
gdk_screen_get_width
has been deprecated since version 3.22 and should not be used in newly-written code.
Use per-monitor information instead
Gets the width of screen
in pixels. The returned size is in
”application pixels”, not in ”device pixels” (see
gdk_screen_get_monitor_scale_factor()
).
Since: 2.2
gint
gdk_screen_get_height (GdkScreen *screen
);
gdk_screen_get_height
has been deprecated since version 3.22 and should not be used in newly-written code.
Use per-monitor information instead
Gets the height of screen
in pixels. The returned size is in
”application pixels”, not in ”device pixels” (see
gdk_screen_get_monitor_scale_factor()
).
Since: 2.2
gint
gdk_screen_get_width_mm (GdkScreen *screen
);
gdk_screen_get_width_mm
has been deprecated since version 3.22 and should not be used in newly-written code.
Use per-monitor information instead
Gets the width of screen
in millimeters.
Note that this value is somewhat ill-defined when the screen has multiple monitors of different resolution. It is recommended to use the monitor dimensions instead.
Since: 2.2
gint
gdk_screen_get_height_mm (GdkScreen *screen
);
gdk_screen_get_height_mm
has been deprecated since version 3.22 and should not be used in newly-written code.
Use per-monitor information instead
Returns the height of screen
in millimeters.
Note that this value is somewhat ill-defined when the screen has multiple monitors of different resolution. It is recommended to use the monitor dimensions instead.
Since: 2.2
GList *
gdk_screen_list_visuals (GdkScreen *screen
);
Lists the available visuals for the specified screen
.
A visual describes a hardware image data format.
For example, a visual might support 24-bit color, or 8-bit color,
and might expect pixels to be in a certain format.
Call g_list_free()
on the return value when you’re finished with it.
a list of visuals; the list must be freed, but not its contents.
[transfer container][element-type GdkVisual]
Since: 2.2
GList *
gdk_screen_get_toplevel_windows (GdkScreen *screen
);
Obtains a list of all toplevel windows known to GDK on the screen screen
.
A toplevel window is a child of the root window (see
gdk_get_default_root_window()
).
The returned list should be freed with g_list_free()
, but
its elements need not be freed.
list of toplevel windows, free with g_list_free()
.
[transfer container][element-type GdkWindow]
Since: 2.2
gchar *
gdk_screen_make_display_name (GdkScreen *screen
);
gdk_screen_make_display_name
has been deprecated since version 3.22 and should not be used in newly-written code.
Determines the name to pass to gdk_display_open()
to get
a GdkDisplay with this screen as the default screen.
Since: 2.2
gint
gdk_screen_get_n_monitors (GdkScreen *screen
);
gdk_screen_get_n_monitors
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_display_get_n_monitors()
instead
Returns the number of monitors which screen
consists of.
Since: 2.2
gint
gdk_screen_get_primary_monitor (GdkScreen *screen
);
gdk_screen_get_primary_monitor
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_display_get_primary_monitor()
instead
Gets the primary monitor for screen
. The primary monitor
is considered the monitor where the “main desktop” lives.
While normal application windows typically allow the window
manager to place the windows, specialized desktop applications
such as panels should place themselves on the primary monitor.
If no primary monitor is configured by the user, the return value will be 0, defaulting to the first monitor.
Since: 2.20
void gdk_screen_get_monitor_geometry (GdkScreen *screen
,gint monitor_num
,GdkRectangle *dest
);
gdk_screen_get_monitor_geometry
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_monitor_get_geometry()
instead
Retrieves the GdkRectangle representing the size and position of
the individual monitor within the entire screen area. The returned
geometry is in ”application pixels”, not in ”device pixels” (see
gdk_screen_get_monitor_scale_factor()
).
Monitor numbers start at 0. To obtain the number of monitors of
screen
, use gdk_screen_get_n_monitors()
.
Note that the size of the entire screen area can be retrieved via
gdk_screen_get_width()
and gdk_screen_get_height()
.
screen |
||
monitor_num |
the monitor number |
|
dest |
a GdkRectangle to be filled with the monitor geometry. |
[out][allow-none] |
Since: 2.2
void gdk_screen_get_monitor_workarea (GdkScreen *screen
,gint monitor_num
,GdkRectangle *dest
);
gdk_screen_get_monitor_workarea
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_monitor_get_workarea()
instead
Retrieves the GdkRectangle representing the size and position of
the “work area” on a monitor within the entire screen area. The returned
geometry is in ”application pixels”, not in ”device pixels” (see
gdk_screen_get_monitor_scale_factor()
).
The work area should be considered when positioning menus and similar popups, to avoid placing them below panels, docks or other desktop components.
Note that not all backends may have a concept of workarea. This function will return the monitor geometry if a workarea is not available, or does not apply.
Monitor numbers start at 0. To obtain the number of monitors of
screen
, use gdk_screen_get_n_monitors()
.
screen |
||
monitor_num |
the monitor number |
|
dest |
a GdkRectangle to be filled with the monitor workarea. |
[out][allow-none] |
Since: 3.4
gint gdk_screen_get_monitor_at_point (GdkScreen *screen
,gint x
,gint y
);
gdk_screen_get_monitor_at_point
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_display_get_monitor_at_point()
instead
Returns the monitor number in which the point (x
,y
) is located.
screen |
a GdkScreen. |
|
x |
the x coordinate in the virtual screen. |
|
y |
the y coordinate in the virtual screen. |
the monitor number in which the point (x
,y
) lies, or
a monitor close to (x
,y
) if the point is not in any monitor.
Since: 2.2
gint gdk_screen_get_monitor_at_window (GdkScreen *screen
,GdkWindow *window
);
gdk_screen_get_monitor_at_window
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_display_get_monitor_at_window()
instead
Returns the number of the monitor in which the largest area of the
bounding rectangle of window
resides.
the monitor number in which most of window
is located,
or if window
does not intersect any monitors, a monitor,
close to window
.
Since: 2.2
gint gdk_screen_get_monitor_height_mm (GdkScreen *screen
,gint monitor_num
);
gdk_screen_get_monitor_height_mm
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_monitor_get_height_mm()
instead
Gets the height in millimeters of the specified monitor.
screen |
||
monitor_num |
number of the monitor, between 0 and gdk_screen_get_n_monitors (screen) |
Since: 2.14
gint gdk_screen_get_monitor_width_mm (GdkScreen *screen
,gint monitor_num
);
gdk_screen_get_monitor_width_mm
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_monitor_get_width_mm()
instead
Gets the width in millimeters of the specified monitor, if available.
screen |
||
monitor_num |
number of the monitor, between 0 and gdk_screen_get_n_monitors (screen) |
Since: 2.14
gchar * gdk_screen_get_monitor_plug_name (GdkScreen *screen
,gint monitor_num
);
gdk_screen_get_monitor_plug_name
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_monitor_get_model()
instead
Returns the output name of the specified monitor. Usually something like VGA, DVI, or TV, not the actual product name of the display device.
screen |
||
monitor_num |
number of the monitor, between 0 and gdk_screen_get_n_monitors (screen) |
a newly-allocated string containing the name
of the monitor, or NULL
if the name cannot be determined.
[nullable]
Since: 2.14
gint gdk_screen_get_monitor_scale_factor (GdkScreen *screen
,gint monitor_num
);
gdk_screen_get_monitor_scale_factor
has been deprecated since version 3.22 and should not be used in newly-written code.
Use gdk_monitor_get_scale_factor()
instead
Returns the internal scale factor that maps from monitor coordinates to the actual device pixels. On traditional systems this is 1, but on very high density outputs this can be a higher value (often 2).
This can be used if you want to create pixel based data for a
particular monitor, but most of the time you’re drawing to a window
where it is better to use gdk_window_get_scale_factor()
instead.
screen |
screen to get scale factor for |
|
monitor_num |
number of the monitor, between 0 and gdk_screen_get_n_monitors (screen) |
Since: 3.10
gboolean gdk_screen_get_setting (GdkScreen *screen
,const gchar *name
,GValue *value
);
Retrieves a desktop-wide setting such as double-click time
for the GdkScreen screen
.
FIXME needs a list of valid settings here, or a link to more information.
screen |
the GdkScreen where the setting is located |
|
name |
the name of the setting |
|
value |
location to store the value of the setting |
Since: 2.2
const cairo_font_options_t *
gdk_screen_get_font_options (GdkScreen *screen
);
Gets any options previously set with gdk_screen_set_font_options()
.
Since: 2.10
void gdk_screen_set_font_options (GdkScreen *screen
,const cairo_font_options_t *options
);
Sets the default font options for the screen. These
options will be set on any PangoContext’s newly created
with gdk_pango_context_get_for_screen()
. Changing the
default set of font options does not affect contexts that
have already been created.
screen |
||
options |
a cairo_font_options_t, or |
[allow-none] |
Since: 2.10
gdouble
gdk_screen_get_resolution (GdkScreen *screen
);
Gets the resolution for font handling on the screen; see
gdk_screen_set_resolution()
for full details.
Since: 2.10
void gdk_screen_set_resolution (GdkScreen *screen
,gdouble dpi
);
Sets the resolution for font handling on the screen. This is a scale factor between points specified in a PangoFontDescription and cairo units. The default value is 96, meaning that a 10 point font will be 13 units high. (10 * 96. / 72. = 13.3).
screen |
||
dpi |
the resolution in “dots per inch”. (Physical inches aren’t actually involved; the terminology is conventional.) |
Since: 2.10
GdkWindow *
gdk_screen_get_active_window (GdkScreen *screen
);
gdk_screen_get_active_window
has been deprecated since version 3.22 and should not be used in newly-written code.
Returns the screen’s currently active window.
On X11, this is done by inspecting the _NET_ACTIVE_WINDOW property
on the root window, as described in the
Extended Window Manager Hints.
If there is no currently currently active
window, or the window manager does not support the
_NET_ACTIVE_WINDOW hint, this function returns NULL
.
On other platforms, this function may return NULL
, depending on whether
it is implementable on that platform.
The returned window should be unrefed using g_object_unref()
when
no longer needed.
Since: 2.10
GList *
gdk_screen_get_window_stack (GdkScreen *screen
);
Returns a GList of GdkWindows representing the current window stack.
On X11, this is done by inspecting the _NET_CLIENT_LIST_STACKING
property on the root window, as described in the
Extended Window Manager Hints.
If the window manager does not support the
_NET_CLIENT_LIST_STACKING hint, this function returns NULL
.
On other platforms, this function may return NULL
, depending on whether
it is implementable on that platform.
The returned list is newly allocated and owns references to the
windows it contains, so it should be freed using g_list_free()
and
its windows unrefed using g_object_unref()
when no longer needed.
a
list of GdkWindows for the current window stack, or NULL
.
[nullable][transfer full][element-type GdkWindow]
Since: 2.10
“font-options”
property“font-options” gpointer
The default font options for the screen.
Flags: Read / Write
“resolution”
property“resolution” gdouble
The resolution for fonts on the screen.
Flags: Read / Write
Allowed values: [-1,10000]
Default value: -1
“composited-changed”
signalvoid user_function (GdkScreen *screen, gpointer user_data)
The ::composited-changed signal is emitted when the composited status of the screen changes
screen |
the object on which the signal is emitted |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.10
“monitors-changed”
signalvoid user_function (GdkScreen *screen, gpointer user_data)
The ::monitors-changed signal is emitted when the number, size or position of the monitors attached to the screen change.
Only for X11 and OS X for now. A future implementation for Win32 may be a possibility.
screen |
the object on which the signal is emitted |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.14
“size-changed”
signalvoid user_function (GdkScreen *screen, gpointer user_data)
The ::size-changed signal is emitted when the pixel width or height of a screen changes.
screen |
the object on which the signal is emitted |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.2


This is the section 1 description. This is the section 1 description. This is the section 1 description.
This is the section 2 description. This is the section 2 description. This is the section 2 description.


--- title: tciaclient keywords: fastai sidebar: home_sidebar summary: "A TCIA (The Cancer Imaging Archive) download client for Python." ---
tc = TCIAClient()
tc.get_image(seriesInstanceUid ="<IP_ADDRESS>.4.1.145<IP_ADDRESS>.7695.4001.306204232344341694648035234440",
downloadPath ="./", zipFileName ="images.zip")


Provides access to Dataverse 4+ APIs, enabling data search, retrieval, and deposit.
Dataverse is open-source data repository management software developed by the Institute for Quantitative Social Science at Harvard University. This package provides an R interface to Dataverse version 4 repositories, including the principal Dataverse hosted at Harvard (https://dataverse.harvard.edu/). Users can use the package to search for data stored in a Dataverse repository, retrieve data and other files, and also use the package to directly create and archive their own research data and software.
A Dataverse is structured as a nested set of “dataverse” repositories, such that a single dataverse can contain “datasets” (a set of code files, data files, etc.) or other dataverses. Thus, users may want to search for dataverses (sets of dataverses and datasets), datasets (sets of files), or individual files, and retrieve those objects accordingly. To retrieve a given file, a user typically needs to know what dataset it is stored in. All datasets are identified by a persistent identifier (such as an DOI or Handle, depending on the age of the dataset and what Dataverse repository it is hosted in).
This package provides five main sets of functions to interact with Dataverse:
Search: dataverse_search
Data retrieval: get_dataverse
, dataverse_contents
, get_dataset
, dataset_metadata
, get_file
Data archiving (SWORD API): service_document
, list_datasets
, initiate_sword_dataset
, delete_sword_dataset
, publish_sword_dataset
, add_file
, delete_file
Dataverse management “native” API: create_dataverse
, publish_dataverse
, delete_dataverse
Dataset management “native” API: create_dataset
, update_dataset
, publish_dataset
, delete_dataset
, dataset_files
, dataset_versions
Documentation for this R Package


Base58 |
Base58 is a way to encode Bitcoin addresses (or arbitrary data) as alphanumeric strings. object Base58 |
Sha256Hash |
A Sha256Hash just wraps a byte[] so that equals and hashcode work correctly, allowing it to be used as keys in a map. It also checks that the length is correct and provides a bit more type safety. class Sha256Hash : Serializable, Comparable<Sha256Hash> |
AddressFormatException |
This exception is thrown by Base58 when illegal character occurred in address class AddressFormatException : IllegalArgumentException |
java.math.BigInteger |
|
kotlin.ByteArray |
|
kotlin.Int |
|
kotlin.Long |
|
kotlin.Short |
HEX |
val HEX: BaseEncoding |
isAndroidRuntime |
val isAndroidRuntime: Boolean |


| cli_progress_step {cli} | R Documentation |
This is a simplified progress bar, a single (dynamic) message, without progress units.
cli_progress_step( msg, msg_done = msg, msg_failed = msg, spinner = FALSE, class = if (!spinner) ".alert-info", current = TRUE, .auto_close = TRUE, .envir = parent.frame(), ... )
msg |
Message to show. It may contain glue substitution and cli
styling. It can be updated via |
msg_done |
Message to show on successful termination. By default
this it is the same as |
msg_failed |
Message to show on unsuccessful termination. By
default it is the same as |
spinner |
Whether to show a spinner at the beginning of the line.
To make the spinner spin, you'll need to call |
class |
cli class to add to the message. By default there is no class for steps with a spinner. |
current |
Passed to |
.auto_close |
Passed to |
.envir |
Passed to |
... |
Passed to |
cli_progress_step()
always shows the progress message,
even if no update is due.


Home
Website
Github Page
Something in your Mind?
Home
About us
Contribute
News
Previous
Next
This image works a link:
Step 1: Fork the repo
Step2: Make sure you have git installed on your local machine
Step3: Clone the repo
step4: Commit and push the changes
Step5: Participate in Hacktoberfest and win exciting goodies
DOUBT?


|
SideCar
|
Simple utility class that closes a held file descriptor when the object is destroyed. More...
#include </Users/howes/src/sidecar/IO/AutoCloseFileDescriptor.h>
Public Member Functions | |
| AutoCloseFileDescriptor (int fd) | |
| Constructor. More... | |
| ~AutoCloseFileDescriptor () | |
| Destructor. More... | |
| int | close () |
| Manually close the file descriptor. More... | |
| operator int () const | |
| Obtain the file descriptor value. More... | |
| operator bool () const | |
| Determine if the file descriptor is valid (not -1) More... | |
Simple utility class that closes a held file descriptor when the object is destroyed.
Definition at line 11 of file AutoCloseFileDescriptor.h.
|
inlineexplicit |
Constructor.
Assumes ownership of the given file descriptor.
| fd | file descriptor to manage |
Definition at line 19 of file AutoCloseFileDescriptor.h.
|
inline |
Destructor.
Closes the file descriptor.
Definition at line 23 of file AutoCloseFileDescriptor.h.
References close().
|
inline |
Manually close the file descriptor.
Definition at line 29 of file AutoCloseFileDescriptor.h.
Referenced by ~AutoCloseFileDescriptor().
|
inline |
Determine if the file descriptor is valid (not -1)
Definition at line 51 of file AutoCloseFileDescriptor.h.
|
inline |
Obtain the file descriptor value.
Definition at line 45 of file AutoCloseFileDescriptor.h.


|
| | cColorb () |
| | Constructor of cColorb. More...
|
| |
| | cColorb (const GLubyte a_red, const GLubyte a_green, const GLubyte a_blue, const GLubyte a_alpha=0xff) |
| | Constructor of cColorb. Define a color by passing its RGBA components as parameters. More...
|
| |
| | ~cColorb () |
| | Destructor of cColorb. More...
|
| |
| void | setModificationFlags (const bool a_value) |
| | This method is used to mark the color as modified. More...
|
| |
| void | copyTo (cColorb &a_color) |
| | This method copies this color to another if it has been marked. More...
|
| |
| void | set (const GLubyte a_red, const GLubyte a_green, const GLubyte a_blue, const GLubyte a_alpha=0xff) |
| | This method sets the color by passing its RGBA components as parameters in GLubyte format. More...
|
| |
| void | setf (const GLfloat a_red, const GLfloat a_green, const GLfloat a_blue, const GLfloat a_alpha=1.0f) |
| | This method sets the color by passing its RGBA components as parameters in float format. More...
|
| |
| void | setMem3 (const GLubyte *a_colorRGB) |
| | This method sets the color by copying three floats from an external array, each describing RGB components. A is set to 0xff. More...
|
| |
| void | setMem4 (const GLubyte *a_colorRGBA) |
| | This method sets the color by copying four floats from an external array, each describing RGBA components. More...
|
| |
| void | setR (const GLubyte a_red) |
| | This method sets the red component. More...
|
| |
| GLubyte | getR () const |
| | This method returns the red component. More...
|
| |
| void | setG (const GLubyte a_green) |
| | This method sets the green component. More...
|
| |
| GLubyte | getG () const |
| | This method returns the green component. More...
|
| |
| void | setB (const GLubyte a_blue) |
| | This method sets the blue component. More...
|
| |
| GLubyte | getB () const |
| | This method returns the blue component. More...
|
| |
| void | setA (const GLubyte a_alpha) |
| | This method sets the alpha component. More...
|
| |
| GLubyte | getA () const |
| | This method returns the alpha component. More...
|
| |
| void | setLuminance (const GLubyte a_luminance) |
| | This method sets the luminance value of this color. More...
|
| |
| GLubyte | getLuminance () const |
| | This method returns the luminance value of this color. More...
|
| |
| void | render () const |
| | This method renders this color in OpenGL (sets it to be the current color). More...
|
| |
| const GLubyte * | getData () const |
| | This method returns a pointer to the color data. More...
|
| |
| cColorf | getColorf () const |
| | This method returns this color converted into cColorf format. More...
|
| |
| GLubyte | operator[] (const unsigned int n) const |
| | This operator returns the n-th component of this color (we provide both const and non-const versions so you can use this operator as an l-value or an r-value). More...
|
| |
| GLubyte & | operator[] (const unsigned int n) |
| | This operator returns the n-th component of this color (we provide both const and non-const versions so you can use this operator as an l-value or an r-value). More...
|
| |
| bool | operator== (const cColorb &a_color) |
| | This operator compares two colors and returns true if the color components RGB are identical, false otherwise. The transparency component A is ignored. More...
|
| |
| bool | operator!= (const cColorb &a_color) |
| | This operator compares two colors and returns false if the color components RGB are identical, true otherwise. The transparency component A is ignored. More...
|
| |
| void | setRedIndian () |
| | This method sets the color to Red Indian. More...
|
| |
| void | setRedLightCoral () |
| | This method sets the color to Light Coral Red. More...
|
| |
| void | setRedSalmon () |
| | This method sets the color to Red Salmon. More...
|
| |
| void | setRedDarkSalmon () |
| | This method sets the color to Dark Red Salmon. More...
|
| |
| void | setRedLightSalmon () |
| | This method sets the color to Light Red Salmon. More...
|
| |
| void | setRedCrimson () |
| | This method sets the color to Red Crimson. More...
|
| |
| void | setRed () |
| | This method sets the color to Red. More...
|
| |
| void | setRedFireBrick () |
| | This method sets the color to Red Fire Brick. More...
|
| |
| void | setRedDark () |
| | This method sets the color to Dark Red. More...
|
| |
| void | setPink () |
| | This method sets the color to Pink. More...
|
| |
| void | setPinkLight () |
| | This method sets the color to Light Pink. More...
|
| |
| void | setPinkHot () |
| | This method sets the color to Hot Pink. More...
|
| |
| void | setPinkDeep () |
| | This method sets the color to Deep Pink. More...
|
| |
| void | setPinkMediumVioletRed () |
| | This method sets the color to Medium Violet Red. More...
|
| |
| void | setPinkPaleVioletRed () |
| | This method sets the color to Pale Violet Red. More...
|
| |
| void | setOrangeLightSalmon () |
| | This method sets the color to Orange Light Salmon. More...
|
| |
| void | setOrangeCoral () |
| | This method sets the color to Orange Coral. More...
|
| |
| void | setOrangeTomato () |
| | This method sets the color to Orange Tomato. More...
|
| |
| void | setOrangeRed () |
| | This method sets the color to Orange Red. More...
|
| |
| void | setOrangeDark () |
| | This method sets the color to Dark Orange. More...
|
| |
| void | setOrange () |
| | This method sets the color to Orange. More...
|
| |
| void | setYellowGold () |
| | This method sets the color to Gold. More...
|
| |
| void | setYellow () |
| | This method sets the color to Yellow. More...
|
| |
| void | setYellowLight () |
| | This method sets the color to Light Yellow. More...
|
| |
| void | setYellowLemonChiffon () |
| | This method sets the color to Lemon Chiffon. More...
|
| |
| void | setYellowLightGoldenrod () |
| | This method sets the color to Light Goldenrod. More...
|
| |
| void | setYellowPapayaWhip () |
| | This method sets the color to Papaya Whip. More...
|
| |
| void | setYellowMoccasin () |
| | This method sets the color to Moccasin. More...
|
| |
| void | setYellowPeachPuff () |
| | This method sets the color to Peach Puff. More...
|
| |
| void | setYellowPaleGoldenrod () |
| | This method sets the color to Pale Goldenrod. More...
|
| |
| void | setYellowKhaki () |
| | This method sets the color to Khaki. More...
|
| |
| void | setYellowDarkKhaki () |
| | This method sets the color to Dark Khaki. More...
|
| |
| void | setPurpleLavender () |
| | This method sets the color to Lavender. More...
|
| |
| void | setPurpleThistle () |
| | This method sets the color to Thistle. More...
|
| |
| void | setPurplePlum () |
| | This method sets the color to Plum. More...
|
| |
| void | setPurpleViolet () |
| | This method sets the color to Violet. More...
|
| |
| void | setPurpleOrchid () |
| | This method sets the color to Orchid. More...
|
| |
| void | setPurpleFuchsia () |
| | This method sets the color to Fuchsia. More...
|
| |
| void | setPurpleMagenta () |
| | This method sets the color to Magenta. More...
|
| |
| void | setPurpleMediumOrchid () |
| | This method sets the color to Medium Orchid. More...
|
| |
| void | setPurpleMedium () |
| | This method sets the color to Medium Purple. More...
|
| |
| void | setPurpleAmethyst () |
| | This method sets the color to Amethyst. More...
|
| |
| void | setPurpleBlueViolet () |
| | This method sets the color to Blue Violet. More...
|
| |
| void | setPurpleDarkViolet () |
| | This method sets the color to Dark Violet. More...
|
| |
| void | setPurpleDarkOrchid () |
| | This method sets the color to Dark Orchid. More...
|
| |
| void | setPurpleDarkMagenta () |
| | This method sets the color to Dark Magenta. More...
|
| |
| void | setPurple () |
| | This method sets the color to Purple. More...
|
| |
| void | setPurpleIndigo () |
| | This method sets the color to Indigo. More...
|
| |
| void | setPurpleSlateBlue () |
| | This method sets the color to Slate Blue. More...
|
| |
| void | setPurpleDarkSlateBlue () |
| | This method sets the color to Dark Slate Blue. More...
|
| |
| void | setPurpleMediumSlateBlue () |
| | This method sets the color to Medium Slate Blue. More...
|
| |
| void | setGreenYellow () |
| | This method sets the color to Green Yellow. More...
|
| |
| void | setGreenChartreuse () |
| | This method sets the color to Chartreuse. More...
|
| |
| void | setGreenLawn () |
| | This method sets the color to Lawn Green. More...
|
| |
| void | setGreenLime () |
| | This method sets the color to Lime. More...
|
| |
| void | setGreenLimeGreen () |
| | This method sets the color to Lime Green. More...
|
| |
| void | setGreenPale () |
| | This method sets the color to Pale Green. More...
|
| |
| void | setGreenLight () |
| | This method sets the color to Light Green. More...
|
| |
| void | setGreenMediumSpring () |
| | This method sets the color to Medium Spring Green. More...
|
| |
| void | setGreenSpring () |
| | This method sets the color to Spring Green. More...
|
| |
| void | setGreenMediumSea () |
| | This method sets the color to Medium Sea Green. More...
|
| |
| void | setGreenSea () |
| | This method sets the color to Sea Green. More...
|
| |
| void | setGreenForest () |
| | This method sets the color to Forest Green. More...
|
| |
| void | setGreen () |
| | This method sets the color to Green. More...
|
| |
| void | setGreenDark () |
| | This method sets the color to Dark Green. More...
|
| |
| void | setGreenYellowGreen () |
| | This method sets the color to Yellow Green. More...
|
| |
| void | setGreenOliveDrab () |
| | This method sets the color to Olive Drab. More...
|
| |
| void | setGreenOlive () |
| | This method sets the color to Olive. More...
|
| |
| void | setGreenDarkOlive () |
| | This method sets the color to Dark Olive Green. More...
|
| |
| void | setGreenMediumAquamarine () |
| | This method sets the color to Medium Aquamarine. More...
|
| |
| void | setGreenDarkSea () |
| | This method sets the color to Dark Sea Green. More...
|
| |
| void | setGreenLightSea () |
| | This method sets the color to Light Sea Green. More...
|
| |
| void | setGreenDarkCyan () |
| | This method sets the color to Dark Cyan. More...
|
| |
| void | setGreenTeal () |
| | This method sets the color to Teal. More...
|
| |
| void | setBlueAqua () |
| | This method sets the color to Aqua. More...
|
| |
| void | setBlueCyan () |
| | This method sets the color to Cyan. More...
|
| |
| void | setBlueLightCyan () |
| | This method sets the color to Light Cyan. More...
|
| |
| void | setBluePaleTurquoise () |
| | This method sets the color to Pale Turquoise. More...
|
| |
| void | setBlueAquamarine () |
| | This method sets the color to Aquamarine. More...
|
| |
| void | setBlueTurquoise () |
| | This method sets the color to Turquoise. More...
|
| |
| void | setBlueMediumTurquoise () |
| | This method sets the color to Medium Turquoise. More...
|
| |
| void | setBlueDarkTurquoise () |
| | This method sets the color to Dark Turquoise. More...
|
| |
| void | setBlueCadet () |
| | This method sets the color to Cadet Blue. More...
|
| |
| void | setBlueSteel () |
| | This method sets the color to Steel Blue. More...
|
| |
| void | setBlueLightSteel () |
| | This method sets the color to Light Steel Blue. More...
|
| |
| void | setBluePowder () |
| | This method sets the color to Powder Blue. More...
|
| |
| void | setBlueLight () |
| | This method sets the color to Light Blue. More...
|
| |
| void | setBlueSky () |
| | This method sets the color to Sky Blue. More...
|
| |
| void | setBlueLightSky () |
| | This method sets the color to Light Sky Blue. More...
|
| |
| void | setBlueDeepSky () |
| | This method sets the color to Deep Sky Blue. More...
|
| |
| void | setBlueDodger () |
| | This method sets the color to Doger Blue. More...
|
| |
| void | setBlueCornflower () |
| | This method sets the color to Cornflower Blue. More...
|
| |
| void | setBlueMediumSlate () |
| | This method sets the color to Medium Slate Blue. More...
|
| |
| void | setBlueRoyal () |
| | This method sets the color to Royal Blue. More...
|
| |
| void | setBlue () |
| | This method sets the color to Blue. More...
|
| |
| void | setBlueMedium () |
| | This method sets the color to Medium Blue. More...
|
| |
| void | setBlueDark () |
| | This method sets the color to Dark Blue. More...
|
| |
| void | setBlueNavy () |
| | This method sets the color to Navy. More...
|
| |
| void | setBlueMidnight () |
| | This method sets the color to Midnight Blue. More...
|
| |
| void | setBrownCornsilk () |
| | This method sets the color to Cornsilk. More...
|
| |
| void | setBrownBlanchedAlmond () |
| | This method sets the color to Blanched Almond. More...
|
| |
| void | setBrownBisque () |
| | This method sets the color to Bisque. More...
|
| |
| void | setBrownNavajoWhite () |
| | This method sets the color to Navajo White. More...
|
| |
| void | setBrownWheat () |
| | This method sets the color to Wheat. More...
|
| |
| void | setBrownBurlyWood () |
| | This method sets the color to Burly Wood. More...
|
| |
| void | setBrownTan () |
| | This method sets the color to Tan. More...
|
| |
| void | setBrownRosy () |
| | This method sets the color to Rosy Brown. More...
|
| |
| void | setBrownSandy () |
| | This method sets the color to Sandy Brown. More...
|
| |
| void | setBrownGoldenrod () |
| | This method sets the color to Brown Goldenrod. More...
|
| |
| void | setBrownDarkGoldenrod () |
| | This method sets the color to Dark Brown Goldenrod. More...
|
| |
| void | setBrownPeru () |
| | This method sets the color to Peru. More...
|
| |
| void | setBrownChocolate () |
| | This method sets the color to Chocolate. More...
|
| |
| void | setBrownSaddle () |
| | This method sets the color to Saddle Brown. More...
|
| |
| void | setBrownSienna () |
| | This method sets the color to Sienna. More...
|
| |
| void | setBrown () |
| | This method sets the color to Brown. More...
|
| |
| void | setBrownMaroon () |
| | This method sets the color to Maroon. More...
|
| |
| void | setWhite () |
| | This method sets the color to White. More...
|
| |
| void | setWhiteSnow () |
| | This method sets the color to White Snow. More...
|
| |
| void | setWhiteHoneydew () |
| | This method sets the color to Honeydew. More...
|
| |
| void | setWhiteMintCream () |
| | This method sets the color to Mint Cream. More...
|
| |
| void | setWhiteAzure () |
| | This method sets the color to Azure. More...
|
| |
| void | setWhiteAliceBlue () |
| | This method sets the color to Alice Blue. More...
|
| |
| void | setWhiteGhost () |
| | This method sets the color to Ghost White. More...
|
| |
| void | setWhiteSmoke () |
| | This method sets the color to White Smoke. More...
|
| |
| void | setWhiteSeashell () |
| | This method sets the color to Seashell. More...
|
| |
| void | setWhiteBeige () |
| | This method sets the color to Beige. More...
|
| |
| void | setWhiteOldLace () |
| | This method sets the color to Old Lace. More...
|
| |
| void | setWhiteFloral () |
| | This method sets the color to Floral White. More...
|
| |
| void | setWhiteIvory () |
| | This method sets the color to Ivory. More...
|
| |
| void | setWhiteAntique () |
| | This method sets the color to Antique White. More...
|
| |
| void | setWhiteLinen () |
| | This method sets the color to Linen. More...
|
| |
| void | setWhiteLavenderBlush () |
| | This method sets the color to Lavender Blush. More...
|
| |
| void | setWhiteMistyRose () |
| | This method sets the color to Misty Rose. More...
|
| |
| void | setGrayGainsboro () |
| | This method sets the color to Gainsboro. More...
|
| |
| void | setGrayLight () |
| | This method sets the color to Light Gray. More...
|
| |
| void | setGraySilver () |
| | This method sets the color to Silver. More...
|
| |
| void | setGrayDark () |
| | This method sets the color to Dark Gray. More...
|
| |
| void | setGray () |
| | This method sets the color to Gray. More...
|
| |
| void | setGrayDim () |
| | This method sets the color to Dim Gray. More...
|
| |
| void | setGrayLightSlate () |
| | This method sets the color to Light Slate Gray. More...
|
| |
| void | setGraySlate () |
| | This method sets the color to Slate Gray. More...
|
| |
| void | setGrayDarkSlate () |
| | This method sets the color to Dark Slate Gray. More...
|
| |
| void | setBlack () |
| | This method sets the color to Black. More...
|
| |
| void | setGrayLevel (const GLubyte a_level) |
| |
This class describes a color property composed of 4 GLubyte parameters, R,G,B and A respectively.
Colors can be defined by settings each component individually or by using the predefined colors from the palette. These colors can be initialized by calling the different public methods of the class.
For gray scales, you may use method setGrayLevel() that allows the programmer to finely adjust the gray scale level from 0 - 255.
This capability can be very useful when implementing a selection procedure where triangles change color when being being selected by a computer mouse for instance. A different color can be applied to the selected triangle and then restored to the original color once the selection has been completed.


Learn by skill or by language
Code Quiz provides a rich source of coding exercises that you can use to practice and improve your coding skills. You can choose to learn by skill or by language. Whatever it may be, Code Quiz can provide exercises for it.


Preparation time
less than 30 mins
Cooking time
less than 10 mins
Serves
Serves 4
A lovely light salad to go with barbecue mackerel. Blue borage flowers are used as a cucumber-flavoured garnish.
Wash the radishes well, cut off their tops and tear up to use as the salad leaf.  Thinly slice all the radishes, keep to one side.
In a bowl place the vinegar, the rapeseed oil and sugar. Then season with salt and pepper and mix.
Add the radishes and mix, then add the cucumber and chives and mix well.
Preheat a barbecue or, alternatively, heat a grill or a non-stick pan if it's raining. Season the mackerel with salt, pepper and drizzle it with a little more oil. Cook for about three minutes each side, depending on the cooking method.
While the fish is cooking, add the radish leaves (or salad leaves if using) to the bowl and mix well.
To serve, share the salad between four plates and add the dressing. Place a fillet of cooked mackerel on each plate and, garnish with the borage flowers.


The Animal Farm
Home
Find a Pet
Add a Pet
About Us
Add a New Animal
Pet Name:
Pet Type:
Dog
Cat
Pig
Bird
Rabbit
Pet Age:
Pet Color:
Multicolored
White
Tan/Brown
Black
Grey
Submit


View schools: /doc/schools
Go to second page: /doc/schools?_page=1
Pick a different named view to see more details: /doc/schools?_view=medium
Get that in Turtle: /doc/schools.ttl?_view=medium
and JSON: /doc/schools.json?_view=medium
Note that the nested JSON shows labels for leaf resources
See everything, in JSON: /doc/schools.json?_view=all
Narrow to schools providing nursery: /doc/schools?nurseryProvision=true&_view=medium
Note that API has to know that nurseryProvision is a boolean valued property.
Instead narrow to schools dealing with secondary education, identify these by path label.phaseOfEducation
:
/doc/schools?phaseOfEducation.label=Secondary&_view=medium
Alternatively use name-phaseOfEducation
:
/doc/schools?name-phaseOfEducation=Secondary&_view=medium
Map /doc/schools/secondary
to all schools with name-phaseOfEducation=Secondary
:
spec:schoolsSecondary a api:ListEndpoint; api:uriTemplate "/doc/schools/secondary"; foaf:primaryTopic "http://education.data.gov.uk/set/schools"; api:selector spec:schoolsSecondarySelector; api:defaultViewer spec:viewerMedium . spec:schoolsSecondarySelector a api:Selector; api:type school-ont:School; api:query "name-phaseOfEducation=Secondary" .
/doc/schools/secondary note that the default view is now medium so we can see what is going on.
Now extend that, inheriting the same selector but adding in a templated sublist showing the administrative district:
spec:schoolsSecondaryDistrict a api:ListEndpoint; api:uriTemplate "/doc/schools/secondary/district/{district}"; foaf:primaryTopic "http://education.data.gov.uk/set/schools"; api:selector [ api:parent spec:schoolsSecondarySelector; api:query "name-districtAdministrative=?district"; ] ; api:defaultViewer spec:viewerMedium .
so use that to get the secondary phase schools in Oxford: /doc/schools/secondary/district/Oxford
Take last list (secondary schools in Oxford) and sort by size: /doc/schools/secondary/district/Oxford?_sort=schoolCapacity
Then filter that by size > 1200 using min-schoolCapacity
/doc/schools/secondary/district/Oxford?min-schoolCapacity=1200&_sort=schoolCapacity
Now lets see the underlying SPARQL query and endpoint specification from that last example: meta


1 write to _commandsAllowed
Microsoft.PowerShell.Commands.Utility (1)
commands\utility\Import-LocalizedData.cs (1)
115
_commandsAllowed
= value;
1 reference to _commandsAllowed
Microsoft.PowerShell.Commands.Utility (1)
commands\utility\Import-LocalizedData.cs (1)
109
return
_commandsAllowed
;


We handbuild tables, benches, wine racks, and more! All delivered right to your door! All with a beautiful rustic finish. Check out our product pages for more information!
Learn MoreWe offer custom builds, interior design consulting, and restoration. Call us today to inquire about a product or service!
Learn MoreJust a small mom and pop operation. Build ourselves. Started in 2020. Tom can fill in the details here...
Learn More


Black Death
Black Death is a movie starring Eddie Redmayne, Sean Bean, and Carice van Houten. Set during the time of the first outbreak of bubonic plague in England, a young monk is given the task of learning the truth about reports of people...


“How small these rescued tides appear! Earthly delights flow in torrents. Each object offers paradise.” ― André Breton, The Magnetic Fields


3 Simple Knowledge Organization System (SKOS) Support
You can perform inferencing based on a core subset of the Simple Knowledge Organization System (SKOS) data model, which is especially useful for representing thesauri, classification schemes, taxonomies, and other types of controlled vocabulary.
SKOS is based on standard semantic web technologies including RDF and OWL, which makes it easy to define the formal semantics for those knowledge organization systems and to share the semantics across applications.
Support is provided for most, but not all, of the features of SKOS, the detailed specification of which is available at http://www.w3.org/TR/skos-reference/
.
Around 40 SKOS-specific terms are included in the RDF Semantic Graph support, such as skos:broader
, skos:relatedMatch
, and skos:Concept
. Over 100 SKOS axiomatic triples have been added, providing the basic coverage of SKOS semantics. However, support is not included for the integrity conditions described in the SKOS specification.
To perform SKOS-based inferencing, specify the system-defined SKOSCORE
rulebase in the rulebases_in
parameter in the call to the SEM_APIS.CREATE_ENTAILMENT procedure, as in the following example:
EXECUTE sem_apis.create_entailment('tstidx',sem_models('tst'), sem_rulebases('skoscore'));
Example 3-1 defines, in Turtle format, a simple electronics scheme and two relevant concepts, cameras and digital cameras. Its meaning is straightforward and its representation is in RDF. It can be managed by Oracle Database in the same way as other RDF and OWL data.
Example 3-1 SKOS Definition of an Electronics Scheme
ex1:electronicsScheme rdf:type skos:ConceptScheme; ex1:cameras rdf:type skos:Concept; skos:prefLabel "cameras"@en; skos:inScheme ex1:electronicsScheme. ex1:digitalCameras rdf:type skos:Concept; skos:prefLabel "digital cameras"@en; skos:inScheme ex1:electronicsScheme. ex1:digitalCameras skos:broader ex1:cameras.
Topics:
- Supported and Unsupported SKOS Semantics
This section describes features of SKOS semantics that are and are not supported by Oracle Database. - Performing Inference on SKOS Models
Performing inference on a SKOS model is similar to performing inference on a semantic model.
3.1 Supported and Unsupported SKOS Semantics
This section describes features of SKOS semantics that are and are not supported by Oracle Database.
3.1.1 Supported SKOS Semantics
All terms defined in SKOS and SKOS extension for labels are recognized. When the SKOSCORE rulebase is chosen for inference, the recognized terms include the following:
skos:altLabel skos:broader skos:broaderTransitive skos:broadMatch skos:changeNote skos:closeMatch skos:Collection skos:Concept skos:ConceptScheme skos:definition skos:editorialNote skos:exactMatch skos:example skos:hasTopConcept skos:hiddenLabel skos:historyNote skos:inScheme skos:mappingRelation skos:member skos:memberList skos:narrower skos:narrowerTransitive skos:narrowMatch skos:notation skos:note skos:OrderedCollection skos:prefLabel skos:related skos:relatedMatch skos:scopeNote skos:semanticRelation skos:topConceptOf skosxl:altLabel skosxl:hiddenLabel skosxl:Label skosxl:labelRelation skosxl:literalForm skosxl:prefLabel
Most SKOS axioms and definitions are supported including the following: S1-S8, S10-S11, S15-S26, S28-S31, S33-S36, S38-S45, S47-S50, and S53-S54. (See the SKOS detailed specification for definitions.)
Most SKOS integrity conditions are supported, including S9, S13, S27, S37, and S46.
S52 is partially supported.
S55, S56, and S57 are not supported by default.
-
S55, the property chain (
skosxl:prefLabel, skosxl:literalForm
), is a subproperty ofskos:prefLabel
. -
S56, the property chain (
skosxl:altLabel, skosxl:literalForm
), is a subproperty ofskos:altLabel
. -
S57, the property chain (
skosxl:hiddenLabel, skosxl:literalForm
), is a subproperty ofskos:hiddenLabel.chains
.
However, S55, S56, and S57 can be implemented using the OWL 2 subproperty chain construct. For information about property chain handling, see Property Chain Handling.
3.1.2 Unsupported SKOS Semantics
The following features of SKOS semantics are not supported:
-
S12 and S51: The
rdfs:range
of the relevant predicates is the class of RDF plain literals. There is no check that the object values of these predicates are indeed plain literals; however, applications can perform such a check. -
S14: A resource has no more than one value of
skos:prefLabel
per language tag. This integrity condition is even beyond OWL FULL semantics, and it is not enforced in the current release. -
S32: The
rdfs:range of skos:member
is the union of classesskos:Concept
andskos:Collection
. This integrity condition is not enforced. -
S55, S56, and S57 are not supported by default, but they can be implemented using the OWL 2 subproperty chain construct, as explained in Supported SKOS Semantics.
3.2 Performing Inference on SKOS Models
Performing inference on a SKOS model is similar to performing inference on a semantic model.
To create an SKOS model, use the same procedure (SEM_APIS.CREATE_SEM_MODEL) as for creating a semantic model. You can load data into an SKOS model in the same way as for semantic models.
To infer new relationships for one or more SKOS models, use the SEM_APIS.CREATE_ENTAILMENT procedure with the system-defined rulebase SKOSCORE
. For example:
EXECUTE sem_apis.create_entailment('tstidx',sem_models('tst'), sem_rulebases('skoscore'));
The inferred data will include many of the axioms defined in the SKOS detailed specification. Like other system-defined rulebases, SKOSCORE has no explicit rules; all the semantics supported are coded into the implementation.
3.2.1 Validating SKOS Models and Entailments
You can use the SEM_APIS.VALIDATE_ENTAILMENT and SEM_APIS.VALIDATE_MODEL procedures to validate the supported integrity conditions. The output will include any inconsistencies caused by the supported integrity conditions, such as OWL 2 propertyDisjointWith
and S52
.
Example 3-2 validates an SKOS entailment.
Example 3-2 Validating an SKOS Entailment
set serveroutput on declare lva mdsys.rdf_longVarcharArray; idx int; begin lva := sem_apis.validate_entailment(sdo_rdf_models('tstskos'), sem_rulebases('skoscore')); if (lva is null) then dbms_output.put_line('No conflicts'); else for idx in 1..lva.count loop dbms_output.put_line('entry ' || idx || ' ' || lva(idx)); end loop; end if; end; /
3.2.2 Property Chain Handling
The SKOS S55, S56, and S57 semantics are not supported by default. However, you can add support for them by using the OWL 2 subproperty chain construct.
Example 3-3 inserts the necessary chain definition triples for S55 into an SKOS model. After the insertion, an invocation of SEM_APIS.CREATE_ENTAILMENT that specifies the SKOSCORE
rulebase will include the semantics defined in S55.
Example 3-3 Property Chain Insertions to Implement S55
INSERT INTO tst VALUES(sdo_rdf_triple_s('tst','<http://www.w3.org/2004/02/skos/core#prefLabel>', '<http://www.w3.org/2002/07/owl#propertyChainAxiom>', '_:jA1')); INSERT INTO tst VALUES(sdo_rdf_triple_s('tst','_:jA1', '<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>', '<http://www.w3.org/2008/05/skos-xl#prefLabel>')); INSERT INTO tst VALUES(sdo_rdf_triple_s('tst','_:jA1', '<http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>', '_:jA2')); INSERT INTO tst VALUES(sdo_rdf_triple_s('tst','_:jA2', '<http://www.w3.org/1999/02/22-rdf-syntax-ns#first>', '<http://www.w3.org/2008/05/skos-xl#literalForm>')); INSERT INTO tst VALUES(sdo_rdf_triple_s('tst','_:jA2', '<http://www.w3.org/1999/02/22-rdf-syntax-ns#rest>', '<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>'));


Fresh Fruits
It has long been known that a diet includes at least a few serving of fresh fruit every day will help you keep healthy, fit and trim.
Title goes here
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O


Yup. We got it. You really wanted that {{ prize.name }}. We just need to make some checks to authorize it, and then you're on your way to enjoy {{ prize.description }}
If you think you received this email in error, please contact {{ siteSettings.SitePublicAdminEmail }}.


Yale Intramurals
The Quest for Glory... The Quest for the Tyng
Toggle navigation
Home
About
Master Schedule
Colleges
Berkeley
Branford
Calhoun
Davenport
Ezra Stiles
Jonathan Edwards
Morse
Pierson
Saybrook
Silliman
Timothy Dwight
Trumbull
Dead Teams
Archives
Media
Rules
Contact


Landing Page
Special Projects
This story is part of a series of specially designed stories that represents some of the best journalism The Post has to offer. Check out the rest of the special projects here.
TAYLOR JOHNSTON
05.25.17
Matt Starkey | PHOTO EDITOR
Welcome to campus, Bobcats! Attending orientation and exploring a college campus is probably pretty new for many of you. But the great part is that college is all about new experiences. You will meet new people, learn new material and experience life away from home. It can be a bit intimidating, but don’t worry too much because everyone will make mistakes along the way.
You will probably end up walking into the wrong classroom or turning in an assignment late. You might have an argument with a roommate or feel incredibly homesick at some point. But take a moment and relax, because it is going to turn out OK.
Athens and Ohio University have a lot to offer, so don’t shy away from trying something new. Work hard, step out of your comfort zone and find out what college has to offer. Again, you will mess up, but there is always some room for a little failure. Learn from the mistakes you make and move on.
But if you are stressing a bit, here is some advice.
Take classes that interest you. Even try out a few of the less traditional classes, such as one about wilderness skills or the paranormal. Also, definitely go to class. You’ll meet some interesting people and hopefully learn a thing or two.
Venture outside of your freshman dorm room to explore what OU and Athens have to offer. Do the typical college thing and hammock on College Green or catch a frisbee. Try new cuisine Uptown that you have never heard of before. Hike up Bong Hill and attend a sporting event (even if you don’t particularly like sports). Discover your favorite spot in Athens, spend some time studying in Alden Library and check out some of the local bands playing on the weekends.
But do not be afraid to spend a night in too. Gather with some floormates and watch your favorite Disney movies. Make some popcorn and relax every once in awhile.
Find your niche. If you join an organization that you care about, you are likely to meet some like-minded people. Try an intramural sport, a music group or the independent student media outlet, The Post. If you are doing what you love, you are on the right path.
 Stay up to date by following The Post and some of our reporters on social media. Also, sign up for our daily newsletter, Post Haste, to receive the latest news in your inbox every morning.
When you return to campus in the fall, stop by Baker 325 to say hello to some Posties and pick up a new issue of The Post from a newsstand every Thursday morning.
Enjoy Athens, and good luck.
— Elizabeth Backo is a senior studying journalism and the editor-in-chief of The Post. Want to talk to her? Email her at<EMAIL_ADDRESS>or send her a tweet at @liz_backo.
Back to The Orientation GuideLanding Page
This story is part of a series of specially designed stories that represents some of the best journalism The Post has to offer. Check out the rest of the special projects here.


ASP
Long running processes
Several ways, often not reliable (the first 2 run in IIS and could be easily recycled...)
- Thread it. You can use a hashtable to signal results ("LongProcess" can be an instance method of the Page, accessing controls). Full example
ThreadStart ts = new ThreadStart(LongProcess);
Thread workerThread = new Thread(ts);
workerThread.Start(); - Use a web service with the attributes [WebMethod] [SoapDocumentMethod(OneWay=true)]
- A windows service, if you can persuade people to deploy one.
- IIS Application Initialization Module.
-
- It's a separate download in IIS 7/7.5, and an optional "windows feature" that must be turned on in IIS 8 (IIS. WWW Services, Application Development Features, Application Initialization.
- In IIS7, edit ApplicationHost.config (see post above).
- In IIS8,
- on AppPool, Start Automatically=true and Start Mode= AlwaysRunning
- On Application, Advanced Settings, Preload Enabled = true
- If the AppDomain restarts, in Application_End, do a WebClient ping to restart it.
- The job is just a static member on Global.asax which is created in Application_Start. If you implement IRegisterdObject.Stop, you can HostingEnvironment.RegisterObject(job);
-
- Hangfire is a Sql-Server backed solution.
- In .net 4.5.2 (May 2013), there is HostingEnvironment.QueueBackgroundWorkItem(cancellationToken => { /* code */ });
- In Azure, there are WebJobs


I am Phillip Rekhotho and I love working with JavaScript and TypeScript. I spend most of my free time coding, reading articles about new technologies in order to stay motivated.
JavaScript templating engine
Asembly is the lower level programming language commonly used for creating high performance applications such as operating system, games, etc...


--- layout: splash excerpt: "A complete Nintendo Switch homebrew guide." header: overlay_color: "#1a1d24" cta_label: "Get Started" cta_url: /guide/get-started/ ---
Homebrew is custom, user-made software, which haven't been authorised by Nintendo. This can include save editing tools, games, emulators, and more. The Homebrew Launcher is a launcher you can install to your Switch to run these homebrew applications.
Homebrew can be installed on Nintendo Switch system version 3.0.0. This guide will help you through installing homebrew on your Nintendo Switch console.
It should be. Make sure to always run homebrew from trustworthy sources. I will not be held responsible for any damages done to your device.
Yes, you can do this by updating to 3.0.0 via an update game. However be warned that another exploit may be coming out in the future. Remember that if you are on a lower firmware, you will get CFW first.
More advanced hacks will be available in the future. For now, block updates and have patience until they are ready to be released.


Age: 35 Profession: Works at Whole Foods Marital Status: Married, with 2 kids Online Presence: Reddit account, Facebook profile Personal Devices: Macbook Pro 15 in 17, Iphone 8, Wired headphones Hobbies: Baking, discovering and listening to new music Dislikes: Clogged landing page, irrelevant suggested content, frozen/slow loading pictures/videos User Story: Sarah likes to use the website quickly, and minimally, to get what she wants, and then leave Use Case: Sarah gets home from work, and boots up her computer. She types "www.reddit.com" into the address bar, and is taken to the Reddit homepage. She sees a post entitled "A new way to bake a cake". It catches her interest, and she clicks on the link. The website redirects her towards the article in question. After the page loads, it displays a picture, and the related story. Sarah reads it, enjoys it, and decides to bookmark it so that she can access it later. She clicks the bookmark icon, and the page is saved into her profile. She then exits the site.


{% extends 'components/shell.html' %} {% block content %}
If you imported using your account, you can set your display name in your account settings.


helib::DoubleCRTHelper Class Reference
A helper class to enforce consistency within an DoubleCRTHelper object. More...
#include <DoubleCRT.h>
Inheritance diagram for helib::DoubleCRTHelper:
Public Member Functions | |
| DoubleCRTHelper (const Context &context) | |
| virtual void | init (NTL::vec_long &v) |
| the init method ensures that all rows have the same size More... | |
| virtual IndexMapInit< NTL::vec_long > * | clone () const |
| clone allocates a new object and copies the content More... | |
| Public Member Functions inherited from helib::IndexMapInit< NTL::vec_long > | |
| virtual IndexMapInit< NTL::vec_long > * | clone () const=0 |
| Cloning a pointer, override with code to create a fresh copy. More... | |
| virtual | ~IndexMapInit () |
Detailed Description
A helper class to enforce consistency within an DoubleCRTHelper object.
See Section 2.6.2 of the design document (IndexMap)
Constructor & Destructor Documentation
◆ DoubleCRTHelper()
| helib::DoubleCRTHelper::DoubleCRTHelper | ( | const Context & | context | ) |
Member Function Documentation
◆ clone()
|
inlinevirtual |
clone allocates a new object and copies the content
◆ init()
|
inlinevirtual |
the init method ensures that all rows have the same size
Implements helib::IndexMapInit< NTL::vec_long >.
The documentation for this class was generated from the following files:
- /HElib/include/helib/DoubleCRT.h
- /HElib/src/DoubleCRT.cpp


Nick Jonas's 'Jumanji' Co-Stars Bring Cardboard Cut Out Of Him To Press Junket!
It looks like Nick Jonas‘s Jumanji: The Next Level co-stars are really missing him on the press tour!
While posing for pics ahead of the press conference in Cabo San Lucas, Mexico, Awkwafina, Karen Gillan and Jack Black pulled in a cardboard cutout of the 27-year-old musician so he could be part of the promo tour.
“They must really miss me on the @jumanjimovie press tour. 😜 #jumanjithenextlevel,” Nick joked about it on his Twitter.
Opening on December 13th, Jumanji: The Next Level brings back the gang as they return to Jumanji to rescue one of their own, and they discover that nothing is as they expect.
The players will have to brave parts unknown and unexplored, from the arid deserts to the snowy mountains, in order to escape the world’s most dangerous game.


Apollo Expeditions to the Moon
NOTES
Logsdon, John M.,
"Decision to Go to the Moon",
The MIT Press, 1970, pp. 10 and 100.


| Apache Struts 2 Documentation > Home > Guides > Core Developers Guide > Interceptors |
| The default Interceptor stack is designed to serve the needs of most applications. Most applications will not need to add Interceptors or change the Interceptor stack. |
Many Actions share common concerns. Some Actions need input validated. Other Actions may need a file upload to be pre-processed. Another Action might need protection from a double submit. Many Actions need drop-down lists and other controls pre-populated before the page displays.
The Struts Action Framework makes it easy to share solutions to these concerns using an "Interceptor" strategy. When you request a resource that maps to an "action", the framework invokes the Action object. But, before the Action is executed, the invocation can be intercepted by another object. After the Action executes, the invocation could be intercepted again. Unsurprisingly, we call these objects "Interceptors."
Interceptors can execute code before and after an Action is invoked. Most of the framework's core functionality is implemented as Interceptors. Features like double-submit guards, type conversion, object population, validation, file upload, page preparation, and more, are all implemented with the help of Interceptors. Each and every Interceptor is pluggable, so you can decide exactly which features an Action needs to support.
Interceptors can be configured on a per-action basis. Your own custom Interceptors can be mixed-and-matched with the Interceptors bundled with the framework. Interceptors "set the stage" for the Action classes, doing much of the "heavy lifting" before the Action executes.
| Action Lifecyle |
|---|
In some cases, an Interceptor might keep an Action from firing, because of a double-submit or because validation failed. Interceptors can also change the state of an Action before it executes.
The Interceptors are defined in a stack that specifies the execution order. In some cases, the order of the Interceptors on the stack can be very important.
<package name="default" extends="struts-default"> <interceptors> <interceptor name="timer" class=".."/> <interceptor name="logger" class=".."/> </interceptors> <action name="login" class="tutorial.Login"> <interceptor-ref name="timer"/> <interceptor-ref name="logger"/> <result name="input">login.jsp</result> <result name="success" type="redirect-action">/secure/home</result> </action> </package>
With most web applications, we find ourselves wanting to apply the same set of Interceptors over and over again. Rather than reiterate the same list of Interceptors, we can bundle these Interceptors together using an Interceptor Stack.
<package name="default" extends="struts-default"> <interceptors> <interceptor name="timer" class=".."/> <interceptor name="logger" class=".."/> <interceptor-stack name="myStack"> <interceptor-ref name="timer"/> <interceptor-ref name="logger"/> </interceptor-stack> </interceptors> <action name="login" class="tutuorial.Login"> <interceptor-ref name="myStack"/> <result name="input">login.jsp</result> <result name="success" type="redirect-action">/secure/home</result> </action> </package>
Looking inside struts-default.xml, we can see how it's done.
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> <!--  Basic stack --> <interceptor-stack name="basicStack"> <interceptor-ref name="exception"/> <interceptor-ref name="servlet-config"/> <interceptor-ref name="prepare"/> <interceptor-ref name="static-params"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> </interceptor-stack> <!-- Sample validation and workflow stack --> <interceptor-stack name="validationWorkflowStack"> <interceptor-ref name="basicStack"/> <interceptor-ref name="validation"/> <interceptor-ref name="workflow"/> </interceptor-stack> <!-- Sample file upload stack --> <interceptor-stack name="fileUploadStack"> <interceptor-ref name="fileUpload"/> <interceptor-ref name="basicStack"/> </interceptor-stack> <!-- Sample model-driven stack --> <interceptor-stack name="modelDrivenStack"> <interceptor-ref name="model-driven"/> <interceptor-ref name="basicStack"/> </interceptor-stack> <!-- Sample action chaining stack --> <interceptor-stack name="chainStack"> <interceptor-ref name="chain"/> <interceptor-ref name="basicStack"/> </interceptor-stack> <!-- Sample i18n stack --> <interceptor-stack name="chainStack"> <interceptor-ref name="i18n"/> <interceptor-ref name="basicStack"/> </interceptor-stack> <!-- Sample execute and wait stack. Note: execAndWait should always be the *last* interceptor. --> <interceptor-stack name="executeAndWaitStack"> <interceptor-ref name="basicStack"/> <interceptor-ref name="execAndWait"/> </interceptor-stack> <!--  Generally, this stack should be the one you use, though it may process additional stuff you don't need, which could lead to some performance problems. Also, the ordering can be switched around (ex: if you wish to have your components before prepare() is called, you'd need to move the component interceptor up --> <interceptor-stack name="defaultStack"> <interceptor-ref name="exception"/> <interceptor-ref name="alias"/> <interceptor-ref name="prepare"/> <interceptor-ref name="servlet-config"/> <interceptor-ref name="i18n"/> <interceptor-ref name="chain"/> <interceptor-ref name="model-driven"/> <interceptor-ref name="fileUpload"/> <interceptor-ref name="static-params"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> <interceptor-ref name="validation"/> <interceptor-ref name="workflow"/> </interceptor-stack> <!-- The completeStack is here for backwards compatibility for applications that still refer to the defaultStack by the old name --> <interceptor-stack name="completeStack"> <interceptor-ref name="defaultStack"/> </interceptor-stack> </interceptors> <default-interceptor-ref name="defaultStack"/> </package> </struts> <!-- // END SNIPPET: struts-default -->
Since the struts-default.xml is included in the application's configuration by default, all of the predefined interceptors and stacks are available "out of the box".
Interceptor classes are also defined using a key-value pair specified in the Struts configuration file. The names specified below come specified in struts-default.xml. If you extend the struts-default package, then you can use the names below. Otherwise, they must be defined in your package with a name-class pair specified in the <interceptors> tag.
| Interceptor | Name | Description |
|---|---|---|
| Alias Interceptor | alias | Converts similar parameters that may be named differently between requests. |
| Chaining Interceptor | chain | Makes the previous Action's properties available to the current Action. Commonly used together with <result type="chain"> (in the previous Action). |
| Checkbox Interceptor | checkbox | Adds automatic checkbox handling code that detect an unchecked checkbox and add it as a parameter with a default (usually 'false') value. Uses a specially named hidden field to detect unsubmitted checkboxes. The default unchecked value is overridable for non-boolean value'd checkboxes. Minor source formatting and cleaned out an empty directory. |
| Conversion Error Interceptor | conversionError | Adds conversion errors from the ActionContext to the Action's field errors |
| Create Session Interceptor | createSession | Create an HttpSession automatically, useful with certain Interceptors that require a HttpSession to work properly (like the TokenInterceptor) |
| DebuggingInterceptor | debugging | Provides several different debugging screens to provide insight into the data behind the page. |
| Execute and Wait Interceptor | execAndWait | Executes the Action in the background and then sends the user off to an intermediate waiting page. |
| Exception Interceptor | exception | Maps exceptions to a result. |
| File Upload Interceptor | fileUpload | An Interceptor that adds easy access to file upload support. |
| I18n Interceptor | i18n | Remembers the locale selected for a user's session. |
| Logger Interceptor | logger | Outputs the name of the Action. |
| Message Store Interceptor | store | Store and retrieve action messages / errors / field errors for action that implements ValidationAware interface into session. |
| Model Driven Interceptor | model-driven | If the Action implements ModelDriven, pushes the getModel Result onto the Value Stack. |
| Scoped Model Driven Interceptor | scoped-model-driven | If the Action implements ScopedModelDriven, the interceptor retrieves and stores the model from a scope and sets it on the action calling setModel. |
| Parameters Interceptor | params | Sets the request parameters onto the Action. |
| Prepare Interceptor | prepare | If the Action implements Preparable, calls its prepare method. |
| Scope Interceptor | scope | Simple mechanism for storing Action state in the session or application scope. |
| Servlet Config Interceptor | servlet-config | Provide access to Maps representing HttpServletRequest and HttpServletResponse. |
| Static Parameters Interceptor | static-params | Sets the struts.xml defined parameters onto the action. These are the <param> tags that are direct children of the <action> tag. |
| Roles Interceptor | roles | Action will only be executed if the user has the correct JAAS role. |
| Timer Interceptor | timer | Outputs how long the Action takes to execute (including nested Interceptors and View) |
| Token Interceptor | token | Checks for valid token presence in Action, prevents duplicate form submission. |
| Token Session Interceptor | token-session | Same as Token Interceptor, but stores the submitted data in session when handed an invalid token |
| Validation Interceptor | validation | Performs validation using the validators defined in action-validation.xml |
| Workflow Interceptor | workflow | Calls the validate method in your Action class. If Action errors are created then it returns the INPUT view. |
| Parameter Filter Interceptor | N/A | Removes parameters from the list of those available to Actions |
| Profiling Interceptor | profiling | Activate profiling through parameter |
An abstract Interceptor
that is applied to selectively according
to specified included/excluded method lists.
Setable parameters are as follows:
NOTE: If method name are available in both includeMethods and excludeMethods, it will still be considered as an included method. In short includeMethods takes precedence over excludeMethods.
Interceptors that extends this capability would be :-
Interceptor's parameter could be overriden through the following ways :-
Method 1:
<action name="myAction" class="myActionClass"> <interceptor-ref name="exception"/> <interceptor-ref name="alias"/> <interceptor-ref name="params"/> <interceptor-ref name="servlet-config"/> <interceptor-ref name="prepare"/> <interceptor-ref name="i18n"/> <interceptor-ref name="chain"/> <interceptor-ref name="model-driven"/> <interceptor-ref name="fileUpload"/> <interceptor-ref name="static-params"/> <interceptor-ref name="params"/> <interceptor-ref name="conversionError"/> <interceptor-ref name="validation"> <param name="excludeMethods">myValidationExcudeMethod</param> </interceptor-ref> <interceptor-ref name="workflow"> <param name="excludeMethods">myWorkflowExcludeMethod</param> </interceptor-ref> </action>
Method 2:
<action name="myAction" class="myActionClass"> <interceptor-ref name="defaultStack"> <param name="validation.excludeMethods">myValidationExcludeMethod</param> <param name="workflow.excludeMethods">myWorkflowExcludeMethod</param> </interceptor-ref> </action>
In the first method, the whole default stack is copied and the parameter then changed accordingly.
In the second method, the
<interceptor-name>.<parameter-name>
Note also that in this case the
Interceptors provide an excellent means to wrap before/after processing. The concept reduces code duplication (think AOP).
<interceptor-stack name="xaStack"> <interceptor-ref name="thisWillRunFirstInterceptor"/> <interceptor-ref name="thisWillRunNextInterceptor"/> <interceptor-ref name="followedByThisInterceptor"/> <interceptor-ref name="thisWillRunLastInterceptor"/> </interceptor-stack>
Note that some Interceptors will interrupt the stack/chain/flow ... so the order is very important.
Interceptors implementing com.opensymphony.xwork.interceptor.PreResultListener will run after the Action executes but before the Result executes.
thisWillRunFirstInterceptor thisWillRunNextInterceptor followedByThisInterceptor thisWillRunLastInterceptor MyAction1 MyAction2 (chain) MyPreResultListener MyResult (result) thisWillRunLastInterceptor followedByThisInterceptor thisWillRunNextInterceptor thisWillRunFirstInterceptor


I would like you to answer the following questions in a short answer format using Markdown.
For questions that ask for a list, use the appropriate Markdown syntax to create either ordered or unordered lists.
Use bold and italic text for emphasis in your responses.
- GitHub Username: colergibson
- Team name: Group 2
- Today's date: 10/12/2016
- Github
- Git
- Cloud 9
- Pandoc
Which have you found most potentially useful?
Why?
- It is an easy and efficient way to pull and edit files that can be accessed on any computer.
Why have they been particularly difficult to learn and use?
- There are a lot of commands that must be memorized to efficiently complete any Git actions.
- I also find that I run into a lot of errors when I start branching as I lose track of which branch I'm in.
When you are finished with the questions in file:
- I want you to change the name of the file to your GitHub username.
- You will then work as a group to convert the file to HTML, DOCX, and ODT formats, per the instructions in class.
- Then I want you to add, commit, and push your changes.
- Finally, you will create a pull request in GitHub to get these files back into my original repository.


Notebooks
Story: Dorothea Bleek - Book BC151_A3_002
Dorothea Bleek - Book BC151_A3_002
Title
Dorothea Bleek - Book BC151_A3_002
Collection
Summary
Notebook on language (words and sentences) of Langeberg Bushmen. Some personal details relating to contributors (the Bushmen she met on Mount Temple farm) including names and some genealogical details. Some pages loose. Mostly sentences.
Comments
1) p.54: name of Ould Hans, also 'Dina 14.9.1910', also 'Notes for preface' concerning name for lynx-mother. 2) p.58v 'From Ould Lies and Bet'. 16.9.1910. 3) p.59: Ould Lies's name is !kun ||koi or !kun ||kwe. 4) p.60v: 'B's used to dance often and long in old days.' 5) p.64: Dina 16.9. 6) p.65: 'her father was among Griquas at Postmasberg', 'her brother's grandfather [?] brought them up'. 7) p.68: Sabina 16.9. 8) p.72v: Dina & Sabina 17.9.1910. 9) p.74v: Dina. p.76 & 77: Dina's genealogical information and names of her relations. It seems here that Dina's name is |hau ko [?]. 10) p.76v: 'B's eat no baboons, everything else.' 11) p.77v: 'Dina was baby when war took place. Left hidden...'. Noted on same page: Sabina. 12) On p.78 opposite & 79 are personal details given by Sabina re her family. 13) p.80v: Doorki 10.9.1910. Mostly tenses. 14) p.84v: partial index on Moon. 15) p.85v: partial index on Mantis.
Contributors
!kwe |kake (Doorki), !kun !we (Sabina), Dina
Date
September_1910
Categories
Words and sentences, History (personal)
Story Pages
54-85


Customer List
| Customer # | Name | Phone | Created | |
|---|---|---|---|---|
| {{ c.id }} | {{ c.get_full_name }} | {{ c.email }} | {{ c.phone }} | {{ c.created }} |
{% extends 'base.html' %} {% block head %}
| Customer # | Name | Phone | Created | |
|---|---|---|---|---|
| {{ c.id }} | {{ c.get_full_name }} | {{ c.email }} | {{ c.phone }} | {{ c.created }} |


Set {@literal SETTINGS_HEADER_TABLE_SIZE} HTTP/2 setting.
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_INITIAL_WINDOW_SIZE} HTTP/2 setting
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_MAX_CONCURRENT_STREAMS} HTTP/2 setting
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_MAX_FRAME_SIZE} HTTP/2 setting
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_MAX_HEADER_LIST_SIZE} HTTP/2 setting
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_ENABLE_PUSH} HTTP/2 setting
a reference to this, so the API can be used fluently
Set {@literal SETTINGS_HEADER_TABLE_SIZE} HTTP/2 setting.
the new value
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_INITIAL_WINDOW_SIZE} HTTP/2 setting
the new value
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_MAX_CONCURRENT_STREAMS} HTTP/2 setting
the new value
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_MAX_FRAME_SIZE} HTTP/2 setting
the new value
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_MAX_HEADER_LIST_SIZE} HTTP/2 setting
the new value
a reference to this, so the API can be used fluently
Set the {@literal SETTINGS_ENABLE_PUSH} HTTP/2 setting
the new value
a reference to this, so the API can be used fluently
Generated using TypeDoc
HTTP2 settings, the settings is initialized with the default HTTP/2 values.
The settings expose the parameters defined by the HTTP/2 specification, as well as extra settings for protocol extensions.
Julien Viet


Structures
The following structures are available globally.
-
This struct is used to represent a header of HTTP requests. It can contain arbitrarily many fields which are each defined by a key and a value. The key is of the type
See moreHttpHeader.Field
. The value always needs to be of typeString
.Declaration
Swift
public struct HttpHeader
-
This entity represents a set of HTTP query parameters. Basically, it abstracts a simple mapping from keys (
See moreString
) to values (String
). As a result, an instance of this struct can also be created directly from a[String: Any]
dictionary literal where all values are represented in the query parameters by callingString.init(describing:)
.Declaration
Swift
public struct HttpQuery
-
An HTTP route represents a set of URL routing paths. Essentially, a set of routing paths can simply be represented by an array of strings. However, this entity enables initializing HTTP routes without having to explicitly convert all path components to
See moreString
.Declaration
Swift
public struct HttpRoute
-
This struct can be used to construct requests easily without having to define a custom entity conforming to the
Request
protocol and defining someHttpService
. In a larger application, you should refrain from using this struct, however, it might be useful in small projects and when writing tests.This request fixes the result type to
Data
such that the user can decode to the desired type via calling thedecode(type:decoder:)
function on the returnedResponse
publisher when scheduling the request.As this request struct abstracts away the
HttpService
in favor for a simpler interface, scheduling can be performed even easier.Note that this entity does not allow to make insecure requests over HTTP (only HTTPS).
See moreDeclaration
Swift
public struct AnyRequest : Request
-
This entity may be used to provide retriers independent of the request that has been scheduled. In most cases, this will be the only retrier factory that you are using.
See moreDeclaration
Swift
public struct AnyRetrierFactory : RetrierFactory
-
This entity provides a way to initialize an HTTP service without implementing the
See moreHttpService
protocol in a custom entity. Note that you should usually implement theHttpService
protocol instead of simply using an instance ofAnyHttpService
. This class is mainly used internally.Declaration
Swift
public struct AnyHttpService : HttpService
-
This struct simply provides a scope for global
See moreutility
structures that need to be accessible publicly.Declaration
Swift
public struct Squid
-
This struct can be used to construct stream requests easily without having to define a custom entity conforming to the
See moreStreamRequest
protocol and defining someHttpService
. The specifics of this entity are very similar to the specifics ofAnyRequest
. Note, however, that this entity restricts messages being sent and received to be of typeString
.Declaration
Swift
public struct AnyStreamRequest : StreamRequest


March 18, 2020
DC Public Health Laboratory and Outside Laboratory Coronavirus Testing Metrics as of 7 pm.
- Number of people tested overall: 203
- Number of PHL positives: 14
- Number of commercial lab positives: 25
- Number of PHL negatives:90
- Number of commercial lab negatives: 63
- Number of PHL tests in progress: 11
Details on New Cases from 3/18:
- 22-year-old female
- 23-year-old male
- 25-year-old female
- 30-year-old male
- 36-year-old male
- 50-year-old male
- 59-year-old male
- 65-year-old female
March 17, 2020
- Number of people tested overall: 170
- Number of PHL positives: 11
- Number of commercial lab positives: 20
- Number of PHL negatives: 75
- Number of commercial lab negatives: 63
- Number of PHL tests in progress: 1
March 16, 2020
- Number of people tested overall: 126
- Number of PHL positives: 10
- Number of commercial lab positives: 12
- Number of PHL negatives: 70
- Number of commercial lab negatives: 34
- Number of PHL tests in progress: 0
As of March 15, 2020
- Number of people tested overall: 120
- Number of PHL positives: 10
- Number of commercial lab positives: 7
- Number of PHL negatives: 65
- Number of commercial lab negatives: 31
- Number of PHL tests in progress: 7
As of March 14, 2020
- Number of people tested overall: 115
- Number of PHL positives: 9
- Number of commercial lab positives: 7
- Number of PHL negatives: 49
- Number of commercial lab negatives: 30
- Number of PHL tests in progress: 20
As of March 13:
- Number of people tested overall: 69
- Number of PHL positives: 8*
- Number of commercial lab positives: 2
- Number of PHL negatives: 49
- Number of PHL tests in progress: 10
- *This number includes: presumptive positives (6); and CDC confirmed positives (2)
As of March 11:
- Number of positive results: 10
As of March 9:
- Number of positive results: 4
As of March 7:
- Number of positive results: 2


EJB Samples
About
Samples of the core Java enterprise beans.
Copyright ©<EMAIL_ADDRESS>Samples
Currency Converter (Stateless Session Bean)
Bookshop (Stateful Session Bean)
Asynchronous Enterprise JavaBean Call (Asynchronous calls with and without Future)
Configuration Service (Singelton Session Bean)


Counting Number of people using OpenCV
What is OpenCV?
OpenCV (Open Source Computer Vision Library: http://opencv.org) is an open-source library that includes several hundreds of computer vision algorithms. In simple language it is library used for Image Processing. It is mainly used to do all the operation related to Images.
What it can do?
-
Read and Write Images.
-
Detection of faces and its features.
-
Detection of shapes like Circle,rectangle etc in a image. E.g Detection of coin in images.
-
Text recognition in images. e.g Reading Number Plates/
-
Modifying image quality and colors e.g Instagram, CamScanner.
-
Developing Augmented reality apps.
and many more...
People Counter
Required Python libraries for people counting
In order to build our people counting applications, we’ll need a number of different Python libraries, including:
- NumPy
- OpenCV
- dlib
- imutils
Combining both object detection and object tracking
Highly accurate object trackers will combine the concept of object detection and object tracking into a single algorithm, typically divided into two phases:
Phase 1 — Detecting: During the detection phase we are running our computationally more expensive object tracker to (1) detect if new objects have entered our view, and (2) see if we can find objects that were “lost” during the tracking phase. For each detected object we create or update an object tracker with the new bounding box coordinates. Since our object detector is more computationally expensive we only run this phase once every N frames.
Phase 2 — Tracking: When we are not in the “detecting” phase we are in the “tracking” phase. For each of our detected objects, we create an object tracker to track the object as it moves around the frame. Our object tracker should be faster and more efficient than the object detector. We’ll continue tracking until we’ve reached the N-th frame and then re-run our object detector. The entire process then repeats.
The benefit of this hybrid approach is that we can apply highly accurate object detection methods without as much of the computational burden. We will be implementing such a tracking system to build our people counter.
Combining object tracking algorithms
Figure shows an animation demonstrating the steps in the centroid tracking algorithm.
To implement our people counter we’ll be using both OpenCV and dlib. We’ll use OpenCV for standard computer vision/image processing functions, along with the deep learning object detector for people counting.
To implement our people counter we’ll be using both OpenCV and dlib. We’ll use OpenCV for standard computer vision/image processing functions, along with the deep learning object detector for people counting.
Link to the code:
So you have completed this topic. Congratulations
Hope you learnt something new
Happy Learning!! 📚
Acknowledgments
- DevIncept Mentor
- Pyimagesearch
- Medium blog posts


Wave Artist
{{drawInfo}}
size. -
+
angle. L
R
Waves
Origins
Timelapse
Resolution
Length
End radius
Colors
Background
Wave crest
Wave trough
Effects
Wake
Water
Spiral
Move
Plasma
Soften
{{appName}}
v. {{appVersion}}
{{appEULA}}
{{appComment}}
{{appAuthor}}
{{appContact}}
{{appWeb}}


fun saveSearch(searched: String): Unit
saves the searched query
searched - : String searched query
searched


Research
Combining Weakly and Webly Supervised Learning for Classifying Food Images
Photo-realistic Facial Texture Transfer
Confocal Microscopy for Classification of Skin Layers
Skin Appearance and Skin Microbiome
Developing computational models for skin appearance and studying their link with skin microbiome
Automated Bridge Deck Evaluation
Automated analysis of ground penetrating radar scans from the RABIT™ Bridge Deck Assessment Tool
Blog
Transfer Learning using CNNs
Examples to use pre-trained CNNs for image classification and feature extraction
Convolutional Neural Networks (CNN) for CIFAR-10 Dataset
More examples to implement CNN in Keras
Convolutional Neural Networks (CNN) for MNIST Dataset
Examples to implement CNN in Keras
Neural Networks in Keras
Examples to use Neural Networks
Intro to scikit-learn
Machine learning library in Python
Intro to Matplotlib
Plotting library for Python
Intro to NumPy
Learn about array and matrix manipulation in Python
Python Quickstart
Introduction to Python Basics


1
2
3
4
5
6
7
8
9
10
11
10.4.c delete action using context attribute terminates with no effect
You must see the number 3 :
You must see the number 6 :
You must see the number 3 :


Please enable Javascript in your browser. That site will use Javascript to process requests to other services and process result.


It's a service that allows developers to
"containerize" code based on a predefined "image"
It allows devs to create, deploy and run applications
with ease
Fin
But really what does all of that mean?
It's not really a docker talk without a shipping crate somewhere
Virtual Machines
Containers
You can follow along on your local if you have docker installed or go to this website - Docker Playground
*Note you will have to create a docker id first, if you haven't already
Let's run a simple container
$ docker container run busybox echo hello world
*Note you can also run the above the command without "container" but it's an older format
Unable to find image 'busybox:latest' locally
latest: Pulling from library/busybox
8c5a7da1afbc: Pull complete
Digest: sha256:cb63aa0641a885f54de20f61d152187419e8f6b159ed11a251a09d115fdff9bd
Status: Downloaded newer image for busybox:latest
hello world
Let's check all the containers on our machine
$ docker container ps -a
What happens when we run it again?
$ docker container run busybox echo hello world
hello world
*Note: if you don't specify a tag docker will default to latest
$ docker container ps -a
$ docker container rm ${CONTAINER_NAME_1} ${CONTAINER_NAME_2}
*Note: We can also use container ids but that's not great either, the best practice is to name your running containers with --name command
$ docker container run -d --name many-moon busybox sleep 500m
Now if we run a "docker container ps -a" we can see that there is a running container and it's up
*Note: the -d stands for detached mode and the typical console output will be hidden
*Note: This is good when you don't want to block your terminal
To stop it we run
$ docker container kill many-moon
That's fine and all but I can run "echo hello world" on most any servers and it'll work
What if run something like "go version"?
$ docker container run -it --name go golang:1.9.7 sh
*Note: You can also use `docker container exec -it ${RUNNING_CONTAINER_ID_OR_NAME} sh` to get inside of an already running container
But what if we want to run some go code
And it also looks like we have no editors
Let's get a coding environment setup
$ apt-get update
$ apt-get install vim
$ mkdir -p /prod/app; cd /prod/app
$ vim main.go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
$ go run main.go
# Building off a java 8 image which has java8
# pre-baked in
FROM java8:latest
# Creating a working directory in the container
WORKDIR /prod/app
# Copying all the files from the current directory
# the user is in to the working directory of the
# container (NOT A BEST PRACTICE)
COPY . .
# Running our application
CMD java -jar mytest.jar
# Building off of Debian Jessie
FROM debian:jessie
# Update Packages
RUN apt-get -qq update \
&& DEBIAN_FRONTEND=noninteractive apt-get -qq install -y --no-install-recommends python-pygments git ca-certificates asciidoc \
&& rm -rf /var/lib/apt/lists/*
# Set Hugo Envs
ENV HUGO_VERSION 0.29
ENV HUGO_BINARY hugo_${HUGO_VERSION}_Linux-64bit.deb
#Get Hugo Binaries
ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/${HUGO_BINARY} /tmp/hugo.deb
RUN dpkg -i /tmp/hugo.deb \
&& rm /tmp/hugo.deb
# Expose default hugo port
EXPOSE ${HUGO_PORT}
# Automatically build site
RUN mkdir /app
ADD site/ /app
WORKDIR /app
CMD hugo server -b ${HUGO_BASE_URL} -p ${HUGO_PORT} --bind=<IP_ADDRESS>
# Building off our golang image
FROM golang:1.9.7
WORKDIR /prod/app
# Don't really need this but showing stuff on build time
RUN apt-get update
RUN apt-get install vim -y
# Copy our go program
COPY main.go .
# Build our go artifact
RUN go build main.go
# Run our go program
CMD ./main
$ docker build -t go-hello .
$ docker container run --name hi-there go-hello
Pushing it up to a hub is super easy
$ docker tag go-hello ${DOCKER_ID}/go-hello
$ docker push ${DOCKER_ID}/go-hello
*Note: You'll probably need to login using "docker login" first
Let's build off another server to show port mappings
I created an image called rp4fx/go-simple-server:1.0
Sample Go Code
package main
import (
"fmt"
"net/http"
"os"
"log"
)
const (
defaultPort = "8080"
defaultName = "world"
)
func main() {
var port string
var name string
if (len(os.Args) > 1 && os.Args[1] != "") {
port = ":" + os.Args[1]
} else {
port = ":" + defaultPort
}
if (len(os.Args) > 2 && os.Args[2] != "") {
name = os.Args[2]
} else {
name = defaultName
}
fmt.Printf("Server started on port: %v with name: %v", port, name)
http.HandleFunc("/", func (w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Hello, %s", name)
})
log.Fatal(http.ListenAndServe(port, nil))
}
Sample Dockerfile
# Basing off a golang image
FROM golang:1.9.7
# Create a working directory
WORKDIR /prod/app
# Copy our main directory
COPY main.go .


Install Ontologenius Query
Since Ontologenius_query is a ROS package, make sure that ROS is installed on your platform. Ontologenius_query is fully supported and maintained by ROS Kinetic Kame and ROS Melodic Morenia. Desktop ROS configuration is not required for use of ontologenius_query.
Before installing ontologenius_query, make sure to have ontologenius installed.
Clone the package on your catkin workspace:
cd ~/catkin_ws/src/git clone https://github.com/sarthou/ontologenius_query.gitcd ..catkin_make
Test Ontologenius_query installation
Just run rostest to check if all the features work well on your platform:
catkin_make run_tests_ontologenius_query_rostest