{% extends "base.html" %} {% block meta_header %} {% endblock %} {% block css %}{% include "css/index.html" %}{% endblock %} {% block banner %} {% endblock %} {% block forkme %} {% endblock %} {% block content %}
This guide branches out on topic because your learning requirements depend on what you're working on. Select one of the buttons below or check out the full table of contents.


|
BL3 SDK
0.0.1
Borderlands 3 Class Documentation
|
#include <BL3_OakGame_classes.hpp>
Static Public Member Functions | |
| static UClass * | StaticClass () |
| Static Public Member Functions inherited from UGbxDialogSettings | |
| static UClass * | StaticClass () |
| Static Public Member Functions inherited from UGbxDataAsset | |
| static UClass * | StaticClass () |
| Static Public Member Functions inherited from UDataAsset | |
| static UClass * | StaticClass () |
| Static Public Member Functions inherited from UObject | |
| static FChunkedFixedUObjectArray & | GetGlobalObjects () |
| template<typename T > | |
| static T * | FindObject (const std::string &name) |
| static UClass * | FindClass (const std::string &name) |
| template<typename T > | |
| static T * | GetObjectCasted (std::size_t index) |
| static UClass * | StaticClass () |
Additional Inherited Members | |
| Public Member Functions inherited from UObject | |
| std::string | GetName () const |
| std::string | GetFullName () const |
| bool | IsA (UClass *cmp) const |
| void | ProcessEvent (class UFunction *function, void *parms) |
| void | ExecuteUbergraph (int EntryPoint) |
| Static Public Attributes inherited from UObject | |
| static FUObjectArray * | GObjects |
|
inlinestatic |
| TArray<class UDialogScriptData*> AlwaysActiveDialogScripts |
| class UDialogEvent* DryFireCalloutEvent |
| class UDialogStyle* EchoLogStyle |
| TMap<class UDialogEnumValue*, struct FGameplayTag> GameplayTagMappings |
| class UDialogParameter* InstigatorParam |
| float MaxItemCalloutDistance |
| class UDialogEvent* PlayerAlertEvent |
| class UDialogParameter* PlayerAlertType |
| class UDialogEvent* PlayerIdleCallout |
| float PlayerIdleTime |
| struct FNumericRange SpotEnemyDistanceRange |
| class UDialogEvent* SpottedEnemyCallout |
| struct FGameplayTag SpottedEnemyGameplayTag |
| class UDialogParameter* TargetParam |
| TMap<EUIDialogCallout, class UDialogEvent*> UICallouts |
| unsigned char UnknownData00[0x4] |
| unsigned char UnknownData01[0x4] |
| class UDialogEvent* VehicleSpawnedEvent |
| class UDialogEvent* VehicleSwappedSeatEvent |
| TMap<class UWeaponTypeData*, class UDialogEnumValue*> WeaponTypeEnumValues |


Carnell-Rettgers Family History
Sons of the American Revolution Patriot Ancestors
Verified Lineage
- Christian Bechtel
- Daniel Deturk
- John Deturk
- Isaac High
- John Reese
- William Gainer
- Benjamin Smith
Not Yet Verified
- Samuel High
- William Hottenstein
- Henry Van Reed
- Michael Zerbe
- John Van Reed
- Lewis Jenkins
- DAR on file, but confusion exists, A062117 or A128894 and P-224449 or ?
- Abner Broach


IDAT is a daily dose of awesome things made by Queer, Trans, Non-Binary folks who are Black or Non-Black People Of Color!
You'll be able to Amplify their work, Celebrate their achievement, and Support them financially or any way they see fit.
IDAT was an Idea that sprang out of my participation in the 2017 Write/Speak/Code Conference in Portland, OR. As an alumnx of the conference, we were tasked with coming up with and working on a project. By that time, we were on day two of the conference, and I'd already seen and referred to SO MANY amazing things that fellow QBPOC and QNBPOC have done, that I wanted to build something that would share them year round.
The goal of IDAT is to collect and distribute all the things, from zines and twitter threads, to presentations, github projects, and other accomplishments of all sizes and deliver them to an audience who wants to share, support, contribute, buy, and celebrate that work, while giving a short 24-hr timeframe on it.
Right now, I'm seeking Creators to share the things they've made so I can collect enough to buffer out a great month's worth schedule of things to share, and I'm building out the distribution channels via Tiny Letter and a website, that will show a given thing for a 24-hr span, and let subscribers Buy, Share, or Support the creator.
I'm also building out a Twitter bot named IDATbot to be a source for creators and fans to let me know about more things to put on the schedule.
I DAT IdeaFox & Creator, Kara Carrell. I'm a Queer Blaxican developer and communitechie obsessed with Avocadoes, git, and using emoji. You can find out more about me on my website, or you can hit me on the TwitterBuzz at @KaraAJC.
#HireMe.
If you'd like to support me, you can:
Right now, we're collecting info on all QPOC Creators who would like to share their work! Submit your Creator info! Then, Submit your thing!


Automatically generate a daily journal for me, which includes information aggregated from local knowledgebase, or the Internet. current_time Learn more »


Mourinho ‘so happy’ at Tottenham, coy on Arsenal
by Emmanuel OkogbaTottenham boss Jose Mourinho says he cannot imagine the prospect of managing another club, refusing to say whether he would have been interested in the Arsenal job, which became available on Friday.
The Portuguese was named as Spurs boss last week following Mauricio Pochettino’s sacking and has started in style, winning his first two games in charge.
He had been linked with a move to Arsenal, who sacked Unai Emery, before the Spurs job came up, but chose not to say whether he would have been interested in the role had he still been out of work.
READ ALSO: ‘Title race will be between Liverpool and Man City’ ― McAteer
“No point to tell it,” he said of the Arsenal link. “Didn’t happen. Happened now.
“I’m so happy here that I couldn’t even think about the possibility to go to another place. You can put now in front of me any club in the world, I would not move.”
On Emery’s sacking, Mourinho added: “It’s always sad news. I felt it as a kid when my dad was sacked as a manager, I felt it myself when I have been sacked previously.
“There’s not one single manager sacked that I’m happy with. I always feel a deja vu situation. So I’m sad for it but that’s life.”
Spurs could make it three wins from three under Mourinho when they host Bournemouth on Saturday.
Mourinho has an issue at left-back, with Ben Davies set to be out for a long period after suffering ankle ligament damage.
He does have Danny Rose and centre-back Jan Vertonghen who can fill the role but does not think summer signing Ryan Sessegnon is ready yet.
Mourinho has yet to give any minutes to Giovani Lo Celso and record signing Tanguy Ndombele only came on in the late stages of the Champions League win over Olimpiakos, but the 56-year-old said both were in his plans.
“It is not like I don’t know them. I know the qualities I have. I know why the club bought them. I know what the club saw in them,” he said. “I think good buys. I think good decisions and of course they will play with me.
“I always think that people who come from abroad, from different leagues need more time to adapt to the Premier League, but great potential and I am more than happy to have them.”


 I met the common problem that average backend developer has when enters to the frontend land: lack of the javascript knowledge.
Okay, I know React.js really well, but I face tons of problems (especially with isomorphic JS building) that more Javascript-related than React.js-related. I don’t know ecosystem, I don’t know how to write performant code, I don’t know how the mechanisms really work. That’s why I decided to learn Javascript well.
I decided to take something simple on my digging into the javascript. Even simpler than my current knowledge. So, Kyle Simpson’s series “You don’t know JS” looked good at the first glance. And it is, even the simplest first book “Up & Going” gave me some new pieces of knowledge, even if it’s intended to learn programming newcomers.
These pieces are:
scope
(but I investigated further by following the links provided in that chapter)this
identifier - how it’s definedprototype
closure
Dear backend developer, I have an advice for you: if you know the JS basics and know 4 concepts listed above, feel free to skip this book and go directly to the second title “Scope & Closures”.


Tabulation¶
In this tutorial, we will explore samplics’ APIs for creating design-based tabulations. There are two main python classes for tabulation i.e. Tabulation()
for one-way tables and CrossTabulation()
for two-way tables.
[1]:
import numpy as np
import pandas as pd
from pprint import pprint
import samplics
from samplics.datasets import Birth, Nhanes2
from samplics.categorical import Tabulation, CrossTabulation
One-way tabulation¶
The birth dataset has four variables: region, agecat, birthcat, and pop. The variables agecat and birthcat are categirical. By default, pandas read them as numerical, because they are coded with numerical values. We use dtype="string"
or dtype="category"
to ensure that pandas codes the variables as categorical responses.
[2]:
# Load Birth sample data
birth_cls = Birth()
birth_cls.load_data()
birth = birth_cls.data.astype({"region": str, "agecat":str, "birthcat": str})
region = birth["region"]
agecat = birth["agecat"]
birthcat = birth["birthcat"]
birth.head(15)
[2]:
| region | agecat | birthcat | pop | |
|---|---|---|---|---|
| 0 | 1 | 1 | 1.0 | 28152 |
| 1 | 1 | 1 | 1.0 | 103101 |
| 2 | 1 | 1 | 1.0 | 113299 |
| 3 | 1 | 1 | 1.0 | 112028 |
| 4 | 1 | 1 | 1.0 | 99588 |
| 5 | 1 | 1 | 1.0 | 22356 |
| 6 | 1 | 1 | 1.0 | 102926 |
| 7 | 1 | 1 | 1.0 | 12627 |
| 8 | 1 | 1 | 1.0 | 112885 |
| 9 | 1 | 1 | 1.0 | 150297 |
| 10 | 1 | 1 | 1.0 | 52785 |
| 11 | 1 | 1 | 2.0 | 109108 |
| 12 | 1 | 1 | 2.0 | 87768 |
| 13 | 1 | 1 | 2.0 | 175886 |
| 14 | 1 | 1 | 2.0 | 107847 |
When requesting a table, the user can set parameter="count"
which results in a tabulation with counts in the cells while parameter="proportion
leads to cells with proportions. The expression Tabulation("count")
instantiates the class Tabulation()
which has a method tabulate()
to produce the table.
[3]:
birth_count = Tabulation(parameter="count")
birth_count.tabulate(birthcat, remove_nan=True)
print(birth_count)
Tabulation of birthcat
Number of strata: 1
Number of PSUs: 956
Number of observations: 956
Degrees of freedom: 955.00
variable category count stderror lower_ci upper_ci
birthcat 1.0 240.0 13.414066 213.675550 266.324450
birthcat 2.0 450.0 15.441157 419.697485 480.302515
birthcat 3.0 233.0 13.281448 206.935807 259.064193
birthcat nan 33.0 5.647499 21.917060 44.082940
When remove_nan=False
, the numpy and pandas special values NaNs, respectively np.nan and NaN, are treated as valid categories and added to the tables as shown below
[4]:
birth_count = Tabulation(parameter="count")
birth_count.tabulate(birthcat, remove_nan=False)
print(birth_count)
Tabulation of birthcat
Number of strata: 1
Number of PSUs: 956
Number of observations: 956
Degrees of freedom: 955.00
variable category count stderror lower_ci upper_ci
birthcat 1.0 240.0 13.414066 213.675550 266.324450
birthcat 2.0 450.0 15.441157 419.697485 480.302515
birthcat 3.0 233.0 13.281448 206.935807 259.064193
birthcat nan 33.0 5.647499 21.917060 44.082940
The data associated with the tabulation are stored in nested python dictionnaires. The higher level key is the variable name and the inner keys are the response categories. Each of the last four columns shown above are stored in separated dictionnaires. Two of those dictionnaires for the counts and standard errors shown below.
[5]:
print("\nThe designed-based estimated counts are:")
pprint(birth_count.point_est)
print("\nThe designed-based standard errors are:")
pprint(birth_count.stderror)
The designed-based estimated counts are:
{'birthcat': {'1.0': 240.0, '2.0': 450.0, '3.0': 233.0, 'nan': 33.0}}
The designed-based standard errors are:
{'birthcat': {'1.0': 13.414066228212429,
'2.0': 15.44115667208023,
'3.0': 13.281447911983975,
'nan': 5.647498635475387}}
Sometimes, the user may want to run multiple one-way tabules of several variables. In this case, the user can provide the data as a two-dimensional dataframe where each column represents one categorical variable. In this situation, each categorical variable is tabulated individually then combined into Python dictionnaires.
[6]:
birth_count2 = Tabulation(parameter="count")
birth_count2.tabulate(birth[["region", "agecat", "birthcat"]], remove_nan=True)
print(birth_count2)
Tabulation of region
Number of strata: 1
Number of PSUs: 956
Number of observations: 956
Degrees of freedom: 955.00
variable category count stderror lower_ci upper_ci
region 1 166.0 11.718335 143.003340 188.996660
region 2 284.0 14.136507 256.257795 311.742205
region 3 250.0 13.594733 223.321002 276.678998
region 4 256.0 13.698320 229.117716 282.882284
agecat 1 507.0 15.439224 476.701278 537.298722
agecat 2 316.0 14.552307 287.441809 344.558191
agecat 3 133.0 10.705921 111.990152 154.009848
birthcat 1.0 240.0 13.414066 213.675550 266.324450
birthcat 2.0 450.0 15.441157 419.697485 480.302515
birthcat 3.0 233.0 13.281448 206.935807 259.064193
birthcat nan 33.0 5.647499 21.917060 44.082940
Two of the associated Python dictionnaires are shown below. The structure of the inner dictionnaires remain the same but additional key-value pairs are added to represent the several categorical variables.
[7]:
print("\nThe designed-based estimated counts are:")
pprint(birth_count2.point_est)
print("\nThe designed-based standard errors are:")
pprint(birth_count2.stderror)
The designed-based estimated counts are:
{'agecat': {'1': 507.0, '2': 316.0, '3': 133.0},
'birthcat': {'1.0': 240.0, '2.0': 450.0, '3.0': 233.0, 'nan': 33.0},
'region': {'1': 166.0, '2': 284.0, '3': 250.0, '4': 256.0}}
The designed-based standard errors are:
{'agecat': {'1': 15.43922386351897,
'2': 14.55230681053191,
'3': 10.705921442206716},
'birthcat': {'1.0': 13.414066228212429,
'2.0': 15.44115667208023,
'3.0': 13.281447911983975,
'nan': 5.647498635475387},
'region': {'1': 11.718334853030482,
'2': 14.136507266518667,
'3': 13.594732580183457,
'4': 13.698320300591305}}
In the example above, we used pandas series and dataframes with labelled variables. In some situations, the user may want to tabulate numpy arrays, lists or tuples without variable names atrribute from the data. For these situations, the varnames
parameter provides a way to assign names for the categorical variables. Even when the variables have labels, users can leverage varnames
to rename the categorical variables.
[8]:
region_no_name = birth["region"].to_numpy()
agecat_no_name = birth["agecat"].to_numpy()
birthcat_no_name = birth["birthcat"].to_numpy()
birth_prop_new_name = Tabulation(parameter="proportion")
birth_prop_new_name.tabulate(
vars=[region_no_name, agecat_no_name, birthcat_no_name],
varnames=["Region", "AgeGroup", "BirthType"],
remove_nan=True
)
print(birth_prop_new_name)
Tabulation of Region
Number of strata: 1
Number of PSUs: 956
Number of observations: 956
Degrees of freedom: 955.00
variable category proportion stderror lower_ci upper_ci
Region 1 0.173640 0.012258 0.150883 0.199025
Region 2 0.297071 0.014787 0.268892 0.326883
Region 3 0.261506 0.014220 0.234574 0.290357
Region 4 0.267782 0.014329 0.240614 0.296819
AgeGroup 1 0.530335 0.016150 0.498562 0.561864
AgeGroup 2 0.330544 0.015222 0.301383 0.361068
AgeGroup 3 0.139121 0.011199 0.118564 0.162586
BirthType 1.0 0.251046 0.014031 0.224524 0.279571
BirthType 2.0 0.470711 0.016152 0.439174 0.502484
BirthType 3.0 0.243724 0.013893 0.217502 0.272008
BirthType nan 0.034519 0.005907 0.024627 0.048188
If the user does not specify varnames
, the tabulate()
creates generic variables names var_1, var_2, etc
.
[9]:
birth_prop_new_name2 = Tabulation(parameter="proportion")
birth_prop_new_name2.tabulate(
vars=[region_no_name, agecat_no_name, birthcat_no_name],
remove_nan=True
)
print(birth_prop_new_name2)
Tabulation of var_1
Number of strata: 1
Number of PSUs: 956
Number of observations: 956
Degrees of freedom: 955.00
variable category proportion stderror lower_ci upper_ci
var_1 1 0.173640 0.012258 0.150883 0.199025
var_1 2 0.297071 0.014787 0.268892 0.326883
var_1 3 0.261506 0.014220 0.234574 0.290357
var_1 4 0.267782 0.014329 0.240614 0.296819
var_2 1 0.530335 0.016150 0.498562 0.561864
var_2 2 0.330544 0.015222 0.301383 0.361068
var_2 3 0.139121 0.011199 0.118564 0.162586
var_3 1.0 0.251046 0.014031 0.224524 0.279571
var_3 2.0 0.470711 0.016152 0.439174 0.502484
var_3 3.0 0.243724 0.013893 0.217502 0.272008
var_3 nan 0.034519 0.005907 0.024627 0.048188
If the data was collected from a complex survey sample, the user may provide the sample design information to derive design-based statistics for the tabulation.
[10]:
# Load Nhanes sample data
nhanes2_cls = Nhanes2()
nhanes2_cls.load_data()
nhanes2 = nhanes2_cls.data
stratum = nhanes2["stratid"]
psu = nhanes2["psuid"]
weight = nhanes2["finalwgt"]
diabetes_nhanes = Tabulation("proportion")
diabetes_nhanes.tabulate(
vars=nhanes2[["race", "diabetes"]], samp_weight=weight, stratum=stratum, psu=psu, remove_nan=True
)
print(diabetes_nhanes)
Tabulation of race
Number of strata: 31
Number of PSUs: 62
Number of observations: 10335
Degrees of freedom: 31.00
variable category proportion stderror lower_ci upper_ci
race 1.0 0.879016 0.016722 0.840568 0.909194
race 2.0 0.095615 0.012778 0.072541 0.125039
race 3.0 0.025369 0.010554 0.010781 0.058528
diabetes 0.0 0.965715 0.001820 0.961803 0.969238
diabetes 1.0 0.034285 0.001820 0.030762 0.038197
Two-way tabulation (cross-tabulation)¶
Cross-tabulation of two categorical variables is achieved by using the class CrossTabulation()
. As above, cross-tabulation is possible for counts and proportions using CrossTabulation(parameter="count")
and CrossTabulation(parameter="proportion")
, respectively. The Python script below creates a design-based cross-tabulation of race by diabetes status. The sample design information is optional; when not provided, a simple random sample (srs) is assumed.
[11]:
crosstab_nhanes = CrossTabulation("proportion")
crosstab_nhanes.tabulate(
vars=nhanes2[["race", "diabetes"]], samp_weight=weight, stratum=stratum, psu=psu, remove_nan=True
)
print(crosstab_nhanes)
Cross-tabulation of race and diabetes
Number of strata: 31
Number of PSUs: 62
Number of observations: 10335
Degrees of freedom: 31.00
race diabetes proportion stderror lower_ci upper_ci
1 0.0 0.850866 0.015850 0.815577 0.880392
1 1.0 0.028123 0.001938 0.024430 0.032357
2 0.0 0.089991 0.012171 0.068062 0.118090
2 1.0 0.005646 0.000847 0.004157 0.007663
3 0.0 0.024858 0.010188 0.010702 0.056669
3 1.0 0.000516 0.000387 0.000112 0.002383
Pearson (with Rao-Scott adjustment):
Unadjusted - chi2(2): 21.2661 with p-value of 0.0000
Adjusted - F(1.52, 47.26): 14.9435 with p-value of 0.0000
Likelihood ratio (with Rao-Scott adjustment):
Unadjusted - chi2(2): 18.3925 with p-value of 0.0001
Adjusted - F(1.52, 47.26): 12.9242 with p-value of 0.0001
In addition to pandas dataframe, the categorical variables may be provided as an numpy array, list or tuple. In the examples below, the categorical variables are provided as a tuple vars=(rage, diabetes).
In this case, race
and diabetes
are numpy arrays and do not have a name attribute. The parameter varnames
allows the user to name the categorical variables. If varnames is not specified then var_1
and var_2
are used as variables names.
[12]:
race = nhanes2["race"].to_numpy()
diabetes = nhanes2["diabetes"].to_numpy()
crosstab_nhanes = CrossTabulation("proportion")
crosstab_nhanes.tabulate(
vars=(race, diabetes), samp_weight=weight, stratum=stratum, psu=psu, remove_nan=True
)
print(crosstab_nhanes)
Cross-tabulation of var_1 and var_2
Number of strata: 31
Number of PSUs: 62
Number of observations: 10335
Degrees of freedom: 31.00
var_1 var_2 proportion stderror lower_ci upper_ci
1.0 0.0 0.850866 0.015850 0.815577 0.880392
1.0 1.0 0.028123 0.001938 0.024430 0.032357
2.0 0.0 0.089991 0.012171 0.068062 0.118090
2.0 1.0 0.005646 0.000847 0.004157 0.007663
3.0 0.0 0.024858 0.010188 0.010702 0.056669
3.0 1.0 0.000516 0.000387 0.000112 0.002383
Pearson (with Rao-Scott adjustment):
Unadjusted - chi2(2): 21.2661 with p-value of 0.0000
Adjusted - F(1.52, 47.26): 14.9435 with p-value of 0.0000
Likelihood ratio (with Rao-Scott adjustment):
Unadjusted - chi2(2): 18.3925 with p-value of 0.0001
Adjusted - F(1.52, 47.26): 12.9242 with p-value of 0.0001
Same as the above example with variables names specified by varnames=["Race", DiabetesStatus"]
[13]:
crosstab_nhanes = CrossTabulation("proportion")
crosstab_nhanes.tabulate(
vars=(race, diabetes), varnames=["Race", "DiabetesStatus"], samp_weight=weight, stratum=stratum, psu=psu, remove_nan=True
)
print(crosstab_nhanes)
Cross-tabulation of Race and DiabetesStatus
Number of strata: 31
Number of PSUs: 62
Number of observations: 10335
Degrees of freedom: 31.00
Race DiabetesStatus proportion stderror lower_ci upper_ci
1.0 0.0 0.850866 0.015850 0.815577 0.880392
1.0 1.0 0.028123 0.001938 0.024430 0.032357
2.0 0.0 0.089991 0.012171 0.068062 0.118090
2.0 1.0 0.005646 0.000847 0.004157 0.007663
3.0 0.0 0.024858 0.010188 0.010702 0.056669
3.0 1.0 0.000516 0.000387 0.000112 0.002383
Pearson (with Rao-Scott adjustment):
Unadjusted - chi2(2): 21.2661 with p-value of 0.0000
Adjusted - F(1.52, 47.26): 14.9435 with p-value of 0.0000
Likelihood ratio (with Rao-Scott adjustment):
Unadjusted - chi2(2): 18.3925 with p-value of 0.0001
Adjusted - F(1.52, 47.26): 12.9242 with p-value of 0.0001


An input stream of tokens attached to a file.
Tokenizes input steam for parsing inline documentation. Ignores preprocessor directives. Goal directed.
| LexStream() | Opens file for Lexical scanning. |
| atEof() | End of File indicator |
| getAttributeText() | Returns all characters up to, but not including next Keyword, EndSymbol, or EOF. |
| getPrototype() | Get function prototype following comment block. |
| getStartSymbol() | Finds the next special comment start symbol "/ * :" in the text. |
| getToken() | Returns the next token in the input stream. |
| peekToken() | Returns the next token in the input stream without advancing the stream. |
LexStream::LexStream( const char* fileName )
LexStream::LexStream ( std::ifstream& fInput )
Opens file for Lexical scanning.
Opens token stream on existing istream.
bool LexStream::atEof()
End of File indicator
void LexStream::getAttributeText( Token& tok )
Returns all characters up to, but not including next Keyword, EndSymbol, or EOF.
void LexStream::getPrototype( Token& tok )
Get function prototype following comment block.
This gets all characters until the next ';', ':', EndOfFile or '{', but it's not terminated by '::'.
void LexStream::getStartSymbol( Token& tok )
Finds the next special comment start symbol "/ * :" in the text.
void LexStream::getToken ( Token& tok )
Returns the next token in the input stream.
A token is one of:
See the Grammar rules document for details.
void LexStream::peekToken( Token& tok )
Returns the next token in the input stream without advancing the stream.


nativeDroid is basically a theme for jQuery Mobile so you can use any functionality provided by jQM but for a better looking design there are a few tweaks to respect:
data-theme='b'
data-inset='true|false'
parameter is not working in nativeDroid. Use the wrapping <div class='inset'>
-Tag instead.data-role='header'
only in combination with data-position='fixed'
and data-tap-toggle='false'
and specificly apply the data-theme='b'
to link elements inside the header.(css/jquerymobile.css)
.data-role='footer'
is not yet designed. Use them with cause.


--- layout: post tags: [AutoFixture] date: 2009-09-22 14:53:48 UTC title: "Customizing A Type's Builder With AutoFixture" --- {% include JB/setup %}
In the previous post on AutoFixture, I demonstrated how it's possible to use a customized Builder to perform complex initialization when requesting an instance of a particular type. To recap, this was the solution I described:
var mc = fixture.CreateAnonymous<MyClass>(); var mvm = fixture.Build<MyViewModel>() .Do(x => x.AvailableItems.Add(mc)) .With(x => x.SelectedItem, mc) .CreateAnonymous();
This code first creates an anonymous instance of MyClass that can be added to MyViewModel. It then initializes a Builder for a specific instance of MyViewModel, instructing it to
While this works splendidly, it can get tiresome to write the same customization over and over again if you need to create multiple instances of the same type. It also violate the DRY principle.
When this is the case, you can alternatively register a customized Builder pipeline for the type in question (in this case MyViewModel). This is done with the Customize method:
var mc = fixture.CreateAnonymous<MyClass>(); fixture.Customize<MyViewModel>(ob => ob .Do(x => x.AvailableItems.Add(mc)) .With(x => x.SelectedItem, mc));
The Customize method takes as input a function that provides an initial ObjectBuilder as input, and returns a new, customized ObjectBuilder as output. This function is registered with the type, so that each time an anonymous instance of the type is requested, the customized ObjectBuilder will be used to create the instance.
In the example, I customize the supplied ObjectBuilder (ob) in exactly the same way as before, but instead of invoking CreateAnonymous, I simply return the customized ObjectBuilder to the Fixture instance. It then saves this customized ObjectBuilder for later use.
With this customization, what before failed now succeeds:
var mvm = fixture.CreateAnonymous<MyViewModel>();
The Customize method is the core method for customizing AutoFixture. Most other customization methods (like Register) are simply convenience methods that wraps Customize. It is a very powerful method that can be used to define some very specific Builder algorithms for particular types.
Comments
I posted this to CodePlex without properly thinking it through, but am now posting here which should be closer to where it belongs.
I have the following class that I am trying to test:
Specifically, I want to see if I have a license that was purchased more than X time periods ago, the expiration date calculates properly. For example, I have a test that is set up to use a 6 month license, with a purchase date from seven months ago. I am trying to force a certain date, so I got into customizing, and set up my test as follows:
I realize that this isn't a complete test, but I ran it just to see what feedback I'd get, to make certain I was customizing properly. Looks like I'm not, because I get an error:
Where have I gone wrong?
Thanks for your help.
Scott, thank you for writing. In your expression
b.DatePurchased == DateTime.Now.AddMonths(-7)
, what would you say the==
does?Mark, I really must apologize; my post above was not meant to be published. I worked on this a long time ago and I must have committed it to my local repository. I am very aware of the difference between
=
and==
. This must have been a question I had when I first started looking at AutoFixture (and working with Git). Again, my apologies.Scott


Producers
Category:
Memory (10)
Subsystem:
Monitoring (10)
Interval:
default
Unit:
millisec
Use Cases
Monitoring Sessions
Charts
Export
Help
Generated at 2010-01-19 | T20:04:42,125 | timestamp:<PHONE_NUMBER>125
Create chart
Chart name:
Update interval:
Producer:
Stats:
Value:
Producer
Stats
Value


---
layout: post
title: "Playing MP3s in Ruby on Windows"
date: 2012-01-10T18:38:00-08:00
categories:
- Ruby
- Windows
---
I recently needed to play music in Ruby in order to create an alarm clock of sorts. The code to do this was (surprise surprise) fairly simple, but I want to post it for posterity.
require 'win32ole'
player = WIN32OLE.new('WMPlayer.OCX')
player.OpenPlayer('C:\alarm.mp3')
This will open a new instance of Windows Media Player that plays the selected song.
Note that win32ole should be installed by default, and does not need to be installed as a gem.


Demos
Tutorial Demos
Demo 1 - Simple sprite movement.
Demo 2 - Sprite collision detection.
Demo 3 - Sprite priority.
Demo 4 - Keyboard control.
Demo 5 - Background and Sound.
Demo 6 - Speed and Limiters.
Demo 7 - Obstacles.
Demo 8 - Collectibles.
Demo 9 - Sprite Lifecycle.
Links
simplegamelib - pub package page.


this is some text above the li
- Contrary to popular belief, Lorem Ipsum is not simply random text.  Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
- this is b
- this is c
this is some text below the li


Jazz Pharma's sleep disorder drug gets European panel backing
(Reuters) - Jazz Pharmaceuticals Plc’s treatment for a form of sleep disorder has been recommended for approval in Europe by a panel of the European Medicines Agency (EMA), the regulator said on Friday.
Solriamfetol, which will be branded as Sunosi, has been backed for the treatment of excessive sleepiness in adult patients with narcolepsy and obstructive sleep apnea (OSA), the EMA's human medicines committee (CHMP) said here
The drug was approved in the United States earlier this year and is part of the company’s attempts to reduce its reliance on its blockbuster narcolepsy drug, Xyrem, which faced a setback last year.
OSA is a potentially serious sleep disorder that can cause breathing to repeatedly stop and start, while narcolepsy is a chronic sleep disorder with overwhelming daytime drowsiness and sudden bouts of sleep.
While final approvals are done by the European Commission, it generally follows the panel’s recommendation and announces its decision within a couple of months.


POLL ALERT: LSU, Ohio St, Clemson, Alabama and Georgia lead the latest Top 25; Minnesota jumps to...
by EndPlayAP - AP () - - POLL ALERT: LSU, Ohio St, Clemson, Alabama and Georgia lead the latest Top 25; Minnesota jumps to No. 7 behind Oregon.
AP - AP () - - POLL ALERT: LSU, Ohio St, Clemson, Alabama and Georgia lead the latest Top 25; Minnesota jumps to No. 7 behind Oregon.


|
Project Name Becomes Title of Project
|
The file with all the statistics from a pitcher is loaded and placed in vaiables More...
Classes | |
| class | Row |
Public Member Functions | |
| bool | IsLoaded () |
| List< Row > | GetRowList () |
| void | Load (TextAsset csv) |
| int | NumRows () |
| Row | GetAt (int i) |
| Row | Find_Player (string find) |
| List< Row > | FindAll_Player (string find) |
| Row | Find_TotalPitchesThrown (string find) |
| List< Row > | FindAll_TotalPitchesThrown (string find) |
| Row | Find_TotalFastballs (string find) |
| List< Row > | FindAll_TotalFastballs (string find) |
| Row | Find_TotalCurveballs (string find) |
| List< Row > | FindAll_TotalCurveballs (string find) |
| Row | Find_TotalChangeups (string find) |
| List< Row > | FindAll_TotalChangeups (string find) |
| Row | Find_TotalSliders (string find) |
| List< Row > | FindAll_TotalSliders (string find) |
| Row | Find_TotalSinkers (string find) |
| List< Row > | FindAll_TotalSinkers (string find) |
| Row | Find_FB_R (string find) |
| List< Row > | FindAll_FB_R (string find) |
| Row | Find_FB_L (string find) |
| List< Row > | FindAll_FB_L (string find) |
| Row | Find_CV_R (string find) |
| List< Row > | FindAll_CV_R (string find) |
| Row | Find_CV_L (string find) |
| List< Row > | FindAll_CV_L (string find) |
| Row | Find_CH_R (string find) |
| List< Row > | FindAll_CH_R (string find) |
| Row | Find_CH_L (string find) |
| List< Row > | FindAll_CH_L (string find) |
| Row | Find_SL_R (string find) |
| List< Row > | FindAll_SL_R (string find) |
| Row | Find_SL_L (string find) |
| List< Row > | FindAll_SL_L (string find) |
| Row | Find_SI_R (string find) |
| List< Row > | FindAll_SI_R (string find) |
| Row | Find_SI_L (string find) |
| List< Row > | FindAll_SI_L (string find) |
| double | getFBStatR (string p) |
| double | getFBStatL (string p) |
| double | getCVStatR (string p) |
| double | getCVStatL (string p) |
| double | getCHStatR (string p) |
| double | getCHStatL (string p) |
| double | getSLStatR (string p) |
| double | getSLStatL (string p) |
| double | getSIStatR (string p) |
| double | getSIStatL (string p) |
Public Attributes | |
| TextAsset | file |
Private Member Functions | |
| void | Start () |
| Loads the file where the stats are stored More... | |
Private Attributes | |
| List< Row > | rowList = new List<Row>() |
| bool | isLoaded = false |
The file with all the statistics from a pitcher is loaded and placed in vaiables
Definition at line 8 of file StatsScript.cs.
| Row StatsScript.Find_CH_L | ( | string | find | ) |
Definition at line 195 of file StatsScript.cs.
| Row StatsScript.Find_CH_R | ( | string | find | ) |
Definition at line 187 of file StatsScript.cs.
| Row StatsScript.Find_CV_L | ( | string | find | ) |
Definition at line 179 of file StatsScript.cs.
| Row StatsScript.Find_CV_R | ( | string | find | ) |
Definition at line 171 of file StatsScript.cs.
| Row StatsScript.Find_FB_L | ( | string | find | ) |
Definition at line 163 of file StatsScript.cs.
| Row StatsScript.Find_FB_R | ( | string | find | ) |
Definition at line 155 of file StatsScript.cs.
| Row StatsScript.Find_Player | ( | string | find | ) |
Definition at line 99 of file StatsScript.cs.
| Row StatsScript.Find_SI_L | ( | string | find | ) |
Definition at line 227 of file StatsScript.cs.
| Row StatsScript.Find_SI_R | ( | string | find | ) |
Definition at line 219 of file StatsScript.cs.
| Row StatsScript.Find_SL_L | ( | string | find | ) |
Definition at line 211 of file StatsScript.cs.
| Row StatsScript.Find_SL_R | ( | string | find | ) |
Definition at line 203 of file StatsScript.cs.
| Row StatsScript.Find_TotalChangeups | ( | string | find | ) |
Definition at line 131 of file StatsScript.cs.
| Row StatsScript.Find_TotalCurveballs | ( | string | find | ) |
Definition at line 123 of file StatsScript.cs.
| Row StatsScript.Find_TotalFastballs | ( | string | find | ) |
Definition at line 115 of file StatsScript.cs.
| Row StatsScript.Find_TotalPitchesThrown | ( | string | find | ) |
Definition at line 107 of file StatsScript.cs.
| Row StatsScript.Find_TotalSinkers | ( | string | find | ) |
Definition at line 147 of file StatsScript.cs.
| Row StatsScript.Find_TotalSliders | ( | string | find | ) |
Definition at line 139 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_CH_L | ( | string | find | ) |
Definition at line 199 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_CH_R | ( | string | find | ) |
Definition at line 191 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_CV_L | ( | string | find | ) |
Definition at line 183 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_CV_R | ( | string | find | ) |
Definition at line 175 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_FB_L | ( | string | find | ) |
Definition at line 167 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_FB_R | ( | string | find | ) |
Definition at line 159 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_Player | ( | string | find | ) |
Definition at line 103 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_SI_L | ( | string | find | ) |
Definition at line 231 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_SI_R | ( | string | find | ) |
Definition at line 223 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_SL_L | ( | string | find | ) |
Definition at line 215 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_SL_R | ( | string | find | ) |
Definition at line 207 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_TotalChangeups | ( | string | find | ) |
Definition at line 135 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_TotalCurveballs | ( | string | find | ) |
Definition at line 127 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_TotalFastballs | ( | string | find | ) |
Definition at line 119 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_TotalPitchesThrown | ( | string | find | ) |
Definition at line 111 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_TotalSinkers | ( | string | find | ) |
Definition at line 151 of file StatsScript.cs.
| List<Row> StatsScript.FindAll_TotalSliders | ( | string | find | ) |
Definition at line 143 of file StatsScript.cs.
| Row StatsScript.GetAt | ( | int | i | ) |
Definition at line 92 of file StatsScript.cs.
| double StatsScript.getCHStatL | ( | string | p | ) |
Definition at line 285 of file StatsScript.cs.
| double StatsScript.getCHStatR | ( | string | p | ) |
Definition at line 275 of file StatsScript.cs.
| double StatsScript.getCVStatL | ( | string | p | ) |
Definition at line 266 of file StatsScript.cs.
| double StatsScript.getCVStatR | ( | string | p | ) |
Definition at line 256 of file StatsScript.cs.
| double StatsScript.getFBStatL | ( | string | p | ) |
Definition at line 247 of file StatsScript.cs.
| double StatsScript.getFBStatR | ( | string | p | ) |
Definition at line 237 of file StatsScript.cs.
| List<Row> StatsScript.GetRowList | ( | ) |
Definition at line 52 of file StatsScript.cs.
| double StatsScript.getSIStatL | ( | string | p | ) |
Definition at line 325 of file StatsScript.cs.
| double StatsScript.getSIStatR | ( | string | p | ) |
Definition at line 315 of file StatsScript.cs.
| double StatsScript.getSLStatL | ( | string | p | ) |
Definition at line 305 of file StatsScript.cs.
| double StatsScript.getSLStatR | ( | string | p | ) |
Definition at line 295 of file StatsScript.cs.
| bool StatsScript.IsLoaded | ( | ) |
Definition at line 47 of file StatsScript.cs.
| void StatsScript.Load | ( | TextAsset | csv | ) |
Definition at line 57 of file StatsScript.cs.
| int StatsScript.NumRows | ( | ) |
Definition at line 87 of file StatsScript.cs.
|
private |
Loads the file where the stats are stored
Definition at line 16 of file StatsScript.cs.
| TextAsset StatsScript.file |
Definition at line 11 of file StatsScript.cs.
|
private |
Definition at line 45 of file StatsScript.cs.
Definition at line 44 of file StatsScript.cs.


Testing All Basic Markup
View the full library of accessibility solutions.
Use this accessible page to test all basic markup with assistive technologies to see if it's just the AT or if it's you :-)
Here are some lists
An ordered list
- Purple
- People
- Eater
An unordered list
- Purple
- People
- Eater
A definition list
- Color:
- Purple
- Food:
- People
- Being:
- Eater
Paragraphs
Whether the weather be cold.
Whether the weather be hot.
We'll be together whatever the weather.
Pseudo elements
::before
Dumpty
::after
When pigs


{% extends "base.html" %} {% load static%} {% block body_class %} my_new_body_css_class {% endblock %}
When we train machine learning models (the decision maker), they often make several errors. In our case, this is because the english language is a language with extremely complex and large amounts of information. This information is easy for native speakers to understand, hard for beginners and very difficult for computers. We have broken down our approach to better working models in each section below, easily explained so that you should understand most without prior knowledge of machine learning.
Bagging, boosting and stacking are all part of something called Ensemble methods. You can read more about that here!


{% extends 'layout.html' %} {% block title %}Fyle Accounting Integrations - Expense List{% endblock %} {% block body_content %}
#}
{# Add class .table-striped
#}
{#
| ID | Employee | Currency | Amount | Foreign Currency | Foreign Amount | Purpose | Created At | Approved At | Verified | Vendor |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ expense.id }} | {{ expense.employee.full_name }} | {{ expense.currency }} | {{ expense.amount }} | {{ expense.foreign_currency }} | {{ expense.foreign_amount }} | {{ expense.purpose }} | {{ expense.created_at }} | {{ expense.approved_at }} | {{ expense.verified }} | {{ expense.vendor }} |


group5.trackerexpress
public class ExpenseList extends TModel
Claim, Expense
,
Serialized Form| Constructor and Description |
|---|
ExpenseList()
Instantiates a new expense list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExpense(android.content.Context context,
Expense expense)
Adds and expense to the expenseList.
|
void |
addView(TView view)
adds view to be updated
|
void |
deleteView(TView view)
Delete view.
|
Expense |
getExpense(java.util.UUID expenseId)
Gets the expense.
|
void |
removeExpense(android.content.Context context,
java.util.UUID expenseId)
Removes the expense from the expenseList.
|
int |
size()
Size.
|
java.util.ArrayList<Expense> |
toList()
Gets the expense list.
|
java.lang.String |
toStringTotalCurrencies()
Gets total currencies as string
|
addViews, notifyViews
public java.util.ArrayList<Expense> toList()
public void addExpense(android.content.Context context, Expense expense)
context
- Needed for file IOexpense
- the expensepublic Expense getExpense(java.util.UUID expenseId) throws ExpenseNotFoundException
expenseId
- the expense idExpenseNotFoundException
- the expense not found exceptionpublic void removeExpense(android.content.Context context, java.util.UUID expenseId)
context
- Needed for file IOexpenseUuid
- the expense uuidpublic int size()
public java.lang.String toStringTotalCurrencies()
public void addView(TView view)
public void deleteView(TView view)
TModel
deleteView
in class TModel
expenseListFragment
-


Elevate
Home
About
My Account
Log out
{{field.name}}
1
8
3
5
3 + 2
=
{{kidChoiceMath}}
{{commentToKid}}
Next Exercise
14
8
1
9
5 + 9
=
{{kidChoiceMath}}
{{commentToKid}}
Next Exercise
1
9
10
6
1 + 9
=
{{kidChoiceMath}}
{{commentToKid}}
Next Exercise
1
3
73
4
4 - 1
=
{{kidChoiceSubtraction}}
{{commentToKid}}
Next Exercise
10
33
2
4
7 - 5
=
{{kidChoiceSubtraction}}
{{commentToKid}}
Next Exercise
0
3
22
8
9 - 1
=
{{kidChoiceSubtraction}}
{{commentToKid}}
Next Exercise
What shape comes next in the pattern?
{{commentToKid}}
Next Exercise
What shape comes next in the pattern?
{{commentToKid}}
Next Exercise
What shape comes next in the pattern?
{{commentToKid}}
Next Exercise
How many stars are there?
1
5
3
4
{{commentToKid}}
Next Exercise
How many stars are there?
6
8
10
7
{{commentToKid}}
Next Exercise
How many stars are there?
18
9
6
11
{{commentToKid}}
Next Exercise
Which shape is on the right?
Triangle
Circle
Square
Rectangle
{{commentToKid}}
Next Exercise
Which shape is in the center?
Triangle
Circle
Square
Rectangle
{{commentToKid}}
Next Exercise
Which shape is on the left?
Triangle
Circle
Square
Rectangle
{{commentToKid}}
Next Exercise
Which rocket is smaller?
The Left Rocket
The Right Rocket
{{commentToKid}}
Next Exercise
Which helmet is smaller?
The Left Helmet
The Right Helmet
{{commentToKid}}
Next Exercise
Which astronaut is smaller?
The Left Astronaut
The Right Astronaut
{{commentToKid}}
Next Exercise
Addition
Subtraction
Counting
Measurements
Patterns
Shapes
Result
=
{{parentResult}}


We're fetching results from this same page to stay within the same origin.
Refresh to reset the examples.
Get example count → Target
Get example count inner → Target


The New School Free Press
Student-run newspaper, established 2007
ARTS & CULTURE
NEWS
CAMPUS
FEATURES
OPINION
SUBMIT
STAFF
Fall 2017 Staff
Truman Ports, EDITOR-IN-CHIEF
Yasmin Ahram, MANAGING EDITOR
Allie Griffin, NEWS EDITOR
Alice Ly, DEPUTY EDITOR
Seung Won Baik, VIDEO EDITOR
Claire Cohen, CREATIVE DIRECTOR


|
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
| def | __init__ |
| def | schema |
| def | storage_usage |
| def | storage_limit |
| def | name |
| def | namespace |
| def | source |
| def | __eq__ |
| def | __ne__ |
| def | __hash__ |
| def | __repr__ |
| def | put |
| def | delete |
| def | delete_schema |
| def | get |
| def | search |
| def | get_range |
Represents an index allowing indexing, deleting and searching documents. The following code fragment shows how to add documents, then search the index for documents matching a query. # Get the index. index = Index(name='index-name') # Create a document. doc = Document(doc_id='document-id', fields=[TextField(name='subject', value='my first email'), HtmlField(name='body', value='<html>some content here</html>')]) # Index the document. try: index.put(doc) except search.Error, e: # possibly retry indexing or log error # Query the index. try: results = index.search('subject:first body:here') # Iterate through the search results. for scored_document in results: print scored_document except search.Error, e: # possibly log the failure Once an index is created with a given specification, that specification is immutable. Search results may contain some out of date documents. However, any two changes to any document stored in an index are applied in the correct order.
| def google.appengine.api.search.search.Index.__init__ | ( | self, | |
| name, | |||
namespace = None , |
|||
source = SEARCH |
|||
| ) |
Initializer. Args: name: The name of the index. An index name must be a visible printable ASCII string not starting with '!'. Whitespace characters are excluded. namespace: The namespace of the index name. If not set, then the current namespace is used. source: Deprecated as of 1.7.6. The source of the index: SEARCH - The Index was created by adding documents throught this search API. DATASTORE - The Index was created as a side-effect of putting entities into Datastore. CLOUD_STORAGE - The Index was created as a side-effect of adding objects into a Cloud Storage bucket. Raises: TypeError: If an unknown attribute is passed. ValueError: If invalid namespace is given.
| def google.appengine.api.search.search.Index.delete | ( | self, | |
| document_ids, | |||
deadline = None |
|||
| ) |
Delete the documents with the corresponding document ids from the index. If no document exists for the identifier in the list, then that document identifier is ignored. If any document delete fails, then no documents will be deleted. Args: document_ids: A single identifier or list of identifiers of documents to delete. Kwargs: deadline: Deadline for RPC call in seconds; if None use the default. Raises: DeleteError: If one or more documents failed to remove or number removed did not match requested. ValueError: If document_ids is not a string or iterable of valid document identifiers or number of document ids is larger than MAXIMUM_DOCUMENTS_PER_PUT_REQUEST or deadline is a negative number.
| def google.appengine.api.search.search.Index.delete_schema | ( | self | ) |
Deprecated in 1.7.4. Delete the schema from the index. We are deprecating this method and replacing with more general schema and index managment. A possible use may be remove typed fields which are no longer used. After you delete the schema, you need to index one or more documents to rebuild the schema. Until you re-index some documents, searches may fail, especially searches using field restricts. Raises: DeleteError: If the schema failed to be deleted.
| def google.appengine.api.search.search.Index.get | ( | self, | |
| doc_id, | |||
deadline = None |
|||
| ) |
Retrieve a document by document ID. Args: doc_id: The ID of the document to retreive. Kwargs: deadline: Deadline for RPC call in seconds; if None use the default. Returns: If the document ID exists, returns the associated document. Otherwise, returns None. Raises: TypeError: If any of the parameters have invalid types, or an unknown attribute is passed. ValueError: If any of the parameters have invalid values (e.g., a negative deadline).
| def google.appengine.api.search.search.Index.get_range | ( | self, | |
start_id = None , |
|||
include_start_object = True , |
|||
limit = 100 , |
|||
ids_only = False , |
|||
deadline = None , |
|||
| kwargs | |||
| ) |
Get a range of Documents in the index, in id order. Args: start_id: String containing the Id from which to list Documents from. By default, starts at the first Id. include_start_object: If true, include the Document with the Id specified by the start_id parameter. limit: The maximum number of Documents to return. ids_only: If true, the Documents returned only contain their keys. Kwargs: deadline: Deadline for RPC call in seconds; if None use the default. Returns: A GetResponse containing a list of Documents, ordered by Id. Raises: Error: Some subclass of Error is raised if an error occurred processing the request. TypeError: If any of the parameters have invalid types, or an unknown attribute is passed. ValueError: If any of the parameters have invalid values (e.g., a negative deadline).
| def google.appengine.api.search.search.Index.name | ( | self | ) |
Returns the name of the index.
| def google.appengine.api.search.search.Index.namespace | ( | self | ) |
Returns the namespace of the name of the index.
| def google.appengine.api.search.search.Index.put | ( | self, | |
| documents, | |||
deadline = None |
|||
| ) |
Index the collection of documents. If any of the documents are already in the index, then reindex them with their corresponding fresh document. If any of the documents fail to be indexed, then none of the documents will be indexed. Args: documents: A Document or iterable of Documents to index. Kwargs: deadline: Deadline for RPC call in seconds; if None use the default. Returns: A list of PutResult, one per Document requested to be indexed. Raises: PutError: If one or more documents failed to index or number indexed did not match requested. TypeError: If an unknown attribute is passed. ValueError: If documents is not a Document or iterable of Document or number of the documents is larger than MAXIMUM_DOCUMENTS_PER_PUT_REQUEST or deadline is a negative number.
| def google.appengine.api.search.search.Index.schema | ( | self | ) |
Returns the schema mapping field names to list of types supported. Only valid for Indexes returned by search.get_indexes method.
| def google.appengine.api.search.search.Index.search | ( | self, | |
| query, | |||
deadline = None , |
|||
| kwargs | |||
| ) |
Search the index for documents matching the query. For example, the following code fragment requests a search for documents where 'first' occurs in subject and 'good' occurs anywhere, returning at most 20 documents, starting the search from 'cursor token', returning another single cursor for the response, sorting by subject in descending order, returning the author, subject, and summary fields as well as a snippeted field content. results = index.search( query=Query('subject:first good', options=QueryOptions(limit=20, cursor=Cursor(), sort_options=SortOptions( expressions=[SortExpression(expression='subject')], limit=1000), returned_fields=['author', 'subject', 'summary'], snippeted_fields=['content']))) The following code fragment shows how to use a results cursor cursor = results.cursor for result in response: # process result results = index.search( Query('subject:first good', options=QueryOptions(cursor=cursor))) The following code fragment shows how to use a per_result cursor results = index.search( query=Query('subject:first good', options=QueryOptions(limit=20, cursor=Cursor(per_result=True), ...))) cursor = None for result in results: cursor = result.cursor results = index.search( Query('subject:first good', options=QueryOptions(cursor=cursor))) Args: query: The Query to match against documents in the index. Kwargs: deadline: Deadline for RPC call in seconds; if None use the default. Returns: A SearchResults containing a list of documents matched, number returned and number matched by the query. Raises: TypeError: If any of the parameters have invalid types, or an unknown attribute is passed. ValueError: If any of the parameters have invalid values (e.g., a negative deadline).
| def google.appengine.api.search.search.Index.source | ( | self | ) |
Returns the source of the index. Deprecated: from 1.7.6, source is no longer available.
| def google.appengine.api.search.search.Index.storage_limit | ( | self | ) |
The maximum allowable storage for this index, in bytes. Returns None for indexes not obtained from search.get_indexes.
| def google.appengine.api.search.search.Index.storage_usage | ( | self | ) |
The approximate number of bytes used by this index. The number may be slightly stale, as it may not reflect the results of recent changes. Returns None for indexes not obtained from search.get_indexes.


Preparation time
less than 30 mins
Cooking time
1 to 2 hours
Serves
Serves 4
Dietary
James Martin’s easy pumpkin recipe is perfect for a sweet snack or deliciously different dessert.
Preheat the oven to 200C/400F/Gas 6.
Bake the pumpkin pieces for 30 minutes, or until tender.
Weigh the cooked pumpkin and measure two-thirds of its weight in sugar (e.g. if the pumpkin weighs 750g/1lb 10oz, use 500g/1lb sugar). Place the pumpkin into a food processor and blend until smooth.
Transfer the pumpkin into a saucepan with the sugar and cook over a low heat, stirring occasionally, for 30 minutes. Set aside to cool.
Lay out two filo sheets on a lightly floured surface. Cut the sheets into rectangular pieces measuring 7.5cm x 15cm/6in x 3in.
Place a spoonful of pumpkin purée at one end of the pastry sheet. Fold one corner of the pastry over the mixture so that it forms a triangle, then fold the remaining pastry over the top to continue the triangle pattern. Repeat until all of the pastry has been folded and you have a triangle-shaped pastry. Brush the end of the pastry with water and seal. Repeat with the remaining filling and pastry.
Fill a deep-fat fryer or a large, deep, heavy-bottomed pan two-thirds full with vegetable oil. Heat the oil to 180C/350F (use a probe thermometer to check the temperature if you're not using a deep-fat fryer). (CAUTION: Hot oil can be dangerous. Don't leave unattended).
Carefully place the pastries into the hot oil and cook for 2-3 minutes or until just cooked through. Remove from the oil using a slotted spoon and set aside to drain on kitchen paper.
Dust with icing sugar and serve warm.


JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Y
I
init()
- Method in class iterative_improvement.
IterativeImprovementGenerator
init(List<Integer>)
- Method in class postgres.
HandleStructures
init()
- Method in class statistics.yara_results.
YaraRuleChecker
init(List<String>)
- Method in class statistics.yara_results.
YaraRuleChecker
init()
- Static method in class tests.postgres_test.
BlacklistTest
init()
- Static method in class tests.ranking_system.
RankingSystemTest
insertIntoAgregationTablesPartitioned(int)
- Method in class postgres.
PostgresRequestUtils
insertion_threads
- Variable in class main.
Config
insertSmdaElement(Config, File[], long, boolean, boolean, int)
- Method in class postgres.
PostgresInsertNgrams
instructionLimitPerFamily
- Variable in class main.
Config
isFamilyAlreadyInDatabase(SMDA)
- Method in class postgres.
PostgresRequestUtils
isInBlacklist(String)
- Method in enum iterative_improvement.
IterativeImprovementDataContainer
isSampleAlreadyInDatabase(SMDA)
- Method in class postgres.
PostgresRequestUtils
isStringAlreadyInBlacklist(String)
- Method in class postgres.
PostgresRequestUtils
iterative_improvement
- package iterative_improvement
IterativeImprovementDataContainer
- Enum in
iterative_improvement
IterativeImprovementFactory
- Class in
iterative_improvement
IterativeImprovementFactory()
- Constructor for class iterative_improvement.
IterativeImprovementFactory
IterativeImprovementGenerator
- Class in
iterative_improvement
IterativeImprovementGenerator(Config, String, String)
- Constructor for class iterative_improvement.
IterativeImprovementGenerator
IterativeImprovementOperator
- Class in
iterative_improvement
IterativeImprovementOperator()
- Constructor for class iterative_improvement.
IterativeImprovementOperator
IterativeImprovementOperatorCandidateOne
- Class in
iterative_improvement
IterativeImprovementOperatorCandidateOne(int)
- Constructor for class iterative_improvement.
IterativeImprovementOperatorCandidateOne
IterativeImprovementOperatorClusteringInsideFamily
- Class in
iterative_improvement
IterativeImprovementOperatorClusteringInsideFamily()
- Constructor for class iterative_improvement.
IterativeImprovementOperatorClusteringInsideFamily
IterativeImprovementOperatorConservative
- Class in
iterative_improvement
IterativeImprovementOperatorConservative(int, int)
- Constructor for class iterative_improvement.
IterativeImprovementOperatorConservative
IterativeImprovementOperatorDummy
- Class in
iterative_improvement
IterativeImprovementOperatorDummy()
- Constructor for class iterative_improvement.
IterativeImprovementOperatorDummy
IterativeImprovementOperatorParseMalpediaEval
- Class in
iterative_improvement
IterativeImprovementOperatorParseMalpediaEval(int)
- Constructor for class iterative_improvement.
IterativeImprovementOperatorParseMalpediaEval
IterativeImprovementRuleCollectionEntity
- Class in
iterative_improvement
IterativeImprovementRuleCollectionEntity()
- Constructor for class iterative_improvement.
IterativeImprovementRuleCollectionEntity
IterativeImprovementSystem
- Class in
iterative_improvement
IterativeImprovementSystem()
- Constructor for class iterative_improvement.
IterativeImprovementSystem
IterativeImprovementSystemFacade
- Class in
iterative_improvement
IterativeImprovementSystemFacade(DateTimeFormatter, LocalDateTime, Config, String, String, String)
- Constructor for class iterative_improvement.
IterativeImprovementSystemFacade
IterativeImprovementUtils
- Class in
iterative_improvement
IterativeImprovementUtils(Config, String, String, String)
- Constructor for class iterative_improvement.
IterativeImprovementUtils
A
B
C
D
E
F
G
H
I
L
M
N
O
P
R
S
T
U
V
W
Y
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Prev Letter
Next Letter
Frames
No Frames
All Classes


« CSS « CSS Reference
The outline-style
CSS property is used to set the style of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.
It is often more convenient to use the shortcut property
outline
instead of outline-style
, outline-width
and outline-color
.
none
visual
In browsers prior to Gecko 1.8 (Firefox 1.5) this effect can be achieved using Mozilla CSS Extension
-moz-outline-style
.
outline-style: auto | <border-style> | inherit
<border-style>
can be any of the following:
outline-width
is 0
).outline-width
is the sum of the two lines and the space between them. groove
: the outline looks as though it were coming out of the canvas. inset
: the outline makes the box look as though it were coming out of the canvas..example { /* make the outline a 3D groove style */ outline-style: groove; /* same result as "outline: groove" */ }
| Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Basic support | 1.0 | 1.5 (1.8) | 8.0 | 7.0 | 1.2 (125) |
| Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Basic support | ? | ? | ? | ? | ? |
See
outline
property


We define a type of trees based on lists of trees. In this type, an node can have an arbitrary (but finite) number of children, grouped in a list.
Require Export List. Inductive ltree (A:Set) : Set := lnode : A -> list (ltree A)-> ltree A.
We can define a similar type using mutual inductive types as in the following definition:
Inductive ntree (A:Set) : Set := nnode : A -> nforest A -> ntree A with nforest (A:Set) : Set := nnil : nforest A | ncons : ntree A -> nforest A -> nforest A.
Define functions ltree_to_ntree and ntree_to_ltree that establish a bijection between the two types and prove the bijection property.


Map Annotation
SVL Simulator supports creating, editing, and exporting of HD maps of existing 3D environments (Unity scenes) in Developer Mode. The maps can be saved in the currently supported Apollo, Autoware or Lanelet2 formats.
Map annotation objects contain a combination of data for all export formats and internal NPC navigation. The classes are organized in a specific way to better support NPC navigation. Not all data contained in an HD map import is kept in the annotation objects.
To better understand map annotation objects and how they are organized, please review existing open-source maps before attempting to create complex map annotation scenes.
Table of Contents
Creating a New Map top#
- Make sure your roads belong to the layer of
Default
since waypoints will be only created on this layer. - Make sure your environment has
Mesh Collider
Unity components added. - Open
HD Map Annotation
inUnity
:Simulator
->Annotate HD Map
- By default, map annotation is not shown. Click
View All
underView Modes
to show all existing map annotations. Or you can clickLock View Selected
to only show the annotations you are selecting. NOTE Large maps with heavy annotation will slow the Unity Editor; be sure to only enable what you need to work with. You can also use the Unity Editor features to hide objects that are not needed in the Hierarchy panel. - Before annotating, drag in the correct
Parent Object
, for exampleTrafficLanes
. Then every new object you create will be underTrafficLanes
object. - The expected object hierarchy is as follows:
Map
- This prefab which will be the object containing all the HD Annotations. TheMapHolder
script should be added to this prefabTrafficLanes
- This object will hold all of theMapLaneSection
andMapLane
which cannot be grouped underMapLaneSection
MapLaneSection
- This will hold all of the lanes in a section of roadMapLane
- A single annotated lane
Intersections
- This object will hold all of theMapIntersection
MapIntersection
- This object will hold all of the annotations for an intersectionMapLane
- A single annotated laneMapLine
- A single annotated line (e.g. a stop line)MapSignal
- A single annotated traffic signalMapSign
- A single annotated traffic sign (e.g. a stop sign)
BoundaryLines
- This object will hold all of boundary lines
- More notes on
HD Map Annotation
window:- Under
Utilities
, there are three Utility buttonsSnap all
which will snap all your annotations to ground layer. NOTE Colliders above the annotation will catch the raycast; be sure to turn off before using this tool.Remove lines
which will remove all extra boundary lines in the map annotations. If two boundary lines' end points are both overlapping, one of the lines will be removed and the other will be shared.Create lines
which will create fake boundary lines for all lanes which miss boundary lines using fixed width. To quick annotate a map, you can first annotate lanes, click this button to create boundary lines, and then adjust them.
- Under
Create Intersection / Lane Section Holder
, there are two buttonsIntersection
andLane Section
to create these two objects quickly and attach the corresponding scripts.
- Under
- To make
Map
a prefab, drag it from the sceneHierarchy
into the Project folder
- After annotation is done, remember to save: select the
Map
prefab, in the Inspector clickOverrides
->Apply All
Annotate Lanes top#
Create Parent Object top#
- In the
Map
prefab (if you don't have one, you can create an empty game object, attachingMapHolder
script and make it a prefab), create a new object and name it "TrafficLanes" - In the Inspector of the
Map
, drag the newTrafficLanes
object into theTraffic Lanes holder
- In
TrafficLanes
, create a new object- Add the
MapLaneSection
script to the object and position it close the section of road that will be annotated - You can also create a
MapLaneSection
object using theLane Section
button inHD Map Annotation
window. MapLaneSection
script is needed for sections that contain more than 1 lane. For sections with only 1 lane, they can be left as a child object of the TrafficLanes object or grouped with the boundary lines under a different parent object without theMapLaneSection
script.
- Add the
- Each
MapLaneSection
will contain parallel lanes with similar lengths- 1
MapLane
per lane of road as well as 1MapLine
per boundary line (optional, you can use the utility buttonCreate lines
to generate fake boundary lines) - If the annotations will be broken up into multiple
MapLane
(e.g. a straight section and a curved section), multipleMapLaneSection
are required - A
MapLane
cannot begin or end in the middle of anotherMapLane
(e.g. a lane splits or merges). This situation would require a 2ndMapLaneSection
to be created where the split/merge begins. - The other lanes on the road will also need to be broken up into multiple
MapLane
to be included in the multipleMapLaneSection
MapLaneSection
is used to automate the computation of relation of neighboring lanes. Please make sure every lane underMapLaneSection
has at least 3 waypoints.
- 1
Example of single lane splitting into a right-turn only lane and a straight lane
Make Lanes top#
- Select the
Lane/Line
option underCreate Mode
- A large yellow
TARGET_WAYPOINT
will appear in the center of the scene. This is where theTEMP_WAYPOINT
objects will be placed. TheTARGET_WAYPOINT
will not appear if your roads had no mesh collider attached. - Drag in the appropriate
MapLaneSection
to be theParent Object
- Click
Waypoint
button to create a newTEMP_WAYPOINT
. This is where the lane will begin.
- Move the scene so that the
TARGET_WAYPOINT
is in the desired location of the nextTEMP_WAYPOINT
- With 2 waypoints, the
Create Straight
function will connect the waypoints and use the number inWaypoint Count
to determine how many waypoints to add in between - More than 2 waypoints can be used with the
Create Straight
function and they will be connected in the order they were created, and theWaypoint Count
value will not be used - With 3 waypoints, the
Create Curve
function can be used to create a Bezier curve between the 1st and 3rd waypoints and theWaypoint Count
value will be used to determine how many waypoints to add in between.
- With 2 waypoints, the
- Verify
Lane
is the selectedMap Object Type
- Verify the selected
Lane Turn Type
is correct - Select the appropriate lane boundry types
- Enter the speed limit of the lane (in m/s)
- Enter the desired number of waypoints in the lane (minimum 2 for a straight lane and 3 for a curved lane)
- Click the appropriate
Connect
button to create the lane
- To adjust the positions of the waypoints, with the
MapLane
selected, in the Inspector checkDisplay Handles
. Individual waypoints can now have their position adjusted- You can also show each waypoint's handle by clicking
Toggle Handles
button inHD Map Annotation
window. NOTE Be sure to toggle off when finished editing. - Below you can also find a group of helper buttons to manipulate the lane's waypoints.
- Append - Adds a waypoint after the last index
- Prepend - Adds a waypoint before the first index
- Remove First - Removes the first waypoint
- Remove Last - Remove the the last waypoint
- Reverse - Reverses the waypoint order
- Clear - Removes all waypoints
- Double - Doubles the waypoint count
- Half - Reduces the waypoint count be approximately half
- You can also show each waypoint's handle by clicking
Make Boundary Lines top#
- Drag in the appropriate
MapLaneSection
to be theParent Object
- The same process as for lanes can be used to create boundary lines, but the
Map Object Type
will beBoundaryLine
- It is better to have the direction of a boundary line match the direction of the lane if possible
- For every boundary line, you also need to drag it into the corresponding field in the lane object.
- Boundary lines can be combined for adjacent lanes - no need to make duplicates for the same line.
- It is best to name boundary lines left and right so it is easier to tell which line goes into the public references on the map lane data.
Annotate Intersections top#
Create Parent Object top#
- In the
Map
prefab, create a new object and name it "Intersections" - In the Inspector of the
Map
, drag the newIntersections
object into theIntersections holder
- In
Intersections
, create a new object- Add the
MapIntersection
script to the new object and position it in the center of the intersection that will be annotated - You can also create an
MapIntersection
object using theIntersection
button inHD Map Annotation
window - You need to adjust the
Trigger Bounds
of theMapIntersection
so that the box covers the space of the intersection
- Add the
- The
MapIntersection
will contain all lanes, traffic signals, stop lines, and traffic signs in the intersection
Create Intersection Lanes top#
- Select the
Lane/Line
option underCreate Mode
- Drag in the
MapIntersection
as theParent Object
- Place the intersection object in the center of the intersection.
- The same process for creating normal
MapLane
is used here - If the Lane involves changing directions, verify the correct
Lane Turn Type
is selected - If you are annotating boundary lines for each lane, remember to set
VIRTUAL
as theLine Type
for the line objects - If there is a stop line in the intersection, the start of the intersection lanes should be after the stop line
- Be sure the trigger bounds size covers most of the intersection, in X,Y, and Z axes, but does not overlap with any stop lines. This trigger volume counts NPCs that enter the intersection and will cause errors if an NPC is counted before it reaches the intersection itself.
- For NPCs to properly navigate an intersection, the
Yield To Lanes
list of a lane (usually a turning lane) must be manually filled in. WithView Selected
toggled in theHD Map Annotation
window, the lanes in theYield To Lanes
list will be highlighted in yellow to make it easier to verify that the correct lanes are in the list. Before an NPC enters an intersection lane, it will check that there are no NPCs on the lanes in theYield To Lanes
before continuing.- Enter the number of lanes that the current lanes yields to as the size of
Yield To Lanes
- For each element in the list, drag in a lane that takes priority over the selected lane
- For example, generally when turning left the NPC will yield to the oncoming traffic going straight so the straight lanes should be in the left turn lane's
Yield To Lanes
list
- For example, generally when turning left the NPC will yield to the oncoming traffic going straight so the straight lanes should be in the left turn lane's
- Enter the number of lanes that the current lanes yields to as the size of
Create Traffic Signals top#
- Select the
Signal
option underCreate Mode
- Drag in the
MapIntersection
as theParent Object
- Select the correct
Signal Type
- Traffic Signals are created on top of existing meshes. The signal annotation directions will be the same as the directions of the mesh. Please make sure the directions of the mesh is correct.
- Select the mesh that is going to be annotated
- Select the
Forward Vector
andUp Vector
so that it matches the selected mesh
- Click
Create Signal
to annotate the traffic signal - Make sure the bounds of the map signal match the mesh object bounds
Create Traffic Signs top#
- Select the
Sign
option underCreate Mode
- Drag in the
MapIntersection
as theParent Object
- Select the Sign mesh that is going to be annotated
- Select the
Forward Vector
andUp Vector
so that it matches the selected mesh - Change the
Sign Type
to the desired type - Click
Create Sign
to create the annotation - Find the stop line
MapLine
that is associated with the createdMapSign
- Select the
MapSign
and drag theMapLine
into theStop Line
box - Verify the annotation is created in the correct orientation. The Z-axis (blue) should be facing the same way the sign faces.
- Move the Bounding Box so that is matches the sign
Bound Offsets
adjusts the location of the boxBound Scale
adjusts the size of the box
Create Stop Lines top#
- Select the
Lane/Line
option underCreate Mode
- Drag in the
MapIntersection
as theParent Object
- A similar process to boundary lines and traffic lanes is used for stop lines
- Change the
Map Object Type
toStopLine
Forward Right
vsForward Left
depend on the direction of the lane related to this stop line and the order that the waypoints were created in. The "Forward" direction should match the direction of the lane- Example: In a right-hand drive map (cars are on the right side of the road), if the waypoints are created from the outside of the road inwards, then
Forward Right
should be selected. To verify if the correct direction was selected,Toggle Tool Handle Rotation
so that the tool handles are in the active object's rotation. The Z-axis of the selected Stop Line should point to the intersection.
- Example: In a right-hand drive map (cars are on the right side of the road), if the waypoints are created from the outside of the road inwards, then
- A
StopLine
needs to be with the lanes that approach it. - The last waypoint of approaching lanes should be perpendicular and intersect with the stop line
- Stop lines should be checked IsStopSign for stop sign intersections and left false for signal light intersections
- For intersections that do not have signals, stop lines are not needed.
Create Pole top#
Poles are required for Autoware Vector maps. In an intersection with traffic lights, there is 1 MapPole
on each corner, next to a stop line. The MapPole
holds references to all traffic lights that signal the closest stop line.
- Select the
Pole
option underCreate Mode
- Drag in the
MapIntersection
as theParent Object
- A
TARGET_WAYPOINT
will appear in the center of the scene. This is where the pole annotation will be created. - Position the
TARGET_WAYPOINT
on the corner of the intersection near the stop line - Click
Create Pole
to create the annotation - Find the traffic light
MapSignal
that are associated with the closest stop line - Select the
MapPole
- In the Inspector, change the
Signal Lights
size to be the number ofMapSignal
that signal the stop line - Drag 1
MapSignal
into each element ofSignal Lights
Annotate Self-Reversing Lanes top#
These types of lanes are only supported on Apollo 5.0
Annotation Information top#
There are TrafficLanes and Intersections objects. TrafficLanes object is for straight lane without any branch. Intersections object is for branching lanes, which has same predecessor lane.
Annotate Self-Reversing Lanes under Traffic Lanes top#
- Add MapLaneSection game object under TrafficLanes. MapLaneSection has one pair of lanes, which are forward and reverse lanes.
- Annotate lane given name to MapLane_forward and move it under MapLaneSection.
- Use straight line connect menu with way point count and move each point to shape lane.
- Use Display Lane option to show width of lane. In order for parking to work, there should have some space between parking space and lane.
- Duplicate the MapLane_forward and rename it to MapLane_reverse.
- Choose MapLane_reverse and click Reverse Lane.
- Reverse Lane will have way points in reverse order and make tweak to each way point.
- Routing module doesn't work right when forward and reverse lane have same way point coordinates.
- Choose both lanes (MapLane_forward, MapLane_reverse) and change properties like the following:
- Is Self Reverse Lane: True
- Lane Turn Type: NO_TURN
- Left Bound Type: SOLID_WHITE
- Right Bound Type: SOLID_WHITE
- Speed Limit: 4.444444 (This value is indicated in sunnyvale_with_two_offices map)
- Set Self Reverse Lane for each lane
- As for forward lane, you can drag reverse lane game object to Self Reverse Lane of forward lane.
- As for reverse lane, you can do the same way.
Annotate Self-Reversing Lanes under Intersections top#
- Add MapIntersection game object under Intersections. MapIntersection has several pair of lanes.
- Annotate lane given name to MapLane_forward move it under MapIntersection.
- Use curve connect menu with way point count, 5.
- Duplicate the MapLane_forward and rename it to MapLane1_reverse.
- Choose MapLane_reverse and click Reverse Lane.
- Reverse Lane will have way points in reverse order and make tweak to each way point.
- Routing module doesn't work right when forward and reverse lane have same way point coordinates.
- Choose both lanes (MapLane_forward, MapLane_reverse) and change properties like the following:
- Is Self Reverse Lane: True
- Left Bound Type: DOTTED_WHITE
- Right Bound Type: DOTTED_WHITE
- Speed Limit: 4.444444 (This value is indicated in sunnyvale_with_two_offices map).
- Choose each lane and decide its turn type considering its direction.
- Lane Turn Type: NO_TURN or LEFT_TURN or RIGHT_TURN
- Set Self Reverse Lane for each lane
- As for forward lane, you can drag reverse lane game object to Self Reverse Lane of forward lane.
- As for reverse lane, you can do the same way.
Annotate Other Features top#
Other annotation features may be included in the TrafficLanes
or Intersections
objects or they may be sorted into other parent objects.
Create Pedestrian NavMesh top#
To support pedestrians, the map must include a NavMesh created with the the Unity Editor.
- Be sure map scene is saved in the correct folder in Assets/External/Environments/YourMap
- Mark all walkable ground meshes as Navigation Static in the Inspector panel
- Open Window -> AI -> Navigation
- Select meshes and mark Navigation Area in the Object menu of the Navigation panel
- Road and Sidewalk MUST be separate meshes and layered for Pedestrian crosswalk to work (see second image below)
- Click Bake button in the Bake menu of the Navigation panel. NavMesh will be created in a folder named from the scene file.
Create Pedestrian Path Sidewalk top#
This annotation controls where pedestrians will pass on sidewalks. Pedestrians can walk anywhere but will stay on annotated areas if possible.
- Select the
Pedestrian
option underCreate Mode
- Drag in the desired
Parent Object
- A
TARGET_WAYPOINT
will appear in the center for the scene. This is where theTEMP_WAYPOINT
will be created. - Position the
TARGET_WAYPOINT
on the desired path - Click
Waypoint
to create aTEMP_WAYPOINT
- Repeat to create a trail of
TEMP_WAYPOINT
along the desired path - Click
Connect
to create theMapPedestrian
object
Create Pedestrian Path Crosswalk top#
This annotation controls where pedestrians will walk on crosswalks. Pedestrians can walk anywhere but will stay on annotated areas if possible. When annotated correctly, pedestrians will only walk when signal lights are red.
- Select the
Pedestrian
option underCreate Mode
- Drag in the MapIntersection
Parent Object
. This MUST be the MapIntersection object for the pedestrian to know what signal states are. - Again, MapIntersection holder MUST be the parent for crosswalk map pedestrian annotation.
- A
TARGET_WAYPOINT
will appear in the center for the scene. This is where theTEMP_WAYPOINT
will be created. - Position the
TARGET_WAYPOINT
on the desired path - Click
Waypoint
to create aTEMP_WAYPOINT
start - Click
Waypoint
to create aTEMP_WAYPOINT
end - Select Crosswalk type and select Z forward orientation. MapPedestrian object MUST be Z-forward INTO intersection.
- Click
Connect
to create theMapPedestrian
object
Create Junction top#
Junction annotations need to be annotated for Apollo 5.0 for Map Exporter to work correctly. It converts the boundary of the intersection.
- Select the
Junction
option underCreate Mode
- Drag in the desired
Parent Object
- A
TARGET_WAYPOINT
will appear in the center fo the scene. This is where theTEMP_WAYPOINT
will be created. - Position the
TARGET_WAYPOINT
to one vertex of the junction - Click
Waypoint
to create aTEMP_WAYPOINT
- Create the desired number of
TEMP_WAYPOINTS
- Click
Connect
to create theMapJunction
Create Crosswalk top#
- Select the
CrossWalk
option underCreate Mode
- Drag in the desired
Parent Object
- A
TARGET_WAYPOINT
will appear in the center fo the scene. This is where theTEMP_WAYPOINT
will be created. - Position the
TARGET_WAYPOINT
to one corner of the crosswalk - Click
Waypoint
to create aTEMP_WAYPOINT
- Create 4
TEMP_WAYPOINT
in the order shown below - Click
Connect
to create theMapCrossWalk
Create Clear Area top#
- Select the
ClearArea
option underCreate Mode
- Drag in the desired
Parent Object
- A
TARGET_WAYPOINT
will appear in the center fo the scene. This is where theTEMP_WAYPOINT
will be created. - Position the
TARGET_WAYPOINT
to one corner of the clear area - Click
Waypoint
to create aTEMP_WAYPOINT
- Create 4
TEMP_WAYPOINT
in the order shown below - Click
Connect
to create theMapClearArea
Create Parking Space top#
- Select the
ParkingSpace
option underCreate Mode
- Drag in the desired
Parent Object
- A
TARGET_WAYPOINT
will appear in the center fo the scene. This is where theTEMP_WAYPOINT
will be created. - Position the
TARGET_WAYPOINT
to the corner of the parking space closest to an approaching vehicle - Click
Waypoint
to create aTEMP_WAYPOINT
- Create 4
TEMP_WAYPOINT
in the order shown below - Click
Connect
to create theMapParkingSpace
NOTE: Apollo 5.0 requires some space between the edge of a lane and the parking space. To verify that there is space, select the MapLane
that goes past the MapParkingSpace
and click Display Lane
. This will show the width of the lane facilitate adjustment of the lane to have a gap between the lane and parking space.
Create Speed Bump top#
- Select the
SpeedBump
option underCreate Mode
- Drag in the desired
Parent Object
- A
TARGET_WAYPOINT
will appear in the center fo the scene. This is where theTEMP_WAYPOINT
will be created. - Position the
TARGET_WAYPOINT
to one end of the speed bump - Click
Waypoint
to create aTEMP_WAYPOINT
- Create 2
TEMP_WAYPOINT
in the order shown below - The
TEMP_WAYPOINT
should be wide enough to be outside the lane - Click
Connect
to create theMapSpeedBump
- To verify that the
MapSpeedBump
is wide enough, select theMapLane
that theMapSpeedBump
crosses. EnableDisplay Lane
to visualize the width of the lane. If necesary, select theMapSpeedBump
and enableDisplay Handles
to adjust the positions of the individual waypoints.
Export Map Annotations top#
HD Map Annotations may be exported in a variety of formats. Current supported formats are:
- Apollo 5.0 HD Map
- Apollo 3.0 HD Map
- Autoware Vector Map
- Lanelet2 Map
- OpenDrive Map
To export a map:
- Open the
HD Map Export
tool inUnity
:Simulator
->Export HD Map
- Select the desired format from the dropdown
Export Format
- Enter the desired save location of the exported map
- Click
Export
to create the exported map - Note the exporter will fail if any lane has no boundary lines annotated - you need to either manually annotate them or use the
Create lines
button inHD Map Annotation
window to create fake boundary lines.
Import Map Annotations top#
The simulator can import a variety of formats of annotated map. NOTE After importing an HD map, you will be required to check each annotation to make sure import is correct. Simulator will provide logs if there are issues that need resolved. If the importer cannot parse a HD map, it will make holder objects that will need manually edited.
Current supported formats are:
- Lanelet2 Map
- Apollo 5.0 HD Map
- OpenDRIVE Map
To import a map:
- Open the
HD Map Export
tool inUnity
:Simulator
->Import HD Map
- Select the format of the input map from the dropdown
Import Format
- Select the file or folder that will be imported
- Click
Import
to import the map annotations into the simulator Distance Threshold
is used to down-sample straight lines/lanes andDelta Threshold
is used to down-sample curved lines/lanes. Changing both of them to0
will keep all points, but for large maps displaying all annotations may lead to Unity crash.
Lanelet2 map importer Notes:
- Lanes will be automatically imported and grouped as
MapLaneSection
if possible - Intersections with four-way traffic lights / stop signs or two-way stop signs can be imported and grouped under
MapIntersection
- Left-turn lanes are automatically found and their corresponding lanes to yield are also obtained automatically to get NPCs working correctly
- For each
MapIntersection
, you need to manually adjustX
andZ
for theTrigger Bounds
as explained in annotate intersection part. - Remember to check objects under
Intersections
are grouped correctly.
Map Formats top#
For more information on the map formats, please see the links below:


Sometimes the problem can be a lot simpler than it first initially looks. There were a couple of instances were I was probably overthinking what I had to do when the answer was straight in front of me. I remember a couple of instances where code would not run correctly because I had not noticed that there was a curly bracket missing! Simple things like checking the syntax can often be the answer to a lot of issues.
Im not sure how elegant it was but when I was trying to complete the SuperFizzBuzz challenge in the Repl.it Kata’s I was trying to find out a way to make the console print the word ‘FizzBuzz’ when it reached a multiple of 3 or 5. It wasn’t doing this because this conditional statement was the last condition. It took me probably longer than it should have to figure out that all I had to do was to put this statement first and it would work. It was literally done through trial and error and moving around the order of the statements , testing them until it finally worked.
What helped me through both of these problems was checking error messages and trying to understand them but also trial and error. If I am not getting the result I want then try something else and get a little closer to the answer. It can be frustrating to encounter problems but it’s important to step back and take a break when needed. One of the main things that I learned as I have mentioned earlier is that sometimes the problem is a lot simpler than it seems you just have to work though it, understand it and hopefully the answer is not too far away.
I really found using pseudocode helpful when attempting these problems. Even the act of breaking down the problem into steps and just verbalising what needed to be done was helpful. Its definitely something a want to get into the habit of doing whenever I have a problem to solve.
Probably something I didn’t do enough of. I have a tendency of trying to figure out the solution completely without trying different things along the way so this is definitely something need to do more of.
My cat has definitely listened to a lot of my problems over the last couple of weeks! I think verbalising the error can definitely be useful in recognising my understanding of the problem.
I find the error messages in my text editor extremely useful and its something I will go to very quickly if there is a problem. If its a syntax issue I can usually figure it our from here very quickly.
Similar to not trying things out I definitely do not use this method enough. It’s very useful to help you orientate yourself when a problem arises so I need to build more of a habit and use this a lot more often.
Probably my go to default method when trying to solve an issue. The answer to my question is almost certainly here somewhere but it can be very overwhelming trawling through the internet. I find it very easy to get lost down a bit of a rabbit hole so I think discipline is crucial if using this method and maybe just sticking to a few trusted resources like stack overflow and W3schools.
Not really a method that I have used yet but im certainly not worried about doing so if I feel its the right thing to do and I am at a loose end.
Very happy to ask the coaches for help. I have had a few experiences already of dealing with the facilitators and they have been more than helpful.
I think this definitely helps cement ideas and concepts but I’m not sure if I have really used it as a problem solving method as such, although it does help me to gain awareness of my level of understanding of an issue.


Opened files
Workspace
You haven't added any folders to the workspace.
Open folder
Register/Flag name
Register/Flag value


Numbers 3:37
And the pillars of the court round about, and their sockets, and their pins, and their cords.


Activity Portal
Home
Branch
Degree
Faculty
Student
Activity
Hello,
Admin !
Activity
Add Category
Add Activty
Assign Faculty
×
Details succesfully Added!
Add Category
Category Name:
Add Category
Sort By Category
Multicon
CSI
Search
Activity
Category
Start Date
Paper Presentaion
Multicon-W
25-2-2020
View more
Paper Presentaion
Multicon-W
25-2-2020
View more
Paper Presentaion
Multicon-W
25-2-2020
View more


Managing Partner - SRK Business Services present
SRK Business Services is a company that was created to help small businesses with their technology and financial requirements. SRK Business Services assists local businesses in establishing an online presence and providing them with the resources they require to flourish. The company also invests in and acquires small businesses in the greater toronto area.


ffmpeg picture-in-picture
So just a quick one. I needed to create a video that has Picture in Picture. So we could have a video of the presentation, inside a recording of the slides used. Usually I would use Adobe premier pro for this, but as I have Ubuntu installed on my laptop, I though of ffmpeg. It is much less resource intensive then the Adobe product, but of course its all command line, so you don’t get a pretty GUI to play with. Once you master ffmpeg, its an amazing and fast tool that can do pretty much manipulate any audio/visual that you need in any way you want
Here is a screen shot of what it accomplishes. It encodes it using mpeg4 for video, and mp3 for audio and keeps the quality of the original video’s. (this is just an example using 2 random videos I found)
If you adjust the bits “-overlay_w-250” and “-overlay_h-100” this is adjust the location of the pip relative to the bottom corner of the screen (I’m pretty sure)


Phonics
Phonics.  No more emergent literacy you now teach young readers.
The Readings
Chall's Stages
BUILDING THE FOUNDATION. How to Teach Phonics Online version
.The Tasks
Read
Complete the readings.
Annotate the readings by focusing on your key area you will teach to class. You are responsible to know the entire contents.
Write
Curate resources
How would you teach your assigned phocs skills. Teach us five methods.
Participate
You will teach a mini-lesson on June 12th using your assigned phonics group.
Criteria
- Identify the growth in phonemic awareness and describe better teaching pracitces in foundational skills
Evidence
- Use of the CCSS foundational skills in lesson plan
- Uses key definitions in blog posts and artifacts


Former Vice President Joseph R. Biden Jr. announced Thursday that he would seek the Democratic nomination to challenge President Trump in 2020, marshaling his experience and global stature in a bid to lead a party increasingly defined by a younger generation that might be skeptical of his age and ideological moderation.
Mr. Biden, 76, is set to offer himself as a levelheaded leader for a country wracked by political conflict, a rationale he believes could attract a broad cross-section of voters who want to move on from Mr. Trump.
In a three-and-a-half minute video laying out his reasons for running, Mr. Biden chose not to talk about policy issues or his biography but instead began by recalling the white supremacist march through Charlottesville, Va., in 2017 and a counterprotest, and Mr. Trump’s comment that there were “very fine people on both sides. ” In that moment, Mr. Biden said, “I knew the threat to our nation was unlike any I’d ever seen in my lifetime. ”
“We are in the battle for the soul of this nation,” Mr. Biden said. “ I believe history will look back on four years of this president and all he embraces as an aberrant moment in time. But if we give Donald Trump eight years in the White House, he will forever and fundamentally alter the character of this nation, who we are, and I cannot stand by and watch that happen.”


Returns a child member at the same position as a member from another ancestor.
Syntax
Cousin ( member1, member2 )
| Parameter | Description |
|---|---|
|
A child member. For example, [Year].[Qtr1]. |
|
|
An ancestor for which Cousin() should the return child member at the same position as member1. |
Notes
Assuming a symmetric hierarchy, Cousin takes as input one member (member1) from one hierarchy and an ancestor member (member2) of another hierarchy, and returns the child of member2 that is at the same position as member1.
Example
This example uses the following parts of the Sample Basic outline:
The following expression
{ Cousin ( [Qtr2].[Apr], [Qtr4] ) }
returns the member:
[Qtr4].[Oct]
And the following expression
[Product].generations(2).members
returns the set:
{ [100], [200], [300], [400], [Diet] }
Therefore, the following query
SELECT { Cousin ( [Qtr2].[Apr], [Qtr4] ) } ON COLUMNS, [Product].generations(2).members ON ROWS FROM Sample.Basic
returns the grid:
| Oct | |
| 100 | 2317 |
| 200 | 2505 |
| 300 | 2041 |
| 400 | 1790 |
| Diet | 2379 |


I’ve written before about the power of text expansion. Although it took me a long time to really get into the swing of typing snippets instead of full-blown words/sentences/etc., the cost has been well worth the result.
While listening to a text expansion-laden episode of Mac Power Users the other day, I realized that I have a lot of snippets I’ve collected; it’s high time that I shared these out in a way consistent with my iOS url scheme guide.
The primary thing to note: all of my snippets are from aText; as such, I offer download links that are compatible with aText. I imagine that the basic concepts relate equally well to TextExpander, etc., but your mileage may vary.
Communication
These snippets are used to automate common phrases, statements, etc. that I use in emails, instant messages, etc.
Abbreviation Prefix: ,
Application Scope: All Applications
Expand: Immediately
Snippets:
,lmk
– expands intoLet me know if you have any questions.
,tkvm
– expands intoThank you very much!
,igb
– expands intoI'll get back to you shortly.
,?
– expands intoI'm not sure what you're asking – could you give me some more detail?
Date/Time
These snippets allow me to quickly enter commonly used dates and times, as well as some of their individual components
Abbreviation Prefix: ,
Application Scope: All Applications
Expand: At delimiter (discard delimiter) (I ilke to stick with the same delimiter, so I use a ,
.)
Snippets:
,d,
– expands into the current date in yyyy-MM-dd format,dd1,
– expands intoMonday
,dd2,
– expands intoTuesday
,dd3,
– expands intoWednesday
,dd4,
– expands intoThursday
,dd5,
– expands intoFriday
,dd6,
– expands intoSaturday
,dd7,
– expands intoSunday
,dm1,
– expands intoJanuary
,dm2,
– expands intoFebruary
,dm3,
– expands intoMarch
,dm4,
– expands intoApril
,dm5,
– expands intoMay
,dm6,
– expands intoJune
,dm7,
– expands intoJuly
,dm8,
– expands intoAugust
,dm9,
– expands intoSeptember
,dm10,
– expands intoOctober
,dm11,
– expands intoNovember
,dm12,
– expands intoDecember
,dnm,
– expands into next Monday’s date (e.g., on 7/23/2014,7/28/14
),dnw,
– expands into next Wednesday’s date (e.g., on 7/23/2014,7/30/14
),dnf,
– expands into next Friday’s date (e.g., on 7/23/2014,7/25/14
),dns,
– expands into next Saturday’s date (e.g., on 7/23/2014,7/26/14
)
Markdown
These snippets allow me to quickly hammer out Markdown syntax (which can sometimes be a bear to type out manually).
Note that many of these snippets make use of a couple of special aText symbols:
【|】
– this is aText’s cursor token. By placing this in a snippet, the cursor is automatically placed in the desired place after expansion occurs.【clipboard】
– this is aText’s clipboard token. The contents of the clipboard are automatically placed here during expansion.
Abbreviation Prefix: ,
Application Scope: All Applications
Expand: Immediately
Snippets:
,mh1
– expands into# 【|】 #
,mh2
– expands into## 【|】 ##
,mh3
– expands into### 【|】 ###
,mref
– expands into[【|】]: 【clipboard】
,mfn
– expands into[^【|】]:
,me
– expands into*【|】*
,mb
– expands into**【|】**
,mimg
– expands into!\[【|】\](【clipboard】)
Specialty Snippets
These snippets – borrowed and adapted from a post by Dr. Drang – create Markdown links from the current tab/window of the three primary browsers that I use: Firefox, Chrome, and Safari. They come in two forms: dynamic (where the text of the link is grabbed from the title of the browser window/tab) and static (where you are prompted to enter the text).
Markdown Links from Firefox
,ffdml
– Creates a dynamic (i.e., title included) Markdown link from the active window/tab in Firefox:
,ffsml
– Creates a static (i.e., no title included) Markdown link from the active window/tab in Firefox:
Markdown Links from Chrome
,chdml
– Creates a dynamic (i.e., title included) Markdown link from the active window/tab in Chrome:
,chsml
– Creates a static (i.e., no title included) Markdown link from the active window/tab in Chrome:
Markdown Links from Safari
,sdml
– Creates a dynamic (i.e., title included) Markdown link from the active window/tab in Safari:
,ssml
– Creates a static (i.e., no title included) Markdown link from the active window/tab in Safari:
Note Taking
These snippets allow me to add oft-used elements to my note-taking experiences in nvALT.
Abbreviation Prefix: ,
Application Scope: nvALT
Expand: Immediately
Snippets:
,c
– expands into[ x ]
,t
– expands into**Todos:**
,att
– expands into**Attendees:**
Tasks
These snippets allow me to add oft-used elements to OmniFocus.
Abbreviation Prefix: ,
Application Scope: OmniFocus
Expand: Immediately
Snippets:
,rte
– expands intoRespond to Email:
,cho
– expands intoCheck out