tokens list | ner_tags list |
|---|---|
[
"You",
"can",
"find",
"both",
"here",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"http://www.cromis.net/blog/downloads/"
] | [
"O"
] |
[
"Also",
"please",
"note",
"then",
"I",
"did",
"not",
"do",
"any",
"check",
"if",
"PostMessage",
"was",
"actually",
"sent",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O"
] |
[
"You",
"should",
"check",
"that",
"in",
"production",
"code",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"am",
"creating",
"a",
"app",
"whereby",
"the",
"user",
"inputs",
"data",
"into",
"a",
"form",
"and",
"then",
"hits",
"the",
"button",
",",
"opens",
"up",
"a",
"emailing",
"app",
"and",
"sends",
"it",
"off",
"to",
"the",
"email",
"address",
"put",... | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"have",
"3",
"checkboxes",
",",
"one",
"that",
"asks",
"if",
"the",
"user",
"wants",
"a",
"call",
"back",
",",
"one",
"if",
"they",
"want",
"an",
"email",
"back",
"and",
"one",
"saying",
"no",
"thanks",
"to",
"both",
"."
] | [
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"My",
"current",
"java",
"code",
"is",
":"
] | [
"O",
"O",
"B-Language",
"O",
"O",
"O"
] |
[
"And",
"then",
"the",
"method",
"which",
"calls",
"all",
"the",
"above",
"is",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"On",
"the",
"last",
"line",
",",
"I",
"want",
"to",
"get",
"the",
"data",
"from",
"the",
"checkbox",
"for",
"example",
",",
"if",
"the",
"call",
"back",
"box",
"was",
"ticked",
",",
"in",
"the",
"email",
"it",
"should",
"say",
"\"",
"The",
"user",
... | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"both",
"call",
"and",
"email",
"are",
"ticked",
"then",
"\"",
"The",
"user",
"requests",
"a",
"call",
"or",
"email",
"back",
"\"",
"and",
"if",
"the",
"no",
"thanks",
"checkbox",
"is",
"ticked",
"then",
"\"",
"The",
"user",
"does",
"n't",
"requi... | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"am",
"trying",
"to",
"create",
"a",
"dataset",
"pattern",
"like",
"this",
"from",
"the",
"rest",
"service",
"in",
"my",
"angular",
"application",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Library",
"O",
"O",
"O",
"B-Library",
"O",
"O"
] |
[
"Example",
":"
] | [
"O",
"O"
] |
[
"Right",
"now",
"this",
"is",
"my",
"code",
"to",
"build",
"a",
"similar",
"pattern",
","
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Problem",
"is",
"data",
"field",
"is",
"not",
"creating",
"an",
"array",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O"
] |
[
"This",
"is",
"the",
"final",
"output",
"which",
"the",
"above",
"code",
"generates",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"try",
"this",
",",
"You",
"nee",
"a",
"loop",
"for",
"dataname"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable"
] |
[
"push()",
"returns",
"the",
"new",
"array",
"'s",
"length"
] | [
"B-Function",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O"
] |
[
"or",
"you",
"can",
"use",
"concat()"
] | [
"O",
"O",
"O",
"O",
"B-Function"
] |
[
"SOLUTION"
] | [
"O"
] |
[
"Well",
",",
"that",
"'s",
"what",
"I",
"get",
"when",
"I",
"use",
"a",
"bit",
"oldish",
"Symfony2",
"release",
"(",
"2.0-RC6",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"B-Version",
"O",
"O"
] |
[
"It",
"seems",
"that",
"there",
"was",
"a",
"bug",
"in",
"__construct",
"of",
"RoleSecurityIdentity",
"(",
"reported",
"back",
"in",
"December",
"'",
"10",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Instead",
"of",
"instance",
"of",
"Role",
"it",
"should",
"be",
"instance",
"of",
"RoleInstance",
"."
] | [
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O"
] |
[
"I",
"should",
"probably",
"close",
"this",
"question",
"..",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"'m",
"pretty",
"new",
"to",
"whole",
"ACL",
"concept",
"in",
"Symfony2",
"but",
"I",
"understand",
"basics",
"behind",
"it",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Last",
"night",
"I",
"was",
"trying",
"to",
"make",
"next",
"scenario",
"work",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"have",
"2",
"user",
"roles",
"(",
"ROLE_GROUP1",
",",
"ROLE_GROUP",
"2)",
"and",
"I",
"want",
"to",
"setup",
"object-level",
"ACL",
"for",
"the",
"one",
"of",
"these",
"groups",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"B-Variable",
"I-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"user",
"with",
"ROLE_GROUP1",
"is",
"logged",
"in",
"it",
"should",
"put",
"this",
"role",
"into",
"ACE",
",",
"otherwise",
"it",
"should",
"put",
"ROLE_GROUP2",
"."
] | [
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O"
] |
[
"So",
"far",
"I",
"wrote",
"this",
"code",
"(",
"really",
"almost",
"identical",
"to",
"official",
"docs",
")",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"way",
"I",
"understand",
"it",
",",
"this",
"should",
"grant",
"all",
"permissions",
"to",
"users",
"with",
"ROLE_GROUP1",
"role",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O"
] |
[
"Am",
"I",
"wrong",
"?"
] | [
"O",
"O",
"O",
"O"
] |
[
"To",
"check",
"for",
"permissions",
"I",
"used",
"this",
"code",
"(",
"again",
",",
"from",
"official",
"docs",
")",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"..",
".",
"but",
"it",
"always",
"fails",
"(",
"that",
"is",
"throws",
"an",
"exception",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"looked",
"into",
"the",
"ACL",
"tables",
"and",
"everything",
"seemed",
"normal",
",",
"as",
"far",
"as",
"I",
"could",
"see",
"."
] | [
"O",
"O",
"O",
"O",
"B-Data_Structure",
"I-Data_Structure",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Am",
"I",
"doing",
"something",
"wrong",
"with",
"RoleSecurityIdentity",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O"
] |
[
"Is",
"there",
"any",
"way",
"to",
"achieve",
"this",
"scenario",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Any",
"help",
"would",
"be",
"much",
"appreciated",
"!"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"EDIT"
] | [
"O"
] |
[
"I",
"just",
"drilled",
"down",
"through",
"the",
"Symfony",
"'s",
"code",
"and",
"found",
"out",
"that",
"permission",
"grant",
"fails",
"in",
"equals",
"method",
"of",
"RoleSecurityIdentity",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"B-Class",
"O"
] |
[
"It",
"turns",
"out",
"that",
"$sid->getRole()",
"is",
"string",
"\"",
"ROLE_GROUP1",
"\"",
"while",
"$",
"this->role",
"is",
"Role",
"object",
"of",
"ROLE_GROUP1",
"role",
"."
] | [
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"B-Data_Type",
"O",
"B-Variable",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"O",
"B-Class",
"O",
"O",
"B-Variable",
"O",
"O"
] |
[
"Just",
"to",
"mark",
"this",
"question",
"as",
"resolved",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Solution",
":"
] | [
"O",
"O"
] |
[
"Well",
",",
"that",
"'s",
"what",
"I",
"get",
"when",
"I",
"use",
"a",
"bit",
"oldish",
"Symfony2",
"release",
"(",
"2.0-RC6",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"B-Version",
"O",
"O"
] |
[
"It",
"seems",
"that",
"there",
"was",
"a",
"bug",
"in",
"__construct",
"of",
"RoleSecurityIdentity",
"(",
"reported",
"back",
"in",
"December",
"'",
"10",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Instead",
"of",
"instance",
"of",
"Role",
"it",
"should",
"be",
"instance",
"of",
"RoleInstance",
"."
] | [
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O"
] |
[
"I",
"should",
"probably",
"close",
"this",
"question",
"..",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"have",
"two",
"tables",
"as",
"follows",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"two",
"tables",
"are",
"related",
"through",
"Foreign-key",
":",
"FkOriginalTextId"
] | [
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"B-Variable",
"I-Variable",
"I-Variable"
] |
[
"Basically",
",",
"OriginalText",
"will",
"have",
"key/value",
"pairs",
"for",
"different",
"languages",
"."
] | [
"O",
"O",
"B-Class",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"a",
"particular",
"client",
"wants",
"a",
"certain",
"value",
"to",
"be",
"customized",
"then",
"it",
"goes",
"to",
"the",
"CustomText",
"table",
"."
] | [
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"B-Data_Structure",
"O"
] |
[
"An",
"example",
"would",
"be",
"OriginalText",
":",
"Employee",
",",
"CustomText",
":",
"Staff-member",
"for",
"the",
"key",
":",
"Employee",
"."
] | [
"O",
"O",
"O",
"O",
"B-Class",
"O",
"B-Variable",
"O",
"B-Class",
"O",
"B-Variable",
"O",
"O",
"B-Variable",
"O",
"B-Variable",
"O"
] |
[
"I",
"want",
"to",
"write",
"a",
"Lambda/Linq",
"to",
"get",
"all",
"the",
"text",
"of",
"a",
"given",
"language",
"from",
"the",
"OriginalText",
"table",
",",
"but",
"the",
"TextValue",
"should",
"be",
"overriden",
"if",
"there",
"'s",
"a",
"custom",
"r... | [
"O",
"O",
"O",
"O",
"O",
"B-Library",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"B-Data_Structure",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"B-Class",... |
[
"I",
"can",
"do",
"this",
"using",
"multiple",
"SQL",
"statements",
"by",
"getting",
"the",
"OriginalText",
"values",
"to",
"a",
"temp",
"table",
"and",
"later",
"on",
"updating",
"them",
"with",
"CustomText",
"value",
",",
"but",
"is",
"there",
"'s",
"a",... | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Language",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"B-Variable",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Perhaps",
"using",
"a",
"CTE",
"?"
] | [
"O",
"O",
"O",
"O",
"O"
] |
[
"P.S",
".",
"I",
"want",
"to",
"do",
"this",
"using",
"LINQ",
"or",
"Lambda",
"expressions"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Library",
"O",
"B-Library",
"O"
] |
[
"As",
"two",
"tables",
"have",
"relations",
"so",
",",
"you",
"can",
"easily",
"check",
"if",
"each",
"OriginalText",
"item",
"has",
"a",
"CustomText",
"or",
"not",
"."
] | [
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O"
] |
[
"and",
"get",
"value",
"from",
"CustomText",
"if",
"exists",
":"
] | [
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O"
] |
[
"I",
"have",
"just",
"normalized",
"the",
"font",
"size",
"with",
"this",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"I-Variable",
"O",
"O",
"O"
] |
[
"Now",
"I",
"would",
"like",
"to",
"resize",
"the",
"heading",
"tags",
"giving",
"percentages",
"to",
"the",
"<h1>,",
"<h2>",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"B-HTML_XML_Tag",
"I-HTML_XML_Tag",
"O"
] |
[
"Something",
"like",
"this",
":"
] | [
"O",
"O",
"O",
"O"
] |
[
"As",
"you",
"can",
"see",
",",
"I",
"gave",
"a",
"percentage",
"to",
"the",
"h2",
",",
"but",
"what",
"are",
"the",
"percentages",
"for",
"the",
"rest",
"of",
"them",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-HTML_XML_Tag",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"percentages",
"can",
"be",
"whatever",
"you",
"want",
"them",
"to",
"be",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"There",
"'s",
"nothing",
"saying",
"that",
"an",
"H1",
"has",
"to",
"be",
"bigger",
"than",
"an",
"H2",
",",
"that",
"'s",
"just",
"the",
"default",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-HTML_XML_Tag",
"O",
"O",
"O",
"O",
"O",
"O",
"B-HTML_XML_Tag",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"View",
"the",
"falowing",
"link",
",",
"it",
"might",
"help",
"you",
"solve",
"that",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"CSS",
"FONT",
"SIZE",
"em",
"vs",
"px",
"vs",
"pt",
"vs",
"%"
] | [
"B-Language",
"B-Variable",
"I-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"found",
"this",
"link",
"with",
"a",
"conversion",
"table",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O"
] |
[
"I",
"am",
"trying",
"to",
"assign",
"click",
"event",
"to",
"a",
"button",
"using",
"live",
"and",
"want",
"the",
"user",
"can",
"only",
"trigger",
"it",
"only",
"once",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Are",
"there",
"anyways",
"to",
"do",
"it",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Please",
"note",
":",
"The",
"button",
"is",
"created",
"dynamically",
"."
] | [
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O"
] |
[
"You",
"can",
"use",
"one()",
"with",
"delegated",
"handlers",
"as",
"well",
"(",
"in",
"jQuery",
"1.7",
"+",
")",
"and",
"replace",
"the",
"deprecated",
"live()",
"function",
"with",
"something",
"like",
"this",
":"
] | [
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Library",
"B-Version",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"replace",
"document",
"with",
"the",
"closest",
"non-dynamic",
"parent",
"."
] | [
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"best",
"option",
"is",
"to",
"use",
".one",
"instead",
"of",
"live",
"for",
"the",
"button",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"B-Function",
"O",
"O",
"B-User_Interface_Element",
"O"
] |
[
"That",
"makes",
"more",
"sense.",
"."
] | [
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"you",
"do",
"not",
"want",
"to",
"use",
"it",
"then",
"you",
"can",
"use",
"a",
"Hiddenfield",
"in",
"your",
"page",
"and",
"when",
"the",
"click",
"event",
"is",
"triggered",
"then",
"set",
"the",
"flag",
"value.",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O"
] |
[
"Next",
"time",
"when",
"you",
"click",
"the",
"button",
"check",
"for",
"the",
"flag",
"value",
",",
"if",
"it",
"was",
"already",
"executed",
"once",
"then",
"do",
"not",
"run",
"the",
"code",
"inside",
"it.",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Check",
"this",
"example",
"http://jsfiddle.net/sushanth009/Fakb5/"
] | [
"O",
"O",
"O",
"O"
] |
[
"Also",
"note",
"that",
".live",
"is",
"deprecated",
"in",
"the",
"current",
"jQuery",
"version",
"."
] | [
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"B-Library",
"O",
"O"
] |
[
"It",
"is",
"preferred",
"to",
"use",
".on()",
"instead"
] | [
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O"
] |
[
"Why",
"am",
"I",
"getting",
"this",
"error",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Here",
"'s",
"the",
"code",
"."
] | [
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"think",
"it",
"looks",
"fine",
",",
"but",
"I",
"may",
"have",
"some",
"pretty",
"bad",
"mistakes",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"sorry",
"for",
"the",
"dumb",
"question",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"am",
"trying",
"to",
"do",
"arrays",
"which",
"are",
"lists",
"in",
"python",
"(",
"for",
"the",
"first",
"time",
")",
",",
"and",
"I",
"am",
"also",
"new",
"to",
"coding",
"and",
"python",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"B-Data_Structure",
"O",
"B-Language",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Language",
"O"
] |
[
"Here",
":"
] | [
"O",
"O"
] |
[
"You",
"assign",
"playerHand",
"the",
"return",
"from",
"randint",
",",
"which",
"is",
"an",
"int",
"."
] | [
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"B-Data_Type",
"O"
] |
[
"Then",
"here",
":"
] | [
"O",
"O",
"O"
] |
[
"You",
"attempt",
"to",
"index",
"into",
"playerHand",
"like",
"it",
"is",
"an",
"array",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O"
] |
[
"Hence",
"the",
"error",
"."
] | [
"O",
"O",
"O",
"O"
] |
[
"You",
"need",
"make",
"a",
"list",
"."
] | [
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O"
] |
[
"The",
"wrong",
"version",
":"
] | [
"O",
"O",
"O",
"O"
] |
[
"The",
"correct",
"version",
":"
] | [
"O",
"O",
"O",
"O"
] |
[
"So",
"confusingly",
"@IfProfileValue",
"has",
"nothing",
"to",
"do",
"with",
"@Profile",
"or",
"@ActiveProfiles",
"."
] | [
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"B-Class",
"O"
] |
[
"@Profile",
"tests",
"to",
"see",
"if",
"a",
"profile",
"is",
"active",
",",
"@ActiveProfiles",
"sets",
"them",
"as",
"active",
",",
"and",
"@IfProfileValue",
"allows",
"you",
"to",
"check",
"things",
"in",
"Spring",
"Environment",
"."
] | [
"B-Class",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"B-Value",
"O",
"B-Class",
"O",
"O",
"O",
"B-Value",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Library",
"O",
"O"
] |
[
"Wut",
"?"
] | [
"O",
"O"
] |
[
"I",
"'d",
"deprecate",
"all",
"of",
"them",
"and",
"add",
"new",
"ones",
"@IfEnvironment",
",",
"@IfProfile",
",",
"and",
"@ActivateProfiles",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"B-Class",
"O",
"O",
"B-Class",
"O"
] |
[
"Commentary",
"aside",
",",
"how",
"can",
"I",
"use",
"@IfProfileValue",
"to",
"detect",
"whether",
"i",
"have",
"a",
"profile",
"active",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"B-Value",
"O"
] |
[
"I",
"am",
"not",
"using",
"Spring",
"Boot",
"on",
"this",
"project",
",",
"at",
"this",
"time",
"."
] | [
"O",
"O",
"O",
"O",
"B-Library",
"I-Library",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Answers",
"should",
"show",
"code",
",",
"and",
"we",
"will",
"assume",
"that",
"I",
"want",
"the",
"test",
"to",
"run",
"if",
"the",
"profile",
"is",
"activated",
"as",
"@ActiveProfiles",
"(",
"\"",
"test",
"\"",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"B-Class",
"I-Class",
"I-Class",
"I-Class",
"I-Class",
"I-Class",
"O"
] |
[
"I",
"tried",
"@IfProfileValue",
"(",
"name",
"=",
"\"",
"activeProfiles",
"\"",
",",
"value",
"=",
"\"",
"test",
"\"",
")",
"but",
"that",
"seems",
"to",
"have",
"the",
"test",
"skipped",
",",
"which",
"means",
"it",
"'s",
"not",
"matching",
"."
] | [
"O",
"O",
"B-Code_Block",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"... |
[
"I",
"'m",
"going",
"to",
"speculate",
"the",
"problem",
"may",
"have",
"to",
"do",
"with",
"the",
"fact",
"that",
"ActiveProfiles",
"is",
"a",
"Collection",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"B-Class",
"O"
] |
[
"That",
"'s",
"correct",
",",
"and",
"I",
"explained",
"this",
"in",
"detail",
"here",
":",
"https://stackoverflow.com/a/23627479/388980"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.