tokens list | ner_tags list |
|---|---|
[
"Here",
"is",
"my",
"code",
"from",
"my",
"index.php"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-File_Name"
] |
[
"Same",
"implementation",
"is",
"in",
"footer.php",
"at",
"a",
"given",
"position",
"."
] | [
"O",
"O",
"O",
"O",
"B-File_Name",
"O",
"O",
"O",
"O",
"O"
] |
[
"My",
"Problems",
"are",
":"
] | [
"O",
"O",
"O",
"O"
] |
[
"Content",
"I",
"add",
"via",
"backend",
"menu",
"themes",
"->",
"widgets",
"does",
"n't",
"show",
"up",
"and",
"is",
"deleted",
"next",
"time",
"I",
"open",
"the",
"backend",
"."
] | [
"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"
] |
[
"There",
"are",
"no",
"errors",
"in",
"the",
"wp-content/debug.log",
",",
"I",
"fixed",
"all",
"common",
"ones",
"after",
"activating",
"the",
"option",
"in",
"wp-config.php"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-File_Name",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-File_Name"
] |
[
"How",
"can",
"I",
"fix",
"this",
",",
"what",
"are",
"my",
"basic",
"thinking",
"mistakes",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Best",
"Regards",
"sKylo"
] | [
"O",
"O",
"B-User_Name"
] |
[
"Your",
"code",
"is",
"all",
"good",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Just",
"one",
"mistake",
",",
"you",
"are",
"using",
"%d",
"to",
"concatenate",
"the",
"decimals",
"after",
"your",
"id",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"O",
"B-Data_Type",
"O",
"O",
"B-Variable",
"O"
] |
[
"But",
"that",
"is",
"not",
"necessary",
"since",
"%d",
"is",
"automatically",
"added",
"to",
"the",
"supplied",
"id",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O"
] |
[
"Please",
"find",
"codex",
"link",
"at",
"the",
"end",
"of",
"this",
"answer",
"."
] | [
"O",
"O",
"B-Website",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"So",
",",
"I",
"removed",
"the",
"%d",
"from",
"the",
"id",
"section",
"of",
"your",
"code",
"and",
"now",
"it",
"works",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Solution",
":"
] | [
"O",
"O"
] |
[
"and"
] | [
"O"
] |
[
"You",
"do",
"not",
"need",
"to",
"add",
"%d",
"to",
"id",
"of",
"register_sidebars",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Code_Block",
"O",
"O",
"O",
"B-Function",
"O"
] |
[
"Please",
"read",
"the",
"codex",
","
] | [
"O",
"O",
"O",
"B-Website",
"O"
] |
[
"it",
"says",
":"
] | [
"O",
"O",
"O"
] |
[
"\"",
"%d",
"\"",
"is",
"added",
"automatically",
"to",
"supplied",
"'",
"id",
"'",
"value",
"after",
"the",
"first",
";",
"e.g",
".",
",",
"\"",
"Sidebar-1",
"\"",
",",
"\"",
"Sidebar-2",
"\"",
",",
"\"",
"Sidebar-3",
"\"",
",",
"etc",
"."
] | [
"O",
"B-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O"
] |
[
"the",
"question",
"i",
"am",
"asking",
"is",
"what",
"is",
"the",
"highest",
"numeric",
"value",
"X",
"will",
"hold",
"and",
"what",
"is",
"the",
"lowest",
"in",
"this",
"code",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Random",
"rand",
"=",
"new",
"Random()",
";"
] | [
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block"
] |
[
"int",
"x",
"=",
"1",
"-",
"rand.Next()%15",
";"
] | [
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block",
"I-Code_Block"
] |
[
"I",
"have",
"entered",
"this",
"and",
"receive",
"a",
"value",
"of",
"-12",
"as",
"a",
"result",
"but",
"cannot",
"get",
"a",
"range",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Value",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"rand.Next()",
"%",
"15",
"will",
"give",
"you",
"a",
"number",
"between",
"0",
"and",
"14",
"."
] | [
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Value",
"O",
"B-Value",
"O"
] |
[
"(",
"If",
"we",
"assume",
"that",
"it",
"generates",
"only",
"positive",
"integers",
",",
"otherwise",
"you",
"can",
"use",
"do",
"it",
"with",
"a",
"negative",
"number",
"too",
"take",
"a",
"look",
"here",
"how",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Type",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"https://math.stackexchange.com/questions/519845/modulo-of-a-negative-number"
] | [
"O"
] |
[
"Then",
"add",
"the",
"1",
"-",
"{",
"a",
"number",
"from",
"the",
"set",
"of",
"0",
"and",
"14}",
"and",
"you",
"get",
"your",
"answer",
"."
] | [
"O",
"O",
"O",
"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",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"However",
"pay",
"attention",
"that",
"\"rand.Next()",
"%",
"15",
"\"",
"is",
"equal",
"to",
"\"rand.Next(15)\"",
"and",
"also",
"you",
"can",
"use",
"this",
"code",
":"
] | [
"O",
"O",
"O",
"O",
"B-Code_Block",
"I-Code_Block",
"I-Code_Block",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"rand.Next(minValue,maxValue)",
"where",
"minValue",
"-",
"inclusive",
",",
"maxValue",
"-",
"exclusive"
] | [
"B-Function",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Variable",
"O",
"O"
] |
[
"I",
"'m",
"using",
".NET",
"entity",
"framework",
"4.1",
"with",
"code-first",
"approach",
"to",
"effectively",
"solve",
"the",
"following",
"problem",
",",
"here",
"simplified",
"."
] | [
"O",
"O",
"O",
"B-Library",
"I-Library",
"I-Library",
"B-Version",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"There",
"'s",
"a",
"database",
"table",
"with",
"tens",
"of",
"thousands",
"of",
"entries",
"."
] | [
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Several",
"users",
"of",
"my",
"program",
"need",
"to",
"be",
"able",
"to"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"View",
"the",
"(",
"entire",
")",
"table",
"in",
"a",
"GridRow",
",",
"which",
"implied",
"that",
"the",
"entire",
"Table",
"has",
"to",
"be",
"downloaded",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O"
] |
[
"Modify",
"values",
"of",
"any",
"random",
"row",
",",
"changes",
"are",
"frequent",
"but",
"need",
"not",
"be",
"persisted",
"immediately",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"It",
"'s",
"expected",
"that",
"different",
"users",
"will",
"modify",
"different",
"rows",
",",
"but",
"this",
"is",
"not",
"always",
"true",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Some",
"loss",
"of",
"changes",
"is",
"permitted",
",",
"as",
"users",
"will",
"most",
"likely",
"update",
"same",
"rows",
"to",
"same",
"values",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O",
"O",
"O",
"O"
] |
[
"On",
"occasion",
"add",
"new",
"rows",
"."
] | [
"O",
"O",
"O",
"O",
"B-Data_Structure",
"O"
] |
[
"Sounds",
"simple",
"enough",
"."
] | [
"O",
"O",
"O",
"O"
] |
[
"My",
"initial",
"approach",
"was",
"to",
"use",
"a",
"long-running",
"DbContext",
"instance",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O"
] |
[
"This",
"one",
"DbContext",
"was",
"supposed",
"to",
"track",
"changes",
"to",
"the",
"entities",
",",
"so",
"that",
"when",
"SaveChanges()",
"is",
"called",
",",
"most",
"of",
"the",
"legwork",
"is",
"done",
"automatically",
"."
] | [
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Function",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"However",
"many",
"have",
"pointed",
"out",
"that",
"this",
"is",
"not",
"an",
"optimal",
"solution",
"in",
"the",
"long",
"run",
",",
"notably",
"here",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"'m",
"still",
"not",
"sure",
"if",
"I",
"understand",
"the",
"reasons",
",",
"and",
"I",
"do",
"n't",
"see",
"what",
"a",
"unit-of-work",
"is",
"in",
"my",
"scenario",
"either",
"."
] | [
"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"
] |
[
"The",
"user",
"chooses",
"herself",
"when",
"to",
"persist",
"changes",
",",
"and",
"let",
"'s",
"say",
"that",
"client",
"always",
"wins",
"for",
"simplicity",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O"
] |
[
"It",
"'s",
"also",
"important",
"to",
"note",
"that",
"objects",
"that",
"have",
"not",
"been",
"touched",
"do",
"n't",
"overwrite",
"any",
"data",
"in",
"the",
"database",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Another",
"approach",
"would",
"be",
"to",
"track",
"changes",
"manually",
"or",
"use",
"objects",
"that",
"track",
"changes",
"for",
"me",
",",
"however",
"I",
"'m",
"not",
"too",
"familiar",
"with",
"such",
"techniques",
",",
"and",
"I",
"would",
"welco... | [
"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",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"What",
"'s",
"the",
"correct",
"way",
"to",
"solve",
"this",
"problem",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"understand",
"that",
"this",
"question",
"is",
"a",
"bit",
"wishy-washy",
",",
"but",
"think",
"of",
"it",
"as",
"more",
"fundamental",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"lack",
"fundamental",
"understanding",
"about",
"how",
"to",
"solve",
"this",
"class",
"of",
"problems",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"It",
"seems",
"to",
"me",
"that",
"long",
"living",
"DbContext",
"is",
"the",
"right",
"way",
",",
"but",
"knowledgeable",
"people",
"tell",
"me",
"otherwise",
",",
"which",
"leads",
"me",
"to",
"confusion",
"and",
"imprecise",
"questions",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"EDIT1"
] | [
"O"
] |
[
"Another",
"point",
"of",
"confusion",
"is",
"the",
"existance",
"of",
"Local",
"property",
"on",
"the",
"DbSet",
"<>",
"object",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Class",
"I-Class",
"O",
"O"
] |
[
"It",
"invites",
"me",
"to",
"use",
"a",
"long",
"running",
"context",
",",
"as",
"another",
"user",
"has",
"posted",
"here",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Sounds",
"to",
"me",
"like",
"your",
"users",
"could",
"have",
"a",
"copy",
"(",
"cached",
")",
"of",
"the",
"data",
"for",
"an",
"indefinate",
"period",
"of",
"time",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"longer",
"the",
"users",
"are",
"using",
"cached",
"data",
"the",
"greater",
"the",
"odds",
"that",
"they",
"could",
"become",
"disconnected",
"from",
"the",
"database",
"connection",
"in",
"DbContext",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O"
] |
[
"My",
"guess",
"is",
"EF",
"does",
"n't",
"handle",
"this",
"well",
"and",
"you",
"probably",
"want",
"to",
"deal",
"with",
"that",
"."
] | [
"O",
"O",
"O",
"B-Library",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"(",
"e.g",
".",
"occaisionally",
"connected",
"architecture",
")",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"would",
"expect",
"implementing",
"that",
"may",
"solve",
"many",
"of",
"your",
"issues",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Problem",
"with",
"long",
"running",
"context",
"is",
"that",
"it",
"does",
"n't",
"refresh",
"data",
"-",
"I",
"more",
"discussed",
"problems",
"here",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"So",
"if",
"your",
"user",
"opens",
"the",
"list",
"and",
"modify",
"data",
"half",
"an",
"hour",
"she",
"does",
"n't",
"know",
"about",
"changes",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"But",
"in",
"case",
"of",
"WPF",
"if",
"your",
"business",
"action",
"is",
":"
] | [
"O",
"O",
"O",
"O",
"B-Library",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Open",
"the",
"list"
] | [
"O",
"O",
"B-Data_Structure"
] |
[
"Do",
"as",
"many",
"actions",
"as",
"you",
"want"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Trigger",
"saving",
"changes"
] | [
"O",
"O",
"O"
] |
[
"Then",
"this",
"whole",
"is",
"unit",
"of",
"work",
"and",
"you",
"can",
"use",
"single",
"context",
"instance",
"for",
"that",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"If",
"you",
"have",
"scenario",
"where",
"last",
"edit",
"wins",
"you",
"should",
"not",
"have",
"problems",
"with",
"this",
"until",
"somebody",
"else",
"deletes",
"record",
"which",
"current",
"user",
"edits",
"."
] | [
"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"
] |
[
"Additionally",
"after",
"saving",
"or",
"cancelling",
"changes",
"you",
"should",
"dispose",
"current",
"context",
"and",
"load",
"data",
"again",
"-",
"this",
"will",
"ensure",
"that",
"you",
"really",
"have",
"fresh",
"data",
"for",
"next",
"unit",
"of",
... | [
"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",
"O",
"O",
"O",
"O"
] |
[
"Context",
"offers",
"some",
"features",
"to",
"refresh",
"data",
"but",
"it",
"only",
"refreshes",
"data",
"previously",
"loaded",
"(",
"without",
"relations",
")",
"so",
"for",
"example",
"new",
"unsaved",
"records",
"will",
"be",
"still",
"included",
"."
] | [
"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",
"O",
"O"
] |
[
"Perhaps",
"you",
"can",
"also",
"read",
"about",
"MS",
"Sync",
"framework",
"and",
"local",
"data",
"cache",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Library",
"I-Library",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"have",
"created",
"a",
"draggable",
"control",
"that",
"want",
"to",
"restrict",
"to",
"the",
"boundaries",
"of",
"it",
"'s",
"containing",
"grid",
"(",
"i.e",
".",
"not",
"let",
"the",
"user",
"drag",
"it",
"outside",
"of",
"the",
"grid",
")",
"... | [
"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",
"B-User_Interface_Element",
"O",
"O"
] |
[
"I",
"need",
"a",
"test",
"that",
"returns",
"true",
"or",
"false",
"so",
"that",
"I",
"can",
"cancel",
"the",
"drag",
"if",
"necessary",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Value",
"O",
"B-Value",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"have",
"looked",
"at",
"VisualTreeHelper.FindElementsInHostCoordinates",
"and",
"TransformToVisual",
"etc",
",",
"but",
"I",
"cannot",
"find",
"a",
"simple",
"way",
"of",
"doing",
"it",
"without",
"lots",
"of",
"checks",
"for",
"each",
"of",
"the",
"corner... | [
"O",
"O",
"O",
"O",
"B-Function",
"O",
"B-Function",
"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"
] |
[
"e.g",
".",
"some",
"code",
"(",
"Dialog",
"is",
"the",
"name",
"of",
"the",
"control",
"that",
"is",
"being",
"dragged",
")",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Thanks",
"."
] | [
"O",
"O"
] |
[
"In",
"the",
"end",
"I",
"took",
"another",
"approach",
";",
"instead",
"of",
"trying",
"to",
"stop",
"the",
"user",
"from",
"dragging",
"ANY",
"of",
"the",
"child",
"control",
"outside",
"of",
"the",
"boundary",
"of",
"the",
"container",
"I",
"have",
"o... | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
... |
[
"The",
"problem",
"with",
"this",
"was",
"that",
"the",
"parts",
"of",
"the",
"child",
"control",
"were",
"visible",
"outside",
"of",
"the",
"container",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"What",
"I",
"did",
"was",
"set",
"the",
"Clip",
"property",
"of",
"the",
"parent",
"control",
"so",
"that",
"the",
"parts",
"of",
"the",
"child",
"outside",
"of",
"the",
"boundary",
"are",
"hidden",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"I-Variable",
"O",
"O",
"O",
"B-Class",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"e.g",
".",
":"
] | [
"O",
"O",
"O"
] |
[
"This",
"seems",
"to",
"work",
"quite",
"nicely",
"!"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"This",
"is",
"no",
"way",
"other",
"than",
"checking",
"each",
"corner",
"of",
"the",
"control",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"However",
",",
"you",
"can",
"take",
"some",
"shortcuts",
"as",
"you",
"know",
"that",
"Dialog",
"and",
"what",
"you",
"are",
"dragging",
"it",
"over",
"wo",
"n't",
"change",
"shape",
"or",
"size",
"during",
"the",
"drag",
"and",
"that",
"it",
"'s",
"... | [
"O",
"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",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",... |
[
"This",
"only",
"applies",
"if",
"Dialog",
"is",
"not",
"rotated",
"."
] | [
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O"
] |
[
"So",
",",
"you",
"'ll",
"need",
"something",
"like",
"the",
"following",
"pseudo",
"code",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"'m",
"writing",
"a",
"program",
"to",
"save",
"some",
"webcam",
"video",
"to",
"a",
"file",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Device",
"B-User_Interface_Element",
"O",
"O",
"O",
"O"
] |
[
"I",
"'m",
"using",
"the",
"x264",
"codec",
"found",
"here",
"x264"
] | [
"O",
"O",
"O",
"O",
"B-Library",
"O",
"O",
"O",
"B-Library"
] |
[
"When",
"I",
"try",
"writing",
"frames",
"to",
"a",
"file",
"I",
"get",
"this",
"error",
"message",
"poping",
"up",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"found",
"this",
"VirtualDub",
"Hack",
"but",
"then",
"I",
"'m",
"not",
"using",
"virtual",
"dub",
"."
] | [
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"I-Application",
"O"
] |
[
"I",
"'m",
"not",
"sure",
"what",
"the",
"File",
"output",
"mode",
"and",
"zero",
"latency",
"mean",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"think",
"the",
"problem",
"is",
"related",
"to",
"the",
"codec",
"since",
"when",
"I",
"change",
"to",
"using",
"a",
"different",
"codec",
",",
"everything",
"works",
"fine",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"'m",
"using",
"C#",
"and",
"emgu",
"but",
"I",
"dont",
"think",
"thats",
"where",
"the",
"problem",
"lies",
"."
] | [
"O",
"O",
"O",
"B-Language",
"O",
"B-Library",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"EDIT"
] | [
"O"
] |
[
"In",
"case",
"the",
"code",
"helps"
] | [
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"know",
"is",
"'s",
"a",
"bit",
"late",
"but",
"I",
"figured",
"this",
"out",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"solution",
"(",
"on",
"windows",
")",
"is",
"to",
"set",
"-1",
"instead",
"of",
"codec",
"'s",
"fourcc",
"."
] | [
"O",
"O",
"O",
"O",
"B-Operating_System",
"O",
"O",
"O",
"O",
"B-Value",
"O",
"O",
"B-Application",
"O",
"O",
"O"
] |
[
"This",
"pops",
"up",
"a",
"dialog",
"where",
"you",
"can",
"choose",
"a",
"codec",
"and",
"if",
"you",
"choose",
"x264wfv",
",",
"there",
"'s",
"a",
"configure",
"button",
"which",
"lets",
"you",
"configure",
"those",
"options",
"(",
"zero",
"latency",
... | [
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"B-Library",
"O",
"O",
"O",
"O",
"O",
"B-User_Interface_Element",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Next",
"time",
"codec",
"will",
"use",
"exact",
"same",
"settings",
",",
"so",
"you",
"can",
"run",
"your",
"program",
"with",
"fourcc",
"code",
"."
] | [
"O",
"O",
"B-Application",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"I",
"want",
"to",
"change",
"the",
"top",
"property",
"of",
"the",
"object",
".content",
"if",
"the",
"object",
".nav-wrapper",
"has",
"the",
"property",
"display",
"set",
"to",
"block",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"O",
"B-Variable",
"O",
"O",
"B-Variable",
"O"
] |
[
"This",
"is",
"my",
"actual",
"(",
"not",
"working",
")",
"code",
":"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Can",
"someone",
"help",
"me",
"figuring",
"out",
"how",
"to",
"make",
"this",
"work",
"?"
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"The",
"following",
"code",
"will",
"make",
"your",
"code",
"very",
"procedural",
",",
"But",
"on",
"the",
"other",
"hand",
",",
"The",
"default",
"positioning",
"static",
"do",
"n't",
"has",
"a",
"property",
"called",
"TOP",
"."
] | [
"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"
] |
[
"so",
"you",
"should",
"check",
"whether",
"it",
"is",
"having",
"any",
"positioning",
"rather",
"than",
"the",
"default",
"."
] | [
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O"
] |
[
"Try",
","
] | [
"O",
"O"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.