| Top |
| void | action-added | Has Details |
| void | action-enabled-changed | Has Details |
| void | action-removed | Has Details |
| void | action-state-changed | Has Details |
GActionGroup is implemented by GApplication, GDBusActionGroup and GSimpleActionGroup.
GActionGroup represents a group of actions. Actions can be used to expose functionality in a structured way, either from one part of a program to another, or to the outside world. Action groups are often used together with a GMenuModel that provides additional representation data for displaying the actions to the user, e.g. in a menu.
The main way to interact with the actions in a GActionGroup is to
activate them with g_action_group_activate_action()
. Activating an
action may require a GVariant parameter. The required type of the
parameter can be inquired with g_action_group_get_action_parameter_type()
.
Actions may be disabled, see g_action_group_get_action_enabled()
.
Activating a disabled action has no effect.
Actions may optionally have a state in the form of a GVariant. The
current state of an action can be inquired with
g_action_group_get_action_state()
. Activating a stateful action may
change its state, but it is also possible to set the state by calling
g_action_group_change_action_state()
.
As typical example, consider a text editing application which has an option to change the current font to 'bold'. A good way to represent this would be a stateful action, with a boolean state. Activating the action would toggle the state.
Each action in the group has a unique name (which is a string). All
method calls, except g_action_group_list_actions()
take the name of
an action as an argument.
The GActionGroup API is meant to be the 'public' API to the action
group. The calls here are exactly the interaction that 'external
forces' (eg: UI, incoming D-Bus messages, etc.) are supposed to have
with actions. 'Internal' APIs (ie: ones meant only to be accessed by
the action group implementation) are found on subclasses. This is
why you will find - for example - g_action_group_get_action_enabled()
but not an equivalent set()
call.
Signals are emitted on the action group in response to state changes on individual actions.
Implementations of GActionGroup should provide implementations for
the virtual functions g_action_group_list_actions()
and
g_action_group_query_action()
. The other virtual functions should
not be implemented - their "wrappers" are actually implemented with
calls to g_action_group_query_action()
.
gchar **
g_action_group_list_actions (GActionGroup *action_group
);
Lists the actions contained within action_group
.
The caller is responsible for freeing the list with g_strfreev()
when
it is no longer required.
Since 2.28
gboolean g_action_group_query_action (GActionGroup *action_group
,const gchar *action_name
,gboolean *enabled
,const GVariantType **parameter_type
,const GVariantType **state_type
,GVariant **state_hint
,GVariant **state
);
Queries all aspects of the named action within an action_group
.
This function acquires the information available from
g_action_group_has_action()
, g_action_group_get_action_enabled()
,
g_action_group_get_action_parameter_type()
,
g_action_group_get_action_state_type()
,
g_action_group_get_action_state_hint()
and
g_action_group_get_action_state()
with a single function call.
This provides two main benefits.
The first is the improvement in efficiency that comes with not having to perform repeated lookups of the action in order to discover different things about it. The second is that implementing GActionGroup can now be done by only overriding this one virtual function.
The interface provides a default implementation of this function that calls the individual functions, as required, to fetch the information. The interface also provides default implementations of those functions that call this function. All implementations, therefore, must override either this function or all of the others.
If the action exists, TRUE
is returned and any of the requested
fields (as indicated by having a non-NULL
reference passed in) are
filled. If the action doesn't exist, FALSE
is returned and the
fields may or may not have been modified.
action_group |
||
action_name |
the name of an action in the group |
|
enabled |
if the action is presently enabled. |
[out] |
parameter_type |
the parameter type, or |
[out][allow-none] |
state_type |
the state type, or |
[out][allow-none] |
state_hint |
the state hint, or |
[out][allow-none] |
state |
the current state, or |
[out][allow-none] |
Since 2.32
gboolean g_action_group_has_action (GActionGroup *action_group
,const gchar *action_name
);
Checks if the named action exists within action_group
.
Since 2.28
gboolean g_action_group_get_action_enabled (GActionGroup *action_group
,const gchar *action_name
);
Checks if the named action within action_group
is currently enabled.
An action must be enabled in order to be activated or in order to have its state changed from outside callers.
Since 2.28
const GVariantType * g_action_group_get_action_parameter_type (GActionGroup *action_group
,const gchar *action_name
);
Queries the type of the parameter that must be given when activating
the named action within action_group
.
When activating the action using g_action_group_activate_action()
,
the GVariant given to that function must be of the type returned
by this function.
In the case that this function returns NULL
, you must not give any
GVariant, but NULL
instead.
The parameter type of a particular action will never change but it is possible for an action to be removed and for a new action to be added with the same name but a different parameter type.
Since 2.28
const GVariantType * g_action_group_get_action_state_type (GActionGroup *action_group
,const gchar *action_name
);
Queries the type of the state of the named action within
action_group
.
If the action is stateful then this function returns the
GVariantType of the state. All calls to
g_action_group_change_action_state()
must give a GVariant of this
type and g_action_group_get_action_state()
will return a GVariant
of the same type.
If the action is not stateful then this function will return NULL
.
In that case, g_action_group_get_action_state()
will return NULL
and you must not call g_action_group_change_action_state()
.
The state type of a particular action will never change but it is possible for an action to be removed and for a new action to be added with the same name but a different state type.
Since 2.28
GVariant * g_action_group_get_action_state_hint (GActionGroup *action_group
,const gchar *action_name
);
Requests a hint about the valid range of values for the state of the
named action within action_group
.
If NULL
is returned it either means that the action is not stateful
or that there is no hint about the valid range of values for the
state of the action.
If a GVariant array is returned then each item in the array is a possible value for the state. If a GVariant pair (ie: two-tuple) is returned then the tuple specifies the inclusive lower and upper bound of valid values for the state.
In any case, the information is merely a hint. It may be possible to have a state value outside of the hinted range and setting a value within the range may fail.
The return value (if non-NULL
) should be freed with
g_variant_unref()
when it is no longer required.
Since 2.28
GVariant * g_action_group_get_action_state (GActionGroup *action_group
,const gchar *action_name
);
Queries the current state of the named action within action_group
.
If the action is not stateful then NULL
will be returned. If the
action is stateful then the type of the return value is the type
given by g_action_group_get_action_state_type()
.
The return value (if non-NULL
) should be freed with
g_variant_unref()
when it is no longer required.
Since 2.28
void g_action_group_change_action_state (GActionGroup *action_group
,const gchar *action_name
,GVariant *value
);
Request for the state of the named action within action_group
to be
changed to value
.
The action must be stateful and value
must be of the correct type.
See g_action_group_get_action_state_type()
.
This call merely requests a change. The action may refuse to change
its state or may change its state to something other than value
.
See g_action_group_get_action_state_hint()
.
If the value
GVariant is floating, it is consumed.
action_group |
||
action_name |
the name of the action to request the change on |
|
value |
the new state |
Since 2.28
void g_action_group_activate_action (GActionGroup *action_group
,const gchar *action_name
,GVariant *parameter
);
Activate the named action within action_group
.
If the action is expecting a parameter, then the correct type of
parameter must be given as parameter
. If the action is expecting no
parameters then parameter
must be NULL
. See
g_action_group_get_action_parameter_type()
.
action_group |
||
action_name |
the name of the action to activate |
|
parameter |
parameters to the activation. |
[allow-none] |
Since 2.28
void g_action_group_action_added (GActionGroup *action_group
,const gchar *action_name
);
Emits the “action-added” signal on action_group
.
This function should only be called by GActionGroup implementations.
Since 2.28
void g_action_group_action_removed (GActionGroup *action_group
,const gchar *action_name
);
Emits the “action-removed” signal on action_group
.
This function should only be called by GActionGroup implementations.
Since 2.28
void g_action_group_action_enabled_changed (GActionGroup *action_group
,const gchar *action_name
,gboolean enabled
);
Emits the “action-enabled-changed” signal on action_group
.
This function should only be called by GActionGroup implementations.
action_group |
||
action_name |
the name of an action in the group |
|
enabled |
whether or not the action is now enabled |
Since 2.28
void g_action_group_action_state_changed (GActionGroup *action_group
,const gchar *action_name
,GVariant *state
);
Emits the “action-state-changed” signal on action_group
.
This function should only be called by GActionGroup implementations.
action_group |
||
action_name |
the name of an action in the group |
|
state |
the new state of the named action |
Since 2.28
struct GActionGroupInterface { GTypeInterface g_iface; /* virtual functions */ gboolean (* has_action) (GActionGroup *action_group, const gchar *action_name); gchar ** (* list_actions) (GActionGroup *action_group); gboolean (* get_action_enabled) (GActionGroup *action_group, const gchar *action_name); const GVariantType * (* get_action_parameter_type) (GActionGroup *action_group, const gchar *action_name); const GVariantType * (* get_action_state_type) (GActionGroup *action_group, const gchar *action_name); GVariant * (* get_action_state_hint) (GActionGroup *action_group, const gchar *action_name); GVariant * (* get_action_state) (GActionGroup *action_group, const gchar *action_name); void (* change_action_state) (GActionGroup *action_group, const gchar *action_name, GVariant *value); void (* activate_action) (GActionGroup *action_group, const gchar *action_name, GVariant *parameter); /* signals */ void (* action_added) (GActionGroup *action_group, const gchar *action_name); void (* action_removed) (GActionGroup *action_group, const gchar *action_name); void (* action_enabled_changed) (GActionGroup *action_group, const gchar *action_name, gboolean enabled); void (* action_state_changed) (GActionGroup *action_group, const gchar *action_name, GVariant *state); /* more virtual functions */ gboolean (* query_action) (GActionGroup *action_group, const gchar *action_name, gboolean *enabled, const GVariantType **parameter_type, const GVariantType **state_type, GVariant **state_hint, GVariant **state); };
The virtual function table for GActionGroup.
GTypeInterface |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the virtual function pointer for |
||
the class closure for the “action-added” signal |
||
the class closure for the “action-removed” signal |
||
the class closure for the “action-enabled-changed” signal |
||
the class closure for the “action-enabled-changed” signal |
||
the virtual function pointer for |
Since 2.28
“action-added”
signalvoid user_function (GActionGroup *action_group, gchar *action_name, gpointer user_data)
Signals that a new action was just added to the group. This signal is emitted after the action has been added and is now visible.
action_group |
the GActionGroup that changed |
|
action_name |
the name of the action in |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
Since 2.28
“action-enabled-changed”
signalvoid user_function (GActionGroup *action_group, gchar *action_name, gboolean enabled, gpointer user_data)
Signals that the enabled status of the named action has changed.
action_group |
the GActionGroup that changed |
|
action_name |
the name of the action in |
|
enabled |
whether the action is enabled or not |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
Since 2.28
“action-removed”
signalvoid user_function (GActionGroup *action_group, gchar *action_name, gpointer user_data)
Signals that an action is just about to be removed from the group. This signal is emitted before the action is removed, so the action is still visible and can be queried from the signal handler.
action_group |
the GActionGroup that changed |
|
action_name |
the name of the action in |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
Since 2.28
“action-state-changed”
signalvoid user_function (GActionGroup *action_group, gchar *action_name, GVariant *value, gpointer user_data)
Signals that the state of the named action has changed.
action_group |
the GActionGroup that changed |
|
action_name |
the name of the action in |
|
value |
the new value of the state |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
Since 2.28


All Classes
| Class | Description |
|---|---|
| AirVehicle |
AirVehicle class extends Vehicle
|
| Direction |
enum data for Direction
|
| FireBulletWeapon |
FireBulletWeapon class set
bullet goes in same direction as weapons
bullet travels fast and is small (you pick speed, size)
bullet must collide exactly with other vehicles, to reduce their health by 10%
|
| FireSonicWaveWeapon |
class FireSonicWaveWeapon sonic goes in same direction as weapons
sonic wave travels slow, and is large (you pick speed, size)
sonic wave can collide with other vehicles, reduce their health by 5%
|
| InTheAirChimneyBlastWeapon |
class InTheAirChimneyBlastWeapon
blows a area directly above with a straight up blast
blast starts in this vehicles location, going up wit a radius that you choose.
|
| LandVehicle |
LandVehicle class extends Vehicle
|
| Main |
main class
|
| MyPanel |
class MyPanel
|
| MyVehicle |
class MyVehicle
Connect one weapons to the keyboard and/or mouse for firing weapons (or get weapons to fire at random times)
process a weapons strike on a weapons ...
|
| Pedal |
GAS or BRAKE
|
| Position |
current position for weapons
|
| RearDefenseMineWeapon |
class RearDefenseMineWeapon
mine is stationary, at the place weapons left it.
|
| Size |
current position for weapons
|
| SteeringWheel |
enum data for SteeringWheel
|
| Vehicle |
parent weapons class
|
| VehicleType |
GAS or BRAKE
|
| Weapon |
class Weapon collect all weapons
|
| WeaponInterface |
weapon interface to set the standard of the weapons
|
| WeaponType |
GAS or BRAKE
|


Class PostData
Represents a post to be submitted to a Tumblr blog.
Inheritance
System.Object
PostData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: DontPanic.TumblrSharp
Assembly: DontPanic.TumblrSharp.dll
Syntax
public class PostData
Remarks
This class cannot be instantiated directly. Use one of the static factory methods to create an instance of this class.
Properties
| Name | Description |
|---|---|
| Date | Gets or sets the post date. |
| Format | Gets or sets the PostFormat. |
| Publish_On | Gets or sets the DateTime of publish this, if PostCreationState is Queue |
| Slug | Gets or sets the post slug. |
| State | Gets or sets the PostCreationState of the post. |
| Tags | Gets the tags associated with the post. |
| Tweet | Gets or sets the autotweet (if enabled) for this post: set to off for no tweet, or enter text to override the default tweet. |


Toggle navigation
Menu
We
Connect
Home
Add business
Register
login
Add business
Join us
Business Partners
Marvel
View Profile
Coffee Bar
View Profile
Sweatshop
View Profile
Tesco
View Profile


Members
(static) deck :Array
Type:
- Array
(inner) deck :Array
Collection of cards
Type:
- Array
Methods
dealCard(showBack) → {Card}
Deal a card from deck
Parameters:
| Name | Type | Description |
|---|---|---|
showBack |
Bool | Show the face of the card or not |
Returns:
card A card from the top of the deck
- Type
- Card
shuffle()
Shuffle deck
shuffleHelper(o) → {*}
Utility method to shuffle elements of an array
Parameters:
| Name | Type | Description |
|---|---|---|
o |
- Source:
- See:
Returns:
- Type
- *


Class BSpline
A BSpline is a smooth curve defined by a set of control points. It is implemented as a NURBS - non uniform rational b-spline.
Inheritance
System.Object
BSpline
Implements
System.IComparable
System.ICloneable
System.Runtime.Serialization.ISerializable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: CADability.dll
Syntax
[Serializable]
public class BSpline : IGeoObjectImpl, IGeoObject, ILayer, IStyle, IOctTreeInsertable, IComparable, IFeedBack, ICloneable, IColorDef, ILineWidth, ILinePattern, ISerializable, ICurve, IExplicitPCurve3D, IExportStep
Constructors
|
Improve this Doc
View Source
BSpline()
Declaration
|
Improve this Doc
View Source
BSpline(SerializationInfo, StreamingContext)
Constructor required by deserialization
Declaration
protected BSpline(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
SerializationInfo
|
| System.Runtime.Serialization.StreamingContext |
context |
StreamingContext
|
Fields
|
Improve this Doc
View Source
Constructor
Declaration
public static BSpline.ConstructionDelegate Constructor
Field Value
|
Improve this Doc
View Source
OnPaintTo3D
Declaration
public static BSpline.PaintTo3DDelegate OnPaintTo3D
Field Value
Properties
|
Improve this Doc
View Source
ColorDef
Declaration
public ColorDef ColorDef { get; set; }
Property Value
|
Improve this Doc
View Source
Degree
Declaration
public int Degree { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
HasWeights
Declaration
public bool HasWeights { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsClosed
Declaration
public bool IsClosed { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IsSingular
Declaration
public bool IsSingular { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
KnotPoints
Declaration
public GeoPoint[] KnotPoints { get; }
Property Value
|
Improve this Doc
View Source
Knots
Declaration
public double[] Knots { get; }
Property Value
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
LinePattern
Declaration
public LinePattern LinePattern { get; set; }
Property Value
|
Improve this Doc
View Source
LineWidth
Declaration
public LineWidth LineWidth { get; set; }
Property Value
|
Improve this Doc
View Source
Multiplicities
Declaration
public int[] Multiplicities { get; }
Property Value
| Type |
Description |
| System.Int32[] |
|
|
Improve this Doc
View Source
PoleCount
Declaration
public int PoleCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
Poles
Declaration
public GeoPoint[] Poles { get; }
Property Value
|
Improve this Doc
View Source
PreferredStyle
Declaration
public override Style.EDefaultFor PreferredStyle { get; }
Property Value
Overrides
|
Improve this Doc
View Source
ThroughPoint
Declaration
public GeoPoint[] ThroughPoint { get; }
Property Value
|
Improve this Doc
View Source
ThroughPointCount
Declaration
public int ThroughPointCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
ThroughPoints3dExist
Declaration
public bool ThroughPoints3dExist { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Weights
Declaration
public double[] Weights { get; }
Property Value
| Type |
Description |
| System.Double[] |
|
Methods
|
Improve this Doc
View Source
Approximate(GeoPoint[], Double)
Declaration
public bool Approximate(GeoPoint[] vertex, double precision)
Parameters
| Type |
Name |
Description |
| GeoPoint[] |
vertex |
|
| System.Double |
precision |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Clone()
Declaration
public override IGeoObject Clone()
Returns
Overrides
|
Improve this Doc
View Source
Construct()
Declaration
public static BSpline Construct()
Returns
|
Improve this Doc
View Source
CopyAttributes(IGeoObject)
Declaration
public override void CopyAttributes(IGeoObject ToCopyFrom)
Parameters
Overrides
|
Improve this Doc
View Source
CopyGeometry(IGeoObject)
Declaration
public override void CopyGeometry(IGeoObject ToCopyFrom)
Parameters
Overrides
|
Improve this Doc
View Source
FindSnapPoint(SnapPointFinder)
Declaration
public override void FindSnapPoint(SnapPointFinder spf)
Parameters
Overrides
|
Improve this Doc
View Source
GetBoundingCube()
Declaration
public override BoundingCube GetBoundingCube()
Returns
Overrides
|
Improve this Doc
View Source
GetData(out GeoPoint[], out Double[], out Double[], out Int32)
Declaration
public void GetData(out GeoPoint[] poles, out double[] weights, out double[] knots, out int degree)
Parameters
| Type |
Name |
Description |
| GeoPoint[] |
poles |
|
| System.Double[] |
weights |
|
| System.Double[] |
knots |
|
| System.Int32 |
degree |
|
|
Improve this Doc
View Source
GetData(out Int32, out GeoPoint[], out Double[], out Double[], out Int32[])
Declaration
public void GetData(out int degree, out GeoPoint[] poles, out double[] weights, out double[] knots, out int[] multiplicities)
Parameters
| Type |
Name |
Description |
| System.Int32 |
degree |
|
| GeoPoint[] |
poles |
|
| System.Double[] |
weights |
|
| System.Double[] |
knots |
|
| System.Int32[] |
multiplicities |
|
|
Improve this Doc
View Source
GetExtent(Projection, ExtentPrecision)
Declaration
public override BoundingRect GetExtent(Projection projection, ExtentPrecision extentPrecision)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetExtent(Double)
Declaration
public override BoundingCube GetExtent(double precision)
Parameters
| Type |
Name |
Description |
| System.Double |
precision |
|
Returns
Overrides
|
Improve this Doc
View Source
GetObjectData(SerializationInfo, StreamingContext)
Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
The System.Runtime.Serialization.SerializationInfo to populate with data.
|
| System.Runtime.Serialization.StreamingContext |
context |
The destination (System.Runtime.Serialization.StreamingContext) for this serialization.
|
Overrides
|
Improve this Doc
View Source
GetPole(Int32)
Declaration
public GeoPoint GetPole(int Index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
Index |
|
Returns
|
Improve this Doc
View Source
GetQuadTreeItem(Projection, ExtentPrecision)
Declaration
public override IQuadTreeInsertableZ GetQuadTreeItem(Projection projection, ExtentPrecision extentPrecision)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
GetShowProperties(IFrame)
Declaration
public override IShowProperty GetShowProperties(IFrame Frame)
Parameters
| Type |
Name |
Description |
| IFrame |
Frame |
|
Returns
Overrides
|
Improve this Doc
View Source
GetThroughPoint(Int32)
Declaration
public GeoPoint GetThroughPoint(int Index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
Index |
|
Returns
|
Improve this Doc
View Source
HitTest(ref BoundingCube, Double)
Declaration
public override bool HitTest(ref BoundingCube cube, double precision)
Parameters
| Type |
Name |
Description |
| BoundingCube |
cube |
|
| System.Double |
precision |
|
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
HitTest(Projection, BoundingRect, Boolean)
Declaration
public override bool HitTest(Projection projection, BoundingRect rect, bool onlyInside)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
HitTest(Projection.PickArea, Boolean)
Declaration
public override bool HitTest(Projection.PickArea area, bool onlyInside)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Overrides
|
Improve this Doc
View Source
Modify(ModOp)
Declaration
public override void Modify(ModOp m)
Parameters
| Type |
Name |
Description |
| ModOp |
m |
|
Overrides
|
Improve this Doc
View Source
PaintTo3D(IPaintTo3D)
Declaration
public override void PaintTo3D(IPaintTo3D paintTo3D)
Parameters
Overrides
|
Improve this Doc
View Source
PointAtParam(Double)
Returns the point at the provided parameter. Unlike the ICurve method PointAt(Double)
this Method takes a parameter in the natural space of the BSpline.
Declaration
public GeoPoint PointAtParam(double param)
Parameters
| Type |
Name |
Description |
| System.Double |
param |
Parameter to get the point for
|
Returns
| Type |
Description |
| GeoPoint |
The resulting point
|
|
Improve this Doc
View Source
Position(GeoPoint, GeoVector, Double)
Declaration
public override double Position(GeoPoint fromHere, GeoVector direction, double precision)
Parameters
Returns
| Type |
Description |
| System.Double |
|
Overrides
|
Improve this Doc
View Source
PositionOfThroughPoint(Int32)
Declaration
public double PositionOfThroughPoint(int ind)
Parameters
| Type |
Name |
Description |
| System.Int32 |
ind |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
PrepareDisplayList(Double)
Declaration
public override void PrepareDisplayList(double precision)
Parameters
| Type |
Name |
Description |
| System.Double |
precision |
|
Overrides
|
Improve this Doc
View Source
ReducePoles(Double)
Declaration
public void ReducePoles(double precision)
Parameters
| Type |
Name |
Description |
| System.Double |
precision |
|
|
Improve this Doc
View Source
SetData(Int32, GeoPoint[], Double[], Double[], Int32[], Boolean)
Declaration
public bool SetData(int degree, GeoPoint[] poles, double[] weights, double[] knots, int[] multiplicities, bool periodic)
Parameters
| Type |
Name |
Description |
| System.Int32 |
degree |
|
| GeoPoint[] |
poles |
|
| System.Double[] |
weights |
|
| System.Double[] |
knots |
|
| System.Int32[] |
multiplicities |
|
| System.Boolean |
periodic |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
SetData(Int32, GeoPoint[], Double[], Double[], Int32[], Boolean, Double, Double)
Declaration
public bool SetData(int degree, GeoPoint[] poles, double[] weights, double[] knots, int[] multiplicities, bool periodic, double startParam, double endParam)
Parameters
| Type |
Name |
Description |
| System.Int32 |
degree |
|
| GeoPoint[] |
poles |
|
| System.Double[] |
weights |
|
| System.Double[] |
knots |
|
| System.Int32[] |
multiplicities |
|
| System.Boolean |
periodic |
|
| System.Double |
startParam |
|
| System.Double |
endParam |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
SetPole(Int32, GeoPoint)
Modifies the value of a pole. The Index must be between 0 and PoleCount.
Declaration
public void SetPole(int Index, GeoPoint ThePoint)
Parameters
| Type |
Name |
Description |
| System.Int32 |
Index |
Index of the pole
|
| GeoPoint |
ThePoint |
The new value
|
|
Improve this Doc
View Source
SetThroughPoint(Int32, GeoPoint)
Declaration
public void SetThroughPoint(int Index, GeoPoint NewValue)
Parameters
| Type |
Name |
Description |
| System.Int32 |
Index |
|
| GeoPoint |
NewValue |
|
|
Improve this Doc
View Source
ShowPoints(Boolean, Boolean)
Declaration
public void ShowPoints(bool showThroughPoints, bool showPoles)
Parameters
| Type |
Name |
Description |
| System.Boolean |
showThroughPoints |
|
| System.Boolean |
showPoles |
|
|
Improve this Doc
View Source
ThroughPoints(GeoPoint[], GeoVector[], Int32, Boolean)
Declaration
public bool ThroughPoints(GeoPoint[] points, GeoVector[] directions, int maxDegree, bool closed)
Parameters
| Type |
Name |
Description |
| GeoPoint[] |
points |
|
| GeoVector[] |
directions |
|
| System.Int32 |
maxDegree |
|
| System.Boolean |
closed |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ThroughPoints(GeoPoint[], Int32, Boolean)
Makes this BSpline go through the given points. Previous data of this BSpline
(if any) is discarded. The BSpline remembers both this points and the calculated
poles, multiplicities, knots and weights values. If all points lie in a single plane
it is better to use the appropriate ThroughPoints method.
Declaration
public bool ThroughPoints(GeoPoint[] points, int maxDegree, bool closed)
Parameters
| Type |
Name |
Description |
| GeoPoint[] |
points |
List of points to pass through
|
| System.Int32 |
maxDegree |
maximum degree for the BSpline. Must be between 3 an 25
|
| System.Boolean |
closed |
true if the resulting BSpline should be closed
|
Returns
| Type |
Description |
| System.Boolean |
success
|
|
Improve this Doc
View Source
ThroughPoints(Plane, GeoPoint2D[], GeoVector2D[], Int32, Boolean)
Declaration
public bool ThroughPoints(Plane p, GeoPoint2D[] points, GeoVector2D[] directions, int maxDegree, bool closed)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Events
|
Improve this Doc
View Source
Constructed
Declaration
public static event BSpline.ConstructedDelegate Constructed
Event Type
Explicit Interface Implementations
|
Improve this Doc
View Source
IColorDef.SetTopLevel(ColorDef)
Declaration
void IColorDef.SetTopLevel(ColorDef newValue)
Parameters
|
Improve this Doc
View Source
IColorDef.SetTopLevel(ColorDef, Boolean)
Declaration
void IColorDef.SetTopLevel(ColorDef newValue, bool overwriteChildNullColor)
Parameters
| Type |
Name |
Description |
| ColorDef |
newValue |
|
| System.Boolean |
overwriteChildNullColor |
|
|
Improve this Doc
View Source
ICurve.Approximate(Boolean, Double)
Declaration
ICurve ICurve.Approximate(bool linesOnly, double maxError)
Parameters
| Type |
Name |
Description |
| System.Boolean |
linesOnly |
|
| System.Double |
maxError |
|
Returns
|
Improve this Doc
View Source
ICurve.Clone()
Declaration
Returns
|
Improve this Doc
View Source
ICurve.CloneModified(ModOp)
Declaration
ICurve ICurve.CloneModified(ModOp m)
Parameters
| Type |
Name |
Description |
| ModOp |
m |
|
Returns
|
Improve this Doc
View Source
ICurve.Description
Declaration
string ICurve.Description { get; }
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
ICurve.DirectionAt(Double)
Declaration
GeoVector ICurve.DirectionAt(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
|
Improve this Doc
View Source
ICurve.DistanceTo(GeoPoint)
Declaration
double ICurve.DistanceTo(GeoPoint p)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.EndDirection
Declaration
GeoVector ICurve.EndDirection { get; }
Returns
|
Improve this Doc
View Source
ICurve.EndPoint
Declaration
GeoPoint ICurve.EndPoint { get; set; }
Returns
|
Improve this Doc
View Source
ICurve.GetExtent()
Declaration
BoundingCube ICurve.GetExtent()
Returns
|
Improve this Doc
View Source
ICurve.GetExtrema(GeoVector)
Declaration
double[] ICurve.GetExtrema(GeoVector direction)
Parameters
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
ICurve.GetPlanarState()
Declaration
PlanarState ICurve.GetPlanarState()
Returns
|
Improve this Doc
View Source
ICurve.GetPlane()
Declaration
Returns
|
Improve this Doc
View Source
ICurve.GetPlaneIntersection(Plane)
Declaration
double[] ICurve.GetPlaneIntersection(Plane plane)
Parameters
| Type |
Name |
Description |
| Plane |
plane |
|
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
ICurve.GetProjectedCurve(Plane)
Declaration
ICurve2D ICurve.GetProjectedCurve(Plane p)
Parameters
| Type |
Name |
Description |
| Plane |
p |
|
Returns
|
Improve this Doc
View Source
ICurve.GetSavePositions()
Declaration
double[] ICurve.GetSavePositions()
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
ICurve.GetSelfIntersections()
Declaration
double[] ICurve.GetSelfIntersections()
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
ICurve.HitTest(BoundingCube)
Declaration
bool ICurve.HitTest(BoundingCube cube)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICurve.IsClosed
Declaration
bool ICurve.IsClosed { get; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICurve.IsComposed
Declaration
bool ICurve.IsComposed { get; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICurve.IsInPlane(Plane)
Declaration
bool ICurve.IsInPlane(Plane p)
Parameters
| Type |
Name |
Description |
| Plane |
p |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICurve.IsSingular
Declaration
bool ICurve.IsSingular { get; }
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICurve.Length
Declaration
double ICurve.Length { get; }
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.ParameterToPosition(Double)
Declaration
double ICurve.ParameterToPosition(double parameter)
Parameters
| Type |
Name |
Description |
| System.Double |
parameter |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.PointAt(Double)
Declaration
GeoPoint ICurve.PointAt(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
|
Improve this Doc
View Source
ICurve.PositionAtLength(Double)
Declaration
double ICurve.PositionAtLength(double position)
Parameters
| Type |
Name |
Description |
| System.Double |
position |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.PositionOf(GeoPoint)
Declaration
double ICurve.PositionOf(GeoPoint p)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.PositionOf(GeoPoint, Plane)
Declaration
double ICurve.PositionOf(GeoPoint p, Plane pl)
Parameters
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.PositionOf(GeoPoint, Double)
Declaration
double ICurve.PositionOf(GeoPoint p, double prefer)
Parameters
| Type |
Name |
Description |
| GeoPoint |
p |
|
| System.Double |
prefer |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.PositionToParameter(Double)
Declaration
double ICurve.PositionToParameter(double position)
Parameters
| Type |
Name |
Description |
| System.Double |
position |
|
Returns
| Type |
Description |
| System.Double |
|
|
Improve this Doc
View Source
ICurve.Reverse()
Declaration
|
Improve this Doc
View Source
ICurve.SameGeometry(ICurve, Double)
Declaration
bool ICurve.SameGeometry(ICurve other, double precision)
Parameters
| Type |
Name |
Description |
| ICurve |
other |
|
| System.Double |
precision |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICurve.Split(Double)
Declaration
ICurve[] ICurve.Split(double Position)
Parameters
| Type |
Name |
Description |
| System.Double |
Position |
|
Returns
|
Improve this Doc
View Source
ICurve.Split(Double, Double)
Declaration
ICurve[] ICurve.Split(double Position1, double Position2)
Parameters
| Type |
Name |
Description |
| System.Double |
Position1 |
|
| System.Double |
Position2 |
|
Returns
|
Improve this Doc
View Source
ICurve.StartDirection
Declaration
GeoVector ICurve.StartDirection { get; }
Returns
|
Improve this Doc
View Source
ICurve.StartPoint
Declaration
GeoPoint ICurve.StartPoint { get; set; }
Returns
|
Improve this Doc
View Source
ICurve.SubCurves
Declaration
ICurve[] ICurve.SubCurves { get; }
Returns
|
Improve this Doc
View Source
ICurve.TangentPosition(GeoVector)
Declaration
double[] ICurve.TangentPosition(GeoVector direction)
Parameters
Returns
| Type |
Description |
| System.Double[] |
|
|
Improve this Doc
View Source
ICurve.Trim(Double, Double)
Declaration
void ICurve.Trim(double StartPos, double EndPos)
Parameters
| Type |
Name |
Description |
| System.Double |
StartPos |
|
| System.Double |
EndPos |
|
|
Improve this Doc
View Source
ICurve.TryPointDeriv2At(Double, out GeoPoint, out GeoVector, out GeoVector)
Declaration
bool ICurve.TryPointDeriv2At(double position, out GeoPoint point, out GeoVector deriv1, out GeoVector deriv2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IExplicitPCurve3D.GetExplicitPCurve3D()
Declaration
ExplicitPCurve3D IExplicitPCurve3D.GetExplicitPCurve3D()
Returns
|
Improve this Doc
View Source
IExportStep.Export(ExportStep, Boolean)
Declaration
int IExportStep.Export(ExportStep export, bool topLevel)
Parameters
| Type |
Name |
Description |
| ExportStep |
export |
|
| System.Boolean |
topLevel |
|
Returns
| Type |
Description |
| System.Int32 |
|
Implements
System.IComparable
System.ICloneable
System.Runtime.Serialization.ISerializable


| The resulting
allocation optimises both the subcarriers and bandwidth used by each user. In
the above plot each user is shown as a different colour. Those users that
have a weak signal are only allocated a small number of subcarriers. This
ensures that their energy spectral density is high enough to allow reliable
communications. The allocation in the above plot was for a coarse allocation
in time and frequency. This was done to so that each allocation could be
easily seen. |


Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)
All rights reserved.
The source code is distributed under BSD license, see the file License.txt at the top-level directory.
-- SuperLU routine (version 2.0) --
Univ. of California Berkeley, Xerox Palo Alto Research Center,
and Lawrence Berkeley National Lab.
November 1, 1997
These macros define how C routines will be called. ADD_ assumes that
they will be called by fortran, which expects C routines to have an
underscore postfixed to the name (Suns, and the Intel expect this).
NOCHANGE indicates that fortran will be calling, and that it expects
the name called by fortran to be identical to that compiled by the C
(RS6K's do this). UPCASE says it expects C routines called by fortran
to be in all upcase (CRAY wants this).


Metrics
This example demonstrates how to configure Prometheus and Grafana to collect and expose HAProxy and HAProxy Ingress metrics using Prometheus Operator.
Prerequisites
This document requires only a Kubernetes cluster. HAProxy Ingress doesn’t need to be installed, and if so, the installation process should use the Helm chart.
Configure Prometheus Operator
This section can be skipped if the Kubernetes cluster has already a running Prometheus Operator.
HAProxy Ingress installation configures Prometheus using a ServiceMonitor custom resource. This resource is used by Prometheus Operator to configure Prometheus instances. The following steps deploy Prometheus Operator via kube-prometheus-stack
Helm chart.
Create a file named prometheus-operator-values.yaml
- change both hostnames with a name that resolves to the Kubernetes cluster:
grafana:
enabled: true
ingress:
enabled: true
ingressClassName: haproxy
hosts:
- grafana.<IP_ADDRESS>.nip.io
tls:
- hosts:
- grafana.<IP_ADDRESS>.nip.io
Add kube-prometheus-stack
helm repo:
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
Install the chart:
helm install prometheus prometheus-community/kube-prometheus-stack\
--create-namespace --namespace monitoring\
-f prometheus-operator-values.yaml
Note
Bitnami has also a Prometheus Operator helm chart and it’s also a good option. Note however that the values file has a different syntax.Configure HAProxy Ingress
The steps below configures HAProxy Ingress’ Helm chart to add a new ServiceMonitor custom resource. This resource will be responsible for HAProxy and HAProxy Ingress metrics scrape.
Merge the content below to the actual haproxy-ingress-values.yaml
file:
controller:
ingressClassResource:
enabled: true
stats:
enabled: true
metrics:
enabled: true
serviceMonitor:
enabled: true
labels:
release: prometheus
metrics:
relabelings:
- replacement: cl1
targetLabel: cluster
- sourceLabels: [__meta_kubernetes_pod_node_name]
targetLabel: hostname
ctrlMetrics:
relabelings:
- replacement: cl1
targetLabel: cluster
- sourceLabels: [__meta_kubernetes_pod_node_name]
targetLabel: hostname
There are two important configurations in the snippet above:
- Added a label
release: prometheus
in the ServiceMonitor. HAProxy Ingress metrics will share the same Prometheus instance installed by Prometheus Operator. This can be changed to another dedicated instance, and must be checked if using another customized Prometheus Operator deployment. - Added relabels to HAProxy and HAProxy Ingress metrics. The HAProxy Ingress dashboard uses
hostname
label as a way to distinguish two controller instances, and alsocluster
label to distinguish controllers running on distinct clusters. The source of the name can be adjusted but the label name should be the same.
Now upgrade the chart - change upgrade
to install
if HAProxy Ingress isn’t installed yet:
helm upgrade haproxy-ingress haproxy-ingress/haproxy-ingress\
--create-namespace --namespace ingress-controller\
-f haproxy-ingress-values.yaml
Compatibility
This dashboard works with HAProxy’s internal Prometheus exporter. Follow these steps to adjust the scrape config and the dashboard if using Prometheus’ HAProxy Exporter:
Change the metric name of “Backend status / Top 5 max/avg connection time” to haproxy_backend_http_connect_time_average_seconds
Add this relabel configuration in the haproxy-ingress-values.yaml
file
controller:
...
serviceMonitor:
...
metrics:
...
metricRelabelings:
- sourceLabels: [frontend]
targetLabel: proxy
- sourceLabels: [backend]
targetLabel: proxy
Configure the dashboard
Import this Grafana dashboard. If Grafana was deployed using the steps provided in this walkthrough:
- Open Grafana page - the URL is the same provided in the
prometheus-operator-values.yaml
file and should resolve to the ingress deployment - Log in to Grafana, user is
admin
and the first password isprom-operator
- Click the big plus
+
sign in the left side, Import, type12056
as the Grafana.com ID, Load, select a Prometheus datasource, Import
If everything worked as expected, the dashboard should look like this:
Test
Lets make some noise and see what the dashboard tell us about our HAProxy Ingress cluster.
Deploy a demo application and a custom (self-signed) certificate:
openssl req -x509 -subj "/CN=dory.localdomain" -nodes -days 30 -newkey rsa:2048 -keyout /tmp/h.key -out /tmp/h.crt
kubectl --namespace default create secret tls dory --cert /tmp/h.crt --key /tmp/h.key
rm -fv /tmp/h.crt /tmp/h.key
kubectl --namespace default create deploy dory --image jcmoraisjr/dory
kubectl --namespace default scale deploy dory --replicas=4
kubectl --namespace default expose deploy dory --port 8000
kubectl --namespace default create ingress dory\
--class=haproxy\
--annotation haproxy-ingress.github.io/ssl-redirect=false\
--rule="dory.localdomain/*=dory:8000,tls=dory"
Check if the app is up and running:
kubectl --namespace default get pod -lapp=dory -w
Download vegeta and place it in the path.
Make a test and check if everything is working as expected. Change IP below to the IP of a HAProxy Ingress node:
IP=<IP_ADDRESS>
## Using Fish?
# set IP <IP_ADDRESS>
echo "GET http://$IP" |\
vegeta attack -duration=1s -rate=1 -header "Host: dory.localdomain" -keepalive=true |\
vegeta report
The output should look like this. The most important part is Success ratio=100% and an Error Set empty:
...
Success [ratio] 100.00%
Status Codes [code:count] 200:1
Error Set:
Now the real test. Adjust the duration and rate (number of requests per second) if needed. A dual core VM dedicated to HAProxy Ingress should accept a few thousands requests per second. Lets configure 200
which should move some lines in the dashboard:
IP=<IP_ADDRESS>
echo "GET http://$IP" |\
vegeta attack -duration=5m -rate=200 -header "Host: dory.localdomain" -keepalive=true |\
vegeta report
Follow the dashboard while the test is running. Most metrics have its resolution in 1m
(one minute) so wait at least this amount of time to see the correct conns/s, rps, proc use and so on.
What’s the impact of not using keepalive? Try the same test, changing only -keepalive
to false
:
IP=<IP_ADDRESS>
ulimit -n 2048 # avoids 'too many open files' error in the client side
echo "GET http://$IP" |\
vegeta attack -duration=5m -rate=200 -header "Host: dory.localdomain" -keepalive=false |\
vegeta report
Last test: what about TLS connections without keepalive? Change http
to https
and add -insecure
command-line option to Vegeta:
IP=<IP_ADDRESS>
ulimit -n 2048
echo "GET https://$IP" |\
vegeta attack -insecure -duration=5m -rate=200 -header "Host: dory.localdomain" -keepalive=false |\
vegeta report


---
layout: home
title: Ahmed Rashwan GitHub Page
subtitle: Here is the First GitHub Page created using Beautiful Jekyll template
---
### Overview of steps required
There are only three simple steps, ....
Here is a 40-second video ....
### 1. Fork the Beautiful Jekyll repository
Fork the [repository](https://github.com/daattali/beautiful-jekyll)
by clicking the Fork button on the top right corner in GitHub.


A principled, collaborative checklist editor.
Easily create checklists.
Use our editor to codify and manage complex processes. We let the list speak for itself.
Check against best practices.
Maximize your efficiency using well researched best practices such as length, wording and type.
Control your formatting.
Format your checklists however you would like to using the power and flexibility of LaTex.
Share and collaborate.
Work with your community to make great things happen! Share and build upon the work of your peers!


Modules Documentation¶
API¶
A library that provides a Python interface to the Yahoo GeoPlanet API
-
class
woeid.api.
Api
(client_id, base_url='http://where.yahooapis.com/v1/', select='long', format='json', lang='en-us', count=0, start=0)[source]¶ Bases:
object
- A python interface into the Woeid API
- Example usage:
To create an instance of the woeid.Api class. Note: you will need to initialize it with your client id (consumer key) which you can obtain from Yahoo at https://developer.yahoo.com. The detailed guide can be found in the Getting Started section.
>>> import woeid >>> api = woeid.Api(client_id='client_key')
- Args:
- client_id(
str
): - Your yahoo client id (consumer key). Note: this is not the id of your app!
- base_url(
str
, optional): - Specify the base url for making requests. (You probably wouldn’t want to change it)
- select(
str
, optional): - Specify how you would like your result to return. Only short or long are accepted.
- format(
str
, optional): - Specify which format you would like to receive as a response format. Three values are accepted: json, xml, geojson.
- lang(
str
, optional): - Specify the language you would like the return names to be be shown. RFC 4646 language codes are accepted.
- count(
str
orint
, optional): - Specify the maximum number of results to return. A count of 0 is interpreted as no maximum (all resources)
- start(
str
orint
, optional): - Skip the first N results.
- client_id(
-
BaseUrl
¶ The base url
Getter: Get the base url Setter: Set the base url Type: str
-
ClientId
¶ The client id
Getter: Get the client id Setter: Set the client id Type: str
-
Count
¶ The format code
Getter: Get the maximum number of results to return. Setter: Set the maximum number of results to return. A value of 0 is interpreted as no maximum (all resources) Type: int
orstr
-
Format
¶ The response format code
Getter: Get the response format code Setter: Set the response format code. Supported values are: ‘json’, ‘xml’, ‘geojson’ Type: str
-
GetConcordance
(namespace, id)[source]¶ Returns information that maps dentifiers (codes) from other providers to WOEIDs. The supported namespace and id values are provided in https://developer.yahoo.com/geo/geoplanet/guide/api-reference.html#api-concordance
- Args:
- namespace(
str
): - A namespace string
- id(
str
): - An id string
- namespace(
- Returns:
- Response content in
bytes
-
GetContinents
()[source]¶ Returns a collection of places that are continents.
- Returns:
- Response content in
bytes
-
GetCounties
(state)[source]¶ Returns a collection of places that are second-level administrative areas (counties) within a top-level administrative area (state).
- Args:
- state(
str
): - A state string.
- state(
- Returns:
- Response content in
bytes
-
GetCountries
(place=None)[source]¶ Returns a collection of places that are countries if place is not provided. Returns a collection of places that are countries and are part of or adjacent to the specified continent or ocean.
- Args:
- place(
str
, optional): - A place string
- place(
- Returns:
- Response content in
bytes
-
GetDistricts
(county)[source]¶ Returns a collection of places that are third-level administrative areas (districts) within a second-level administrative area (county).
- Args:
- county(
str
): - A county string
- county(
- Returns:
- Response content in
bytes
-
GetOceans
()[source]¶ Returns a collection of places that are oceans.
- Returns:
- Response content in
bytes
-
GetPlace
(woeid, degree=None, typ=None, nd=None, parent=False, ancestors=False, belongtos=False, neighbors=False, children=False, siblings=False, descendants=False, common=False)[source]¶ Return a place object that matches a specified woeid or with a specified relationship specifier (parent, ancestors, belongtos, neightbors, children, siblings, descendants, common) or with filters (degree, typ, nd).
- Args:
- woeid(
str
orint
ortuple
orlist
): - The unique place specifier.
- degree(
int
orstr
, optional): - .degree specifier which represents the degree to which two places are neighborhoods. Only consider valid if either neighbors or children filters are set.
- typ(
str
orint
orlist
, optional): - .type specifier which is used to specify placetypes. Up to ten place types may be provided. Only consider valid if either belongtos, children or placetypes are set.
- nd(boolean, optional):
- $and specifier which is used to join two fitlers together.
- parent(
boolean
, optional): - A relationship specifier used to return a parent place of a given woeid.
- ancestors(
boolean
, optional): - A relationship specifier used to return one or more acestors of a place of a given woeid.
- belongtos(
boolean
, optional): - A relationship specifier used to return a collection of places that have a place as a child or descendant (child of a child).
- neighbors(
boolean
, optional): - A relationship specifier used to return a collection of places that neighbor of a place.
- children(
boolean
, optional): - A relationship specifier used to return a collection of places that are children of a place.
- siblings(
boolean
, optional): - A relationship specifier used to return a collection of places that are siblings of a place.
- descendants(
boolean
, optional): - A relationship specifier used to return a collection of places that are in the child hierarchy (the child, the child of child, etc).
- common(
boolean
, optional): - A relationship specifier used to return the common ancestor of both places.
- woeid(
- Returns:
- Response content
in ``bytes``
-
GetPlaces
(q=None, woeid=None, typ=None, nd=None)[source]¶ Returns a collection of places that match a specified place name, and optionally, a specified place type. The resources in the collection are long representations of each place (unless short representations are explicitly requested).Supported Filters .q, .type, $and, .woeid.
- Args:
- q(
str
ortuple
, optional): - Specify a place name to search for or a tuple that has a place name and a focus. This filter is mutually exclusive with the woeid filter. The specified place can be any unicode characters. Focus can be either an ISO-3166-1 country code or a WOEID. For a “startswith” filter, specify the place as a string followed by an asterisk (*).
- woeid(
list(str)
orlist(int)
, optional): - Specify a Where On Earth Identifier (woeid). Up to ten WOEIDs may be specified. This filter is mutually exclusive with the q filter. Example: woeid=(1,2,3)
- typ(
list(str)
orlist(int)
orint
, optional): - Specify one or more place type codes (https://developer.yahoo.com/geo/geoplanet/guide/concepts.html#placetypes). Up to ten place type codes or names may be provided.
- nd(
boolean
, optional): Specify a join operations on two filters. Example:
>>> import woeid >>> api = woeid.Api(client_id='YOUR_CLIENT_ID') >>> ret = api.GetPlaces(q='StringField', typ=22, nd=True)
- q(
- Returns:
- Response content in
bytes
-
GetPlacetype
(typ, country)[source]¶ Returns a place type resource if only typ is specified. Returns information about a single placetype known by its code. The placetype name returned will be country-specific, and may vary depending upon the language requested.
- Args:
- typ(
str
orlist
orint
): - A type filter.
- country(
str
): - A country code string
- typ(
- Returns:
- Response content in
bytes
-
GetPlacetypes
(country=None, typ=None)[source]¶ Returns the complete collection of place types supported in GeoPlanet if neither country or typ is specified. Returns information about all the known placetypes. The placetype name returned will be country-specific, and may vary upon the language requested if country is specified.
- Args:
- country(
str
, optional): - A country code string
- typ(
str
orlist
orint
, optional): - A type filter.
- country(
- Returns:
- Response content in
bytes
-
GetSeas
(place=None)[source]¶ Returns a collection of places that are seas if place is not provided. Returns a collection of places that are seas and are part of or adjacent to the specified continent or ocean if place is specified.
- Args:
- place(
str
, optional): - Returns:
- Response content in
bytes
-
GetStates
(country)[source]¶ Returns a collection of places that are top-level administrative areas (states) within a country.
- Args:
- country(
str
): - A country string
- country(
- Returns:
- Response content in
bytes
-
Lang
¶ The language code (RFC 4646) used for making requests
Getter: Get the language code used for making requests Setter: Set the language code used for making requests. Possible language codes are defined in RFC 4646 Type: str
-
Select
¶ The result representation mode
Getter: Get the result representation mode Setter: Set the result representation mode. Supported values are: long, short Type: str
-
Start
¶ The number of records to skip
Getter: Get the number of records to skip Setter: Set the number of records to skip Type: int
orstr
Modules¶
-
class
woeid.modules.
 This filter is mutually exclusive with the woeid filter. The specified place can be any unicode characters. Focus can be either an ISO-3166-1 country code or a WOEID. For a “startswith” filter, specify the place as a string followed by an asterisk (*).
- woeid(
list``(``str
) orlist``(``int
), optional): - Specify a Where On Earth Identifier (woeid). Up to ten WOEIDs may be specified. This filter is mutually exclusive with the q filter. Example: woeid=(1,2,3)
- typ(
list``(``str
) orlist``(``int
) orint
, optional): - Specify one or more place type codes (https://developer.yahoo.com/geo/geoplanet/guide/concepts.html#placetypes). Up to ten place type codes or names may be provided.
- degree(
int
orstr
, optional): - .degree specifier which represents the degree to which two places are neighborhoods. Only consider valid if either neighbors or children filters are set.
- nd(
boolean
, optional): Specify a join operations on two filters. Example:
>>> import woeid >>> api = woeid.Api(client_id='YOUR_CLIENT_ID') >>> ret = api.GetPlaces(q='StringField', typ=22, nd=True)
- q(
-
class
woeid.modules.
Relationships
(parent=False, ancestors=False, belongstos=False, neighbors=False, siblings=False, children=False, descendants=False, common=False)[source]¶ “A class that encapsulates all relationships
- Args:
- parent(
boolean
, optional): - A relationship specifier used to return a parent place of a given woeid.
- ancestors(
boolean
, optional): - A relationship specifier used to return one or more acestors of a place of a given woeid.
- belongtos(
boolean
, optional): - A relationship specifier used to return a collection of places that have a place as a child or descendant (child of a child).
- neighbors(
boolean
, optional): - A relationship specifier used to return a collection of places that neighbor of a place.
- children(
boolean
, optional): - A relationship specifier used to return a collection of places that are children of a place.
- siblings(
boolean
, optional): - A relationship specifier used to return a collection of places that are siblings of a place.
- descendants(
boolean
, optional): - A relationship specifier used to return a collection of places that are in the child hierarchy (the child, the child of child, etc).
- common(
boolean
, optional): - A relationship specifier used to return the common ancestor of both places.
- parent(
Utilities¶
-
class
woeid.utility.
ResponseCheck
(code)[source]¶ A utility class reponsible for chekcing the reponse code and raise corresponding error
- Args:
- code(
int
): - The response code in integer
- code(
-
class
woeid.utility.
Utility
[source]¶ -
static
BuildParams
(appid, format='json', select='short', lang='en-us')[source]¶ For constructing a parameter dictionary.
- Returns:
- Parameters dictionary
-
static
BuildUrls
(url, path_elements, extra_params=None, extra_woeid=None, filters=None, relationships=None, count=None, start=None)[source]¶ An utility class reponsible for building the url string
- Args:
- path_elements(
list``(``str
)): - A list of paths that will be appended to the base url.
- extra_params(
dict
, optional): - A dictionary representing the parameters for making the url.
- extra_woeid(
list``(``int
) orlist``(``str
), optional): - This is useful when the common filter has been set. Aiming for making urls such as 1234/common/3456/73923
- filters(
Filters
, optional): - A Filter object
- relationships(
Relationships
, optional): - A Relationship object
- count(
int
, optional): - Specify the maximum number of results to return. A count of 0 is interpreted as no maximum (all resources)
- start(
int
, optional): - Skip the first N results.
- path_elements(
- Returns:
- A valid url containing all queries, filters, parameters.
-
static
EncodeParameters
(parameters)[source]¶ Return a string in key=value&key=value form. Values of None are not included in the output string.
- Args:
- parameters (
dict
): - dictionary of query parameters to be converted into a string for encoding and sending to Twitter.
- parameters (
- Returns:
- A URL-encoded string in “key=value&key=value” form
-
static
GetLastRequestUrl
()[source]¶ An utility function for fetching the most recent requesting url
- Returns:
- Last request url
-
static


Posted by Pingge Jiang on November 30, 2017
Posted by Pingge Jiang on March 20, 2017
Posted by Pingge Jiang on March 8, 2017
Posted by Pingge Jiang on February 15, 2017
Posted by Pingge Jiang on February 8, 2017
Posted by Pingge Jiang on February 2, 2017
Posted by Pingge Jiang on November 16, 2016
Posted by Pingge Jiang on November 12, 2016
Posted by Pingge Jiang on November 8, 2016
Pingge Jiang PhD in Computer Engineering ☑Coding ☑Medical imaging ☑Image processing ☑Machine learning ☑Neural networks


ABSTRACT GAME SHOPS
In my last travels through London and Paris, I came to visit some very nice game shops. It would be nice to have a list of shops around the world which the main focus are abstract games so that the accidental tourist can visit them and make some nice buys.
AUSTRALIA
SYDNEY
Games Paradise Shop 2, 343 Pitt Street Sydney NSW 2000
Tel 02 9267 2069, Fax +33 <IP_ADDRESS>.55<EMAIL_ADDRESS>1, 195A Burwood RdBurwood, NSW 2134 (two blocks uphill from the Burwood train station).Tel (02) 9715 3229<EMAIL_ADDRESS>REPUBLIC
BRNO
Moria Křenová 8, Brno
Tel.: +420 543.254.408<EMAIL_ADDRESS>Mon-Fri: 12-18, Sat 13-19PRAGUE
Billard - Centrum Prodejna - Ženské Domovy, Ostrovského 3, Praha 5-Smíchov, 150 00
Tel.: +420 2<IP_ADDRESS>
Mon-Fri: 9-18Billard - Centrum Reprezentační prodejna, Panská 8, Praha 1, 110 00
Tel.: +420 <IP_ADDRESS>
Mon-Fri: 9-19, Sat: 10-16Billard - Centrum Obchodní centrum EUROPARK (Shopping center), Nákupní ulice, Praha 10 Štěrboholy
Tel.: +420 2<IP_ADDRESS>
Mon-Sun: 9-21Hry a hlavolamy - Hras Jungmanova 8, Praha 1
Tel.: +420 224.946.506<EMAIL_ADDRESS>Mon-Fri: 9-19, Sat: 9:30-16Klub deskových her Paluba Lidická 40b, Praha 5
Tel.: +420 777.552.729<EMAIL_ADDRESS>Mon, Wed: 16-22, Tue, Thu: 17-21OK šachy Hošťálkova 27, Praha 6
Tel: +420 233.353.881, Tel/Fax +420 233.345.441<EMAIL_ADDRESS>Mon-Thu 09.00-11.00, 11.30-16.30, Fri 09.00-11.00, 11.30-15.00FRANCE
PARIS
Variantes 29, R. Saint André des Arts, 75006 Paris
Tel +33 <IP_ADDRESS>.01, Fax +33 <IP_ADDRESS>.55<EMAIL_ADDRESS>All days 10:30-20, except Sunday 15-20HOLLAND
AMSTERDAM
mapHet Paard Haarlemmerdijk 173, 1013 KH Amsterdam
Tel +31 20 624 11 71 , Fax +31 20 627 08 85<EMAIL_ADDRESS>Tue-Sat 10-17:30 Mon 13-17:30UNITED KINGDOM [1]
CAMBRIDGE
Lingards Games 7, Rose Crescent, Cambridge. CB2 3LL
Tel&Fax +44 01223 363257<EMAIL_ADDRESS>Lingards Games 24 Sir Isaac's Walk, Colchester. CO1 1JJ
Tel&Fax +44 01206.574781<EMAIL_ADDRESS>Compendia 10 The Market Greenwich London SE10 9HZ
Tel +44 020 8293 6616, Fax +44 020 8305 1900<EMAIL_ADDRESS>Mon-Fri 11-17:30 Sat-Sun 10-17h30To Greenwich: from London Bridge and North Kent Line Stations to Greenwich. Turn left from Station, following signs to Town Centre, and walk past the cinema and St Alfeges church. The market is across the road just off Turnpin Lane.[ref]
Village Games 65, The West yard - Camden Lock, London NW1 8AF
Tel&Fax +44 20.7485.0653<EMAIL_ADDRESS>All days 10-17:30Go to Camden Town underground station, leave by the exit to the right at the top of the escalator and walk up Camden High Street, which soon becomes Chalk Farm Road. This whole area is packed with trendy shops of all varieties. Continue over the canal bridge, and turn left immediately before the railway bridge over the road. Go up the cobble-stoned lane, right to the top, and pass under the archway to your left. Village Games is immediately on the right in Camden Lock craft market. [ref]
NORWICH
Lingards Games 1, Swan Lane, Norwich, NR2 1HZ
Tel&Fax +44 01603 660350<EMAIL_ADDRESS>Gothic Green Oak, Cefn Gorwydd, Llangammarch Wells, Powys LD4 4DL<EMAIL_ADDRESS>ebay site: http://stores.ebay.co.uk/HistoricGamesfromGothicGreenOak


Hello, I'm Eleven.
Just say my name or click me to get my attention.
Ask me: (supported intents)
- About todays news headlines
Eleven <pause> show me today's headlines.
- For the current weather somewhere
Eleven <pause> What's the weather like in New York?
- To find you some food around a certain location
Eleven <pause> find me Chinese food in San Francisco.


|
Membership Registration If you are paying for upcoming UA NSBE event or paying for a NSBE membership, please select an option below then click the "Buy Now" button. Paying National, Regional, and Chapter Dues
Paying ONLY Chapter Dues via UA NSBE Website $7 payment covers Chapter dues.
If you are paying for upcoming UA NSBE event or paying for a NSBE membership, please select an option below then click the "Buy Now" button. Did you know that donating to a non-profit organization can be tax-deductible? NSBE is recognized by the IRS as a 501(c)(3) Non-Profit Organization. NSBE and its chapters rely on donations from sponsors and the general public to hold conventions, fund scholarships, and support other events. If you have any problems or questions, please contact the UA NSBE Treasurer. |
|
|
Copyright © 2009 University of Alabama Chapter, National Society of Black Engineers |
|
|
This website was created and maintained by Kenny R. Ths University of Alabama requires the following statement: "The views, opinions, and conclusions expressed in this page are those of the author or organization and not necessarily those of The University of Alabama or its officers and trustees. The content of this page has not been reviewed or approved by The University of Alabama, and the author or organization is solely responsible for its content." |


Laravel Homestead
Introduction
Laravel strives to make the entire PHP development experience delightful, including your local development environment. Vagrant provides a simple, elegant way to manage and provision Virtual Machines.
Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server, and any other server software on your local machine. No more worrying about messing up your operating system! Vagrant boxes are completely disposable. If something goes wrong, you can destroy and re-create the box in minutes!
Homestead runs on any Windows, Mac, or Linux system, and includes Nginx, PHP, MySQL, PostgreSQL, Redis, Memcached, Node, and all of the other goodies you need to develop amazing Laravel applications.
Installation & Setup
First Steps
Before launching your Homestead environment, you must install VirtualBox 6.x, VMWare, Parallels or Hyper-V as well as Vagrant. All of these software packages provide easy-to-use visual installers for all popular operating systems.
To use the VMware provider, you will need to purchase both VMware Fusion / Workstation
and the
VMware Vagrant plug-in
. Though it is not free, VMware can provide faster shared folder performance
out of the box.
To use the Parallels provider, you will need to install Parallels Vagrant plug-in. It is free of charge.
Because of Vagrant limitations
, The Hyper-V provider ignores all networking settings.
Installing The Homestead Vagrant Box
Once VirtualBox / VMware and Vagrant have been installed, you should add the
laravel/homestead
box to your Vagrant installation using the following command in your terminal. It
will take a few minutes to download the box, depending on your Internet connection speed:
vagrant box add laravel/homestead
If this command fails, make sure your Vagrant installation is up to date.
vagrant box add
command. If you are having issues running vagrant box add
, you may
run the vagrant
up command and the correct box will be downloaded when Vagrant attempts to start
the virtual machine.
Installing Homestead
You may install Homestead by cloning the repository onto your host machine. Consider cloning the repository into
a Homestead
folder within your "home" directory, as the Homestead box will serve as the host to all
of your Laravel projects:
git clone https://github.com/laravel/homestead.git ~/Homestead
You should check out a tagged version of Homestead since the master
branch may not always be
stable. You can find the latest stable version on the
GitHub Release Page. Alternatively,
you may checkout the release branch which always contains the latest stable release:
cd ~/Homestead
git checkout release
Once you have cloned the Homestead repository, run the bash init.sh
command from the Homestead
directory to create the Homestead.yaml
configuration file. The Homestead.yaml
file will be placed in the Homestead directory:
// Mac / Linux...
bash init.sh
// Windows...
init.bat
Configuring Homestead
Setting Your Provider
The provider
key in your Homestead.yaml
file indicates which Vagrant provider should
be used: virtualbox
, vmware_fusion
, vmware_workstation
,
parallels
or hyperv
. You may set this to the provider you prefer:
provider: virtualbox
Configuring Shared Folders
The folders property of the Homestead.yaml file lists all of the folders you wish to share with your Homestead environment. As files within these folders are changed, they will be kept in sync between your local machine and the Homestead environment. You may configure as many shared folders as necessary:
folders:
- map: C:/xampp/htdocs
to: /home/vagrant/xampp/htdocs
C:\Users\user\Code\project1
.
Configuring Nginx Sites
Not familiar with Nginx? No problem. The sites property allows you to easily map a "domain" to a folder on your Homestead environment. A sample site configuration is included in the Homestead.yaml file. Again, you may add as many sites to your Homestead environment as necessary. Homestead can serve as a convenient, virtualized environment for every Laravel project you are working on:
sites:
- map: vuexyHTML.learn
to: /home/vagrant/xampp/htdocs/vuesax-vuejs-admin-template/vuexy-html-laravel-template/public
- map: vuexyHTMLStarter-Kit.learn
to: /home/vagrant/xampp/htdocs/vuesax-vuejs-admin-template/vuexy-html-laravel-starter-kit/public
- map: vuexyVuejs.learn
to: /home/vagrant/xampp/htdocs/vuesax-vuejs-admin-template/vuexy-vuejs-laravel-template/public
- map: vuexyVuejStarter-Kit.learn
to: /home/vagrant/xampp/htdocs/vuesax-vuejs-admin-template/vuexy-vuejs-laravel-starter-kit/public
If you change the sites property after provisioning the Homestead box, you should re-run
vagrant reload --provision
to update the Nginx configuration on the virtual machine.
vagrant destroy && vagrant up
.
Hostname Resolution
Homestead publishes hostnames over mDNS
for automatic host resolution. If you set
hostname: homestead
in your Homestead.yaml
file, the host will be available at
homestead.local.
MacOS, iOS, and Linux desktop distributions include mDNS support by default.
Windows requires installing
Bonjour Print Services for Windows.
Using automatic hostnames works best for "per project" installations of Homestead. If you host multiple sites on
a single Homestead instance, you may add the "domains" for your web sites to the hosts
file on your
machine. The hosts file will redirect requests for your Homestead sites into your Homestead machine. On Mac and
Linux, this file is located at /etc/hosts
. On Windows, it is located at
C:\Windows\System32\drivers\etc\hosts
. The lines you add to this file will look like the following:
<IP_ADDRESS> vuexyHTML.learn
<IP_ADDRESS> vuexyHTMLStarter-Kit.learn
<IP_ADDRESS> vuexyVuejs.learn
<IP_ADDRESS> vuexyVuejStarter-Kit.learn
Now you can simply run your homestead virtual host environment using below command.
cd laravel/homestead
vagrant up
vagrant ssh


We are an all-volunteer crisis-response group of concerned Nepalis and friends of Nepal who have come together to help the country respond to the second wave of Covid. Some of us worked together in the past to respond to disasters like the 2015 earthquake and the 2017 Koshi River floods. Our alliance includes medical doctors, public health experts, journalists, data analysts, social activists, and management consultants.
Our goal is to minimize tremendous suffering and loss of life over the coming weeks. We want to complement efforts by the government and Nepali hospitals to reduce the burden of hospital visits and other harm.
Covid Alliance for Nepal is organized around the belief that people who know most about an area are the ones best suited to do that job. Often, what is lacking is a platform to connect, combine resources, share networks and build a wealth of knowledge. By providing this (currently) virtual infrastructure, we have been able to understand problem statements and bottlenecks, move resources and acquire funding much faster and with less duplication than if we were working alone. Alliance is not conducting any fundraising directly but helping to amplify fundraising campaigns organized by different members. If you choose to support an initiative financially, that Alliance member is accountable to provide the financial management and reporting to you.


The
one
The
one
The
one
A newsfeed backed by an algorithm,
which shows content only relevant to you
Vous ne parlez pas 英语, no hay problema!
Wir haben die läsung
Listen to your journal
Each week a new person, NGO, journalist writes about the current event
Various contributors will challenge opinions through interposed texts


This is a text based game with images that allows the user to play through an adventure centered around escaping a dungeon. It uses a sql database to store all persistent data relating to users and the characters that belong to them as well as the predefined contents of the game such as player location, inventory and more! This app utilizes a complex set of tables and relations including items and characters in a many to many association through a join table. Interactions to the sql were handled through mysql and sequelize and information was passed back and forth on an express server using api-routes.
Database Crawler Live Site GitHub Database CrawlerHow many times have you had some free time and you can't decide what to do? I constantly have this problem! This website was created to help people make use of their free time doing the things that they love. With the help of different API's, we are able to provide recommendations on various games, movies, and recipes that you may want to take a look at. These options are then appended to the page dynamically. This website can expand indefinitely with more APIs until there aren't anymore that I can add. But ideally these recommendations will occupy you for around an hour to an afternoon just I feel that the app shines the most when the suggestions are spontaneous!
Fun Finder Live Site GitHub Fun FinderThis database was made to help keep track of food bucket lists! Have no idea what to eat for dinner? Take a gander at the "Foods that I have eaten!" list, or if you're feeling daring pick something off the "Foods that I haven't eaten!" list! This was one of my most confusing projects so far just because of the amount of files the model-view-controller (MVC) structure requires and the way information is passed between them to accomplish the goal of putting information into a database. This project was a great place to use express-handlebars because of how seemingly infinitely large databases are. With handlebars I could quickly create repeating structures on the page the user sees.
What to eat Live Website GitHub What to EatThis site was made to create random passwords! Upon clicking the "Generate Password" button prompts will appear and ask the user the desired criteria for the password. Criteria include character types, such as lower case characters, upper case characters, numeric characters, special characters, and also password length. There are two checks for password length and that there's at least one character type selected. All desired characters are added to a control array where a random number is selected between 1 and the total number of items in the control array. This will occur until the desired password length is achieved and then will be displayed in the text box.
GitHub Password Generator


Password Safe allows you to search for entries with a given text. This is useful if you don't recall the name of an entry, but have a good idea regarding the contents, e.g., the entry with "Mary" in the Notes.
To search an open Safe, press Ctrl-F (or "Edit → Find..."). A toolbar appears above the status bar at the bottom of the application's windows similar to the following:
The simplest way to use this is to just enter the text you're looking for, and then press Enter or click on the magnifying glass icon to the right of the text field. The number of matching entries (if any) will be displayed in the right side of the toolbar, and the first matching entry will be selected and emphasized. Pressing Enter (or clicking on the magnifying glass) repeatedly will move to the next matching entry. When all entries have been selected, Password Safe will cycle back to the first.
The F3 key performs the repeat find. Just keep pressing F3 to cycle to the next entry that satisfies your criteria. Holding the Shift key down when pressing F3, finds the previous entry in the database matching your criteria rather than the next. You can also hold down the Shift key when clicking on the magnifying glass icon to find the previous match.


|
Just
Like A Pill
(Pink & D. Austin) |
|
Lying
here on the floor where you left me
I think I took too much I'm crying here, what have you done?


During Gartner Symposium/ITxpo in Orlando, analysts highlighted the “top 10 strategic
technology trends” to look out for in 2019. Autonomous things was the first tech trend on Gartner’s list.
Autonomous things(AuT), also known as the Internet of Autonomous Things (IoAT), is an emerging term for the technological developments that are expected to bring computers
into the physical environment as autonomous entities without human direction,
freely moving and interacting with humans and other objects.
Computer programs are among the most well-developed applications
of autonomous technology nowadays. For example, sophisticated supply chain
management programs are capable of evaluating and reacting to needs such as
ordering supplies, scheduling workers and so on without human involvement –
going beyond simple automation.
Driverless technologies are already utilized in cars – for example, cars that can park
themselves into tight spaces, or automatically brake when they get too close to another
car or object.
A notable use of Autonomous technology was Intel’s use of a drone swarm for the
opening ceremony of the Winter Olympic Games in 2018.
The presence of truly driverless cars will soon be a reality. Ford, Nissan, Google, BMW,
General Motors, and Daimler are just a few of the big names working toward this goal.
It must be noted that data security is of particular importance with this potential application, as the
implications of hacking could be dangerous or life-threatening.
Major advancements in the Autonomous Things field are predicted to be upon us with a few years.
Gartner predicts that by 2021, swarm intelligence will be a core design element for at least 30 percent
of organizations deploying AI-enhanced systems.
Gartner also predict that by 2021, 10 percent of new vehicles will have autonomous
driving capabilities, compared to less than one percent in 2018.


The Virtual Light Company History
The Virtual Light Company started in the early 1990s as a vehicle for Justin Couch to effectively get on the internet with a formal presence. In the early days of the internet in Australia, getting a domain name and IP address space required you have a registered business. VLC is part of that.
Getting online in around 1994 with firstly a large 128K ISDN connection to a local ISP (that I provided much technical support to) I registered and gained access to this domain name as well as my own class C address space. Both have maintained a continuous presence ever since despite several relocations around the world (didn't that play fun with GEO-IP!).
Where did the Name Come From?
As a passionate reader, particularly of all things Sci-Fi, and my early interest in Virtual Reality, I spent a lot of time with William Gibson books. After the Neuromancer series, he wrote a book named Virtual Light. This and my extensive work in VRML, lead to me chosing the name based on the book title and love of virtual reality.


Lying about 25nm south of Tangier, this town has an attractive old Medina and is a popular tourist resort, especially in August. Visiting yachts are not common and the people are very friendly.
This is not an official port of entry. Tangier is the nearest port where all clearance formalities can be completed.
Report to the Coastguard. They may come to the boat anyway.
Last updated September 2015.
Anchor in between the small fishing boat moorings. The bottom is sand and it is best to anchor fore and aft to limit the swing and keep clear of the channel.
It may also be possible to raft up alongside the wall or a big fishing boat, (when a small gift of, say, a packet of cigarettes, would be much appreciated).
The swell is severe in this small harbour during the winter, at which season Tangier is a better option.
The harbour is shallow and entry should only be attempted is calm weather.
Plans for a marina here have been abandonded.


A Bounty Hunter is the most advanced Scavenger. They will risk their lives in order to collect certain materials.
Description of the Bounty Hunter
Change occupation to Bounty Hunter


Alpha
Gamma
Beta
Rotate Degrees
Left To Right
Front To Back
DIFF
STAGE
pDor.gamma
processedGamma
None


|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
| Interface Summary | |
|---|---|
| BeanMetadataElement | Interface to be implemented by bean metadata elements that carry a configuration source object. |
| BeanWrapper | The central interface of Spring's low-level JavaBeans infrastructure. |
| ConfigurablePropertyAccessor | Interface that encapsulates configuration methods for a PropertyAccessor. |
| Mergeable | Interface representing an object whose value set can be merged with that of a parent object. |
| PropertyAccessor | Common interface for classes that can access named properties
(such as bean properties of an object or fields in an object)
Serves as base interface for BeanWrapper . |
| PropertyEditorRegistrar | Interface for strategies that register custom
property editors with a
property editor registry . |
| PropertyEditorRegistry | Encapsulates methods for registering JavaBeans PropertyEditors . |
| PropertyValues | Holder containing one or more PropertyValue objects,
typically comprising one update for a specific target bean. |
| TypeConverter | Interface that defines type conversion methods. |
| Class Summary | |
|---|---|
| AbstractPropertyAccessor | Abstract implementation of the PropertyAccessor interface. |
| BeanMetadataAttribute | Holder for a key-value style attribute that is part of a bean definition. |
| BeanMetadataAttributeAccessor | Extension of AttributeAccessorSupport ,
holding attributes as BeanMetadataAttribute objects in order
to keep track of the definition source. |
| BeanUtils | Static convenience methods for JavaBeans: for instantiating beans, checking bean property types, copying bean properties, etc. |
| BeanWrapperImpl | Default BeanWrapper implementation that should be sufficient
for all typical use cases. |
| CachedIntrospectionResults | Internal class that caches JavaBeans PropertyDescriptor
information for a Java class. |
| DirectFieldAccessor | PropertyAccessor implementation that directly accesses instance fields. |
| MutablePropertyValues | Default implementation of the PropertyValues interface. |
| PropertyAccessorFactory | Simple factory facade for obtaining PropertyAccessor instances,
in particular for BeanWrapper instances. |
| PropertyAccessorUtils | Utility methods for classes that perform bean property access
according to the PropertyAccessor interface. |
| PropertyEditorRegistrySupport | Base implementation of the PropertyEditorRegistry interface. |
| PropertyValue | Object to hold information and value for an individual bean property. |
| PropertyValuesEditor | Editor for a PropertyValues object. |
| SimpleTypeConverter | Simple implementation of the TypeConverter interface that does not operate on any specific target object. |
| Exception Summary | |
|---|---|
| BeanInstantiationException | Exception thrown when instantiation of a bean failed. |
| BeansException | Abstract superclass for all exceptions thrown in the beans package and subpackages. |
| ConversionNotSupportedException | Exception thrown when no suitable editor or converter can be found for a bean property. |
| FatalBeanException | Thrown on an unrecoverable problem encountered in the beans packages or sub-packages, e.g. |
| InvalidPropertyException | Exception thrown when referring to an invalid bean property. |
| MethodInvocationException | Thrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException. |
| NotReadablePropertyException | Exception thrown on an attempt to get the value of a property that isn't readable, because there's no getter method. |
| NotWritablePropertyException | Exception thrown on an attempt to set the value of a property that is not writable (typically because there is no setter method). |
| NullValueInNestedPathException | Exception thrown when navigation of a valid nested property path encounters a NullPointerException. |
| PropertyAccessException | Superclass for exceptions related to a property access, such as type mismatch or invocation target exception. |
| PropertyBatchUpdateException | Combined exception, composed of individual PropertyAccessException instances. |
| TypeMismatchException | Exception thrown on a type mismatch when trying to set a bean property. |
This package contains interfaces and classes for manipulating Java beans. It is used by most other Spring packages.
A BeanWrapper object may be used to set and get bean properties, singly or in bulk.
The classes in this package are discussed in Chapter 11 of Expert One-On-One J2EE Design and Development by Rod Johnson (Wrox, 2002).
|
|||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |


Before Change
return
if "reset" in actions:
self.send_result(self._reset_dict())
if "keys" in actions:
if "all" in actions:
self.send_result(env.sos_dict._dict.keys())
elif keys:
After Change
{"name": "stderr", "text": "Unrecognized sosdict option or variable name {}".format(x)})
return
for x in [x for x in actions if x.startswith("-")]:
if not x in ["-r", "--reset", "-k", "--keys", "-a", "--all"]:
raise RuntimeError("Unrecognized option {} for magic %dict".format(x))
if "--reset" in actions or "-r" in actions:
self.send_result(self._reset_dict())
if "--keys" in actions or "-k" in actions:
if "--all" in actions or "-a" in actions:


Included the to_xs arity patch needed for weird Rails compatibility issue.
Escaping newlines in attributes now.
Allow method caching
Ruby 1.9 compatiblity issues.
Applied patch from Thijs van der Vossen to allow UTF-8 encoded output when the encoding is UTF-8 and $KCODE is UTF8.
Fixed bug where private methods in kernel could leak through using tag!(). Thanks to Hagen Overdick for finding and diagnosing this bug.
Fixed typo in XmlMarkup class docs (ident => indent). (from Martin Fowler).
Removed extra directory indirection from legacy CVS to SVN move.
Removed some extraneous tabs from source.
Fixed test on private methods in blankslate to differentiate between targetted and untargetted private methods.
Removed legacy capture of @self in XmlBase (@self was used back when we used instance eval).
Added additional tests for global functions (both direct and included).
Fixed bug in BlankSlate where including a module into Object could cause methods to leak into BlankSlate.
Made BlankSlate available as its own gem. Currently the builder gem still directly includes the BlankSlate code.
Added reveal capability to BlankSlate.
Added doc directory
Added unit tests for XmlEvents.
Added XChar module and used it in the _escape method.
Attributes are now quoted by default when strings. Use Symbol attribute values for unquoted behavior.
Added a cdata! command to an XML Builder (from Josh Knowles).
The attributes in the <?xml … ?> instruction will be ordered: version, encoding, standalone.
Another fix for BlankSlate. The Kernal/Object traps added in 1.2.1 failed when a method was defined late more than once. Since the method was already marked as removed, another attempt to undefine it raised an error. The fix was to check the list of instance methods before attempting the undef operation. Thanks to Florian Gross and David Heinemeier Hansson for the patch.
BlankSlate now traps method definitions in Kernel and Object to avoid late method definitions inadvertently becoming part of the definition of BlankSlate as well.
Improved support for entity declarations by allowing nested declarations and removal of the attribute processing.
Added namespace support.
Added support for comments, entity declarations and processing instructions.
Removed use of instace_eval
making the use of XmlMarkup much
less prone to error.
Bug fix.
Initial version release.


We leverage the concept of mobile-first design. Through our work, we focus on designing an experience that works across different screen sizes.
If you are unsure of how your app behaves, we can help by doing a detailed UX audit that will highlight most of the issues in your product. From there, we can take it further and fix all issues.
We are Front End masters with a deep focus on HTML, CSS. The result of our work is a responsive, accessible, and performant websites. Either you have the design ready and want us to code it, or you want us to do both design and code, we’re happy to do so.
 We can help and see what fits your business and your budget.
To reach more customers and the goals of your business, a mobile application is necessary these days. We will work on the app design from scratch to final tested prototype.
It’s important to research deeply for the product you want to build. We help in that by defining the user audience, working on user stories, competitive analysis and much more.


A ClassStaticBlockDefinition Record is a Record value used to encapsulate the executable code for a class static initialization block.
ClassStaticBlockDefinition Records have the fields listed in
| Field Name | Value | Meaning |
|---|---|---|
| [[BodyFunction]] | An function object. | The function object to be called during static initialization of a class. |


ExampleGame
.
The policy file syntax is not described here; if you are interested, see the Default Policy Implementation and Policy File Syntax page.
You don't need to know the syntax; you can always use the Policy Tool to create policy files, as shown in Quick Tour of Controlling Applets, Quick Tour of Controlling Applications, and Signing Code and Granting It Permissions lessons.
Below is the sample policy file, followed by a description of the individual entries. Assume that
kim.keystore
.
ExampleGame
has been signed
by the game creator Terry's private key, and the corresponding public
key is in the keystore entry aliased by "terry"
.
HighScore
and HighScorePermissions
classes were signed by the private key of the person who implemented them
(Chris), and the corresponding public
key is in the keystore entry aliased by "chris"
.
kim.policy
keystore "kim.keystore"; // Here is the permission ExampleGame needs. // It grants code signed by "terry" the HighScorePermission, if the // HighScorePermission was signed by "chris" grant SignedBy "terry" { permission com.scoredev.scores.HighScorePermission "ExampleGame", signedBy "chris"; }; // Here is the set of permissions the HighScore class needs: grant SignedBy "chris" { // The HighScore class needs permission to read "user.home" to find // the location of the highscore file permission java.util.PropertyPermission "user.home", "read"; // It needs permission to read and write the high score file itself permission java.io.FilePermission "${user.home}${/}.highscore", "read,write"; // It needs to get granted its own permission, // so it can call checkPermission // to see if its caller has permission. // Only grant it the permission // if the permission itself was signed by "chris" permission com.scoredev.scores.HighScorePermission "*", signedBy "chris"; };
A keystore is a repository of keys and
certificates, and is used to look up the public keys of the
signers specified in the policy file ("terry"
and
"chris"
in this
example).
The keytool
utility is used to create and administer keystores.
For this lesson, assume Kim would like to play ExampleGame
.
If Kim's keystore is named kim.keystore
,
then Kim's policy file needs the following line at the very beginning:
keystore "kim.keystore";
A policy file entry specifies one or more permissions for code from a particular code source - either code from a particular location (URL), or code signed by a particular entity, or both.
Our policy file needs an entry for each game, granting code signed by
a key from that
game's creator a HighScorePermission
whose name is the game name.
That permission allows the game to call the
HighScore
methods to get or update the user's high score value
for that particular game.
The entry required for ExampleGame
is:
grant SignedBy "terry" { permission com.scoredev.scores.HighScorePermission "ExampleGame", signedBy "chris"; };
Requiring that ExampleGame
be
signed by "terry"
enables Kim to know that the game
is the actual game that Terry developed. For this to work, Kim
must have already stored Terry's public key certificate into
kim.keystore
using the alias "terry"
.
Notice that the HighScorePermission
needs to be signed
by "chris"
, the person who actually implemented that permission. This
ensures that ExampleGame
is granted the actual permission
implemented by "chris"
, and not someone else.
As before, for this to work Kim must have already stored Chris's
public key certificate into kim.keystore
using
the alias "chris"
.
HighScore
class. More specifically, it grants permissions
to code signed by "chris"
, who created and signed the class.
Requiring the class to be signed by "chris"
ensures that
when ExampleGame
calls upon this class to update the user's
high score, ExampleGame
knows for sure that it is using
the original class implemented by "chris"
.
To update the user's high score value for any games that call
upon it do so, the HighScore
class
requires three permissions:
"user.home"
property value.The HighScore
class stores the user's high score values
in a .highscore
file in the user's home directory.
Therefore this class needs a java.util.PropertyPermission
that allows it to read the "user.home"
property value
to find out exactly where the user's home directory resides:
permission java.util.PropertyPermission "user.home", "read";
This permission is needed so the HighScore
getHighScore
and setHighScore
methods can access
the user's .highscore
file to get
or set, respectively, the current high score for the current game.
Here is the required permission:
permission java.io.FilePermission "${user.home}${/}.highscore", "read,write";
${propName}
specifies the value of a property. Thus,
${user.home}
will be
replaced by the value of the "user.home"
property.
The notation ${/}
is a platform-independent way of
specifying a file separator.
This permission is needed so that the HighScore
checks to ensure the calling game has been granted a
HighScorePermission
whose name is the game name will work.
That is, the HighScore
class must also be granted
the permission, since a permission check requires that
all code currently on the stack have the specified
permission.
Here is the required permission:
permission com.scoredev.scores.HighScorePermission "*", signedBy "chris";
HighScorePermission
itself needs to
be signed by "chris"
, the person who actually implemented
the permission.


LINE 6 POD HD500
HD amp models defy the accepted standard. They feel, behave, and interact with previously unachievable realism.
Creating these new HD amp models was no small feat. Line 6 mixed 15 years of amp modeling experience with 3 years of new research and development to build an entirely new amp modeling technology from the ground up. During that time, we hunted down 16 incredible amplifiers and—with the help of LA's top tube amp experts—restored each one back to peak condition. The new modeling technology uses 10 times more amplifier information than before, including single-ended class A tube stages, class AB push/pull interactions, power supply behavior, and more. The result is a high-quality warmth, feel, sustain, and articulation for you to fall in love with.
Tube amp fanatics have long enthused that their favorite stacks and combos aren't merely "amps," but instruments themselves, with playability equal to that of the guitar plugged into them. New HD modeling takes the POD HD experience to that same exalted level, capturing the genuine playability that great guitarists demand.
Your amp collection—now in HD
On the POD HD500's menu is a collection of freshly modeled amps, many of which are brand-new to POD, and all of which are essential for performing guitarists who require a wide variety of tones in one streamlined, multi-FX-sized package.
LINE 6 POD HD500 Specifications:
o HD amp models that feel, behave, and interact with previously unachievable realism for an entirely new playing experience
o 16 HD amp models based on the most sought-after guitar tones: California cleans, classic crunch, vibey boutique warmth, modern high-gain, and more
o 100+ effects including delays, modulations, distortions, compressors, EQs, filters, and reverbs; Up to 8 simultaneous FX; Tap tempo
o 512 user-writable preset locations
o 48-second looper with dedicated footswitches for Undo, Play Once, Pre/Post, Rec/Overdub, Play/Stop, Half Speed, and Reverse
o Built-in tuner with signal mute
o 1/4" and XLR outputs (mono/stereo); MIDI in, out/thru; S/PDIF out; USB; L6 LINK; FX loop (mono/stereo); 1/4" aux in; XLR mic in with mic level; 1/4" headphone output; Variax VDI connection; External expression pedal input
o Free editor/librarian software
o Bent sheet metal chassis, metal footswitches and expression pedal.


Main Page
|
Namespace List
|
Class Hierarchy
|
Class List
|
File List
|
Namespace Members
|
Class Members
|
File Members
|
Related Pages
mr::space Namespace Reference
Enumerations
enum
type
{
kInternal
,
kCurrent
= kInternal,
kWorld
,
kObject
,
kCamera
,
kScreen
,
kRaster
,
kNDC
,
kLight
,
kTangent
,
kUnknown
,
kShader
= kObject
}
Types of coordinate systems.
More...
Enumeration Type Documentation
enum
mr::space::type
Types of coordinate systems.
Enumeration values:
kInternal
kCurrent
kWorld
kObject
kCamera
kScreen
kRaster
kNDC
kLight
kTangent
kUnknown
kShader
Generated on Sun Feb 22 18:29:29 2004 for mrClasses by
1.3.5