tokens
list
ner_tags
list
[ "returns", ":" ]
[ "O", "O" ]
[ "Then", "you", "would", "join", "to", "it", "like", "this", "to", "get", "what", "you", "wanted", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "find", "it", "easiest", "to", "approach", "these", "problems", "by", "creating", "a", "list", "of", "integers", "and", "then", "using", "that", "to", "increment", "the", "dates", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Structure", "O", "B-Data_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Here", "is", "an", "example", ":" ]
[ "O", "O", "O", "O", "O" ]
[ "A", "ScalaTest", "suite", "is", "using" ]
[ "O", "B-Application", "O", "O", "O" ]
[ "What", "is", "the", "sbt", "command", "line", "to", "achieve", "this", "setting", "?" ]
[ "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "have", "tried" ]
[ "O", "O", "O" ]
[ "Also", ":" ]
[ "O", "O" ]
[ "Finally", ":" ]
[ "O", "O" ]
[ "When", "using", "any", "of", "those", "attempts", "the", "System.getProperty", "comes", "up", "blank", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Function", "O", "O", "O", "O" ]
[ "An", "approach", "that", "does", "work", "is", "running", "the", "ScalaTest", "from", "within", "Intellij", "and", "setting", "the", "JVM", "parameters", "to", "-Dmy.command-line.property", "=", "foo", "within", "the", "Run", "Configuration", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Application", "O", "O", "B-Application", "O", "O", "O", "B-Application", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "O", "O", "O" ]
[ "This", "worked", "for", "me", ":" ]
[ "O", "O", "O", "O", "O" ]
[ "and", ":" ]
[ "O", "O" ]
[ "Your", "third", "way", "almost", "works", "(", "if", "fork", "in", "Test", ":=", "true", "is", "set", ")", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "O", "O" ]
[ "But", "you", "have", "to", "change", "into", "the", "project", "first", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "have", "created", "a", "Dynamic", "Url", "with", "optional", "parameter" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "e.g", ".", ",", "If", "my", "url", "is", "as", "www.example.com/getTest/1/" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Now", "this", "1", "in", "url", "is", "optional", ",", "to", "handle", "this", "in", "views", "I", "have", "used", "None", "like" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O" ]
[ "Thus", "if", "there", "is", "no", "id", "in", "URL", "then", "still", "the", "function", "works", "for", "me", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "But", "I", "am", "facing", "issue", "while", "testing", "this", "in", "unit", "cases", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "if", "I", "use", "url", "as", "url", "=", "reverse", "(", "'yescourse:academypage_url'", ",", "args", "=[", "None]", ")", "it", "gives", "me", "the", "error" ]
[ "O", "O", "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", "O", "O", "O", "O", "O" ]
[ "NoReverseMatch", ":", "Reverse", "for", "'", "academypage_url", "'", "with", "arguments", "'", "(", "'", "new", "'", ",", "None", ")", "'", "and", "keyword", "arguments", "'{}'", "not", "found", "." ]
[ "B-Error_Name", "O", "B-Output_Block", "I-Output_Block", "I-Output_Block", "I-Output_Block", "B-Output_Block", "I-Output_Block", "I-Output_Block", "I-Output_Block", "B-Output_Block", "B-Output_Block", "I-Output_Block", "B-Output_Block", "I-Output_Block", "I-Output_Block", "I-Output_B...
[ "So", "Please", "Tell", "me", "how", "I", "can", "handle", "these", "optional", "url", "in", "Test", "cases", "or", "in", "Reverse", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O" ]
[ "Edit", ":" ]
[ "O", "O" ]
[ "You", "made", "the", "view", "function", "'s", "id", "parameter", "optional", ",", "but", "it", "'s", "not", "optional", "in", "the", "url", "pattern", "." ]
[ "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "You", "firsty", "need", "to", "rewrite", "your", "pattern", "as", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "=>", "the", "whole", "'", "id", "'", "sub-pattern", "is", "optional", ",", "but", "if", "it", "'s", "not", "it", "must", "match", "one", "or", "more", "numerics", "." ]
[ "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Once", "done", ",", "you", "can", "reverse", "the", "url", "by", "not", "passing", "any", "of", "the", "args", "nor", "kwargs", "arguments", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "B-Variable", "O", "O" ]
[ "or", "by", "passing", "an", "empty", "list" ]
[ "O", "O", "O", "O", "O", "B-Data_Structure" ]
[ "or", "by", "passing", "None" ]
[ "O", "O", "O", "B-Value" ]
[ "but", "not", "by", "passing", "a", "list", "containing", "None", "." ]
[ "O", "O", "O", "O", "O", "B-Data_Structure", "O", "B-Value", "O" ]
[ "I", "have", "a", "controller", "\"", "front", "\"", "and", "I", "want", "only", "for", "this", "controller", "to", "use", "a", "custom", "error", "action", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "How", "can", "I", "do", "this", "?" ]
[ "O", "O", "O", "O", "O", "O" ]
[ "I", "tried", "this", "but", "it", "does", "not", "seems", "to", "work" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "found", "this", "solution", "to", "catch", "the", "Exception" ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Class" ]
[ "All", "http", "security", "is", "applied", "at", "startup", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "During", "runtime", ",", "I", "am", "trying", "to", "add", "more", "to", "it", "..", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "When", "that", "line", "is", "executed", ",", "it", "adds", "it", "to", "http.authorizeRequests()'s", "but", "/bla", "is", "still", "accessible", "by", "\"", "non", "admins", "\"" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Function", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "When", "server", "is", "restarted", ",", "this", "change", "takes", "effect", "because", "it", "is", "loading", "bla", "from", "the", "database", "." ]
[ "O", "B-Application", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "How", "do", "I", "make", "the", "security", "take", "effect", "instantly", "without", "restarting", "the", "server", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Application", "O" ]
[ "You", "are", "trying", "to", "dynamicaly", "change", "a", "spring", "bean", "at", "runtime", "which", "is", "very", "hard", "to", "do", "unless", "you", "use", "tools", "like", "spring-loaded", "or", "JRebel", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Library", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Library", "O", "B-Library", "O" ]
[ "There", "is", "a", "lot", "of", "SO", "about", "it", ":" ]
[ "O", "O", "O", "O", "O", "B-Website", "O", "O", "O" ]
[ "Update", "spring", "beans", "dynamically", "." ]
[ "O", "B-Library", "B-Class", "O", "O" ]
[ "Is", "it", "possible", "?" ]
[ "O", "O", "O", "O" ]
[ "dynamically", "change", "spring", "beans" ]
[ "O", "O", "B-Library", "B-Class" ]
[ "Can", "I", "replace", "a", "Spring", "bean", "definition", "at", "runtime", "?" ]
[ "O", "O", "O", "O", "B-Library", "B-Class", "O", "O", "O", "O" ]
[ "The", "best", "approach", "(", "in", "my", "opinion", ")", "for", "your", "use", "case", "is", "to", "use", "spring", "profiles", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Library", "B-Class", "O" ]
[ "Define", "a", "bean", "with", "authorisations", "for", "/bla", "and", "another", "bean", "without", "." ]
[ "O", "O", "B-Class", "O", "O", "O", "O", "O", "B-Class", "O", "O", "O" ]
[ "Then", "use", "them", "in", "different", "profiles", "." ]
[ "O", "O", "O", "O", "O", "O", "O" ]
[ "see", "dynamically", "declare", "beans", "at", "runtime", "in", "Spring" ]
[ "O", "O", "O", "B-Class", "O", "O", "O", "B-Library" ]
[ "I", "'m", "looking", "for", "a", "Sphinx", "charset_table", "that", "is", "suitable", "for", "natural", "language", "\"", "almost", "all", "\"", "languages", "." ]
[ "O", "O", "O", "O", "O", "B-Application", "B-Data_Structure", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "understand", "that", "\"", "almost", "all", "\"", "is", "quite", "a", "vague", "definition", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "So", "the", "requirement", "can", "be", "restated", "in", "such", "a", "way", "that", "the", "charset_table", "must", "be", "suitable", "to", "at", "least", "the", "following", "language", "codes", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Structure", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Given", "those", "requirements", "what", "would", "be", "a", "suitable", "charset_table", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Structure", "O" ]
[ "If", "one", "of", "MySQL", "'s", "collations", ",", "for", "example", "utf8_general_ci", ",", "would", "be", "suitable", "(", "even", "if", "you", "do", "n't", "use", "MySQL", ")", "or", "would", "be", "a", "decent", "starting", "point", "that", "you", ...
[ "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "B-Value", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", ...
[ "The", "docs", "says", "that", "new", "\"", "creates", "a", "mutable", "vector", "of", "the", "given", "length", "\"", "and", "unsafeNew", "\"", "creates", "a", "mutable", "vector", "of", "the", "given", "length", "." ]
[ "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "B-Data_Type", "B-Data_Structure", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "B-Data_Type", "B-Data_Structure", "O", "O", "O", "O", "O" ]
[ "The", "length", "is", "not", "checked", ".", "\"" ]
[ "O", "O", "O", "O", "O", "O", "O" ]
[ "However", "this", "resolved", "github", "issue", "indicates", "that", "unsafeNew", "does", "not", "zero", "the", "memory", "while", "new", "does", "." ]
[ "O", "O", "O", "B-Website", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O" ]
[ "Which", "one", "is", "it", "?" ]
[ "O", "O", "O", "O", "O" ]
[ "No", ",", "not", "in", "general", "." ]
[ "O", "O", "O", "O", "O", "O" ]
[ "If", "you", "click", "through", "the", "source", "this", "is", "pretty", "clear", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "https://hackage.haskell.org/package/vector-0.11.0.0/docs/src/Data-Vector-Generic-Mutable.html#new" ]
[ "O" ]
[ "new", "is", "unsafeNew", "with", "the", "addition", "of", "basicInitialize", "." ]
[ "B-Code_Block", "O", "B-Code_Block", "O", "O", "O", "O", "B-Code_Block", "O" ]
[ "I", "am", "trying", "to", "use", "the", "Jquery", "plugin", "Supersized", "and", "i", "cant", "." ]
[ "O", "O", "O", "O", "O", "O", "B-Library", "O", "B-Application", "O", "O", "O", "O" ]
[ "I", "am", "working", "with", "Magento", "." ]
[ "O", "O", "O", "O", "B-Application", "O" ]
[ "i", "have", "sustitute", "all", "the", "$", "by", "jQuery", "inside", "the", "supersized", "library", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Library", "O", "O", "B-Application", "O", "O" ]
[ "And", "i", "have", "added", "this", ":", "jQuery.noConflict()", ";", "just", "before", "the", "start", "of", "the", "function", "." ]
[ "O", "O", "O", "O", "O", "O", "B-Function", "I-Function", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Here", "is", "my", "code", ",", "i", "copy", "the", "script", "and", "the", "html", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Language", "O" ]
[ "I", "dont", "know", "why", "it", "doesnt", "work", ",", "can", "anyone", "help", "me", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Try", ":" ]
[ "O", "O" ]
[ "No", "need", "to", "include", "both", ":" ]
[ "O", "O", "O", "O", "O", "O" ]
[ "they", "are", "the", "same", "thing" ]
[ "O", "O", "O", "O", "O" ]
[ "Note" ]
[ "O" ]
[ "I", "do", "n't", "see", "any", "function", "named", "supersized()", "so", "how", "it", "will", "work", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Function", "O", "O", "O", "O", "O", "O" ]
[ "your", "process", "is", "wrong", "." ]
[ "O", "O", "O", "O", "O" ]
[ "Read", "about", "jQuery", "plugin", "making", "process", "." ]
[ "O", "O", "B-Library", "O", "O", "O", "O" ]
[ "You", "used" ]
[ "O", "O" ]
[ "and" ]
[ "O" ]
[ "both", "use", "any", "one", "because", "the", "are", "same", "and", "be", "sure", "that", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "you", "added", "jQuery", "library", "first" ]
[ "O", "O", "B-Library", "O", "O" ]
[ "Full", "code" ]
[ "O", "O" ]
[ "I", "'m", "trying", "to", "get", "a", "‌", "with", "innerHTML" ]
[ "O", "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block" ]
[ "The", "output", "should", "be" ]
[ "O", "O", "O", "O" ]
[ "But", "the", "output", "is", ":" ]
[ "O", "O", "O", "O", "O" ]
[ "How", "can", "I", "get", "the", "‌", "?" ]
[ "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block" ]
[ "alert(document.getElementsByTagName('div')[0].innerHTML)" ]
[ "B-Function" ]
[ "<div>This", "div", "contains", "a", "zero-width&zwnj;non-joiner,", "a", "non-breaking&nbsp;space", "&amp;", "an", "ampersand</div>" ]
[ "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" ]
[ "Fiddle", ":", "https://jsfiddle.net/yst1Lanv/" ]
[ "B-Application", "O", "O" ]
[ "You", "can", "search", "for", "it", "using", "its", "unicode", "\\u200c", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Value", "O" ]
[ "Then", "replace", "it", "with", "‌", "string", "." ]
[ "O", "O", "O", "O", "B-Value", "I-Value", "B-Data_Type" ]
[ "alert", "(", "document.getElementsByTagName", "('div')[0]", ".innerHTML.replace", "(", "/", "\\u200c/g", ",", "'", "‌'", ")", ")" ]
[ "B-Function", "I-Function", "B-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "B-Function" ]
[ "<div>This", "div", "contains", "a", "zero-width&zwnj;non-joiner,", "a", "non-breaking&nbsp;space", "&amp;", "an", "ampersand</div>" ]
[ "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" ]
[ "Your", "character", "is", "in", "the", "extracted", "(", "innerHTML", ")", "text", ",", "just", "not", "encoded", "as", "its", "HTML", "entity", "." ]
[ "O", "B-Data_Type", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "B-Language", "O", "O" ]
[ "If", "you", "want", "you", "can", "replace", "the", "character", "with", "its", "entity", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Data_Type", "O", "O", "O", "O" ]
[ "alert", "(", "document.getElementsByTagName", "('div')[0]", ".innerHTML.replace", "(/‌/", "g", ",", "'", "‌'", ")", ")", ";" ]
[ "B-Function", "I-Function", "B-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "I-Function", "B-Function", "B-Function" ]
[ "<div>This", "div", "contains", "a", "zero-width&zwnj;non-joiner,", "a", "non-breaking&nbsp;space", "&amp;", "an", "ampersand</div>" ]
[ "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" ]
[ "Yong", "Quan", "posted", "some", "nicer", "code", "than", "me", ",", "if", "you", "want", "your", "app", "to", "be", "more", "maintainable", "use", "the", "unicode", "." ]
[ "B-User_Name", "I-User_Name", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "My", "regex", "above", "is", "pretty", "confusing", ",", "this", "is", "easier", "to", "read", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "have", "a", "case", "where", "I", "need", "to", "collect", "sales", "statistics", "from", "a", "table", "with", "lots", "of", "aggregated", "data", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Structure", "O", "O", "O", "O", "O", "O" ]
[ "The", "table", "has", "a", "few", "million", "entries", ",", "and", "the", "database", "itself", "is", "around", "22Gb", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]