Rules: At the Double, Forward to Victory, Inspiring Presence
Selections: Almighty Stomp, Death Grip, Fortcrusha Flail, Hurled Boulder
Categories: DESTRUCTION, Behemoth, HERO, Leader, MEGA-GARGANT, GARGANT, GATEBREAKER
Gatebreaker Wound Track: Wounds1, Wounds2, Wounds3, Wounds4, Wounds5, Unit: Gatebreaker Mega-Gargant, Unit Abilities: Almighty Stomp, Crushing Charge, Death Grip, Longshanks, Smash Down, Son of Behemat, Terror, Timberrrrr!, Weapon: Almighty Stomp, Death Grip, Fortcrusha Flail, Hurled Boulder
| Gatebreaker Wound Track | Wounds Suffered | Move | Fortcrusha Flail | Hurled Boulder | Smash Down | Ref |
|---|---|---|---|---|---|---|
| Wounds1 | 0-12 | 12" | 10 | 18" | 2+ | |
| Wounds2 | 13-18 | 11" | 9 | 15" | 3+ | |
| Wounds3 | 19-24 | 10" | 7 | 12" | 4+ | |
| Wounds4 | 25-30 | 9" | 6 | 9" | 5+ | |
| Wounds5 | 31+ | 8" | 5 | 6" | 6+ |
| Unit | Move | Wounds | Bravery | Save | Ref |
|---|---|---|---|---|---|
| Gatebreaker Mega-Gargant | * | 35 | 7 | 4+ |
| Unit Abilities | Ability Details | Ref |
|---|---|---|
| Almighty Stomp | You can re-roll hit rolls of 1 for Almighty Stomp attacks unless the target is a MONSTER. | |
| Crushing Charge | After this model makes a charge move, roll a dice for each enemy unit within 1" of this model. On a 2+, that unit suffers D3 mortal wounds if it is a MONSTER, or D6 mortal wounds if it is not a MONSTER. | |
| Death Grip | You can re-roll hit rolls of 1 for Death Grip attacks that target a MONSTER. | |
| Longshanks | When this model makes a normal move, it can ignore models that have a Wounds characteristic of 10 or less and terrain features that are less than 4" tall at their highest point. It cannot finish the move on top of another model or within 3" of an enemy model. | |
| Smash Down | Add 1 to the damage inflicted by each successful attack made by this model that targets a unit that is part of a garrison or is wholly on or within a terrain feature. In addition, at the end of the combat phase, you can pick 1 terrain feature within 3" of this model and roll a dice. If the roll is equal to or greater than the Smash Down value on this model’s damage table, that terrain feature is reduced to rubble: all of its scenery rules are replaced with the Deadly scenery rule, and its keywords are changed to SCENERY, RUBBLE. |
|
| Son of Behemat | If a spell or ability would slay this model without any wounds or mortal wounds being inflicted by the spell or ability, this model suffers D6 mortal wounds instead. | |
| Terror | Subtract 1 from the Bravery characteristic of enemy units if they are within 3" of any friendly units with this ability. | |
| Timberrrrr! | If this model is slain, before removing the model from the battlefield, the players must roll off. The winner must pick a point on the battlefield 5" from this model. Each unit within 3" of that point suffers D3 mortal wounds unless it is a MEGA-GARGANT. This model is then removed from the battlefield. |
| Weapon | Type | Range | Attacks | To Hit | To Wound | Rend | Damage | Ref |
|---|---|---|---|---|---|---|---|---|
| Almighty Stomp | Melee | 2" | 2 | 3+ | 3+ | -2 | D3 | |
| Death Grip | Melee | 3" | 1 | 3+ | 2+ | -3 | D6 | |
| Fortcrusha Flail | Melee | 3" | * | 4+ | 3+ | -3 | 3 | |
| Hurled Boulder | Missile | * | 1 | 3+ | 2+ | -3 | 4 |
Selections: 5. Glowy Lantern, 6. Extremely Intimidating, Almighty Stomp, Death Grip, Hurled Debris, Shipwrecka Warclub
Categories: DESTRUCTION, Behemoth, HERO, KRAKEN-EATER, Leader, MEGA-GARGANT, GARGANT, Artefact
Artefact: Glowy Lantern, Command Trait: Extremely Intimidating, Damage Table: Wounds0, Wounds1, Wounds2, Wounds3, Wounds4, Wounds5, Unit: Kraken-Eater Mega-Gargant, Unit Abilities: Almighty Stomp, Crushing Charge, Death Grip, Get Orf Me Land!, Longshanks, Son of Behemat, Stuff 'Em In Me Net, Terror, Timberrrrr!, Weapon: Almighty Stomp, Death Grip, Hurled Debris, Shipwrecka Warclub
Selections: Taker Tribes - Greedy Great Brutes
Categories: General
Battle Trait: Get Rid of 'Em!, More Stuff for Me Collection
| Artefact | Artefact Details | Ref |
|---|---|---|
| Glowy Lantern | The bearer can attempt to cast 1 spell in your hero phase and unbind 1 spell in the enemy hero phase, in the same manner as a WIZARD. The bearer knows the Arcane Bolt and Mystic Shield spells. |
| Battle Trait | Battle Trait Details | Ref |
|---|---|---|
| Get Rid of 'Em! | When using the Mightier Makes Rightier rule to determining control of an objective (pg 57), each friendly MANCRUSHER GARGANT model counts as 15 models instead of 10, and each friendly MEGAGARGANT counts as 30 models instead of 20. | |
| More Stuff for Me Collection | Each time an enemy model with an artefact of power is slain, you can roll for a triumph on the Triumph table. You can use that triumph during the current battle, even if you have already used it. If you do not use it during the current battle, it is lost (you cannot use it in your next battle). |
| Command Trait | Command Trait Details | Ref |
|---|---|---|
| Extremely Intimidating | Subtract 1 from hit rolls for enemy models that are within 3" of this general. |
| Damage Table | Variable 1 | Variable 2 | Variable 3 | Variable 4 | Ref |
|---|---|---|---|---|---|
| Wounds0 | Wounds Suffered | Move | Shipwrecka Warclub | Hurled Debris | |
| Wounds1 | 0-12 | 11" | 8 | 24" | |
| Wounds2 | 13-18 | 10" | 7 | 21" | |
| Wounds3 | 19-24 | 9" | 7 | 18" | |
| Wounds4 | 25-30 | 8" | 6 | 15" | |
| Wounds5 | 31+ | 7" | 5 | 12" |
| Unit | Move | Wounds | Bravery | Save | Ref |
|---|---|---|---|---|---|
| Kraken-Eater Mega-Gargant | * | 35 | 7 | 4+ |
| Unit Abilities | Ability Details | Ref |
|---|---|---|
| Almighty Stomp | You can re-roll hit rolls of 1 for Almighty Stomp attacks unless the target is a MONSTER. | |
| Crushing Charge | After this model makes a charge move, roll a dice for each enemy unit within 1" of this model. On a 2+, that unit suffers D3 mortal wounds if it is a MONSTER, or D6 mortal wounds if it is not a MONSTER. | |
| Death Grip | You can re-roll hit rolls of 1 for Death Grip attacks that target a MONSTER. | |
| Get Orf Me Land! | In your hero phase, if you have any models with this ability within 1" of an objective that you control, you can pick one of those models and say that it will kick the objective away. If you do so, you can move that objective up to 2D6" to a new position on the battlefield, more than 1" away from any models, terrain features or other objectives. An objective cannot be kicked away more than once in the same phase. | |
| Longshanks | When this model makes a normal move, it can ignore models that have a Wounds characteristic of 10 or less and terrain features that are less than 4" tall at their highest point. It cannot finish the move on top of another model or within 3" of an enemy model. | |
| Son of Behemat | If a spell or ability would slay this model without any wounds or mortal wounds being inflicted by the spell or ability, this model suffers D6 mortal wounds instead. | |
| Stuff 'Em In Me Net | After this model piles in, you can pick up to D3 enemy models within 3" of this model and roll a dice for each of them. If the roll is at least double that model’s Wounds characteristic, it is slain. | |
| Terror | Subtract 1 from the Bravery characteristic of enemy units if they are within 3" of any friendly units with this ability. | |
| Timberrrrr! | If this model is slain, before removing the model from the battlefield, the players must roll off. The winner must pick a point on the battlefield 5" from this model. Each unit within 3" of that point suffers D3 mortal wounds unless it is a MEGA-GARGANT. This model is then removed from the battlefield. |
| Weapon | Type | Range | Attacks | To Hit | To Wound | Rend | Damage | Ref |
|---|---|---|---|---|---|---|---|---|
| Almighty Stomp | Melee | 2" | 2 | 3+ | 3+ | -2 | D3 | |
| Death Grip | Melee | 3" | 1 | 3+ | 2+ | -3 | D6 | |
| Hurled Debris | Missile | * | 3 | 4+ | 3+ | -1 | D3 | |
| Shipwrecka Warclub | Melee | 3" | * | 3+ | 3+ | -2 | 2 |
Selections: 'Eadbutt, 3x Mancrusher Gargant [480pts], Massive Club, Mighty Kick
Categories: DESTRUCTION, Behemoth, HERO, KRAKEN-EATER, MEGA-GARGANT, GARGANT, Battleline
Damage Table: Wounds0, Wounds1, Wounds2, Wounds3, Wounds4, Wounds5, Unit: Mancrusher Gargant, Unit Abilities: Keep Up!, Stomping Charge, Stuff 'Em In Me Bag, Timber!, Weapon: 'Eadbutt, Massive Club, Mighty Kick
| Damage Table | Variable 1 | Variable 2 | Variable 3 | Variable 4 | Ref |
|---|---|---|---|---|---|
| Wounds0 | Wounds Suffered | Stomping Charge | Massive Club | 'Eadbutt | |
| Wounds1 | 0-2 | 2+ | 10 | 4 | |
| Wounds2 | 3-4 | 3+ | 9 | 3 | |
| Wounds3 | 5-7 | 4+ | 8 | 18" | |
| Wounds4 | 8-9 | 5+ | 6 | 2 | |
| Wounds5 | 10+ | 6+ | 5 | 1 |
| Unit | Move | Wounds | Bravery | Save | Ref |
|---|---|---|---|---|---|
| Mancrusher Gargant | 8" | 12 | 7 | 5+ |
| Unit Abilities | Ability Details | Ref |
|---|---|---|
| Keep Up! | If this unit is within 12" of a friendly MEGA-GARGANT at the start of the charge phase, it can attempt to charge in that charge phase even if it ran in the same turn. | |
| Stomping Charge | After a model from this unit makes a charge move, pick 1 enemy unit within 1" of it and roll a dice. If the roll is equal to or greater than the Stomping Charge value for the charging model shown on the damage table above, that unit suffers D3 mortal wounds. If this unit has more than 1 model, do not allocate the mortal wounds until all of the models in this unit have made their charge moves. | |
| Stuff 'Em In Me Bag | After a model from this unit piles in, you can pick 1 enemy model within 3" of it and roll a dice. If the roll is at least double that model’s Wounds characteristic, it is slain. | |
| Timber! | If a model from this unit is slain, before removing it from the battlefield, the players must roll off. The winner must pick a point on the battlefield 3" from that model. Each unit within 2" of that point suffers D3 mortal wounds unless it is a GARGANT. The model is then removed from the battlefield. |
| Weapon | Type | Range | Attacks | To Hit | To Wound | Rend | Damage | Ref |
|---|---|---|---|---|---|---|---|---|
| 'Eadbutt | Melee | 1" | 1 | 4+ | 3+ | -3 | * | |
| Massive Club | Melee | 3" | * | 3+ | 3+ | -1 | 1 | |
| Mighty Kick | Melee | 2" | 1 | 3+ | 3+ | -2 | D3 |
Selections: 'Eadbutt, 3x Mancrusher Gargant [480pts], Massive Club, Mighty Kick
Categories: DESTRUCTION, Behemoth, HERO, KRAKEN-EATER, MEGA-GARGANT, GARGANT, Battleline
Damage Table: Wounds0, Wounds1, Wounds2, Wounds3, Wounds4, Wounds5, Unit: Mancrusher Gargant, Unit Abilities: Keep Up!, Stomping Charge, Stuff 'Em In Me Bag, Timber!, Weapon: 'Eadbutt, Massive Club, Mighty Kick
| Damage Table | Variable 1 | Variable 2 | Variable 3 | Variable 4 | Ref |
|---|---|---|---|---|---|
| Wounds0 | Wounds Suffered | Stomping Charge | Massive Club | 'Eadbutt | |
| Wounds1 | 0-2 | 2+ | 10 | 4 | |
| Wounds2 | 3-4 | 3+ | 9 | 3 | |
| Wounds3 | 5-7 | 4+ | 8 | 18" | |
| Wounds4 | 8-9 | 5+ | 6 | 2 | |
| Wounds5 | 10+ | 6+ | 5 | 1 |
| Unit | Move | Wounds | Bravery | Save | Ref |
|---|---|---|---|---|---|
| Mancrusher Gargant | 8" | 12 | 7 | 5+ |
| Unit Abilities | Ability Details | Ref |
|---|---|---|
| Keep Up! | If this unit is within 12" of a friendly MEGA-GARGANT at the start of the charge phase, it can attempt to charge in that charge phase even if it ran in the same turn. | |
| Stomping Charge | After a model from this unit makes a charge move, pick 1 enemy unit within 1" of it and roll a dice. If the roll is equal to or greater than the Stomping Charge value for the charging model shown on the damage table above, that unit suffers D3 mortal wounds. If this unit has more than 1 model, do not allocate the mortal wounds until all of the models in this unit have made their charge moves. | |
| Stuff 'Em In Me Bag | After a model from this unit piles in, you can pick 1 enemy model within 3" of it and roll a dice. If the roll is at least double that model’s Wounds characteristic, it is slain. | |
| Timber! | If a model from this unit is slain, before removing it from the battlefield, the players must roll off. The winner must pick a point on the battlefield 3" from that model. Each unit within 2" of that point suffers D3 mortal wounds unless it is a GARGANT. The model is then removed from the battlefield. |
| Weapon | Type | Range | Attacks | To Hit | To Wound | Rend | Damage | Ref |
|---|---|---|---|---|---|---|---|---|
| 'Eadbutt | Melee | 1" | 1 | 4+ | 3+ | -3 | * | |
| Massive Club | Melee | 3" | * | 3+ | 3+ | -1 | 1 | |
| Mighty Kick | Melee | 2" | 1 | 3+ | 3+ | -2 | D3 |
Selections: Allegiance: Sons of Behemat
Categories: Allegiance
Battle Trait: Chuck Rocks, Mightier Makes Rightier, Weapon: Chuck Rocks
| Battle Trait | Battle Trait Details | Ref |
|---|---|---|
| Chuck Rocks | In your shooting phase, you can pick 1 friendly MANCRUSHER GARGANT unit wholly within 18" of your general. Each model in that unit can make a shooting attack with the Chuck Rocks missile weapon below: | |
| Mightier Makes Rightier | When determining control of an objective, each friendly MANCRUSHER GARGANT model counts as 10 models instead of 1, and each friendly MEGAGARGANT counts as 20 models instead of 1. |
| Weapon | Type | Range | Attacks | To Hit | To Wound | Rend | Damage | Ref |
|---|---|---|---|---|---|---|---|---|
| Chuck Rocks | Missile | 18" | D3 | 4+ | 3+ | -1 | D3 |
Selections: 2000 Points - Battlehost
Categories: Game Options, Battlehost
Selections: Origin: Ghur
Categories: Realm of Origin
Categories: ENDLESS SPELL, MALEVOLENT MAELSTROM, SHYISH, Malign Sorcery
Spell: Summon Malevolent Maelstrom, Unit Abilities: Devourer of Sorcery and Souls, Empowered by Shyish, Fly, Morbid Detonation, Predatory
| Spell | Casting Value | Description | Ref |
|---|---|---|---|
| Summon Malevolent Maelstrom | 7 | If successfully cast, set up a Malevolent Maelstrom model wholly within 18" of the caster. |
| Unit Abilities | Ability Details | Ref |
|---|---|---|
| Devourer of Sorcery and Souls | If a WIZARD successfully casts a spell within 12" of a Malevolent Maelstrom, and that spell is not unbound, the Malevolent Maelstrom will attempt to steal the energies of the spell. Make an additional unbinding roll for that spell. If this unbinding roll is successful, the spell is unbound and 1 energy point is allocated to this model. In addition, 1 energy point is allocated to this model for each unit destroyed within 6" of this model. | |
| Empowered by Shyish | If your battle is taking place in the Realm of Death, allocate 1 additional energy point to this model at the start of each battle round. | |
| Fly | This unit can fly. | |
| Morbid Detonation | At the end of each battle round, roll a dice for each Malevolent Maelstrom and add the number of energy points allocated to that model to the roll. On a 7+ that Malevolent Maelstrom explodes. Each unit within 3D6" of the model that exploded suffers D3 mortal wounds. The model that exploded is then dispelled. | |
| Predatory | A Malevolent Maelstrom is a predatory endless spell. It can move up to 8" and can fly. |
Selections: 1 Command Point [50pts]
Categories: Command Points
At the Double: You can use this command ability after you make a run roll for a friendly unit that is within 6" of a friendly HERO, or 12" of a friendly HERO that is a general.  (Core Rules p3)
Forward to Victory: You can use this command ability after you make a charge roll for a friendly unit that is within 6" of a friendly HERO, or 12" of a friendly HERO that is a general. If you do so, re-roll the charge roll. (Core Rules p3)
Inspiring Presence: You can use this command ability at the start of the battleshock phase. If you do so, pick a friendly unit that is within 6" of friendly HERO, or 12" of a friendly HERO that is a general. That unit does not have to take battleshock tests in that phase. (Core Rules p3)
Created with BattleScribe


My Favorite Places
Within the United States
Bellingham, Washington
has a beautiful ocean view at Chuckanut Bay.
Oceanside, California
has a long, wooden pier.
Miami, Florida
has many college students in spring.


Interfacing with Automatic Differentiation¶
Automatic differentiation is straightforward to use in cases where an explicit expression for the cost function is available. But this is not always possible. Often one has to interface with external routines or data. In this chapter we will consider a number of different ways of doing so.
To do this, we will consider the problem of finding parameters \(\theta\) and \(t\) that solve an optimization problem of the form:
Here, \(R\) is a two dimensional rotation matrix parameterized using the angle \(\theta\) and \(t\) is a two dimensional vector. \(f\) is an external distortion function.
We begin by considering the case, where we have a templated function
TemplatedComputeDistortion
that can compute the function
\(f\). Then the implementation of the corresponding residual
functor is straightforward and will look as follows:
template <typename T> T TemplatedComputeDistortion(const T r2) {
const double k1 = 0.0082;
const double k2 = 0.000023;
return 1.0 + k1 * y2 + k2 * r2 * r2;
}
struct Affine2DWithDistortion {
Affine2DWithDistortion(const double x_in[2], const double y_in[2]) {
x[0] = x_in[0];
x[1] = x_in[1];
y[0] = y_in[0];
y[1] = y_in[1];
}
template <typename T>
bool operator()(const T* theta,
const T* t,
T* residuals) const {
const T q_0 = cos(theta[0]) * x[0] - sin(theta[0]) * x[1] + t[0];
const T q_1 = sin(theta[0]) * x[0] + cos(theta[0]) * x[1] + t[1];
const T f = TemplatedComputeDistortion(q_0 * q_0 + q_1 * q_1);
residuals[0] = y[0] - f * q_0;
residuals[1] = y[1] - f * q_1;
return true;
}
double x[2];
double y[2];
};
So far so good, but let us now consider three ways of defining \(f\) which are not directly amenable to being used with automatic differentiation:
- A non-templated function that evaluates its value.
- A function that evaluates its value and derivative.
- A function that is defined as a table of values to be interpolated.
We will consider them in turn below.
A function that returns its value¶
Suppose we were given a function ComputeDistortionValue
with
the following signature
double ComputeDistortionValue(double r2);
that computes the value of \(f\). The actual implementation of the
function does not matter. Interfacing this function with
Affine2DWithDistortion
is a three step process:
- Wrap
ComputeDistortionValue
into a functorComputeDistortionValueFunctor
. - Numerically differentiate
ComputeDistortionValueFunctor
usingNumericDiffCostFunction
to create aCostFunction
. - Wrap the resulting
CostFunction
object usingCostFunctionToFunctor
. The resulting object is a functor with a templatedoperator()
method, which pipes the Jacobian computed byNumericDiffCostFunction
into the approproateJet
objects.
An implementation of the above three steps looks as follows:
struct ComputeDistortionValueFunctor {
bool operator()(const double* r2, double* value) const {
*value = ComputeDistortionValue(r2[0]);
return true;
}
};
struct Affine2DWithDistortion {
Affine2DWithDistortion(const double x_in[2], const double y_in[2]) {
x[0] = x_in[0];
x[1] = x_in[1];
y[0] = y_in[0];
y[1] = y_in[1];
compute_distortion.reset(new ceres::CostFunctionToFunctor<1, 1>(
new ceres::NumericDiffCostFunction<ComputeDistortionValueFunctor,
ceres::CENTRAL,
1,
1>(
new ComputeDistortionValueFunctor)));
}
template <typename T>
bool operator()(const T* theta, const T* t, T* residuals) const {
const T q_0 = cos(theta[0]) * x[0] - sin(theta[0]) * x[1] + t[0];
const T q_1 = sin(theta[0]) * x[0] + cos(theta[0]) * x[1] + t[1];
const T r2 = q_0 * q_0 + q_1 * q_1;
T f;
(*compute_distortion)(&r2, &f);
residuals[0] = y[0] - f * q_0;
residuals[1] = y[1] - f * q_1;
return true;
}
double x[2];
double y[2];
std::unique_ptr<ceres::CostFunctionToFunctor<1, 1> > compute_distortion;
};
A function that returns its value and derivative¶
Now suppose we are given a function ComputeDistortionValue
thatis able to compute its value and optionally its Jacobian on demand
and has the following signature:
void ComputeDistortionValueAndJacobian(double r2,
double* value,
double* jacobian);
Again, the actual implementation of the function does not
matter. Interfacing this function with Affine2DWithDistortion
is a two step process:
- Wrap
ComputeDistortionValueAndJacobian
into aCostFunction
object which we callComputeDistortionFunction
. - Wrap the resulting
ComputeDistortionFunction
object usingCostFunctionToFunctor
. The resulting object is a functor with a templatedoperator()
method, which pipes the Jacobian computed byNumericDiffCostFunction
into the approproateJet
objects.
The resulting code will look as follows:
class ComputeDistortionFunction : public ceres::SizedCostFunction<1, 1> {
public:
virtual bool Evaluate(double const* const* parameters,
double* residuals,
double** jacobians) const {
if (!jacobians) {
ComputeDistortionValueAndJacobian(parameters[0][0], residuals, NULL);
} else {
ComputeDistortionValueAndJacobian(parameters[0][0], residuals, jacobians[0]);
}
return true;
}
};
struct Affine2DWithDistortion {
Affine2DWithDistortion(const double x_in[2], const double y_in[2]) {
x[0] = x_in[0];
x[1] = x_in[1];
y[0] = y_in[0];
y[1] = y_in[1];
compute_distortion.reset(
new ceres::CostFunctionToFunctor<1, 1>(new ComputeDistortionFunction));
}
template <typename T>
bool operator()(const T* theta,
const T* t,
T* residuals) const {
const T q_0 = cos(theta[0]) * x[0] - sin(theta[0]) * x[1] + t[0];
const T q_1 = sin(theta[0]) * x[0] + cos(theta[0]) * x[1] + t[1];
const T r2 = q_0 * q_0 + q_1 * q_1;
T f;
(*compute_distortion)(&r2, &f);
residuals[0] = y[0] - f * q_0;
residuals[1] = y[1] - f * q_1;
return true;
}
double x[2];
double y[2];
std::unique_ptr<ceres::CostFunctionToFunctor<1, 1> > compute_distortion;
};
A function that is defined as a table of values¶
The third and final case we will consider is where the function \(f\) is defined as a table of values on the interval \([0, 100)\), with a value for each integer.
vector<double> distortion_values;
There are many ways of interpolating a table of values. Perhaps the simplest and most common method is linear interpolation. But it is not a great idea to use linear interpolation because the interpolating function is not differentiable at the sample points.
A simple (well behaved) differentiable interpolation is the Cubic Hermite Spline. Ceres Solver ships with routines to perform Cubic & Bi-Cubic interpolation that is automatic differentiation friendly.
Using Cubic interpolation requires first constructing a
Grid1D
object to wrap the table of values and then
constructing a CubicInterpolator
object using it.
The resulting code will look as follows:
struct Affine2DWithDistortion {
Affine2DWithDistortion(const double x_in[2],
const double y_in[2],
const std::vector<double>& distortion_values) {
x[0] = x_in[0];
x[1] = x_in[1];
y[0] = y_in[0];
y[1] = y_in[1];
grid.reset(new ceres::Grid1D<double, 1>(
&distortion_values[0], 0, distortion_values.size()));
compute_distortion.reset(
new ceres::CubicInterpolator<ceres::Grid1D<double, 1> >(*grid));
}
template <typename T>
bool operator()(const T* theta,
const T* t,
T* residuals) const {
const T q_0 = cos(theta[0]) * x[0] - sin(theta[0]) * x[1] + t[0];
const T q_1 = sin(theta[0]) * x[0] + cos(theta[0]) * x[1] + t[1];
const T r2 = q_0 * q_0 + q_1 * q_1;
T f;
compute_distortion->Evaluate(r2, &f);
residuals[0] = y[0] - f * q_0;
residuals[1] = y[1] - f * q_1;
return true;
}
double x[2];
double y[2];
std::unique_ptr<ceres::Grid1D<double, 1> > grid;
std::unique_ptr<ceres::CubicInterpolator<ceres::Grid1D<double, 1> > > compute_distortion;
};
In the above example we used Grid1D
and
CubicInterpolator
to interpolate a one dimensional table of
values. Grid2D
combined with CubicInterpolator
lets
the user to interpolate two dimensional tables of values. Note that
neither Grid1D
or Grid2D
are limited to scalar
valued functions, they also work with vector valued functions.


Here is a list of all of my projects:
This is my personal portfolio website. It contains all of my projects and my contact information.
This project is currently under construction. Stay tuned, It will be availabe very soon.
This project is currently under construction. Stay tuned, It will be availabe very soon.
This project is currently under construction. Stay tuned, It will be availabe very soon.
This project is currently under construction. Stay tuned, It will be availabe very soon.
This project is currently under construction. Stay tuned, It will be availabe very soon.


[data-model]
[data-model] table with settings.headers
[data-model] table with settings.headers with title alias-ing
[data-model] table with settings.headers with filter


--- title: 'Doc for ethicalgallery' permalink: 'ethical' layout: page published: true ---
To not hardcoding anythig, I have created a setitngs, where you can make the product grid show variants as separate product or not, for this go into Themes > Customize Theme > Generall Settings under Product Grid sections you can find the settings
For this go into Themes > Customize Theme > Generall Settings under Global Layout sections you can find the settings
Visiti the following link - https://chrome.google.com/webstore/detail/custom-fields-for-shopify/alfplfpobekffinigeidgmmfjollghln
After we install this we can activate additional field for inner pages and put there the value we need, in our case it will be url to the image which will be loaded as banner for each page.
Now we can upload our images into files section and then take their url and past in the fields we now have in dashboard, for this
we go into settings > files and upload our images<
We now just need to copy the url of the image, go to the page we want this image be as banner, activate metafields and put the url into that field. Check please this videoinstruction where the all steps are shown.
For this I have created new Featured you can then change its name, and I have chosen this new created collection for carousel. Just drag and drop to change the order.
I have written a small script, which will allow us to have full width image in every page we want, just need add *full* into alt text of the image, check please the following video where I am showing how to it


--- layout: archive title: Zulip Chat Archive permalink: /stream/113489-new-members/topic/Linking.20.2F.20Using.20mathlib.20and.20tactics.html ---
Hello everybody! I am pretty new to using Lean - I just installed via the extension on VScode a few weeks ago. I was collaborating with an instructor remotely, and I downloaded a file they had been editing. It used the linarith
tactic (specifically unknown identifier 'linarith'
). However, I have been getting errors from its use, and it does not seem like I can import anything to make them go away. Is there anything I can do? Thank you!
import tactic
Installing via the extension won't get you everything you need to use mathlib. You should follow the instructions here for your OS and then proceed to the projects doc.
(If that doesn't work, can you tell us which installation instructions you followed?)
@Scott Morrison unfortunately, import tactic
is giving me this error: file 'tactic' not found in the LEAN_PATH
@Bryan Gin-ge Chen I followed installation for the supporting tools for macOS, but I didn't touch anything related to elan
Did you follow the "You're not done yet" link at the bottom of the macOS page?
From the sounds of it you didn't!
linarith
, along with almost everything else, is in mathlib
, not Lean itself, and you need to install it too.
Ah, makes sense. I'll do that now and report back!
It works! I have a few questions about the content of the thing I'm working on, but I'll make a new topic for that. Thank you both so much for all the help!
{% endraw %}Last updated: Apr 24 2020 at 19:02 UTC


Jocelin Ho
Project Portfolio
Hello! I am Jocelin Ho! I am a first year EE master student in Stanford.
Projects
Waiting in line
Needfinding
Prototyping
...


CPPGM Programming Assignment 2 (posttoken)
Overview
Write a C++ application called posttoken
that accepts a C++ Source File on standard input that does NOT include any...
- preprocessing directives
- pre-defined macro names
- the pragma operator
...executes phases 1, 2, 3, 4, 5, 6 and the tokenization part of 7 of the Phases of Translation, and describes the resulting sequence of analyzed and categorized tokens
to standard output in the specified format.
Notice that by virtue of the restrictions, phase 4 (preprocessing) is a no-op (does nothing).
Prerequisites
You should complete Programming Assignment 1 before starting this assignment.
Starter Kit
The starter kit can be obtained from:
$ git clone git://git.cppgm.org/pa2.git
It contains a stub implementation of posttoken
with some optional starter code, a compiled reference implementation and a test suite.
You will also want to reuse most of your code from PA1.
Input Format
The C++ Source File shall be read from standard input std::cin
in UTF-8 format as per PA1.
Error Reporting
If an error occurs in phases 1, 2 or 3 main
should return EXIT_FAILURE
as per the behaviour of pptoken
in PA1.
If an error occurs while converting a preprocessing-token
to a token
than you should output an invalid
token (see below) and continue.
Preprocessing-tokens #
, ##
, %:
, %:%:
, non-whitespace-characters
, and header-names
, should be output as invalids
.
If a preprocessing-token
contains a pre-defined macro names or the pragma operator you may treat them as identifiers.
Restrictions
As per PA1
Output Format
posttoken
shall write to standard output the following in UTF-8 format:
For each token in the sequence, one line shall be printed consisting of space-character separated elements.
The first element is the Token Type, one of:
simple
identifier
literal
user-defined-literal
invalid
The second element is the UTF-8 encoded source from. The source is the PA1 Token Data. (In particular it should have universal-character-names
decoded, but escape-sequences
are not decoded).
In the case of string literal token concatenation, multiple preprocessing-tokens
are used to form a single token
. The source for such a token is a space-seperated list of the preprocessing-token
sources. If string literal concatenation fails than output an invalid
that also has a source of the same space seperated list.
The output should end with a eof
on line by itself.
Depending on the Token Type the remaining elements are as follows:
simple
simple
represent keywords
, operators
and punctuators
.
This includes true
, false
, nullptr
, new
and delete
- for this assignment we will treat them as keywords
and not literals
or operators
.
They are output as
simple <source> <TERMNAME>
Where <TERMNAME>
is given in the list below under Simple Token Types (defined below).
For example, for an input of:
auto &&
the output is:
simple auto KW_AUTO
simple && OP_LAND
identifier (in output context)
identifiers
are output as
identifier <source>
Where <source>
is the identifier in UTF-8, for example for an input of:
foo
the output is:
identifier foo
literal
literal <source> <type> <hexdump>
Where <type>
is the type of the literal - either a Fundamental Type (defined below), or an array of <n> <fundamental_type>
.
For example:
char
long long int
array of 42 char16_t
And <hexdump>
is the hexadecimal representation of the data in memory in the Linux x86-64 ABI (defined below).
Important: When scanning
floating-literals
for output, please use the functions from the starter codePA2Decode_float
,PA2Decode_double
andPA2Decode_long_double
. You may also implement scanning yourself but please pass the literal through these functions for PA2 output for bit-perfect compatibility with test harness and reference implementation.
For example, for an input of:
1000000 'A' "ABC" 3.2
the output is:
literal 1000000 int 40420F00
literal 'A' char 41
literal "ABC" array of 4 char 41424300
literal 3.2 double 9A99999999990940
In the case of string literal concatenation:
"abc" /* concat */ "def"
The output should have the sources joined space separated:
literal "abc" "def" array of 7 char<PHONE_NUMBER>6600
user-defined-literal
One of:
user-defined-literal <source> <ud-suffix> integer <prefix>
user-defined-literal <source> <ud-suffix> floating <prefix>
user-defined-literal <source> <ud-suffix> character <type> <hexdump>
user-defined-literal <source> <ud-suffix> string <type> <hexdump>
Where <ud-suffix>
is the ud-suffix
In the case of integer
and floating
, <prefix>
is the source without the ud-suffix
In the case of string
and character
, <type> <hexdump>
have the same meaning as in literal
(above).
For example:
123_foo 4.2_bar 0x3_baz "abc"_qux 'a'_quux
outputs:
user-defined-literal 123_foo _foo integer 123
user-defined-literal 4.2_bar _bar floating 4.2
user-defined-literal 0x3_baz _baz integer 0x3
user-defined-literal "abc"_qux _qux string array of 4 char 61626300
user-defined-literal 'a'_quux _quux character char 61
invalid
For any valid preprocessing-token
that does not posttokenize output:
invalid <source>
For example:
# 123abc 1..e
Should output:
invalid #
invalid 123abc
invalid 1..e
Also as stated above invalid string literal concatenation should output one invalid. For example:
u8"abc" u"def" U"ghi"
Should output:
invalid u8"abc" u"def" U"ghi"
Features
First you will need to apply the same functionality from pptoken to get the stream of processing-tokens
.
whitespace-sequence
and new-line
are ignored. (They are for preprocessing, which we shall implement in a later assignment)
Any occurences of non-whitespace-character
or header-name
output as an invalid
.
The remaining preprocessing-tokens
are:
identifier
preprocessing-op-or-punc
pp-number
character-literal
user-defined-character-literal
string-literal
user-defined-string-literal
We will discuss each of them:
identifier (in preprocessing-token context)
If it is a member of the keyword list, output it as a keyword, otherwise output it as an identifier.
preprocessing-op-or-punc
If you encounter the operators #
, ##
, %:
, %:%:
output them as invalid
.
For the remaining operators
and punctuation
you should map them to the appropriate simples
given in the table below, or output them as invalid
if not found.
pp-number
You need to analyze the string and classify it as matching the integer-literal
, floating-literal
, user-defined-integer-literal
or user-defined-floating-literal
grammar.
If it doesn't match any of these grammars, output it as invalid
.
In the case of user-defined-integer-literal
and user-defined-floating-literal
you need to split the ud_suffix
off and then output the prefix and ud-suffix
as a string.
In the case of integer-literal
and floating-literal
you will then need to calculate its appropriate type (see 2.14.2 and 2.14.4 in the standard). If no appropriate type is found output it as an invalid
.
Once the appropriate type is found you will then scan it into that type.
For floating-literals
once you have confirmed that they match the appropriate grammar, use the method shown in Decode_float
, Decode_double
and Decode_long_double
in the starter code to scan them for output. (This is just for testing so the hexdump is binary identical to the reference implementation.)
You may optionally check that floating-literals
are in the range of their types:
If the scaled value is not in the range of representable values for its type, the program is ill-formed. (course defined optional)
but this is not required for PA2, nor will it be tested for PA2.
For integer-literals
you need to check that they fit into the maximal type based on their integer-suffix
, if they do not output them as invalid
. Calculate the appropriate type to place them in and scan them into that type for output. This is explained in 2.14.2.
character-literal
Escape sequences (<IP_ADDRESS> Table 7) need to be decoded into their code point.
We shall course define the limits of character literals as follows:
All character literals must contain one code point in the valid Unicode range.
[0 .. 0xD800)
and[0xE000 .. 0x110000)
If an ordinary character literals code point is less than or equal to 127 (it is in the ASCII range and representable as one UTF-8 code unit), its type is
char
, otherwise its type isint
. In both cases its value is its code point.For the remaining character literals types (u, U, L) the type is as per the standard (
char16_t
,char32_t
,wchar_t
), and ill-formed if the code point doesn't fit in a single code unit.
L
/wchar_t
is defined by the ABI (defined below) as 32 bits (UTF-32, same as U
)
user-defined-character-literal
The same as for character-literal except extract the ud-suffix
first
string-literal
First decode escape sequences (in non-raw literals) so that each string-literal
are sequences of code points.
You then need to consider maximal consequtive sequences of both kinds (user-defined and non-user-defined) together and apply the phase 6 rules about string concatenation.
A string-literal
without an encoding prefix is called an ordinary string literal.
There are 4 encoding-prefixes
: u8
(UTF-8), u
(UTF-16), U
(UTF-32), L
(UTF-32).
We shall course define the rule for concatenating string literals as follows:
- If a sequence of
string-literals
contains no encoding prefixes, the entire sequence is an treated as an ordinary string literal- If a sequence of
string-literals
contains one of the fourencoding-prefixes
, the entire sequence shall use that prefix.- If a sequence of
string-literals
contains two or more different types of the fourencoding-prefixes
, the program is ill-formed, output asinvalid
.
Read <IP_ADDRESS> for clarification of this.
Concatenate the sequences and append a terminating 0 code point.
You will then need to UTF-8, UTF-16 or UTF-32 encode them as appropriate depending on the encoding prefix. As our execution character set is UTF-8, ordinary string literals are UTF-8 (same as u8
).
The type is array of <n> <ch>
, where <n>
is the number of code units (not code points), including terminating 0 code point - and <ch>
is the appropriate type (char
, char16_t
, char32_t
, wchar_t
)
user-defined-string-literal
The rules are similiar to string-literal
, and in fact user-defined-string-literals
and combined with normal string-literals
as part of the maximal sequence.
The rule about combining ud-suffixes
is similiar to the one about encoding-prefixes
. The total number of ud-suffix
types must be 0 or 1, or the program is ill-formed. If it is 0 than it is a normal string-literal
. If it is 1 than it is a user-defined-string-literal
of that type.
Read <IP_ADDRESS> for clarification.
Testing / Reference Implementation
The test suite is similiar to PA1. Execute:
$ make test
In order to deal with invalids and keep going, stderr is not included in the output. It is placed in another file. So the content of the tests directory is:
tests/123-test-name.t // test stdin
tests/123-test-name.ref // reference impl stdout
tests/123-test-name.ref.exit_status // reference impl exit status
tests/123-test-name.ref.stderr // reference impl stderr
tests/123-test-name.my // your impl stdout
tests/123-test-name.my.exit_status // your impl exit status
tests/123-test-name.my.stderr // your impl stderr
If you add a test case:
tests/456-my-test-case.t
You can regenerate reference impl output with:
$ make ref-test
and then retest against it:
$ make test
However you should not modify existing tests or their reference output.
Definition: Fundamental Types
There are exactly 20 fundamental types in C++.
They are:
signed char
short int
int
long int
long long int
unsigned char
unsigned short int
unsigned int
unsigned long int
unsigned long long int
wchar_t
char
char16_t
char32_t
bool
float
double
long double
void
nullptr_t
Each fundamental type is different (distinct) from every other.
The C++ standard does not specify exactly the size, alignment and representation of each of these types.
This information is given in a separate document called the ABI (defined below).
Side note: In some cases the ABI specifies that two fundamental types have the same representation. For example
char
vssigned char
. Alsowchar_t
vschar32_t
. However the toolchain must still treat them as different types (as will your bootstrap compiler).
At this point please read the C++ standard 3.9.1 Fundamental types.
Definition: Linux x86-64 ABI
In order for the program produced by your toolchain to make system calls to the kernel, the size, alignment and representation of types needs to be agreed upon.
The C/C++ standards do not specify exact representations of types, so a specification called the ABI (Application Binary Interface) is formed.
The Linux x86-64 kernel adheres to an ABI specification called the "System V AMD64 ABI". It is documented here:
System V ABI AMD64 Architecture
It is course defined that your toolchain shall implement this ABI.
In particular:
- 8-bit byte
- Multibyte types are stored byte-wise little-endian
- Signed integers are stored using 2s-compliment
- The size of the fundamental types is given in the Table 3.1 Scalar Types of the ABI spec page 12
For this assignment this dictates the hexdump of literals.
 OP_DOT
simple ... OP_DOTS
simple .*
You can start by creating an implementation of IPPTokenStream
from PA1, and connect up your PA1 code to it.
emit_whitespace_sequence
and emit_new_line
are no-ops.
Apart from string-literals
and user-defined-string-literals
each preprocessing-token
(IPPTokenStream
) outputs exactly one token (maybe invalid
).
string-literals
and user-defined-string-literals
need to be collected up into a sequence, terminated when you see some other token type. Once terminated they are processed as one token. You can implement string-literals
first as one to one (outputing one token like the others), and then refactor in this string concatenation feature after.
To output a token you can use the DebugPostTokenOutputStream
class from the starter code.
You will need to write UTF-8 and UTF-16 decoders and encoders for string and character literals. Recall that UTF-32 encoding/decoding is trivial (UTF-32 code units are one-to-one with code points).


interface CryptoApiService : ApiService, CustomOperationService
Encapsulates logic, associated with blockchain crypto API
Graphene blockchain crypto API
Author
Dmitriy Bushuev
CryptoApiServiceImpl |
Implementation of CryptoApiService class CryptoApiServiceImpl : CryptoApiService |


Shopping_FindReviewsAndGuidesRequestType Class Reference
| Inherits from | Shopping_AbstractRequestType : NSObject |
| Declared in | Shopping_FindReviewsAndGuidesRequestType.h Shopping_FindReviewsAndGuidesRequestType.m |
Tasks
-
productID
Use this to retrieve reviews (not guides) for one specific product.
property
Specify the ID as a string, and use the type attribute
to indicate the nature of the ID you are specifying.
Same as FindProducts, supports Reference, ISBN, UPC, EAN.
ProductID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together. -
userID
Retrieves reviews and guides written by the specified user.
property
UserID can be combined with either ProductID or CategoryID but not both (as
ProductID and CategoryID cannot be used together). -
categoryID
Specify a single CategoryID to restrict your query to a specific Guide category.
property
If the specified category ID doesn’t match an existing category
for the site, an invalid-category error message is returned.
To determine valid categories:
Use findItemsAdvanced from the Finding API with CategoryHistogram value in the OutputSelector field
to retrieve matching categories. Then make another
FindReviewsAndGuides call with the ID of a matching category.
CategoryID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together. -
maxResultsPerPage
Specifies the maximum number of reviews per page (not guides) in the returned list. If not
property
specified, the default returns 5 results per page. -
pageNumber
Specifies the number of the page of data to return in the current call.
property
Specify a positive value equal to or lower than the number of pages
available (which you determine by examining the results of your initial request). -
reviewSort
Include ReviewSort in your request if you want to sort by a parameter,
property
such as CreationTime. See the SortOrder field for values for specifying
that results are returned in ascending or descending order.
(By default, results are returned in descending order.) -
sortOrder
Sorts search results in ascending or descending order, in conjunction
property
with the value you specify in ReviewsSort. The default is descending
order.
For example, for the ReviewsSort value of CreationTime,
and a SortOrder value of Descending, the most recently created
reviews are returned first.
Properties
categoryID
Specify a single CategoryID to restrict your query to a specific Guide category.
If the specified category ID doesn’t match an existing category
for the site, an invalid-category error message is returned.
To determine valid categories:
Use findItemsAdvanced from the Finding API with CategoryHistogram value in the OutputSelector field
to retrieve matching categories. Then make another
FindReviewsAndGuides call with the ID of a matching category.
CategoryID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
@property (nonatomic, retain) NSString *categoryID
Discussion
Specify a single CategoryID to restrict your query to a specific Guide category.
If the specified category ID doesn’t match an existing category
for the site, an invalid-category error message is returned.
To determine valid categories:
Use findItemsAdvanced from the Finding API with CategoryHistogram value in the OutputSelector field
to retrieve matching categories. Then make another
FindReviewsAndGuides call with the ID of a matching category.
CategoryID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
type : NSString, wrapper for primitive string
Declared In
Shopping_FindReviewsAndGuidesRequestType.h
maxResultsPerPage
Specifies the maximum number of reviews per page (not guides) in the returned list. If not
specified, the default returns 5 results per page.
@property (nonatomic, retain) NSNumber *maxResultsPerPage
Discussion
Specifies the maximum number of reviews per page (not guides) in the returned list. If not
specified, the default returns 5 results per page.
type : NSNumber, wrapper for primitive int
Declared In
Shopping_FindReviewsAndGuidesRequestType.h
pageNumber
Specifies the number of the page of data to return in the current call.
Specify a positive value equal to or lower than the number of pages
available (which you determine by examining the results of your initial request).
@property (nonatomic, retain) NSNumber *pageNumber
Discussion
Specifies the number of the page of data to return in the current call.
Specify a positive value equal to or lower than the number of pages
available (which you determine by examining the results of your initial request).
type : NSNumber, wrapper for primitive int
Declared In
Shopping_FindReviewsAndGuidesRequestType.h
productID
Use this to retrieve reviews (not guides) for one specific product.
Specify the ID as a string, and use the type attribute
to indicate the nature of the ID you are specifying.
Same as FindProducts, supports Reference, ISBN, UPC, EAN.
ProductID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
@property (nonatomic, retain) Shopping_ProductIDType *productID
Discussion
Use this to retrieve reviews (not guides) for one specific product.
Specify the ID as a string, and use the type attribute
to indicate the nature of the ID you are specifying.
Same as FindProducts, supports Reference, ISBN, UPC, EAN.
ProductID can be used in combination with UserID to return Reviews and Guides.
ProductID and CategoryID cannot be used together.
type : class Shopping_ProductIDType
Declared In
Shopping_FindReviewsAndGuidesRequestType.h
reviewSort
Include ReviewSort in your request if you want to sort by a parameter,
such as CreationTime. See the SortOrder field for values for specifying
that results are returned in ascending or descending order.
(By default, results are returned in descending order.)
@property (nonatomic, retain) NSString *reviewSort
Discussion
Include ReviewSort in your request if you want to sort by a parameter,
such as CreationTime. See the SortOrder field for values for specifying
that results are returned in ascending or descending order.
(By default, results are returned in descending order.)
type: string constant in Shopping_ReviewSortCodeType.h
Declared In
Shopping_FindReviewsAndGuidesRequestType.h
sortOrder
Sorts search results in ascending or descending order, in conjunction
with the value you specify in ReviewsSort. The default is descending
order.
For example, for the ReviewsSort value of CreationTime,
and a SortOrder value of Descending, the most recently created
reviews are returned first.
@property (nonatomic, retain) NSString *sortOrder
Discussion
Sorts search results in ascending or descending order, in conjunction
with the value you specify in ReviewsSort. The default is descending
order.
For example, for the ReviewsSort value of CreationTime,
and a SortOrder value of Descending, the most recently created
reviews are returned first.
type: string constant in Shopping_SortOrderCodeType.h
Declared In
Shopping_FindReviewsAndGuidesRequestType.h
userID
Retrieves reviews and guides written by the specified user.
UserID can be combined with either ProductID or CategoryID but not both (as
ProductID and CategoryID cannot be used together).
@property (nonatomic, retain) NSString *userID
Discussion
Retrieves reviews and guides written by the specified user.
UserID can be combined with either ProductID or CategoryID but not both (as
ProductID and CategoryID cannot be used together).
type : NSString, wrapper for primitive string
Declared In
Shopping_FindReviewsAndGuidesRequestType.h


@jekku
Jekri Preclaro Orlina
You need an ID in order to get an ID.
What happens if you don't have an ID?


| # |
Name |
Type |
Description |
Location |
Status |
Media |
User |
Action |
| 1 |
Bribing at Kinoo |
Red Flag |
A police woman was taking money from a matatu at Kinoo stage |
Waiyaki Way, Nairobi |
draft |
- |
kirega |
|
| 2 |
Huge pothole |
Intervention |
A huge pothole is on Landhies road is causing a lot of traffic |
Landhies road, Nairobi |
Under Investigation |
no |
John |
|
| 3 |
Nepotism |
Red flag |
A huge pothole is on Landhies road is causing a lot of traffic |
Landhies road, Nairobi |
Resolved |
yes |
Peter |
|
| 4 |
Fallen Bridge |
Intervention |
A huge pothole is on Landhies road is causing a lot of traffic |
Landhies road, Nairobi |
Rejected |
- |
Cheryl |
|


Log In
Contact
About
HOME
FACULTIES
CAMPUS LIFE
ENROLL NOW
NEWS & MEDIA
PROGRAMMES
"Find Greatness
in Every Step"
Intro Video


--- layout: post date: 2011-09-13 time: "09:00:00" authors: ["Greg Wilson"] title: Progress Of A Sort tags: ["Content"] ---
As I mentioned a few months ago, I'm going to turn Software Carpentry into a book. Here's the present status:
| Chapter | Word Count |
| Introduction | 768 |
| Spreadsheets | 3924 |
| Subversion | 6405 |
| Python | 6345 |
| Interlude: What Is Text? | 1071 |
| Functions and Libraries | 9409 |
| Interlude: Boolean Logic | 921 |
| Case Study: Invasion Percolation | 8929 |
| Interlude: How Are Numbers Stored? | 1828 |
| Testing | 4549 |
| Error Handling | 1529 |
| The Shell | 12919 |
| Make | 5668 |
| Interlude: Provenance | 1810 |
| Sets and Dictionaries | 7627 |
| Case Study: Phylogenetic Trees | 1689 |
| Systems Programming | 60 |
| Interlude: Configuring Programs | 2146 |
| Numerical Programming | 6193 |
| Multimedia Programming | 4125 |
| Steganography | 1657 |
| Installation | 135 |
| HTML and XML | 6404 |
| Databases | 10676 |
| Regular Expressions | 8037 |
| Object-Oriented Programming | 4002 |
| Building Desktop GUIs | 137 |
| Interlude: Persistence | 5984 |
| Web Programming | 9639 |
| Security | 1285 |
| Performance | 8043 |
| Parallel Programming | 931 |
| Software Engineering | 6391 |
| Epilog | 873 |
| Acknowledgments | 202 |
| Glossary | 12074 |
| Bibliography | 3378 |
| Total | 167,763 |
167,673 words might seem like a lot, but based on past experience, I think I'm about halfway to a readable book—editing is always as much work as writing stuff in the first place.


New Growl bug (as of 1.8)
-
Krypton
Growl now displays the artwork for the previous song rather than the current one.
-
Greg Hurrell
You should be using the latest version:
Reply
This topic is now closed.


Links & Referral Codes
Warning:
Make sure to read the starter guide before applying!
Personal Credit Cards
$600 or 60k Signup Bonus. Best starter travel card
$200 or 20k Signup Bonus. 5x rotating categories
40k Signup Bonus. 4x Dining and Groceries
$150 Signup Bonus. 3% Groceries, 2% Gas & Dept Stores
75k Signup Bonus, annual free night, Gold Status, Lounge Access, Global Entry/TSA Pre credit
Business Credit Cards
80k or $800 signup bonus, 3x on travel, internet, etc
50k or $500 signup bonus, 1.5x on everything
5% back on Amazon, get $125 gift card when signing up using this link
75k Signup Bonus, annual free night, Silver Status
Debit Cards
No ATM withdraw fees globally. Get $50 when signing up using link
Others
Pay any bills with credit card!  Get $10 or 1000 MR pts on your first purchase using link
Rent Audi and get $25 gift card using referral code: YCENSDPV


Clicking on copy Pubkey (used for Woocommerce plugin) inside of "Recieve" mode for coin does not give green confirmation, nor copy address to be used.
Thank you
Agama Version : 0.2.43d
OS : Windows 10
!image
Issue : Please see attached capture. (address : RTvJQM9mNED98YRy4ziDR2qdZcDG3WWfS)
Description :
No claim rewards and transaction over 1 year.
Upon further testing, I found that Light (SPV) Mode will not work with the options to copy (If it shows). Only native mode will work for copying.
Recommend giving a notice if copying in SPV mode to switch to native.
Best,
Joe
rinconmaker.space
pbca,
why locktime set to 0.
Can you guess any reason?
2018년 12월 6일 (목) 오전 9:03에 eundong<EMAIL_ADDRESS>작성:
okay. then I will request compensation to support team for this.
thanks.
2018년 12월 6일 (목) 오전 3:52에 pbca26<EMAIL_ADDRESS>작성:
>> locktime is set to 0
>> no rewards accrued so far
>> send to yourself to reset it
>>
>> —
>> You are receiving this because you authored the thread.
>> Reply to this email directly, view it on GitHub
>> <https://github.com/K...
Here are two fixes, the comment of break; is to stop a notarization on KMD being skipped when there are two of them for the same chain in a block, this happened quite often, as another mitigation we used a supress of nonpartisans min of 3 KMD blocks inside iguana. KMD AC are already 5 blocks, so your should not have to change that.
`4d6cd59` put burntx opreturn at end of vout and fix cras... - libscott
`96ac747` shell script to document migrate process - libscott
`1611558` Merge pull request #1028 from libscott/migrate_... - jl777
`4d6cd59` put burntx opreturn at end of vout and fix cras... - libscott
`96ac747` shell script to document migrate process - libscott
`f51c4d4` check many MoMoMs on tx import - libscott
`fb67bac` Squelch missing inputs - jl777
`d8a9421` Merge pull request #18 from jl777/FSM - blackjok3rtt
Hello!
The upstream repository jl777/SuperNET@dev has some new changes that aren't in this fork. So, here they are, ready to be merged! :tada:
If this pull request can be merged without conflict, you can publish your software with these new changes. Otherwise, fix any merge conflicts by clicking the Resolve Conflicts button.
--------
<img
src="https://backstroke.co/assets/img/donate.png"
height="92"
align="left"
/>
If you like Backstroke, consider donating to help us pay for inf...
`4d6cd59` put burntx opreturn at end of vout and fix cras... - libscott
`96ac747` shell script to document migrate process - libscott
`f51c4d4` check many MoMoMs on tx import - libscott
`fb67bac` Squelch missing inputs - jl777
`d8a9421` Merge pull request #18 from jl777/FSM - blackjok3rtt
`4d6cd59` put burntx opreturn at end of vout and fix cras... - libscott
`96ac747` shell script to document migrate process - libscott
`f51c4d4` check many MoMoMs on tx import - libscott
`fb67bac` Squelch missing inputs - jl777
`d8a9421` Merge pull request #18 from jl777/FSM - blackjok3rtt
`4d6cd59` put burntx opreturn at end of vout and fix cras... - libscott
`96ac747` shell script to document migrate process - libscott
`f51c4d4` check many MoMoMs on tx import - libscott
`3a4366b` added tests for oracles data publishing - tonymorony
`83d4ca0` Merge pull request #1020 from tonymorony/FSM - jl777


How charities, universities and sponsors have reacted to Andrew’s interview
The Duke of York has faced criticism over his comments about his friendship with convicted sex offender Jeffrey Epstein.
Here is a look at how some of the businesses and organisations associated with the Duke of York have reacted to his interview about his friendship with convicted sex offender Jeffrey Epstein.
Andrew’s initiative for tech entrepreneurs, Pitch@Palace, has removed its web page listing corporate supporters, and the Outward Bound Trust, which has a long association with the royal family, is considering the duke’s role as patron.
The Financial Times reported that one prominent backer of Pitch@Palace is pushing for the Queen’s son to relinquish his association with the scheme, which he founded in 2014.
BT – Has warned it will only continue to back digital skills award scheme iDEA if the duke is dropped as patron.
Murdoch University in Perth, Australia – Has told Buckingham Palace it will not be continuing participation in Pitch@Palace in 2020.
Royal Melbourne Institute of Technology – Concluded its involvement with Pitch@Palace in October and told the PA news agency it is committed to ensuring its campus remains “a safe and inclusive place to work and study”.
Bond University in Australia – Was preparing to consider working again with Pitch@Palace in 2020, but “in light of recent events, the university does not intend to seek any further involvement”.
KPMG – Pitch@Palace founding partner – Sponsorship contract expired at the end of October and will not be renewed.
Standard Chartered – Will not be renewing sponsorship of Pitch@Palace in December, citing “commercial reasons”.
Aon – Asked for its logo to be removed from the Pitch@Palace website, saying it had never been involved in the scheme in any capacity.
Gravity Road – Supporter of Pitch@Palace – Reported to be no longer working with the charity.
Advertising Week Europe – Supporter of Pitch@Palace – Reported to not be inviting Pitch@Palace to be part of its meeting in March.
Inmarsat – Will not be renewing its sponsorship of Pitch@Palace.
Barclays – Told the PA news agency it is concerned about the situation and is keeping its involvement with Pitch@Palace under review.
University of Wollongong in Australia – Undertaking an annual review of its future involvement in Pitch@Palace.
AstraZeneca – Three-year partnership with Pitch@Palace is due to expire at the end of this year and is being reviewed.
London Metropolitan University – Reviewing Andrew’s role as patron at board of governors meeting next Tuesday.
Huddersfield University – A student panel passed a motion to lobby the duke to resign as its chancellor.
Outward Bound Trust – Holding a board meeting this week to discuss whether Andrew should stay as patron. He took over the role in March from the Duke of Edinburgh, who dedicated 65 years to the charity.
– Staying put
Stelios Philanthropic Foundation – The foundation, started by easyJet founder Stelios Haji-Ioannou, is understood to be continuing its support for Pitch@Palace for the present.


| Tag | Name | Req'd | Description |
|---|---|---|---|
| StandardHeader | Y | The standard FIX message header |
|
| 8 | BeginString | Y | Identifies beginning of new message and protocol version. ALWAYS FIRST FIELD IN MESSAGE. (Always unencrypted) |
| 9 | BodyLength | Y | Message length, in bytes, forward to the CheckSum field. ALWAYS SECOND FIELD IN MESSAGE. (Always unencrypted) |
| 35 | MsgType | Y | Defines message type ALWAYS THIRD FIELD IN MESSAGE. (Always unencrypted) Note: A "U" as the first character in the MsgType field (i.e. U, U2, etc) indicates that the message format is privately defined between the sender and receiver. *** Note the use of lower case letters *** |
| 1128 | ApplVerID | N | Specifies the service pack release being applied at message level. Enumerated field with values assigned at time of service pack release |
| 49 | SenderCompID | Y | Assigned value used to identify firm sending message. |
| 56 | TargetCompID | Y | Assigned value used to identify receiving firm. |
| 128 | DeliverToCompID | N | Assigned value used to identify the firm targeted to receive the message if the message is delivered by a third party i.e. the third party firm identifier would be delivered in the TargetCompID (56) field and the ultimate receiver firm ID in this field. |
| 90 | SecureDataLen | N | Length of encrypted message |
| 91 | SecureData | N | Actual encrypted data stream |
| 34 | MsgSeqNum | Y | Integer message sequence number. |
| 50 | SenderSubID | N | Assigned value used to identify specific message originator (desk, trader, etc.) |
| 142 | SenderLocationID | N | Assigned value used to identify specific message originator's location (i.e. geographic location and/or desk, trader) |
| 57 | TargetSubID | N | Assigned value used to identify specific individual or unit intended to receive message. "ADMIN" reserved for administrative messages not intended for a specific user. |
| 129 | DeliverToSubID | N | Assigned value used to identify specific message recipient (i.e. trader) if the message is delivered by a third party |
| 43 | PossDupFlag | N | Indicates possible retransmission of message with this sequence number |
| 97 | PossResend | N | Indicates that message may contain information that has been sent under another sequence number. |
| 52 | SendingTime | Y | Time of message transmission (always expressed in UTC (Universal Time Coordinated, also known as "GMT") |
| 122 | OrigSendingTime | N | Original time of message transmission (always expressed in UTC (Universal Time Coordinated, also known as "GMT") when transmitting orders as the result of a resend request. |
| 347 | MessageEncoding | N | Type of message encoding (non-ASCII (non-English) characters) used in a message's "Encoded" fields. |
| 369 | LastMsgSeqNumProcessed | N | The last MsgSeqNum (34) value received by the FIX engine and processed by downstream application, such as trading engine or order routing system. Can be specified on every message sent. Useful for detecting a backlog with a counterparty. |
| 37 | OrderID | Y | Unique identifier for Order as assigned by system, ECN. Uniqueness must be guaranteed (best practice = embedding a date within the OrderID field to assure uniqueness across days). |
| 526 | SecondaryClOrdID | Y | Unique identifier for Order as assigned by the exchange, ECN or system. Uniqueness should be guaranteed within a single trading day (best practice = embedding a date within the OrderID field to assure uniqueness across days). Assigned by the Broker or firm which originated the order. Used to propagate the ClOrdID (11) used by the exchange, ECN or system. |
| 11 | ClOrdID | Y | Assigned by the Broker or firm which originated the order. Used to propagate the ClOrdID (11) used by the exchange, ECN or system. For Fills of no-last-look Quotes, this message will refer to the Executed Quote. Mapped to: - QuoteMsgID(1166) of a single Quote - QuoteID(117) of a Mass Quote. |
| 17 | ExecID | Y | Unique identifier of execution message assigned by ECN, system.
Uniqueness must be guaranteed (best practice = embedding a date within the OrderID field to assure uniqueness across days). |
| 150 | ExecType | Y | Describes the specific ExecutionRpt while OrdStatus (39) will always identify the current order status (i.e. Partially Filled) |
| 39 | OrdStatus | Y | Identifies current status of the QUOTE that was hit by this fill. |
| 1 | Account | N | Account mnemonic as agreed between Clearing and institution. |
| 63 | SettlType | N | Indicates order settlement period. If present, SettlDate (64) overrides this field. If both SettlType (63) and SettDate (64) are omitted, the default for SettlType (63) is 0 (Regular)
Regular is defined as the default settlement period for the particular security. Additionally the following patterns may be uses as well as enum values Dx = FX tenor expression for "days", e.g. "D5", where "x" is any integer > 0 Wx = FX tenor expression for "weeks", e.g. "W13", where "x" is any integer > 0 Noted that tenors expressed using Dx, and Wx values do not denote business days, but calendar days. |
| 64 | SettlDate | N | Specific date of trade settlement (SettlementDate) in YYYYMMDD format.
If present, this field overrides SettlType (63). This field is required if the value of SettlType (63) is B (Broken Date). |
| Instrument | Y | The Instrument component block contains all the fields commonly used to describe a security or instrument. Typically the data elements in this component block are considered the static data of a security, data that may be commonly found in a security master database. The Instrument component block can be used to describe any asset type supported by FIX. |
|
| 55 | Symbol | N | Symbol: common, "human understood" representation of the Instrument. E.g. BTCUSD or XRPJPY |
| 167 | SecurityType | N | Indicates type of security. Security type enumerations are grouped by Product(460) field value. NOTE: Additional values may be used by mutual agreement of the counterparties. |
| 969 | MinPriceIncrement | N | Minimum price increase supported by system, ECN for a given Instrument |
| 54 | Side | Y | Side of order (see Volume : "Glossary" for value definitions) |
| 40 | OrdType | N | Type of Order that generated that fill. |
| 44 | Price | N | Price at which the Order that generated this Fill was submitted. |
| 15 | Currency | N | Identifies currency used for Qty. Absence of this field is interpreted as the default (base or left side of the pair). It is recommended that systems provide this currency value to avoid confusion. Can be used to get all Currency Pairs including THIS currency. E.g. Currency (15) = JPY the response could be USD/JPY; BTC/JPY and ETH/JPY |
| 18 | ExecInst | N | Instructions for order handling on exchange trading floor. If more than one instruction is applicable to an order, this field can contain multiple instructions separated by space. *** SOME VALUES HAVE BEEN REPLACED - See "Replaced Features and Supported Approach" *** (see Volume : "Glossary" for value definitions) |
| 32 | LastQty | Y | Quantity (e.g. shares) bought/sold on this (last) fill. |
| 1071 | LastSwapPoints | N | For FX Swap, this is used to express the last market event for the differential between the far leg's bid/offer and the near leg's bid/offer in a fill or partial fill. Value can be negative. Expressed in decimal form. For example, 61.99 points is expressed and sent as 0.006199 |
| 31 | LastPx | Y | Price of this (last) fill. |
| 194 | LastSpotRate | N | F/X spot rate. |
| 195 | LastForwardPoints | N | F/X forward points added to LastSpotRate (94). May be a negative value. Expressed in decimal form. For example, 61.99 points is expressed and sent as 0.006199 |
| 151 | LeavesQty | Y | Quantity of QUOTE (QuteMsgID) open for further execution. If the OrdStatus (39) is Expired (in which case the QUOTE is no longer active) then LeavesQty could be 0 |
| 14 | CumQty | Y | Total quantity filled on that QuoteMsgID. |
| 6 | AvgPx | N | Calculated average price of all fills on this QUOTE (QuoteMsgID). |
| 75 | TradeDate | Y | Indicates date of trade referenced in this message in YYYYMMDD format. Note that Dateline is 5pm New York (all year) local time. |
| 60 | TransactTime | Y | Timestamp when the business transaction represented by the message occurred. |
| CommissionData | N | The CommissionDate component block is used to carry commission information such as the type of commission and the rate. |
|
| 12 | Commission | N | Commission of exchange, ECN or system. |
| 479 | CommCurrency | N | Specifies currency to be use for Commission (12) if the Commission currency is different from the Deal Currency - see "Appendix 6-A; Valid Currency Codes". |
| 775 | BookingType | N | Method for booking out this order. Used when notifying a broker that an order to be settled by that broker is to be booked out as an OTC derivative (e.g. CFD or similar). |
| 58 | Text | N | Free format text string
Can be used to elaborate on the reject reason |
| 193 | SettlDate2 | N | SettlDate (64) of the far leg part of an F/X swap order. |
| 1028 | ManualOrderIndicator | N | Indicates if the order was initially received manually (as opposed to electronically) |
| StandardTrailer | Y | The standard FIX message trailer |
|
| 93 | SignatureLength | N | Number of bytes in signature field |
| 89 | Signature | N | Electronic signature |
| 10 | CheckSum | Y | Three byte, simple checksum (see Volume 2: "Checksum Calculation" for description). ALWAYS LAST FIELD IN MESSAGE; i.e. serves, with the trailing <SOH>, as the end-of-message delimiter. Always defined as three characters. (Always unencrypted) |


Send email using Gmail in Sheetbase backend app.
Installation
Install: npm install --save @sheetbase/mail
Usage:
// 1. import module
import { MailModule } from "@sheetbase/mail";
// 2. create an instance
export class App {
// the object
mailModule: MailModule;
// initiate the instance
constructor() {
this.mailModule = new MailModule(/* options */);
}
}
Options
| Name | Type | Description |
|---|---|---|
| categories? | Record |
|
| forwarding? | undefined | string |
|
| templates? | Record |
Lib
The Lib
class.
Lib properties
Lib methods
| Function | Returns type | Description |
|---|---|---|
| registerRoutes(routeEnabling?, middlewares?) | RouterService<> |
Expose the module routes |
registerRoutes(routeEnabling?, middlewares?)
Expose the module routes
Parameters
| Param | Type | Description |
|---|---|---|
| routeEnabling | true | DisabledRoutes |
|
| middlewares | Middlewares | RouteMiddlewares |
Returns
RouterService<>
Routing
MailModule provides REST API endpoints allowing clients to access server resources. Theses enpoints are not exposed by default, to expose the endpoints:
MailModule.registerRoutes(routeEnabling?);
Errors
MailModule returns these routing errors, you may use the error code to customize the message:
mail/invalid-input
: Invalid input.mail/missing-recipient
: Missing required recipient for the actionmail/no-access
: Current auth user has no access permission for the resource.Routes
Routes overview
| Route | Method | Disabled | Description |
|---|---|---|---|
GET |
Get mail information | ||
PATCH |
true |
Reply to a thread/message | |
PUT |
true |
Send an email | |
| /mail/thread | GET |
true |
Get a single message/thread |
| /mail/threads | GET |
true |
Get threads (list by category/single - parent + children/single - children only) |
Routes detail
GET
/mail
Get mail information
Response
object
PATCH
/mail
DISABLED
Reply to a thread/message
Request body
| Name | Type | Description |
|---|---|---|
| threadId? | string |
|
| messageId? | string |
|
| input | MailingInput |
|
| replyAll? | boolean |
Middleware data
| Name | Type | Description |
|---|---|---|
| auth | AuthData |
Response
GmailMessage | GmailThread
PUT
/mail
DISABLED
Send an email
Request body
| Name | Type | Description |
|---|---|---|
| recipient | string |
|
| subject | string |
|
| input | MailingInput |
|
| categoryName? | string |
Response
object
GET
/mail/thread
DISABLED
Get a single message/thread
Request query
| Name | Type | Description |
|---|---|---|
| threadId? | string |
|
| messageId? | string |
Middleware data
| Name | Type | Description |
|---|---|---|
| auth | AuthData |
Response
null | Thread
GET
/mail/threads
DISABLED
Get threads (list by category/single - parent + children/single - children only)
Request query
| Name | Type | Description |
|---|---|---|
| threadId? | string |
|
| categoryName? | string |
|
| childrenOnly? | boolean |
|
| full? | boolean |
|
| grouping? | boolean |
Middleware data
| Name | Type | Description |
|---|---|---|
| auth | AuthData |
Response
Thread[] | GroupingThread | GroupingThread[]
@sheetbase/mail is released under the MIT license.
Generated using TypeDoc


Webassembly: Expectation vs. Reality
Patrick Walther
01 Intro
Who am I
What is Zühlke
Agenda
Expectations & Goals
02 Webassembly
Basics
Current and Coming
03 Webassembly basics
Get your hands dirty
04 Webassembly in-depth
Handling complex types
Explore the Interface
05 Real World Use Case
OpenCV
Process Images in the Browser
Performance


Regulation of Fas ligand expression and cell death by apoptosis-linked gene 4.
Abstract
Programmed cell death is a process required for the normal development of an organism. One of the best understood apoptotic pathways occurs in T lymphocytes and is mediated by Fas /Fas ligand (FasL) interaction. During studies of apoptosis induced by T cell-receptor engagement, we identified ALG-4F, a truncated transcript that prevents T cell-receptor-induced FasL upregulation and cell death. Overexpression of full-length ALG-4 induced transcription of FasL and, consequently, apoptosis. These results indicate that ALG-4 is necessary and sufficient for FasL expression. Fas/ FasL interaction initiates cell death in many other systems, and its dysregulation is a mechanism by which several pathologic conditions arise. Understanding the molecular mechanisms of FasL regulation could be very useful in elucidating how these diseases develop and in identifying potential therapeutic targets.


Hello! I am {{ details.user.first_name}} {{ details.user.last_name }}. {{ details.bio }}
Hire meLike what you see?
Hire meSpecial Skills
Web Design
Find ready for deploy, under-development and all commercial plus open source code projects.
3D Design
Game character, Game environment, rigged mascots, here their home and industry.
Photography and Print
Explore beautful photos and creative 2D draws, designed uniquely to thooth your vision.


Normal
Hovered
Focused
Disabled
Normal
Hovered
Focused
Disabled
Normal
Hovered
Focused
Disabled
mono
Normal
Hovered
Focused
Disabled
Normal
Hovered
Focused
Disabled
Normal
Hovered
Focused
Disabled
CAPS
Normal
Hovered
Focused
Disabled
Normal
Hovered
Focused
Disabled
Normal
Hovered
Focused
Disabled


Organizing a software company is very specialized type of management skill, where experienced persons can turn the organizational problem into a unique benefit. For example, having sub-teams spread in different time zones may allow a 24-hour company working day, if the teams, systems and procedures are well established. A good example is the test team in time zone 8 hours ahead or behind the development team, who fix software bugs found by the testers.
Take a TourOrganizing a software company is very specialized type of management skill, where experienced persons can turn the organizational problem into a unique benefit. For example, having sub-teams spread in different time zones may allow a 24-hour company working day, if the teams, systems and procedures are well established. A good example is the test team in time zone 8 hours ahead or behind the development team, who fix software bugs found by the testers.
More InfoOrganizing a software company is very specialized type of management skill, where experienced persons can turn the organizational problem into a unique benefit. For example, having sub-teams spread in different time zones may allow a 24-hour company working day, if the teams, systems and procedures are well established. A good example is the test team in time zone 8 hours ahead or behind the development team, who fix software bugs found by the testers.
More InfoOrganizing a software company is very specialized type of management skill, where experienced persons can turn the organizational problem into a unique benefit. For example, having sub-teams spread in different time zones may allow a 24-hour company working day, if the teams, systems and procedures are well established. A good example is the test team in time zone 8 hours ahead or behind the development team, who fix software bugs found by the testers.
More Info


You have recieved an email from your website https://markoneill.com.au.
Name:
Email:
Contact Number:
Message:
This has also been stored in your admin portal at https://admin.markoneill.com.au/wp-admin.


This is a page which uses dgrid to test app/models/stores/Message.
(The grid itself is not a component in the application's UI.)


Around 8 a.m. one Sunday morning as I was sowing various seeds in a planter, I found that I had far more Heavenly Blue MG seeds than space to germinate them. Rather than throw them away, I started chewing them and swallowing, one by one. I had read that a threshold dose was between 50-100 seeds, and I had also read elsewhere about certain positive, mild effects of low doses of psychedelics. MG seeds have very little taste, and I was so into the planting I was doing, I sort of forgot I wasn't munching on sunflower seeds. When I stopped, to my mild dismay, it seemed I had eaten 20-25 seeds. I finished what I was doing, read a little, and then my wife got up and she drove me to the local coffeehouse where I do my freelance proofreading work. I completely forgot I had eaten the seeds.
At around 11 a.m., as I was working, I noticed I was blinking a lot, and my vision was kind of blurry. I also had an unsettling sensation, a displaced, restless, anxious kind of feeling. I was breathing deeply but not getting full breaths, and I was starting to skip over what I was supposed to be reading. I couldn't concentrate. Then I remembered the seeds. I wasn't too worried because I hadn't eaten enough for a psychedelic dose, but I wasn't happy to realize that in the middle of a Sunday morning coffeehouse I was experiencing that first anxious rush of regret and fear that has always accompanied my psychedelic experiences.
I got up and walked around, went outside to try and clear my head, but the feelng persisted of course and I realized I had probably just ruined a day's work for nothing -- I wasn't even going to trip. And that's pretty much what happened. I continued working, but was only maybe 25% engaged in it. I sighed a lot, and my vision got worse, and I just plowed through regardless. Definitely unpleasant to be stuck in that 'beginning' phase where it's all body effects as the flesh adjusts, yet without the promise of mental breakthroughs forthcoming.
Sometime around 3 in the afternoon, the effects subsided. Around 6, I finished 'work,' which had taken all day instead of the three hours it should have, and met my wife at a bar. I drank a Guinness and became chatty and philosophical.  I switched to alcoholic cider and after two of those, the 'tripping' feeling crept back, a faint flicker of the breakthrough part, not the somatic unpleasanness, and stayed with me for the next two hours, during which I was wittier than normal and made those around me laugh quite a bit.
I include this report as a note to those who want to be careful and start with a very low dose. For me, it was initially worse than tripping for the reasons I've described, yet the very late addition of alcohol did resurrect a faint glimmer of a positive psychedelic experience. I 'bracketed' a psychedelic trip with the first and final effects, while skipping the juicy middle part.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


This text should be green.
This text should be green.
This text should be green.
This text should be green.
This text should be green.
This text should be green.


Hopps' Adventure
Back
Controls:
Move up: up arrow
Move down: down arrow
Move left: left arrow
Move right: right arrow
Attack: space bar


Ex 1 - Knockout
Ex 2 - Knockout with more stuff
Ex 3 - Knockout with mediator
Ex 4 - Knockout with mediator and messaging
Ex 5 - Example 4 + jQuery
Mustache {


Methods
audio? (RVideo::Inspector)
audio_bit_rate (RVideo::Inspector)
audio_bit_rate_units (RVideo::Inspector)
audio_bit_rate_with_units (RVideo::Inspector)
audio_channels (RVideo::Inspector)
audio_channels_string (RVideo::Inspector)
audio_codec (RVideo::Inspector)
audio_sample_bit_depth (RVideo::Inspector)
audio_sample_rate (RVideo::Inspector)
audio_sample_rate_units (RVideo::Inspector)
audio_sample_rate_with_units (RVideo::Inspector)
audio_sample_units (RVideo::Inspector)
audio_stream (RVideo::Inspector)
audio_stream_id (RVideo::Inspector)
bitrate (RVideo::Inspector)
bitrate_units (RVideo::Inspector)
bitrate_with_units (RVideo::Inspector)
calculate_time (RVideo::Inspector)
capture_frame (RVideo::Inspector)
codec_time_base (RVideo::Inspector)
container (RVideo::Inspector)
display_aspect_ratio (RVideo::Inspector)
duration (RVideo::Inspector)
ffmpeg_build (RVideo::Inspector)
ffmpeg_configuration (RVideo::Inspector)
ffmpeg_libav (RVideo::Inspector)
ffmpeg_version (RVideo::Inspector)
fps (RVideo::Inspector)
framerate (RVideo::Inspector)
height (RVideo::Inspector)
initialize_with_file (RVideo::Inspector)
initialize_with_raw_response (RVideo::Inspector)
invalid? (RVideo::Inspector)
new (RVideo::Inspector)
pixel_aspect_ratio (RVideo::Inspector)
raw_duration (RVideo::Inspector)
resolution (RVideo::Inspector)
time_base (RVideo::Inspector)
unknown_format? (RVideo::Inspector)
unreadable_file? (RVideo::Inspector)
valid? (RVideo::Inspector)
video? (RVideo::Inspector)
video_codec (RVideo::Inspector)
video_colorspace (RVideo::Inspector)
video_stream (RVideo::Inspector)
video_stream_id (RVideo::Inspector)
width (RVideo::Inspector)


Masterplanning with IMP Tools
Industrial park master planning involves several stages of work:
- Planning Parameters Specification
- Existing Conditions Analysis
- Concept Formulation
- Concept Evaluation
- Concept Finalization
- Report Production
Analysis and Parameters
The first two stages of work are critically important in the masterplanning of industrial parks. The aims are:
- to firm up the type and scale of the envisaged industrial park landuses and facilities
- to analyze the suitability of the existing conditions for the envisaged development and to identify any mitigating measures and infrastructure enhancements that would be necessary
Sufficient time and manpower should be allocated to these stages. The experience and skills of experienced planners are essential to ensure high quality analysis and specification work. Even with artificial intelligence in future work digitalization, it will very difficult to replace the role of skilled and experienced planners for many of the tasks in these two initial work stages.
Input for this stage could be in the form of a written design brief, and/or verbal discussions with the client on their vision, target clients and desired concepts for the proposed development.
Usually, a market positioning study would have been completed before the masterplanning assignment. The analysis and recommendations from the market positioning study could provide a firm basis for working out the planning parameters. For instance, in the project providing the basis for the IMP Tools Tutorial, some of the key parameters firmed up in the first two stages of work include:
- Large land plots (at least 40 hectares) targeting foreign chemical producers and automotive manufacturers
- Land plots of around 20 hectares targeting local construction material and seafood processing enterprises, based on existing industrial development trends in the surrounding area
- Road connection points to a future port and a regional toll highway
- Separation buffers between the proposed industrial development sand surrounding villages
- Drainage channels to divert stormwater from the future industrial park and mitigate flooding in the surrounding areas
Concepts
The ultimate aim is to create the optimal layout for the proposed industrial park, that satisifes all the planning parameters (as well as other broader implicit goals such as sustainability and complementarity with the surrounding communities) at the lowest development cost.
Alternative layout designs should be formulated, evaluated and compared. The best of these alternatives can be selected for further improvement as often the evaluation process for the different designs reveals new and valuable insights.
The design process typically evolves from initial concept to final design through a process of refinement and engagement with the client. This process must be applied to the formulation of all the alternative layouts, at least up to an intermediate evaluation presentation and discussion with the client.
It is easy to understand why many planners are loathe to provide multiple alternative layouts. In many masterplanning projects, time and budget are under-allocated for analysis and layout work. Given short masterplanning project durations, a relatively high proportion of time is allocated to ensure the completion of time-consuming graphic illustrations and infrastructure schemas. This is unfortunate, as the analysis and alternative layout evaluation stages are most critical in delivering an optimal design with significant financial, social and environmental impacts.
IMP Tools
IMP Tools support planners designing alternative layouts, especially for industrial sites in hilly terrain. These tools automate some of the most time-consuming and computation-intensive design tasks such as creating road casings, adjusting road gradients over a network, calculating cut-and-fill earthworks volume, adjusting platform and road access point elevations etc. Work that usually take weeks can now be done in minutes or hours. Within a short period of time, many alternative layouts can be developed, evaluated and compared.
A quick three-dimensional visualization tool shows the road gradients, platform elevation and slopes generated. This visualization facilitates presentation and discussion between the planner and the client. By exploring the quick 3D model the planner can better appreciate the physical environment formed by the roads, slopes and platforms and draw implications for urban design, truck movement, drainage and so forth.
Alternative Layouts
Three initial layouts (B2, G2 and T2) from the Tutorial project are illustrated below. The platforms, slopes and roads have been created with IMP Tools from initial two-dimensional line drawings.
Earthworks volumes have been estimated with IMP Tools and provide a first-cut appreciation of the scale and cost of earthworks involved.
|
|
|
|
|
| Layout | B2 | G2 | T2 |
| Concept | Fewer large platforms | Platform and elevation aligned with terrain | East-west orientation |
| Earthworks volume | 51 million cubic meters | 52 million cubic meters | 59 million cubic meters |
| Area | 689 hectares | 689 hectares | 688 hectares |
The three alternatives are refined further, providing platforms for land plots in accordance with the planning parameters. The range of platform sizes in the three alternatives can be compared in terms of minimum and maximum platform sizes, coefficient of variation etc - these statistics can be computed with the QGIS statistics tool.
| Layout | B4 | G8 | T6 |
| Minimum platform size | 6 hectares | 2.2 hectares | 2.3 hectares |
| Maximum platform size | 65.4 hectares | 60.4 hectares | 60.7 hectares |
| Median platform size | 24.3 hectares | 7.3 hectares | 8.5 hectares |
| Coefficient of variation | 0.6 | 1.0 | 0.9 |
| Earthworks volume | 42 million cubic meters | 34 million cubic meters | 41 million cubic meters |
G8 and T6 are similar in terms of the range of platforms. B4 has bigger platforms by design.
In terms of earthworks volume, which is by far the major cost and a critical financial feasibility determining component in the development of the industrial park, layout G8 is the most optimal.
|
|
|
|
|


Commands¶
The articles in this section explain how to use the /petblocks administration commands.
Rename Commands¶
Even though this fits more into customizing, it is important to know that you are allowed to rename commands:
############################
# Command settings
# Instead of setting the commands inside of the plugin.yml, I believe you should be able to customize
# the whole command by yourself. Name, description, permission customize it to your needs.
# petblocks-gui: Settings for the command to open the petblock-GUI
# petblock-configuration: Settings for the command to manage petblock-configuration
############################
petblocks-gui:
enabled: true
command: petblock
useage: /<command>
description: Opens the pet GUI.
permission: petblocks.use
permission-message: You don't have permission
petblocks-configuration:
enabled: true
command: petblocks
useage: /<command>
description: Command to configure pets.
permission: petblocks.commands
permission-message: You don't have permission
Useage¶
The commands displayed when using /petblocks are very special kinds of commands. They can be executed by the following things:
Players (require permissions) ✔
Server console ✔
Command blocks ✔
Commandlist¶
This guide does not contain a full list of all commands as they are listed ingame with a very detail description.
Simply type /petblocks <page> (Example: /petblocks 2) to view the commands on this page.
Also all commands provide tooltips by moving your mouse on top of them.
Console or Command blocks¶
All commands can take an optional player parameter [player] to specify the player who involves the action. This optional parameter has to be used when using console or command blocks.
The command gets executed by the server with server rights so it does not mess with permissions.


Fresh & lightweight
melonJS is a lightweight but yet powerful HTML5 framework designed from the ground up to provide a true plugin-free 'write-once, run-everywhere' gaming oriented library. melonJS is an open-source project and supported by a community of enthusiasts. See our Gallery for a few examples of games powered by melonJS.
Powerful level design through Tiled
melonJS integrates the popular Tiled map format, allowing to easily design levels using the Tiled map editor, and to focus on the game features itself.
Free and open-source
melonJS is an open-source HTML5 based community game engine, released under the MIT license. You can join the project, or modify or extend the framework in any way to fit your needs.
Feature list :
- A fresh and lightweight 2D sprite-based engine
- Standalone library (no additional dependencies)
- Modern HTML5 features; WebAudio & WebGL on supported devices
- High DPI & auto scaling video modes
- Tween & Transition effects
- Compatible with all major browsers & mobile devices:
- Chrome, Safari, Firefox, Opera, IE
- Android, iOS, CocoonJS
- A lightweight physics implementation to ensure low cpu requirements:
- Polygon (SAT) based collision algorithm for accurate detection and response
- Fast broad-phase collision detection using spatial partitioning
- Advanced math API for Vector and Matrix
- 3rd party tools support for physic body definition (PhysicEditor, Physic Body Editor)
- A basic set of extensible Object Entities:
- Object Pooling
- Basic Particle System
- Basic animation management
- Standard spritesheet and Packed Textures (TexturePacker, Shoebox) support
- Some basic GUI elements
- Tiled map format version +0.9.x integration for easy level design:
- Orthogonal, Isometric, Hexagonal, and Perspective tilemap support
- Multiple layers with parallax scrolling
- Shape-based collision layers (Rectangle, Ellipse, Polygon, and Polyline)
- JSON and XML formats
- System and Bitmap fonts
- A state manager and customizable loader
- Mouse, Touch, and Pointer device support
- Device motion, orientation, and accelerometer support
Browser Compatibility
See below about melonJS and compatibility with the various existing browsers.
| Browser | Version | Status |
|---|---|---|
| Chrome | 12+ | fully working |
| Safari | 5.0+ | fully working |
| Firefox | 4+ | fully working |
| Opera | 11.00+ | fully working |
| IE | 9+ | fully working |


public final class Events
extends java.lang.Object
All available events are in this class, from here you can subscribe, or un-subscribe from an event.
To subscribe to an event, you will need either an anonymous class, or a lambda. You will also have to store the listener in a variable, if you don't store it in a variable, you will be unable to remove the listener.
Lambda example:
ICharPressedEvent charPressedEvent;
charPressedEvent = (c) -> onCharPressed(c)
;
private void invoke(char c)
{
Logger.log("Character " + c + " has been pressed");
}
Anonymous class example:
ICharPressedEvent charPressedEvent;
charPressedEvent = new ICharPressedEvent()
{
@Override
public void invoke(char c)
{
Logger.log("Character " + c + " has been pressed");
}
};
Subscribing and un-subscribing:
Events.onCharPressed.addListener(charPressedEvent); Events.onCharPressed.removeListener(charPressedEvent);
| Modifier and Type | Class and Description |
|---|---|
static class |
Events.Event<T>
Event handler.
|
| Modifier and Type | Field and Description |
|---|---|
static Events.Event<ICharPressedEvent> |
onCharPressed
The character pressed event, this event will be fired when any character has been pressed while the
window has focus.
|
static Events.Event<ICursorEnterEvent> |
onCursorEnter
The cursor enter/exit event, this event will be fired when the cursor enters or exits the
window.
|
static Events.Event<IWindowFocusEvent> |
onWindowFocus
The window focus event, this event will be fired when the window either gains, or loses focus.
|
static Events.Event<IWindowIconifyEvent> |
onWindowIconify
The window iconify/restore event, this event will be fired when the window has been iconified, or restored.
|
static Events.Event<IWindowResizeEvent> |
onWindowResize
The window resized event, this event will be fired when the window has been resized.
|
public static final Events.Event<ICharPressedEvent> onCharPressed
The character pressed event, this event will be fired when any character has been pressed while the window has focus.
public static final Events.Event<ICursorEnterEvent> onCursorEnter
The cursor enter/exit event, this event will be fired when the cursor enters or exits the window.
public static final Events.Event<IWindowFocusEvent> onWindowFocus
The window focus event, this event will be fired when the window either gains, or loses focus.
public static final Events.Event<IWindowIconifyEvent> onWindowIconify
The window iconify/restore event, this event will be fired when the window has been iconified, or restored.
public static final Events.Event<IWindowResizeEvent> onWindowResize
The window resized event, this event will be fired when the window has been resized.


Waybrec is a lightweight markup language, an extension of Breccia specialized for the purpose of way declaration.
Copyright © 2019-2023 Michael Allan. The files for this project are released under an MIT licence.


I've recently managed to get my Eco-Eye pv monitor working with a local emoncms install and as I have used these forums to trawl for information I thought I would share the results. You can see it working at http://www.willyweb.co.uk (nothing dodgy, my son's name is William). I've put on there as much how to instructions as I can remember and any customised emoncms code just in case anyone wants to use it. Any comments or improvements welcome. PS sometimes it needs an F5 to kick it into life :-)
I've added some iphone specific pages so that it looks like an iphone app when viewed on an iphone
Re: Eco-Eye/emoncms/iphone
Looks good. Have you tweaked the page display refresh rate?
You might like to try the centre zero dial for import/export display, which is included in the emoncms distribution (class="centredial"). A sample is attached.
Lloyd
Re: Eco-Eye/emoncms/iphone
Cheers. Yes I changed the refresh rate to 4 secs on common.js.
I did look at the centre dial but what I was after was a dial that was blindingly obvious to the wife so I wanted it so that you could see at a glance what was going on (bright red, turn something off, bright green put the washing machine on).
My son had an old itouch with a slight crack in the screen, so I've bluetacked that to the kitchen wall with the browser just zoomed in on that dial and we use that as the user display.
Mark
Re: Eco-Eye/emoncms/iphone
Wow, thats really nice, good work!


Testing Progress Button Styles for selecting one. Source:
Tympanus.net
Rotate-side-left
Perspective
shrink vertical
Submit


public class Node
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
NEIGHBOR_NODES
The amount of neighbor nodes, for Qwirkle this is always 4.
|
| Constructor and Description |
|---|
Node()
Node constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Node other) |
Block |
getBlock()
Returns the block on this node.
|
Node |
getNeighborNode(Direction d)
Returns a node by cardinal direction.
|
Node |
getNeighborNode(int i)
Returns a neighbor node by index.
|
Node[] |
getNeighborNodes()
Returns an array of four neighbor nodes.
|
Vector2 |
getPosition() |
void |
setBlock(Block aBlock)
Sets the block on this node.
|
void |
setNeighborNode(Node n,
Direction d)
Sets the node of a given cardinal direction.
|
void |
setNeighborNode(Node n,
int i)
Sets the node of a given location index.
|
void |
setPosition(int aX,
int aY) |
public static final int NEIGHBOR_NODES
public void setNeighborNode(Node n, int i)
n
- The node to set as a neighbor.i
- The index of the location to do so.public void setNeighborNode(Node n, Direction d)
n
- The node to set as a neighbor.d
- The cardinal direction do so.public Node getNeighborNode(int i)
i
- The index of the node.public Node getNeighborNode(Direction d)
d
- The direction of the neighbor node.public Node[] getNeighborNodes()
public void setPosition(int aX, int aY)
public Vector2 getPosition()
public void setBlock(Block aBlock)
aBlock
- The block to put on the node.public Block getBlock()
public boolean equals(Node other)


Songbird
is a desktop media player that helps you manage and enjoy your music
collection. You can also listen to internet radio, podcasts and find
and buy new music online.
You can also modify Songbird to your heart's content with a slew of add-ons that add functionality to the main program.
|
|


{% extends 'layout.html' %} {% block pageTitle %} Page not found - Citizen survey tool prototype {% endblock %} {% block content %}
If you typed the web address, check it is correct.
If you pasted the web address, check you copied the entire address.
If the web address is correct or you selected a link or button, contact 111 if you need to speak to someone about coronvirus.


Great Debate is a place for friendly, citation-driven debate and discussion.
Learn more
What are you interested in?