tokens
list
ner_tags
list
[ "in", "result", "i", "get", "follow", "error", "messages", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "tried", "all", "the", "solutions", "to", "this", "topic", ":", "heroku", "push", "rejected", ",", "failed", "to", "compile", "Ruby/rails", "app" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "O", "B-Language", "O" ]
[ "but", "they", "did", "not", "help", "me" ]
[ "O", "O", "O", "O", "O", "O" ]
[ "You", "ca", "n't", "install", "the", "debugger", "gem", "on", "Heroku", "and", "you", "probably", "do", "n't", "want", "it", "there", "." ]
[ "O", "O", "O", "O", "O", "B-Application", "B-File_Type", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Put", "it", "into", "a", "development", "group", "in", "your", "gem", "file", "so", "that", "it", "is", "available", "in", "your", "local", "development", "environment", "but", "not", "deployed", "in", "production", ",", "e.g", "." ]
[ "O", "O", "O", "O", "B-Value", "O", "O", "O", "B-File_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "See", "https://devcenter.heroku.com/articles/ruby-support#debugger-gems-fail-to-install", "for", "further", "explanation", "." ]
[ "O", "O", "O", "O", "O", "O" ]
[ "I", "have", "a", "project", "working", "with", "CodeIgniter", "and", "sqlserver", "2008", "I", "updated", "my", "pc", "to", "windows", "10", "then", "stopped", "working", ",", "the", "sqlserver", "driver", "for", "php", "is", "configured", "and", "my", "p...
[ "O", "O", "O", "O", "O", "O", "B-Library", "O", "B-Application", "B-Version", "O", "O", "O", "B-Device", "O", "B-Operating_System", "B-Version", "O", "O", "O", "O", "O", "B-Application", "I-Application", "O", "B-Language", "O", "O", "O", "O", "B-Language",...
[ "so", "this", "code", ":" ]
[ "O", "O", "O", "O" ]
[ "Always", "its", "like", "sqlserver", "not", "working", "anymore", "but", "cannot", "fix", "it", "." ]
[ "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Php", "info", "shows" ]
[ "B-Language", "O", "O" ]
[ "EDIT", ":" ]
[ "O", "O" ]
[ "its", "my", "mistake", "cannot", "conect" ]
[ "O", "O", "O", "O", "O" ]
[ "the", "database", "config", "its", "okay", ":S" ]
[ "O", "O", "B-File_Type", "O", "O", "O" ]
[ "The", "error", "wasnt", "on", "the", "config", ",", "was", "on", "the", "password", "that", "was", "expired", "but", "the", "code", "igniter", "was", "n't", "showing", "the", "error", "becouse", "i", "have", "to", "active", "this", "config", ":" ]
[ "O", "O", "O", "O", "O", "B-File_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Library", "I-Library", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-File_Type", "O" ]
[ "database.php" ]
[ "B-File_Name" ]
[ "Solved", ";)" ]
[ "O", "O" ]
[ "I", "am", "trying", "to", "learn", "git", "using", "a", "tutorial", "(", "https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone", ")", "." ]
[ "O", "O", "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O" ]
[ "git", "config", "--global", "alias", "." ]
[ "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "O" ]
[ "From", "the", "tutorial", "i", "came", "to", "know", "that", "to", "create", "a", "shortcut", "for", "a", "Git", "command", ",", "the", "above", "syntax", "can", "be", "used", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Application", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Can", "anyone", "provide", "me", "a", "working", "example", "for", "creating", "a", "shortcut", "for", "a", "git", "command", "without", "using", "the", "equal", "synatax", "as", "the", "above", "syntax", "didnt", "work", "for", "me", "." ]
[ "O", "O", "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" ]
[ "The", "aliases", "you", "see", "in", "the", "article", "are", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "They", "can", "be", "set", "with", ":" ]
[ "O", "O", "O", "O", "O", "O" ]
[ "It", "works", "fine", "for", "me", "." ]
[ "O", "O", "O", "O", "O", "O" ]
[ "I", "think", "part", "of", "the", "problem", "is", "that", "your", "reading", "it", "too", "literally", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "That", "'s", "not", "your", "fault", ";", "the", "instructions", "do", "n't", "explain", "its", "own", "syntax", "very", "well", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Here", "'s", "what", "I", "did", ":" ]
[ "O", "O", "O", "O", "O", "O" ]
[ "Notice", "how", "I", "did", "n't", "just", "write", "\"", "alias.<alias>", "\"", "or", "the", "like", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O" ]
[ "The", "whole", "purpose", "of", "the", "config", "command", "is", "to", "actually", "configure", "how", "git", "works", "." ]
[ "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O", "O", "B-Application", "O", "O" ]
[ "The", "point", "of", "alias", "is", "to", "give", "all", "your", "commands", "like", "config", ",", "help", ",", "init", ",", "etc", ".", "new", "ways", "to", "be", "called", "upon", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "B-Code_Block", "O", "B-Code_Block", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "In", "the", "above", "example", ",", "I", "typed", "right", "next", "to", "\"", "alias", ".", "\"", "what", "I", "wanted", "the", "NEW", "command", "to", "be", ",", "and", "a", "space", "away", "on", "the", "right", "where", "it", "says", "\"", "h...
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O", "O"...
[ "I", "'m", "basically", "changing", "the", "\"", "help", "\"", "command", "so", "I", "can", "use", "it", "just", "by", "typing", "\"", "hp", "\"", "." ]
[ "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O" ]
[ "You", "can", "literally", "make", "it", "anything", "you", "want", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "could", "use", "code", "like", "this", ":" ]
[ "O", "O", "O", "O", "O", "O", "O" ]
[ "and", "I", "can", "write", "IMABigBaboon", "instead", "of", "init", "and", "it", "will", "work", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O" ]
[ "Try", "it", "!" ]
[ "O", "O", "O" ]
[ "Just", "be", "careful", "you", "do", "n't", "name", "two", "commands", "the", "same", "thing", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Otherwise", "you", "wind", "up", "changing", "the", "name", "of", "the", "previous", "alias", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Remember", ";", "you", "can", "only", "have", "one", "alias", "for", "one", "command", "!" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "My", "question", "is", ":", "Which", "is", "better", "between", "using", "NotificationCenter", "and", "using", "Closures", "to", "communicate", "between", "two", "instances", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "If", "they", "are", "similar", ",", "what", "should", "I", "use", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Hopefully", ",", "this", "example", "helps", "you", "to", "understand", "better", ":", "-" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "If", "we", "take", "URLSession", "class", "as", "an", "example", "." ]
[ "O", "O", "O", "B-Class", "O", "O", "O", "O", "O" ]
[ "Why", "do", "most", "of", "its", "methods", "have", "a", "closure", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Why", "do", "not", "they", "send", "a", "notification", "with", "Data", ",", "Response", ",", "and", "Error", "inside", "it", "?" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Class", "O", "B-Class", "O", "O", "B-Class", "O", "O", "O" ]
[ "I", "know", "the", "difference", "between", "them", ",", "I", "just", "do", "n't", "know", "in", "what", "situations", "should", "I", "use", "each", "one", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "In", "some", "cases", "the", "patterns", "are", "interchangeable", ",", "however", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Using", "a", "closure", "is", "the", "simplest", "solution", "for", "simple", "cases" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Using", "a", "delegate", "is", "common", "when", "there", "is", "complex", "communication", "between", "two", "objects", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "One", "delegate", "can", "be", "better", "than", "many", "closures", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "You", "have", "to", "use", "notifications", "when", "you", "have", "multiple", "observers", "or", "when", "you", "are", "not", "sure", "what", "objects", "will", "be", "observing", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "You", "might", "be", "asking", "yourself", "why", "we", "are", "using", "closures", "for", "simple", "cases", "and", "not", "delegates", "or", "notifications", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "The", "answer", "is", "that", "closures", "are", "the", "most", "lightweight", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "They", "are", "easy", "to", "create", "and", "they", "positively", "affect", "your", "code", "quality", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Let", "'s", "consider", "a", "completion", "callback", "." ]
[ "O", "O", "O", "O", "O", "O", "O" ]
[ "If", "you", "decide", "to", "use", "a", "notification", ",", "you", "need", "another", "method", "that", "will", "handle", "that", "notification", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "The", "same", "is", "valid", "for", "delegates", "." ]
[ "O", "O", "O", "O", "O", "O", "O" ]
[ "If", "you", "need", "some", "context", "(", "e.g", ".", "the", "parameters", "that", "triggered", "the", "actions", ")", ",", "you", "will", "need", "to", "save", "it", "into", "a", "property", "." ]
[ "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" ]
[ "On", "the", "other", "hand", ",", "a", "closure", "can", "be", "created", "inline", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "That", "means", "that", "the", "code", "that", "triggers", "the", "action", "and", "handles", "its", "result", "is", "at", "one", "place", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "This", "really", "simplifies", "the", "structure", "of", "your", "code", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Also", "note", "that", "if", "the", "closure", "needs", "some", "context", ",", "it", "can", "capture", "it", ",", "without", "the", "need", "to", "create", "an", "additional", "property", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Here", "I", "want", "to", "pass", "the", "value", "which", "am", "getting", "in", "data", "to", "the", "controller", "so", "I", "gave", "my", "code", "like", "this", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "My", "controller", "looks", "like", "this", "." ]
[ "O", "O", "O", "O", "O", "O" ]
[ "But", "when", "I", "pass", "into", "the", "controller", "am", "getting", "error", "like", "undefined", "index", "data", "in", "console" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Error_Name", "I-Error_Name", "I-Error_Name", "O", "B-Application" ]
[ "My", "toPost", "variable", "contains", "value", "like", "this" ]
[ "O", "B-Variable", "O", "O", "O", "O", "O" ]
[ "If", "submit_data", "referred", "here", "is", "a", "form", "field" ]
[ "O", "B-Variable", "O", "O", "O", "O", "O", "O" ]
[ "Try", "to", "get", "data", "by" ]
[ "O", "O", "O", "B-Variable", "O" ]
[ "Serialization", "basically", "does", "this", ":" ]
[ "O", "O", "O", "O", "O" ]
[ "and", "this", ":", "field_name_1", "=", "field_value_1&field_name_2", "=", "field_value_2" ]
[ "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block" ]
[ "Instead", "of", "you", "having", "to", "manually", "build", "that", "^", "it", "does", "it", "for", "you", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "O", "O", "O", "O", "O" ]
[ "So", "the", "only", "variables", "that", "exist", "via", "post", "become", "$_POST['field_name_1']", "and", "$_POST['field_name_2']", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "B-Code_Block", "O" ]
[ "You", "can", "confirm", "via", "print_r($_POST)", ";", "to", "see", "what", "post", "keys", "exist", "." ]
[ "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "O", "O", "O", "O", "O", "O", "O" ]
[ "You", "need", "to", "get", "your", "row_selected", "into", "an", "object", "that", "we", "can", "turn", "into", "an", "array", "in", "php", ":" ]
[ "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Data_Structure", "O", "B-Language", "O" ]
[ "Controller", ":" ]
[ "O", "O" ]
[ "Here", "is", "a", "sample", "of", "some", "directory", "paths" ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "I", "want", "to", "remove", "all", ".svn", "folders", "from", "all", "this", "directories", "at", "once", "from", "the", "current", "root", "directory", "I", "'m", "in", "." ]
[ "O", "O", "O", "O", "O", "B-File_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "Any", "deas", "?" ]
[ "O", "O", "O" ]
[ "You", "can", "do", "(", "added", "-type", "d", "to", "your", "find", "command", "to", "get", "folders", "only", ")" ]
[ "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "rm", "-rf", "`find", ".", "-type", "d", "-name", ".svn", "`" ]
[ "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", "'m", "using", "Django", "to", "create", "an", "application", "(", "using", "PostgreSQL", ")", "that", "needs", "a", "column", "numeric(15,6)", ",", "but", "I", "'m", "not", "finding", "a", "method", "to", "do", "this", "." ]
[ "O", "O", "O", "B-Library", "O", "O", "O", "O", "O", "O", "B-Application", "O", "O", "O", "O", "B-Data_Structure", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "From", "PostgreSQL", "docs", ":" ]
[ "O", "B-Application", "O", "O" ]
[ "So", "you", "can", "use", "Django", "'s", "DecimalField" ]
[ "O", "O", "O", "O", "B-Library", "O", "B-Class" ]
[ "Some", "docs", ":" ]
[ "O", "O", "O" ]
[ "http://www.postgresql.org/docs/current/interactive/datatype-numeric.html#DATATYPE-NUMERIC-DECIMAL" ]
[ "O" ]
[ "https://docs.djangoproject.com/en/1.8/ref/forms/fields/#decimalfield" ]
[ "O" ]
[ "I", "have", "looked", "at", "similar", "problems", "but", "could", "n't", "find", "any", "solutions.MY", "problem", "is", "when", "i", "click", "signup", "button", ",", "the", "information", "is", "saved", "and", "it", "is", "visible", "in", "django", "ad...
[ "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", "B-Library", "O", "O", "O", "O", "O", "O", "B-User_Interface_Element", "O"...
[ "My", "forms.py", "is" ]
[ "O", "B-File_Name", "O" ]
[ "and", "my", "views.py", "is" ]
[ "O", "O", "B-File_Name", "O" ]
[ "and", "models.py", "is" ]
[ "O", "B-File_Name", "O" ]
[ "and", "i", "get", "the", "error", "at", "\"mail_base,provider=email.split(\"@\")\"", "in", "forms.py.Please", "help", "me.", "." ]
[ "O", "O", "O", "O", "O", "O", "B-Code_Block", "O", "B-File_Name", "O", "O", "O" ]
[ "If", "someone", "leaves", "email", "field", "blank", "(", "this", "is", "allowed", "because", "of", "SignUp", "model", "email", "=", "EmailField(blank=True))", ",", "then", "self.cleaned_data.get('email')", "will", "return", "''", "(", "empty", "string", ")", "...
[ "O", "O", "O", "B-Class", "I-Class", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "B-Code_Block", "O", "O", "B-Value", "O", "O", "B-Data_Type", "O", "O" ]
[ "mail_base", ",", "provider", "=", "email.split('@')", "will", "raise", "that", "exception", "in", "this", "case", "." ]
[ "B-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "O", "B-Class", "O", "O", "O", "O" ]
[ "The", "reason", "this", "would", "happen", "is", "that", "your", "email", "string", ",", "for", "some", "reason", ",", "did", "not", "have", "an", "'", "@", "'", "symbol", "in", "it", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "B-Data_Type", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Value", "I-Value", "B-Value", "O", "O", "O", "O" ]
[ "This", "leads", "email.split(\"@\")", "to", "result", "in", "a", "list", "of", "length", "1", ",", "rather", "than", "a", "list", "of", "length", "2", ",", "as", "you", "were", "expecting", "." ]
[ "O", "O", "B-Code_Block", "O", "O", "O", "O", "B-Data_Structure", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "My", "guess", "is", "that", "you", "have", "a", "blank", "email", "somewhere", ",", "but", "any", "email", "field", "that", "does", "n't", "have", "an", "'", "@", "'", "symbol", "will", "cause", "this", "exception", "to", "be", "raised", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Variable", "O", "O", "O", "O", "B-Class", "I-Class", "O", "O", "O", "O", "O", "B-Value", "I-Value", "B-Value", "O", "O", "O", "O", "B-Class", "O", "O", "O", "O" ]
[ "is", "it", "possible", "to", "do", "multiple", "joins", ":" ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "in", "the", "sample", "above", "all", "is", "fine", "until", "i", "press", "\"", ".", "\"" ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O", "B-Value", "I-Value", "I-Value" ]
[ "in", "the", "end", "of", "the", "3rd", "line", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O" ]
[ "there", "i", "expect", "to", "get", "intellisense", "and", "write", "u.Id", "==", "ug.UserId", "but", "it", "does", "n't", "appear", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "B-Code_Block", "I-Code_Block", "I-Code_Block", "O", "O", "O", "O", "O", "O" ]
[ "and", "of", "course", "this", "code", "does", "n't", "compile", "after", "." ]
[ "O", "O", "O", "O", "O", "O", "O", "O", "O", "O" ]